[{"data":1,"prerenderedAt":567},["ShallowReactive",2],{"docs:\u002Fdocs\u002Freference\u002Fcli":3,"docs:navigation":448,"docs:surround:\u002Fdocs\u002Freference\u002Fcli":562},{"id":4,"title":5,"body":6,"description":439,"extension":440,"meta":441,"navigation":442,"navigationTitle":443,"path":444,"seo":445,"stem":446,"__hash__":447},"docs\u002Fdocs\u002F6.reference\u002F6.cli.md","CLI",{"type":7,"value":8,"toc":429},"minimark",[9,13,42,65,80,210,214,235,239,247,252,255,258,314,317,355,358,372,375,391,395,425],[10,11,12],"p",{},"Before installing a starter, authenticate with the public CLI:",[14,15,20],"pre",{"className":16,"code":17,"language":18,"meta":19,"style":19},"language-sh shiki shiki-themes github-dark-default","pnpm dlx @nuxtagentic\u002Fcli@latest login\n","sh","",[21,22,23],"code",{"__ignoreMap":19},[24,25,28,32,36,39],"span",{"class":26,"line":27},"line",1,[24,29,31],{"class":30},"sQhOw","pnpm",[24,33,35],{"class":34},"s9uIt"," dlx",[24,37,38],{"class":34}," @nuxtagentic\u002Fcli@latest",[24,40,41],{"class":34}," login\n",[10,43,44,45,48,49,52,53,56,57,60,61,64],{},"The npm equivalent is ",[21,46,47],{},"npx @nuxtagentic\u002Fcli@latest login",". Use ",[21,50,51],{},"@next"," for release candidates.\nThe public CLI also provides ",[21,54,55],{},"status"," (",[21,58,59],{},"whoami",") and ",[21,62,63],{},"logout"," without a project installation.",[10,66,67,68,71,72,75,76,79],{},"The starters install ",[21,69,70],{},"@nuxtagentic-pro\u002Fcli"," as a dev dependency. Run project commands with\n",[21,73,74],{},"pnpm exec agentic \u003Ccommand>",". Every command takes ",[21,77,78],{},"--project \u003Cdir>"," (default: the current\ndirectory).",[81,82,83,96],"table",{},[84,85,86],"thead",{},[87,88,89,93],"tr",{},[90,91,92],"th",{},"Command",[90,94,95],{},"What it does",[97,98,99,113,123,133,147,157,170,190,200],"tbody",{},[87,100,101,107],{},[102,103,104],"td",{},[21,105,106],{},"agentic login",[102,108,109,110],{},"Checks your license key and stores registry access in your user ",[21,111,112],{},"~\u002F.npmrc",[87,114,115,120],{},[102,116,117],{},[21,118,119],{},"agentic status",[102,121,122],{},"Checks effective registry access, license tier and update window",[87,124,125,130],{},[102,126,127],{},[21,128,129],{},"agentic logout",[102,131,132],{},"Removes the registry token from your user npm config",[87,134,135,140],{},[102,136,137],{},[21,138,139],{},"agentic doctor",[102,141,142,143,146],{},"Checks Node.js, pnpm, ",[21,144,145],{},".env",", bindings, migrations, versions and license",[87,148,149,154],{},[102,150,151],{},[21,152,153],{},"agentic upgrade [version]",[102,155,156],{},"Moves every Nuxt Agentic package to one release and reinstalls",[87,158,159,164],{},[102,160,161],{},[21,162,163],{},"agentic eject [path]",[102,165,166,167],{},"Nuxt: copies a dashboard file from the layer into ",[21,168,169],{},"app\u002F",[87,171,172,177],{},[102,173,174],{},[21,175,176],{},"agentic keygen",[102,178,179,180,183,184,187,188],{},"Writes ",[21,181,182],{},"AGENTIC_ENCRYPTION_KEY"," and ",[21,185,186],{},"BETTER_AUTH_SECRET"," to ",[21,189,145],{},[87,191,192,197],{},[102,193,194],{},[21,195,196],{},"agentic plugin \u003Cclient>",[102,198,199],{},"Writes the Claude Code or Codex plugin for this project",[87,201,202,207],{},[102,203,204],{},[21,205,206],{},"agentic mcp",[102,208,209],{},"The stdio MCP server the plugin starts",[211,212,213],"h2",{"id":213},"login",[10,215,216,217,219,220,223,224,227,228,230,231,234],{},"Use ",[21,218,213],{}," to switch or renew a key. It validates the key before saving it and never echoes the\ninteractive prompt. For automation, provide the key through stdin or ",[21,221,222],{},"AGENTIC_LICENSE_KEY",".\nCredentials go only in your user npm config (",[21,225,226],{},"NPM_CONFIG_USERCONFIG"," or ",[21,229,112],{},", mode 600);\nthe command refuses to write a project ",[21,232,233],{},".npmrc",".",[211,236,238],{"id":237},"status-and-logout","status and logout",[10,240,241,243,244,246],{},[21,242,55],{}," (also ",[21,245,59],{},") validates effective project and user registry settings, then prints your\ntiers, update window, and config path. It exits with an error if access is missing, refused, or\noverridden.\nThe key is never printed.",[10,248,249,251],{},[21,250,63],{}," removes the token from the user npm config while preserving registry routing and\nunrelated settings. Project credentials and environment variables keep their own configuration.",[211,253,254],{"id":254},"doctor",[10,256,257],{},"Prints one line per check and exits with an error when any check fails:",[259,260,261,272,283,301,304,311],"ul",{},[262,263,264,265,268,269,234],"li",{},"Node.js against ",[21,266,267],{},"engines.node",", and pnpm against ",[21,270,271],{},"packageManager",[262,273,274,276,277,279,280,282],{},[21,275,145],{},": ",[21,278,182],{}," (32 bytes, base64), ",[21,281,186],{},", provider keys.",[262,284,285,286,289,290,293,294,297,298,234],{},"Nuxt: the ",[21,287,288],{},"DB"," (D1) and ",[21,291,292],{},"STORAGE"," (R2) bindings in ",[21,295,296],{},"wrangler.jsonc",", including a placeholder\n",[21,299,300],{},"database_id",[262,302,303],{},"Pending local migrations.",[262,305,306,307,310],{},"Installed Nuxt Agentic packages match ",[21,308,309],{},"package.json"," and each other.",[262,312,313],{},"The registry route, your license tier and update window.",[211,315,316],{"id":316},"upgrade",[10,318,319,320,322,323,326,327,330,331,334,335,338,339,342,343,183,346,349,350,234],{},"By default, ",[21,321,316],{}," uses the registry's ",[21,324,325],{},"latest"," tag (",[21,328,329],{},"next"," for prereleases). Select a version\nwith ",[21,332,333],{},"agentic upgrade 1.2.0"," or a tag with ",[21,336,337],{},"--tag next",". It pins Nuxt Agentic dependencies,\napplies intervening codemods, installs packages (skip with ",[21,340,341],{},"--skip-install","), and prints a starter\ncomparison. Then run ",[21,344,345],{},"pnpm db:generate",[21,347,348],{},"pnpm db:migrate",". See ",[351,352,354],"a",{"href":353},"\u002Fdocs\u002Fupgrade","Upgrading",[211,356,357],{"id":357},"eject",[10,359,360,361,363,364,367,368,234],{},"Lists the layer's dashboard files, or copies one into your ",[21,362,169],{}," directory:\n",[21,365,366],{},"agentic eject pages\u002Fdashboard\u002Fagents.vue",". Existing files are never overwritten. See\n",[351,369,371],{"href":370},"\u002Fdocs\u002Fguides\u002Fui","Dashboard UI",[211,373,374],{"id":374},"keygen",[10,376,377,378,380,381,384,385,387,388,390],{},"Creates ",[21,379,145],{}," from ",[21,382,383],{},".env.example"," when it is missing and fills ",[21,386,182],{}," and\n",[21,389,186],{}," when they are missing or empty. It never replaces a value: a new encryption\nkey makes stored integration credentials unreadable. Production uses its own secrets.",[211,392,394],{"id":393},"plugin-and-mcp","plugin and mcp",[10,396,397,227,400,403,404,406,407,387,410,413,414,183,417,420,421,234],{},[21,398,399],{},"agentic plugin claude",[21,401,402],{},"agentic plugin codex"," connects a coding agent to your running dev\nserver. ",[21,405,206],{}," is the server the plugin starts; it takes ",[21,408,409],{},"--user EMAIL",[21,411,412],{},"--workspace ID"," (or ",[21,415,416],{},"AGENTIC_MCP_USER",[21,418,419],{},"AGENTIC_MCP_WORKSPACE","). See\n",[351,422,424],{"href":423},"\u002Fdocs\u002Fguides\u002Fcoding-agents","Coding agents",[426,427,428],"style",{},"html pre.shiki code .sQhOw, html code.shiki .sQhOw{--shiki-default:#FFA657}html pre.shiki code .s9uIt, html code.shiki .s9uIt{--shiki-default:#A5D6FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":19,"searchDepth":430,"depth":430,"links":431},2,[432,433,434,435,436,437,438],{"id":213,"depth":430,"text":213},{"id":237,"depth":430,"text":238},{"id":254,"depth":430,"text":254},{"id":316,"depth":430,"text":316},{"id":357,"depth":430,"text":357},{"id":374,"depth":430,"text":374},{"id":393,"depth":430,"text":394},"The agentic command for login, health checks, upgrades, ejecting pages, secrets and coding agents.","md",{},true,null,"\u002Fdocs\u002Freference\u002Fcli",{"title":5,"description":439},"docs\u002F6.reference\u002F6.cli","5aRp_u6oKej3AMjuh0__VKq2v-tRdgZAugXFXNyy4Y8",[449],{"title":450,"path":451,"stem":452,"children":453,"navigationTitle":443},"Introduction","\u002Fdocs","docs\u002F0.index",[454,455,473,477,526,530,532,558],{"title":450,"path":451,"stem":452,"navigationTitle":443},{"title":456,"path":457,"stem":458,"children":459,"page":472},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[460,464,468],{"title":461,"path":462,"stem":463,"navigationTitle":443},"Free module","\u002Fdocs\u002Fgetting-started\u002Ffree","docs\u002F1.getting-started\u002F1.free",{"title":465,"path":466,"stem":467,"navigationTitle":443},"Pro on Nuxt","\u002Fdocs\u002Fgetting-started\u002Fnuxt","docs\u002F1.getting-started\u002F2.nuxt",{"title":469,"path":470,"stem":471,"navigationTitle":443},"Pro on Void","\u002Fdocs\u002Fgetting-started\u002Fvoid","docs\u002F1.getting-started\u002F3.void",false,{"title":474,"path":475,"stem":476,"navigationTitle":443},"Concepts","\u002Fdocs\u002Fconcepts","docs\u002F2.concepts",{"title":478,"path":479,"stem":480,"children":481,"page":472},"Guides","\u002Fdocs\u002Fguides","docs\u002F3.guides",[482,486,490,494,496,500,504,508,512,516,520,524],{"title":483,"path":484,"stem":485,"navigationTitle":443},"Agents","\u002Fdocs\u002Fguides\u002Fagents","docs\u002F3.guides\u002F1.agents",{"title":487,"path":488,"stem":489,"navigationTitle":443},"Events","\u002Fdocs\u002Fguides\u002Fevents","docs\u002F3.guides\u002F10.events",{"title":491,"path":492,"stem":493,"navigationTitle":443},"Features","\u002Fdocs\u002Fguides\u002Ffeatures","docs\u002F3.guides\u002F11.features",{"title":424,"path":423,"stem":495,"navigationTitle":443},"docs\u002F3.guides\u002F12.coding-agents",{"title":497,"path":498,"stem":499,"navigationTitle":443},"Tools","\u002Fdocs\u002Fguides\u002Ftools","docs\u002F3.guides\u002F2.tools",{"title":501,"path":502,"stem":503,"navigationTitle":443},"Automations","\u002Fdocs\u002Fguides\u002Fautomations","docs\u002F3.guides\u002F3.automations",{"title":505,"path":506,"stem":507,"navigationTitle":443},"Agentic Models","\u002Fdocs\u002Fguides\u002Fagentic-models","docs\u002F3.guides\u002F4.agentic-models",{"title":509,"path":510,"stem":511,"navigationTitle":443},"Outcomes","\u002Fdocs\u002Fguides\u002Foutcomes","docs\u002F3.guides\u002F5.outcomes",{"title":513,"path":514,"stem":515,"navigationTitle":443},"Integrations","\u002Fdocs\u002Fguides\u002Fintegrations","docs\u002F3.guides\u002F6.integrations",{"title":517,"path":518,"stem":519,"navigationTitle":443},"Prompt","\u002Fdocs\u002Fguides\u002Fprompt","docs\u002F3.guides\u002F7.prompt",{"title":521,"path":522,"stem":523,"navigationTitle":443},"Server logic","\u002Fdocs\u002Fguides\u002Fserver-logic","docs\u002F3.guides\u002F8.server-logic",{"title":371,"path":370,"stem":525,"navigationTitle":443},"docs\u002F3.guides\u002F9.ui",{"title":527,"path":528,"stem":529,"navigationTitle":443},"Deploy to Cloudflare","\u002Fdocs\u002Fdeploy","docs\u002F4.deploy",{"title":354,"path":353,"stem":531,"navigationTitle":443},"docs\u002F5.upgrade",{"title":533,"path":534,"stem":535,"children":536,"page":472},"Reference","\u002Fdocs\u002Freference","docs\u002F6.reference",[537,541,545,549,553,557],{"title":538,"path":539,"stem":540,"navigationTitle":443},"Configuration","\u002Fdocs\u002Freference\u002Fconfiguration","docs\u002F6.reference\u002F1.configuration",{"title":542,"path":543,"stem":544,"navigationTitle":443},"Composables","\u002Fdocs\u002Freference\u002Fcomposables","docs\u002F6.reference\u002F2.composables",{"title":546,"path":547,"stem":548,"navigationTitle":443},"Server utilities","\u002Fdocs\u002Freference\u002Fserver-utils","docs\u002F6.reference\u002F3.server-utils",{"title":550,"path":551,"stem":552,"navigationTitle":443},"Services","\u002Fdocs\u002Freference\u002Fservices","docs\u002F6.reference\u002F4.services",{"title":554,"path":555,"stem":556,"navigationTitle":443},"REST API","\u002Fdocs\u002Freference\u002Frest-api","docs\u002F6.reference\u002F5.rest-api",{"title":5,"path":444,"stem":446,"navigationTitle":443},{"title":559,"path":560,"stem":561,"navigationTitle":443},"Licensing & FAQ","\u002Fdocs\u002Flicensing","docs\u002F8.licensing",[563,565],{"title":554,"path":555,"stem":556,"description":564,"children":-1},"Every route the Agentic API serves, generated from the route manifest.",{"title":559,"path":560,"stem":561,"description":566,"children":-1},"What each license covers, how updates work, and answers to common questions.",1792672479678]