@sma1lboy/rove 0.9.268 → 0.9.270
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-xg6yd69j.js → chunk-059cbe7h.js} +1 -1
- package/dist/cli/{chunk-v8z0b048.js → chunk-092xhkrf.js} +1 -1
- package/dist/cli/{chunk-zcgbat1k.js → chunk-0bndr0r1.js} +4 -4
- package/dist/cli/{chunk-mrdgm9j2.js → chunk-0wqnh8ym.js} +1 -1
- package/dist/cli/{chunk-62kwxxd5.js → chunk-1asyqysj.js} +1 -1
- package/dist/cli/{chunk-ycaz14ny.js → chunk-1f0cwd7h.js} +1 -1
- package/dist/cli/{chunk-9axkfsfa.js → chunk-1s0ng45a.js} +1 -1
- package/dist/cli/{chunk-e9mnkk5k.js → chunk-2mx3wcfc.js} +1 -1
- package/dist/cli/{chunk-zz1zvaat.js → chunk-2qevndr1.js} +1 -1
- package/dist/cli/{chunk-yp24c6kb.js → chunk-3pydxy07.js} +1 -1
- package/dist/cli/{chunk-70aaqny5.js → chunk-47g5eq6d.js} +1 -1
- package/dist/cli/{chunk-fcnd49ce.js → chunk-4b6r81r7.js} +1 -1
- package/dist/cli/{chunk-0t0ykzek.js → chunk-4xdmsp30.js} +1 -1
- package/dist/cli/{chunk-fcqtqpm1.js → chunk-56gk0jtk.js} +1 -1
- package/dist/cli/{chunk-r4pn2ygz.js → chunk-5xc22154.js} +3 -3
- package/dist/cli/{chunk-9x6q7wfw.js → chunk-7a5aq758.js} +1 -1
- package/dist/cli/{chunk-zaqj54e4.js → chunk-83e7f74s.js} +1 -1
- package/dist/cli/{chunk-dpc5ham5.js → chunk-93e1q2ea.js} +1 -1
- package/dist/cli/{chunk-y64htcr1.js → chunk-aab25khm.js} +1 -1
- package/dist/cli/{chunk-rm7v1pm8.js → chunk-atbwdgg6.js} +1 -1
- package/dist/cli/{chunk-4ywd564k.js → chunk-bcekygc2.js} +1 -1
- package/dist/cli/{chunk-41h9qdqt.js → chunk-bfykd0n2.js} +1 -1
- package/dist/cli/{chunk-mvnz68vh.js → chunk-bsfxja9s.js} +1 -1
- package/dist/cli/{chunk-h3k2p23h.js → chunk-c3nxrh08.js} +1 -1
- package/dist/cli/{chunk-5pdx97c6.js → chunk-cgfg9kc3.js} +4 -4
- package/dist/cli/{chunk-degqtrs3.js → chunk-cr8enahn.js} +1 -1
- package/dist/cli/{chunk-p81pe27x.js → chunk-d9m7zgq8.js} +2 -2
- package/dist/cli/{chunk-tst79jmx.js → chunk-dc842he4.js} +1 -1
- package/dist/cli/{chunk-v3ddagrp.js → chunk-e28cbwn4.js} +1 -1
- package/dist/cli/{chunk-bm2baazf.js → chunk-ezeh37vd.js} +1 -1
- package/dist/cli/{chunk-x05g5e24.js → chunk-fqrm4xy4.js} +1 -1
- package/dist/cli/{chunk-j4cm27rs.js → chunk-gh9e0zje.js} +9 -4
- package/dist/cli/{chunk-fp7jrj2m.js → chunk-hd8wpcee.js} +1 -1
- package/dist/cli/{chunk-q3kgt1ny.js → chunk-htg67qss.js} +1 -1
- package/dist/cli/{chunk-dpyk82a8.js → chunk-j8bmc7m0.js} +9 -7
- package/dist/cli/{chunk-f8w52tsz.js → chunk-k4s0y0j2.js} +2 -2
- package/dist/cli/{chunk-3gegmpff.js → chunk-kj37wrjn.js} +1 -1
- package/dist/cli/{chunk-ppm30qeq.js → chunk-n7t7eqcz.js} +1 -1
- package/dist/cli/{chunk-n4f0s95w.js → chunk-nahwgea8.js} +1 -1
- package/dist/cli/{chunk-f2yygj4f.js → chunk-ncw2w9c4.js} +1 -1
- package/dist/cli/{chunk-6gf6kkyc.js → chunk-nmvsjf1b.js} +1 -1
- package/dist/cli/{chunk-thf8wwd2.js → chunk-nq6xezx2.js} +1 -1
- package/dist/cli/{chunk-11d13bzd.js → chunk-nzykj6m2.js} +1 -1
- package/dist/cli/{chunk-wq5p9p36.js → chunk-pk1hexd4.js} +1 -1
- package/dist/cli/{chunk-1w6zk1b9.js → chunk-qsnt7epd.js} +1 -1
- package/dist/cli/{chunk-17mw9xg7.js → chunk-sn9vrqeg.js} +1 -1
- package/dist/cli/{chunk-shqzw037.js → chunk-swyrqtss.js} +1 -1
- package/dist/cli/{chunk-xvnc0dh1.js → chunk-t6fdk1bf.js} +1 -1
- package/dist/cli/{chunk-ga412sby.js → chunk-tbpj22sn.js} +1 -1
- package/dist/cli/{chunk-wa7jswp3.js → chunk-vskqfw9w.js} +1 -1
- package/dist/cli/{chunk-h9c3rpjp.js → chunk-w11c7mjq.js} +2 -2
- package/dist/cli/{chunk-pa92enxd.js → chunk-w1ry718n.js} +2 -2
- package/dist/cli/{chunk-91dqbdn1.js → chunk-w8vz8ah0.js} +1 -1
- package/dist/cli/{chunk-sdrfp8nx.js → chunk-wfkse6qr.js} +1 -1
- package/dist/cli/{chunk-93remet0.js → chunk-wtakvjax.js} +1 -1
- package/dist/cli/{chunk-nbkf898q.js → chunk-x8gfw3na.js} +1 -1
- package/dist/cli/{chunk-350qvm2b.js → chunk-xk4sbb8z.js} +1 -1
- package/dist/cli/{chunk-t5hxvypc.js → chunk-xntwrqzk.js} +1 -1
- package/dist/cli/{chunk-mj7nfaaf.js → chunk-y9kq9x48.js} +1 -1
- package/dist/cli/{chunk-3xz1axcj.js → chunk-yfy532b9.js} +1 -1
- package/dist/cli/{chunk-bg7zg9dp.js → chunk-yr3wdm06.js} +2 -2
- package/dist/cli/{chunk-w9zm2qvp.js → chunk-zrvsp7tg.js} +1 -1
- package/dist/cli/{chunk-rwz82q9h.js → chunk-ztwwknwe.js} +1 -1
- package/dist/cli/{chunk-2gc4kqrt.js → chunk-zzetyab8.js} +1 -1
- package/dist/cli/index.js +4 -4
- package/dist/cli/rove.js +1 -1
- package/dist/skills/rove/SKILL.md +1 -1
- package/dist/skills/rove/references/api-flags.md +2 -2
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{submitFeedback}from"./chunk-
|
|
2
|
+
import{submitFeedback}from"./chunk-atbwdgg6.js";import"./chunk-1s0ng45a.js";import"./chunk-z1nj22va.js";import{ROVE_PRODUCT_NAME}from"./chunk-zt7wfnva.js";import"./chunk-f8gg8cqh.js";import"./chunk-nc46gddg.js";import"./chunk-91sykzqq.js";import{readFileSync}from"fs";var CLI_NAME=ROVE_PRODUCT_NAME,FEEDBACK_USAGE=[`Usage: ${CLI_NAME} feedback --title <text> (--body <text> | --body-file <path>) [--category <slug>]`,"","Create a GitHub Discussion in the Rove repository using the GitHub CLI.","","Requires:"," gh auth login","","Options:"," --title <text> Discussion title"," --body <text> Discussion body"," --body-file <path> Read the Discussion body from a file; use - for stdin"," --category <slug> Discussion category slug (default: feedback)"," -h, --help Print this help",""].join(`
|
|
3
3
|
`);function usageError(message){process.stderr.write(`${CLI_NAME} feedback: ${message}
|
|
4
4
|
|
|
5
5
|
${FEEDBACK_USAGE}
|
|
@@ -4,5 +4,5 @@ import{generateCompletions,isShellKind,mergeSubVerbs,shippedCompletionsPath}from
|
|
|
4
4
|
|
|
5
5
|
${usage}`),process.exit(2)};if(rest.some((arg)=>HELP_WORDS.includes(arg))){process.stdout.write(usage);return}let flags=rest.filter((arg)=>arg.startsWith("-")),shells=rest.filter((arg)=>!arg.startsWith("-")),unknownFlag=flags.find((flag)=>flag!=="--path"&&flag!=="--install");if(unknownFlag)fail(`unknown option "${unknownFlag}"`);if(new Set(flags).size>1)fail("--path and --install are different things; pass one");let shell=shells.length===1?shells[0]:void 0;if(!isShellKind(shell))fail(`unknown shell "${shells.join(" ")}"`);let scriptPath=shippedCompletionsPath(shell,cliName,deps.shippedDir),shipped=existsSync(scriptPath)?scriptPath:null;if(flags[0]==="--path"){if(!shipped)fail(`no pre-generated ${shell} script at ${scriptPath}
|
|
6
6
|
${cliName} completions ${shell} # print the script to stdout instead`);process.stdout.write(`${shipped}
|
|
7
|
-
`);return}if(flags[0]==="--install"){let[{installCompletions,settleWelcomeInstall},{t}]=await Promise.all([import("./chunk-
|
|
8
|
-
`);return}if(shipped){process.stdout.write(readFileSync(shipped,"utf8"));return}let{API_VERBS}=await import("./chunk-
|
|
7
|
+
`);return}if(flags[0]==="--install"){let[{installCompletions,settleWelcomeInstall},{t}]=await Promise.all([import("./chunk-c3nxrh08.js"),import("./chunk-bc9qfm8g.js")]),completion=installCompletions(shell,deps.home,cliName,shipped);settleWelcomeInstall("completions",shell);let line=completion.installed?"onboarding.appliedCompletions":"onboarding.keptCompletions";process.stdout.write(`${t(line,{path:completion.path})}
|
|
8
|
+
`);return}if(shipped){process.stdout.write(readFileSync(shipped,"utf8"));return}let{API_VERBS}=await import("./chunk-pk1hexd4.js");process.stdout.write(generateCompletions(shell,cliName,mergeSubVerbs(API_VERBS)))}export{runCompletionsSubcommand};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{JsonHookAdapter,editJsonSettings,removeRoveHooks,vendorConfigHome}from"./chunk-eqa843hf.js";import{isObject}from"./chunk-7ghwdjdc.js";import{ROVE_PRODUCT_NAME}from"./chunk-zt7wfnva.js";import{__require}from"./chunk-91sykzqq.js";import{join}from"path";var CLAUDE_HOOK_EVENT_MAP=[{event:"SessionStart",verb:"session-start"},{event:"UserPromptSubmit",verb:"turn-start"},{event:"Stop",verb:"turn-complete"},{event:"StopFailure",verb:"turn-failed"},{event:"Notification",matcher:"permission_prompt",verb:"awaiting-input"},{event:"Notification",matcher:"elicitation_dialog",verb:"awaiting-input"},{event:"SessionEnd",verb:"session-end"},{event:"PreCompact",verb:"pre-compact"},{event:"PostCompact",verb:"post-compact"},{event:"SubagentStart",verb:"subagent-start"},{event:"SubagentStop",verb:"subagent-stop"},{event:"PreToolUse",verb:"tool-pre"},{event:"PostToolUse",verb:"tool-post"},{event:"PostToolUseFailure",verb:"tool-failed"}],ROVE_HOOK_EVENTS=[...new Set(CLAUDE_HOOK_EVENT_MAP.map((e)=>e.event))];function failureFromErrorType(errorType){if(typeof errorType!=="string")return"other";if(errorType==="rate_limit"||errorType==="overloaded")return"rate_limit";if(errorType==="billing_error")return"billing";return"other"}function claudeSettingsPath(){return join(vendorConfigHome("claude"),"settings.json")}var WORKTREE_SYNC_VERB="worktree-created";function mergeWorktreeSyncHook(current,command){let{hooks:rawHooks,...restSettings}=current,{WorktreeCreate,...otherHooks}=isObject(rawHooks)?rawHooks:{},prior=Array.isArray(WorktreeCreate)?WorktreeCreate:[],kept=removeRoveHooks(prior,[WORKTREE_SYNC_VERB]);if(command!==null)kept.push({hooks:[{type:"command",command}]});let nextHooks={...otherHooks};if(kept.length>0)nextHooks.WorktreeCreate=kept;return Object.keys(nextHooks).length>0?{...restSettings,hooks:nextHooks}:{...restSettings}}class ClaudeHookAdapter extends JsonHookAdapter{vendor="claude";eventMap=CLAUDE_HOOK_EVENT_MAP;globalSettingsPath(){return claudeSettingsPath()}activityDetailFromPayload(kind,payload){if(kind==="turn-failed")return{failure:failureFromErrorType(payload.error_type)};if(kind==="awaiting-input")return{waiting:payload.notification_type==="elicitation_dialog"?"input":"permission"};if(kind==="tool-pre"||kind==="tool-post"||kind==="tool-failed")return{tool:{...typeof payload.tool_name==="string"?{name:payload.tool_name}:{},...typeof payload.tool_use_id==="string"?{id:payload.tool_use_id}:{}}};if(kind==="pre-compact"||kind==="post-compact")return{compact:{trigger:payload.trigger==="manual"?"manual":"auto"}};if(kind==="subagent-start"||kind==="subagent-stop")return{subagent:{...typeof payload.agent_type==="string"?{type:payload.agent_type}:{},...typeof payload.agent_id==="string"?{id:payload.agent_id}:{}}};return}sessionFromPayload(payload){if(typeof payload.session_id!=="string"||!payload.session_id)return;return{sessionId:payload.session_id,...typeof payload.transcript_path==="string"&&payload.transcript_path?{transcriptPath:payload.transcript_path}:{}}}isUnattendedSession(env){return env.CLAUDE_CODE_SESSION_ATTENDED==="0"}async externallyManagedHooks(){let{isRovePluginEnabled,detectLegacyInstalls,migrationHint}=await import("./chunk-
|
|
2
|
+
import{JsonHookAdapter,editJsonSettings,removeRoveHooks,vendorConfigHome}from"./chunk-eqa843hf.js";import{isObject}from"./chunk-7ghwdjdc.js";import{ROVE_PRODUCT_NAME}from"./chunk-zt7wfnva.js";import{__require}from"./chunk-91sykzqq.js";import{join}from"path";var CLAUDE_HOOK_EVENT_MAP=[{event:"SessionStart",verb:"session-start"},{event:"UserPromptSubmit",verb:"turn-start"},{event:"Stop",verb:"turn-complete"},{event:"StopFailure",verb:"turn-failed"},{event:"Notification",matcher:"permission_prompt",verb:"awaiting-input"},{event:"Notification",matcher:"elicitation_dialog",verb:"awaiting-input"},{event:"SessionEnd",verb:"session-end"},{event:"PreCompact",verb:"pre-compact"},{event:"PostCompact",verb:"post-compact"},{event:"SubagentStart",verb:"subagent-start"},{event:"SubagentStop",verb:"subagent-stop"},{event:"PreToolUse",verb:"tool-pre"},{event:"PostToolUse",verb:"tool-post"},{event:"PostToolUseFailure",verb:"tool-failed"}],ROVE_HOOK_EVENTS=[...new Set(CLAUDE_HOOK_EVENT_MAP.map((e)=>e.event))];function failureFromErrorType(errorType){if(typeof errorType!=="string")return"other";if(errorType==="rate_limit"||errorType==="overloaded")return"rate_limit";if(errorType==="billing_error")return"billing";return"other"}function claudeSettingsPath(){return join(vendorConfigHome("claude"),"settings.json")}var WORKTREE_SYNC_VERB="worktree-created";function mergeWorktreeSyncHook(current,command){let{hooks:rawHooks,...restSettings}=current,{WorktreeCreate,...otherHooks}=isObject(rawHooks)?rawHooks:{},prior=Array.isArray(WorktreeCreate)?WorktreeCreate:[],kept=removeRoveHooks(prior,[WORKTREE_SYNC_VERB]);if(command!==null)kept.push({hooks:[{type:"command",command}]});let nextHooks={...otherHooks};if(kept.length>0)nextHooks.WorktreeCreate=kept;return Object.keys(nextHooks).length>0?{...restSettings,hooks:nextHooks}:{...restSettings}}class ClaudeHookAdapter extends JsonHookAdapter{vendor="claude";eventMap=CLAUDE_HOOK_EVENT_MAP;globalSettingsPath(){return claudeSettingsPath()}activityDetailFromPayload(kind,payload){if(kind==="turn-failed")return{failure:failureFromErrorType(payload.error_type)};if(kind==="awaiting-input")return{waiting:payload.notification_type==="elicitation_dialog"?"input":"permission"};if(kind==="tool-pre"||kind==="tool-post"||kind==="tool-failed")return{tool:{...typeof payload.tool_name==="string"?{name:payload.tool_name}:{},...typeof payload.tool_use_id==="string"?{id:payload.tool_use_id}:{}}};if(kind==="pre-compact"||kind==="post-compact")return{compact:{trigger:payload.trigger==="manual"?"manual":"auto"}};if(kind==="subagent-start"||kind==="subagent-stop")return{subagent:{...typeof payload.agent_type==="string"?{type:payload.agent_type}:{},...typeof payload.agent_id==="string"?{id:payload.agent_id}:{}}};return}sessionFromPayload(payload){if(typeof payload.session_id!=="string"||!payload.session_id)return;return{sessionId:payload.session_id,...typeof payload.transcript_path==="string"&&payload.transcript_path?{transcriptPath:payload.transcript_path}:{}}}isUnattendedSession(env){return env.CLAUDE_CODE_SESSION_ATTENDED==="0"}async externallyManagedHooks(){let{isRovePluginEnabled,detectLegacyInstalls,migrationHint}=await import("./chunk-bsfxja9s.js");if(!isRovePluginEnabled())return;let notice=migrationHint(detectLegacyInstalls(),ROVE_PRODUCT_NAME);return notice?{notice}:{}}supportsWorktreeSync(){return!0}async removeWorktreeSyncHook(settingsFilePath){await editJsonSettings(settingsFilePath,(cur)=>mergeWorktreeSyncHook(cur,null))}}
|
|
3
3
|
export{CLAUDE_HOOK_EVENT_MAP,claudeSettingsPath,ClaudeHookAdapter};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{__require}from"./chunk-91sykzqq.js";var welcomeWrite=Promise.resolve();function trackWelcomeWrite(write){welcomeWrite=write}async function launchTui(){let{startTui}=await import("./chunk-
|
|
2
|
+
import{__require}from"./chunk-91sykzqq.js";var welcomeWrite=Promise.resolve();function trackWelcomeWrite(write){welcomeWrite=write}async function launchTui(){let{startTui}=await import("./chunk-1asyqysj.js");await startTui(),await welcomeWrite;let{runPendingWelcomeInstalls}=await import("./chunk-c3nxrh08.js");runPendingWelcomeInstalls()}
|
|
3
3
|
export{trackWelcomeWrite,launchTui};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{NoopHookAdapter,activityHookAdapters,createEngineHookAdapter}from"./chunk-
|
|
2
|
+
import{NoopHookAdapter,activityHookAdapters,createEngineHookAdapter}from"./chunk-kj37wrjn.js";import"./chunk-4fa35dbn.js";import"./chunk-w7zv47mp.js";import"./chunk-2tfnscxk.js";import"./chunk-2brn8e1y.js";import"./chunk-dc842he4.js";import"./chunk-eqa843hf.js";import"./chunk-kq01awhv.js";import"./chunk-xy8be792.js";import"./chunk-7kysxgbq.js";import"./chunk-h2m7em1e.js";import"./chunk-7ghwdjdc.js";import"./chunk-8t7qbr1e.js";import"./chunk-rfp0ayra.js";import"./chunk-40dgv828.js";import"./chunk-7mwvvj46.js";import"./chunk-32j6y5d1.js";import"./chunk-bejhca6z.js";import"./chunk-br8r72bf.js";import"./chunk-z1nj22va.js";import"./chunk-zt7wfnva.js";import"./chunk-yt15y085.js";import"./chunk-0g4wc808.js";import"./chunk-pn5ygqn6.js";import"./chunk-eqdbfgq5.js";import"./chunk-f8gg8cqh.js";import"./chunk-nc46gddg.js";import"./chunk-91sykzqq.js";export{createEngineHookAdapter,activityHookAdapters,NoopHookAdapter};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{__require}from"./chunk-91sykzqq.js";var CHANNEL_LOADERS={weixin:async()=>(await import("./chunk-
|
|
2
|
+
import{__require}from"./chunk-91sykzqq.js";var CHANNEL_LOADERS={weixin:async()=>(await import("./chunk-ncw2w9c4.js")).default};async function runChannelCli(id,argv){let load=CHANNEL_LOADERS[id];if(!load)throw Error(`no chat channel "${id}"`);await(await load()).runCli(argv)}async function startChatChannels(ctx){let started=[];for(let[id,load]of Object.entries(CHANNEL_LOADERS))try{let channel=(await load()).createChannel();await channel.start(ctx),started.push(channel)}catch(err){ctx.log("channel",`${id} did not start: ${err instanceof Error?err.message:String(err)}`)}return started}
|
|
3
3
|
export{runChannelCli,startChatChannels};
|