@sma1lboy/rove 0.9.283-next.90 → 0.9.283
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/README.md +7 -8
- package/dist/cli/{chunk-pmz7t8xx.js → chunk-0jdvy6hk.js} +1 -1
- package/dist/cli/{chunk-n0rdn2fn.js → chunk-0sy3bez6.js} +2 -2
- package/dist/cli/{chunk-pb5ypex2.js → chunk-131bpjms.js} +1 -1
- package/dist/cli/{chunk-0annhyhx.js → chunk-1c6yk07x.js} +1 -1
- package/dist/cli/{chunk-65893xxt.js → chunk-1gxnd3qq.js} +1 -1
- package/dist/cli/{chunk-dznh9kx4.js → chunk-1kxnpa9w.js} +3 -3
- package/dist/cli/{chunk-adsfeq6x.js → chunk-1masf4pj.js} +1 -1
- package/dist/cli/{chunk-9c6pjyxr.js → chunk-28mm4k8b.js} +1 -1
- package/dist/cli/{chunk-bkgg6zam.js → chunk-2vkxtms5.js} +1 -1
- package/dist/cli/{chunk-6jq5esbf.js → chunk-335g4j0y.js} +1 -1
- package/dist/cli/{chunk-9snqpah0.js → chunk-37pwx1a7.js} +1 -1
- package/dist/cli/{chunk-vswtpcz6.js → chunk-3wsjbxd7.js} +1 -1
- package/dist/cli/{chunk-q98t2xpc.js → chunk-4gjj2ed9.js} +1 -1
- package/dist/cli/{chunk-4d5xp2p0.js → chunk-4wq1jsve.js} +1 -1
- package/dist/cli/{chunk-h27064am.js → chunk-4zmhzb28.js} +1 -1
- package/dist/cli/{chunk-2wbawmm7.js → chunk-5a6rkz1s.js} +1 -1
- package/dist/cli/{chunk-y895rmz8.js → chunk-5jbfscxy.js} +1 -1
- package/dist/cli/{chunk-cb80ft39.js → chunk-5mhf43dx.js} +1 -1
- package/dist/cli/{chunk-ha4hfk67.js → chunk-60kx1j7x.js} +14 -14
- package/dist/cli/chunk-62z7016x.js +3 -0
- package/dist/cli/{chunk-7kgcy89w.js → chunk-69f84j0j.js} +2 -2
- package/dist/cli/{chunk-zdwtxp16.js → chunk-7zh7adny.js} +1 -1
- package/dist/cli/chunk-81q3t424.js +2 -0
- package/dist/cli/{chunk-pfagrkt6.js → chunk-8h94w236.js} +1 -1
- package/dist/cli/{chunk-496egqmk.js → chunk-8y10pmkf.js} +1 -1
- package/dist/cli/{chunk-e56dsdye.js → chunk-90dkv2mn.js} +1 -1
- package/dist/cli/{chunk-45a1xqc4.js → chunk-94t488yj.js} +1 -1
- package/dist/cli/{chunk-tg4swhr1.js → chunk-991x8tw6.js} +1 -1
- package/dist/cli/{chunk-8damx2w0.js → chunk-9q43btkf.js} +1 -1
- package/dist/cli/{chunk-5z02j1em.js → chunk-9rsmxcd2.js} +1 -1
- package/dist/cli/{chunk-aqwckba5.js → chunk-abate6bw.js} +1 -1
- package/dist/cli/chunk-af60qacx.js +7 -0
- package/dist/cli/{chunk-pebgqr0z.js → chunk-afhnm3e4.js} +1 -1
- package/dist/cli/{chunk-mdwqpnde.js → chunk-ar3mt81z.js} +1 -1
- package/dist/cli/{chunk-0mr6cckm.js → chunk-b1hbcand.js} +1 -1
- package/dist/cli/{chunk-c8qjy6rx.js → chunk-b1zg5jnk.js} +1 -1
- package/dist/cli/{chunk-xb196wqg.js → chunk-bwxmrwb1.js} +1 -1
- package/dist/cli/{chunk-n3ewtd3b.js → chunk-bxg7y1qk.js} +5 -5
- package/dist/cli/{chunk-0m8javx8.js → chunk-c69xdgfz.js} +1 -1
- package/dist/cli/{chunk-qt77g0de.js → chunk-cxef4y2s.js} +1 -1
- package/dist/cli/{chunk-b4kt1vgx.js → chunk-cye56q32.js} +3 -3
- package/dist/cli/{chunk-3m6m1994.js → chunk-d9fx9282.js} +1 -1
- package/dist/cli/{chunk-jnt3nf6w.js → chunk-dce6ytw0.js} +3 -3
- package/dist/cli/{chunk-v8c4n8by.js → chunk-dxacz9ba.js} +1 -1
- package/dist/cli/{chunk-x7fmexjc.js → chunk-dxwmnww0.js} +1 -1
- package/dist/cli/{chunk-eae2x886.js → chunk-e3jddh9d.js} +1 -1
- package/dist/cli/{chunk-ypfrkpe9.js → chunk-ee5a0pka.js} +1 -1
- package/dist/cli/{chunk-cfpnv798.js → chunk-f9x0n7kr.js} +1 -1
- package/dist/cli/{chunk-4hdw0g4q.js → chunk-fd3gswsr.js} +1 -1
- package/dist/cli/{chunk-7xsactw5.js → chunk-fx2e7z2s.js} +1 -1
- package/dist/cli/{chunk-e288cp6w.js → chunk-g2yf429k.js} +1 -1
- package/dist/cli/{chunk-tv4mbxyj.js → chunk-g5sx5knm.js} +1 -1
- package/dist/cli/{chunk-hdg7zfcb.js → chunk-g6jregtt.js} +3 -3
- package/dist/cli/{chunk-d4zw1g83.js → chunk-gfdd2jbp.js} +1 -1
- package/dist/cli/{chunk-8ww1e4nk.js → chunk-gq7s8vp3.js} +1 -1
- package/dist/cli/chunk-gr0ffx3f.js +3 -0
- package/dist/cli/{chunk-mn6c0wkc.js → chunk-hcrpbx9x.js} +2 -2
- package/dist/cli/{chunk-mma7qne2.js → chunk-hptxcj03.js} +2 -2
- package/dist/cli/{chunk-23maf8ch.js → chunk-jadjn49m.js} +1 -1
- package/dist/cli/{chunk-betn5ma1.js → chunk-jfbfasx0.js} +2 -2
- package/dist/cli/{chunk-92hpkjkk.js → chunk-k1m1c0yc.js} +1 -1
- package/dist/cli/{chunk-ggj5ctkj.js → chunk-k5arcpfm.js} +1 -1
- package/dist/cli/{chunk-ktwc1sqw.js → chunk-k5pd6q0r.js} +1 -1
- package/dist/cli/{chunk-xehd2vx3.js → chunk-kd8j15cg.js} +1 -1
- package/dist/cli/{chunk-hszg99pb.js → chunk-kfr8dm31.js} +1 -1
- package/dist/cli/{chunk-8qkyd589.js → chunk-ks5g5ee2.js} +1 -1
- package/dist/cli/{chunk-mcq5ykax.js → chunk-mcbxrpwg.js} +6 -6
- package/dist/cli/{chunk-9jjs5wev.js → chunk-mdebknyq.js} +1 -1
- package/dist/cli/{chunk-8hk78wty.js → chunk-mejxvvzb.js} +1 -1
- package/dist/cli/{chunk-429zca0e.js → chunk-mhft316g.js} +1 -1
- package/dist/cli/{chunk-rvew27yy.js → chunk-mt0mh96t.js} +1 -1
- package/dist/cli/{chunk-f0bzvv0q.js → chunk-nka82csc.js} +1 -1
- package/dist/cli/{chunk-anabgqs3.js → chunk-nn130cde.js} +1 -1
- package/dist/cli/{chunk-9vnbp5db.js → chunk-nzf76wa4.js} +2 -2
- package/dist/cli/{chunk-1djv9khj.js → chunk-p4aqy3sm.js} +1 -1
- package/dist/cli/chunk-p5pebhe6.js +150 -0
- package/dist/cli/{chunk-6aysj339.js → chunk-pmwk2etg.js} +1 -1
- package/dist/cli/chunk-pzy7fe5e.js +3 -0
- package/dist/cli/{chunk-td6rb53y.js → chunk-q23gw6np.js} +1 -1
- package/dist/cli/{chunk-hgtf6yvg.js → chunk-q2r4qavc.js} +10 -5
- package/dist/cli/{chunk-rjfdzjhj.js → chunk-q89yrevw.js} +1 -1
- package/dist/cli/{chunk-k77ysa7w.js → chunk-r0qhywyp.js} +1 -1
- package/dist/cli/{chunk-q012n1t1.js → chunk-r4bwm4zh.js} +1 -1
- package/dist/cli/{chunk-29kvfqeh.js → chunk-rsdykw6f.js} +1 -1
- package/dist/cli/{chunk-p280v5bb.js → chunk-s61xd58f.js} +1 -1
- package/dist/cli/{chunk-mv229800.js → chunk-s7ttzm9a.js} +1 -1
- package/dist/cli/{chunk-05j2rkz6.js → chunk-s88gxrtj.js} +1 -1
- package/dist/cli/{chunk-g4p5znv1.js → chunk-sfrsqpvn.js} +1 -1
- package/dist/cli/chunk-sttpyf2b.js +2 -0
- package/dist/cli/{chunk-6hcyvg0m.js → chunk-tay29xzx.js} +1 -1
- package/dist/cli/{chunk-ydaj339x.js → chunk-tckyb2xt.js} +1 -1
- package/dist/cli/{chunk-eznnpst5.js → chunk-tjh04p1x.js} +1 -1
- package/dist/cli/{chunk-00txqp68.js → chunk-tpc0002n.js} +1 -1
- package/dist/cli/{chunk-00hk6baa.js → chunk-trw076nv.js} +1 -1
- package/dist/cli/{chunk-8kspedny.js → chunk-v883qbhk.js} +1 -1
- package/dist/cli/{chunk-r7tbzgt7.js → chunk-v8kksfg2.js} +1 -1
- package/dist/cli/{chunk-qx6d4bbb.js → chunk-vbyjsx29.js} +1 -1
- package/dist/cli/{chunk-7bakcyes.js → chunk-ve2jj5qv.js} +1 -1
- package/dist/cli/{chunk-82396cad.js → chunk-w1rgfjkp.js} +1 -1
- package/dist/cli/{chunk-4xg2z7td.js → chunk-wcq8k0j6.js} +1 -1
- package/dist/cli/{chunk-w4b9nc3w.js → chunk-x5swq8ar.js} +1 -1
- package/dist/cli/chunk-xdqj48wx.js +5 -0
- package/dist/cli/{chunk-5x9j58xk.js → chunk-xj8bma5k.js} +1 -1
- package/dist/cli/{chunk-3dykyxev.js → chunk-y57tnbwp.js} +1 -1
- package/dist/cli/{chunk-jn8fkzm7.js → chunk-yz859e8t.js} +1 -1
- package/dist/cli/{chunk-tp9f2as8.js → chunk-z16wb344.js} +1 -1
- package/dist/cli/{chunk-f7a84zv4.js → chunk-zw9w8wbk.js} +7 -7
- package/dist/cli/index.js +3 -3
- package/dist/cli/pty-host-node.mjs +18 -1
- package/dist/cli/rove.js +6 -6
- package/dist/skills/rove/SKILL.md +6 -1
- package/dist/skills/rove/references/api-flags.md +1 -1
- package/dist/web/assets/index-Cd9SayTz.js +63 -0
- package/dist/web/assets/index-JwS03jgI.css +1 -0
- package/dist/web/assets/term-mount-BrP-ENHg.css +1 -0
- package/dist/web/assets/term-mount-aQMkgSR7.js +93 -0
- package/dist/web/index.html +2 -2
- package/dist/web/relay/index.html +5 -5
- package/package.json +6 -4
- package/dist/cli/chunk-231mqmk5.js +0 -2
- package/dist/cli/chunk-b4egks20.js +0 -7
- package/dist/cli/chunk-bqecpzgk.js +0 -3
- package/dist/cli/chunk-cz3zsqc4.js +0 -142
- package/dist/cli/chunk-eyaaaprw.js +0 -4
- package/dist/cli/chunk-hz1x3hak.js +0 -3
- package/dist/cli/chunk-jxqhq9va.js +0 -3
- package/dist/cli/chunk-qtx79czn.js +0 -2
- package/dist/web/assets/index-Bo92_NP5.css +0 -1
- package/dist/web/assets/index-x0Oc_y1m.js +0 -154
package/dist/cli/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
// @bun
|
|
3
|
-
import{isPathLikeArg}from"./chunk-
|
|
4
|
-
`)}var bridge=()=>import("./chunk-
|
|
3
|
+
import{isPathLikeArg}from"./chunk-mt0mh96t.js";import{matchPathGlob}from"./chunk-kg11c1py.js";import{CURRENT_VERSION}from"./chunk-pzy7fe5e.js";import{switchFlag}from"./chunk-zsfyj36g.js";import{expandTilde}from"./chunk-2r1fgng9.js";import{errorMessage}from"./chunk-2brn8e1y.js";import{rejectionReason}from"./chunk-7mwvvj46.js";import{BUILTIN_VENDORS,coerceVendorId,isBuiltinVendor}from"./chunk-h2m7em1e.js";import"./chunk-z1nj22va.js";import{ROVE_PRODUCT_NAME}from"./chunk-zt7wfnva.js";import"./chunk-pn5ygqn6.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-hptxcj03.js");await runCompletionsSubcommand(args)}],["export",async(args)=>{let{runExportSubcommand}=await import("./chunk-abate6bw.js");await runExportSubcommand(args)}],["repo",async(args)=>{let{runRepoSubcommand}=await import("./chunk-xs6w6ekc.js");await runRepoSubcommand(args)}],["api",async(args)=>{let{runApiSubcommand}=await import("./chunk-s61xd58f.js");await runApiSubcommand(args)}],["update",async(args)=>{let{runUpdateSubcommand}=await import("./chunk-hcrpbx9x.js");await runUpdateSubcommand(args)}],["theme",async(args)=>{let{runThemeSubcommand}=await import("./chunk-d9x7zeh7.js");await runThemeSubcommand(args)}],["feedback",async(args)=>{let{runFeedbackSubcommand}=await import("./chunk-wcq8k0j6.js");await runFeedbackSubcommand(args)}],["daemon",async(args)=>{let{runDaemonSubcommand}=await import("./chunk-1kxnpa9w.js");await runDaemonSubcommand(args)}],["machine",async(args)=>{let{runMachineSubcommand}=await import("./chunk-cye56q32.js");await runMachineSubcommand(args)}],["weixin",async(args)=>{let{runChannelCli}=await import("./chunk-kfr8dm31.js");await runChannelCli("weixin",args)}],["doctor",async(args)=>{let{runDoctorSubcommand}=await import("./chunk-37pwx1a7.js");await runDoctorSubcommand(args)}],["config",async(args)=>{let{runConfigSubcommand}=await import("./chunk-53pn0a9z.js");await runConfigSubcommand(args)}],["reset",async(args)=>{let{runResetSubcommand}=await import("./chunk-28mm4k8b.js");await runResetSubcommand(args)}],["pty-host",async(args)=>{let{runPtyHostSubcommand}=await import("./chunk-r0qhywyp.js");await runPtyHostSubcommand(args)}],["skill",async(args)=>{let{runSkillSubcommand}=await import("./chunk-bwxmrwb1.js");await runSkillSubcommand(args)}],["plugin",async(args)=>{let{runPluginSubcommand}=await import("./chunk-g6jregtt.js");await runPluginSubcommand(args)}],["hook",async(args)=>{let{runHookSubcommand}=await import("./chunk-tjh04p1x.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-k5arcpfm.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
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-nf1gqqv8.js");await runAddRemote(rest.slice(1));return}if(arg?.startsWith("-"))process.stderr.write(`${CLI_NAME} add: unknown flag "${arg}"
|
|
6
6
|
|
|
7
7
|
${ADD_USAGE}`),process.exit(2);let target=resolve(process.cwd(),expandTilde(arg&&arg.length>0?arg:".")),{addSavedRepo}=await import("./chunk-an97ga8b.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}).
|
|
@@ -23,4 +23,4 @@ ${ADOPT_USAGE}
|
|
|
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-sttpyf2b.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-bwxmrwb1.js");await runSkillSubcommand(["print"]);return}if(subcommand==="--web"){let{runWebSubcommand}=await import("./chunk-tpc0002n.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-e3jddh9d.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-gq7s8vp3.js");await launchTui()}var cliDone=main().catch(async(err)=>{let{formatCliFailure}=await import("./chunk-991x8tw6.js");console.error(formatCliFailure(err,{cliName:CLI_NAME,argv:process.argv,cwd:process.cwd(),env:process.env})),process.exit(1)});export{cliDone};
|
|
@@ -2683,6 +2683,7 @@ class RoveDaemonClient {
|
|
|
2683
2683
|
lifecycleHandlers = new Map;
|
|
2684
2684
|
connecting = null;
|
|
2685
2685
|
disposed = false;
|
|
2686
|
+
taskListInflight = null;
|
|
2686
2687
|
constructor(socketPath) {
|
|
2687
2688
|
this.socketPath = socketPath;
|
|
2688
2689
|
}
|
|
@@ -2771,7 +2772,23 @@ class RoveDaemonClient {
|
|
|
2771
2772
|
this.lifecycleHandlers.delete(name);
|
|
2772
2773
|
};
|
|
2773
2774
|
}
|
|
2774
|
-
|
|
2775
|
+
request(name, payload) {
|
|
2776
|
+
if (name !== "task.list") {
|
|
2777
|
+
this.taskListInflight = null;
|
|
2778
|
+
return this.send(name, payload);
|
|
2779
|
+
}
|
|
2780
|
+
if (!this.taskListInflight) {
|
|
2781
|
+
const p = this.send(name, payload);
|
|
2782
|
+
this.taskListInflight = p;
|
|
2783
|
+
const clear = () => {
|
|
2784
|
+
if (this.taskListInflight === p)
|
|
2785
|
+
this.taskListInflight = null;
|
|
2786
|
+
};
|
|
2787
|
+
p.then(clear, clear);
|
|
2788
|
+
}
|
|
2789
|
+
return this.taskListInflight;
|
|
2790
|
+
}
|
|
2791
|
+
async send(name, payload) {
|
|
2775
2792
|
await this.connect();
|
|
2776
2793
|
const socket = this.socket;
|
|
2777
2794
|
if (!socket)
|
package/dist/cli/rove.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{join as
|
|
3
|
-
`)[0]?.trim()??""};function
|
|
4
|
-
`)}function
|
|
5
|
-
`)}function
|
|
6
|
-
`)}function
|
|
7
|
-
`),1;return
|
|
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 J}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 q}from"node:url";var C={$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","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 G="rove";var k=G;var e="ROVE_BUN",_="ROVE_NO_BUN_BOOTSTRAP",v="ROVE_SKIP_BUN_CHECK",z=C.engines.bun.match(/\d+\.\d+\.\d+/)?.[0]??"0.0.0",A=(t)=>{try{return P(t,O.X_OK),!0}catch{return!1}},B=(t)=>t==="win32"?"bun.exe":"bun",f=(t)=>{let s=J(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 Q(t,s=z){let c=$(t),b=$(s);if(!c||!b)return!0;let i=c.split(".").map(Number),g=b.split(".").map(Number);for(let W=0;W<3;W++){let x=i[W]??0,r=g[W]??0;if(x!==r)return x>r}return!0}function X(t=process.env){return t[v]==="1"}function K(t={}){let s=t.env??process.env,c=t.platform??process.platform,b=t.home??s.HOME??s.USERPROFILE??V(),i=B(c),g=[],W=s[e]?.trim();if(W)g.push(W);for(let j of(s.PATH??s.Path??"").split(I))if(j)g.push(y(j,i));let x=s.BUN_INSTALL?.trim();if(x)g.push(y(x,"bin",i));if(b)g.push(y(b,".bun","bin",i));let r=t.launcherDir;if(r)g.push(y(r,"..","..","node_modules","bun","bin",i)),g.push(y(r,"..","..","..","bun","bin",i));return g}function N(t={}){let s=t.isExecutable??A;return K(t).find((c)=>s(c))??null}function Y(t={}){let s=t.isExecutable??A,c=t.bunVersionOf??f;if(X(t.env??process.env))return{bun:N(t),stale:null,unusable:null};let b=null,i=null;for(let g of K(t)){if(!s(g))continue;let W=c(g);if(W===null){i??=g;continue}if(Q(W))return{bun:g,stale:b,unusable:i};b??={path:g,version:$(W)??W}}return{bun:null,stale:b,unusable:i}}function T(t){return U(q(t))}function d(t){return R(q(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 F(t=k,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: ${e}=/path/to/bun`,""].join(`
|
|
4
|
+
`)}function Z(t,s,c=k){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: ${e}=/path/to/bun`,`Run on this one anyway (unsupported, terminals will be blank): ${v}=1`,""].join(`
|
|
5
|
+
`)}function L(t,s=k){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: ${e}=/path/to/bun`,""].join(`
|
|
6
|
+
`)}function h(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 D(t={},s=J){let c=t.platform??process.platform,[b,...i]=n(c);if(!b)return null;let g=s(b,i,{stdio:"inherit"});if(g.error||g.status!==0)return null;return Y(t).bun}function l(t){if(typeof t.status==="number")return t.status;if(t.signal)return 128+(Object.hasOwn(H,t.signal)?H[t.signal]:0);return 1}var H={SIGINT:2,SIGQUIT:3,SIGKILL:9,SIGTERM:15};function o(t,s,c,b=J){let i=b(t,[s,...c],{stdio:"inherit"});if(i.error)return process.stderr.write(`rove: could not start Bun at ${t}: ${i.error.message}. Check that this path is executable, or reinstall Bun from https://bun.sh.
|
|
7
|
+
`),1;return l(i)}var M=T(import.meta.url),p=d(import.meta.url),m=u(M,`${p}-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=Y(t);if(s.bun||!h())return s;let c=s.stale?`${p}: Bun ${s.stale.version} is too old for Rove (needs ${z}+). Install the latest Bun now? [Y/n] `:`${p}: Rove runs on the Bun runtime, and none is installed. Install Bun now? [Y/n] `;if(!await st(c))return s;return{bun:D(t),stale:s.stale,unusable:s.unusable}}var w=globalThis.Bun;if(w){let t=w.version;if(t&&!X()&&!Q(t))process.stderr.write(Z(process.execPath,t,p)),process.exit(1);await import(tt(m).href)}else{let{bun:t,stale:s,unusable:c}=await ct();if(!t){let b=s?Z(s.path,s.version,p):c?L(c,p):F(p);process.stderr.write(b),process.exit(1)}process.exit(o(t,m,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: 111 — bump in lockstep with ROVE_SKILL_VERSION (src/lib/skill-install.ts). -->
|
|
7
7
|
|
|
8
8
|
# Rove shell control
|
|
9
9
|
|
|
@@ -108,6 +108,11 @@ top-level task. `--no-parent` is the unrelated top-level task cut from the repo
|
|
|
108
108
|
default, `--parent ID` nests under another task, and a bare `send` from the
|
|
109
109
|
child reports back to you.
|
|
110
110
|
|
|
111
|
+
Only need a separate checkout to edit in yourself? `add --repo "$PWD"
|
|
112
|
+
--worktree-only` cuts the worktree (`worktreePath` in the reply) and starts no
|
|
113
|
+
engine. It is not a session, so nothing lists it under you until you `send` it
|
|
114
|
+
work. Delete it when you are done.
|
|
115
|
+
|
|
111
116
|
The distinction that decides every routing call: **a shared child uses the
|
|
112
117
|
parent's worktree and branch; only a new task (`add`) gets its own.**
|
|
113
118
|
Two conversations in one directory edit the same files, so they can collide —
|
|
@@ -256,7 +256,7 @@ add --repo(REQ) --clone --fork --workspace{layerfs} --allow-fork --pa
|
|
|
256
256
|
--tier{swift|standard|deep|auto} --model --count
|
|
257
257
|
--agents <claude:2,codex:1>
|
|
258
258
|
--status{backlog|in_progress|in_review|done|canceled|error}(backlog) --pin
|
|
259
|
-
--require-report --expect-report --activate(false) --start
|
|
259
|
+
--require-report --expect-report --activate(false) --worktree-only --start
|
|
260
260
|
--prompt|--prompt-file
|
|
261
261
|
update --task-id --title --tab --branch --parent --project --group --command
|
|
262
262
|
--model --effort --pinned --kept --require-report{on|off}
|