@verboo/code 0.8.0 → 0.8.1
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.mjs +61 -61
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -328807,11 +328807,11 @@ import {
|
|
|
328807
328807
|
function getSkillsPath(source, dir) {
|
|
328808
328808
|
switch (source) {
|
|
328809
328809
|
case "policySettings":
|
|
328810
|
-
return join75(getManagedFilePath(), ".
|
|
328810
|
+
return join75(getManagedFilePath(), ".verboo", dir);
|
|
328811
328811
|
case "userSettings":
|
|
328812
328812
|
return join75(getClaudeConfigHomeDir(), dir);
|
|
328813
328813
|
case "projectSettings":
|
|
328814
|
-
return `.
|
|
328814
|
+
return `.verboo/${dir}`;
|
|
328815
328815
|
case "plugin":
|
|
328816
328816
|
return "plugin";
|
|
328817
328817
|
default:
|
|
@@ -329207,7 +329207,7 @@ async function discoverSkillDirsForPaths(filePaths, cwd2) {
|
|
|
329207
329207
|
for (const filePath of filePaths) {
|
|
329208
329208
|
let currentDir = dirname29(filePath);
|
|
329209
329209
|
while (currentDir.startsWith(resolvedCwd + pathSep)) {
|
|
329210
|
-
const skillDir = join75(currentDir, ".
|
|
329210
|
+
const skillDir = join75(currentDir, ".verboo", "skills");
|
|
329211
329211
|
if (!dynamicSkillDirs.has(skillDir)) {
|
|
329212
329212
|
dynamicSkillDirs.add(skillDir);
|
|
329213
329213
|
try {
|
|
@@ -329330,7 +329330,7 @@ var init_loadSkillsDir = __esm(() => {
|
|
|
329330
329330
|
import_ignore2 = __toESM(require_ignore(), 1);
|
|
329331
329331
|
getSkillDirCommands = memoize_default(async (cwd2) => {
|
|
329332
329332
|
const userSkillsDir = join75(getClaudeConfigHomeDir(), "skills");
|
|
329333
|
-
const managedSkillsDir = join75(getManagedFilePath(), ".
|
|
329333
|
+
const managedSkillsDir = join75(getManagedFilePath(), ".verboo", "skills");
|
|
329334
329334
|
const projectSkillsDirs = getProjectDirsUpToHome("skills", cwd2);
|
|
329335
329335
|
logForDebugging2(`Loading skills from: managed=${managedSkillsDir}, user=${userSkillsDir}, project=[${projectSkillsDirs.join(", ")}]`);
|
|
329336
329336
|
const additionalDirs = getAdditionalDirectoriesForClaudeMd();
|
|
@@ -329341,7 +329341,7 @@ var init_loadSkillsDir = __esm(() => {
|
|
|
329341
329341
|
logForDebugging2(`[bare] Skipping skill dir discovery (${additionalDirs.length === 0 ? "no --add-dir" : "projectSettings disabled or skillsLocked"})`);
|
|
329342
329342
|
return [];
|
|
329343
329343
|
}
|
|
329344
|
-
const additionalSkillsNested2 = await Promise.all(additionalDirs.map((dir) => loadSkillsFromSkillsDir(join75(dir, ".
|
|
329344
|
+
const additionalSkillsNested2 = await Promise.all(additionalDirs.map((dir) => loadSkillsFromSkillsDir(join75(dir, ".verboo", "skills"), "projectSettings")));
|
|
329345
329345
|
return additionalSkillsNested2.flat().map((s) => s.skill);
|
|
329346
329346
|
}
|
|
329347
329347
|
const [
|
|
@@ -329354,7 +329354,7 @@ var init_loadSkillsDir = __esm(() => {
|
|
|
329354
329354
|
isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_POLICY_SKILLS) ? Promise.resolve([]) : loadSkillsFromSkillsDir(managedSkillsDir, "policySettings"),
|
|
329355
329355
|
isSettingSourceEnabled("userSettings") && !skillsLocked ? loadSkillsFromSkillsDir(userSkillsDir, "userSettings") : Promise.resolve([]),
|
|
329356
329356
|
projectSettingsEnabled ? Promise.all(projectSkillsDirs.map((dir) => loadSkillsFromSkillsDir(dir, "projectSettings"))) : Promise.resolve([]),
|
|
329357
|
-
projectSettingsEnabled ? Promise.all(additionalDirs.map((dir) => loadSkillsFromSkillsDir(join75(dir, ".
|
|
329357
|
+
projectSettingsEnabled ? Promise.all(additionalDirs.map((dir) => loadSkillsFromSkillsDir(join75(dir, ".verboo", "skills"), "projectSettings"))) : Promise.resolve([]),
|
|
329358
329358
|
skillsLocked ? Promise.resolve([]) : loadSkillsFromCommandsDir(cwd2)
|
|
329359
329359
|
]);
|
|
329360
329360
|
const allSkillsWithPaths = [
|
|
@@ -390111,7 +390111,7 @@ function getAnthropicEnvMetadata() {
|
|
|
390111
390111
|
function getBuildAgeMinutes() {
|
|
390112
390112
|
if (false)
|
|
390113
390113
|
;
|
|
390114
|
-
const buildTime = new Date("2026-05-
|
|
390114
|
+
const buildTime = new Date("2026-05-08T16:31:20.862Z").getTime();
|
|
390115
390115
|
if (isNaN(buildTime))
|
|
390116
390116
|
return;
|
|
390117
390117
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -418233,7 +418233,7 @@ function buildPrimarySection() {
|
|
|
418233
418233
|
}, undefined, false, undefined, this);
|
|
418234
418234
|
return [{
|
|
418235
418235
|
label: "Version",
|
|
418236
|
-
value: "0.8.
|
|
418236
|
+
value: "0.8.1"
|
|
418237
418237
|
}, {
|
|
418238
418238
|
label: "Session name",
|
|
418239
418239
|
value: nameValue
|
|
@@ -432528,7 +432528,7 @@ function getReleaseTagUrl(version2 = publicBuildVersion) {
|
|
|
432528
432528
|
return `${VERBOO_RELEASES_URL}/tag/v${normalizePublicVersion(version2)}`;
|
|
432529
432529
|
}
|
|
432530
432530
|
function getPublicBuildVersion() {
|
|
432531
|
-
return "0.8.
|
|
432531
|
+
return "0.8.1";
|
|
432532
432532
|
}
|
|
432533
432533
|
var import_semver10, VERBOO_RELEASES_URL = "https://github.com/verbeux-ai/code/releases", fallbackBuildVersion, publicBuildVersion;
|
|
432534
432534
|
var init_version = __esm(() => {
|
|
@@ -480960,7 +480960,7 @@ function getAgentDirectoryPath(location) {
|
|
|
480960
480960
|
case "projectSettings":
|
|
480961
480961
|
return join123(getCwd(), AGENT_PATHS.FOLDER_NAME, AGENT_PATHS.AGENTS_DIR);
|
|
480962
480962
|
case "policySettings":
|
|
480963
|
-
return join123(getManagedFilePath(), ".
|
|
480963
|
+
return join123(getManagedFilePath(), ".verboo", AGENT_PATHS.AGENTS_DIR);
|
|
480964
480964
|
case "localSettings":
|
|
480965
480965
|
return join123(getCwd(), AGENT_PATHS.FOLDER_NAME, AGENT_PATHS.AGENTS_DIR);
|
|
480966
480966
|
}
|
|
@@ -487624,7 +487624,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
487624
487624
|
var call62 = async () => {
|
|
487625
487625
|
return {
|
|
487626
487626
|
type: "text",
|
|
487627
|
-
value: `${"99.0.0"} (built ${"2026-05-
|
|
487627
|
+
value: `${"99.0.0"} (built ${"2026-05-08T16:31:20.862Z"})`
|
|
487628
487628
|
};
|
|
487629
487629
|
}, version2, version_default;
|
|
487630
487630
|
var init_version2 = __esm(() => {
|
|
@@ -518874,7 +518874,7 @@ function getMemoryPath(memoryType) {
|
|
|
518874
518874
|
return "";
|
|
518875
518875
|
}
|
|
518876
518876
|
function getManagedClaudeRulesDir() {
|
|
518877
|
-
return join148(getManagedFilePath(), ".
|
|
518877
|
+
return join148(getManagedFilePath(), ".verboo", "rules");
|
|
518878
518878
|
}
|
|
518879
518879
|
function getUserClaudeRulesDir() {
|
|
518880
518880
|
return join148(getClaudeConfigHomeDir(), "rules");
|
|
@@ -519781,7 +519781,7 @@ function printStartupScreen(modelOverride) {
|
|
|
519781
519781
|
const home = process.env.HOME || process.env.USERPROFILE || "";
|
|
519782
519782
|
const cwd2 = process.cwd();
|
|
519783
519783
|
const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
|
|
519784
|
-
const version3 = "0.8.
|
|
519784
|
+
const version3 = "0.8.1";
|
|
519785
519785
|
const bold2 = `${ESC3}1m`;
|
|
519786
519786
|
const PURPLE = rgb3(...ACCENT);
|
|
519787
519787
|
const SOFT = rgb3(...CREAM);
|
|
@@ -538055,7 +538055,7 @@ function AutoUpdater({
|
|
|
538055
538055
|
return;
|
|
538056
538056
|
}
|
|
538057
538057
|
if (false) {}
|
|
538058
|
-
const currentVersion = "0.8.
|
|
538058
|
+
const currentVersion = "0.8.1";
|
|
538059
538059
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
538060
538060
|
let latestVersion = await getLatestVersion(channel);
|
|
538061
538061
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -538408,17 +538408,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
538408
538408
|
const maxVersion = await getMaxVersion();
|
|
538409
538409
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
538410
538410
|
logForDebugging2(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
538411
|
-
if (gte("0.8.
|
|
538412
|
-
logForDebugging2(`PackageManagerAutoUpdater: current version ${"0.8.
|
|
538411
|
+
if (gte("0.8.1", maxVersion)) {
|
|
538412
|
+
logForDebugging2(`PackageManagerAutoUpdater: current version ${"0.8.1"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
538413
538413
|
setUpdateAvailable(false);
|
|
538414
538414
|
return;
|
|
538415
538415
|
}
|
|
538416
538416
|
latest = maxVersion;
|
|
538417
538417
|
}
|
|
538418
|
-
const hasUpdate = latest && !gte("0.8.
|
|
538418
|
+
const hasUpdate = latest && !gte("0.8.1", latest) && !shouldSkipVersion(latest);
|
|
538419
538419
|
setUpdateAvailable(!!hasUpdate);
|
|
538420
538420
|
if (hasUpdate) {
|
|
538421
|
-
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.8.
|
|
538421
|
+
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.8.1"} -> ${latest}`);
|
|
538422
538422
|
}
|
|
538423
538423
|
};
|
|
538424
538424
|
$2[0] = t1;
|
|
@@ -538452,7 +538452,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
538452
538452
|
wrap: "truncate",
|
|
538453
538453
|
children: [
|
|
538454
538454
|
"currentVersion: ",
|
|
538455
|
-
"0.8.
|
|
538455
|
+
"0.8.1"
|
|
538456
538456
|
]
|
|
538457
538457
|
}, undefined, true, undefined, this);
|
|
538458
538458
|
$2[3] = verbose;
|
|
@@ -570865,7 +570865,7 @@ function WelcomeV2() {
|
|
|
570865
570865
|
dimColor: true,
|
|
570866
570866
|
children: [
|
|
570867
570867
|
"v",
|
|
570868
|
-
"0.8.
|
|
570868
|
+
"0.8.1",
|
|
570869
570869
|
" "
|
|
570870
570870
|
]
|
|
570871
570871
|
}, undefined, true, undefined, this)
|
|
@@ -571052,7 +571052,7 @@ function WelcomeV2() {
|
|
|
571052
571052
|
dimColor: true,
|
|
571053
571053
|
children: [
|
|
571054
571054
|
"v",
|
|
571055
|
-
"0.8.
|
|
571055
|
+
"0.8.1",
|
|
571056
571056
|
" "
|
|
571057
571057
|
]
|
|
571058
571058
|
}, undefined, true, undefined, this)
|
|
@@ -571268,7 +571268,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
571268
571268
|
dimColor: true,
|
|
571269
571269
|
children: [
|
|
571270
571270
|
"v",
|
|
571271
|
-
"0.8.
|
|
571271
|
+
"0.8.1",
|
|
571272
571272
|
" "
|
|
571273
571273
|
]
|
|
571274
571274
|
}, undefined, true, undefined, this);
|
|
@@ -571477,7 +571477,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
571477
571477
|
dimColor: true,
|
|
571478
571478
|
children: [
|
|
571479
571479
|
"v",
|
|
571480
|
-
"0.8.
|
|
571480
|
+
"0.8.1",
|
|
571481
571481
|
" "
|
|
571482
571482
|
]
|
|
571483
571483
|
}, undefined, true, undefined, this);
|
|
@@ -575437,7 +575437,7 @@ function generateReservedShortcuts() {
|
|
|
575437
575437
|
function registerKeybindingsSkill() {
|
|
575438
575438
|
registerBundledSkill({
|
|
575439
575439
|
name: "keybindings-help",
|
|
575440
|
-
description: 'Use when the user wants to customize keyboard shortcuts, rebind keys, add chord bindings, or modify ~/.
|
|
575440
|
+
description: 'Use when the user wants to customize keyboard shortcuts, rebind keys, add chord bindings, or modify ~/.verboo/keybindings.json. Examples: "rebind ctrl+s", "add a chord shortcut", "change the submit key", "customize keybindings".',
|
|
575441
575441
|
allowedTools: ["Read"],
|
|
575442
575442
|
userInvocable: false,
|
|
575443
575443
|
isEnabled: isKeybindingCustomizationEnabled,
|
|
@@ -575526,11 +575526,11 @@ var init_keybindings3 = __esm(() => {
|
|
|
575526
575526
|
SECTION_INTRO = [
|
|
575527
575527
|
"# Keybindings Skill",
|
|
575528
575528
|
"",
|
|
575529
|
-
"Create or modify `~/.
|
|
575529
|
+
"Create or modify `~/.verboo/keybindings.json` to customize keyboard shortcuts.",
|
|
575530
575530
|
"",
|
|
575531
575531
|
"## CRITICAL: Read Before Write",
|
|
575532
575532
|
"",
|
|
575533
|
-
"**Always read `~/.
|
|
575533
|
+
"**Always read `~/.verboo/keybindings.json` first** (it may not exist yet). Merge changes with existing bindings — never replace the entire file.",
|
|
575534
575534
|
"",
|
|
575535
575535
|
"- Use **Edit** tool for modifications to existing files",
|
|
575536
575536
|
"- Use **Write** tool only if the file does not exist yet"
|
|
@@ -575608,7 +575608,7 @@ var init_keybindings3 = __esm(() => {
|
|
|
575608
575608
|
SECTION_DOCTOR = [
|
|
575609
575609
|
"## Validation with /doctor",
|
|
575610
575610
|
"",
|
|
575611
|
-
'The `/doctor` command includes a "Keybinding Configuration Issues" section that validates `~/.
|
|
575611
|
+
'The `/doctor` command includes a "Keybinding Configuration Issues" section that validates `~/.verboo/keybindings.json`.',
|
|
575612
575612
|
"",
|
|
575613
575613
|
"### Common Issues and Fixes",
|
|
575614
575614
|
"",
|
|
@@ -575654,7 +575654,7 @@ var init_keybindings3 = __esm(() => {
|
|
|
575654
575654
|
"",
|
|
575655
575655
|
"```",
|
|
575656
575656
|
"Keybinding Configuration Issues",
|
|
575657
|
-
"Location: ~/.
|
|
575657
|
+
"Location: ~/.verboo/keybindings.json",
|
|
575658
575658
|
' └ [Error] Unknown context "chat"',
|
|
575659
575659
|
" → Valid contexts: Global, Chat, Autocomplete, ...",
|
|
575660
575660
|
' └ [Warning] "ctrl+c" may not work: Terminal interrupt (SIGINT)',
|
|
@@ -575788,8 +575788,8 @@ ${parsed.prompt}
|
|
|
575788
575788
|
` : `This is a maintenance loop with no explicit prompt.
|
|
575789
575789
|
|
|
575790
575790
|
Determine the effective prompt in this order:
|
|
575791
|
-
1. If .
|
|
575792
|
-
2. Otherwise, if ~/.
|
|
575791
|
+
1. If .verboo/loop.md exists, read it and use it.
|
|
575792
|
+
2. Otherwise, if ~/.verboo/loop.md exists, read it and use it.
|
|
575793
575793
|
3. Otherwise, use this built-in maintenance prompt:
|
|
575794
575794
|
|
|
575795
575795
|
--- BEGIN MAINTENANCE PROMPT ---
|
|
@@ -575842,8 +575842,8 @@ function registerLoopSkill() {
|
|
|
575842
575842
|
}
|
|
575843
575843
|
var DYNAMIC_MIN_DELAY = "1 minute", DYNAMIC_MAX_DELAY = "1 hour", MAINTENANCE_PROMPT = `Scheduled maintenance loop iteration.
|
|
575844
575844
|
|
|
575845
|
-
If .
|
|
575846
|
-
Otherwise, if ~/.
|
|
575845
|
+
If .verboo/loop.md exists, read it and follow it.
|
|
575846
|
+
Otherwise, if ~/.verboo/loop.md exists, read it and follow it.
|
|
575847
575847
|
Otherwise:
|
|
575848
575848
|
- continue any unfinished work from the conversation
|
|
575849
575849
|
- tend to the current branch's pull request: review comments, failed CI runs, merge conflicts
|
|
@@ -575983,9 +575983,9 @@ Choose the appropriate file based on scope:
|
|
|
575983
575983
|
|
|
575984
575984
|
| File | Scope | Git | Use For |
|
|
575985
575985
|
|------|-------|-----|---------|
|
|
575986
|
-
| \`~/.
|
|
575987
|
-
| \`.
|
|
575988
|
-
| \`.
|
|
575986
|
+
| \`~/.verboo/settings.json\` | Global | N/A | Personal preferences for all projects |
|
|
575987
|
+
| \`.verboo/settings.json\` | Project | Commit | Team-wide hooks, permissions, plugins |
|
|
575988
|
+
| \`.verboo/settings.local.json\` | Project | Gitignore | Personal overrides for this project |
|
|
575989
575989
|
|
|
575990
575990
|
Settings load in order: user → project → local (later overrides earlier).
|
|
575991
575991
|
|
|
@@ -575995,7 +575995,7 @@ Settings load in order: user → project → local (later overrides earlier).
|
|
|
575995
575995
|
\`\`\`json
|
|
575996
575996
|
{
|
|
575997
575997
|
"permissions": {
|
|
575998
|
-
"allow": ["Bash(npm:*)", "Edit(.
|
|
575998
|
+
"allow": ["Bash(npm:*)", "Edit(.verboo)", "Read"],
|
|
575999
575999
|
"deny": ["Bash(rm -rf:*)"],
|
|
576000
576000
|
"ask": ["Write(/etc/*)"],
|
|
576001
576001
|
"defaultMode": "default" | "plan" | "acceptEdits" | "dontAsk",
|
|
@@ -576195,7 +576195,7 @@ Hooks can return JSON to control behavior:
|
|
|
576195
576195
|
"matcher": "Bash",
|
|
576196
576196
|
"hooks": [{
|
|
576197
576197
|
"type": "command",
|
|
576198
|
-
"command": "jq -r '.tool_input.command' >> ~/.
|
|
576198
|
+
"command": "jq -r '.tool_input.command' >> ~/.verboo/bash-log.txt"
|
|
576199
576199
|
}]
|
|
576200
576200
|
}]
|
|
576201
576201
|
}
|
|
@@ -576243,7 +576243,7 @@ Given an event, matcher, target file, and desired behavior, follow this flow. Ea
|
|
|
576243
576243
|
|
|
576244
576244
|
Check exit code AND side effect (file actually formatted, test actually ran). If it fails you get a real error — fix (wrong package manager? tool not installed? jq path wrong?) and retest. Once it works, wrap with \`2>/dev/null || true\` (unless the user wants a blocking check).
|
|
576245
576245
|
|
|
576246
|
-
4. **Write the JSON.** Merge into the target file (schema shape in the "Hook Structure" section above). If this creates \`.
|
|
576246
|
+
4. **Write the JSON.** Merge into the target file (schema shape in the "Hook Structure" section above). If this creates \`.verboo/settings.local.json\` for the first time, add it to .gitignore — the Write tool doesn't auto-gitignore it.
|
|
576247
576247
|
|
|
576248
576248
|
5. **Validate syntax + schema in one shot:**
|
|
576249
576249
|
|
|
@@ -576257,7 +576257,7 @@ Given an event, matcher, target file, and desired behavior, follow this flow. Ea
|
|
|
576257
576257
|
|
|
576258
576258
|
**Always clean up** — revert the violation, strip the sentinel prefix — whether the proof passed or failed.
|
|
576259
576259
|
|
|
576260
|
-
**If proof fails but pipe-test passed and \`jq -e\` passed**: the settings watcher isn't watching \`.
|
|
576260
|
+
**If proof fails but pipe-test passed and \`jq -e\` passed**: the settings watcher isn't watching \`.verboo/\` — it only watches directories that had a settings file when this session started. The hook is written correctly. Tell the user to open \`/hooks\` once (reloads config) or restart — you can't do this yourself; \`/hooks\` is a user UI menu and opening it ends this turn.
|
|
576261
576261
|
|
|
576262
576262
|
7. **Handoff.** Tell the user the hook is live (or needs \`/hooks\`/restart per the watcher caveat). Point them at \`/hooks\` to review, edit, or disable it later. The UI only shows "Ran N hooks" if a hook errors or is slow — silent success is invisible by design.
|
|
576263
576263
|
`, UPDATE_CONFIG_PROMPT;
|
|
@@ -576330,7 +576330,7 @@ When adding to permission arrays or hook arrays, **merge with existing**, don't
|
|
|
576330
576330
|
"permissions": {
|
|
576331
576331
|
"allow": [
|
|
576332
576332
|
"Bash(git:*)", // existing
|
|
576333
|
-
"Edit(.
|
|
576333
|
+
"Edit(.verboo)", // existing
|
|
576334
576334
|
"Bash(npm:*)" // new
|
|
576335
576335
|
]
|
|
576336
576336
|
}
|
|
@@ -576350,7 +576350,7 @@ ${HOOK_VERIFICATION_FLOW}
|
|
|
576350
576350
|
User: "Format my code after Claude writes it"
|
|
576351
576351
|
|
|
576352
576352
|
1. **Clarify**: Which formatter? (prettier, gofmt, etc.)
|
|
576353
|
-
2. **Read**: \`.
|
|
576353
|
+
2. **Read**: \`.verboo/settings.json\` (or create if missing)
|
|
576354
576354
|
3. **Merge**: Add to existing hooks, don't replace
|
|
576355
576355
|
4. **Result**:
|
|
576356
576356
|
\`\`\`json
|
|
@@ -576396,7 +576396,7 @@ User: "Set DEBUG=true"
|
|
|
576396
576396
|
## Troubleshooting Hooks
|
|
576397
576397
|
|
|
576398
576398
|
If a hook isn't running:
|
|
576399
|
-
1. **Check the settings file** - Read ~/.
|
|
576399
|
+
1. **Check the settings file** - Read ~/.verboo/settings.json or .verboo/settings.json
|
|
576400
576400
|
2. **Verify JSON syntax** - Invalid JSON silently fails
|
|
576401
576401
|
3. **Check the matcher** - Does it match the tool name? (e.g., "Bash", "Write", "Edit")
|
|
576402
576402
|
4. **Check hook type** - Is it "command", "prompt", or "agent"?
|
|
@@ -588848,7 +588848,7 @@ __export(exports_update, {
|
|
|
588848
588848
|
async function update() {
|
|
588849
588849
|
if (getAPIProvider() !== "firstParty") {
|
|
588850
588850
|
writeToStdout(source_default.yellow(`Auto-update is not available for third-party provider builds.
|
|
588851
|
-
`) + `Current version: ${"0.8.
|
|
588851
|
+
`) + `Current version: ${"0.8.1"}
|
|
588852
588852
|
|
|
588853
588853
|
` + `To update, reinstall from npm:
|
|
588854
588854
|
` + source_default.bold(` npm install -g ${"@verboo/code"}@latest`) + `
|
|
@@ -588859,7 +588859,7 @@ async function update() {
|
|
|
588859
588859
|
await gracefulShutdown(0);
|
|
588860
588860
|
}
|
|
588861
588861
|
logEvent("tengu_update_check", {});
|
|
588862
|
-
writeToStdout(`Current version: ${"0.8.
|
|
588862
|
+
writeToStdout(`Current version: ${"0.8.1"}
|
|
588863
588863
|
`);
|
|
588864
588864
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
588865
588865
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -588944,8 +588944,8 @@ async function update() {
|
|
|
588944
588944
|
writeToStdout(`Verboo Code is managed by Homebrew.
|
|
588945
588945
|
`);
|
|
588946
588946
|
const latest = await getLatestVersion(channel);
|
|
588947
|
-
if (latest && !gte("0.8.
|
|
588948
|
-
writeToStdout(`Update available: ${"0.8.
|
|
588947
|
+
if (latest && !gte("0.8.1", latest)) {
|
|
588948
|
+
writeToStdout(`Update available: ${"0.8.1"} → ${latest}
|
|
588949
588949
|
`);
|
|
588950
588950
|
writeToStdout(`
|
|
588951
588951
|
`);
|
|
@@ -588961,8 +588961,8 @@ async function update() {
|
|
|
588961
588961
|
writeToStdout(`Verboo Code is managed by winget.
|
|
588962
588962
|
`);
|
|
588963
588963
|
const latest = await getLatestVersion(channel);
|
|
588964
|
-
if (latest && !gte("0.8.
|
|
588965
|
-
writeToStdout(`Update available: ${"0.8.
|
|
588964
|
+
if (latest && !gte("0.8.1", latest)) {
|
|
588965
|
+
writeToStdout(`Update available: ${"0.8.1"} → ${latest}
|
|
588966
588966
|
`);
|
|
588967
588967
|
writeToStdout(`
|
|
588968
588968
|
`);
|
|
@@ -588978,8 +588978,8 @@ async function update() {
|
|
|
588978
588978
|
writeToStdout(`Verboo Code is managed by apk.
|
|
588979
588979
|
`);
|
|
588980
588980
|
const latest = await getLatestVersion(channel);
|
|
588981
|
-
if (latest && !gte("0.8.
|
|
588982
|
-
writeToStdout(`Update available: ${"0.8.
|
|
588981
|
+
if (latest && !gte("0.8.1", latest)) {
|
|
588982
|
+
writeToStdout(`Update available: ${"0.8.1"} → ${latest}
|
|
588983
588983
|
`);
|
|
588984
588984
|
writeToStdout(`
|
|
588985
588985
|
`);
|
|
@@ -589044,11 +589044,11 @@ async function update() {
|
|
|
589044
589044
|
`);
|
|
589045
589045
|
await gracefulShutdown(1);
|
|
589046
589046
|
}
|
|
589047
|
-
if (result.latestVersion === "0.8.
|
|
589048
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.8.
|
|
589047
|
+
if (result.latestVersion === "0.8.1") {
|
|
589048
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.8.1"})`) + `
|
|
589049
589049
|
`);
|
|
589050
589050
|
} else {
|
|
589051
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.8.
|
|
589051
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.8.1"} to version ${result.latestVersion}`) + `
|
|
589052
589052
|
`);
|
|
589053
589053
|
await regenerateCompletionCache();
|
|
589054
589054
|
}
|
|
@@ -589108,12 +589108,12 @@ async function update() {
|
|
|
589108
589108
|
`);
|
|
589109
589109
|
await gracefulShutdown(1);
|
|
589110
589110
|
}
|
|
589111
|
-
if (latestVersion === "0.8.
|
|
589112
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.8.
|
|
589111
|
+
if (latestVersion === "0.8.1") {
|
|
589112
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.8.1"})`) + `
|
|
589113
589113
|
`);
|
|
589114
589114
|
await gracefulShutdown(0);
|
|
589115
589115
|
}
|
|
589116
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.8.
|
|
589116
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.8.1"})
|
|
589117
589117
|
`);
|
|
589118
589118
|
writeToStdout(`Installing update...
|
|
589119
589119
|
`);
|
|
@@ -589158,7 +589158,7 @@ async function update() {
|
|
|
589158
589158
|
logForDebugging2(`update: Installation status: ${status2}`);
|
|
589159
589159
|
switch (status2) {
|
|
589160
589160
|
case "success":
|
|
589161
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.8.
|
|
589161
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.8.1"} to version ${latestVersion}`) + `
|
|
589162
589162
|
`);
|
|
589163
589163
|
await regenerateCompletionCache();
|
|
589164
589164
|
break;
|
|
@@ -590418,7 +590418,7 @@ ${customInstructions}` : customInstructions;
|
|
|
590418
590418
|
is_native_binary: isInBundledMode()
|
|
590419
590419
|
});
|
|
590420
590420
|
logMemoryDiagnostics("start", {
|
|
590421
|
-
version: "0.8.
|
|
590421
|
+
version: "0.8.1",
|
|
590422
590422
|
debug: debug2,
|
|
590423
590423
|
debugToStderr,
|
|
590424
590424
|
print: print ?? false,
|
|
@@ -591224,7 +591224,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
591224
591224
|
pendingHookMessages
|
|
591225
591225
|
}, renderAndRun);
|
|
591226
591226
|
}
|
|
591227
|
-
}).version(`0.8.
|
|
591227
|
+
}).version(`0.8.1 (${cliDesc})`, "-v, --version", "Output the version number");
|
|
591228
591228
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
591229
591229
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
591230
591230
|
if (canUserConfigureAdvisor()) {
|
|
@@ -591798,7 +591798,7 @@ if (false) {}
|
|
|
591798
591798
|
async function main2() {
|
|
591799
591799
|
const args = process.argv.slice(2);
|
|
591800
591800
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
591801
|
-
console.log(`${"0.8.
|
|
591801
|
+
console.log(`${"0.8.1"} (Verboo Code)`);
|
|
591802
591802
|
return;
|
|
591803
591803
|
}
|
|
591804
591804
|
if (!IS_VERBOO_CLI && args.includes("--provider")) {
|
|
@@ -591963,4 +591963,4 @@ async function main2() {
|
|
|
591963
591963
|
}
|
|
591964
591964
|
main2();
|
|
591965
591965
|
|
|
591966
|
-
//# debugId=
|
|
591966
|
+
//# debugId=03D6B4CDFBA5D7B464756E2164756E21
|