@verboo/code 0.8.4 → 0.8.7
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 +70 -50
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -389823,6 +389823,32 @@ async function* queryLoop(params, consumedCommandUuids) {
|
|
|
389823
389823
|
}
|
|
389824
389824
|
}
|
|
389825
389825
|
}
|
|
389826
|
+
{
|
|
389827
|
+
const lastAssistantForDiag = assistantMessages.at(-1);
|
|
389828
|
+
const lastTextForDiag = lastAssistantForDiag?.type === "assistant" ? lastAssistantForDiag.message.content.filter((b) => b.type === "text").map((b) => b.text).join(" ") : "";
|
|
389829
|
+
const lastTextLower = lastTextForDiag.toLowerCase();
|
|
389830
|
+
const completionMarkersDiag = /\b(done|finished|completed|complete|summary|that's all|that is all|all set|hope this helps|let me know if)\b/;
|
|
389831
|
+
const continuationSignalsDiag = [
|
|
389832
|
+
/\bso now (i|let me|we) (need to|have to|should|must|will) (do|create|write|edit|update|fix|implement|add|run|check|make|build|set up)\b/,
|
|
389833
|
+
/\bnow i('ll| will) (do|create|write|edit|update|fix|implement|add|run|check|make|build|set up|go|proceed)\b/,
|
|
389834
|
+
/\blet me (go ahead and |now )?(do|create|write|edit|update|fix|implement|add|run|check|make|build|set up|proceed)\b/,
|
|
389835
|
+
/\b(i('ll| will| need to| have to| must) (now )?(do|create|write|edit|update|fix|implement|add|run|check|make|build|set up))\b/,
|
|
389836
|
+
/\btime to (do|create|write|edit|update|fix|implement|add|run|check|make|build|get started|begin)\b/,
|
|
389837
|
+
/\bnext,?\s+(i('ll| will)|let me|i need to) (do|create|write|edit|update|fix|implement|add|run|check|make|build)\b/
|
|
389838
|
+
];
|
|
389839
|
+
logForDebugging2(JSON.stringify({
|
|
389840
|
+
type: "silent_stop_diagnostic",
|
|
389841
|
+
turnCount,
|
|
389842
|
+
continuationNudgeCount: state2.continuationNudgeCount,
|
|
389843
|
+
maxContinuationNudges: MAX_CONTINUATION_NUDGES,
|
|
389844
|
+
assistantMessagesCount: assistantMessages.length,
|
|
389845
|
+
hasAssistantText: lastTextForDiag.length > 0,
|
|
389846
|
+
textLength: lastTextForDiag.length,
|
|
389847
|
+
textPreview: lastTextForDiag.slice(-500),
|
|
389848
|
+
matchedCompletionMarker: completionMarkersDiag.test(lastTextLower),
|
|
389849
|
+
matchedContinuationSignal: continuationSignalsDiag.some((re) => re.test(lastTextLower))
|
|
389850
|
+
}), { level: "warn" });
|
|
389851
|
+
}
|
|
389826
389852
|
return { reason: "completed" };
|
|
389827
389853
|
}
|
|
389828
389854
|
let shouldPreventContinuation = false;
|
|
@@ -390136,7 +390162,7 @@ function getAnthropicEnvMetadata() {
|
|
|
390136
390162
|
function getBuildAgeMinutes() {
|
|
390137
390163
|
if (false)
|
|
390138
390164
|
;
|
|
390139
|
-
const buildTime = new Date("2026-05-
|
|
390165
|
+
const buildTime = new Date("2026-05-12T16:51:30.966Z").getTime();
|
|
390140
390166
|
if (isNaN(buildTime))
|
|
390141
390167
|
return;
|
|
390142
390168
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -418257,7 +418283,7 @@ function buildPrimarySection() {
|
|
|
418257
418283
|
}, undefined, false, undefined, this);
|
|
418258
418284
|
return [{
|
|
418259
418285
|
label: "Version",
|
|
418260
|
-
value: "0.8.
|
|
418286
|
+
value: "0.8.7"
|
|
418261
418287
|
}, {
|
|
418262
418288
|
label: "Session name",
|
|
418263
418289
|
value: nameValue
|
|
@@ -432552,7 +432578,7 @@ function getReleaseTagUrl(version2 = publicBuildVersion) {
|
|
|
432552
432578
|
return `${VERBOO_RELEASES_URL}/tag/v${normalizePublicVersion(version2)}`;
|
|
432553
432579
|
}
|
|
432554
432580
|
function getPublicBuildVersion() {
|
|
432555
|
-
return "0.8.
|
|
432581
|
+
return "0.8.7";
|
|
432556
432582
|
}
|
|
432557
432583
|
var import_semver10, VERBOO_RELEASES_URL = "https://github.com/verbeux-ai/code/releases", fallbackBuildVersion, publicBuildVersion;
|
|
432558
432584
|
var init_version = __esm(() => {
|
|
@@ -487648,7 +487674,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
487648
487674
|
var call62 = async () => {
|
|
487649
487675
|
return {
|
|
487650
487676
|
type: "text",
|
|
487651
|
-
value: `${"99.0.0"} (built ${"2026-05-
|
|
487677
|
+
value: `${"99.0.0"} (built ${"2026-05-12T16:51:30.966Z"})`
|
|
487652
487678
|
};
|
|
487653
487679
|
}, version2, version_default;
|
|
487654
487680
|
var init_version2 = __esm(() => {
|
|
@@ -519805,7 +519831,7 @@ function printStartupScreen(modelOverride) {
|
|
|
519805
519831
|
const home = process.env.HOME || process.env.USERPROFILE || "";
|
|
519806
519832
|
const cwd2 = process.cwd();
|
|
519807
519833
|
const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
|
|
519808
|
-
const version3 = "0.8.
|
|
519834
|
+
const version3 = "0.8.7";
|
|
519809
519835
|
const bold2 = `${ESC3}1m`;
|
|
519810
519836
|
const PURPLE = rgb3(...ACCENT);
|
|
519811
519837
|
const SOFT = rgb3(...CREAM);
|
|
@@ -538079,7 +538105,7 @@ function AutoUpdater({
|
|
|
538079
538105
|
return;
|
|
538080
538106
|
}
|
|
538081
538107
|
if (false) {}
|
|
538082
|
-
const currentVersion = "0.8.
|
|
538108
|
+
const currentVersion = "0.8.7";
|
|
538083
538109
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
538084
538110
|
let latestVersion = await getLatestVersion(channel);
|
|
538085
538111
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -538432,17 +538458,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
538432
538458
|
const maxVersion = await getMaxVersion();
|
|
538433
538459
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
538434
538460
|
logForDebugging2(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
538435
|
-
if (gte("0.8.
|
|
538436
|
-
logForDebugging2(`PackageManagerAutoUpdater: current version ${"0.8.
|
|
538461
|
+
if (gte("0.8.7", maxVersion)) {
|
|
538462
|
+
logForDebugging2(`PackageManagerAutoUpdater: current version ${"0.8.7"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
538437
538463
|
setUpdateAvailable(false);
|
|
538438
538464
|
return;
|
|
538439
538465
|
}
|
|
538440
538466
|
latest = maxVersion;
|
|
538441
538467
|
}
|
|
538442
|
-
const hasUpdate = latest && !gte("0.8.
|
|
538468
|
+
const hasUpdate = latest && !gte("0.8.7", latest) && !shouldSkipVersion(latest);
|
|
538443
538469
|
setUpdateAvailable(!!hasUpdate);
|
|
538444
538470
|
if (hasUpdate) {
|
|
538445
|
-
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.8.
|
|
538471
|
+
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.8.7"} -> ${latest}`);
|
|
538446
538472
|
}
|
|
538447
538473
|
};
|
|
538448
538474
|
$2[0] = t1;
|
|
@@ -538476,7 +538502,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
538476
538502
|
wrap: "truncate",
|
|
538477
538503
|
children: [
|
|
538478
538504
|
"currentVersion: ",
|
|
538479
|
-
"0.8.
|
|
538505
|
+
"0.8.7"
|
|
538480
538506
|
]
|
|
538481
538507
|
}, undefined, true, undefined, this);
|
|
538482
538508
|
$2[3] = verbose;
|
|
@@ -551089,7 +551115,7 @@ function PromptInput({
|
|
|
551089
551115
|
columns,
|
|
551090
551116
|
rows
|
|
551091
551117
|
} = useTerminalSize();
|
|
551092
|
-
const textInputColumns = columns -
|
|
551118
|
+
const textInputColumns = columns - 5 - companionReservedColumns(columns, companionSpeaking);
|
|
551093
551119
|
const maxVisibleLines = isFullscreenEnvEnabled() ? Math.max(MIN_INPUT_VIEWPORT_LINES, Math.floor(rows / 2) - PROMPT_FOOTER_LINES) : undefined;
|
|
551094
551120
|
const handleInputClick = import_react257.useCallback((e2) => {
|
|
551095
551121
|
if (!input || isSearchingHistory)
|
|
@@ -551441,18 +551467,16 @@ function PromptInput({
|
|
|
551441
551467
|
}, undefined, false, undefined, this)
|
|
551442
551468
|
]
|
|
551443
551469
|
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime434.jsxDEV(ThemedBox_default, {
|
|
551444
|
-
flexDirection: "column",
|
|
551445
551470
|
width: "100%",
|
|
551446
|
-
children:
|
|
551447
|
-
|
|
551448
|
-
|
|
551449
|
-
|
|
551450
|
-
|
|
551451
|
-
/* @__PURE__ */ jsx_dev_runtime434.jsxDEV(ThemedBox_default, {
|
|
551471
|
+
children: /* @__PURE__ */ jsx_dev_runtime434.jsxDEV(ThemedBox_default, {
|
|
551472
|
+
borderStyle: "round",
|
|
551473
|
+
borderColor: getBorderColor(),
|
|
551474
|
+
paddingLeft: 1,
|
|
551475
|
+
width: "100%",
|
|
551476
|
+
children: /* @__PURE__ */ jsx_dev_runtime434.jsxDEV(ThemedBox_default, {
|
|
551452
551477
|
flexDirection: "row",
|
|
551453
551478
|
alignItems: "flex-start",
|
|
551454
551479
|
justifyContent: "flex-start",
|
|
551455
|
-
backgroundColor: "rgb(45,45,45)",
|
|
551456
551480
|
children: [
|
|
551457
551481
|
/* @__PURE__ */ jsx_dev_runtime434.jsxDEV(PromptInputModeIndicator, {
|
|
551458
551482
|
mode,
|
|
@@ -551479,13 +551503,9 @@ function PromptInput({
|
|
|
551479
551503
|
children: textInputElement
|
|
551480
551504
|
}, undefined, false, undefined, this)
|
|
551481
551505
|
]
|
|
551482
|
-
}, undefined, true, undefined, this)
|
|
551483
|
-
|
|
551484
|
-
|
|
551485
|
-
children: "▀".repeat(columns)
|
|
551486
|
-
}, undefined, false, undefined, this)
|
|
551487
|
-
]
|
|
551488
|
-
}, undefined, true, undefined, this),
|
|
551506
|
+
}, undefined, true, undefined, this)
|
|
551507
|
+
}, undefined, false, undefined, this)
|
|
551508
|
+
}, undefined, false, undefined, this),
|
|
551489
551509
|
/* @__PURE__ */ jsx_dev_runtime434.jsxDEV(PromptInputFooter_default, {
|
|
551490
551510
|
apiKeyStatus,
|
|
551491
551511
|
debug,
|
|
@@ -570889,7 +570909,7 @@ function WelcomeV2() {
|
|
|
570889
570909
|
dimColor: true,
|
|
570890
570910
|
children: [
|
|
570891
570911
|
"v",
|
|
570892
|
-
"0.8.
|
|
570912
|
+
"0.8.7",
|
|
570893
570913
|
" "
|
|
570894
570914
|
]
|
|
570895
570915
|
}, undefined, true, undefined, this)
|
|
@@ -571076,7 +571096,7 @@ function WelcomeV2() {
|
|
|
571076
571096
|
dimColor: true,
|
|
571077
571097
|
children: [
|
|
571078
571098
|
"v",
|
|
571079
|
-
"0.8.
|
|
571099
|
+
"0.8.7",
|
|
571080
571100
|
" "
|
|
571081
571101
|
]
|
|
571082
571102
|
}, undefined, true, undefined, this)
|
|
@@ -571292,7 +571312,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
571292
571312
|
dimColor: true,
|
|
571293
571313
|
children: [
|
|
571294
571314
|
"v",
|
|
571295
|
-
"0.8.
|
|
571315
|
+
"0.8.7",
|
|
571296
571316
|
" "
|
|
571297
571317
|
]
|
|
571298
571318
|
}, undefined, true, undefined, this);
|
|
@@ -571501,7 +571521,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
571501
571521
|
dimColor: true,
|
|
571502
571522
|
children: [
|
|
571503
571523
|
"v",
|
|
571504
|
-
"0.8.
|
|
571524
|
+
"0.8.7",
|
|
571505
571525
|
" "
|
|
571506
571526
|
]
|
|
571507
571527
|
}, undefined, true, undefined, this);
|
|
@@ -588872,7 +588892,7 @@ __export(exports_update, {
|
|
|
588872
588892
|
async function update() {
|
|
588873
588893
|
if (getAPIProvider() !== "firstParty") {
|
|
588874
588894
|
writeToStdout(source_default.yellow(`Auto-update is not available for third-party provider builds.
|
|
588875
|
-
`) + `Current version: ${"0.8.
|
|
588895
|
+
`) + `Current version: ${"0.8.7"}
|
|
588876
588896
|
|
|
588877
588897
|
` + `To update, reinstall from npm:
|
|
588878
588898
|
` + source_default.bold(` npm install -g ${"@verboo/code"}@latest`) + `
|
|
@@ -588883,7 +588903,7 @@ async function update() {
|
|
|
588883
588903
|
await gracefulShutdown(0);
|
|
588884
588904
|
}
|
|
588885
588905
|
logEvent("tengu_update_check", {});
|
|
588886
|
-
writeToStdout(`Current version: ${"0.8.
|
|
588906
|
+
writeToStdout(`Current version: ${"0.8.7"}
|
|
588887
588907
|
`);
|
|
588888
588908
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
588889
588909
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -588968,8 +588988,8 @@ async function update() {
|
|
|
588968
588988
|
writeToStdout(`Verboo Code is managed by Homebrew.
|
|
588969
588989
|
`);
|
|
588970
588990
|
const latest = await getLatestVersion(channel);
|
|
588971
|
-
if (latest && !gte("0.8.
|
|
588972
|
-
writeToStdout(`Update available: ${"0.8.
|
|
588991
|
+
if (latest && !gte("0.8.7", latest)) {
|
|
588992
|
+
writeToStdout(`Update available: ${"0.8.7"} → ${latest}
|
|
588973
588993
|
`);
|
|
588974
588994
|
writeToStdout(`
|
|
588975
588995
|
`);
|
|
@@ -588985,8 +589005,8 @@ async function update() {
|
|
|
588985
589005
|
writeToStdout(`Verboo Code is managed by winget.
|
|
588986
589006
|
`);
|
|
588987
589007
|
const latest = await getLatestVersion(channel);
|
|
588988
|
-
if (latest && !gte("0.8.
|
|
588989
|
-
writeToStdout(`Update available: ${"0.8.
|
|
589008
|
+
if (latest && !gte("0.8.7", latest)) {
|
|
589009
|
+
writeToStdout(`Update available: ${"0.8.7"} → ${latest}
|
|
588990
589010
|
`);
|
|
588991
589011
|
writeToStdout(`
|
|
588992
589012
|
`);
|
|
@@ -589002,8 +589022,8 @@ async function update() {
|
|
|
589002
589022
|
writeToStdout(`Verboo Code is managed by apk.
|
|
589003
589023
|
`);
|
|
589004
589024
|
const latest = await getLatestVersion(channel);
|
|
589005
|
-
if (latest && !gte("0.8.
|
|
589006
|
-
writeToStdout(`Update available: ${"0.8.
|
|
589025
|
+
if (latest && !gte("0.8.7", latest)) {
|
|
589026
|
+
writeToStdout(`Update available: ${"0.8.7"} → ${latest}
|
|
589007
589027
|
`);
|
|
589008
589028
|
writeToStdout(`
|
|
589009
589029
|
`);
|
|
@@ -589068,11 +589088,11 @@ async function update() {
|
|
|
589068
589088
|
`);
|
|
589069
589089
|
await gracefulShutdown(1);
|
|
589070
589090
|
}
|
|
589071
|
-
if (result.latestVersion === "0.8.
|
|
589072
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.8.
|
|
589091
|
+
if (result.latestVersion === "0.8.7") {
|
|
589092
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.8.7"})`) + `
|
|
589073
589093
|
`);
|
|
589074
589094
|
} else {
|
|
589075
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.8.
|
|
589095
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.8.7"} to version ${result.latestVersion}`) + `
|
|
589076
589096
|
`);
|
|
589077
589097
|
await regenerateCompletionCache();
|
|
589078
589098
|
}
|
|
@@ -589132,12 +589152,12 @@ async function update() {
|
|
|
589132
589152
|
`);
|
|
589133
589153
|
await gracefulShutdown(1);
|
|
589134
589154
|
}
|
|
589135
|
-
if (latestVersion === "0.8.
|
|
589136
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.8.
|
|
589155
|
+
if (latestVersion === "0.8.7") {
|
|
589156
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.8.7"})`) + `
|
|
589137
589157
|
`);
|
|
589138
589158
|
await gracefulShutdown(0);
|
|
589139
589159
|
}
|
|
589140
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.8.
|
|
589160
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.8.7"})
|
|
589141
589161
|
`);
|
|
589142
589162
|
writeToStdout(`Installing update...
|
|
589143
589163
|
`);
|
|
@@ -589182,7 +589202,7 @@ async function update() {
|
|
|
589182
589202
|
logForDebugging2(`update: Installation status: ${status2}`);
|
|
589183
589203
|
switch (status2) {
|
|
589184
589204
|
case "success":
|
|
589185
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.8.
|
|
589205
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.8.7"} to version ${latestVersion}`) + `
|
|
589186
589206
|
`);
|
|
589187
589207
|
await regenerateCompletionCache();
|
|
589188
589208
|
break;
|
|
@@ -590442,7 +590462,7 @@ ${customInstructions}` : customInstructions;
|
|
|
590442
590462
|
is_native_binary: isInBundledMode()
|
|
590443
590463
|
});
|
|
590444
590464
|
logMemoryDiagnostics("start", {
|
|
590445
|
-
version: "0.8.
|
|
590465
|
+
version: "0.8.7",
|
|
590446
590466
|
debug: debug2,
|
|
590447
590467
|
debugToStderr,
|
|
590448
590468
|
print: print ?? false,
|
|
@@ -591248,7 +591268,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
591248
591268
|
pendingHookMessages
|
|
591249
591269
|
}, renderAndRun);
|
|
591250
591270
|
}
|
|
591251
|
-
}).version(`0.8.
|
|
591271
|
+
}).version(`0.8.7 (${cliDesc})`, "-v, --version", "Output the version number");
|
|
591252
591272
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
591253
591273
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
591254
591274
|
if (canUserConfigureAdvisor()) {
|
|
@@ -591822,7 +591842,7 @@ if (false) {}
|
|
|
591822
591842
|
async function main2() {
|
|
591823
591843
|
const args = process.argv.slice(2);
|
|
591824
591844
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
591825
|
-
console.log(`${"0.8.
|
|
591845
|
+
console.log(`${"0.8.7"} (Verboo Code)`);
|
|
591826
591846
|
return;
|
|
591827
591847
|
}
|
|
591828
591848
|
if (!IS_VERBOO_CLI && args.includes("--provider")) {
|
|
@@ -591987,4 +592007,4 @@ async function main2() {
|
|
|
591987
592007
|
}
|
|
591988
592008
|
main2();
|
|
591989
592009
|
|
|
591990
|
-
//# debugId=
|
|
592010
|
+
//# debugId=858C122152A1A60464756E2164756E21
|