@verboo/code 0.14.1 → 0.14.3
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 +103 -73
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -173830,7 +173830,7 @@ function getClaudeCodeUserAgent() {
|
|
|
173830
173830
|
return `claude-code/${"99.0.0"}`;
|
|
173831
173831
|
}
|
|
173832
173832
|
function getVerbooCodeUserAgent() {
|
|
173833
|
-
const version2 = typeof MACRO !== "undefined" ? "0.14.
|
|
173833
|
+
const version2 = typeof MACRO !== "undefined" ? "0.14.3" : "unknown";
|
|
173834
173834
|
return `verboo-code/${version2}`;
|
|
173835
173835
|
}
|
|
173836
173836
|
|
|
@@ -295037,25 +295037,6 @@ function filterCliPurchasablePlans(groups, subscriptions) {
|
|
|
295037
295037
|
return !full || convertingLocalTrial;
|
|
295038
295038
|
});
|
|
295039
295039
|
}
|
|
295040
|
-
function formatCPF(value) {
|
|
295041
|
-
const digits = onlyDigits(value).slice(0, 11);
|
|
295042
|
-
if (digits.length <= 3)
|
|
295043
|
-
return digits;
|
|
295044
|
-
if (digits.length <= 6)
|
|
295045
|
-
return `${digits.slice(0, 3)}.${digits.slice(3)}`;
|
|
295046
|
-
if (digits.length <= 9) {
|
|
295047
|
-
return `${digits.slice(0, 3)}.${digits.slice(3, 6)}.${digits.slice(6)}`;
|
|
295048
|
-
}
|
|
295049
|
-
return `${digits.slice(0, 3)}.${digits.slice(3, 6)}.${digits.slice(6, 9)}-${digits.slice(9)}`;
|
|
295050
|
-
}
|
|
295051
|
-
function formatPhone(value) {
|
|
295052
|
-
const digits = onlyDigits(value).slice(0, 11);
|
|
295053
|
-
if (digits.length <= 2)
|
|
295054
|
-
return digits.length > 0 ? `(${digits}` : "";
|
|
295055
|
-
if (digits.length <= 7)
|
|
295056
|
-
return `(${digits.slice(0, 2)}) ${digits.slice(2)}`;
|
|
295057
|
-
return `(${digits.slice(0, 2)}) ${digits.slice(2, 7)}-${digits.slice(7)}`;
|
|
295058
|
-
}
|
|
295059
295040
|
function formatPrice2(cents, currency) {
|
|
295060
295041
|
return new Intl.NumberFormat("pt-BR", {
|
|
295061
295042
|
style: "currency",
|
|
@@ -295326,9 +295307,9 @@ function WooviPayerForm({
|
|
|
295326
295307
|
const [cpfCursorOffset, setCPFCursorOffset] = import_react62.useState(0);
|
|
295327
295308
|
const [phoneCursorOffset, setPhoneCursorOffset] = import_react62.useState(0);
|
|
295328
295309
|
const submitCPF = (value) => {
|
|
295329
|
-
const
|
|
295330
|
-
setCPF(
|
|
295331
|
-
if (!isValidCPF(
|
|
295310
|
+
const digits = onlyDigits(value).slice(0, 11);
|
|
295311
|
+
setCPF(digits);
|
|
295312
|
+
if (!isValidCPF(digits)) {
|
|
295332
295313
|
setError("Informe um CPF válido para continuar.");
|
|
295333
295314
|
return;
|
|
295334
295315
|
}
|
|
@@ -295336,9 +295317,8 @@ function WooviPayerForm({
|
|
|
295336
295317
|
setField("phone");
|
|
295337
295318
|
};
|
|
295338
295319
|
const submitPhone = (value) => {
|
|
295339
|
-
const
|
|
295340
|
-
setPhone(
|
|
295341
|
-
const digits = onlyDigits(formatted);
|
|
295320
|
+
const digits = onlyDigits(value).slice(0, 11);
|
|
295321
|
+
setPhone(digits);
|
|
295342
295322
|
if (digits.length !== 11 || digits[2] !== "9") {
|
|
295343
295323
|
setError("Informe um celular brasileiro com DDD.");
|
|
295344
295324
|
return;
|
|
@@ -295369,12 +295349,12 @@ function WooviPayerForm({
|
|
|
295369
295349
|
onChangeCursorOffset: setCPFCursorOffset,
|
|
295370
295350
|
onChange: (value) => {
|
|
295371
295351
|
setError(null);
|
|
295372
|
-
setCPF(
|
|
295352
|
+
setCPF(onlyDigits(value).slice(0, 11));
|
|
295373
295353
|
},
|
|
295374
295354
|
onSubmit: submitCPF,
|
|
295375
295355
|
onExit: onCancel,
|
|
295376
295356
|
columns: INPUT_COLUMNS,
|
|
295377
|
-
placeholder: "
|
|
295357
|
+
placeholder: "00000000000",
|
|
295378
295358
|
focus: true,
|
|
295379
295359
|
showCursor: true,
|
|
295380
295360
|
multiline: false
|
|
@@ -295392,12 +295372,12 @@ function WooviPayerForm({
|
|
|
295392
295372
|
onChangeCursorOffset: setPhoneCursorOffset,
|
|
295393
295373
|
onChange: (value) => {
|
|
295394
295374
|
setError(null);
|
|
295395
|
-
setPhone(
|
|
295375
|
+
setPhone(onlyDigits(value).slice(0, 11));
|
|
295396
295376
|
},
|
|
295397
295377
|
onSubmit: submitPhone,
|
|
295398
295378
|
onExit: onCancel,
|
|
295399
295379
|
columns: INPUT_COLUMNS,
|
|
295400
|
-
placeholder: "
|
|
295380
|
+
placeholder: "11999999999",
|
|
295401
295381
|
focus: true,
|
|
295402
295382
|
showCursor: true,
|
|
295403
295383
|
multiline: false
|
|
@@ -300353,6 +300333,38 @@ var init_auth6 = __esm(() => {
|
|
|
300353
300333
|
init_crypto2();
|
|
300354
300334
|
});
|
|
300355
300335
|
|
|
300336
|
+
// src/services/oauth/subscriptionAccess.ts
|
|
300337
|
+
function hasCurrentSubscriptionAccess(subscription, now2 = Date.now()) {
|
|
300338
|
+
if (subscription.status !== "active" && subscription.status !== "trialing") {
|
|
300339
|
+
return false;
|
|
300340
|
+
}
|
|
300341
|
+
if (!subscription.currentPeriodEnd)
|
|
300342
|
+
return true;
|
|
300343
|
+
const periodEnd = new Date(subscription.currentPeriodEnd).getTime();
|
|
300344
|
+
return Number.isFinite(periodEnd) && periodEnd > now2;
|
|
300345
|
+
}
|
|
300346
|
+
function hasCurrentSubscriptionEntitlement(subscriptions, now2 = Date.now()) {
|
|
300347
|
+
return subscriptions.some((subscription) => hasCurrentSubscriptionAccess(subscription, now2));
|
|
300348
|
+
}
|
|
300349
|
+
function getPastDueAccessDecision(subscriptions, now2 = Date.now()) {
|
|
300350
|
+
const pastDueSubscriptions = subscriptions.filter((subscription) => subscription.status === "past_due");
|
|
300351
|
+
if (pastDueSubscriptions.length === 0) {
|
|
300352
|
+
return { kind: "continue", pastDueSubscriptions };
|
|
300353
|
+
}
|
|
300354
|
+
if (hasCurrentSubscriptionEntitlement(subscriptions, now2)) {
|
|
300355
|
+
return { kind: "warn", pastDueSubscriptions };
|
|
300356
|
+
}
|
|
300357
|
+
return { kind: "block", pastDueSubscriptions };
|
|
300358
|
+
}
|
|
300359
|
+
function formatPastDuePlanNames(subscriptions) {
|
|
300360
|
+
const names = subscriptions.map((subscription) => subscription.group?.name ?? subscription.groupId);
|
|
300361
|
+
if (names.length <= 1)
|
|
300362
|
+
return names[0] ?? "";
|
|
300363
|
+
if (names.length === 2)
|
|
300364
|
+
return `${names[0]} e ${names[1]}`;
|
|
300365
|
+
return `${names.slice(0, -1).join(", ")} e ${names.at(-1)}`;
|
|
300366
|
+
}
|
|
300367
|
+
|
|
300356
300368
|
// src/services/oauth/pastDueFlow.tsx
|
|
300357
300369
|
function formatPrice3(cents, currency) {
|
|
300358
300370
|
return new Intl.NumberFormat("pt-BR", {
|
|
@@ -300360,6 +300372,12 @@ function formatPrice3(cents, currency) {
|
|
|
300360
300372
|
currency: currency.toUpperCase()
|
|
300361
300373
|
}).format(cents / 100);
|
|
300362
300374
|
}
|
|
300375
|
+
function getPastDueWarningMessage(subscriptions) {
|
|
300376
|
+
return [
|
|
300377
|
+
`⚠ Pagamento pendente em ${formatPastDuePlanNames(subscriptions)}.`,
|
|
300378
|
+
"Seu acesso pelos outros planos ativos continua liberado; regularize no painel de assinaturas."
|
|
300379
|
+
].join(" ");
|
|
300380
|
+
}
|
|
300363
300381
|
function PastDueView({
|
|
300364
300382
|
accessToken,
|
|
300365
300383
|
onDone
|
|
@@ -300382,12 +300400,12 @@ function PastDueView({
|
|
|
300382
300400
|
});
|
|
300383
300401
|
if (controller.signal.aborted)
|
|
300384
300402
|
return;
|
|
300385
|
-
const
|
|
300386
|
-
setPastDueGroups(
|
|
300387
|
-
if (
|
|
300403
|
+
const decision = getPastDueAccessDecision(subscriptions);
|
|
300404
|
+
setPastDueGroups(decision.pastDueSubscriptions);
|
|
300405
|
+
if (decision.kind === "continue")
|
|
300388
300406
|
onDone(true);
|
|
300389
300407
|
else
|
|
300390
|
-
setStep("notice");
|
|
300408
|
+
setStep(decision.kind === "warn" ? "warning" : "notice");
|
|
300391
300409
|
} catch (error42) {
|
|
300392
300410
|
if (controller.signal.aborted)
|
|
300393
300411
|
return;
|
|
@@ -300396,6 +300414,12 @@ function PastDueView({
|
|
|
300396
300414
|
setStep("error");
|
|
300397
300415
|
}
|
|
300398
300416
|
}, [accessToken, onDone]);
|
|
300417
|
+
import_react63.useEffect(() => {
|
|
300418
|
+
if (step !== "warning")
|
|
300419
|
+
return;
|
|
300420
|
+
const timer = setTimeout(() => onDone(true), 0);
|
|
300421
|
+
return () => clearTimeout(timer);
|
|
300422
|
+
}, [onDone, step]);
|
|
300399
300423
|
import_react63.useEffect(() => {
|
|
300400
300424
|
loadSubscriptions();
|
|
300401
300425
|
return () => {
|
|
@@ -300418,7 +300442,7 @@ function PastDueView({
|
|
|
300418
300442
|
const subscriptions = await fetchSubscriptions(accessToken, {
|
|
300419
300443
|
signal: controller.signal
|
|
300420
300444
|
});
|
|
300421
|
-
if (
|
|
300445
|
+
if (getPastDueAccessDecision(subscriptions).kind !== "block") {
|
|
300422
300446
|
setStep("success");
|
|
300423
300447
|
completionTimerRef.current = setTimeout(() => onDone(true), 1500);
|
|
300424
300448
|
return;
|
|
@@ -300461,6 +300485,12 @@ function PastDueView({
|
|
|
300461
300485
|
}, [accessToken, startPolling]);
|
|
300462
300486
|
if (step === "loading")
|
|
300463
300487
|
return null;
|
|
300488
|
+
if (step === "warning") {
|
|
300489
|
+
return /* @__PURE__ */ jsx_runtime73.jsx(ThemedText, {
|
|
300490
|
+
color: "yellow",
|
|
300491
|
+
children: getPastDueWarningMessage(pastDueGroups)
|
|
300492
|
+
});
|
|
300493
|
+
}
|
|
300464
300494
|
if (step === "notice") {
|
|
300465
300495
|
return /* @__PURE__ */ jsx_runtime73.jsxs(ThemedBox_default, {
|
|
300466
300496
|
flexDirection: "column",
|
|
@@ -300568,7 +300598,7 @@ function PastDueView({
|
|
|
300568
300598
|
async function showPastDueNotice(accessToken) {
|
|
300569
300599
|
if (!process.stdin.isTTY || !process.stdout.isTTY) {
|
|
300570
300600
|
const subscriptions = await fetchSubscriptions(accessToken);
|
|
300571
|
-
return
|
|
300601
|
+
return getPastDueAccessDecision(subscriptions).kind !== "block";
|
|
300572
300602
|
}
|
|
300573
300603
|
return new Promise((resolve21) => {
|
|
300574
300604
|
let instance = null;
|
|
@@ -300980,7 +301010,7 @@ async function loadAndCheckModels(accessToken) {
|
|
|
300980
301010
|
throw new Error(getVerbooModelsUnavailableMessage(result.reason));
|
|
300981
301011
|
}
|
|
300982
301012
|
const subscriptions = await fetchSubscriptions(accessToken);
|
|
300983
|
-
const hasCurrentEntitlement = subscriptions
|
|
301013
|
+
const hasCurrentEntitlement = hasCurrentSubscriptionEntitlement(subscriptions);
|
|
300984
301014
|
if (hasCurrentEntitlement) {
|
|
300985
301015
|
for (let attempt = 0;attempt < 4; attempt += 1) {
|
|
300986
301016
|
await new Promise((resolve21) => setTimeout(resolve21, 3000));
|
|
@@ -395776,7 +395806,7 @@ function getAnthropicEnvMetadata() {
|
|
|
395776
395806
|
function getBuildAgeMinutes() {
|
|
395777
395807
|
if (false)
|
|
395778
395808
|
;
|
|
395779
|
-
const buildTime = new Date("2026-07-
|
|
395809
|
+
const buildTime = new Date("2026-07-20T18:35:00.306Z").getTime();
|
|
395780
395810
|
if (isNaN(buildTime))
|
|
395781
395811
|
return;
|
|
395782
395812
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -424036,7 +424066,7 @@ function buildPrimarySection() {
|
|
|
424036
424066
|
});
|
|
424037
424067
|
return [{
|
|
424038
424068
|
label: "Version",
|
|
424039
|
-
value: "0.14.
|
|
424069
|
+
value: "0.14.3"
|
|
424040
424070
|
}, {
|
|
424041
424071
|
label: "Session name",
|
|
424042
424072
|
value: nameValue
|
|
@@ -436965,7 +436995,7 @@ function getReleaseTagUrl(version2 = publicBuildVersion) {
|
|
|
436965
436995
|
return `${VERBOO_RELEASES_URL}/tag/v${normalizePublicVersion(version2)}`;
|
|
436966
436996
|
}
|
|
436967
436997
|
function getPublicBuildVersion() {
|
|
436968
|
-
return "0.14.
|
|
436998
|
+
return "0.14.3";
|
|
436969
436999
|
}
|
|
436970
437000
|
var import_semver10, VERBOO_RELEASES_URL = "https://github.com/verbeux-ai/code/releases", fallbackBuildVersion, publicBuildVersion;
|
|
436971
437001
|
var init_version = __esm(() => {
|
|
@@ -488358,7 +488388,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
488358
488388
|
var call64 = async () => {
|
|
488359
488389
|
return {
|
|
488360
488390
|
type: "text",
|
|
488361
|
-
value: `${"99.0.0"} (built ${"2026-07-
|
|
488391
|
+
value: `${"99.0.0"} (built ${"2026-07-20T18:35:00.306Z"})`
|
|
488362
488392
|
};
|
|
488363
488393
|
}, version2, version_default;
|
|
488364
488394
|
var init_version2 = __esm(() => {
|
|
@@ -521433,7 +521463,7 @@ function printStartupScreen(modelOverride) {
|
|
|
521433
521463
|
const home = process.env.HOME || process.env.USERPROFILE || "";
|
|
521434
521464
|
const cwd2 = process.cwd();
|
|
521435
521465
|
const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
|
|
521436
|
-
const version3 = "0.14.
|
|
521466
|
+
const version3 = "0.14.3";
|
|
521437
521467
|
const bold2 = `${ESC4}1m`;
|
|
521438
521468
|
const PURPLE = rgb3(...ACCENT);
|
|
521439
521469
|
const SOFT = rgb3(...CREAM);
|
|
@@ -539725,7 +539755,7 @@ var init_routerRateLimitHook = __esm(() => {
|
|
|
539725
539755
|
function getSemverPart(version3) {
|
|
539726
539756
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
539727
539757
|
}
|
|
539728
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.14.
|
|
539758
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.14.3") {
|
|
539729
539759
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react225.useState(() => getSemverPart(initialVersion));
|
|
539730
539760
|
const [pendingNotification2, setPendingNotification] = import_react225.useState(null);
|
|
539731
539761
|
if (updatedVersion) {
|
|
@@ -539765,7 +539795,7 @@ function AutoUpdater({
|
|
|
539765
539795
|
return;
|
|
539766
539796
|
}
|
|
539767
539797
|
if (false) {}
|
|
539768
|
-
const currentVersion = "0.14.
|
|
539798
|
+
const currentVersion = "0.14.3";
|
|
539769
539799
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
539770
539800
|
let latestVersion = await getLatestVersion(channel2);
|
|
539771
539801
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -540118,17 +540148,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
540118
540148
|
const maxVersion = await getMaxVersion();
|
|
540119
540149
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
540120
540150
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
540121
|
-
if (gte("0.14.
|
|
540122
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.14.
|
|
540151
|
+
if (gte("0.14.3", maxVersion)) {
|
|
540152
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.14.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
540123
540153
|
setUpdateAvailable(false);
|
|
540124
540154
|
return;
|
|
540125
540155
|
}
|
|
540126
540156
|
latest = maxVersion;
|
|
540127
540157
|
}
|
|
540128
|
-
const hasUpdate = latest && !gte("0.14.
|
|
540158
|
+
const hasUpdate = latest && !gte("0.14.3", latest) && !shouldSkipVersion(latest);
|
|
540129
540159
|
setUpdateAvailable(!!hasUpdate);
|
|
540130
540160
|
if (hasUpdate) {
|
|
540131
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.14.
|
|
540161
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.14.3"} -> ${latest}`);
|
|
540132
540162
|
}
|
|
540133
540163
|
};
|
|
540134
540164
|
$2[0] = t1;
|
|
@@ -540162,7 +540192,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
540162
540192
|
wrap: "truncate",
|
|
540163
540193
|
children: [
|
|
540164
540194
|
"currentVersion: ",
|
|
540165
|
-
"0.14.
|
|
540195
|
+
"0.14.3"
|
|
540166
540196
|
]
|
|
540167
540197
|
});
|
|
540168
540198
|
$2[3] = verbose;
|
|
@@ -556113,10 +556143,10 @@ async function autoUpdateCliInBackground() {
|
|
|
556113
556143
|
return;
|
|
556114
556144
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
556115
556145
|
const latest = await getLatestVersion(channel2);
|
|
556116
|
-
if (!latest || gte("0.14.
|
|
556146
|
+
if (!latest || gte("0.14.3", latest))
|
|
556117
556147
|
return;
|
|
556118
556148
|
writeToStdout(`
|
|
556119
|
-
Nova versão disponível: ${latest} (atual: ${"0.14.
|
|
556149
|
+
Nova versão disponível: ${latest} (atual: ${"0.14.3"})
|
|
556120
556150
|
`);
|
|
556121
556151
|
writeToStdout(`Atualizando automaticamente...
|
|
556122
556152
|
`);
|
|
@@ -573810,7 +573840,7 @@ function WelcomeV2() {
|
|
|
573810
573840
|
dimColor: true,
|
|
573811
573841
|
children: [
|
|
573812
573842
|
"v",
|
|
573813
|
-
"0.14.
|
|
573843
|
+
"0.14.3",
|
|
573814
573844
|
" "
|
|
573815
573845
|
]
|
|
573816
573846
|
})
|
|
@@ -573997,7 +574027,7 @@ function WelcomeV2() {
|
|
|
573997
574027
|
dimColor: true,
|
|
573998
574028
|
children: [
|
|
573999
574029
|
"v",
|
|
574000
|
-
"0.14.
|
|
574030
|
+
"0.14.3",
|
|
574001
574031
|
" "
|
|
574002
574032
|
]
|
|
574003
574033
|
})
|
|
@@ -574213,7 +574243,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
574213
574243
|
dimColor: true,
|
|
574214
574244
|
children: [
|
|
574215
574245
|
"v",
|
|
574216
|
-
"0.14.
|
|
574246
|
+
"0.14.3",
|
|
574217
574247
|
" "
|
|
574218
574248
|
]
|
|
574219
574249
|
});
|
|
@@ -574422,7 +574452,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
574422
574452
|
dimColor: true,
|
|
574423
574453
|
children: [
|
|
574424
574454
|
"v",
|
|
574425
|
-
"0.14.
|
|
574455
|
+
"0.14.3",
|
|
574426
574456
|
" "
|
|
574427
574457
|
]
|
|
574428
574458
|
});
|
|
@@ -591824,7 +591854,7 @@ __export(exports_update, {
|
|
|
591824
591854
|
});
|
|
591825
591855
|
async function update() {
|
|
591826
591856
|
logEvent("tengu_update_check", {});
|
|
591827
|
-
writeToStdout(`Current version: ${"0.14.
|
|
591857
|
+
writeToStdout(`Current version: ${"0.14.3"}
|
|
591828
591858
|
`);
|
|
591829
591859
|
const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
591830
591860
|
writeToStdout(`Checking for updates to ${channel2} version...
|
|
@@ -591909,8 +591939,8 @@ async function update() {
|
|
|
591909
591939
|
writeToStdout(`Verboo Code is managed by Homebrew.
|
|
591910
591940
|
`);
|
|
591911
591941
|
const latest = await getLatestVersion(channel2);
|
|
591912
|
-
if (latest && !gte("0.14.
|
|
591913
|
-
writeToStdout(`Update available: ${"0.14.
|
|
591942
|
+
if (latest && !gte("0.14.3", latest)) {
|
|
591943
|
+
writeToStdout(`Update available: ${"0.14.3"} → ${latest}
|
|
591914
591944
|
`);
|
|
591915
591945
|
writeToStdout(`
|
|
591916
591946
|
`);
|
|
@@ -591926,8 +591956,8 @@ async function update() {
|
|
|
591926
591956
|
writeToStdout(`Verboo Code is managed by winget.
|
|
591927
591957
|
`);
|
|
591928
591958
|
const latest = await getLatestVersion(channel2);
|
|
591929
|
-
if (latest && !gte("0.14.
|
|
591930
|
-
writeToStdout(`Update available: ${"0.14.
|
|
591959
|
+
if (latest && !gte("0.14.3", latest)) {
|
|
591960
|
+
writeToStdout(`Update available: ${"0.14.3"} → ${latest}
|
|
591931
591961
|
`);
|
|
591932
591962
|
writeToStdout(`
|
|
591933
591963
|
`);
|
|
@@ -591943,8 +591973,8 @@ async function update() {
|
|
|
591943
591973
|
writeToStdout(`Verboo Code is managed by apk.
|
|
591944
591974
|
`);
|
|
591945
591975
|
const latest = await getLatestVersion(channel2);
|
|
591946
|
-
if (latest && !gte("0.14.
|
|
591947
|
-
writeToStdout(`Update available: ${"0.14.
|
|
591976
|
+
if (latest && !gte("0.14.3", latest)) {
|
|
591977
|
+
writeToStdout(`Update available: ${"0.14.3"} → ${latest}
|
|
591948
591978
|
`);
|
|
591949
591979
|
writeToStdout(`
|
|
591950
591980
|
`);
|
|
@@ -591997,11 +592027,11 @@ async function update() {
|
|
|
591997
592027
|
`);
|
|
591998
592028
|
await gracefulShutdown(1);
|
|
591999
592029
|
}
|
|
592000
|
-
if (result.latestVersion === "0.14.
|
|
592001
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.14.
|
|
592030
|
+
if (result.latestVersion === "0.14.3") {
|
|
592031
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.14.3"})`) + `
|
|
592002
592032
|
`);
|
|
592003
592033
|
} else {
|
|
592004
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.14.
|
|
592034
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.14.3"} to version ${result.latestVersion}`) + `
|
|
592005
592035
|
`);
|
|
592006
592036
|
await regenerateCompletionCache();
|
|
592007
592037
|
}
|
|
@@ -592061,12 +592091,12 @@ async function update() {
|
|
|
592061
592091
|
`);
|
|
592062
592092
|
await gracefulShutdown(1);
|
|
592063
592093
|
}
|
|
592064
|
-
if (latestVersion === "0.14.
|
|
592065
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.14.
|
|
592094
|
+
if (latestVersion === "0.14.3") {
|
|
592095
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.14.3"})`) + `
|
|
592066
592096
|
`);
|
|
592067
592097
|
await gracefulShutdown(0);
|
|
592068
592098
|
}
|
|
592069
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.14.
|
|
592099
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.14.3"})
|
|
592070
592100
|
`);
|
|
592071
592101
|
writeToStdout(`Installing update...
|
|
592072
592102
|
`);
|
|
@@ -592111,7 +592141,7 @@ async function update() {
|
|
|
592111
592141
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
592112
592142
|
switch (status2) {
|
|
592113
592143
|
case "success":
|
|
592114
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.14.
|
|
592144
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.14.3"} to version ${latestVersion}`) + `
|
|
592115
592145
|
`);
|
|
592116
592146
|
await regenerateCompletionCache();
|
|
592117
592147
|
break;
|
|
@@ -593395,7 +593425,7 @@ ${customInstructions}` : customInstructions;
|
|
|
593395
593425
|
is_native_binary: isInBundledMode()
|
|
593396
593426
|
});
|
|
593397
593427
|
logMemoryDiagnostics("start", {
|
|
593398
|
-
version: "0.14.
|
|
593428
|
+
version: "0.14.3",
|
|
593399
593429
|
debug: debug2,
|
|
593400
593430
|
debugToStderr,
|
|
593401
593431
|
print: print ?? false,
|
|
@@ -594206,7 +594236,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
594206
594236
|
pendingHookMessages
|
|
594207
594237
|
}, renderAndRun);
|
|
594208
594238
|
}
|
|
594209
|
-
}).version(`0.14.
|
|
594239
|
+
}).version(`0.14.3 (${cliDesc})`, "-v, --version", "Output the version number");
|
|
594210
594240
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
594211
594241
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
594212
594242
|
if (canUserConfigureAdvisor()) {
|
|
@@ -594782,7 +594812,7 @@ if (false) {}
|
|
|
594782
594812
|
async function main2() {
|
|
594783
594813
|
const args = process.argv.slice(2);
|
|
594784
594814
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
594785
|
-
console.log(`${"0.14.
|
|
594815
|
+
console.log(`${"0.14.3"} (Verboo Code)`);
|
|
594786
594816
|
return;
|
|
594787
594817
|
}
|
|
594788
594818
|
if (!IS_VERBOO_CLI && args.includes("--provider")) {
|
|
@@ -594956,4 +594986,4 @@ async function main2() {
|
|
|
594956
594986
|
}
|
|
594957
594987
|
main2();
|
|
594958
594988
|
|
|
594959
|
-
//# debugId=
|
|
594989
|
+
//# debugId=C3252DC35520BF3F64756E2164756E21
|