@sma1lboy/rove 0.9.277-next.2 → 0.9.277-next.4
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-671ak750.js → chunk-0t6j1skp.js} +1 -1
- package/dist/cli/{chunk-n94vzkbe.js → chunk-1cyeyw6g.js} +1 -1
- package/dist/cli/{chunk-vwpf55cr.js → chunk-2569f2kc.js} +2 -2
- package/dist/cli/{chunk-j1qy79fd.js → chunk-2drde6sc.js} +1 -1
- package/dist/cli/{chunk-vpsarakj.js → chunk-4xr4pv54.js} +1 -1
- package/dist/cli/{chunk-z3qz6enf.js → chunk-6cfs0nqe.js} +1 -1
- package/dist/cli/{chunk-d552cvb2.js → chunk-73zg0mrb.js} +1 -1
- package/dist/cli/{chunk-rmsdybs3.js → chunk-7ks7rrnr.js} +2 -2
- package/dist/cli/{chunk-ys6v36ph.js → chunk-8j3b5m5h.js} +1 -1
- package/dist/cli/{chunk-fgtc1xq9.js → chunk-8jn2axtz.js} +1 -1
- package/dist/cli/{chunk-mxx0y791.js → chunk-9s7q3432.js} +1 -1
- package/dist/cli/{chunk-gbd5j3dv.js → chunk-aefvcbng.js} +1 -1
- package/dist/cli/{chunk-3y0z478f.js → chunk-am5cpb9n.js} +1 -1
- package/dist/cli/{chunk-37fas9aj.js → chunk-byh66pd6.js} +1 -1
- package/dist/cli/{chunk-pqr6td4z.js → chunk-cgmqnhjn.js} +1 -1
- package/dist/cli/{chunk-9x2xd1rz.js → chunk-ck9jdarp.js} +1 -1
- package/dist/cli/{chunk-tw9tfs1d.js → chunk-d6j2d6fk.js} +1 -1
- package/dist/cli/{chunk-0rvydb9q.js → chunk-e04pp8f5.js} +1 -1
- package/dist/cli/{chunk-3dhv5n19.js → chunk-exp78r1c.js} +1 -1
- package/dist/cli/{chunk-cf3vpsm5.js → chunk-f7egph8g.js} +1 -1
- package/dist/cli/{chunk-jejmt4k0.js → chunk-hdzsswee.js} +3 -3
- package/dist/cli/{chunk-kag7cfbr.js → chunk-hzvb6xsd.js} +1 -1
- package/dist/cli/{chunk-j9tsdn1d.js → chunk-j30488hn.js} +1 -1
- package/dist/cli/{chunk-rztqccs3.js → chunk-jgkdxj5f.js} +1 -1
- package/dist/cli/{chunk-748656h7.js → chunk-k2j2tjvd.js} +2 -2
- package/dist/cli/{chunk-ta1p2nwa.js → chunk-k9jhy3yx.js} +1 -1
- package/dist/cli/{chunk-zpwvjt14.js → chunk-kgpj4k4z.js} +1 -1
- package/dist/cli/chunk-m98jd1fz.js +3 -0
- package/dist/cli/{chunk-shtm72c0.js → chunk-mcxvazp4.js} +1 -1
- package/dist/cli/{chunk-vkv1v3xn.js → chunk-nhd4y1dw.js} +2 -2
- package/dist/cli/{chunk-yzdrhytj.js → chunk-np398f2a.js} +1 -1
- package/dist/cli/{chunk-mjyhy152.js → chunk-nqwza8b0.js} +1 -1
- package/dist/cli/{chunk-ca4x8s96.js → chunk-nv6dz5wy.js} +2 -2
- package/dist/cli/{chunk-2vph030z.js → chunk-nvcq93bp.js} +1 -1
- package/dist/cli/{chunk-36eyrv4r.js → chunk-p7v3w8ys.js} +1 -1
- package/dist/cli/{chunk-6wfhq8xd.js → chunk-qwwt4ch2.js} +1 -1
- package/dist/cli/{chunk-g9xknhjq.js → chunk-sh37tm44.js} +1 -1
- package/dist/cli/{chunk-nw092jak.js → chunk-t2p22ww7.js} +1 -1
- package/dist/cli/{chunk-9fdy8vne.js → chunk-t99295wq.js} +1 -1
- package/dist/cli/{chunk-5yh5trgy.js → chunk-v4bax7cf.js} +1 -1
- package/dist/cli/{chunk-wzss4pzh.js → chunk-ve76p2mx.js} +1 -1
- package/dist/cli/{chunk-bykqhbvy.js → chunk-vwmwmycs.js} +1 -1
- package/dist/cli/{chunk-zrf93zrx.js → chunk-w2tcb3rn.js} +1 -1
- package/dist/cli/{chunk-rjy900p4.js → chunk-wac6eaxn.js} +1 -1
- package/dist/cli/{chunk-5apxck3d.js → chunk-was6vqxt.js} +7 -7
- package/dist/cli/{chunk-z3wrbtcq.js → chunk-ym0zghjh.js} +2 -2
- package/dist/cli/{chunk-tnatqcy7.js → chunk-z1y9gys2.js} +1 -1
- package/dist/cli/index.js +2 -2
- package/dist/web/assets/{index-BakEtMcK.js → index-BK-95nwh.js} +29 -29
- package/dist/web/assets/{index-BVQbpUea.css → index-DoaQz96N.css} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/cli/chunk-m4z6kepz.js +0 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{publishRoveTerminalTitle}from"./chunk-3aqhytyy.js";import{ensureGlobalRoveHooks}from"./chunk-2y70y8na.js";import{LAST_RUN_VERSION_KEY,enforceResetGate}from"./chunk-2kbzb24j.js";import"./chunk-17e2tgyg.js";import"./chunk-2bgmby1d.js";import"./chunk-n0rdn2fn.js";import"./chunk-j1z9kgyd.js";import"./chunk-e58kj4gm.js";import"./chunk-0a65j1zj.js";import"./chunk-bcyex84w.js";import"./chunk-x83xbzjd.js";import"./chunk-2tfnscxk.js";import"./chunk-hzz020xx.js";import"./chunk-w7zv47mp.js";import"./chunk-rfp0ayra.js";import"./chunk-40dgv828.js";import{CURRENT_VERSION,compareSemver}from"./chunk-9ckvdy0j.js";import"./chunk-zsfyj36g.js";import"./chunk-2brn8e1y.js";import"./chunk-7mwvvj46.js";import{detectShell}from"./chunk-
|
|
2
|
+
import{publishRoveTerminalTitle}from"./chunk-3aqhytyy.js";import{ensureGlobalRoveHooks}from"./chunk-2y70y8na.js";import{LAST_RUN_VERSION_KEY,enforceResetGate}from"./chunk-2kbzb24j.js";import"./chunk-17e2tgyg.js";import"./chunk-2bgmby1d.js";import"./chunk-n0rdn2fn.js";import"./chunk-j1z9kgyd.js";import"./chunk-e58kj4gm.js";import"./chunk-0a65j1zj.js";import"./chunk-bcyex84w.js";import"./chunk-x83xbzjd.js";import"./chunk-2tfnscxk.js";import"./chunk-hzz020xx.js";import"./chunk-w7zv47mp.js";import"./chunk-rfp0ayra.js";import"./chunk-40dgv828.js";import{CURRENT_VERSION,compareSemver}from"./chunk-9ckvdy0j.js";import"./chunk-zsfyj36g.js";import"./chunk-2brn8e1y.js";import"./chunk-7mwvvj46.js";import{detectShell}from"./chunk-np398f2a.js";import"./chunk-eege1x0a.js";import"./chunk-qqr4tfhk.js";import{loadStateFile,patchStateFile}from"./chunk-32j6y5d1.js";import"./chunk-nqwza8b0.js";import"./chunk-ve76p2mx.js";import"./chunk-cmp64q4j.js";import"./chunk-qzzmd63x.js";import"./chunk-96kvwzj8.js";import"./chunk-7bakcyes.js";import"./chunk-8qkyd589.js";import"./chunk-7kysxgbq.js";import"./chunk-hz1x3hak.js";import"./chunk-x1jxxmtc.js";import"./chunk-xy8be792.js";import"./chunk-h2m7em1e.js";import"./chunk-7ghwdjdc.js";import"./chunk-8t7qbr1e.js";import"./chunk-bejhca6z.js";import"./chunk-br8r72bf.js";import"./chunk-yt15y085.js";import"./chunk-z1nj22va.js";import"./chunk-zt7wfnva.js";import"./chunk-0g4wc808.js";import"./chunk-pn5ygqn6.js";import"./chunk-eqdbfgq5.js";import"./chunk-f8gg8cqh.js";import"./chunk-nc46gddg.js";import{__require}from"./chunk-91sykzqq.js";var WELCOMED_KEY="welcomed";function shouldWelcome(state){if(state[WELCOMED_KEY]===!0)return!1;return typeof state[LAST_RUN_VERSION_KEY]!=="string"}function takeWelcome(){if(!shouldWelcome(loadStateFile()))return null;try{patchStateFile({[WELCOMED_KEY]:!0})}catch{}return{shell:detectShell()}}var WHATS_NEW_SEEN_KEY="app.whatsNewSeenVersion";function whatsNewFromVersion(state,current=CURRENT_VERSION){let stamped=state[WHATS_NEW_SEEN_KEY]??state[LAST_RUN_VERSION_KEY];if(typeof stamped!=="string"||stamped.length===0)return null;return compareSemver(current,stamped)>0?stamped:null}function takeWhatsNew(){let from=whatsNewFromVersion(loadStateFile());try{patchStateFile({[WHATS_NEW_SEEN_KEY]:CURRENT_VERSION})}catch{}return from}async function startTui(){let whatsNewFrom=takeWhatsNew(),welcome=takeWelcome();enforceResetGate(),publishRoveTerminalTitle(),await ensureGlobalRoveHooks();let{loadPluginEngines}=await import("./chunk-6mg5zp8y.js");loadPluginEngines();let{startSkillStatus}=await import("./chunk-v6dz59gy.js");startSkillStatus();let{startWorkspaceHost}=await import("./chunk-was6vqxt.js");await startWorkspaceHost({whatsNewFrom,welcome})}export{startTui};
|
package/dist/cli/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
// @bun
|
|
3
|
-
import{isPathLikeArg}from"./chunk-
|
|
3
|
+
import{isPathLikeArg}from"./chunk-wac6eaxn.js";import{matchPathGlob}from"./chunk-kg11c1py.js";import{CURRENT_VERSION}from"./chunk-9ckvdy0j.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-2569f2kc.js");await runCompletionsSubcommand(args)}],["export",async(args)=>{let{runExportSubcommand}=await import("./chunk-aqwckba5.js");await runExportSubcommand(args)}],["repo",async(args)=>{let{runRepoSubcommand}=await import("./chunk-tjhw09bz.js");await runRepoSubcommand(args)}],["api",async(args)=>{let{runApiSubcommand}=await import("./chunk-8j3b5m5h.js");await runApiSubcommand(args)}],["update",async(args)=>{let{runUpdateSubcommand}=await import("./chunk-k2j2tjvd.js");await runUpdateSubcommand(args)}],["theme",async(args)=>{let{runThemeSubcommand}=await import("./chunk-ggjmcqpt.js");await runThemeSubcommand(args)}],["feedback",async(args)=>{let{runFeedbackSubcommand}=await import("./chunk-vr2r2ncm.js");await runFeedbackSubcommand(args)}],["daemon",async(args)=>{let{runDaemonSubcommand}=await import("./chunk-nv6dz5wy.js");await runDaemonSubcommand(args)}],["machine",async(args)=>{let{runMachineSubcommand}=await import("./chunk-nvcq93bp.js");await runMachineSubcommand(args)}],["weixin",async(args)=>{let{runChannelCli}=await import("./chunk-e04pp8f5.js");await runChannelCli("weixin",args)}],["doctor",async(args)=>{let{runDoctorSubcommand}=await import("./chunk-sh37tm44.js");await runDoctorSubcommand(args)}],["config",async(args)=>{let{runConfigSubcommand}=await import("./chunk-w7v71t7e.js");await runConfigSubcommand(args)}],["reset",async(args)=>{let{runResetSubcommand}=await import("./chunk-t9vjj8sy.js");await runResetSubcommand(args)}],["pty-host",async(args)=>{let{runPtyHostSubcommand}=await import("./chunk-mvtqstte.js");await runPtyHostSubcommand(args)}],["skill",async(args)=>{let{runSkillSubcommand}=await import("./chunk-xg42e2ff.js");await runSkillSubcommand(args)}],["plugin",async(args)=>{let{runPluginSubcommand}=await import("./chunk-p7v3w8ys.js");await runPluginSubcommand(args)}],["hook",async(args)=>{let{runHookSubcommand}=await import("./chunk-6q4br0pt.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 Send feedback to GitHub Discussions",` 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
4
|
`)}var bridge=()=>import("./chunk-mqvkd2g1.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-dsdtq087.js");await runAddRemote(rest.slice(1));return}if(arg?.startsWith("-"))process.stderr.write(`${CLI_NAME} add: unknown flag "${arg}"
|
|
6
6
|
|
|
@@ -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-k225696b.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-xg42e2ff.js");await runSkillSubcommand(["print"]);return}if(subcommand==="--web"){let{runWebSubcommand}=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-k225696b.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-xg42e2ff.js");await runSkillSubcommand(["print"]);return}if(subcommand==="--web"){let{runWebSubcommand}=await import("./chunk-v4bax7cf.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-vwmwmycs.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-t99295wq.js");await launchTui()}var cliDone=main().catch(async(err)=>{let{formatCliFailure}=await import("./chunk-qwwt4ch2.js");console.error(formatCliFailure(err,{cliName:CLI_NAME,argv:process.argv,cwd:process.cwd(),env:process.env})),process.exit(1)});export{cliDone};
|