@sma1lboy/rove 0.9.241 → 0.9.242
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-h6g216yh.js → chunk-00twck20.js} +1 -1
- package/dist/cli/{chunk-kcmb2hfw.js → chunk-089zn7my.js} +1 -1
- package/dist/cli/{chunk-yp9trvp1.js → chunk-0pw3xfqz.js} +1 -1
- package/dist/cli/{chunk-b754g587.js → chunk-1wdtwxbt.js} +3 -3
- package/dist/cli/{chunk-jyrz4gca.js → chunk-2ss0xjsp.js} +1 -1
- package/dist/cli/{chunk-m2nzdbcf.js → chunk-460bba4e.js} +2 -2
- package/dist/cli/{chunk-mp0g5zft.js → chunk-4ev7g7j1.js} +1 -1
- package/dist/cli/{chunk-g686ht09.js → chunk-4j8g3fcd.js} +1 -1
- package/dist/cli/{chunk-7r5mp59t.js → chunk-54h93msh.js} +1 -1
- package/dist/cli/{chunk-acx6qrp1.js → chunk-599q1w3a.js} +2 -2
- package/dist/cli/{chunk-f3v44man.js → chunk-808wt4qs.js} +1 -1
- package/dist/cli/{chunk-2nfzgkjb.js → chunk-94zjxcnf.js} +1 -1
- package/dist/cli/{chunk-xqm189ty.js → chunk-9hmzrmdt.js} +1 -1
- package/dist/cli/{chunk-st2k0369.js → chunk-a2wf3nkw.js} +1 -1
- package/dist/cli/{chunk-36e0443f.js → chunk-c84a6t3t.js} +1 -1
- package/dist/cli/{chunk-v7xm5r60.js → chunk-c8c44dty.js} +1 -1
- package/dist/cli/{chunk-mzd5gmhn.js → chunk-d0qgz1es.js} +1 -1
- package/dist/cli/{chunk-kmgshe70.js → chunk-g7jgmz7p.js} +1 -1
- package/dist/cli/{chunk-xfb1xfes.js → chunk-hg72x88m.js} +1 -1
- package/dist/cli/{chunk-gjtcppbq.js → chunk-k6886jet.js} +1 -1
- package/dist/cli/{chunk-dn6ag45w.js → chunk-n3he2z72.js} +1 -1
- package/dist/cli/{chunk-tkpr1nhp.js → chunk-n77m138t.js} +1 -1
- package/dist/cli/{chunk-6w54vtm6.js → chunk-nnjqb4nb.js} +1 -1
- package/dist/cli/{chunk-7wd9txzm.js → chunk-q08abj38.js} +1 -1
- package/dist/cli/{chunk-cmc4dpbw.js → chunk-rjq1ryb1.js} +1 -1
- package/dist/cli/{chunk-z9k14cpp.js → chunk-s3bqmn0s.js} +1 -1
- package/dist/cli/{chunk-ptp8vd99.js → chunk-s4xfj2xj.js} +1 -1
- package/dist/cli/{chunk-gg4dbemj.js → chunk-tjb8fftb.js} +2 -2
- package/dist/cli/{chunk-vypmfjpq.js → chunk-tntt3ken.js} +1 -1
- package/dist/cli/chunk-wp3ts69s.js +4 -0
- package/dist/cli/{chunk-wtpzpr8s.js → chunk-x5fdsft6.js} +1 -1
- package/dist/cli/{chunk-gwwne8gc.js → chunk-xkv2vm37.js} +1 -1
- package/dist/cli/{chunk-w9banjth.js → chunk-y7jhc2zf.js} +1 -1
- package/dist/cli/{chunk-fzrpkbdx.js → chunk-yc09g6vq.js} +1 -1
- package/dist/cli/{chunk-ywtgc8dc.js → chunk-z6acdd5c.js} +1 -1
- package/dist/cli/index.js +3 -3
- package/dist/cli/rove.js +1 -1
- package/package.json +2 -2
- package/dist/cli/chunk-6fn62kb5.js +0 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{launchTui,trackWelcomeWrite}from"./chunk-
|
|
2
|
+
import{launchTui,trackWelcomeWrite}from"./chunk-s4xfj2xj.js";import"./chunk-wqfp8d9w.js";export{trackWelcomeWrite,launchTui};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{stopLegacyTmux}from"./chunk-gkdfct7t.js";import{clearFrozenSessions}from"./chunk-0y4qgnby.js";import"./chunk-4250pw6r.js";import{stopDaemonProcess}from"./chunk-9w5g7frx.js";import{errorMessage}from"./chunk-2brn8e1y.js";import{stampResetGate}from"./chunk-
|
|
2
|
+
import{stopLegacyTmux}from"./chunk-gkdfct7t.js";import{clearFrozenSessions}from"./chunk-0y4qgnby.js";import"./chunk-4250pw6r.js";import{stopDaemonProcess}from"./chunk-9w5g7frx.js";import{errorMessage}from"./chunk-2brn8e1y.js";import{stampResetGate}from"./chunk-nnjqb4nb.js";import"./chunk-94zjxcnf.js";import"./chunk-7q43tysm.js";import"./chunk-mw0ysrpd.js";import"./chunk-a7kq09ke.js";import{kvStatePath,legacyRoveKvStatePath,legacyRoveStateDir,roveStateDir}from"./chunk-prqeddy7.js";import{ROVE_PRODUCT_NAME}from"./chunk-zt7wfnva.js";import"./chunk-yt15y085.js";import"./chunk-adkva3ep.js";import"./chunk-0422g8ac.js";import"./chunk-hq9tbzqa.js";import"./chunk-pn5ygqn6.js";import{defaultDaemonPidPath,defaultDaemonSocketPath,defaultPtyFreezeDir,defaultPtyHostPidPath,defaultPtyHostSocketPath}from"./chunk-npwzmmv9.js";import"./chunk-b39sdtt0.js";import"./chunk-nc46gddg.js";import"./chunk-wqfp8d9w.js";import{readFileSync}from"fs";import{unlink}from"fs/promises";import{join}from"path";import{createInterface}from"readline";var CLI_NAME=ROVE_PRODUCT_NAME;function printUsage(out){out.write([`Usage: ${CLI_NAME} reset [--hard] [--yes]`,"","Recover a wedged install: stop the daemon, Hosted PTY host, and any pre-v0.8 tmux sessions.","This ends background terminal and engine sessions; the next launch starts fresh.","Never touches your git worktrees.","","Options:"," --hard Also DELETE the task index and the whole settings file"," (saved projects, custom engines, theme, language, onboarding)"," -y, --yes Skip the interactive confirmation. REQUIRED without a terminal;"," a non-interactive run without it exits 2 and changes nothing."," -h, --help Print this help",""].join(`
|
|
3
3
|
`))}function taskCount(path){try{let parsed=JSON.parse(readFileSync(path,"utf8"));return Array.isArray(parsed.tasks)?parsed.tasks.length:null}catch{return null}}function stateSummary(path){let parsed;try{parsed=JSON.parse(readFileSync(path,"utf8"))}catch{return[]}let count=(key)=>Array.isArray(parsed[key])?parsed[key].length:0,lines=[` saved projects: ${count("savedRepos")}`,` custom engines: ${count("customEngineIds")} (their launch commands live here and nowhere else)`],present=[["activeTheme","theme"],["defaultVendor","default engine"],["locale","language"],["onboarded","onboarding (the wizard runs again)"]].filter(([key])=>parsed[key]!==void 0).map(([,label])=>label);if(present.length>0)lines.push(` also set: ${present.join(", ")}`);return lines.push(` ${Object.keys(parsed).length} setting(s) in total`),lines}async function confirmTty(prompt){let readline=createInterface({input:process.stdin,output:process.stdout});try{let answer=await new Promise((resolve)=>readline.question(prompt,resolve));return/^y(es)?$/i.test(answer.trim())}finally{readline.close()}}async function removeStateFile(path,label){try{await unlink(path),console.log(` removed ${label} (${path})`)}catch(err){if(err.code==="ENOENT")console.log(` ${label}: already absent`);else throw Error(`failed to remove ${label} (${path}): ${errorMessage(err)}`)}}async function runResetSubcommand(argv){if(argv.some((arg)=>arg==="--help"||arg==="-h"||arg==="help")){printUsage(process.stdout);return}let known=new Set(["--hard","--yes","-y"]),unknown=argv.find((arg)=>!known.has(arg));if(unknown!==void 0)process.stderr.write(`${CLI_NAME} reset: unknown argument "${unknown}"
|
|
4
4
|
|
|
5
5
|
`),printUsage(process.stderr),process.exit(2);let hard=argv.includes("--hard"),yes=argv.includes("--yes")||argv.includes("-y"),daemonSocket=defaultDaemonSocketPath(),tasksPath=join(roveStateDir(),"tasks.json"),legacyTasksPath=join(legacyRoveStateDir(),"tasks.json"),statePath=kvStatePath(),legacyStatePath=legacyRoveKvStatePath();if(console.log(`${CLI_NAME} reset will:`),console.log(" \u2022 stop the Rove daemon (graceful \u2192 SIGTERM \u2192 SIGKILL)"),console.log(` \u2022 remove its socket + pidfile (${daemonSocket})`),console.log(" \u2022 stop the standalone Hosted PTY host and all background terminal/engine sessions"),console.log(" \u2022 stop any pre-v0.8 tmux sessions after SIGTERM-ing their pane process groups"),hard){let count=taskCount(tasksPath)??taskCount(legacyTasksPath);console.log(` \u2022 DELETE the task index${count===null?"":` (${count} task(s))`} \u2014 ${tasksPath}`),console.log(` \u2022 DELETE the whole settings file \u2014 ${statePath}`);for(let line of stateSummary(statePath))console.log(line);console.log(" \u2022 DELETE the pre-Rove task/UI indexes too, so migration cannot restore reset state")}if(console.log(" \u2022 NOT touch your git worktrees under ~/.rove/worktrees/ or existing repo-local roots"),!hard)console.log(" (your task list, settings & worktrees are kept \u2014 add --hard to also delete the task index and settings file)");if(!yes){if(!process.stdin.isTTY){console.log(`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{publishRoveTerminalTitle}from"./chunk-3aqhytyy.js";import{ensureGlobalRoveHooks}from"./chunk-h33m6cc6.js";import"./chunk-17e2tgyg.js";import"./chunk-2bgmby1d.js";import"./chunk-rqyaf0dw.js";import"./chunk-y8tysjc2.js";import"./chunk-576r5nht.js";import"./chunk-w7zv47mp.js";import"./chunk-2tfnscxk.js";import"./chunk-zsfyj36g.js";import"./chunk-96cjpssp.js";import"./chunk-9w5g7frx.js";import"./chunk-gvrtrvnz.js";import"./chunk-2brn8e1y.js";import"./chunk-yexx8nec.js";import"./chunk-znjcesdr.js";import"./chunk-7kysxgbq.js";import"./chunk-qzsahxd9.js";import"./chunk-xy8be792.js";import"./chunk-h2m7em1e.js";import"./chunk-tdhk4dz8.js";import{takeWelcome}from"./chunk-
|
|
2
|
+
import{publishRoveTerminalTitle}from"./chunk-3aqhytyy.js";import{ensureGlobalRoveHooks}from"./chunk-h33m6cc6.js";import"./chunk-17e2tgyg.js";import"./chunk-2bgmby1d.js";import"./chunk-rqyaf0dw.js";import"./chunk-y8tysjc2.js";import"./chunk-576r5nht.js";import"./chunk-w7zv47mp.js";import"./chunk-2tfnscxk.js";import"./chunk-zsfyj36g.js";import"./chunk-96cjpssp.js";import"./chunk-9w5g7frx.js";import"./chunk-gvrtrvnz.js";import"./chunk-2brn8e1y.js";import"./chunk-yexx8nec.js";import"./chunk-znjcesdr.js";import"./chunk-7kysxgbq.js";import"./chunk-qzsahxd9.js";import"./chunk-xy8be792.js";import"./chunk-h2m7em1e.js";import"./chunk-tdhk4dz8.js";import{takeWelcome}from"./chunk-n77m138t.js";import{LAST_RUN_VERSION_KEY,enforceResetGate}from"./chunk-nnjqb4nb.js";import"./chunk-6ms5chc3.js";import"./chunk-e1x88j3k.js";import{CURRENT_VERSION,compareSemver}from"./chunk-94zjxcnf.js";import{maybeHintSkillInstall}from"./chunk-g4c4ffqp.js";import"./chunk-h9cg0j3a.js";import"./chunk-40dgv828.js";import"./chunk-3342qzve.js";import{loadStateFile,patchStateFile}from"./chunk-7q43tysm.js";import"./chunk-mw0ysrpd.js";import"./chunk-a7kq09ke.js";import"./chunk-prqeddy7.js";import"./chunk-zt7wfnva.js";import"./chunk-yt15y085.js";import"./chunk-snhcvjdb.js";import"./chunk-zt49bbg9.js";import"./chunk-nhakrm1f.js";import"./chunk-adkva3ep.js";import"./chunk-0422g8ac.js";import"./chunk-hq9tbzqa.js";import"./chunk-pn5ygqn6.js";import"./chunk-npwzmmv9.js";import"./chunk-b39sdtt0.js";import"./chunk-nc46gddg.js";import{__require}from"./chunk-wqfp8d9w.js";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 maybeHintSkillInstall(),await ensureGlobalRoveHooks();let{loadPluginEngines}=await import("./chunk-ff1h2qxd.js");loadPluginEngines();let{startWorkspaceHost}=await import("./chunk-1wdtwxbt.js");await startWorkspaceHost({whatsNewFrom,welcome})}export{startTui};
|