@verboo/code 0.15.6 → 0.15.8
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 +173 -89
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -87624,7 +87624,7 @@ var require_eventsource = __commonJS((exports, module) => {
|
|
|
87624
87624
|
|
|
87625
87625
|
// node_modules/undici/index.js
|
|
87626
87626
|
var require_undici = __commonJS((exports, module) => {
|
|
87627
|
-
var __filename = "/
|
|
87627
|
+
var __filename = "/home/runner/work/code/code/node_modules/undici/index.js";
|
|
87628
87628
|
var Client = require_client();
|
|
87629
87629
|
var Dispatcher = require_dispatcher();
|
|
87630
87630
|
var Pool = require_pool();
|
|
@@ -98956,7 +98956,7 @@ var require_es5 = __commonJS((exports, module) => {
|
|
|
98956
98956
|
|
|
98957
98957
|
// node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js
|
|
98958
98958
|
var require_client3 = __commonJS((exports) => {
|
|
98959
|
-
var __dirname = "/
|
|
98959
|
+
var __dirname = "/home/runner/work/code/code/node_modules/@aws-sdk/core/dist-cjs/submodules/client";
|
|
98960
98960
|
var retry = require_retry3();
|
|
98961
98961
|
var protocols = require_protocols();
|
|
98962
98962
|
var lambdaInvokeStore = require_invoke_store();
|
|
@@ -117992,7 +117992,7 @@ function getClaudeCodeUserAgent() {
|
|
|
117992
117992
|
return `claude-code/${"99.0.0"}`;
|
|
117993
117993
|
}
|
|
117994
117994
|
function getVerbooCodeUserAgent() {
|
|
117995
|
-
const version2 = "0.15.
|
|
117995
|
+
const version2 = "0.15.8";
|
|
117996
117996
|
return `verboo-code/${version2}`;
|
|
117997
117997
|
}
|
|
117998
117998
|
|
|
@@ -178248,7 +178248,7 @@ async function codesignRipgrepIfNecessary() {
|
|
|
178248
178248
|
logError2(e);
|
|
178249
178249
|
}
|
|
178250
178250
|
}
|
|
178251
|
-
var __dirname = "/
|
|
178251
|
+
var __dirname = "/home/runner/work/code/code/src/utils", getRipgrepConfig, MAX_BUFFER_SIZE = 20000000, RipgrepTimeoutError, RipgrepUnavailableError, countFilesRoundedRg, ripgrepStatus = null, testRipgrepOnFirstUse, alreadyDoneSignCheck = false;
|
|
178252
178252
|
var init_ripgrep = __esm(() => {
|
|
178253
178253
|
init_memoize();
|
|
178254
178254
|
init_debug();
|
|
@@ -390235,7 +390235,7 @@ function getAnthropicEnvMetadata() {
|
|
|
390235
390235
|
function getBuildAgeMinutes() {
|
|
390236
390236
|
if (false)
|
|
390237
390237
|
;
|
|
390238
|
-
const buildTime = new Date("2026-08-
|
|
390238
|
+
const buildTime = new Date("2026-08-08T20:16:10.186Z").getTime();
|
|
390239
390239
|
if (isNaN(buildTime))
|
|
390240
390240
|
return;
|
|
390241
390241
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -431923,7 +431923,7 @@ function buildPrimarySection() {
|
|
|
431923
431923
|
});
|
|
431924
431924
|
return [{
|
|
431925
431925
|
label: "Version",
|
|
431926
|
-
value: "0.15.
|
|
431926
|
+
value: "0.15.8"
|
|
431927
431927
|
}, {
|
|
431928
431928
|
label: "Session name",
|
|
431929
431929
|
value: nameValue
|
|
@@ -445809,7 +445809,7 @@ function getReleaseTagUrl(version2 = publicBuildVersion) {
|
|
|
445809
445809
|
return `${VERBOO_RELEASES_URL}/tag/v${normalizePublicVersion(version2)}`;
|
|
445810
445810
|
}
|
|
445811
445811
|
function getPublicBuildVersion() {
|
|
445812
|
-
return "0.15.
|
|
445812
|
+
return "0.15.8";
|
|
445813
445813
|
}
|
|
445814
445814
|
var import_semver10, VERBOO_RELEASES_URL = "https://github.com/verbeux-ai/code/releases", fallbackBuildVersion, publicBuildVersion;
|
|
445815
445815
|
var init_version = __esm(() => {
|
|
@@ -497203,7 +497203,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
497203
497203
|
var call66 = async () => {
|
|
497204
497204
|
return {
|
|
497205
497205
|
type: "text",
|
|
497206
|
-
value: `${"99.0.0"} (built ${"2026-08-
|
|
497206
|
+
value: `${"99.0.0"} (built ${"2026-08-08T20:16:10.186Z"})`
|
|
497207
497207
|
};
|
|
497208
497208
|
}, version2, version_default;
|
|
497209
497209
|
var init_version2 = __esm(() => {
|
|
@@ -521258,6 +521258,46 @@ function extractArgsAfterDoubleDash(commandOrValue, args = []) {
|
|
|
521258
521258
|
return { command: commandOrValue, args };
|
|
521259
521259
|
}
|
|
521260
521260
|
|
|
521261
|
+
// src/utils/model/activeModelIdentity.ts
|
|
521262
|
+
function comparableModelId(modelId) {
|
|
521263
|
+
return modelId.trim().replace(/\[1m\]$/i, "").trim();
|
|
521264
|
+
}
|
|
521265
|
+
function catalogContains(catalog2, modelId) {
|
|
521266
|
+
return catalog2?.some((model2) => model2.id === modelId) === true;
|
|
521267
|
+
}
|
|
521268
|
+
function classifyActiveModelProvider(modelId, catalogs) {
|
|
521269
|
+
const comparable = comparableModelId(modelId);
|
|
521270
|
+
if (catalogContains(catalogs.verboo, comparable))
|
|
521271
|
+
return "Verboo";
|
|
521272
|
+
if (catalogContains(catalogs.codex, comparable))
|
|
521273
|
+
return "Codex";
|
|
521274
|
+
if (catalogContains(catalogs.claude, comparable))
|
|
521275
|
+
return "Claude";
|
|
521276
|
+
if (/(?:^|[-_/])(claude|sonnet|opus|haiku)(?:$|[-_/])/i.test(comparable)) {
|
|
521277
|
+
return "Claude";
|
|
521278
|
+
}
|
|
521279
|
+
if (/^(?:gpt-|o\d)|(?:^|[-_/])codex(?:$|[-_/])/i.test(comparable)) {
|
|
521280
|
+
return "Codex";
|
|
521281
|
+
}
|
|
521282
|
+
return "Verboo";
|
|
521283
|
+
}
|
|
521284
|
+
function getActiveModelIdentity(modelId) {
|
|
521285
|
+
const model2 = modelId.trim();
|
|
521286
|
+
return {
|
|
521287
|
+
provider: classifyActiveModelProvider(model2, {
|
|
521288
|
+
verboo: getCachedVerbooModels(),
|
|
521289
|
+
codex: getCachedCodexModels(),
|
|
521290
|
+
claude: getCachedClaudeNativeModels()
|
|
521291
|
+
}),
|
|
521292
|
+
model: model2
|
|
521293
|
+
};
|
|
521294
|
+
}
|
|
521295
|
+
var init_activeModelIdentity = __esm(() => {
|
|
521296
|
+
init_claudeNativeModels();
|
|
521297
|
+
init_codexModels();
|
|
521298
|
+
init_verbooModels();
|
|
521299
|
+
});
|
|
521300
|
+
|
|
521261
521301
|
// src/components/StartupScreen.ts
|
|
521262
521302
|
var exports_StartupScreen = {};
|
|
521263
521303
|
__export(exports_StartupScreen, {
|
|
@@ -521266,32 +521306,39 @@ __export(exports_StartupScreen, {
|
|
|
521266
521306
|
detectProvider: () => detectProvider
|
|
521267
521307
|
});
|
|
521268
521308
|
function resolveVerbooStartupModel(modelOverride) {
|
|
521269
|
-
const
|
|
521309
|
+
const verbooModels = getCachedVerbooModels();
|
|
521310
|
+
const codexModels = getCachedCodexModels();
|
|
521311
|
+
const claudeModels = getCachedClaudeNativeModels();
|
|
521312
|
+
const availableModels = [
|
|
521313
|
+
...verbooModels ?? [],
|
|
521314
|
+
...codexModels ?? [],
|
|
521315
|
+
...claudeModels ?? []
|
|
521316
|
+
];
|
|
521317
|
+
const catalogsLoaded = verbooModels !== null || codexModels !== null || claudeModels !== null;
|
|
521270
521318
|
const resolveIfAvailable = (model2) => {
|
|
521271
521319
|
if (typeof model2 !== "string")
|
|
521272
521320
|
return;
|
|
521273
521321
|
const trimmed3 = model2.trim();
|
|
521274
|
-
if (!trimmed3
|
|
521322
|
+
if (!trimmed3)
|
|
521275
521323
|
return;
|
|
521276
521324
|
const resolved = parseUserSpecifiedModel(trimmed3);
|
|
521277
|
-
if (
|
|
521278
|
-
return;
|
|
521279
|
-
if (cachedModels !== null) {
|
|
521280
|
-
return cachedModels.some((m) => m.id === resolved && !isClaudeModelLike(m.id)) ? resolved : undefined;
|
|
521325
|
+
if (catalogsLoaded) {
|
|
521326
|
+
return availableModels.some((model3) => model3.id === resolved) ? resolved : undefined;
|
|
521281
521327
|
}
|
|
521282
521328
|
return resolved;
|
|
521283
521329
|
};
|
|
521284
|
-
return resolveIfAvailable(modelOverride) ?? resolveIfAvailable(getUserSpecifiedModelSetting()) ??
|
|
521330
|
+
return resolveIfAvailable(modelOverride) ?? resolveIfAvailable(getUserSpecifiedModelSetting()) ?? getDefaultVerbooModel();
|
|
521285
521331
|
}
|
|
521286
521332
|
function detectProvider(modelOverride) {
|
|
521287
521333
|
if (isVerbooMode()) {
|
|
521288
|
-
const
|
|
521289
|
-
const
|
|
521334
|
+
const model2 = resolveVerbooStartupModel(modelOverride);
|
|
521335
|
+
const identity4 = getActiveModelIdentity(model2);
|
|
521336
|
+
const baseUrl2 = identity4.provider === "Codex" ? DEFAULT_CODEX_BASE_URL : identity4.provider === "Claude" ? CLAUDE_NATIVE_API_BASE_URL : VERBOO_ROUTER_URL;
|
|
521290
521337
|
return {
|
|
521291
|
-
name:
|
|
521292
|
-
model:
|
|
521338
|
+
name: identity4.provider,
|
|
521339
|
+
model: identity4.model,
|
|
521293
521340
|
baseUrl: baseUrl2,
|
|
521294
|
-
isLocal:
|
|
521341
|
+
isLocal: false
|
|
521295
521342
|
};
|
|
521296
521343
|
}
|
|
521297
521344
|
const useGemini = process.env.CLAUDE_CODE_USE_GEMINI === "1" || process.env.CLAUDE_CODE_USE_GEMINI === "true";
|
|
@@ -521377,11 +521424,11 @@ function detectProvider(modelOverride) {
|
|
|
521377
521424
|
}
|
|
521378
521425
|
return { name, model: displayModel, baseUrl: baseUrl2, isLocal: isLocal2 };
|
|
521379
521426
|
}
|
|
521380
|
-
const modelSetting = modelOverride ||
|
|
521427
|
+
const modelSetting = modelOverride || getUserSpecifiedModelSetting() || getDefaultMainLoopModel();
|
|
521381
521428
|
const resolvedModel = parseUserSpecifiedModel(modelSetting);
|
|
521382
|
-
const baseUrl =
|
|
521429
|
+
const baseUrl = process.env.ANTHROPIC_BASE_URL || CLAUDE_NATIVE_API_BASE_URL;
|
|
521383
521430
|
const isLocal = isLocalProviderUrl(baseUrl);
|
|
521384
|
-
return { name: "
|
|
521431
|
+
return { name: "Claude", model: resolvedModel, baseUrl, isLocal };
|
|
521385
521432
|
}
|
|
521386
521433
|
function truncateStartupText(text2, maxLength) {
|
|
521387
521434
|
if (maxLength <= 0)
|
|
@@ -521399,17 +521446,13 @@ function renderStartupScreen(p, version3, displayCwd, columns) {
|
|
|
521399
521446
|
const DIMP = `${DIM2}${rgb3(...DIMCOL)}`;
|
|
521400
521447
|
const STATUS_C = p.isLocal ? rgb3(130, 200, 140) : PURPLE;
|
|
521401
521448
|
const statusLabel = p.isLocal ? "local" : "cloud";
|
|
521402
|
-
const
|
|
521403
|
-
const
|
|
521404
|
-
const model2 = truncateStartupText(providerAndModel, Math.max(1,
|
|
521405
|
-
const cwd2 = truncateStartupText(displayCwd,
|
|
521406
|
-
|
|
521407
|
-
|
|
521408
|
-
out.push(`
|
|
521409
|
-
out.push(` ${STATUS_C}●${RESET2} ${DIMP}${model2} · ${statusLabel}${RESET2}`);
|
|
521410
|
-
out.push(` ${DIMP}${cwd2}${RESET2}`);
|
|
521411
|
-
out.push("");
|
|
521412
|
-
out.push(` ${DIMP}${hint}${RESET2}`);
|
|
521449
|
+
const providerAndModel = `${p.name} · ${p.model}`;
|
|
521450
|
+
const shownVersion = truncateStartupText(version3, Math.max(1, columns - 22));
|
|
521451
|
+
const model2 = truncateStartupText(providerAndModel, Math.max(1, columns - statusLabel.length - 10));
|
|
521452
|
+
const cwd2 = truncateStartupText(displayCwd, Math.max(1, columns - 5));
|
|
521453
|
+
out.push(` ${PURPLE}╭${RESET2} \uD83D\uDC7B ${bold2}${PURPLE}Verboo Code${RESET2} ${DIMP}v${shownVersion}${RESET2}`);
|
|
521454
|
+
out.push(` ${PURPLE}│${RESET2} ${STATUS_C}●${RESET2} ${DIMP}${model2} · ${statusLabel}${RESET2}`);
|
|
521455
|
+
out.push(` ${PURPLE}╰${RESET2} ${DIMP}${cwd2}${RESET2}`);
|
|
521413
521456
|
out.push("");
|
|
521414
521457
|
return `${out.join(`
|
|
521415
521458
|
`)}
|
|
@@ -521422,16 +521465,20 @@ function printStartupScreen(modelOverride) {
|
|
|
521422
521465
|
const home = process.env.HOME || process.env.USERPROFILE || "";
|
|
521423
521466
|
const cwd2 = process.cwd();
|
|
521424
521467
|
const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
|
|
521425
|
-
const version3 = "0.15.
|
|
521468
|
+
const version3 = "0.15.8";
|
|
521426
521469
|
const columns = process.stdout.columns ?? STARTUP_DEFAULT_COLUMNS;
|
|
521427
521470
|
process.stdout.write(renderStartupScreen(p, version3, displayCwd, columns));
|
|
521428
521471
|
}
|
|
521429
521472
|
var ESC4 = "\x1B[", RESET2, DIM2, rgb3 = (r, g, b) => `${ESC4}38;2;${r};${g};${b}m`, ACCENT, DIMCOL, STARTUP_DEFAULT_COLUMNS = 80;
|
|
521430
521473
|
var init_StartupScreen = __esm(() => {
|
|
521431
521474
|
init_oauth();
|
|
521475
|
+
init_claudeNativeModels();
|
|
521476
|
+
init_claudeNativeConfig();
|
|
521477
|
+
init_codexModels();
|
|
521432
521478
|
init_providerConfig();
|
|
521433
521479
|
init_verbooModels();
|
|
521434
521480
|
init_providerDiscovery();
|
|
521481
|
+
init_activeModelIdentity();
|
|
521435
521482
|
init_model();
|
|
521436
521483
|
RESET2 = `${ESC4}0m`;
|
|
521437
521484
|
DIM2 = `${ESC4}2m`;
|
|
@@ -540647,7 +540694,7 @@ var init_routerRateLimitHook = __esm(() => {
|
|
|
540647
540694
|
function getSemverPart(version3) {
|
|
540648
540695
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
540649
540696
|
}
|
|
540650
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.15.
|
|
540697
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.15.8") {
|
|
540651
540698
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
|
|
540652
540699
|
const [pendingNotification2, setPendingNotification] = import_react227.useState(null);
|
|
540653
540700
|
if (updatedVersion) {
|
|
@@ -540687,7 +540734,7 @@ function AutoUpdater({
|
|
|
540687
540734
|
return;
|
|
540688
540735
|
}
|
|
540689
540736
|
if (false) {}
|
|
540690
|
-
const currentVersion = "0.15.
|
|
540737
|
+
const currentVersion = "0.15.8";
|
|
540691
540738
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
540692
540739
|
let latestVersion = await getLatestVersion(channel2);
|
|
540693
540740
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -541040,17 +541087,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
541040
541087
|
const maxVersion = await getMaxVersion();
|
|
541041
541088
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
541042
541089
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
541043
|
-
if (gte("0.15.
|
|
541044
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.15.
|
|
541090
|
+
if (gte("0.15.8", maxVersion)) {
|
|
541091
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.15.8"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
541045
541092
|
setUpdateAvailable(false);
|
|
541046
541093
|
return;
|
|
541047
541094
|
}
|
|
541048
541095
|
latest = maxVersion;
|
|
541049
541096
|
}
|
|
541050
|
-
const hasUpdate = latest && !gte("0.15.
|
|
541097
|
+
const hasUpdate = latest && !gte("0.15.8", latest) && !shouldSkipVersion(latest);
|
|
541051
541098
|
setUpdateAvailable(!!hasUpdate);
|
|
541052
541099
|
if (hasUpdate) {
|
|
541053
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.15.
|
|
541100
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.15.8"} -> ${latest}`);
|
|
541054
541101
|
}
|
|
541055
541102
|
};
|
|
541056
541103
|
$2[0] = t1;
|
|
@@ -541084,7 +541131,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
541084
541131
|
wrap: "truncate",
|
|
541085
541132
|
children: [
|
|
541086
541133
|
"currentVersion: ",
|
|
541087
|
-
"0.15.
|
|
541134
|
+
"0.15.8"
|
|
541088
541135
|
]
|
|
541089
541136
|
});
|
|
541090
541137
|
$2[3] = verbose;
|
|
@@ -551399,18 +551446,16 @@ function ModeIndicator({
|
|
|
551399
551446
|
const modePart = currentMode && hasActiveMode && !getIsRemoteMode() ? /* @__PURE__ */ jsx_runtime436.jsxs(ThemedText, {
|
|
551400
551447
|
color: getModeColor(currentMode),
|
|
551401
551448
|
children: [
|
|
551402
|
-
permissionModeSymbol(currentMode),
|
|
551449
|
+
currentMode === "bypassPermissions" || currentMode === "dontAsk" ? "⚠" : permissionModeSymbol(currentMode),
|
|
551403
551450
|
" ",
|
|
551404
551451
|
permissionModeTitle(currentMode).toLowerCase(),
|
|
551405
|
-
" on",
|
|
551406
551452
|
shouldShowModeHint && /* @__PURE__ */ jsx_runtime436.jsxs(ThemedText, {
|
|
551407
551453
|
dimColor: true,
|
|
551408
551454
|
children: [
|
|
551409
|
-
" ",
|
|
551455
|
+
" · ",
|
|
551410
551456
|
/* @__PURE__ */ jsx_runtime436.jsx(KeyboardShortcutHint, {
|
|
551411
551457
|
shortcut: modeCycleShortcut,
|
|
551412
|
-
action: "
|
|
551413
|
-
parens: true
|
|
551458
|
+
action: "change"
|
|
551414
551459
|
})
|
|
551415
551460
|
]
|
|
551416
551461
|
})
|
|
@@ -551660,12 +551705,11 @@ function ContextWindowDisplayInner({ messages, permissionMode }) {
|
|
|
551660
551705
|
const mainLoopModel = useMainLoopModel();
|
|
551661
551706
|
const exceeds200k = import_react256.useMemo(() => doesMostRecentAssistantMessageExceed200k(messages), [messages]);
|
|
551662
551707
|
const runtimeModel = getRuntimeMainLoopModel({ permissionMode, mainLoopModel, exceeds200kTokens: exceeds200k });
|
|
551708
|
+
const activeModel = getActiveModelIdentity(runtimeModel);
|
|
551663
551709
|
const windowSize = getContextWindowForModel2(runtimeModel, getSdkBetas2());
|
|
551664
551710
|
const { avgRate10s, isGenerating } = useTokenRateDetailed(messages);
|
|
551665
551711
|
const contextTokens = import_react256.useMemo(() => tokenCountWithEstimation(messages), [messages]);
|
|
551666
551712
|
const pct = import_react256.useMemo(() => Math.min(100, Math.max(0, Math.round(contextTokens / windowSize * 100))), [contextTokens, windowSize]);
|
|
551667
|
-
const filled = Math.max(0, Math.min(BAR_WIDTH, Math.round(pct / 100 * BAR_WIDTH)));
|
|
551668
|
-
const bar = "█".repeat(filled) + "░".repeat(BAR_WIDTH - filled);
|
|
551669
551713
|
const contextColor = pct >= 90 ? "red" : pct >= 70 ? "yellow" : undefined;
|
|
551670
551714
|
const rateValue = Math.round(avgRate10s);
|
|
551671
551715
|
const showTokenRate = rateValue > 0;
|
|
@@ -551675,7 +551719,25 @@ function ContextWindowDisplayInner({ messages, permissionMode }) {
|
|
|
551675
551719
|
return /* @__PURE__ */ jsx_runtime437.jsxs(ThemedBox_default, {
|
|
551676
551720
|
flexDirection: "row",
|
|
551677
551721
|
gap: 1,
|
|
551722
|
+
flexShrink: 1,
|
|
551678
551723
|
children: [
|
|
551724
|
+
/* @__PURE__ */ jsx_runtime437.jsx(ThemedText, {
|
|
551725
|
+
color: "claude",
|
|
551726
|
+
children: activeModel.provider
|
|
551727
|
+
}),
|
|
551728
|
+
/* @__PURE__ */ jsx_runtime437.jsx(ThemedText, {
|
|
551729
|
+
dimColor: true,
|
|
551730
|
+
wrap: "truncate",
|
|
551731
|
+
children: activeModel.model
|
|
551732
|
+
}),
|
|
551733
|
+
/* @__PURE__ */ jsx_runtime437.jsx(ThemedText, {
|
|
551734
|
+
dimColor: true,
|
|
551735
|
+
children: "·"
|
|
551736
|
+
}),
|
|
551737
|
+
/* @__PURE__ */ jsx_runtime437.jsx(ThemedText, {
|
|
551738
|
+
dimColor: true,
|
|
551739
|
+
children: "context"
|
|
551740
|
+
}),
|
|
551679
551741
|
/* @__PURE__ */ jsx_runtime437.jsxs(ThemedText, {
|
|
551680
551742
|
color: contextColor,
|
|
551681
551743
|
dimColor: contextColor === undefined,
|
|
@@ -551685,15 +551747,14 @@ function ContextWindowDisplayInner({ messages, permissionMode }) {
|
|
|
551685
551747
|
]
|
|
551686
551748
|
}),
|
|
551687
551749
|
/* @__PURE__ */ jsx_runtime437.jsx(ThemedText, {
|
|
551688
|
-
|
|
551689
|
-
|
|
551690
|
-
children: bar
|
|
551750
|
+
dimColor: true,
|
|
551751
|
+
children: "·"
|
|
551691
551752
|
}),
|
|
551692
551753
|
/* @__PURE__ */ jsx_runtime437.jsxs(ThemedText, {
|
|
551693
551754
|
dimColor: true,
|
|
551694
551755
|
children: [
|
|
551695
551756
|
inputK,
|
|
551696
|
-
"/",
|
|
551757
|
+
" / ",
|
|
551697
551758
|
windowK
|
|
551698
551759
|
]
|
|
551699
551760
|
}),
|
|
@@ -551886,7 +551947,7 @@ function BridgeStatusIndicator({
|
|
|
551886
551947
|
]
|
|
551887
551948
|
});
|
|
551888
551949
|
}
|
|
551889
|
-
var React155, import_react256, jsx_runtime437,
|
|
551950
|
+
var React155, import_react256, jsx_runtime437, ContextWindowDisplay, PromptInputFooter_default;
|
|
551890
551951
|
var init_PromptInputFooter = __esm(() => {
|
|
551891
551952
|
init_bridgeEnabled();
|
|
551892
551953
|
init_bridgeStatusUtil();
|
|
@@ -551901,6 +551962,7 @@ var init_PromptInputFooter = __esm(() => {
|
|
|
551901
551962
|
init_format2();
|
|
551902
551963
|
init_fullscreen();
|
|
551903
551964
|
init_model();
|
|
551965
|
+
init_activeModelIdentity();
|
|
551904
551966
|
init_tokens();
|
|
551905
551967
|
init_useTokenRate();
|
|
551906
551968
|
init_CoordinatorAgentStatus();
|
|
@@ -552404,9 +552466,9 @@ function usePromptInputPlaceholder({
|
|
|
552404
552466
|
return "Press up to edit queued messages";
|
|
552405
552467
|
}
|
|
552406
552468
|
if (submitCount < 1 && promptSuggestionEnabled && !proactiveModule4?.isProactiveActive()) {
|
|
552407
|
-
return getExampleCommandFromCache() ?? "
|
|
552469
|
+
return getExampleCommandFromCache() ?? "Describe a task, bug, or idea…";
|
|
552408
552470
|
}
|
|
552409
|
-
return "
|
|
552471
|
+
return "Describe a task, bug, or idea…";
|
|
552410
552472
|
}, [
|
|
552411
552473
|
input,
|
|
552412
552474
|
queuedCommands,
|
|
@@ -554260,9 +554322,10 @@ function PromptInput({
|
|
|
554260
554322
|
hasStash: stashedPrompt !== undefined
|
|
554261
554323
|
}),
|
|
554262
554324
|
/* @__PURE__ */ jsx_runtime441.jsx(ThemedBox_default, {
|
|
554263
|
-
|
|
554325
|
+
paddingX: 2,
|
|
554264
554326
|
height: 1,
|
|
554265
554327
|
overflow: "hidden",
|
|
554328
|
+
justifyContent: "flex-end",
|
|
554266
554329
|
children: mode === "prompt" && !exitMessage.show && !isPasting ? /* @__PURE__ */ jsx_runtime441.jsx(ContextWindowDisplay, {
|
|
554267
554330
|
messages,
|
|
554268
554331
|
permissionMode: effectiveToolPermissionContext.mode
|
|
@@ -554443,7 +554506,7 @@ function getInitialPasteId(messages) {
|
|
|
554443
554506
|
}
|
|
554444
554507
|
function buildPromptBorderText(mode) {
|
|
554445
554508
|
return {
|
|
554446
|
-
content: mode === "bash" ? " shell " : "
|
|
554509
|
+
content: mode === "bash" ? " shell " : " prompt ",
|
|
554447
554510
|
position: "top",
|
|
554448
554511
|
align: "start",
|
|
554449
554512
|
offset: 1
|
|
@@ -557111,10 +557174,10 @@ async function autoUpdateCliInBackground() {
|
|
|
557111
557174
|
return;
|
|
557112
557175
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
557113
557176
|
const latest = await getLatestVersion(channel2);
|
|
557114
|
-
if (!latest || gte("0.15.
|
|
557177
|
+
if (!latest || gte("0.15.8", latest))
|
|
557115
557178
|
return;
|
|
557116
557179
|
writeToStdout(`
|
|
557117
|
-
Nova versão disponível: ${latest} (atual: ${"0.15.
|
|
557180
|
+
Nova versão disponível: ${latest} (atual: ${"0.15.8"})
|
|
557118
557181
|
`);
|
|
557119
557182
|
writeToStdout(`Atualizando automaticamente...
|
|
557120
557183
|
`);
|
|
@@ -575293,7 +575356,7 @@ var init_ApproveApiKey = __esm(() => {
|
|
|
575293
575356
|
|
|
575294
575357
|
// src/components/LogoV2/WelcomeV2.tsx
|
|
575295
575358
|
function WelcomeV2() {
|
|
575296
|
-
const version3 = "0.15.
|
|
575359
|
+
const version3 = "0.15.8";
|
|
575297
575360
|
return /* @__PURE__ */ jsx_runtime480.jsxs(ThemedBox_default, {
|
|
575298
575361
|
flexDirection: "column",
|
|
575299
575362
|
marginY: 1,
|
|
@@ -575301,11 +575364,13 @@ function WelcomeV2() {
|
|
|
575301
575364
|
children: [
|
|
575302
575365
|
/* @__PURE__ */ jsx_runtime480.jsxs(ThemedBox_default, {
|
|
575303
575366
|
flexDirection: "row",
|
|
575304
|
-
gap: 1,
|
|
575305
|
-
alignItems: "center",
|
|
575306
575367
|
children: [
|
|
575307
575368
|
/* @__PURE__ */ jsx_runtime480.jsx(ThemedText, {
|
|
575308
|
-
|
|
575369
|
+
color: "claude",
|
|
575370
|
+
children: "╭"
|
|
575371
|
+
}),
|
|
575372
|
+
/* @__PURE__ */ jsx_runtime480.jsx(ThemedText, {
|
|
575373
|
+
children: " \uD83D\uDC7B "
|
|
575309
575374
|
}),
|
|
575310
575375
|
/* @__PURE__ */ jsx_runtime480.jsx(ThemedText, {
|
|
575311
575376
|
bold: true,
|
|
@@ -575315,18 +575380,37 @@ function WelcomeV2() {
|
|
|
575315
575380
|
/* @__PURE__ */ jsx_runtime480.jsxs(ThemedText, {
|
|
575316
575381
|
dimColor: true,
|
|
575317
575382
|
children: [
|
|
575318
|
-
"v",
|
|
575383
|
+
" v",
|
|
575319
575384
|
version3
|
|
575320
575385
|
]
|
|
575321
575386
|
})
|
|
575322
575387
|
]
|
|
575323
575388
|
}),
|
|
575324
|
-
/* @__PURE__ */ jsx_runtime480.
|
|
575325
|
-
|
|
575326
|
-
children:
|
|
575327
|
-
|
|
575328
|
-
|
|
575329
|
-
|
|
575389
|
+
/* @__PURE__ */ jsx_runtime480.jsxs(ThemedBox_default, {
|
|
575390
|
+
flexDirection: "row",
|
|
575391
|
+
children: [
|
|
575392
|
+
/* @__PURE__ */ jsx_runtime480.jsx(ThemedText, {
|
|
575393
|
+
color: "claude",
|
|
575394
|
+
children: "│"
|
|
575395
|
+
}),
|
|
575396
|
+
/* @__PURE__ */ jsx_runtime480.jsx(ThemedText, {
|
|
575397
|
+
dimColor: true,
|
|
575398
|
+
children: " Build, debug, and ship from your terminal."
|
|
575399
|
+
})
|
|
575400
|
+
]
|
|
575401
|
+
}),
|
|
575402
|
+
/* @__PURE__ */ jsx_runtime480.jsxs(ThemedBox_default, {
|
|
575403
|
+
flexDirection: "row",
|
|
575404
|
+
children: [
|
|
575405
|
+
/* @__PURE__ */ jsx_runtime480.jsx(ThemedText, {
|
|
575406
|
+
color: "claude",
|
|
575407
|
+
children: "╰"
|
|
575408
|
+
}),
|
|
575409
|
+
/* @__PURE__ */ jsx_runtime480.jsx(ThemedText, {
|
|
575410
|
+
dimColor: true,
|
|
575411
|
+
children: " Describe what you need to get started."
|
|
575412
|
+
})
|
|
575413
|
+
]
|
|
575330
575414
|
})
|
|
575331
575415
|
]
|
|
575332
575416
|
});
|
|
@@ -593580,7 +593664,7 @@ __export(exports_update, {
|
|
|
593580
593664
|
});
|
|
593581
593665
|
async function update() {
|
|
593582
593666
|
logEvent("tengu_update_check", {});
|
|
593583
|
-
writeToStdout(`Current version: ${"0.15.
|
|
593667
|
+
writeToStdout(`Current version: ${"0.15.8"}
|
|
593584
593668
|
`);
|
|
593585
593669
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
593586
593670
|
writeToStdout(`Checking for updates to ${channel2} version...
|
|
@@ -593665,8 +593749,8 @@ async function update() {
|
|
|
593665
593749
|
writeToStdout(`Verboo Code is managed by Homebrew.
|
|
593666
593750
|
`);
|
|
593667
593751
|
const latest = await getLatestVersion(channel2);
|
|
593668
|
-
if (latest && !gte("0.15.
|
|
593669
|
-
writeToStdout(`Update available: ${"0.15.
|
|
593752
|
+
if (latest && !gte("0.15.8", latest)) {
|
|
593753
|
+
writeToStdout(`Update available: ${"0.15.8"} → ${latest}
|
|
593670
593754
|
`);
|
|
593671
593755
|
writeToStdout(`
|
|
593672
593756
|
`);
|
|
@@ -593682,8 +593766,8 @@ async function update() {
|
|
|
593682
593766
|
writeToStdout(`Verboo Code is managed by winget.
|
|
593683
593767
|
`);
|
|
593684
593768
|
const latest = await getLatestVersion(channel2);
|
|
593685
|
-
if (latest && !gte("0.15.
|
|
593686
|
-
writeToStdout(`Update available: ${"0.15.
|
|
593769
|
+
if (latest && !gte("0.15.8", latest)) {
|
|
593770
|
+
writeToStdout(`Update available: ${"0.15.8"} → ${latest}
|
|
593687
593771
|
`);
|
|
593688
593772
|
writeToStdout(`
|
|
593689
593773
|
`);
|
|
@@ -593699,8 +593783,8 @@ async function update() {
|
|
|
593699
593783
|
writeToStdout(`Verboo Code is managed by apk.
|
|
593700
593784
|
`);
|
|
593701
593785
|
const latest = await getLatestVersion(channel2);
|
|
593702
|
-
if (latest && !gte("0.15.
|
|
593703
|
-
writeToStdout(`Update available: ${"0.15.
|
|
593786
|
+
if (latest && !gte("0.15.8", latest)) {
|
|
593787
|
+
writeToStdout(`Update available: ${"0.15.8"} → ${latest}
|
|
593704
593788
|
`);
|
|
593705
593789
|
writeToStdout(`
|
|
593706
593790
|
`);
|
|
@@ -593753,11 +593837,11 @@ async function update() {
|
|
|
593753
593837
|
`);
|
|
593754
593838
|
await gracefulShutdown(1);
|
|
593755
593839
|
}
|
|
593756
|
-
if (result.latestVersion === "0.15.
|
|
593757
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.15.
|
|
593840
|
+
if (result.latestVersion === "0.15.8") {
|
|
593841
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.15.8"})`) + `
|
|
593758
593842
|
`);
|
|
593759
593843
|
} else {
|
|
593760
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.15.
|
|
593844
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.15.8"} to version ${result.latestVersion}`) + `
|
|
593761
593845
|
`);
|
|
593762
593846
|
await regenerateCompletionCache();
|
|
593763
593847
|
}
|
|
@@ -593817,12 +593901,12 @@ async function update() {
|
|
|
593817
593901
|
`);
|
|
593818
593902
|
await gracefulShutdown(1);
|
|
593819
593903
|
}
|
|
593820
|
-
if (latestVersion === "0.15.
|
|
593821
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.15.
|
|
593904
|
+
if (latestVersion === "0.15.8") {
|
|
593905
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.15.8"})`) + `
|
|
593822
593906
|
`);
|
|
593823
593907
|
await gracefulShutdown(0);
|
|
593824
593908
|
}
|
|
593825
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.15.
|
|
593909
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.15.8"})
|
|
593826
593910
|
`);
|
|
593827
593911
|
writeToStdout(`Installing update...
|
|
593828
593912
|
`);
|
|
@@ -593867,7 +593951,7 @@ async function update() {
|
|
|
593867
593951
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
593868
593952
|
switch (status2) {
|
|
593869
593953
|
case "success":
|
|
593870
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.15.
|
|
593954
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.15.8"} to version ${latestVersion}`) + `
|
|
593871
593955
|
`);
|
|
593872
593956
|
await regenerateCompletionCache();
|
|
593873
593957
|
break;
|
|
@@ -595186,7 +595270,7 @@ ${customInstructions}` : customInstructions;
|
|
|
595186
595270
|
is_native_binary: isInBundledMode()
|
|
595187
595271
|
});
|
|
595188
595272
|
logMemoryDiagnostics("start", {
|
|
595189
|
-
version: "0.15.
|
|
595273
|
+
version: "0.15.8",
|
|
595190
595274
|
debug: debug2,
|
|
595191
595275
|
debugToStderr,
|
|
595192
595276
|
print: print ?? false,
|
|
@@ -595997,7 +596081,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
595997
596081
|
pendingHookMessages
|
|
595998
596082
|
}, renderAndRun);
|
|
595999
596083
|
}
|
|
596000
|
-
}).version(`0.15.
|
|
596084
|
+
}).version(`0.15.8 (${cliDesc})`, "-v, --version", "Output the version number");
|
|
596001
596085
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
596002
596086
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
596003
596087
|
if (canUserConfigureAdvisor()) {
|
|
@@ -596578,7 +596662,7 @@ if (false) {}
|
|
|
596578
596662
|
async function main2() {
|
|
596579
596663
|
const args = process.argv.slice(2);
|
|
596580
596664
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
596581
|
-
console.log(`${"0.15.
|
|
596665
|
+
console.log(`${"0.15.8"} (Verboo Code)`);
|
|
596582
596666
|
return;
|
|
596583
596667
|
}
|
|
596584
596668
|
if (!IS_VERBOO_CLI && args.includes("--provider")) {
|
|
@@ -596752,4 +596836,4 @@ async function main2() {
|
|
|
596752
596836
|
}
|
|
596753
596837
|
main2();
|
|
596754
596838
|
|
|
596755
|
-
//# debugId=
|
|
596839
|
+
//# debugId=BFD42A66E2F1999764756E2164756E21
|