@sma1lboy/rove 0.9.283 → 0.9.284-next.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/{chunk-tay29xzx.js → chunk-0hc53k74.js} +1 -1
- package/dist/cli/{chunk-ve2jj5qv.js → chunk-0ppfr3vm.js} +1 -1
- package/dist/cli/{chunk-nf1gqqv8.js → chunk-0xh1e21e.js} +1 -1
- package/dist/cli/{chunk-4gjj2ed9.js → chunk-11nf15ht.js} +1 -1
- package/dist/cli/chunk-11wyec8z.js +2 -0
- package/dist/cli/{chunk-mt0mh96t.js → chunk-1e0v0ycz.js} +2 -2
- package/dist/cli/{chunk-0sy3bez6.js → chunk-1k7f137x.js} +1 -1
- package/dist/cli/{chunk-p4aqy3sm.js → chunk-1rs3dmwz.js} +1 -1
- package/dist/cli/{chunk-p5pebhe6.js → chunk-2xtk4ch2.js} +2 -2
- package/dist/cli/{chunk-37pwx1a7.js → chunk-36f8xr65.js} +1 -1
- package/dist/cli/{chunk-x5swq8ar.js → chunk-3a12v30f.js} +1 -1
- package/dist/cli/{chunk-28mm4k8b.js → chunk-3j3ms4fx.js} +1 -1
- package/dist/cli/{chunk-afhnm3e4.js → chunk-46c20c2s.js} +1 -1
- package/dist/cli/{chunk-b1zg5jnk.js → chunk-4khwsrwk.js} +1 -1
- package/dist/cli/{chunk-hcrpbx9x.js → chunk-4qg325ww.js} +2 -2
- package/dist/cli/{chunk-trw076nv.js → chunk-4qy2mvd5.js} +1 -1
- package/dist/cli/{chunk-0r1jf8m9.js → chunk-55ajzrj6.js} +1 -1
- package/dist/cli/{chunk-c69xdgfz.js → chunk-5c2syc7e.js} +2 -2
- package/dist/cli/{chunk-r4bwm4zh.js → chunk-5jpfg8kz.js} +1 -1
- package/dist/cli/{chunk-8ac8k0ba.js → chunk-5smmarfy.js} +1 -1
- package/dist/cli/{chunk-mcbxrpwg.js → chunk-6b3s6fqq.js} +1 -1
- package/dist/cli/{chunk-q2r4qavc.js → chunk-6nsjckc5.js} +1 -1
- package/dist/cli/{chunk-131bpjms.js → chunk-6tg9h05d.js} +1 -1
- package/dist/cli/{chunk-d9fx9282.js → chunk-6z1a05bz.js} +1 -1
- package/dist/cli/{chunk-bxg7y1qk.js → chunk-7vt1bf35.js} +5 -5
- package/dist/cli/{chunk-kd8j15cg.js → chunk-87rkqyr3.js} +1 -1
- package/dist/cli/{chunk-94t488yj.js → chunk-8d4v27ez.js} +1 -1
- package/dist/cli/{chunk-cacct9gd.js → chunk-9wd57t3j.js} +1 -1
- package/dist/cli/chunk-9xax0901.js +2 -0
- package/dist/cli/{chunk-4zmhzb28.js → chunk-9y17mj2r.js} +1 -1
- package/dist/cli/{chunk-s7ttzm9a.js → chunk-9y803nx4.js} +1 -1
- package/dist/cli/{chunk-g2yf429k.js → chunk-a7pygqgw.js} +1 -1
- package/dist/cli/chunk-a9867184.js +2 -0
- package/dist/cli/{chunk-9q43btkf.js → chunk-acqqhrjb.js} +1 -1
- package/dist/cli/{chunk-nzf76wa4.js → chunk-adr12wp8.js} +2 -2
- package/dist/cli/{chunk-1c6yk07x.js → chunk-af5a4v8t.js} +1 -1
- package/dist/cli/{chunk-69f84j0j.js → chunk-ah04qzfd.js} +1 -1
- package/dist/cli/chunk-bg2ypp04.js +3 -0
- package/dist/cli/chunk-bjhx1nav.js +2 -0
- package/dist/cli/{chunk-fd3gswsr.js → chunk-bxqdxv63.js} +1 -1
- package/dist/cli/{chunk-1gxnd3qq.js → chunk-ca5fmepn.js} +1 -1
- package/dist/cli/chunk-chzxsqth.js +2 -0
- package/dist/cli/chunk-d79vm3bt.js +20 -0
- package/dist/cli/chunk-dcnyp3qq.js +62 -0
- package/dist/cli/{chunk-tckyb2xt.js → chunk-dcw40f11.js} +1 -1
- package/dist/cli/chunk-dgjnak3n.js +2 -0
- package/dist/cli/chunk-dp0m6jrg.js +2 -0
- package/dist/cli/{chunk-gr0ffx3f.js → chunk-dxwjx5d1.js} +1 -1
- package/dist/cli/chunk-e0z123ad.js +2 -0
- package/dist/cli/{chunk-qnv8ggxh.js → chunk-e1c6909n.js} +1 -1
- package/dist/cli/{chunk-yz859e8t.js → chunk-e23n32hv.js} +1 -1
- package/dist/cli/{chunk-5mhf43dx.js → chunk-e5crm07d.js} +1 -1
- package/dist/cli/{chunk-dce6ytw0.js → chunk-ebb8z47a.js} +1 -1
- package/dist/cli/{chunk-60kx1j7x.js → chunk-ee9nm38f.js} +6 -7
- package/dist/cli/{chunk-xs6w6ekc.js → chunk-ejytsv0b.js} +2 -2
- package/dist/cli/{chunk-1masf4pj.js → chunk-em75b155.js} +1 -1
- package/dist/cli/{chunk-jfbfasx0.js → chunk-f050r8jy.js} +1 -1
- package/dist/cli/chunk-f535feph.js +2 -0
- package/dist/cli/{chunk-62z7016x.js → chunk-f6qne8f1.js} +1 -1
- package/dist/cli/{chunk-mejxvvzb.js → chunk-fq8sbarx.js} +1 -1
- package/dist/cli/chunk-fsqgs1p1.js +2 -0
- package/dist/cli/{chunk-xdqj48wx.js → chunk-fxqgvjtt.js} +1 -1
- package/dist/cli/chunk-g1er3ctd.js +2 -0
- package/dist/cli/{chunk-qnpkhvrn.js → chunk-g2f96z6s.js} +1 -1
- package/dist/cli/{chunk-ar3mt81z.js → chunk-gca19v0w.js} +1 -1
- package/dist/cli/{chunk-an97ga8b.js → chunk-ghww7w7x.js} +1 -1
- package/dist/cli/chunk-gpq30qgy.js +2 -0
- package/dist/cli/chunk-gqqtkwkq.js +2 -0
- package/dist/cli/{chunk-dxacz9ba.js → chunk-gvzr7jxt.js} +1 -1
- package/dist/cli/{chunk-gfdd2jbp.js → chunk-h37tqrdb.js} +1 -1
- package/dist/cli/{chunk-8ttn73cv.js → chunk-hk0zbk3t.js} +1 -1
- package/dist/cli/chunk-hp2p26w1.js +2 -0
- package/dist/cli/{chunk-jadjn49m.js → chunk-j1rsp5pc.js} +1 -1
- package/dist/cli/{chunk-2r1fgng9.js → chunk-jrzh4yv6.js} +1 -1
- package/dist/cli/{chunk-sttpyf2b.js → chunk-jy0kms4j.js} +1 -1
- package/dist/cli/chunk-jzsngv31.js +3 -0
- package/dist/cli/{chunk-xj8bma5k.js → chunk-k2p7at32.js} +1 -1
- package/dist/cli/chunk-m3rjakc6.js +2 -0
- package/dist/cli/{chunk-mhft316g.js → chunk-m9gvs19s.js} +1 -1
- package/dist/cli/chunk-ma00xdy2.js +2 -0
- package/dist/cli/{chunk-pmwk2etg.js → chunk-mdfm45fx.js} +1 -1
- package/dist/cli/chunk-nkfqg6e2.js +2 -0
- package/dist/cli/{chunk-paashxkd.js → chunk-ntqg38ke.js} +1 -1
- package/dist/cli/{chunk-jkssty8x.js → chunk-p1pbtfa5.js} +1 -1
- package/dist/cli/chunk-pk2w9dtp.js +2 -0
- package/dist/cli/{chunk-abate6bw.js → chunk-qap0g8v4.js} +1 -1
- package/dist/cli/chunk-qknyztxj.js +2 -0
- package/dist/cli/{chunk-ee8917py.js → chunk-qq1q07tz.js} +1 -1
- package/dist/cli/{chunk-8y10pmkf.js → chunk-qq2mjph2.js} +1 -1
- package/dist/cli/{chunk-cye56q32.js → chunk-r02sre5z.js} +3 -3
- package/dist/cli/{chunk-991x8tw6.js → chunk-r1r83d2r.js} +1 -1
- package/dist/cli/chunk-ratr5ew6.js +2 -0
- package/dist/cli/{chunk-5a6rkz1s.js → chunk-rg38rkr1.js} +1 -1
- package/dist/cli/{chunk-gygdyf0s.js → chunk-rja9tf6j.js} +1 -1
- package/dist/cli/{chunk-7mwvvj46.js → chunk-rz8319pe.js} +1 -1
- package/dist/cli/{chunk-bbq6wc47.js → chunk-s62qg37a.js} +1 -1
- package/dist/cli/{chunk-wcq8k0j6.js → chunk-sdcb3ttr.js} +1 -1
- package/dist/cli/chunk-sdqvrj4w.js +2 -0
- package/dist/cli/{chunk-bwxmrwb1.js → chunk-t183jy5m.js} +1 -1
- package/dist/cli/{chunk-g6jregtt.js → chunk-t8j9csw2.js} +3 -3
- package/dist/cli/{chunk-hptxcj03.js → chunk-txy0xkks.js} +2 -2
- package/dist/cli/chunk-v765ej4f.js +2 -0
- package/dist/cli/{chunk-90dkv2mn.js → chunk-w1evhnvr.js} +1 -1
- package/dist/cli/{chunk-v883qbhk.js → chunk-w6me6vm2.js} +1 -1
- package/dist/cli/{chunk-d9x7zeh7.js → chunk-w7sb3jmd.js} +1 -1
- package/dist/cli/chunk-w8a3gsvw.js +2 -0
- package/dist/cli/{chunk-q89yrevw.js → chunk-wgyfwry1.js} +1 -1
- package/dist/cli/{chunk-3wsjbxd7.js → chunk-wxb38172.js} +1 -1
- package/dist/cli/{chunk-ks5g5ee2.js → chunk-x02jmqj1.js} +1 -1
- package/dist/cli/{chunk-53pn0a9z.js → chunk-x1d70j6f.js} +1 -1
- package/dist/cli/chunk-x652sy0y.js +2 -0
- package/dist/cli/{chunk-r0qhywyp.js → chunk-x6k5tgzz.js} +1 -1
- package/dist/cli/{chunk-f9x0n7kr.js → chunk-xenhysr0.js} +1 -1
- package/dist/cli/{chunk-fx2e7z2s.js → chunk-xhzbynky.js} +1 -1
- package/dist/cli/{chunk-gq7s8vp3.js → chunk-xtbjzbyn.js} +1 -1
- package/dist/cli/{chunk-kfr8dm31.js → chunk-y343681c.js} +1 -1
- package/dist/cli/chunk-y8b2p44q.js +1 -1
- package/dist/cli/chunk-yb75pw36.js +2 -0
- package/dist/cli/{chunk-5jbfscxy.js → chunk-ycqt3445.js} +1 -1
- package/dist/cli/{chunk-1kxnpa9w.js → chunk-yeysn5x1.js} +3 -3
- package/dist/cli/{chunk-mdebknyq.js → chunk-yjeh02k3.js} +1 -1
- package/dist/cli/{chunk-tpc0002n.js → chunk-yv77a1p9.js} +1 -1
- package/dist/cli/{chunk-22emnsn5.js → chunk-z46zwmyq.js} +1 -1
- package/dist/cli/{chunk-ee5a0pka.js → chunk-z6t0rmg1.js} +6 -4
- package/dist/cli/index.js +7 -7
- package/dist/cli/rove-run.js +1 -1
- package/dist/cli/rove.js +6 -6
- package/dist/skills/rove/SKILL.md +40 -20
- package/dist/skills/rove/references/api-flags.md +15 -11
- package/dist/web/assets/{index-Cd9SayTz.js → index-CJt_9NpJ.js} +4 -4
- package/dist/web/assets/{term-mount-aQMkgSR7.js → term-mount-BhfGkya5.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +2 -1
- package/dist/cli/chunk-0jdvy6hk.js +0 -2
- package/dist/cli/chunk-2vkxtms5.js +0 -20
- package/dist/cli/chunk-335g4j0y.js +0 -2
- package/dist/cli/chunk-5yfffvqe.js +0 -2
- package/dist/cli/chunk-7zh7adny.js +0 -2
- package/dist/cli/chunk-81q3t424.js +0 -2
- package/dist/cli/chunk-8h94w236.js +0 -2
- package/dist/cli/chunk-cxef4y2s.js +0 -2
- package/dist/cli/chunk-dxwmnww0.js +0 -2
- package/dist/cli/chunk-e3jddh9d.js +0 -2
- package/dist/cli/chunk-g5sx5knm.js +0 -2
- package/dist/cli/chunk-k5arcpfm.js +0 -2
- package/dist/cli/chunk-k5pd6q0r.js +0 -2
- package/dist/cli/chunk-mkb5mmmw.js +0 -2
- package/dist/cli/chunk-nka82csc.js +0 -2
- package/dist/cli/chunk-nn130cde.js +0 -2
- package/dist/cli/chunk-np319fys.js +0 -2
- package/dist/cli/chunk-pzy7fe5e.js +0 -3
- package/dist/cli/chunk-q23gw6np.js +0 -2
- package/dist/cli/chunk-s61xd58f.js +0 -2
- package/dist/cli/chunk-s88gxrtj.js +0 -2
- package/dist/cli/chunk-sfrsqpvn.js +0 -2
- package/dist/cli/chunk-tjh04p1x.js +0 -2
- package/dist/cli/chunk-w1rgfjkp.js +0 -2
- package/dist/cli/chunk-x1jxxmtc.js +0 -3
- package/dist/cli/chunk-y57tnbwp.js +0 -2
- package/dist/cli/chunk-z16wb344.js +0 -2
- package/dist/cli/chunk-z3hfz52n.js +0 -2
- package/dist/cli/chunk-zw9w8wbk.js +0 -63
package/dist/cli/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
// @bun
|
|
3
|
-
import{isPathLikeArg}from"./chunk-
|
|
4
|
-
`)}var bridge=()=>import("./chunk-
|
|
5
|
-
`);async function runAddSubcommand(rest){let arg=rest[0];if(arg==="--help"||arg==="-h"||arg==="help"){process.stdout.write(ADD_USAGE);return}if(arg==="--remote"){let{runAddRemote}=await import("./chunk-
|
|
3
|
+
import{isPathLikeArg}from"./chunk-1e0v0ycz.js";import{matchPathGlob}from"./chunk-kg11c1py.js";import{CURRENT_VERSION}from"./chunk-bg2ypp04.js";import{switchFlag}from"./chunk-zsfyj36g.js";import{expandTilde}from"./chunk-jrzh4yv6.js";import{errorMessage}from"./chunk-2brn8e1y.js";import{rejectionReason}from"./chunk-rz8319pe.js";import{BUILTIN_VENDORS,coerceVendorId,isBuiltinVendor}from"./chunk-h2m7em1e.js";import"./chunk-pn5ygqn6.js";import"./chunk-z1nj22va.js";import{ROVE_PRODUCT_NAME}from"./chunk-zt7wfnva.js";import"./chunk-f8gg8cqh.js";import"./chunk-nc46gddg.js";import{__require}from"./chunk-91sykzqq.js";import{resolve}from"path";var DYNAMIC_COMMANDS=new Map([["completions",async(args)=>{let{runCompletionsSubcommand}=await import("./chunk-txy0xkks.js");await runCompletionsSubcommand(args)}],["export",async(args)=>{let{runExportSubcommand}=await import("./chunk-qap0g8v4.js");await runExportSubcommand(args)}],["repo",async(args)=>{let{runRepoSubcommand}=await import("./chunk-ejytsv0b.js");await runRepoSubcommand(args)}],["api",async(args)=>{let{runApiSubcommand}=await import("./chunk-f535feph.js");await runApiSubcommand(args)}],["update",async(args)=>{let{runUpdateSubcommand}=await import("./chunk-4qg325ww.js");await runUpdateSubcommand(args)}],["theme",async(args)=>{let{runThemeSubcommand}=await import("./chunk-w7sb3jmd.js");await runThemeSubcommand(args)}],["feedback",async(args)=>{let{runFeedbackSubcommand}=await import("./chunk-sdcb3ttr.js");await runFeedbackSubcommand(args)}],["daemon",async(args)=>{let{runDaemonSubcommand}=await import("./chunk-yeysn5x1.js");await runDaemonSubcommand(args)}],["machine",async(args)=>{let{runMachineSubcommand}=await import("./chunk-r02sre5z.js");await runMachineSubcommand(args)}],["weixin",async(args)=>{let{runChannelCli}=await import("./chunk-y343681c.js");await runChannelCli("weixin",args)}],["doctor",async(args)=>{let{runDoctorSubcommand}=await import("./chunk-36f8xr65.js");await runDoctorSubcommand(args)}],["config",async(args)=>{let{runConfigSubcommand}=await import("./chunk-x1d70j6f.js");await runConfigSubcommand(args)}],["reset",async(args)=>{let{runResetSubcommand}=await import("./chunk-3j3ms4fx.js");await runResetSubcommand(args)}],["pty-host",async(args)=>{let{runPtyHostSubcommand}=await import("./chunk-x6k5tgzz.js");await runPtyHostSubcommand(args)}],["skill",async(args)=>{let{runSkillSubcommand}=await import("./chunk-t183jy5m.js");await runSkillSubcommand(args)}],["plugin",async(args)=>{let{runPluginSubcommand}=await import("./chunk-t8j9csw2.js");await runPluginSubcommand(args)}],["hook",async(args)=>{let{runHookSubcommand}=await import("./chunk-x652sy0y.js");await runHookSubcommand(args)}]]);function topLevelUsage(cliName=ROVE_PRODUCT_NAME){return[`${cliName} ${CURRENT_VERSION}`,"",`Usage: ${cliName} [command] [options]`,"","Run with no command to launch PureTUI.",`Run \`${cliName} .\` (or \`${cliName} <path>\`) to open a directory as a standalone task.`,"","Commands:"," completions <shell> Generate shell completion script (bash/zsh/fish)"," add [path] Save a repo path for the new-task picker"," remove [path] Forget a saved project (inverse of add; non-destructive)"," adopt [glob] Import existing git worktrees as tasks"," export [--csv|--json] Print the task list (json/csv/table; daemon-free)"," repo <verb> Per-repo init script + first prompt (show|set|unset)",` api <verb> Scriptable RPC surface for agents (see \`${cliName} api --help\`)`," daemon <verb> Manage the daemon (start|stop|status|restart)"," machine <verb> Other computers running Rove (add|doctor|remove|list)"," weixin <verb> Talk to Rove from WeChat (login|logout|status|allow|deny|send|agent)"," doctor [--report|--fix] Diagnose daemon/PTY/engines/git; --fix walks the remedies",` config [--path] Open ${cliName}'s config file (state.json) in your editor`," reset [--hard] Stop runtimes; optionally wipe task/UI state"," theme <verb> Manage user themes (list|add|remove)",` skill <verb> Install the ${cliName} agent skill (install|status|command|print)`," plugin <verb> Install and run plugins (install|link|list|action|\u2026)"," feedback File a GitHub issue on the Rove repo",` update [version|channel|list] Self-update ${cliName}, switch channel, or list versions`,"","Options:"," -v, --version Print version"," -h, --help Print this help"," --skill Print the agent skill file and exit"," --web [bridge flags] Serve the browser client on 127.0.0.1 and print its link"].join(`
|
|
4
|
+
`)}var bridge=()=>import("./chunk-fsqgs1p1.js"),CLI_NAME=ROVE_PRODUCT_NAME,ADD_USAGE=[`Usage: ${CLI_NAME} add [path]`,` ${CLI_NAME} add --remote --host <host> --user <user> --path <basePath> [--port N] [--key [path] | --password]`,"","Save a repo for the new-task picker. With --remote, register an SSH-backed","project whose worktrees live on <host>; engine launch over SSH is pending.",""].join(`
|
|
5
|
+
`);async function runAddSubcommand(rest){let arg=rest[0];if(arg==="--help"||arg==="-h"||arg==="help"){process.stdout.write(ADD_USAGE);return}if(arg==="--remote"){let{runAddRemote}=await import("./chunk-0xh1e21e.js");await runAddRemote(rest.slice(1));return}if(arg?.startsWith("-"))process.stderr.write(`${CLI_NAME} add: unknown flag "${arg}"
|
|
6
6
|
|
|
7
|
-
${ADD_USAGE}`),process.exit(2);let target=resolve(process.cwd(),expandTilde(arg&&arg.length>0?arg:".")),{addSavedRepo}=await import("./chunk-
|
|
7
|
+
${ADD_USAGE}`),process.exit(2);let target=resolve(process.cwd(),expandTilde(arg&&arg.length>0?arg:".")),{addSavedRepo}=await import("./chunk-ghww7w7x.js"),result=addSavedRepo(target);if(result.rejected)process.stderr.write(`${CLI_NAME} add: "${arg&&arg.length>0?arg:"."}" cannot be a project \u2014 ${rejectionReason(result.rejected)} (resolved to ${result.path}).
|
|
8
8
|
`),process.exit(1);if(result.added)console.log(`added ${result.path} (${result.total} saved repo${result.total===1?"":"s"} total)`);else console.log(`already saved: ${result.path}`);await ensureProjectMainTask(result.path),await adoptAllWorktrees(result.path)}async function ensureProjectMainTask(repo){try{await(await bridge()).withDaemonOrLocal({daemon:(client)=>client.request("task.ensureMain",{repo}),local:(orch)=>orch.ensureMainTask(repo)})}catch(err){console.error(`(skipped project main-task setup: ${errorMessage(err)}). Run ${CLI_NAME} doctor, then retry ${CLI_NAME} add.`)}}var PURGE_FLAG="--purge-credentials",REMOVE_USAGE=[`Usage: ${CLI_NAME} remove [path] [--purge-credentials]`,"","Forget a saved project (drop it from the new-task picker). Non-destructive:","the repo's files, worktrees, branches and tasks all stay on disk. A remote","(ssh://) project also has its stored connection config dropped.",""," path defaults to the current directory. Pass an exact saved entry (e.g. a"," remote `ssh://user@host` key) to remove it verbatim. Run with no match to"," print the current saved projects.",""," --purge-credentials also delete the remote project's SSH password from"," the OS keychain. Off by default: forgetting a project"," should not silently destroy a stored secret.",""].join(`
|
|
9
9
|
`);async function runRemoveSubcommand(rest){let purgeCredentials=switchFlag(rest,PURGE_FLAG),arg=rest.filter((a)=>a!==PURGE_FLAG&&!a.startsWith(`${PURGE_FLAG}=`))[0];if(arg==="--help"||arg==="-h"||arg==="help"){process.stdout.write(REMOVE_USAGE);return}if(purgeCredentials===void 0)process.stderr.write(`${CLI_NAME} remove: ${PURGE_FLAG} takes true or false
|
|
10
10
|
|
|
11
11
|
${REMOVE_USAGE}`),process.exit(2);if(arg?.startsWith("-"))process.stderr.write(`${CLI_NAME} remove: unknown flag "${arg}"
|
|
12
12
|
|
|
13
|
-
${REMOVE_USAGE}`),process.exit(2);let{getRemoteRepoConfig,getSavedRepos,resolveRepoRoot}=await import("./chunk-
|
|
13
|
+
${REMOVE_USAGE}`),process.exit(2);let{getRemoteRepoConfig,getSavedRepos,resolveRepoRoot}=await import("./chunk-ghww7w7x.js"),saved=getSavedRepos();if(saved.length===0){console.log("no saved projects to remove.");return}let raw=arg&&arg.length>0?arg:".",target=saved.includes(raw)?raw:(()=>{let abs=resolve(process.cwd(),expandTilde(raw)),top=resolveRepoRoot(abs);if(saved.includes(top))return top;if(saved.includes(abs))return abs;return null})();if(target===null){process.stderr.write(`${CLI_NAME} remove: "${raw}" is not a saved project.
|
|
14
14
|
|
|
15
15
|
Saved projects:
|
|
16
16
|
`);for(let p of saved)process.stderr.write(` ${p}
|
|
@@ -19,8 +19,8 @@ Saved projects:
|
|
|
19
19
|
|
|
20
20
|
${ADOPT_USAGE}
|
|
21
21
|
`),process.exit(2)}async function runAdoptSubcommand(args){let glob,repoArg,vendorArg,yes=!1;for(let i=0;i<args.length;i++){let a=args[i];if(a==="--help"||a==="-h"||a==="help"){process.stdout.write(`${ADOPT_USAGE}
|
|
22
|
-
`);return}if(a==="--repo"){if(repoArg=args[++i],repoArg===void 0)adoptUsageError("--repo requires a value")}else if(a==="--vendor"){if(vendorArg=args[++i],vendorArg===void 0)adoptUsageError("--vendor requires a value")}else if(a==="--yes"||a==="-y")yes=!0;else if(a&&!a.startsWith("-")&&glob===void 0)glob=a;else adoptUsageError(`unexpected argument "${a}"`)}let{getCustomEngineIds,resolveRepoRoot}=await import("./chunk-
|
|
22
|
+
`);return}if(a==="--repo"){if(repoArg=args[++i],repoArg===void 0)adoptUsageError("--repo requires a value")}else if(a==="--vendor"){if(vendorArg=args[++i],vendorArg===void 0)adoptUsageError("--vendor requires a value")}else if(a==="--yes"||a==="-y")yes=!0;else if(a&&!a.startsWith("-")&&glob===void 0)glob=a;else adoptUsageError(`unexpected argument "${a}"`)}let{getCustomEngineIds,resolveRepoRoot}=await import("./chunk-ghww7w7x.js"),repo=resolveRepoRoot(resolve(process.cwd(),expandTilde(repoArg&&repoArg.length>0?repoArg:"."))),typed=vendorArg?.trim();if(typed&&!isBuiltinVendor(typed)&&!getCustomEngineIds().includes(typed)){let known=[...BUILTIN_VENDORS,...getCustomEngineIds()].join(", ");adoptUsageError(`unknown engine "${typed}" \u2014 no task was created. Known engines: ${known}`)}let vendor=coerceVendorId(vendorArg),orch=await(await bridge()).openLocalOrchestrator(),worktrees=await orch.discoverAdoptableWorktrees(repo);if(worktrees.length===0){console.log(`no adoptable worktrees for ${repo} \u2014 every git worktree here is already a task`);return}let isMatch=(w)=>!glob||matchPathGlob(glob,w.path);console.log(`adoptable worktrees in ${repo}:`);for(let w of worktrees){let hit=glob?isMatch(w)?"*":" ":"-",tags=[w.dirty===!0?"dirty":w.dirty===null?"dirty?":"",w.roveManaged?"":"external"].filter(Boolean).join(",");console.log(` ${hit} ${w.branch} ${w.path}${tags?` (${tags})`:""}`)}if(!glob){console.log(`
|
|
23
23
|
pass a path glob to adopt, e.g. ${CLI_NAME} adopt '${repo}/*' --yes`);return}let matched=worktrees.filter(isMatch);if(matched.length===0){console.log(`
|
|
24
24
|
no worktrees match glob ${JSON.stringify(glob)}`);return}if(!yes){console.log(`
|
|
25
25
|
${matched.length} worktree(s) match \u2014 re-run with --yes to adopt them`);return}await adoptWorktreesInto(orch,repo,matched,vendor),console.log(`done \u2014 adopted ${matched.length} worktree(s)`)}function printTopLevelUsage(out){out.write(`${topLevelUsage()}
|
|
26
|
-
`)}var COMMANDS=new Map([["add",runAddSubcommand],["remove",runRemoveSubcommand],["adopt",runAdoptSubcommand],...DYNAMIC_COMMANDS]);async function main(){let[,,...rawArgs]=process.argv,[subcommand,...rest]=rawArgs;if(subcommand==="--version"||subcommand==="-v"||subcommand==="version"){let{CURRENT_VERSION:CURRENT_VERSION2}=await import("./chunk-
|
|
26
|
+
`)}var COMMANDS=new Map([["add",runAddSubcommand],["remove",runRemoveSubcommand],["adopt",runAdoptSubcommand],...DYNAMIC_COMMANDS]);async function main(){let[,,...rawArgs]=process.argv,[subcommand,...rest]=rawArgs;if(subcommand==="--version"||subcommand==="-v"||subcommand==="version"){let{CURRENT_VERSION:CURRENT_VERSION2}=await import("./chunk-jy0kms4j.js");console.log(`${CLI_NAME} ${CURRENT_VERSION2}`);return}if(subcommand==="--help"||subcommand==="-h"||subcommand==="help"){printTopLevelUsage(process.stdout);return}if(subcommand==="--skill"){let{runSkillSubcommand}=await import("./chunk-t183jy5m.js");await runSkillSubcommand(["print"]);return}if(subcommand==="--web"){let{runWebSubcommand}=await import("./chunk-yv77a1p9.js");await runWebSubcommand(rest);return}let handler=subcommand!==void 0?COMMANDS.get(subcommand):void 0;if(handler){await handler(rest);return}if(subcommand!==void 0&&isPathLikeArg(subcommand)){let{runOpenDirectory}=await import("./chunk-qknyztxj.js");await runOpenDirectory(subcommand);return}if(subcommand!==void 0)console.error(`${CLI_NAME}: unknown command '${subcommand}'`),printTopLevelUsage(process.stderr),process.exit(2);let{publishRoveTerminalTitle}=await import("./chunk-g8wrdp7n.js");publishRoveTerminalTitle();let{launchTui}=await import("./chunk-xtbjzbyn.js");await launchTui()}var cliDone=main().catch(async(err)=>{let{formatCliFailure}=await import("./chunk-r1r83d2r.js");console.error(formatCliFailure(err,{cliName:CLI_NAME,argv:process.argv,cwd:process.cwd(),env:process.env})),process.exit(1)});export{cliDone};
|
package/dist/cli/rove-run.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
// @bun
|
|
3
|
-
import{updateStateFile}from"./chunk-32j6y5d1.js";import{isObject}from"./chunk-7ghwdjdc.js";import{migrateRoveClientStateLayout}from"./chunk-8t7qbr1e.js";import"./chunk-bejhca6z.js";import"./chunk-br8r72bf.js";import"./chunk-yt15y085.js";import
|
|
3
|
+
import{updateStateFile}from"./chunk-32j6y5d1.js";import{isObject}from"./chunk-7ghwdjdc.js";import{migrateRoveClientStateLayout}from"./chunk-8t7qbr1e.js";import"./chunk-bejhca6z.js";import"./chunk-br8r72bf.js";import"./chunk-yt15y085.js";import"./chunk-eqdbfgq5.js";import{kvStatePath}from"./chunk-z1nj22va.js";import"./chunk-zt7wfnva.js";import"./chunk-f8gg8cqh.js";import"./chunk-nc46gddg.js";import{__require}from"./chunk-91sykzqq.js";import{readFileSync}from"fs";var RENAMED_KEY_PREFIXES=[{from:"autoEffort.",to:"autoRouting."}],NOTHING={moved:0,superseded:0};function legacyRename(key){for(let{from,to}of RENAMED_KEY_PREFIXES)if(key.startsWith(from))return`${to}${key.slice(from.length)}`;return}function isStateObject(text){try{let parsed=JSON.parse(text);return isObject(parsed)}catch{return!1}}function migrateRenamedStateKeys(){let text;try{text=readFileSync(kvStatePath(),"utf8")}catch{return NOTHING}if(!RENAMED_KEY_PREFIXES.some(({from})=>text.includes(`"${from}`)))return NOTHING;if(!isStateObject(text))return NOTHING;let moved=0,superseded=0;try{updateStateFile((state)=>{for(let[key,value]of Object.entries(state)){let renamed=legacyRename(key);if(renamed===void 0)continue;if(renamed in state)superseded+=1;else state[renamed]=value,moved+=1;delete state[key]}return moved+superseded>0})}catch{return NOTHING}return{moved,superseded}}function prepareCliStateLayout(env=process.env){let result=migrateRoveClientStateLayout(env);for(let warning of result.warnings)console.error(`[rove] state migration will retry: ${warning}. Check the source/destination permissions, then relaunch Rove.`);migrateRenamedStateKeys()}prepareCliStateLayout();await import("./index.js");
|
package/dist/cli/rove.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{join as u}from"node:path";import{createInterface as a}from"node:readline/promises";import{pathToFileURL as tt}from"node:url";import{spawnSync as
|
|
3
|
-
`)[0]?.trim()??""};function $(t){return t.trim().match(/^v?(\d+\.\d+\.\d+)/)?.[1]??null}function
|
|
4
|
-
`)}function
|
|
5
|
-
`)}function
|
|
6
|
-
`)}function
|
|
7
|
-
`),1;return l(
|
|
2
|
+
import{join as u}from"node:path";import{createInterface as a}from"node:readline/promises";import{pathToFileURL as tt}from"node:url";import{spawnSync as v}from"node:child_process";import{constants as O,accessSync as P}from"node:fs";import{homedir as V}from"node:os";import{basename as R,delimiter as I,dirname as U,join as y}from"node:path";import{fileURLToPath as G}from"node:url";var j={$schema:"https://json.schemastore.org/package.json",name:"@sma1lboy/rove",version:"0.9.283",description:"Rove: all your coding agents, in one place. An agentic development environment (ADE) for your terminal: Claude Code, Codex, Copilot and more, side by side in isolated worktrees, handing tasks to each other.",keywords:["terminal","tui","cli","ade","agentic-development-environment","multiplexer","ai-agents","coding-agent","ai-coding-assistant","agentic-ai","parallel-agents","git-worktree","claude-code","codex","llm","developer-tools"],type:"module",packageManager:"bun@1.3.13",bin:{rove:"dist/cli/rove.js"},files:["dist/cli","dist/completions","dist/web","dist/web-ui","dist/skills","dist/voice","dist/*.wav","README.md","LICENSE"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/Sma1lboy/rove.git"},homepage:"https://rove.run",bugs:{url:"https://github.com/Sma1lboy/rove/issues"},engines:{bun:">=1.3.11"},scripts:{dev:"ROVE_DEV=1 bun --conditions=browser ./src/cli/rove.ts","dev:mock":"ROVE_DEV=1 bun ./src/tui-react/mock/host.tsx","dev:sandbox":"bun run scripts/dev-sandbox.ts run","dev:sandbox:reset":"bun run scripts/dev-sandbox.ts reset",build:"bun run scripts/build.ts","build:rubric":"bun run scripts/build-tier-rubric.ts",compile:"bun run scripts/compile.ts",typecheck:"tsc --noEmit","check-i18n":"bun run scripts/check-i18n.ts",test:"bun run test:fast && bun run test:socket","perf:golden":"bun scripts/perf-golden.ts","rove-bench":"bun --conditions=browser scripts/rove-bench.ts","pty:soak":"bun scripts/pty-soak.ts","test:fast":"vitest run --passWithNoTests --minWorkers=1 --maxWorkers=8","test:socket":"ROVE_INCLUDE_SOCKET=1 vitest run test/daemon --pool forks --minWorkers=1 --maxWorkers=4 --passWithNoTests","test:socket:coverage":"ROVE_INCLUDE_SOCKET=1 ROVE_COVERAGE_DAEMON=1 vitest run test/daemon --coverage --pool forks --minWorkers=1 --maxWorkers=4 --passWithNoTests","test:behavior":"ROVE_INCLUDE_BEHAVIOR=1 vitest run test/behavior --pool forks --minWorkers=1 --maxWorkers=1 --retry=2 --passWithNoTests","test:render":"bun scripts/render-track.mjs",coverage:"vitest run --coverage --passWithNoTests",bench:"vitest bench --run",lint:"biome check .",knip:"knip-bun",postinstall:"bun run scripts/check-preview-deps.ts || true",prepublishOnly:"bun run typecheck && bun run build","plugin-sandbox":"bun run scripts/plugin-sandbox.ts"},"//":"biome.json + bunfig.toml live at the monorepo root since they apply repo-wide; bun.lock also lives at root (workspace-shared).",dependencies:{"@ansi-tools/parser":"^1.0.15","@opentui/core":"0.4.3","@opentui/react":"0.4.3","@xterm/addon-serialize":"^0.14.0","@xterm/addon-unicode11":"^0.9.0","@xterm/headless":"^6.0.0",react:"^19.2.8","smol-toml":"^1.7.1",ws:"^8.21.3"},optionalDependencies:{"node-pty":"^1.1.0"},devDependencies:{"@biomejs/biome":"1.9.4","@sma1lboy/rove-daemon":"0.7.23","@tsconfig/bun":"1.0.11","@types/bun":"1.3.14","@types/node":"25.6.2","@types/react":"^19.2.0","@vitest/coverage-v8":"2.1.9",knip:"^6.14.2","react-devtools-core":"^7.0.1","rove-bridge":"0.0.44","rove-weixin":"0.0.44",typescript:"5.8.2",vitest:"2.1.9"},trustedDependencies:[]};var o="rove";var e=o;var k="ROVE_BUN",_="ROVE_NO_BUN_BOOTSTRAP",H="ROVE_SKIP_BUN_CHECK",z=j.engines.bun.match(/\d+\.\d+\.\d+/)?.[0]??"0.0.0",d=(t)=>{try{return P(t,O.X_OK),!0}catch{return!1}},B=(t)=>t==="win32"?"bun.exe":"bun",f=(t)=>{let s=v(t,["--version"],{encoding:"utf8",timeout:5000});if(s.error||s.status!==0)return null;return s.stdout?.split(`
|
|
3
|
+
`)[0]?.trim()??""};function $(t){return t.trim().match(/^v?(\d+\.\d+\.\d+)/)?.[1]??null}function J(t,s=z){let c=$(t),i=$(s);if(!c||!i)return!0;let b=c.split(".").map(Number),g=i.split(".").map(Number);for(let r=0;r<3;r++){let x=b[r]??0,p=g[r]??0;if(x!==p)return x>p}return!0}function Q(t=process.env){return t[H]==="1"}function h(t={}){let s=t.env??process.env,c=t.platform??process.platform,i=t.home??s.HOME??s.USERPROFILE??V(),b=B(c),g=[],r=s[k]?.trim();if(r)g.push(r);for(let Z of(s.PATH??s.Path??"").split(I))if(Z)g.push(y(Z,b));let x=s.BUN_INSTALL?.trim();if(x)g.push(y(x,"bin",b));if(i)g.push(y(i,".bun","bin",b));let p=t.launcherDir;if(p)g.push(y(p,"..","..","node_modules","bun","bin",b)),g.push(y(p,"..","..","..","bun","bin",b));return g}function N(t={}){let s=t.isExecutable??d;return h(t).find((c)=>s(c))??null}function X(t={}){let s=t.isExecutable??d,c=t.bunVersionOf??f;if(Q(t.env??process.env))return{bun:N(t),stale:null,unusable:null};let i=null,b=null;for(let g of h(t)){if(!s(g))continue;let r=c(g);if(r===null){b??=g;continue}if(J(r))return{bun:g,stale:i,unusable:b};i??={path:g,version:$(r)??r}}return{bun:null,stale:i,unusable:b}}function q(t){return U(G(t))}function A(t){return R(G(t)).replace(/\.[cm]?[jt]s$/,"")}function n(t=process.platform){return t==="win32"?["powershell","-NoProfile","-Command","irm bun.sh/install.ps1 | iex"]:["bash","-c","curl -fsSL https://bun.sh/install | bash"]}function K(t=e,s=process.platform){let c=s==="win32"?'powershell -c "irm bun.sh/install.ps1 | iex"':"curl -fsSL https://bun.sh/install | bash";return[`${t}: Rove runs on the Bun runtime, and no Bun was found on this machine.`,"","Install Bun, then run this command again:",` ${c}`," npm install -g bun # any platform, if you already have npm","","Or install Bun and Rove together in one step:"," curl -fsSL https://rove.run/install.sh | sh","",`Already have Bun somewhere unusual? Point Rove at it: ${k}=/path/to/bun`,""].join(`
|
|
4
|
+
`)}function Y(t,s,c=e){return[`${c}: this machine's Bun is too old for Rove — found ${s} at ${t}, need ${z} or newer.`,"","Rove's terminals are built on Bun's PTY API. An older Bun ignores it silently,","so every terminal and engine tab would open empty and stay empty.","","Upgrade Bun, then run this command again:"," bun upgrade # Bun installed itself (~/.bun)"," brew upgrade bun # Homebrew"," npm install -g bun@latest # npm-managed Bun","",`Have a newer Bun elsewhere? Point Rove at it: ${k}=/path/to/bun`,`Run on this one anyway (unsupported, terminals will be blank): ${H}=1`,""].join(`
|
|
5
|
+
`)}function T(t,s=e){return[`${s}: the Bun at ${t} could not be run — \`${t} --version\` failed or never returned.`,"","Rove skipped it rather than starting through it, which would hang or fail","with a message from that binary instead of this one.","","Reinstall Bun, then run this command again:"," curl -fsSL https://bun.sh/install | bash","",`Have a working Bun elsewhere? Point Rove at it: ${k}=/path/to/bun`,""].join(`
|
|
6
|
+
`)}function F(t=process.env,s=process.stdin,c=process.stdout){if(t[_]==="1")return!1;if(t.CI==="true"||t.CI==="1")return!1;return Boolean(s.isTTY&&c.isTTY)}function L(t={},s=v){let c=t.platform??process.platform,[i,...b]=n(c);if(!i)return null;let g=s(i,b,{stdio:"inherit"});if(g.error||g.status!==0)return null;return X(t).bun}function l(t){if(typeof t.status==="number")return t.status;if(t.signal)return 128+(Object.hasOwn(C,t.signal)?C[t.signal]:0);return 1}var C={SIGINT:2,SIGQUIT:3,SIGKILL:9,SIGTERM:15};function D(t,s,c,i=v){let b=i(t,[s,...c],{stdio:"inherit"});if(b.error)return process.stderr.write(`rove: could not start Bun at ${t}: ${b.error.message}. Check that this path is executable, or reinstall Bun from https://bun.sh.
|
|
7
|
+
`),1;return l(b)}var M=q(import.meta.url),W=A(import.meta.url),w=u(M,`${W}-run.js`);async function st(t){let s=a({input:process.stdin,output:process.stdout});try{let c=(await s.question(t)).trim().toLowerCase();return c===""||c==="y"||c==="yes"}finally{s.close()}}async function ct(){let t={launcherDir:M},s=X(t);if(s.bun||!F())return s;let c=s.stale?`${W}: Bun ${s.stale.version} is too old for Rove (needs ${z}+). Install the latest Bun now? [Y/n] `:`${W}: Rove runs on the Bun runtime, and none is installed. Install Bun now? [Y/n] `;if(!await st(c))return s;return{bun:L(t),stale:s.stale,unusable:s.unusable}}var m=globalThis.Bun;if(m){let t=m.version;if(t&&!Q()&&!J(t))process.stderr.write(Y(process.execPath,t,W)),process.exit(1);await import(tt(w).href)}else{let{bun:t,stale:s,unusable:c}=await ct();if(!t){let i=s?Y(s.path,s.version,W):c?T(c,W):K(W);process.stderr.write(i),process.exit(1)}process.exit(D(t,w,process.argv.slice(2)))}
|
|
@@ -3,7 +3,7 @@ name: rove
|
|
|
3
3
|
description: Use when controlling Rove tasks, parallel coding attempts, hosted agent sessions, task lifecycle, or the daemon-owned issue tracker from a shell. Also the ONLY channel for messaging another agent session on this machine — `rove api send`, never a peer/MCP side channel.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
<!-- rove-skill-version:
|
|
6
|
+
<!-- rove-skill-version: 114 — bump in lockstep with ROVE_SKILL_VERSION (src/lib/skill-install.ts). -->
|
|
7
7
|
|
|
8
8
|
# Rove shell control
|
|
9
9
|
|
|
@@ -172,11 +172,14 @@ snapshot lost; it is addressable like any other.
|
|
|
172
172
|
|
|
173
173
|
Once you know what the conversation is about, retitle your own task so the user can tell it from its siblings: `rove api update --title "short, specific title"` (no `--task-id` needed — it defaults to your task).
|
|
174
174
|
|
|
175
|
-
### Coordinating others?
|
|
175
|
+
### Coordinating others? Read `context` when you lack the state
|
|
176
176
|
|
|
177
|
-
If you spawned tasks,
|
|
178
|
-
between two of your turns a worker can
|
|
179
|
-
prompt or get its PR approved, and you
|
|
177
|
+
If you spawned tasks, read `context` at the start of a session and whenever
|
|
178
|
+
you need state you do not have — between two of your turns a worker can
|
|
179
|
+
finish, crash, stall on a permission prompt or get its PR approved, and you
|
|
180
|
+
witnessed none of it. A turn started by a `[ROVE REPORT]` line or a peer
|
|
181
|
+
message that already carries the outcome acts on that message; it does not
|
|
182
|
+
re-read the fleet first:
|
|
180
183
|
|
|
181
184
|
```bash
|
|
182
185
|
rove api context --repo "$PWD" --text
|
|
@@ -365,6 +368,7 @@ rove api send --task-id <id> --prompt-file - <<'EOF' # anything els
|
|
|
365
368
|
EOF
|
|
366
369
|
|
|
367
370
|
# Reply home: no --task-id inside a dispatched task = the dispatcher's tab.
|
|
371
|
+
# Not when your prompt ended with a `report --delivery` footer: `report` is then the only signal.
|
|
368
372
|
rove api send --prompt "succeeded: <one line> (branch <final branch>)"
|
|
369
373
|
|
|
370
374
|
# A task can hold several Terminal Tabs. `get-task` lists ONE task's tabs (the
|
|
@@ -652,13 +656,21 @@ solely to coordinate or review a small, reversible change.
|
|
|
652
656
|
Outcomes are explicit, never inferred — and they travel as a MESSAGE to the
|
|
653
657
|
spawning agent's engine tab, not as stored state nobody reads.
|
|
654
658
|
|
|
655
|
-
**Worker side** —
|
|
656
|
-
|
|
657
|
-
`
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
659
|
+
**Worker side** — one outcome signal per finished piece of work:
|
|
660
|
+
|
|
661
|
+
- Your prompt ended with a `[ROVE] … report --delivery d-<n>` footer? Run
|
|
662
|
+
`report` (below) and nothing else. Do NOT also send a `succeeded:`
|
|
663
|
+
message: Rove pastes one `[ROVE REPORT]` line with your outcome and summary
|
|
664
|
+
into your dispatcher's tab.
|
|
665
|
+
- No footer, and another Rove task created yours? It recorded itself as your
|
|
666
|
+
dispatcher (task + tab); a bare `rove api send --prompt "<succeeded|failed>:
|
|
667
|
+
<one line> (branch <final branch>)"` routes the outcome back to that exact
|
|
668
|
+
tab. Include the final branch name — the spawner needs it to `land`. Use
|
|
669
|
+
the BARE form: an explicit `--task-id <spawner>` skips dispatcher routing
|
|
670
|
+
and lands on that task's canonical engine tab, which can be a different
|
|
671
|
+
agent's session.
|
|
672
|
+
- Neither (the owner started you)? The board status is your signal: with
|
|
673
|
+
auto status on, Rove's system prompt tells you to set `in_review`.
|
|
662
674
|
|
|
663
675
|
**Name your branch before you report it.** A new task starts on an
|
|
664
676
|
auto-generated placeholder branch (`new-task`, `duck`, …); you are the only
|
|
@@ -679,14 +691,16 @@ real message (you wrote the code; you write its message). A worker that ran
|
|
|
679
691
|
everything, passed everything, and committed nothing has delivered nothing —
|
|
680
692
|
that exact mismatch has shipped empty merges before.
|
|
681
693
|
|
|
682
|
-
Rove checks this at the moment you claim it: a `succeeded:`
|
|
683
|
-
|
|
684
|
-
|
|
694
|
+
Rove checks this at the moment you claim it: a `succeeded:` send, or a
|
|
695
|
+
`report --outcome done` on a delivery a `send` armed, from a managed task
|
|
696
|
+
whose branch has **0 commits** is refused with `EMPTY_SUCCESS_REPORT` and
|
|
697
|
+
never reaches the coordinator. Commit, then send or report.
|
|
685
698
|
When the task genuinely produced no commits — an investigation, a review, a
|
|
686
699
|
question answered — say so explicitly with `--allow-empty`:
|
|
687
700
|
|
|
688
701
|
```bash
|
|
689
702
|
rove api send --allow-empty --prompt "succeeded: no bug — root cause is upstream, see notes"
|
|
703
|
+
rove api report --allow-empty --delivery d-41 --outcome done --summary "no bug — root cause is upstream"
|
|
690
704
|
```
|
|
691
705
|
|
|
692
706
|
**"CI is green" means `checkState: passing`.** A local test run is not CI: it
|
|
@@ -706,8 +720,9 @@ Run `rove api pr-attach --url <url>` once so it shows on your task's row with
|
|
|
706
720
|
live state. Idempotent; `rove api publish` already does it.
|
|
707
721
|
|
|
708
722
|
**Coordinator side** — do NOT block or poll. Keep working (or end your
|
|
709
|
-
turn); each worker's outcome arrives in your chat
|
|
710
|
-
|
|
723
|
+
turn); each worker's outcome arrives in your chat with its task id: a
|
|
724
|
+
`[ROVE REPORT]` line when you armed the prompt, else a `[ROVE PEER]` message.
|
|
725
|
+
Neither needs an answer. What arrives is the worker's claim, not Rove-verified —
|
|
711
726
|
verify the winner's actual diff before landing. Silence never proves a
|
|
712
727
|
worker died (it may be mid-turn or stuck on a permission prompt): peek with
|
|
713
728
|
`collect`/`get-task`, nudge with `send`, and never mark a silent task failed
|
|
@@ -723,7 +738,7 @@ a standing session, a scheduler ticking a task — Rove can also ask for a
|
|
|
723
738
|
report: rove api report --delivery d-<n> …` (or opens with a
|
|
724
739
|
`[ROVE ROUTINE] … report with: rove api report --delivery d-<n> …` line)
|
|
725
740
|
is an armed delivery. Make `report` the LAST step of the turn, before you
|
|
726
|
-
stop:
|
|
741
|
+
stop. It is your only outcome signal: no `succeeded:` send as well.
|
|
727
742
|
|
|
728
743
|
```bash
|
|
729
744
|
rove api report --delivery d-41 --outcome done \
|
|
@@ -735,7 +750,8 @@ rove api report --delivery d-41 --outcome done \
|
|
|
735
750
|
`--outcome` is `done`, `partial`, `blocked` (you need the owner or an
|
|
736
751
|
outside fix) or `failed` (you tried and could not). A turn that ends with no
|
|
737
752
|
report is flagged `report_missing` in the owner's Inbox, and the delivery is
|
|
738
|
-
marked `missing
|
|
753
|
+
marked `missing`; a `[ROVE ROUTINE]` turn with nothing to report just stops
|
|
754
|
+
(the delivery goes `quiet`, no Inbox row). Reporting again replaces the report; a late report clears
|
|
739
755
|
the flag. For text with quotes or backticks use `--json -` (stdin) with
|
|
740
756
|
`{delivery, outcome, summary, evidence?, next?}`. `routine-respond` is the
|
|
741
757
|
same report as `--outcome done`.
|
|
@@ -743,7 +759,11 @@ same report as `--outcome done`.
|
|
|
743
759
|
**Sending side.** Arm the prompt you send: `rove api send --expect-report
|
|
744
760
|
…` (the reply carries `deliveryId`), or set it once with
|
|
745
761
|
`add --require-report` / `update --require-report on` so every `send` to that
|
|
746
|
-
task is armed.
|
|
762
|
+
task is armed. When the worker reports, Rove pastes one line into the
|
|
763
|
+
worker's dispatcher tab: `[ROVE REPORT] "<title>" (task <id>, branch <b>)
|
|
764
|
+
<outcome>: <summary's first line>`. It goes to the task's recorded
|
|
765
|
+
dispatcher, not to whoever sent the prompt, and is skipped while that tab is
|
|
766
|
+
at a menu or has no live engine. Read what recent ticks did with `rove api deliveries
|
|
747
767
|
--task-id <id> --limit 5` (newest first: outcome, summary, evidence, next,
|
|
748
768
|
or why it went missing) instead of a growing notes file. Silence still never
|
|
749
769
|
proves a worker is dead — `missing` says the turn ended or the engine died
|
|
@@ -166,7 +166,7 @@ row-token --task-id(REQ) --text --ttl(60) --key(default)
|
|
|
166
166
|
--tone{info|success|warning|error|muted} --clear
|
|
167
167
|
set-active --task-id --none
|
|
168
168
|
report --delivery --outcome{done|partial|blocked|failed} --summary --evidence
|
|
169
|
-
--next --json
|
|
169
|
+
--next --allow-empty --json
|
|
170
170
|
attention-dismiss --delivery(REQ)
|
|
171
171
|
gate-raise --task-id(REQ) --tab --question(REQ) --option --recommend --context
|
|
172
172
|
gate-answer --gate(REQ) --option --text
|
|
@@ -181,13 +181,15 @@ dead PTY, no engine process — and each has its own code below.
|
|
|
181
181
|
|
|
182
182
|
**`note` is the repo's durable field-note store.** One line, a verified
|
|
183
183
|
conclusion another session could act on — it is appended to the repo's notes
|
|
184
|
-
(every future session on this repo starts with them)
|
|
185
|
-
|
|
184
|
+
(every future session on this repo starts with them); it starts no turn in
|
|
185
|
+
any running session. Read them back with `note-list --repo`. This is the right home for
|
|
186
186
|
a resolved gotcha; an issue is for work that still needs doing.
|
|
187
187
|
|
|
188
|
-
`send --allow-empty` is the escape hatch for a
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
`send --allow-empty` (and `report --allow-empty`) is the escape hatch for a
|
|
189
|
+
`succeeded:` send or a `report --outcome done` on a `send` delivery from a
|
|
190
|
+
task that legitimately produced no commits (an investigation, a review, a
|
|
191
|
+
question answered); without it such a claim is refused with
|
|
192
|
+
`EMPTY_SUCCESS_REPORT`.
|
|
191
193
|
|
|
192
194
|
**`send --expect-report` asks for a report.** The reply carries `deliveryId`
|
|
193
195
|
(`d-<n>`) and the pasted prompt ends with a `[ROVE] When this turn ends,
|
|
@@ -414,13 +416,15 @@ and does not shift the schedule. `routine-delete` leaves already-created tasks
|
|
|
414
416
|
alone.
|
|
415
417
|
|
|
416
418
|
A delivered routine prompt starts with `[ROVE ROUTINE] "<name>" run #<n> — when
|
|
417
|
-
done, report with: … rove api report --delivery d-<n>
|
|
418
|
-
|
|
419
|
+
done, report with: … rove api report --delivery d-<n> … (only if something
|
|
420
|
+
happened or you are blocked)`. When the run found something or you are stuck,
|
|
421
|
+
finish by reporting THAT delivery (`report --outcome done|partial|blocked|failed
|
|
419
422
|
--summary …`): lead with the conclusion, markdown welcome, 32,000 characters
|
|
420
423
|
max. Reporting again replaces the answer. `routine-respond --run <runId>
|
|
421
424
|
--text …` still works; it is `report --outcome done` on the same delivery.
|
|
422
|
-
|
|
423
|
-
|
|
425
|
+
With nothing to report, just stop: the delivery goes `quiet`, with no Inbox
|
|
426
|
+
row. In a standing session, a run whose prompt you already have says the
|
|
427
|
+
instructions are unchanged; follow the earlier run's prompt again.
|
|
424
428
|
|
|
425
429
|
Run statuses from `routine-runs`: `dispatched`, `revived` (standing session
|
|
426
430
|
respawned — files kept, conversation did not), `skipped_precheck` (nothing to do),
|
|
@@ -476,7 +480,7 @@ Errors go to stderr as `{"error":{"message","code",...}}`. Most carry `hint`
|
|
|
476
480
|
| `NO_ENGINE_TAB` | live tabs exist, none is an engine | `--tab tab-N` from `pty-list`, or `--tab new` |
|
|
477
481
|
| `TAB_NOT_FOUND` | `--tab` names a closed/unknown tab | `get-task` for the live `.tabs[]` |
|
|
478
482
|
| `DISPATCHER_UNREACHABLE` | bare `send` reply, dispatcher gone | nothing alive to reply to — never silently spawns |
|
|
479
|
-
| `EMPTY_SUCCESS_REPORT` | `succeeded:` from a branch with 0 commits | commit first, or say so with `--allow-empty` |
|
|
483
|
+
| `EMPTY_SUCCESS_REPORT` | `succeeded:` or `report --outcome done` from a branch with 0 commits | commit first, or say so with `--allow-empty` |
|
|
480
484
|
| `SOURCE_CHANGED` | `read-output` cursor's target moved | re-read without the cursor |
|
|
481
485
|
| `EMPTY_BRANCH` | `land` on zero commits ahead | the worker committed nothing |
|
|
482
486
|
| `UNSUPPORTED` | `interrupt` on an engine that never declared how it is interrupted | stop it by hand in its tab, or `tab-close` |
|