@sma1lboy/rove 0.9.284 → 0.9.285-next.142

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.
Files changed (57) hide show
  1. package/dist/cli/{chunk-9abjqcy4.js → chunk-0ajwx8w9.js} +1 -1
  2. package/dist/cli/{chunk-shh1bd3p.js → chunk-0favxr37.js} +1 -1
  3. package/dist/cli/{chunk-hjzqh88d.js → chunk-0hkfpyq0.js} +1 -1
  4. package/dist/cli/{chunk-etg75xy6.js → chunk-0qfsdrt3.js} +1 -1
  5. package/dist/cli/{chunk-01wbectx.js → chunk-19q6ffjw.js} +1 -1
  6. package/dist/cli/{chunk-9y17mj2r.js → chunk-1p018kd0.js} +1 -1
  7. package/dist/cli/{chunk-e1c6909n.js → chunk-24r8jc2b.js} +1 -1
  8. package/dist/cli/{chunk-cxahd0zj.js → chunk-3s3649ms.js} +1 -1
  9. package/dist/cli/{chunk-echzgqd5.js → chunk-4etnjq9e.js} +1 -1
  10. package/dist/cli/{chunk-0f8xtb77.js → chunk-63crhc21.js} +1 -1
  11. package/dist/cli/{chunk-gpq30qgy.js → chunk-68jh6yq8.js} +1 -1
  12. package/dist/cli/{chunk-6nsjckc5.js → chunk-720mpwwc.js} +1 -1
  13. package/dist/cli/{chunk-ny18mmqj.js → chunk-7dj9x7qw.js} +1 -1
  14. package/dist/cli/{chunk-8d4v27ez.js → chunk-8enky102.js} +1 -1
  15. package/dist/cli/{chunk-93b4b7ts.js → chunk-8h3gp561.js} +1 -1
  16. package/dist/cli/{chunk-sq5dw681.js → chunk-9edys6wy.js} +2 -2
  17. package/dist/cli/{chunk-qwwc0d6h.js → chunk-ayvhqd2v.js} +1 -1
  18. package/dist/cli/{chunk-nhs8gm2m.js → chunk-bpa9gps7.js} +1 -1
  19. package/dist/cli/{chunk-fwd6gv40.js → chunk-c72cqg75.js} +1 -1
  20. package/dist/cli/{chunk-zac4hy4g.js → chunk-cxygp5my.js} +1 -1
  21. package/dist/cli/{chunk-a8qk40hc.js → chunk-d34sf19g.js} +1 -1
  22. package/dist/cli/{chunk-00g7e2jr.js → chunk-d8cw1fn4.js} +1 -1
  23. package/dist/cli/chunk-dzhk9yd0.js +2 -0
  24. package/dist/cli/{chunk-weyrjr2w.js → chunk-e842y768.js} +1 -1
  25. package/dist/cli/{chunk-40h8mkb4.js → chunk-evm4j3v1.js} +3 -3
  26. package/dist/cli/{chunk-atcjasr4.js → chunk-f1eqjc26.js} +1 -1
  27. package/dist/cli/{chunk-5c2syc7e.js → chunk-f8e0wysa.js} +1 -1
  28. package/dist/cli/{chunk-0w4gvvsh.js → chunk-g0839p7g.js} +1 -1
  29. package/dist/cli/{chunk-yzbh3j41.js → chunk-hb4m3s0p.js} +1 -1
  30. package/dist/cli/{chunk-syhtgjtw.js → chunk-hb584qaw.js} +1 -1
  31. package/dist/cli/{chunk-z6t0rmg1.js → chunk-hedsewq1.js} +1 -1
  32. package/dist/cli/{chunk-8dgw6hjt.js → chunk-hm9a62tc.js} +1 -1
  33. package/dist/cli/{chunk-cqsdx4mc.js → chunk-jckws33r.js} +1 -1
  34. package/dist/cli/{chunk-yb75pw36.js → chunk-jg9kxn6e.js} +1 -1
  35. package/dist/cli/{chunk-t183jy5m.js → chunk-jk2awhtm.js} +1 -1
  36. package/dist/cli/{chunk-fxqgvjtt.js → chunk-m30fgbzv.js} +1 -1
  37. package/dist/cli/{chunk-pkj7c1w5.js → chunk-merjyptt.js} +2 -2
  38. package/dist/cli/{chunk-gxav744w.js → chunk-mrpb2fhe.js} +1 -1
  39. package/dist/cli/{chunk-3y7w8gp2.js → chunk-nd5ba0sw.js} +1 -1
  40. package/dist/cli/{chunk-s30f8s4d.js → chunk-nqe0c8cp.js} +1 -1
  41. package/dist/cli/{chunk-x652sy0y.js → chunk-nx0ycy33.js} +1 -1
  42. package/dist/cli/{chunk-h04y99se.js → chunk-pn4scyx8.js} +1 -1
  43. package/dist/cli/{chunk-gqqtkwkq.js → chunk-r46879ca.js} +1 -1
  44. package/dist/cli/{chunk-xr117xs9.js → chunk-sddyw966.js} +1 -1
  45. package/dist/cli/{chunk-mh16z4wf.js → chunk-smhvc1zc.js} +1 -1
  46. package/dist/cli/{chunk-eyxhs26n.js → chunk-t1dqt19q.js} +1 -1
  47. package/dist/cli/{chunk-rta3qy89.js → chunk-ttvp4svg.js} +1 -1
  48. package/dist/cli/{chunk-ebb8z47a.js → chunk-w0penpjr.js} +1 -1
  49. package/dist/cli/{chunk-av8kmpkg.js → chunk-w9ecr7ds.js} +1 -1
  50. package/dist/cli/{chunk-gjzx00kw.js → chunk-x6bwems0.js} +1 -1
  51. package/dist/cli/{chunk-1rs3dmwz.js → chunk-x770kw49.js} +1 -1
  52. package/dist/cli/{chunk-t3k8cckz.js → chunk-y4edbg6p.js} +3 -3
  53. package/dist/cli/{chunk-4khwsrwk.js → chunk-y72frdfd.js} +1 -1
  54. package/dist/cli/{chunk-3hx7tz2y.js → chunk-ygsq039z.js} +1 -1
  55. package/dist/cli/index.js +3 -3
  56. package/package.json +1 -1
  57. package/dist/cli/chunk-2tfnscxk.js +0 -2
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{activityHookAdapters}from"./chunk-6nsjckc5.js";import{readFileSync}from"fs";function hookConfigIssues(){let issues=[];for(let adapter of activityHookAdapters()){if(!adapter.hookConfigRefusal)continue;let file=adapter.globalSettingsPath();if(!file)continue;let raw;try{raw=readFileSync(file,"utf8")}catch{continue}let reason=adapter.hookConfigRefusal(raw);if(reason)issues.push({file,reason})}return issues}
2
+ import{activityHookAdapters}from"./chunk-720mpwwc.js";import{readFileSync}from"fs";function hookConfigIssues(){let issues=[];for(let adapter of activityHookAdapters()){if(!adapter.hookConfigRefusal)continue;let file=adapter.globalSettingsPath();if(!file)continue;let raw;try{raw=readFileSync(file,"utf8")}catch{continue}let reason=adapter.hookConfigRefusal(raw);if(reason)issues.push({file,reason})}return issues}
3
3
  export{hookConfigIssues};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{defaultFixRuntime}from"./chunk-mhxnek0b.js";import{INBOUND_CLASSES,deniedClasses,setInbound}from"./chunk-9abjqcy4.js";import"./chunk-t3k8cckz.js";import"./chunk-syhtgjtw.js";import"./chunk-j1rsp5pc.js";import"./chunk-ca5fmepn.js";import"./chunk-wgyfwry1.js";import"./chunk-fxqgvjtt.js";import"./chunk-9wd57t3j.js";import"./chunk-pm91e38v.js";import"./chunk-2xsxcdp6.js";import"./chunk-17e2tgyg.js";import"./chunk-qq1q07tz.js";import"./chunk-q8ffd1pc.js";import"./chunk-4hestsjp.js";import"./chunk-qgrg9a5n.js";import"./chunk-2bgmby1d.js";import"./chunk-1k7f137x.js";import"./chunk-5mhvjytn.js";import"./chunk-atn06ncf.js";import"./chunk-w6xcf0z2.js";import{primaryCheckouts,repoIdOf,repoIdentity,setPrimaryCheckout}from"./chunk-av8kmpkg.js";import{addMachine,defaultMachineAlias,discoverMachine,duplicateAliasOf,getMachine,isValidMachineAlias,isWindowsMachine,learnedFrom,listMachines,machineSocketDir,machineSshArgs,parseSshTarget,readMachines,remoteRove,removeMachine,sanitizeAlias,setMachineIdentity,sshServerIsWindows,sshTargetOf,updateMachine,windowsAuthorizeKeySteps}from"./chunk-mdfm45fx.js";import"./chunk-vp29jgbt.js";import"./chunk-gq36nzg8.js";import"./chunk-sq6zj3fb.js";import"./chunk-qkehg2c1.js";import"./chunk-hk0zbk3t.js";import"./chunk-t7j8g9f6.js";import"./chunk-dmzg9zdc.js";import"./chunk-kg9kmwt9.js";import"./chunk-6xppe9bj.js";import{CURRENT_VERSION}from"./chunk-ss624a37.js";import{SUBCOMMAND_VERBS}from"./chunk-nbcm8d58.js";import"./chunk-weyrjr2w.js";import"./chunk-0f8xtb77.js";import"./chunk-h37tqrdb.js";import"./chunk-w77s2df8.js";import"./chunk-mqfvzdpr.js";import"./chunk-t3mmb312.js";import"./chunk-rxqdw6s5.js";import"./chunk-8ng1756g.js";import"./chunk-kxp04jnp.js";import"./chunk-yzbh3j41.js";import"./chunk-z6t0rmg1.js";import"./chunk-5c2syc7e.js";import"./chunk-r5j8fycq.js";import"./chunk-xfgqae9t.js";import"./chunk-j1z9kgyd.js";import"./chunk-g9ba25q5.js";import"./chunk-ntqg38ke.js";import"./chunk-hpay0ax8.js";import"./chunk-catrr0z3.js";import"./chunk-mdc7b01e.js";import"./chunk-tn9gtf18.js";import"./chunk-z46zwmyq.js";import"./chunk-sak1tphp.js";import{shQuote}from"./chunk-y1xnjx8x.js";import"./chunk-e5crm07d.js";import"./chunk-gca19v0w.js";import"./chunk-9y803nx4.js";import"./chunk-qq2mjph2.js";import"./chunk-96kvwzj8.js";import"./chunk-etfh8f4z.js";import{argvHasFlag}from"./chunk-zsfyj36g.js";import"./chunk-jrzh4yv6.js";import"./chunk-jkjr3r0h.js";import"./chunk-2qpvh98z.js";import"./chunk-cmp64q4j.js";import"./chunk-ebb8z47a.js";import"./chunk-6nsjckc5.js";import"./chunk-2tfnscxk.js";import"./chunk-f050r8jy.js";import"./chunk-w7zv47mp.js";import"./chunk-rja9tf6j.js";import"./chunk-40dgv828.js";import"./chunk-2brn8e1y.js";import"./chunk-rz8319pe.js";import{loadStateFile}from"./chunk-32j6y5d1.js";import"./chunk-0ppfr3vm.js";import"./chunk-x02jmqj1.js";import"./chunk-7kysxgbq.js";import"./chunk-f6qne8f1.js";import"./chunk-jzsngv31.js";import"./chunk-0g4wc808.js";import"./chunk-xy8be792.js";import"./chunk-h2m7em1e.js";import"./chunk-pn5ygqn6.js";import"./chunk-7ghwdjdc.js";import"./chunk-8t7qbr1e.js";import"./chunk-bejhca6z.js";import"./chunk-br8r72bf.js";import"./chunk-yt15y085.js";import"./chunk-eqdbfgq5.js";import{homeDir}from"./chunk-z1nj22va.js";import{ROVE_PRODUCT_NAME}from"./chunk-zt7wfnva.js";import"./chunk-f8gg8cqh.js";import"./chunk-nc46gddg.js";import"./chunk-pxk2c2vj.js";import{__require}from"./chunk-91sykzqq.js";import{spawn}from"child_process";import{appendFileSync,chmodSync,existsSync,mkdirSync}from"fs";import{homedir}from"os";import{dirname}from"path";function parseSshG(stdout,home=homedir()){let values=new Map;for(let line of stdout.split(`
2
+ import{defaultFixRuntime}from"./chunk-mhxnek0b.js";import{INBOUND_CLASSES,deniedClasses,setInbound}from"./chunk-0ajwx8w9.js";import"./chunk-y4edbg6p.js";import"./chunk-hb584qaw.js";import"./chunk-j1rsp5pc.js";import"./chunk-ca5fmepn.js";import"./chunk-wgyfwry1.js";import"./chunk-m30fgbzv.js";import"./chunk-9wd57t3j.js";import"./chunk-pm91e38v.js";import"./chunk-2xsxcdp6.js";import"./chunk-17e2tgyg.js";import"./chunk-qq1q07tz.js";import"./chunk-q8ffd1pc.js";import"./chunk-4hestsjp.js";import"./chunk-qgrg9a5n.js";import"./chunk-2bgmby1d.js";import"./chunk-1k7f137x.js";import"./chunk-5mhvjytn.js";import"./chunk-atn06ncf.js";import"./chunk-w6xcf0z2.js";import{primaryCheckouts,repoIdOf,repoIdentity,setPrimaryCheckout}from"./chunk-w9ecr7ds.js";import{addMachine,defaultMachineAlias,discoverMachine,duplicateAliasOf,getMachine,isValidMachineAlias,isWindowsMachine,learnedFrom,listMachines,machineSocketDir,machineSshArgs,parseSshTarget,readMachines,remoteRove,removeMachine,sanitizeAlias,setMachineIdentity,sshServerIsWindows,sshTargetOf,updateMachine,windowsAuthorizeKeySteps}from"./chunk-mdfm45fx.js";import"./chunk-vp29jgbt.js";import"./chunk-gq36nzg8.js";import"./chunk-sq6zj3fb.js";import"./chunk-qkehg2c1.js";import"./chunk-hk0zbk3t.js";import"./chunk-t7j8g9f6.js";import"./chunk-dmzg9zdc.js";import"./chunk-kg9kmwt9.js";import"./chunk-6xppe9bj.js";import{CURRENT_VERSION}from"./chunk-ss624a37.js";import{SUBCOMMAND_VERBS}from"./chunk-nbcm8d58.js";import"./chunk-e842y768.js";import"./chunk-63crhc21.js";import"./chunk-h37tqrdb.js";import"./chunk-w77s2df8.js";import"./chunk-mqfvzdpr.js";import"./chunk-t3mmb312.js";import"./chunk-rxqdw6s5.js";import"./chunk-8ng1756g.js";import"./chunk-kxp04jnp.js";import"./chunk-hb4m3s0p.js";import"./chunk-hedsewq1.js";import"./chunk-f8e0wysa.js";import"./chunk-r5j8fycq.js";import"./chunk-xfgqae9t.js";import"./chunk-j1z9kgyd.js";import"./chunk-g9ba25q5.js";import"./chunk-ntqg38ke.js";import"./chunk-hpay0ax8.js";import"./chunk-catrr0z3.js";import"./chunk-mdc7b01e.js";import"./chunk-tn9gtf18.js";import"./chunk-z46zwmyq.js";import"./chunk-sak1tphp.js";import{shQuote}from"./chunk-y1xnjx8x.js";import"./chunk-e5crm07d.js";import"./chunk-gca19v0w.js";import"./chunk-9y803nx4.js";import"./chunk-qq2mjph2.js";import"./chunk-96kvwzj8.js";import"./chunk-etfh8f4z.js";import{argvHasFlag}from"./chunk-zsfyj36g.js";import"./chunk-jrzh4yv6.js";import"./chunk-jkjr3r0h.js";import"./chunk-2qpvh98z.js";import"./chunk-cmp64q4j.js";import"./chunk-w0penpjr.js";import"./chunk-720mpwwc.js";import"./chunk-dzhk9yd0.js";import"./chunk-f050r8jy.js";import"./chunk-w7zv47mp.js";import"./chunk-rja9tf6j.js";import"./chunk-40dgv828.js";import"./chunk-2brn8e1y.js";import"./chunk-rz8319pe.js";import{loadStateFile}from"./chunk-32j6y5d1.js";import"./chunk-0ppfr3vm.js";import"./chunk-x02jmqj1.js";import"./chunk-7kysxgbq.js";import"./chunk-f6qne8f1.js";import"./chunk-jzsngv31.js";import"./chunk-0g4wc808.js";import"./chunk-xy8be792.js";import"./chunk-h2m7em1e.js";import"./chunk-pn5ygqn6.js";import"./chunk-7ghwdjdc.js";import"./chunk-8t7qbr1e.js";import"./chunk-bejhca6z.js";import"./chunk-br8r72bf.js";import"./chunk-yt15y085.js";import"./chunk-eqdbfgq5.js";import{homeDir}from"./chunk-z1nj22va.js";import{ROVE_PRODUCT_NAME}from"./chunk-zt7wfnva.js";import"./chunk-f8gg8cqh.js";import"./chunk-nc46gddg.js";import"./chunk-pxk2c2vj.js";import{__require}from"./chunk-91sykzqq.js";import{spawn}from"child_process";import{appendFileSync,chmodSync,existsSync,mkdirSync}from"fs";import{homedir}from"os";import{dirname}from"path";function parseSshG(stdout,home=homedir()){let values=new Map;for(let line of stdout.split(`
3
3
  `)){let space=line.indexOf(" ");if(space>0)values.set(line.slice(0,space).toLowerCase(),line.slice(space+1).trim())}let hostname=values.get("hostname")??"",port=Number(values.get("port")??"22")||22,files=(key)=>(values.get(key)??"").split(/\s+/).filter((f)=>f&&f!=="none").map((f)=>f.startsWith("~/")?`${home}${f.slice(1)}`:f),alias=values.get("hostkeyalias"),proxy=(key)=>{let v=values.get(key);return v!==void 0&&v!=="none"};return{knownHostsName:alias&&alias!=="none"?alias:port===22?hostname:`[${hostname}]:${port}`,hostname,port,userKnownHosts:files("userknownhostsfile"),globalKnownHosts:files("globalknownhostsfile"),proxied:proxy("proxyjump")||proxy("proxycommand")}}async function checkHostKey(config){let target=sshTargetOf(config),resolved=await run(["ssh","-G",...config.port?["-p",String(config.port)]:[],target]);if(resolved.code!==0)return{state:"skipped",reason:"ssh -G failed"};let destination=parseSshG(resolved.stdout);if(!destination.hostname)return{state:"skipped",reason:"ssh -G named no host"};if(destination.proxied)return{state:"skipped",reason:"reached through a proxy"};for(let file of[...destination.userKnownHosts,...destination.globalKnownHosts]){if(!existsSync(file))continue;if((await run(["ssh-keygen","-F",destination.knownHostsName,"-f",file])).code===0)return{state:"known"}}let keys=(await run(["ssh-keyscan","-T","5","-p",String(destination.port),destination.hostname])).stdout.split(`
4
4
  `).filter((line)=>line.trim()&&!line.startsWith("#"));if(keys.length===0)return{state:"skipped",reason:"the host offered no key"};let named=keys.map((line)=>line.replace(/^\S+/,destination.knownHostsName)),fingerprints=(await run(["ssh-keygen","-l","-f","-"],`${named.join(`
5
5
  `)}
package/dist/cli/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bun
2
2
  // @bun
3
- import{isPathLikeArg}from"./chunk-3y7w8gp2.js";import{matchPathGlob}from"./chunk-kg11c1py.js";import{CURRENT_VERSION}from"./chunk-ss624a37.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-etg75xy6.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-a8qk40hc.js");await runApiSubcommand(args)}],["update",async(args)=>{let{runUpdateSubcommand}=await import("./chunk-b04cxnza.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-gbhmfgm1.js");await runFeedbackSubcommand(args)}],["daemon",async(args)=>{let{runDaemonSubcommand}=await import("./chunk-sq5dw681.js");await runDaemonSubcommand(args)}],["machine",async(args)=>{let{runMachineSubcommand}=await import("./chunk-3hx7tz2y.js");await runMachineSubcommand(args)}],["weixin",async(args)=>{let{runChannelCli}=await import("./chunk-zac4hy4g.js");await runChannelCli("weixin",args)}],["doctor",async(args)=>{let{runDoctorSubcommand}=await import("./chunk-93b4b7ts.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-04ae8rne.js");await runResetSubcommand(args)}],["pty-host",async(args)=>{let{runPtyHostSubcommand}=await import("./chunk-rgkfv2f9.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-xhd6m2dt.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-cqsdx4mc.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(`
3
+ import{isPathLikeArg}from"./chunk-nd5ba0sw.js";import{matchPathGlob}from"./chunk-kg11c1py.js";import{CURRENT_VERSION}from"./chunk-ss624a37.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-0qfsdrt3.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-d34sf19g.js");await runApiSubcommand(args)}],["update",async(args)=>{let{runUpdateSubcommand}=await import("./chunk-b04cxnza.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-gbhmfgm1.js");await runFeedbackSubcommand(args)}],["daemon",async(args)=>{let{runDaemonSubcommand}=await import("./chunk-9edys6wy.js");await runDaemonSubcommand(args)}],["machine",async(args)=>{let{runMachineSubcommand}=await import("./chunk-ygsq039z.js");await runMachineSubcommand(args)}],["weixin",async(args)=>{let{runChannelCli}=await import("./chunk-cxygp5my.js");await runChannelCli("weixin",args)}],["doctor",async(args)=>{let{runDoctorSubcommand}=await import("./chunk-8h3gp561.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-04ae8rne.js");await runResetSubcommand(args)}],["pty-host",async(args)=>{let{runPtyHostSubcommand}=await import("./chunk-rgkfv2f9.js");await runPtyHostSubcommand(args)}],["skill",async(args)=>{let{runSkillSubcommand}=await import("./chunk-jk2awhtm.js");await runSkillSubcommand(args)}],["plugin",async(args)=>{let{runPluginSubcommand}=await import("./chunk-xhd6m2dt.js");await runPluginSubcommand(args)}],["hook",async(args)=>{let{runHookSubcommand}=await import("./chunk-nx0ycy33.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-jckws33r.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-0xh1e21e.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-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}).
@@ -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-gyhc429r.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-cxahd0zj.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-s30f8s4d.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-qwwc0d6h.js");await launchTui()}var cliDone=main().catch(async(err)=>{let{formatCliFailure}=await import("./chunk-q6xd0kyj.js");console.error(formatCliFailure(err,{cliName:CLI_NAME,argv:process.argv,cwd:process.cwd(),env:process.env})),process.exit(1)});export{cliDone};
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-gyhc429r.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-jk2awhtm.js");await runSkillSubcommand(["print"]);return}if(subcommand==="--web"){let{runWebSubcommand}=await import("./chunk-3s3649ms.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-nqe0c8cp.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-ayvhqd2v.js");await launchTui()}var cliDone=main().catch(async(err)=>{let{formatCliFailure}=await import("./chunk-q6xd0kyj.js");console.error(formatCliFailure(err,{cliName:CLI_NAME,argv:process.argv,cwd:process.cwd(),env:process.env})),process.exit(1)});export{cliDone};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@sma1lboy/rove",
4
- "version": "0.9.284",
4
+ "version": "0.9.285-next.142",
5
5
  "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.",
6
6
  "keywords": [
7
7
  "terminal",
@@ -1,2 +0,0 @@
1
- // @bun
2
- import{spawn}from"child_process";function computeNextAllowedAt(startedAt,finishedAt,timedOut,cfg){if(timedOut)return startedAt+cfg.slowRetryMs;return finishedAt+Math.max(cfg.minIntervalMs,(finishedAt-startedAt)*5)}function shouldPoll(state,now){return!state.inFlight&&now>=state.nextAllowedAt}function applyJitter(delayMs,ratio,rand=Math.random){let r=Math.max(0,Math.min(1,ratio)),offset=(rand()*2-1)*delayMs*r;return Math.max(0,delayMs+offset)}function exponentialBackoff(baseMs,attempt,capMs){if(attempt<=0)return Math.min(baseMs,capMs);return Math.min(baseMs*2**attempt,capMs)}function maybeStartScheduledRun(state,cfg,run,onValue){let startedAt=Date.now();if(!shouldPoll(state,startedAt))return!1;state.inFlight=!0;let controller=new AbortController,timer=setTimeout(()=>controller.abort(),cfg.timeoutMs);return(async()=>{let value,ok=!1;try{value=await run(controller.signal),ok=!0}catch{}clearTimeout(timer);let timedOut=controller.signal.aborted;if(state.nextAllowedAt=computeNextAllowedAt(startedAt,Date.now(),timedOut,cfg),state.inFlight=!1,ok&&!timedOut)onValue(value)})(),!0}function decodeCapturedChunks(chunks){return Buffer.concat(chunks.map((c)=>typeof c==="string"?Buffer.from(c):c)).toString("utf8")}function spawnCapture(cmd,args,opts){return new Promise((resolve)=>{let chunks=[],errChunks=[],settled=!1,finish=(status)=>{if(settled)return;settled=!0,resolve({status,stdout:decodeCapturedChunks(chunks),stderr:decodeCapturedChunks(errChunks)})},child=spawn(cmd,args.slice(),{cwd:opts.cwd,stdio:["ignore","pipe","pipe"],env:opts.env,signal:opts.signal,killSignal:"SIGKILL"});child.stdout?.on("data",(chunk)=>{chunks.push(chunk)}),child.stderr?.on("data",(chunk)=>{errChunks.push(chunk)}),child.on("error",()=>finish(null)),child.on("close",(code)=>finish(code))})}export{applyJitter,exponentialBackoff,maybeStartScheduledRun,decodeCapturedChunks,spawnCapture};