vivus-agent 1.1.55 → 1.1.57
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/bin/vivus.mjs +14 -2
- package/dist/main.js +92 -89
- package/package.json +1 -1
package/bin/vivus.mjs
CHANGED
|
@@ -188,10 +188,22 @@ async function syncModels() {
|
|
|
188
188
|
if (!id || seen.has(id)) continue
|
|
189
189
|
seen.add(id)
|
|
190
190
|
const label = m.label || m.display_name || id
|
|
191
|
-
|
|
191
|
+
// max_input_tokens is what the proxy will ACTUALLY use right now
|
|
192
|
+
// (VRAM-fit for local models, can shrink when another process shares
|
|
193
|
+
// the GPU); native_context_length is the model's real, unclamped
|
|
194
|
+
// window. Show both when they differ so a temporarily-squeezed local
|
|
195
|
+
// model doesn't look like it permanently maxes out at the smaller one.
|
|
196
|
+
const effectiveCtx = formatCtx(m.max_input_tokens)
|
|
197
|
+
const nativeCtx = formatCtx(m.native_context_length)
|
|
198
|
+
const ctx =
|
|
199
|
+
effectiveCtx && nativeCtx && effectiveCtx !== nativeCtx
|
|
200
|
+
? `${effectiveCtx} context now (${nativeCtx} native)`
|
|
201
|
+
: effectiveCtx
|
|
202
|
+
? `${effectiveCtx} context`
|
|
203
|
+
: ''
|
|
192
204
|
const sizeNum = parseFloat(m.size_gb)
|
|
193
205
|
const size = Number.isFinite(sizeNum) && sizeNum > 0 ? `${m.size_gb}GB` : ''
|
|
194
|
-
const desc = [m.description, ctx
|
|
206
|
+
const desc = [m.description, ctx, size]
|
|
195
207
|
.filter(Boolean)
|
|
196
208
|
.join(' · ')
|
|
197
209
|
options.push({ value: id, label, description: desc || id })
|
package/dist/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env -S node --max-old-space-size=8192 --expose-gc
|
|
2
2
|
// Vivus CLI — local AI coding agent
|
|
3
|
-
// Built from source at 2026-10-
|
|
3
|
+
// Built from source at 2026-10-06T23:22:26.948Z
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
var __create = Object.create;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -108228,7 +108228,7 @@ var init_auth = __esm(() => {
|
|
|
108228
108228
|
|
|
108229
108229
|
// src/utils/userAgent.ts
|
|
108230
108230
|
function getVivusCodeUserAgent() {
|
|
108231
|
-
return `vivus/${"1.1.
|
|
108231
|
+
return `vivus/${"1.1.57+22531b2"}`;
|
|
108232
108232
|
}
|
|
108233
108233
|
|
|
108234
108234
|
// src/utils/workloadContext.ts
|
|
@@ -108250,7 +108250,7 @@ function getUserAgent() {
|
|
|
108250
108250
|
const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
|
|
108251
108251
|
const workload = getWorkload();
|
|
108252
108252
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
108253
|
-
return `vivus-cli/${"1.1.
|
|
108253
|
+
return `vivus-cli/${"1.1.57+22531b2"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
108254
108254
|
}
|
|
108255
108255
|
function getMCPUserAgent() {
|
|
108256
108256
|
const parts = [];
|
|
@@ -108264,7 +108264,7 @@ function getMCPUserAgent() {
|
|
|
108264
108264
|
parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
|
|
108265
108265
|
}
|
|
108266
108266
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
108267
|
-
return `vivus/${"1.1.
|
|
108267
|
+
return `vivus/${"1.1.57+22531b2"}${suffix}`;
|
|
108268
108268
|
}
|
|
108269
108269
|
function getWebFetchUserAgent() {
|
|
108270
108270
|
return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -108402,7 +108402,7 @@ var init_user = __esm(() => {
|
|
|
108402
108402
|
deviceId,
|
|
108403
108403
|
sessionId: getSessionId(),
|
|
108404
108404
|
email: getEmail(),
|
|
108405
|
-
appVersion: "1.1.
|
|
108405
|
+
appVersion: "1.1.57+22531b2",
|
|
108406
108406
|
platform: getHostPlatformForAnalytics(),
|
|
108407
108407
|
organizationUuid,
|
|
108408
108408
|
accountUuid,
|
|
@@ -119713,7 +119713,7 @@ var init_metadata = __esm(() => {
|
|
|
119713
119713
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
119714
119714
|
WHITESPACE_REGEX = /\s+/;
|
|
119715
119715
|
getVersionBase = memoize_default(() => {
|
|
119716
|
-
const match = "1.1.
|
|
119716
|
+
const match = "1.1.57+22531b2".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
119717
119717
|
return match ? match[0] : undefined;
|
|
119718
119718
|
});
|
|
119719
119719
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -119753,9 +119753,9 @@ var init_metadata = __esm(() => {
|
|
|
119753
119753
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
119754
119754
|
isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
|
|
119755
119755
|
isVivusAiAuth: isVivusAISubscriber(),
|
|
119756
|
-
version: "1.1.
|
|
119756
|
+
version: "1.1.57+22531b2",
|
|
119757
119757
|
versionBase: getVersionBase(),
|
|
119758
|
-
buildTime: "2026-10-
|
|
119758
|
+
buildTime: "2026-10-06T23:22:26.366Z",
|
|
119759
119759
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
119760
119760
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
119761
119761
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -120423,7 +120423,7 @@ function initialize1PEventLogging() {
|
|
|
120423
120423
|
const platform2 = getPlatform();
|
|
120424
120424
|
const attributes = {
|
|
120425
120425
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
|
|
120426
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.
|
|
120426
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.57+22531b2"
|
|
120427
120427
|
};
|
|
120428
120428
|
if (platform2 === "wsl") {
|
|
120429
120429
|
const wslVersion = getWslVersion();
|
|
@@ -120450,7 +120450,7 @@ function initialize1PEventLogging() {
|
|
|
120450
120450
|
})
|
|
120451
120451
|
]
|
|
120452
120452
|
});
|
|
120453
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
120453
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.57+22531b2");
|
|
120454
120454
|
}
|
|
120455
120455
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
120456
120456
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -162670,7 +162670,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
162670
162670
|
if (!isAttributionHeaderEnabled()) {
|
|
162671
162671
|
return "";
|
|
162672
162672
|
}
|
|
162673
|
-
const version2 = `${"1.1.
|
|
162673
|
+
const version2 = `${"1.1.57+22531b2"}.${fingerprint}`;
|
|
162674
162674
|
const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
|
|
162675
162675
|
const cch = "";
|
|
162676
162676
|
const workload = getWorkload();
|
|
@@ -175833,7 +175833,7 @@ function getTelemetryAttributes() {
|
|
|
175833
175833
|
attributes["session.id"] = sessionId;
|
|
175834
175834
|
}
|
|
175835
175835
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
175836
|
-
attributes["app.version"] = "1.1.
|
|
175836
|
+
attributes["app.version"] = "1.1.57+22531b2";
|
|
175837
175837
|
}
|
|
175838
175838
|
const oauthAccount = getOauthAccountInfo();
|
|
175839
175839
|
if (oauthAccount) {
|
|
@@ -242452,7 +242452,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
242452
242452
|
}
|
|
242453
242453
|
function computeFingerprintFromMessages(messages) {
|
|
242454
242454
|
const firstMessageText = extractFirstMessageText(messages);
|
|
242455
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
242455
|
+
return computeFingerprint(firstMessageText, "1.1.57+22531b2");
|
|
242456
242456
|
}
|
|
242457
242457
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
242458
242458
|
var init_fingerprint = () => {};
|
|
@@ -242494,7 +242494,7 @@ async function sideQuery(opts) {
|
|
|
242494
242494
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
242495
242495
|
}
|
|
242496
242496
|
const messageText = extractFirstUserMessageText(messages);
|
|
242497
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
242497
|
+
const fingerprint = computeFingerprint(messageText, "1.1.57+22531b2");
|
|
242498
242498
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
242499
242499
|
const systemBlocks = [
|
|
242500
242500
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -243646,7 +243646,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
243646
243646
|
const client2 = new Client({
|
|
243647
243647
|
name: "vivus",
|
|
243648
243648
|
title: "Vivus",
|
|
243649
|
-
version: "1.1.
|
|
243649
|
+
version: "1.1.57+22531b2",
|
|
243650
243650
|
description: "Anthropic's agentic coding tool",
|
|
243651
243651
|
websiteUrl: PRODUCT_URL
|
|
243652
243652
|
}, {
|
|
@@ -244000,7 +244000,7 @@ var init_client6 = __esm(() => {
|
|
|
244000
244000
|
const client2 = new Client({
|
|
244001
244001
|
name: "vivus",
|
|
244002
244002
|
title: "Vivus",
|
|
244003
|
-
version: "1.1.
|
|
244003
|
+
version: "1.1.57+22531b2",
|
|
244004
244004
|
description: "Anthropic's agentic coding tool",
|
|
244005
244005
|
websiteUrl: PRODUCT_URL
|
|
244006
244006
|
}, {
|
|
@@ -246061,7 +246061,7 @@ function getInstallationEnv() {
|
|
|
246061
246061
|
return;
|
|
246062
246062
|
}
|
|
246063
246063
|
function getVivusCodeVersion() {
|
|
246064
|
-
return "1.1.
|
|
246064
|
+
return "1.1.57+22531b2";
|
|
246065
246065
|
}
|
|
246066
246066
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
246067
246067
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -302148,7 +302148,7 @@ async function initializeBetaTracing(resource) {
|
|
|
302148
302148
|
});
|
|
302149
302149
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
302150
302150
|
setLoggerProvider(loggerProvider);
|
|
302151
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
302151
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.57+22531b2");
|
|
302152
302152
|
setEventLogger(eventLogger);
|
|
302153
302153
|
process.on("beforeExit", async () => {
|
|
302154
302154
|
await loggerProvider?.forceFlush();
|
|
@@ -302188,7 +302188,7 @@ async function initializeTelemetry() {
|
|
|
302188
302188
|
const platform5 = getPlatform();
|
|
302189
302189
|
const baseAttributes = {
|
|
302190
302190
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
302191
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
302191
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.57+22531b2"
|
|
302192
302192
|
};
|
|
302193
302193
|
if (platform5 === "wsl") {
|
|
302194
302194
|
const wslVersion = getWslVersion();
|
|
@@ -302233,7 +302233,7 @@ async function initializeTelemetry() {
|
|
|
302233
302233
|
} catch {}
|
|
302234
302234
|
};
|
|
302235
302235
|
registerCleanup(shutdownTelemetry2);
|
|
302236
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.
|
|
302236
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.57+22531b2");
|
|
302237
302237
|
}
|
|
302238
302238
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
302239
302239
|
resource,
|
|
@@ -302253,7 +302253,7 @@ async function initializeTelemetry() {
|
|
|
302253
302253
|
});
|
|
302254
302254
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
302255
302255
|
setLoggerProvider(loggerProvider);
|
|
302256
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
302256
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.57+22531b2");
|
|
302257
302257
|
setEventLogger(eventLogger);
|
|
302258
302258
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
302259
302259
|
process.on("beforeExit", async () => {
|
|
@@ -302315,7 +302315,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
302315
302315
|
}
|
|
302316
302316
|
};
|
|
302317
302317
|
registerCleanup(shutdownTelemetry);
|
|
302318
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.
|
|
302318
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.57+22531b2");
|
|
302319
302319
|
}
|
|
302320
302320
|
async function flushTelemetry() {
|
|
302321
302321
|
const meterProvider = getMeterProvider();
|
|
@@ -303001,9 +303001,9 @@ async function assertMinVersion() {
|
|
|
303001
303001
|
if (false) {}
|
|
303002
303002
|
try {
|
|
303003
303003
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
303004
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
303004
|
+
if (versionConfig.minVersion && lt("1.1.57+22531b2", versionConfig.minVersion)) {
|
|
303005
303005
|
console.error(`
|
|
303006
|
-
It looks like your version of Vivus (${"1.1.
|
|
303006
|
+
It looks like your version of Vivus (${"1.1.57+22531b2"}) needs an update.
|
|
303007
303007
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
303008
303008
|
|
|
303009
303009
|
To update, please run:
|
|
@@ -303219,7 +303219,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
303219
303219
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
303220
303220
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
303221
303221
|
pid: process.pid,
|
|
303222
|
-
currentVersion: "1.1.
|
|
303222
|
+
currentVersion: "1.1.57+22531b2"
|
|
303223
303223
|
});
|
|
303224
303224
|
return "in_progress";
|
|
303225
303225
|
}
|
|
@@ -303228,7 +303228,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
303228
303228
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
303229
303229
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
303230
303230
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
303231
|
-
currentVersion: "1.1.
|
|
303231
|
+
currentVersion: "1.1.57+22531b2"
|
|
303232
303232
|
});
|
|
303233
303233
|
console.error(`
|
|
303234
303234
|
Error: Windows NPM detected in WSL
|
|
@@ -303761,7 +303761,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
303761
303761
|
}
|
|
303762
303762
|
async function getDoctorDiagnostic() {
|
|
303763
303763
|
const installationType = await getCurrentInstallationType();
|
|
303764
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
303764
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.57+22531b2" : "unknown";
|
|
303765
303765
|
const installationPath = await getInstallationPath();
|
|
303766
303766
|
const invokedBinary = getInvokedBinary();
|
|
303767
303767
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -304694,8 +304694,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
304694
304694
|
const maxVersion = await getMaxVersion();
|
|
304695
304695
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
304696
304696
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
304697
|
-
if (gte("1.1.
|
|
304698
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
304697
|
+
if (gte("1.1.57+22531b2", maxVersion)) {
|
|
304698
|
+
logForDebugging(`Native installer: current version ${"1.1.57+22531b2"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
304699
304699
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
304700
304700
|
latency_ms: Date.now() - startTime,
|
|
304701
304701
|
max_version: maxVersion,
|
|
@@ -304706,7 +304706,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
304706
304706
|
version2 = maxVersion;
|
|
304707
304707
|
}
|
|
304708
304708
|
}
|
|
304709
|
-
if (!forceReinstall && version2 === "1.1.
|
|
304709
|
+
if (!forceReinstall && version2 === "1.1.57+22531b2" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
304710
304710
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
304711
304711
|
logEvent("tengu_native_update_complete", {
|
|
304712
304712
|
latency_ms: Date.now() - startTime,
|
|
@@ -362117,7 +362117,7 @@ function getAnthropicEnvMetadata() {
|
|
|
362117
362117
|
function getBuildAgeMinutes() {
|
|
362118
362118
|
if (false)
|
|
362119
362119
|
;
|
|
362120
|
-
const buildTime = new Date("2026-10-
|
|
362120
|
+
const buildTime = new Date("2026-10-06T23:22:26.366Z").getTime();
|
|
362121
362121
|
if (isNaN(buildTime))
|
|
362122
362122
|
return;
|
|
362123
362123
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -405017,6 +405017,7 @@ function getSimpleDoingTasksSection() {
|
|
|
405017
405017
|
`Do not create files unless they're absolutely necessary for achieving your goal. Generally prefer editing an existing file to creating a new one, as this prevents file bloat and builds on existing work more effectively.`,
|
|
405018
405018
|
`Avoid giving time estimates or predictions for how long tasks will take, whether for your own work or for users planning projects. Focus on what needs to be done, not how long it might take.`,
|
|
405019
405019
|
`If an approach fails, diagnose why before switching tactics—read the error, check your assumptions, try a focused fix. Don't retry the identical action blindly, but don't abandon a viable approach after a single failure either. Escalate to the user with ${ASK_USER_QUESTION_TOOL_NAME} only when you're genuinely stuck after investigation, not as a first response to friction.`,
|
|
405020
|
+
`Keep your reasoning time-boxed. If you notice yourself re-deriving or re-litigating the same hypothesis multiple times without new evidence to add, stop—commit to your best hypothesis and act on it (run the command, make the edit), or ask the user with ${ASK_USER_QUESTION_TOOL_NAME} if you're genuinely torn between options. Don't keep reasoning in circles hoping for more clarity; new evidence comes from actions (running a command, reading a file), not from thinking harder about what you already have.`,
|
|
405020
405021
|
`Be careful not to introduce security vulnerabilities such as command injection, XSS, SQL injection, and other OWASP top 10 vulnerabilities. If you notice that you wrote insecure code, immediately fix it. Prioritize writing safe, secure, and correct code.`,
|
|
405021
405022
|
...codeStyleSubitems,
|
|
405022
405023
|
`Avoid backwards-compatibility hacks like renaming unused _vars, re-exporting types, adding // removed comments for removed code, etc. If you are certain that something is unused, you can delete it completely.`,
|
|
@@ -410277,7 +410278,7 @@ var init_filesystem = __esm(() => {
|
|
|
410277
410278
|
});
|
|
410278
410279
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
410279
410280
|
const nonce = randomBytes17(16).toString("hex");
|
|
410280
|
-
return join108(getVivusTempDir(), "bundled-skills", "1.1.
|
|
410281
|
+
return join108(getVivusTempDir(), "bundled-skills", "1.1.57+22531b2", nonce);
|
|
410281
410282
|
});
|
|
410282
410283
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
410283
410284
|
});
|
|
@@ -412037,7 +412038,7 @@ function Feedback({
|
|
|
412037
412038
|
platform: env3.platform,
|
|
412038
412039
|
gitRepo: envInfo.isGit,
|
|
412039
412040
|
terminal: env3.terminal,
|
|
412040
|
-
version: "1.1.
|
|
412041
|
+
version: "1.1.57+22531b2",
|
|
412041
412042
|
transcript: normalizeMessagesForAPI(messages),
|
|
412042
412043
|
errors: sanitizedErrors,
|
|
412043
412044
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -412229,7 +412230,7 @@ function Feedback({
|
|
|
412229
412230
|
", ",
|
|
412230
412231
|
env3.terminal,
|
|
412231
412232
|
", v",
|
|
412232
|
-
"1.1.
|
|
412233
|
+
"1.1.57+22531b2"
|
|
412233
412234
|
]
|
|
412234
412235
|
}, undefined, true, undefined, this)
|
|
412235
412236
|
]
|
|
@@ -412335,7 +412336,7 @@ ${sanitizedDescription}
|
|
|
412335
412336
|
` + `**Environment Info**
|
|
412336
412337
|
` + `- Platform: ${env3.platform}
|
|
412337
412338
|
` + `- Terminal: ${env3.terminal}
|
|
412338
|
-
` + `- Version: ${"1.1.
|
|
412339
|
+
` + `- Version: ${"1.1.57+22531b2"}
|
|
412339
412340
|
` + `- Feedback ID: ${feedbackId}
|
|
412340
412341
|
` + `
|
|
412341
412342
|
**Errors**
|
|
@@ -415467,7 +415468,7 @@ function buildPrimarySection() {
|
|
|
415467
415468
|
}, undefined, false, undefined, this);
|
|
415468
415469
|
return [{
|
|
415469
415470
|
label: "Version",
|
|
415470
|
-
value: "1.1.
|
|
415471
|
+
value: "1.1.57+22531b2"
|
|
415471
415472
|
}, {
|
|
415472
415473
|
label: "Session name",
|
|
415473
415474
|
value: nameValue
|
|
@@ -416287,10 +416288,12 @@ async function refreshProxyModelOptions() {
|
|
|
416287
416288
|
seen.add(id);
|
|
416288
416289
|
const label = typeof entry.label === "string" && entry.label ? entry.label : humanizeModelId(id);
|
|
416289
416290
|
const baseDesc = typeof entry.description === "string" && entry.description !== "Custom model" ? entry.description : "";
|
|
416290
|
-
const
|
|
416291
|
+
const effectiveCtx = formatContextWindow(entry.max_input_tokens);
|
|
416292
|
+
const nativeCtx = formatContextWindow(entry.native_context_length);
|
|
416293
|
+
const ctxLabel = effectiveCtx && nativeCtx && effectiveCtx !== nativeCtx ? `${effectiveCtx} context now (${nativeCtx} native)` : effectiveCtx ? `${effectiveCtx} context` : "";
|
|
416291
416294
|
const sizeNum = typeof entry.size_gb === "string" || typeof entry.size_gb === "number" ? Number(entry.size_gb) : NaN;
|
|
416292
416295
|
const size = Number.isFinite(sizeNum) && sizeNum > 0 ? `${entry.size_gb}GB` : "";
|
|
416293
|
-
const description = [baseDesc,
|
|
416296
|
+
const description = [baseDesc, ctxLabel, size].filter(Boolean).join(" · ") || "Custom model";
|
|
416294
416297
|
options2.push({ value: id, label, description });
|
|
416295
416298
|
}
|
|
416296
416299
|
if (options2.length === 0)
|
|
@@ -419330,7 +419333,7 @@ function Config({
|
|
|
419330
419333
|
}
|
|
419331
419334
|
}, undefined, false, undefined, this)
|
|
419332
419335
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
|
|
419333
|
-
currentVersion: "1.1.
|
|
419336
|
+
currentVersion: "1.1.57+22531b2",
|
|
419334
419337
|
onChoice: (choice) => {
|
|
419335
419338
|
setShowSubmenu(null);
|
|
419336
419339
|
setTabsHidden(false);
|
|
@@ -419342,7 +419345,7 @@ function Config({
|
|
|
419342
419345
|
autoUpdatesChannel: "stable"
|
|
419343
419346
|
};
|
|
419344
419347
|
if (choice === "stay") {
|
|
419345
|
-
newSettings.minimumVersion = "1.1.
|
|
419348
|
+
newSettings.minimumVersion = "1.1.57+22531b2";
|
|
419346
419349
|
}
|
|
419347
419350
|
updateSettingsForSource("userSettings", newSettings);
|
|
419348
419351
|
setSettingsData((prev_27) => ({
|
|
@@ -427537,7 +427540,7 @@ function HelpV2(t0) {
|
|
|
427537
427540
|
let t6;
|
|
427538
427541
|
if ($2[31] !== tabs) {
|
|
427539
427542
|
t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
|
|
427540
|
-
title: `Vivus v${"1.1.
|
|
427543
|
+
title: `Vivus v${"1.1.57+22531b2"}`,
|
|
427541
427544
|
color: "professionalBlue",
|
|
427542
427545
|
defaultTab: "general",
|
|
427543
427546
|
children: tabs
|
|
@@ -451763,7 +451766,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
451763
451766
|
return [];
|
|
451764
451767
|
}
|
|
451765
451768
|
}
|
|
451766
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
451769
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.57+22531b2") {
|
|
451767
451770
|
if (process.env.USER_TYPE === "ant") {
|
|
451768
451771
|
const changelog = "";
|
|
451769
451772
|
if (changelog) {
|
|
@@ -451790,7 +451793,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.55+62
|
|
|
451790
451793
|
releaseNotes
|
|
451791
451794
|
};
|
|
451792
451795
|
}
|
|
451793
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
451796
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.57+22531b2") {
|
|
451794
451797
|
if (process.env.USER_TYPE === "ant") {
|
|
451795
451798
|
const changelog = "";
|
|
451796
451799
|
if (changelog) {
|
|
@@ -452960,7 +452963,7 @@ function getRecentActivitySync() {
|
|
|
452960
452963
|
return cachedActivity;
|
|
452961
452964
|
}
|
|
452962
452965
|
function getLogoDisplayData() {
|
|
452963
|
-
const version2 = process.env.DEMO_VERSION ?? "1.1.
|
|
452966
|
+
const version2 = process.env.DEMO_VERSION ?? "1.1.57+22531b2";
|
|
452964
452967
|
const serverUrl = getDirectConnectServerUrl();
|
|
452965
452968
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
452966
452969
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -454487,7 +454490,7 @@ function LogoV2() {
|
|
|
454487
454490
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
454488
454491
|
t2 = () => {
|
|
454489
454492
|
const currentConfig = getGlobalConfig();
|
|
454490
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
454493
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.57+22531b2") {
|
|
454491
454494
|
return;
|
|
454492
454495
|
}
|
|
454493
454496
|
saveGlobalConfig(_temp329);
|
|
@@ -455163,12 +455166,12 @@ function LogoV2() {
|
|
|
455163
455166
|
return t41;
|
|
455164
455167
|
}
|
|
455165
455168
|
function _temp329(current) {
|
|
455166
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
455169
|
+
if (current.lastReleaseNotesSeen === "1.1.57+22531b2") {
|
|
455167
455170
|
return current;
|
|
455168
455171
|
}
|
|
455169
455172
|
return {
|
|
455170
455173
|
...current,
|
|
455171
|
-
lastReleaseNotesSeen: "1.1.
|
|
455174
|
+
lastReleaseNotesSeen: "1.1.57+22531b2"
|
|
455172
455175
|
};
|
|
455173
455176
|
}
|
|
455174
455177
|
function _temp245(s_0) {
|
|
@@ -481470,7 +481473,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
481470
481473
|
smapsRollup,
|
|
481471
481474
|
platform: process.platform,
|
|
481472
481475
|
nodeVersion: process.version,
|
|
481473
|
-
ccVersion: "1.1.
|
|
481476
|
+
ccVersion: "1.1.57+22531b2"
|
|
481474
481477
|
};
|
|
481475
481478
|
}
|
|
481476
481479
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -482056,7 +482059,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
482056
482059
|
var call56 = async () => {
|
|
482057
482060
|
return {
|
|
482058
482061
|
type: "text",
|
|
482059
|
-
value: `${"1.1.
|
|
482062
|
+
value: `${"1.1.57+22531b2"} (built ${"2026-10-06T23:22:26.366Z"})`
|
|
482060
482063
|
};
|
|
482061
482064
|
}, version2, version_default;
|
|
482062
482065
|
var init_version = __esm(() => {
|
|
@@ -491376,7 +491379,7 @@ function generateHtmlReport(data, insights) {
|
|
|
491376
491379
|
</html>`;
|
|
491377
491380
|
}
|
|
491378
491381
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
491379
|
-
const version3 = typeof MACRO !== "undefined" ? "1.1.
|
|
491382
|
+
const version3 = typeof MACRO !== "undefined" ? "1.1.57+22531b2" : "unknown";
|
|
491380
491383
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
491381
491384
|
const facets_summary = {
|
|
491382
491385
|
total: facets.size,
|
|
@@ -495488,7 +495491,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
495488
495491
|
init_settings2();
|
|
495489
495492
|
init_slowOperations();
|
|
495490
495493
|
init_uuid();
|
|
495491
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
495494
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.57+22531b2" : "unknown";
|
|
495492
495495
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
495493
495496
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
495494
495497
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -498360,7 +498363,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
498360
498363
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
498361
498364
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
498362
498365
|
betas: getSdkBetas(),
|
|
498363
|
-
vivus_code_version: "1.1.
|
|
498366
|
+
vivus_code_version: "1.1.57+22531b2",
|
|
498364
498367
|
output_style: outputStyle2,
|
|
498365
498368
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
498366
498369
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -513072,7 +513075,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
513072
513075
|
function getSemverPart(version3) {
|
|
513073
513076
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
513074
513077
|
}
|
|
513075
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
513078
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.57+22531b2") {
|
|
513076
513079
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
|
|
513077
513080
|
if (!updatedVersion) {
|
|
513078
513081
|
return null;
|
|
@@ -513112,7 +513115,7 @@ function AutoUpdater({
|
|
|
513112
513115
|
return;
|
|
513113
513116
|
}
|
|
513114
513117
|
if (false) {}
|
|
513115
|
-
const currentVersion = "1.1.
|
|
513118
|
+
const currentVersion = "1.1.57+22531b2";
|
|
513116
513119
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
513117
513120
|
let latestVersion = await getLatestVersion(channel);
|
|
513118
513121
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -513325,12 +513328,12 @@ function NativeAutoUpdater({
|
|
|
513325
513328
|
logEvent("tengu_native_auto_updater_start", {});
|
|
513326
513329
|
try {
|
|
513327
513330
|
const maxVersion = await getMaxVersion();
|
|
513328
|
-
if (maxVersion && gt("1.1.
|
|
513331
|
+
if (maxVersion && gt("1.1.57+22531b2", maxVersion)) {
|
|
513329
513332
|
const msg = await getMaxVersionMessage();
|
|
513330
513333
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
513331
513334
|
}
|
|
513332
513335
|
const result = await installLatest(channel);
|
|
513333
|
-
const currentVersion = "1.1.
|
|
513336
|
+
const currentVersion = "1.1.57+22531b2";
|
|
513334
513337
|
const latencyMs = Date.now() - startTime;
|
|
513335
513338
|
if (result.lockFailed) {
|
|
513336
513339
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -513467,17 +513470,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
513467
513470
|
const maxVersion = await getMaxVersion();
|
|
513468
513471
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
513469
513472
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
513470
|
-
if (gte("1.1.
|
|
513471
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
513473
|
+
if (gte("1.1.57+22531b2", maxVersion)) {
|
|
513474
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.57+22531b2"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
513472
513475
|
setUpdateAvailable(false);
|
|
513473
513476
|
return;
|
|
513474
513477
|
}
|
|
513475
513478
|
latest = maxVersion;
|
|
513476
513479
|
}
|
|
513477
|
-
const hasUpdate = latest && !gte("1.1.
|
|
513480
|
+
const hasUpdate = latest && !gte("1.1.57+22531b2", latest) && !shouldSkipVersion(latest);
|
|
513478
513481
|
setUpdateAvailable(!!hasUpdate);
|
|
513479
513482
|
if (hasUpdate) {
|
|
513480
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
513483
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.57+22531b2"} -> ${latest}`);
|
|
513481
513484
|
}
|
|
513482
513485
|
};
|
|
513483
513486
|
$2[0] = t1;
|
|
@@ -513511,7 +513514,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
513511
513514
|
wrap: "truncate",
|
|
513512
513515
|
children: [
|
|
513513
513516
|
"currentVersion: ",
|
|
513514
|
-
"1.1.
|
|
513517
|
+
"1.1.57+22531b2"
|
|
513515
513518
|
]
|
|
513516
513519
|
}, undefined, true, undefined, this);
|
|
513517
513520
|
$2[3] = verbose;
|
|
@@ -521695,7 +521698,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
521695
521698
|
project_dir: getOriginalCwd(),
|
|
521696
521699
|
added_dirs: addedDirs
|
|
521697
521700
|
},
|
|
521698
|
-
version: "1.1.
|
|
521701
|
+
version: "1.1.57+22531b2",
|
|
521699
521702
|
output_style: {
|
|
521700
521703
|
name: outputStyleName
|
|
521701
521704
|
},
|
|
@@ -533347,7 +533350,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
533347
533350
|
} catch {}
|
|
533348
533351
|
const data = {
|
|
533349
533352
|
trigger,
|
|
533350
|
-
version: "1.1.
|
|
533353
|
+
version: "1.1.57+22531b2",
|
|
533351
533354
|
platform: process.platform,
|
|
533352
533355
|
transcript,
|
|
533353
533356
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -544818,7 +544821,7 @@ function WelcomeV2() {
|
|
|
544818
544821
|
dimColor: true,
|
|
544819
544822
|
children: [
|
|
544820
544823
|
"v",
|
|
544821
|
-
"1.1.
|
|
544824
|
+
"1.1.57+22531b2",
|
|
544822
544825
|
" "
|
|
544823
544826
|
]
|
|
544824
544827
|
}, undefined, true, undefined, this)
|
|
@@ -545018,7 +545021,7 @@ function WelcomeV2() {
|
|
|
545018
545021
|
dimColor: true,
|
|
545019
545022
|
children: [
|
|
545020
545023
|
"v",
|
|
545021
|
-
"1.1.
|
|
545024
|
+
"1.1.57+22531b2",
|
|
545022
545025
|
" "
|
|
545023
545026
|
]
|
|
545024
545027
|
}, undefined, true, undefined, this)
|
|
@@ -545244,7 +545247,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
545244
545247
|
dimColor: true,
|
|
545245
545248
|
children: [
|
|
545246
545249
|
"v",
|
|
545247
|
-
"1.1.
|
|
545250
|
+
"1.1.57+22531b2",
|
|
545248
545251
|
" "
|
|
545249
545252
|
]
|
|
545250
545253
|
}, undefined, true, undefined, this);
|
|
@@ -545498,7 +545501,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
545498
545501
|
dimColor: true,
|
|
545499
545502
|
children: [
|
|
545500
545503
|
"v",
|
|
545501
|
-
"1.1.
|
|
545504
|
+
"1.1.57+22531b2",
|
|
545502
545505
|
" "
|
|
545503
545506
|
]
|
|
545504
545507
|
}, undefined, true, undefined, this);
|
|
@@ -548571,7 +548574,7 @@ function appendToLog(path25, message) {
|
|
|
548571
548574
|
cwd: getFsImplementation().cwd(),
|
|
548572
548575
|
userType: process.env.USER_TYPE,
|
|
548573
548576
|
sessionId: getSessionId(),
|
|
548574
|
-
version: "1.1.
|
|
548577
|
+
version: "1.1.57+22531b2"
|
|
548575
548578
|
};
|
|
548576
548579
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
548577
548580
|
}
|
|
@@ -552566,8 +552569,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
552566
552569
|
}
|
|
552567
552570
|
async function checkEnvLessBridgeMinVersion() {
|
|
552568
552571
|
const cfg = await getEnvLessBridgeConfig();
|
|
552569
|
-
if (cfg.min_version && lt("1.1.
|
|
552570
|
-
return `Your version of Vivus (${"1.1.
|
|
552572
|
+
if (cfg.min_version && lt("1.1.57+22531b2", cfg.min_version)) {
|
|
552573
|
+
return `Your version of Vivus (${"1.1.57+22531b2"}) is too old for Remote Control.
|
|
552571
552574
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
552572
552575
|
}
|
|
552573
552576
|
return null;
|
|
@@ -553041,7 +553044,7 @@ async function initBridgeCore(params) {
|
|
|
553041
553044
|
const rawApi = createBridgeApiClient({
|
|
553042
553045
|
baseUrl,
|
|
553043
553046
|
getAccessToken,
|
|
553044
|
-
runnerVersion: "1.1.
|
|
553047
|
+
runnerVersion: "1.1.57+22531b2",
|
|
553045
553048
|
onDebug: logForDebugging,
|
|
553046
553049
|
onAuth401,
|
|
553047
553050
|
getTrustedDeviceToken
|
|
@@ -558720,7 +558723,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
558720
558723
|
setCwd(cwd3);
|
|
558721
558724
|
const server = new Server({
|
|
558722
558725
|
name: "vivus/tengu",
|
|
558723
|
-
version: "1.1.
|
|
558726
|
+
version: "1.1.57+22531b2"
|
|
558724
558727
|
}, {
|
|
558725
558728
|
capabilities: {
|
|
558726
558729
|
tools: {}
|
|
@@ -560453,7 +560456,7 @@ __export(exports_update, {
|
|
|
560453
560456
|
});
|
|
560454
560457
|
async function update() {
|
|
560455
560458
|
logEvent("tengu_update_check", {});
|
|
560456
|
-
writeToStdout(`Current version: ${"1.1.
|
|
560459
|
+
writeToStdout(`Current version: ${"1.1.57+22531b2"}
|
|
560457
560460
|
`);
|
|
560458
560461
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
560459
560462
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -560528,8 +560531,8 @@ async function update() {
|
|
|
560528
560531
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
560529
560532
|
`);
|
|
560530
560533
|
const latest = await getLatestVersion(channel);
|
|
560531
|
-
if (latest && !gte("1.1.
|
|
560532
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560534
|
+
if (latest && !gte("1.1.57+22531b2", latest)) {
|
|
560535
|
+
writeToStdout(`Update available: ${"1.1.57+22531b2"} → ${latest}
|
|
560533
560536
|
`);
|
|
560534
560537
|
writeToStdout(`
|
|
560535
560538
|
`);
|
|
@@ -560545,8 +560548,8 @@ async function update() {
|
|
|
560545
560548
|
writeToStdout(`Vivus is managed by winget.
|
|
560546
560549
|
`);
|
|
560547
560550
|
const latest = await getLatestVersion(channel);
|
|
560548
|
-
if (latest && !gte("1.1.
|
|
560549
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560551
|
+
if (latest && !gte("1.1.57+22531b2", latest)) {
|
|
560552
|
+
writeToStdout(`Update available: ${"1.1.57+22531b2"} → ${latest}
|
|
560550
560553
|
`);
|
|
560551
560554
|
writeToStdout(`
|
|
560552
560555
|
`);
|
|
@@ -560562,8 +560565,8 @@ async function update() {
|
|
|
560562
560565
|
writeToStdout(`Vivus is managed by apk.
|
|
560563
560566
|
`);
|
|
560564
560567
|
const latest = await getLatestVersion(channel);
|
|
560565
|
-
if (latest && !gte("1.1.
|
|
560566
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560568
|
+
if (latest && !gte("1.1.57+22531b2", latest)) {
|
|
560569
|
+
writeToStdout(`Update available: ${"1.1.57+22531b2"} → ${latest}
|
|
560567
560570
|
`);
|
|
560568
560571
|
writeToStdout(`
|
|
560569
560572
|
`);
|
|
@@ -560628,11 +560631,11 @@ async function update() {
|
|
|
560628
560631
|
`);
|
|
560629
560632
|
await gracefulShutdown(1);
|
|
560630
560633
|
}
|
|
560631
|
-
if (result.latestVersion === "1.1.
|
|
560632
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
560634
|
+
if (result.latestVersion === "1.1.57+22531b2") {
|
|
560635
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.57+22531b2"})`) + `
|
|
560633
560636
|
`);
|
|
560634
560637
|
} else {
|
|
560635
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
560638
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.57+22531b2"} to version ${result.latestVersion}`) + `
|
|
560636
560639
|
`);
|
|
560637
560640
|
await regenerateCompletionCache();
|
|
560638
560641
|
}
|
|
@@ -560689,12 +560692,12 @@ async function update() {
|
|
|
560689
560692
|
`);
|
|
560690
560693
|
await gracefulShutdown(1);
|
|
560691
560694
|
}
|
|
560692
|
-
if (latestVersion === "1.1.
|
|
560693
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
560695
|
+
if (latestVersion === "1.1.57+22531b2") {
|
|
560696
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.57+22531b2"})`) + `
|
|
560694
560697
|
`);
|
|
560695
560698
|
await gracefulShutdown(0);
|
|
560696
560699
|
}
|
|
560697
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
560700
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.57+22531b2"})
|
|
560698
560701
|
`);
|
|
560699
560702
|
writeToStdout(`Installing update...
|
|
560700
560703
|
`);
|
|
@@ -560739,7 +560742,7 @@ async function update() {
|
|
|
560739
560742
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
560740
560743
|
switch (status2) {
|
|
560741
560744
|
case "success":
|
|
560742
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
560745
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.57+22531b2"} to version ${latestVersion}`) + `
|
|
560743
560746
|
`);
|
|
560744
560747
|
await regenerateCompletionCache();
|
|
560745
560748
|
break;
|
|
@@ -561713,7 +561716,7 @@ function completeOnboarding() {
|
|
|
561713
561716
|
saveGlobalConfig((current) => ({
|
|
561714
561717
|
...current,
|
|
561715
561718
|
hasCompletedOnboarding: true,
|
|
561716
|
-
lastOnboardingVersion: "1.1.
|
|
561719
|
+
lastOnboardingVersion: "1.1.57+22531b2"
|
|
561717
561720
|
}));
|
|
561718
561721
|
}
|
|
561719
561722
|
function showDialog(root2, renderer) {
|
|
@@ -565849,7 +565852,7 @@ ${customInstructions}` : customInstructions;
|
|
|
565849
565852
|
}
|
|
565850
565853
|
}
|
|
565851
565854
|
logForDiagnosticsNoPII("info", "started", {
|
|
565852
|
-
version: "1.1.
|
|
565855
|
+
version: "1.1.57+22531b2",
|
|
565853
565856
|
is_native_binary: isInBundledMode()
|
|
565854
565857
|
});
|
|
565855
565858
|
registerCleanup(async () => {
|
|
@@ -566647,7 +566650,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
566647
566650
|
pendingHookMessages
|
|
566648
566651
|
}, renderAndRun);
|
|
566649
566652
|
}
|
|
566650
|
-
}).version("1.1.
|
|
566653
|
+
}).version("1.1.57+22531b2 (Vivus)", "-v, --version", "Output the version number");
|
|
566651
566654
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
566652
566655
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
566653
566656
|
if (canUserConfigureAdvisor()) {
|