@verboo/code 0.10.5 → 0.10.6
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 +69 -38
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -22787,6 +22787,28 @@ function inferRemoteModelOpenAIShimConfig(modelApiName) {
|
|
|
22787
22787
|
}
|
|
22788
22788
|
return;
|
|
22789
22789
|
}
|
|
22790
|
+
function inferVerbooRouterOpenAIShimConfig(baseUrl) {
|
|
22791
|
+
if (!baseUrl?.trim()) {
|
|
22792
|
+
return;
|
|
22793
|
+
}
|
|
22794
|
+
try {
|
|
22795
|
+
const parsed = new URL(baseUrl);
|
|
22796
|
+
const path9 = parsed.pathname.toLowerCase().replace(/\/+$/, "");
|
|
22797
|
+
if (parsed.hostname.toLowerCase() !== "code.verboo.ai") {
|
|
22798
|
+
return;
|
|
22799
|
+
}
|
|
22800
|
+
if (path9 !== "/router/v1" && !path9.startsWith("/router/v1/")) {
|
|
22801
|
+
return;
|
|
22802
|
+
}
|
|
22803
|
+
return {
|
|
22804
|
+
preserveReasoningContent: true,
|
|
22805
|
+
requireReasoningContentOnAssistantMessages: true,
|
|
22806
|
+
reasoningContentFallback: ""
|
|
22807
|
+
};
|
|
22808
|
+
} catch {
|
|
22809
|
+
return;
|
|
22810
|
+
}
|
|
22811
|
+
}
|
|
22790
22812
|
function resolveOpenAIShimRuntimeContext(options) {
|
|
22791
22813
|
const processEnv = options?.processEnv ?? process.env;
|
|
22792
22814
|
const runtimeEnv = {
|
|
@@ -22805,9 +22827,11 @@ function resolveOpenAIShimRuntimeContext(options) {
|
|
|
22805
22827
|
const routeId = baseUrlRouteId && (!activeRouteId || activeRouteId === "anthropic" || activeRouteId === "openai") ? baseUrlRouteId : activeRouteId;
|
|
22806
22828
|
const descriptor = routeId && routeId !== "anthropic" ? getRouteDescriptor(routeId) : null;
|
|
22807
22829
|
const catalogEntry = descriptor && routeId ? getCatalogEntryForModel(routeId, options?.model) : null;
|
|
22808
|
-
const
|
|
22830
|
+
const modelInferredConfig = options?.treatAsLocal === true ? undefined : inferRemoteModelOpenAIShimConfig(options?.model);
|
|
22831
|
+
const routeInferredConfig = options?.treatAsLocal === true ? {
|
|
22809
22832
|
maxTokensField: "max_tokens"
|
|
22810
|
-
} :
|
|
22833
|
+
} : inferVerbooRouterOpenAIShimConfig(options?.baseUrl);
|
|
22834
|
+
const inferredConfig = routeInferredConfig || modelInferredConfig ? mergeOpenAIShimConfig(routeInferredConfig, undefined, modelInferredConfig) : undefined;
|
|
22811
22835
|
return {
|
|
22812
22836
|
routeId,
|
|
22813
22837
|
descriptor,
|
|
@@ -290317,6 +290341,13 @@ function PurchaseFlowView({
|
|
|
290317
290341
|
setTimeout(() => onDone(true), 1500);
|
|
290318
290342
|
return;
|
|
290319
290343
|
}
|
|
290344
|
+
if (result.mode === "woovi") {
|
|
290345
|
+
setStep("checkout");
|
|
290346
|
+
setErrorMsg(result.wooviQrCode);
|
|
290347
|
+
setStep("polling");
|
|
290348
|
+
startPolling();
|
|
290349
|
+
return;
|
|
290350
|
+
}
|
|
290320
290351
|
await openBrowser(result.url);
|
|
290321
290352
|
setStep("polling");
|
|
290322
290353
|
startPolling();
|
|
@@ -389401,7 +389432,7 @@ function getAnthropicEnvMetadata() {
|
|
|
389401
389432
|
function getBuildAgeMinutes() {
|
|
389402
389433
|
if (false)
|
|
389403
389434
|
;
|
|
389404
|
-
const buildTime = new Date("2026-06-
|
|
389435
|
+
const buildTime = new Date("2026-06-24T01:40:51.551Z").getTime();
|
|
389405
389436
|
if (isNaN(buildTime))
|
|
389406
389437
|
return;
|
|
389407
389438
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -417631,7 +417662,7 @@ function buildPrimarySection() {
|
|
|
417631
417662
|
});
|
|
417632
417663
|
return [{
|
|
417633
417664
|
label: "Version",
|
|
417634
|
-
value: "0.10.
|
|
417665
|
+
value: "0.10.6"
|
|
417635
417666
|
}, {
|
|
417636
417667
|
label: "Session name",
|
|
417637
417668
|
value: nameValue
|
|
@@ -430559,7 +430590,7 @@ function getReleaseTagUrl(version2 = publicBuildVersion) {
|
|
|
430559
430590
|
return `${VERBOO_RELEASES_URL}/tag/v${normalizePublicVersion(version2)}`;
|
|
430560
430591
|
}
|
|
430561
430592
|
function getPublicBuildVersion() {
|
|
430562
|
-
return "0.10.
|
|
430593
|
+
return "0.10.6";
|
|
430563
430594
|
}
|
|
430564
430595
|
var import_semver10, VERBOO_RELEASES_URL = "https://github.com/verbeux-ai/code/releases", fallbackBuildVersion, publicBuildVersion;
|
|
430565
430596
|
var init_version = __esm(() => {
|
|
@@ -485903,7 +485934,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
485903
485934
|
var call63 = async () => {
|
|
485904
485935
|
return {
|
|
485905
485936
|
type: "text",
|
|
485906
|
-
value: `${"99.0.0"} (built ${"2026-06-
|
|
485937
|
+
value: `${"99.0.0"} (built ${"2026-06-24T01:40:51.551Z"})`
|
|
485907
485938
|
};
|
|
485908
485939
|
}, version2, version_default;
|
|
485909
485940
|
var init_version2 = __esm(() => {
|
|
@@ -518147,7 +518178,7 @@ function printStartupScreen(modelOverride) {
|
|
|
518147
518178
|
const home = process.env.HOME || process.env.USERPROFILE || "";
|
|
518148
518179
|
const cwd2 = process.cwd();
|
|
518149
518180
|
const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
|
|
518150
|
-
const version3 = "0.10.
|
|
518181
|
+
const version3 = "0.10.6";
|
|
518151
518182
|
const bold2 = `${ESC4}1m`;
|
|
518152
518183
|
const PURPLE = rgb3(...ACCENT);
|
|
518153
518184
|
const SOFT = rgb3(...CREAM);
|
|
@@ -536439,7 +536470,7 @@ var init_routerRateLimitHook = __esm(() => {
|
|
|
536439
536470
|
function getSemverPart(version3) {
|
|
536440
536471
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
536441
536472
|
}
|
|
536442
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.10.
|
|
536473
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.10.6") {
|
|
536443
536474
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react225.useState(() => getSemverPart(initialVersion));
|
|
536444
536475
|
const [pendingNotification2, setPendingNotification] = import_react225.useState(null);
|
|
536445
536476
|
if (updatedVersion) {
|
|
@@ -536479,7 +536510,7 @@ function AutoUpdater({
|
|
|
536479
536510
|
return;
|
|
536480
536511
|
}
|
|
536481
536512
|
if (false) {}
|
|
536482
|
-
const currentVersion = "0.10.
|
|
536513
|
+
const currentVersion = "0.10.6";
|
|
536483
536514
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
536484
536515
|
let latestVersion = await getLatestVersion(channel2);
|
|
536485
536516
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -536832,17 +536863,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
536832
536863
|
const maxVersion = await getMaxVersion();
|
|
536833
536864
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
536834
536865
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
536835
|
-
if (gte("0.10.
|
|
536836
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.10.
|
|
536866
|
+
if (gte("0.10.6", maxVersion)) {
|
|
536867
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.10.6"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
536837
536868
|
setUpdateAvailable(false);
|
|
536838
536869
|
return;
|
|
536839
536870
|
}
|
|
536840
536871
|
latest = maxVersion;
|
|
536841
536872
|
}
|
|
536842
|
-
const hasUpdate = latest && !gte("0.10.
|
|
536873
|
+
const hasUpdate = latest && !gte("0.10.6", latest) && !shouldSkipVersion(latest);
|
|
536843
536874
|
setUpdateAvailable(!!hasUpdate);
|
|
536844
536875
|
if (hasUpdate) {
|
|
536845
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.10.
|
|
536876
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.10.6"} -> ${latest}`);
|
|
536846
536877
|
}
|
|
536847
536878
|
};
|
|
536848
536879
|
$2[0] = t1;
|
|
@@ -536876,7 +536907,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
536876
536907
|
wrap: "truncate",
|
|
536877
536908
|
children: [
|
|
536878
536909
|
"currentVersion: ",
|
|
536879
|
-
"0.10.
|
|
536910
|
+
"0.10.6"
|
|
536880
536911
|
]
|
|
536881
536912
|
});
|
|
536882
536913
|
$2[3] = verbose;
|
|
@@ -552649,10 +552680,10 @@ async function autoUpdateCliInBackground() {
|
|
|
552649
552680
|
return;
|
|
552650
552681
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
552651
552682
|
const latest = await getLatestVersion(channel2);
|
|
552652
|
-
if (!latest || gte("0.10.
|
|
552683
|
+
if (!latest || gte("0.10.6", latest))
|
|
552653
552684
|
return;
|
|
552654
552685
|
writeToStdout(`
|
|
552655
|
-
Nova versão disponível: ${latest} (atual: ${"0.10.
|
|
552686
|
+
Nova versão disponível: ${latest} (atual: ${"0.10.6"})
|
|
552656
552687
|
`);
|
|
552657
552688
|
writeToStdout(`Atualizando automaticamente...
|
|
552658
552689
|
`);
|
|
@@ -569378,7 +569409,7 @@ function WelcomeV2() {
|
|
|
569378
569409
|
dimColor: true,
|
|
569379
569410
|
children: [
|
|
569380
569411
|
"v",
|
|
569381
|
-
"0.10.
|
|
569412
|
+
"0.10.6",
|
|
569382
569413
|
" "
|
|
569383
569414
|
]
|
|
569384
569415
|
})
|
|
@@ -569565,7 +569596,7 @@ function WelcomeV2() {
|
|
|
569565
569596
|
dimColor: true,
|
|
569566
569597
|
children: [
|
|
569567
569598
|
"v",
|
|
569568
|
-
"0.10.
|
|
569599
|
+
"0.10.6",
|
|
569569
569600
|
" "
|
|
569570
569601
|
]
|
|
569571
569602
|
})
|
|
@@ -569781,7 +569812,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
569781
569812
|
dimColor: true,
|
|
569782
569813
|
children: [
|
|
569783
569814
|
"v",
|
|
569784
|
-
"0.10.
|
|
569815
|
+
"0.10.6",
|
|
569785
569816
|
" "
|
|
569786
569817
|
]
|
|
569787
569818
|
});
|
|
@@ -569990,7 +570021,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
569990
570021
|
dimColor: true,
|
|
569991
570022
|
children: [
|
|
569992
570023
|
"v",
|
|
569993
|
-
"0.10.
|
|
570024
|
+
"0.10.6",
|
|
569994
570025
|
" "
|
|
569995
570026
|
]
|
|
569996
570027
|
});
|
|
@@ -587399,7 +587430,7 @@ __export(exports_update, {
|
|
|
587399
587430
|
});
|
|
587400
587431
|
async function update() {
|
|
587401
587432
|
logEvent("tengu_update_check", {});
|
|
587402
|
-
writeToStdout(`Current version: ${"0.10.
|
|
587433
|
+
writeToStdout(`Current version: ${"0.10.6"}
|
|
587403
587434
|
`);
|
|
587404
587435
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
587405
587436
|
writeToStdout(`Checking for updates to ${channel2} version...
|
|
@@ -587484,8 +587515,8 @@ async function update() {
|
|
|
587484
587515
|
writeToStdout(`Verboo Code is managed by Homebrew.
|
|
587485
587516
|
`);
|
|
587486
587517
|
const latest = await getLatestVersion(channel2);
|
|
587487
|
-
if (latest && !gte("0.10.
|
|
587488
|
-
writeToStdout(`Update available: ${"0.10.
|
|
587518
|
+
if (latest && !gte("0.10.6", latest)) {
|
|
587519
|
+
writeToStdout(`Update available: ${"0.10.6"} → ${latest}
|
|
587489
587520
|
`);
|
|
587490
587521
|
writeToStdout(`
|
|
587491
587522
|
`);
|
|
@@ -587501,8 +587532,8 @@ async function update() {
|
|
|
587501
587532
|
writeToStdout(`Verboo Code is managed by winget.
|
|
587502
587533
|
`);
|
|
587503
587534
|
const latest = await getLatestVersion(channel2);
|
|
587504
|
-
if (latest && !gte("0.10.
|
|
587505
|
-
writeToStdout(`Update available: ${"0.10.
|
|
587535
|
+
if (latest && !gte("0.10.6", latest)) {
|
|
587536
|
+
writeToStdout(`Update available: ${"0.10.6"} → ${latest}
|
|
587506
587537
|
`);
|
|
587507
587538
|
writeToStdout(`
|
|
587508
587539
|
`);
|
|
@@ -587518,8 +587549,8 @@ async function update() {
|
|
|
587518
587549
|
writeToStdout(`Verboo Code is managed by apk.
|
|
587519
587550
|
`);
|
|
587520
587551
|
const latest = await getLatestVersion(channel2);
|
|
587521
|
-
if (latest && !gte("0.10.
|
|
587522
|
-
writeToStdout(`Update available: ${"0.10.
|
|
587552
|
+
if (latest && !gte("0.10.6", latest)) {
|
|
587553
|
+
writeToStdout(`Update available: ${"0.10.6"} → ${latest}
|
|
587523
587554
|
`);
|
|
587524
587555
|
writeToStdout(`
|
|
587525
587556
|
`);
|
|
@@ -587572,11 +587603,11 @@ async function update() {
|
|
|
587572
587603
|
`);
|
|
587573
587604
|
await gracefulShutdown(1);
|
|
587574
587605
|
}
|
|
587575
|
-
if (result.latestVersion === "0.10.
|
|
587576
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.10.
|
|
587606
|
+
if (result.latestVersion === "0.10.6") {
|
|
587607
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.10.6"})`) + `
|
|
587577
587608
|
`);
|
|
587578
587609
|
} else {
|
|
587579
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.10.
|
|
587610
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.10.6"} to version ${result.latestVersion}`) + `
|
|
587580
587611
|
`);
|
|
587581
587612
|
await regenerateCompletionCache();
|
|
587582
587613
|
}
|
|
@@ -587636,12 +587667,12 @@ async function update() {
|
|
|
587636
587667
|
`);
|
|
587637
587668
|
await gracefulShutdown(1);
|
|
587638
587669
|
}
|
|
587639
|
-
if (latestVersion === "0.10.
|
|
587640
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.10.
|
|
587670
|
+
if (latestVersion === "0.10.6") {
|
|
587671
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.10.6"})`) + `
|
|
587641
587672
|
`);
|
|
587642
587673
|
await gracefulShutdown(0);
|
|
587643
587674
|
}
|
|
587644
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.10.
|
|
587675
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.10.6"})
|
|
587645
587676
|
`);
|
|
587646
587677
|
writeToStdout(`Installing update...
|
|
587647
587678
|
`);
|
|
@@ -587686,7 +587717,7 @@ async function update() {
|
|
|
587686
587717
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
587687
587718
|
switch (status2) {
|
|
587688
587719
|
case "success":
|
|
587689
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.10.
|
|
587720
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.10.6"} to version ${latestVersion}`) + `
|
|
587690
587721
|
`);
|
|
587691
587722
|
await regenerateCompletionCache();
|
|
587692
587723
|
break;
|
|
@@ -588941,7 +588972,7 @@ ${customInstructions}` : customInstructions;
|
|
|
588941
588972
|
is_native_binary: isInBundledMode()
|
|
588942
588973
|
});
|
|
588943
588974
|
logMemoryDiagnostics("start", {
|
|
588944
|
-
version: "0.10.
|
|
588975
|
+
version: "0.10.6",
|
|
588945
588976
|
debug: debug2,
|
|
588946
588977
|
debugToStderr,
|
|
588947
588978
|
print: print ?? false,
|
|
@@ -589747,7 +589778,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
589747
589778
|
pendingHookMessages
|
|
589748
589779
|
}, renderAndRun);
|
|
589749
589780
|
}
|
|
589750
|
-
}).version(`0.10.
|
|
589781
|
+
}).version(`0.10.6 (${cliDesc})`, "-v, --version", "Output the version number");
|
|
589751
589782
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
589752
589783
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
589753
589784
|
if (canUserConfigureAdvisor()) {
|
|
@@ -590322,7 +590353,7 @@ if (false) {}
|
|
|
590322
590353
|
async function main2() {
|
|
590323
590354
|
const args = process.argv.slice(2);
|
|
590324
590355
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
590325
|
-
console.log(`${"0.10.
|
|
590356
|
+
console.log(`${"0.10.6"} (Verboo Code)`);
|
|
590326
590357
|
return;
|
|
590327
590358
|
}
|
|
590328
590359
|
if (!IS_VERBOO_CLI && args.includes("--provider")) {
|
|
@@ -590496,4 +590527,4 @@ async function main2() {
|
|
|
590496
590527
|
}
|
|
590497
590528
|
main2();
|
|
590498
590529
|
|
|
590499
|
-
//# debugId=
|
|
590530
|
+
//# debugId=3FF4A7EC08344AC564756E2164756E21
|