import{__toESM}from"../../_virtual/_rolldown/runtime.js";import{requireProjectPath}from"../state.js";import{require_picocolors}from"../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js";import{relative}from"node:path";var import_picocolors=__toESM(require_picocolors(),1);function cdTarget(e){let t=relative(process.cwd(),e);return t.length===0||t.startsWith(`..`)?e:t}function step(e,t){return`  ${import_picocolors.default.bold(e)}${t===void 0?``:` ${import_picocolors.default.dim(`# ${t}`)}`}`}function oneShotNextSteps(e){return{id:`one-shot-next-steps`,shouldRun(e){return e.setupMode===`one-shot`},async gather(){return null},async perform({state:n}){let r=requireProjectPath(n),i=[`Your agent is scaffolded but not deployed or connected yet.`,...n.projectPath.inPlace?[]:[step(`cd ${cdTarget(r)}`)],step(`pnpm install`),step(`vercel link`,`or set AI_GATEWAY_API_KEY in .env.local manually`),step(`eve dev`)];return e.prompter.note(i.join(`
`),`Next steps`,{tone:`success`}),null},apply(e){return e}}}export{oneShotNextSteps};