@verboo/code 0.8.7 → 0.8.9
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 +88 -63
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -143578,7 +143578,7 @@ function calculateContextPercentages(currentUsage, contextWindowSize) {
|
|
|
143578
143578
|
if (!currentUsage) {
|
|
143579
143579
|
return { used: null, remaining: null };
|
|
143580
143580
|
}
|
|
143581
|
-
const totalInputTokens = currentUsage.input_tokens
|
|
143581
|
+
const totalInputTokens = currentUsage.input_tokens;
|
|
143582
143582
|
const usedPercentage = Math.round(totalInputTokens / contextWindowSize * 100);
|
|
143583
143583
|
const clampedUsed = Math.min(100, Math.max(0, usedPercentage));
|
|
143584
143584
|
return {
|
|
@@ -280711,7 +280711,7 @@ async function getLatestVersion(channel) {
|
|
|
280711
280711
|
const npmTag = channel === "stable" ? "stable" : "latest";
|
|
280712
280712
|
const result = await execFileNoThrowWithCwd("npm", ["view", `${"@verboo/code"}@${npmTag}`, "version", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir19() });
|
|
280713
280713
|
if (result.code !== 0) {
|
|
280714
|
-
logForDebugging2(`npm view failed with code ${result.code}`);
|
|
280714
|
+
logForDebugging2(`npm view failed with code ${result.code} for tag '${npmTag}'`);
|
|
280715
280715
|
if (result.stderr) {
|
|
280716
280716
|
logForDebugging2(`npm stderr: ${result.stderr.trim()}`);
|
|
280717
280717
|
} else {
|
|
@@ -280720,6 +280720,13 @@ async function getLatestVersion(channel) {
|
|
|
280720
280720
|
if (result.stdout) {
|
|
280721
280721
|
logForDebugging2(`npm stdout: ${result.stdout.trim()}`);
|
|
280722
280722
|
}
|
|
280723
|
+
if (npmTag === "stable") {
|
|
280724
|
+
logForDebugging2(`Tag 'stable' indisponível; caindo para 'latest' como fallback`);
|
|
280725
|
+
const fallback = await execFileNoThrowWithCwd("npm", ["view", `${"@verboo/code"}@latest`, "version", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir19() });
|
|
280726
|
+
if (fallback.code === 0) {
|
|
280727
|
+
return fallback.stdout.trim();
|
|
280728
|
+
}
|
|
280729
|
+
}
|
|
280723
280730
|
return null;
|
|
280724
280731
|
}
|
|
280725
280732
|
return result.stdout.trim();
|
|
@@ -389790,15 +389797,41 @@ async function* queryLoop(params, consumedCommandUuids) {
|
|
|
389790
389797
|
const lastAssistant = assistantMessages.at(-1);
|
|
389791
389798
|
if (lastAssistant?.type === "assistant") {
|
|
389792
389799
|
const lastText = lastAssistant.message.content.filter((b) => b.type === "text").map((b) => b.text).join(" ").toLowerCase();
|
|
389800
|
+
const VERBS_EN = "do|create|write|edit|update|fix|implement|add|run|check|make|build|set up|deploy|test|install|refactor|investigate|search|explore|analyze|analyse|review|validate|patch|start|finish|prepare|plan|design|draft|generate|produce|begin|commit|push|debug|verify|inspect|trace|compile|launch|kick off|spin up|wire up|hook up|tackle|address|handle";
|
|
389801
|
+
const VERBS_PT = "fazer|criar|escrever|editar|atualizar|corrigir|consertar|implementar|adicionar|incluir|rodar|executar|verificar|checar|construir|montar|configurar|come[çc]ar|iniciar|continuar|seguir|proceder|prosseguir|deployar|testar|instalar|refatorar|investigar|buscar|procurar|explorar|analisar|revisar|validar|terminar|preparar|planejar|desenhar|esbo[çc]ar|rascunhar|gerar|produzir|commitar|push(ar|ear)|debugar|inspecionar|tra[çc]ar|compilar|subir|lan[çc]ar|atacar|tratar|resolver|abordar|mexer (no|na|nos|nas|em)|alterar|trocar|substituir";
|
|
389793
389802
|
const continuationSignals = [
|
|
389794
|
-
|
|
389795
|
-
|
|
389796
|
-
|
|
389797
|
-
|
|
389798
|
-
|
|
389799
|
-
|
|
389803
|
+
new RegExp(`\\bso now (i|let me|we|i'll) (need to|have to|should|must|will|am going to|am about to)?\\s*(${VERBS_EN})\\b`),
|
|
389804
|
+
new RegExp(`\\bnow (i('ll| will| am going to| am about to)|let me|we'll|we will)\\s+(${VERBS_EN}|go|proceed)\\b`),
|
|
389805
|
+
new RegExp(`\\blet me (go ahead and |now |first |then |also |quickly |actually )?(${VERBS_EN}|proceed)\\b`),
|
|
389806
|
+
new RegExp(`\\bi'?m (going to|about to|gonna)\\s+(${VERBS_EN}|go|proceed)\\b`),
|
|
389807
|
+
...lastText.length < 200 ? [new RegExp(`\\bi('ll| will| need to| have to| must)\\s+(now |then |first |also |actually )?(${VERBS_EN})\\b`)] : [],
|
|
389808
|
+
new RegExp(`\\btime to\\s+(${VERBS_EN}|get started)\\b`),
|
|
389809
|
+
new RegExp(`\\b(next|first|then|after that|moving on|onto|on to),?\\s+(i('ll| will)|let me|i need to|i'?m going to)\\s+(${VERBS_EN})\\b`),
|
|
389810
|
+
new RegExp(`\\b(starting with|beginning by|tackling|diving into|heading (in)?to|stepping into|kicking off|moving to|going to|about to)\\s+(the |a |an )?(${VERBS_EN}|task|step|next|implementation)\\b`),
|
|
389811
|
+
/\b(continuing|proceeding|moving) (with|to|on)\b/,
|
|
389812
|
+
/\bplan(:|\s+is to|\s+now is|\s+here is)\b/,
|
|
389813
|
+
/\b(step|phase|stage)\s*\d+\b/,
|
|
389814
|
+
/\b(first|next|then|finally|lastly),?\s+(i('ll| will)|let me)\b/,
|
|
389815
|
+
/\b(here'?s|here is) (the|my|what) (plan|approach|strategy|steps)\b/,
|
|
389816
|
+
/\bgoing to (start|begin) (by|with)\b/,
|
|
389817
|
+
/\bonce (that'?s|that is|i'?m) done,?\s+(i('ll| will)|let me)\b/,
|
|
389818
|
+
new RegExp(`\\b(agora|ent[ãa]o|ai|a[ií]|da[íi])\\s+(vou|preciso|posso|tenho que|devo|estou indo|estou prestes a|irei|farei|seguirei|come[çc]arei|continuarei)\\s+(${VERBS_PT})\\b`),
|
|
389819
|
+
new RegExp(`\\bvou\\s+(${VERBS_PT})\\b`),
|
|
389820
|
+
new RegExp(`\\b(vamos|bora)\\s+(${VERBS_PT})\\b`),
|
|
389821
|
+
new RegExp(`\\b(deixa|deixe)\\s+(eu|me)\\s+(${VERBS_PT})\\b`),
|
|
389822
|
+
new RegExp(`\\bhora de\\s+(${VERBS_PT}|come[çc]ar|seguir|continuar|botar a m[ãa]o)\\b`),
|
|
389823
|
+
new RegExp(`\\b(pretendo|tenciono|planejo|preciso|tenho que|devo)\\s+(${VERBS_PT})\\b`),
|
|
389824
|
+
new RegExp(`\\b(estou|t[ôo])\\s+(indo|prestes a|come[çc]ando a|partindo para|partindo pra|encaminhando para)\\s+(${VERBS_PT})\\b`),
|
|
389825
|
+
new RegExp(`\\b(pegando|partindo|seguindo|avan[çc]ando|encaminhando|indo)\\s+(para|pra)\\s+(${VERBS_PT})\\b`),
|
|
389826
|
+
/\b(pr[óo]ximo passo|em seguida|a seguir|na sequ[êe]ncia|seguindo em frente|m[ãa]os [àa] obra|partiu|bora l[áa]|l[áa] vai|l[áa] vou eu|j[áa] vou|aqui vai|manda ver|j[áa] j[áa]|de cara)\b/,
|
|
389827
|
+
new RegExp(`\\b(continuando|prosseguindo|seguindo|avan[çc]ando|retomando)(\\s+com|\\s+a|\\s+o|\\s+para|\\s+pra|,)`),
|
|
389828
|
+
/\b(passo|etapa|fase)\s*\d+\b/,
|
|
389829
|
+
/\b(plano|estrat[ée]gia|abordagem|roteiro|sequ[êe]ncia)(:|\s+[ée]|\s+seria|\s+ser[áa]|\s+aqui [ée])\b/,
|
|
389830
|
+
new RegExp(`\\b(primeiro|depois|ent[ãa]o|em seguida|por fim|por [úu]ltimo|ap[óo]s isso),?\\s+(vou|preciso|tenho que|devo|farei|criarei|implementarei|come[çc]arei|verificarei|checarei|seguirei|continuarei|terminarei|rodarei|executarei|testarei)\\b`),
|
|
389831
|
+
/\b(aqui (vai|est[áa])|aqui segue) (o|a|os|as|meu|minha)?\s*(plano|abordagem|estrat[ée]gia|roteiro|passos|etapas)\b/,
|
|
389832
|
+
new RegExp(`\\bquando (terminar|acabar|finalizar) (essa|esta|essa parte|esta parte),?\\s+(vou|farei|seguirei)\\s+(${VERBS_PT})\\b`)
|
|
389800
389833
|
];
|
|
389801
|
-
const completionMarkers = /\b(done|finished|completed|complete|summary|that's all|that is all|all set|hope this helps|let me know if)\b/;
|
|
389834
|
+
const completionMarkers = /\b(done|finished|completed|complete|summary|that's all|that is all|all (set|good|finished|done)|hope (this|that) helps|let me know if|happy to help|anything (else|more|i can)|feel free to (ask|tell|share|let)|if you need|is there anything|i'?m here|available if|task (complete|is complete|done|finished|is done|is finished)|i'?m done|we'?re done|wrapping (up|things up)|that should (do it|cover)|sounds good|all yours|over to you|ready for (review|next)|pronto|conclu[íi]do|finalizado|terminado|encerrad[oa]|conclus[ãa]o|resumo|isso [ée] tudo|isso [ée] o que|espero (que ajude|ter ajudado)|qualquer (d[úu]vida|coisa(\s+(avise|me avise|me chame|chame|fale))?)|fico [àa] disposi[çc][ãa]o|estou [àa] (sua )?disposi[çc][ãa]o|para mais informa[çc][õo]es|feliz em ajudar|tudo (certo|pronto|feito|ok|certinho)|est[áa] (feito|pronto|tudo certo|ok)|tarefa (conclu[íi]da|finalizada|completada|pronta|encerrada)|como posso ajudar|posso ajudar (em mais|com algo)|precisa de (mais alguma coisa|algo mais)|se precisar de (algo|mais)|aguardo (suas instru[çc][õo]es|sua resposta|seu retorno)|me avise se|deixe me saber se|qualquer outra (coisa|d[úu]vida))\b/;
|
|
389802
389835
|
if (completionMarkers.test(lastText)) {} else if (continuationSignals.some((re) => re.test(lastText))) {
|
|
389803
389836
|
logForDebugging2(`Continuation nudge triggered (${state2.continuationNudgeCount + 1}/${MAX_CONTINUATION_NUDGES}): model said "${lastText.slice(-120)}" without tool calls`);
|
|
389804
389837
|
const nudge = createUserMessage({
|
|
@@ -389827,15 +389860,7 @@ async function* queryLoop(params, consumedCommandUuids) {
|
|
|
389827
389860
|
const lastAssistantForDiag = assistantMessages.at(-1);
|
|
389828
389861
|
const lastTextForDiag = lastAssistantForDiag?.type === "assistant" ? lastAssistantForDiag.message.content.filter((b) => b.type === "text").map((b) => b.text).join(" ") : "";
|
|
389829
389862
|
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
|
-
];
|
|
389863
|
+
const completionMarkersDiag = /\b(done|finished|completed|complete|summary|that's all|that is all|all (set|good|finished|done)|hope (this|that) helps|let me know if|happy to help|anything (else|more|i can)|feel free to (ask|tell|share|let)|if you need|is there anything|i'?m here|available if|task (complete|is complete|done|finished|is done|is finished)|i'?m done|we'?re done|wrapping (up|things up)|that should (do it|cover)|sounds good|all yours|over to you|ready for (review|next)|pronto|conclu[íi]do|finalizado|terminado|encerrad[oa]|conclus[ãa]o|resumo|isso [ée] tudo|isso [ée] o que|espero (que ajude|ter ajudado)|qualquer (d[úu]vida|coisa(\s+(avise|me avise|me chame|chame|fale))?)|fico [àa] disposi[çc][ãa]o|estou [àa] (sua )?disposi[çc][ãa]o|para mais informa[çc][õo]es|feliz em ajudar|tudo (certo|pronto|feito|ok|certinho)|est[áa] (feito|pronto|tudo certo|ok)|tarefa (conclu[íi]da|finalizada|completada|pronta|encerrada)|como posso ajudar|posso ajudar (em mais|com algo)|precisa de (mais alguma coisa|algo mais)|se precisar de (algo|mais)|aguardo (suas instru[çc][õo]es|sua resposta|seu retorno)|me avise se|deixe me saber se|qualquer outra (coisa|d[úu]vida))\b/;
|
|
389839
389864
|
logForDebugging2(JSON.stringify({
|
|
389840
389865
|
type: "silent_stop_diagnostic",
|
|
389841
389866
|
turnCount,
|
|
@@ -389846,8 +389871,8 @@ async function* queryLoop(params, consumedCommandUuids) {
|
|
|
389846
389871
|
textLength: lastTextForDiag.length,
|
|
389847
389872
|
textPreview: lastTextForDiag.slice(-500),
|
|
389848
389873
|
matchedCompletionMarker: completionMarkersDiag.test(lastTextLower),
|
|
389849
|
-
|
|
389850
|
-
}), { level: "
|
|
389874
|
+
reachedNudgeCap: state2.continuationNudgeCount >= MAX_CONTINUATION_NUDGES
|
|
389875
|
+
}), { level: "debug" });
|
|
389851
389876
|
}
|
|
389852
389877
|
return { reason: "completed" };
|
|
389853
389878
|
}
|
|
@@ -390162,7 +390187,7 @@ function getAnthropicEnvMetadata() {
|
|
|
390162
390187
|
function getBuildAgeMinutes() {
|
|
390163
390188
|
if (false)
|
|
390164
390189
|
;
|
|
390165
|
-
const buildTime = new Date("2026-05-
|
|
390190
|
+
const buildTime = new Date("2026-05-13T14:13:32.092Z").getTime();
|
|
390166
390191
|
if (isNaN(buildTime))
|
|
390167
390192
|
return;
|
|
390168
390193
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -418283,7 +418308,7 @@ function buildPrimarySection() {
|
|
|
418283
418308
|
}, undefined, false, undefined, this);
|
|
418284
418309
|
return [{
|
|
418285
418310
|
label: "Version",
|
|
418286
|
-
value: "0.8.
|
|
418311
|
+
value: "0.8.9"
|
|
418287
418312
|
}, {
|
|
418288
418313
|
label: "Session name",
|
|
418289
418314
|
value: nameValue
|
|
@@ -432578,7 +432603,7 @@ function getReleaseTagUrl(version2 = publicBuildVersion) {
|
|
|
432578
432603
|
return `${VERBOO_RELEASES_URL}/tag/v${normalizePublicVersion(version2)}`;
|
|
432579
432604
|
}
|
|
432580
432605
|
function getPublicBuildVersion() {
|
|
432581
|
-
return "0.8.
|
|
432606
|
+
return "0.8.9";
|
|
432582
432607
|
}
|
|
432583
432608
|
var import_semver10, VERBOO_RELEASES_URL = "https://github.com/verbeux-ai/code/releases", fallbackBuildVersion, publicBuildVersion;
|
|
432584
432609
|
var init_version = __esm(() => {
|
|
@@ -487674,7 +487699,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
487674
487699
|
var call62 = async () => {
|
|
487675
487700
|
return {
|
|
487676
487701
|
type: "text",
|
|
487677
|
-
value: `${"99.0.0"} (built ${"2026-05-
|
|
487702
|
+
value: `${"99.0.0"} (built ${"2026-05-13T14:13:32.092Z"})`
|
|
487678
487703
|
};
|
|
487679
487704
|
}, version2, version_default;
|
|
487680
487705
|
var init_version2 = __esm(() => {
|
|
@@ -519831,7 +519856,7 @@ function printStartupScreen(modelOverride) {
|
|
|
519831
519856
|
const home = process.env.HOME || process.env.USERPROFILE || "";
|
|
519832
519857
|
const cwd2 = process.cwd();
|
|
519833
519858
|
const displayCwd = home && cwd2.startsWith(home) ? `~${cwd2.slice(home.length)}` : cwd2;
|
|
519834
|
-
const version3 = "0.8.
|
|
519859
|
+
const version3 = "0.8.9";
|
|
519835
519860
|
const bold2 = `${ESC3}1m`;
|
|
519836
519861
|
const PURPLE = rgb3(...ACCENT);
|
|
519837
519862
|
const SOFT = rgb3(...CREAM);
|
|
@@ -538065,17 +538090,17 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
538065
538090
|
function getSemverPart(version3) {
|
|
538066
538091
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
538067
538092
|
}
|
|
538068
|
-
function useUpdateNotification(updatedVersion, initialVersion = "
|
|
538093
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.8.9") {
|
|
538069
538094
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react223.useState(() => getSemverPart(initialVersion));
|
|
538070
|
-
|
|
538071
|
-
|
|
538072
|
-
|
|
538073
|
-
|
|
538074
|
-
|
|
538075
|
-
|
|
538076
|
-
|
|
538095
|
+
const [pendingNotification2, setPendingNotification] = import_react223.useState(null);
|
|
538096
|
+
if (updatedVersion) {
|
|
538097
|
+
const updatedSemver = getSemverPart(updatedVersion);
|
|
538098
|
+
if (updatedSemver !== lastNotifiedSemver) {
|
|
538099
|
+
setLastNotifiedSemver(updatedSemver);
|
|
538100
|
+
setPendingNotification(updatedSemver);
|
|
538101
|
+
}
|
|
538077
538102
|
}
|
|
538078
|
-
return
|
|
538103
|
+
return pendingNotification2;
|
|
538079
538104
|
}
|
|
538080
538105
|
var import_react223, import_semver13;
|
|
538081
538106
|
var init_useUpdateNotification = __esm(() => {
|
|
@@ -538105,7 +538130,7 @@ function AutoUpdater({
|
|
|
538105
538130
|
return;
|
|
538106
538131
|
}
|
|
538107
538132
|
if (false) {}
|
|
538108
|
-
const currentVersion = "0.8.
|
|
538133
|
+
const currentVersion = "0.8.9";
|
|
538109
538134
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
538110
538135
|
let latestVersion = await getLatestVersion(channel);
|
|
538111
538136
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -538458,17 +538483,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
538458
538483
|
const maxVersion = await getMaxVersion();
|
|
538459
538484
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
538460
538485
|
logForDebugging2(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
538461
|
-
if (gte("0.8.
|
|
538462
|
-
logForDebugging2(`PackageManagerAutoUpdater: current version ${"0.8.
|
|
538486
|
+
if (gte("0.8.9", maxVersion)) {
|
|
538487
|
+
logForDebugging2(`PackageManagerAutoUpdater: current version ${"0.8.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
538463
538488
|
setUpdateAvailable(false);
|
|
538464
538489
|
return;
|
|
538465
538490
|
}
|
|
538466
538491
|
latest = maxVersion;
|
|
538467
538492
|
}
|
|
538468
|
-
const hasUpdate = latest && !gte("0.8.
|
|
538493
|
+
const hasUpdate = latest && !gte("0.8.9", latest) && !shouldSkipVersion(latest);
|
|
538469
538494
|
setUpdateAvailable(!!hasUpdate);
|
|
538470
538495
|
if (hasUpdate) {
|
|
538471
|
-
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.8.
|
|
538496
|
+
logForDebugging2(`PackageManagerAutoUpdater: Update available ${"0.8.9"} -> ${latest}`);
|
|
538472
538497
|
}
|
|
538473
538498
|
};
|
|
538474
538499
|
$2[0] = t1;
|
|
@@ -538502,7 +538527,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
538502
538527
|
wrap: "truncate",
|
|
538503
538528
|
children: [
|
|
538504
538529
|
"currentVersion: ",
|
|
538505
|
-
"0.8.
|
|
538530
|
+
"0.8.9"
|
|
538506
538531
|
]
|
|
538507
538532
|
}, undefined, true, undefined, this);
|
|
538508
538533
|
$2[3] = verbose;
|
|
@@ -570909,7 +570934,7 @@ function WelcomeV2() {
|
|
|
570909
570934
|
dimColor: true,
|
|
570910
570935
|
children: [
|
|
570911
570936
|
"v",
|
|
570912
|
-
"0.8.
|
|
570937
|
+
"0.8.9",
|
|
570913
570938
|
" "
|
|
570914
570939
|
]
|
|
570915
570940
|
}, undefined, true, undefined, this)
|
|
@@ -571096,7 +571121,7 @@ function WelcomeV2() {
|
|
|
571096
571121
|
dimColor: true,
|
|
571097
571122
|
children: [
|
|
571098
571123
|
"v",
|
|
571099
|
-
"0.8.
|
|
571124
|
+
"0.8.9",
|
|
571100
571125
|
" "
|
|
571101
571126
|
]
|
|
571102
571127
|
}, undefined, true, undefined, this)
|
|
@@ -571312,7 +571337,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
571312
571337
|
dimColor: true,
|
|
571313
571338
|
children: [
|
|
571314
571339
|
"v",
|
|
571315
|
-
"0.8.
|
|
571340
|
+
"0.8.9",
|
|
571316
571341
|
" "
|
|
571317
571342
|
]
|
|
571318
571343
|
}, undefined, true, undefined, this);
|
|
@@ -571521,7 +571546,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
571521
571546
|
dimColor: true,
|
|
571522
571547
|
children: [
|
|
571523
571548
|
"v",
|
|
571524
|
-
"0.8.
|
|
571549
|
+
"0.8.9",
|
|
571525
571550
|
" "
|
|
571526
571551
|
]
|
|
571527
571552
|
}, undefined, true, undefined, this);
|
|
@@ -588892,7 +588917,7 @@ __export(exports_update, {
|
|
|
588892
588917
|
async function update() {
|
|
588893
588918
|
if (getAPIProvider() !== "firstParty") {
|
|
588894
588919
|
writeToStdout(source_default.yellow(`Auto-update is not available for third-party provider builds.
|
|
588895
|
-
`) + `Current version: ${"0.8.
|
|
588920
|
+
`) + `Current version: ${"0.8.9"}
|
|
588896
588921
|
|
|
588897
588922
|
` + `To update, reinstall from npm:
|
|
588898
588923
|
` + source_default.bold(` npm install -g ${"@verboo/code"}@latest`) + `
|
|
@@ -588903,7 +588928,7 @@ async function update() {
|
|
|
588903
588928
|
await gracefulShutdown(0);
|
|
588904
588929
|
}
|
|
588905
588930
|
logEvent("tengu_update_check", {});
|
|
588906
|
-
writeToStdout(`Current version: ${"0.8.
|
|
588931
|
+
writeToStdout(`Current version: ${"0.8.9"}
|
|
588907
588932
|
`);
|
|
588908
588933
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
588909
588934
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -588988,8 +589013,8 @@ async function update() {
|
|
|
588988
589013
|
writeToStdout(`Verboo Code is managed by Homebrew.
|
|
588989
589014
|
`);
|
|
588990
589015
|
const latest = await getLatestVersion(channel);
|
|
588991
|
-
if (latest && !gte("0.8.
|
|
588992
|
-
writeToStdout(`Update available: ${"0.8.
|
|
589016
|
+
if (latest && !gte("0.8.9", latest)) {
|
|
589017
|
+
writeToStdout(`Update available: ${"0.8.9"} → ${latest}
|
|
588993
589018
|
`);
|
|
588994
589019
|
writeToStdout(`
|
|
588995
589020
|
`);
|
|
@@ -589005,8 +589030,8 @@ async function update() {
|
|
|
589005
589030
|
writeToStdout(`Verboo Code is managed by winget.
|
|
589006
589031
|
`);
|
|
589007
589032
|
const latest = await getLatestVersion(channel);
|
|
589008
|
-
if (latest && !gte("0.8.
|
|
589009
|
-
writeToStdout(`Update available: ${"0.8.
|
|
589033
|
+
if (latest && !gte("0.8.9", latest)) {
|
|
589034
|
+
writeToStdout(`Update available: ${"0.8.9"} → ${latest}
|
|
589010
589035
|
`);
|
|
589011
589036
|
writeToStdout(`
|
|
589012
589037
|
`);
|
|
@@ -589022,8 +589047,8 @@ async function update() {
|
|
|
589022
589047
|
writeToStdout(`Verboo Code is managed by apk.
|
|
589023
589048
|
`);
|
|
589024
589049
|
const latest = await getLatestVersion(channel);
|
|
589025
|
-
if (latest && !gte("0.8.
|
|
589026
|
-
writeToStdout(`Update available: ${"0.8.
|
|
589050
|
+
if (latest && !gte("0.8.9", latest)) {
|
|
589051
|
+
writeToStdout(`Update available: ${"0.8.9"} → ${latest}
|
|
589027
589052
|
`);
|
|
589028
589053
|
writeToStdout(`
|
|
589029
589054
|
`);
|
|
@@ -589088,11 +589113,11 @@ async function update() {
|
|
|
589088
589113
|
`);
|
|
589089
589114
|
await gracefulShutdown(1);
|
|
589090
589115
|
}
|
|
589091
|
-
if (result.latestVersion === "0.8.
|
|
589092
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.8.
|
|
589116
|
+
if (result.latestVersion === "0.8.9") {
|
|
589117
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.8.9"})`) + `
|
|
589093
589118
|
`);
|
|
589094
589119
|
} else {
|
|
589095
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.8.
|
|
589120
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.8.9"} to version ${result.latestVersion}`) + `
|
|
589096
589121
|
`);
|
|
589097
589122
|
await regenerateCompletionCache();
|
|
589098
589123
|
}
|
|
@@ -589152,12 +589177,12 @@ async function update() {
|
|
|
589152
589177
|
`);
|
|
589153
589178
|
await gracefulShutdown(1);
|
|
589154
589179
|
}
|
|
589155
|
-
if (latestVersion === "0.8.
|
|
589156
|
-
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.8.
|
|
589180
|
+
if (latestVersion === "0.8.9") {
|
|
589181
|
+
writeToStdout(source_default.green(`Verboo Code is up to date (${"0.8.9"})`) + `
|
|
589157
589182
|
`);
|
|
589158
589183
|
await gracefulShutdown(0);
|
|
589159
589184
|
}
|
|
589160
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.8.
|
|
589185
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.8.9"})
|
|
589161
589186
|
`);
|
|
589162
589187
|
writeToStdout(`Installing update...
|
|
589163
589188
|
`);
|
|
@@ -589202,7 +589227,7 @@ async function update() {
|
|
|
589202
589227
|
logForDebugging2(`update: Installation status: ${status2}`);
|
|
589203
589228
|
switch (status2) {
|
|
589204
589229
|
case "success":
|
|
589205
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.8.
|
|
589230
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.8.9"} to version ${latestVersion}`) + `
|
|
589206
589231
|
`);
|
|
589207
589232
|
await regenerateCompletionCache();
|
|
589208
589233
|
break;
|
|
@@ -590462,7 +590487,7 @@ ${customInstructions}` : customInstructions;
|
|
|
590462
590487
|
is_native_binary: isInBundledMode()
|
|
590463
590488
|
});
|
|
590464
590489
|
logMemoryDiagnostics("start", {
|
|
590465
|
-
version: "0.8.
|
|
590490
|
+
version: "0.8.9",
|
|
590466
590491
|
debug: debug2,
|
|
590467
590492
|
debugToStderr,
|
|
590468
590493
|
print: print ?? false,
|
|
@@ -591268,7 +591293,7 @@ Usage: verboo --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
591268
591293
|
pendingHookMessages
|
|
591269
591294
|
}, renderAndRun);
|
|
591270
591295
|
}
|
|
591271
|
-
}).version(`0.8.
|
|
591296
|
+
}).version(`0.8.9 (${cliDesc})`, "-v, --version", "Output the version number");
|
|
591272
591297
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
591273
591298
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
591274
591299
|
if (canUserConfigureAdvisor()) {
|
|
@@ -591842,7 +591867,7 @@ if (false) {}
|
|
|
591842
591867
|
async function main2() {
|
|
591843
591868
|
const args = process.argv.slice(2);
|
|
591844
591869
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
591845
|
-
console.log(`${"0.8.
|
|
591870
|
+
console.log(`${"0.8.9"} (Verboo Code)`);
|
|
591846
591871
|
return;
|
|
591847
591872
|
}
|
|
591848
591873
|
if (!IS_VERBOO_CLI && args.includes("--provider")) {
|
|
@@ -592007,4 +592032,4 @@ async function main2() {
|
|
|
592007
592032
|
}
|
|
592008
592033
|
main2();
|
|
592009
592034
|
|
|
592010
|
-
//# debugId=
|
|
592035
|
+
//# debugId=85EB46B624F936ED64756E2164756E21
|