vivus-agent 1.1.71 → 1.1.72
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/main.js +105 -123
- package/package.json +1 -1
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-16T11:33:14.743Z
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
var __create = Object.create;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -108238,7 +108238,7 @@ var init_auth = __esm(() => {
|
|
|
108238
108238
|
|
|
108239
108239
|
// src/utils/userAgent.ts
|
|
108240
108240
|
function getVivusCodeUserAgent() {
|
|
108241
|
-
return `vivus/${"1.1.
|
|
108241
|
+
return `vivus/${"1.1.72+136e761"}`;
|
|
108242
108242
|
}
|
|
108243
108243
|
|
|
108244
108244
|
// src/utils/workloadContext.ts
|
|
@@ -108260,7 +108260,7 @@ function getUserAgent() {
|
|
|
108260
108260
|
const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
|
|
108261
108261
|
const workload = getWorkload();
|
|
108262
108262
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
108263
|
-
return `vivus-cli/${"1.1.
|
|
108263
|
+
return `vivus-cli/${"1.1.72+136e761"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
108264
108264
|
}
|
|
108265
108265
|
function getMCPUserAgent() {
|
|
108266
108266
|
const parts = [];
|
|
@@ -108274,7 +108274,7 @@ function getMCPUserAgent() {
|
|
|
108274
108274
|
parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
|
|
108275
108275
|
}
|
|
108276
108276
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
108277
|
-
return `vivus/${"1.1.
|
|
108277
|
+
return `vivus/${"1.1.72+136e761"}${suffix}`;
|
|
108278
108278
|
}
|
|
108279
108279
|
function getWebFetchUserAgent() {
|
|
108280
108280
|
return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -108412,7 +108412,7 @@ var init_user = __esm(() => {
|
|
|
108412
108412
|
deviceId,
|
|
108413
108413
|
sessionId: getSessionId(),
|
|
108414
108414
|
email: getEmail(),
|
|
108415
|
-
appVersion: "1.1.
|
|
108415
|
+
appVersion: "1.1.72+136e761",
|
|
108416
108416
|
platform: getHostPlatformForAnalytics(),
|
|
108417
108417
|
organizationUuid,
|
|
108418
108418
|
accountUuid,
|
|
@@ -119723,7 +119723,7 @@ var init_metadata = __esm(() => {
|
|
|
119723
119723
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
119724
119724
|
WHITESPACE_REGEX = /\s+/;
|
|
119725
119725
|
getVersionBase = memoize_default(() => {
|
|
119726
|
-
const match = "1.1.
|
|
119726
|
+
const match = "1.1.72+136e761".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
119727
119727
|
return match ? match[0] : undefined;
|
|
119728
119728
|
});
|
|
119729
119729
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -119763,9 +119763,9 @@ var init_metadata = __esm(() => {
|
|
|
119763
119763
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
119764
119764
|
isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
|
|
119765
119765
|
isVivusAiAuth: isVivusAISubscriber(),
|
|
119766
|
-
version: "1.1.
|
|
119766
|
+
version: "1.1.72+136e761",
|
|
119767
119767
|
versionBase: getVersionBase(),
|
|
119768
|
-
buildTime: "2026-10-
|
|
119768
|
+
buildTime: "2026-10-16T11:33:14.211Z",
|
|
119769
119769
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
119770
119770
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
119771
119771
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -120433,7 +120433,7 @@ function initialize1PEventLogging() {
|
|
|
120433
120433
|
const platform2 = getPlatform();
|
|
120434
120434
|
const attributes = {
|
|
120435
120435
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
|
|
120436
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.
|
|
120436
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.72+136e761"
|
|
120437
120437
|
};
|
|
120438
120438
|
if (platform2 === "wsl") {
|
|
120439
120439
|
const wslVersion = getWslVersion();
|
|
@@ -120460,7 +120460,7 @@ function initialize1PEventLogging() {
|
|
|
120460
120460
|
})
|
|
120461
120461
|
]
|
|
120462
120462
|
});
|
|
120463
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
120463
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.72+136e761");
|
|
120464
120464
|
}
|
|
120465
120465
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
120466
120466
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -162692,7 +162692,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
162692
162692
|
if (!isAttributionHeaderEnabled()) {
|
|
162693
162693
|
return "";
|
|
162694
162694
|
}
|
|
162695
|
-
const version2 = `${"1.1.
|
|
162695
|
+
const version2 = `${"1.1.72+136e761"}.${fingerprint}`;
|
|
162696
162696
|
const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
|
|
162697
162697
|
const cch = "";
|
|
162698
162698
|
const workload = getWorkload();
|
|
@@ -175855,7 +175855,7 @@ function getTelemetryAttributes() {
|
|
|
175855
175855
|
attributes["session.id"] = sessionId;
|
|
175856
175856
|
}
|
|
175857
175857
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
175858
|
-
attributes["app.version"] = "1.1.
|
|
175858
|
+
attributes["app.version"] = "1.1.72+136e761";
|
|
175859
175859
|
}
|
|
175860
175860
|
const oauthAccount = getOauthAccountInfo();
|
|
175861
175861
|
if (oauthAccount) {
|
|
@@ -201327,10 +201327,9 @@ var TIME_BASED_MC_CONFIG_DEFAULTS;
|
|
|
201327
201327
|
var init_timeBasedMCConfig = __esm(() => {
|
|
201328
201328
|
init_growthbook();
|
|
201329
201329
|
TIME_BASED_MC_CONFIG_DEFAULTS = {
|
|
201330
|
-
enabled:
|
|
201330
|
+
enabled: false,
|
|
201331
201331
|
gapThresholdMinutes: 60,
|
|
201332
|
-
keepRecent: 5
|
|
201333
|
-
pressureRatio: 0.6
|
|
201332
|
+
keepRecent: 5
|
|
201334
201333
|
};
|
|
201335
201334
|
});
|
|
201336
201335
|
|
|
@@ -201455,27 +201454,17 @@ function evaluateTimeBasedTrigger(messages, querySource) {
|
|
|
201455
201454
|
return null;
|
|
201456
201455
|
}
|
|
201457
201456
|
const gapMinutes = (Date.now() - new Date(lastAssistant.timestamp).getTime()) / 60000;
|
|
201458
|
-
if (Number.isFinite(gapMinutes)
|
|
201459
|
-
return
|
|
201460
|
-
}
|
|
201461
|
-
if (config3.pressureRatio > 0) {
|
|
201462
|
-
const effectiveWindow = getEffectiveContextWindowSize(getMainLoopModel());
|
|
201463
|
-
if (effectiveWindow > 0 && tokenCountWithEstimation(messages) >= effectiveWindow * config3.pressureRatio) {
|
|
201464
|
-
return {
|
|
201465
|
-
gapMinutes: Number.isFinite(gapMinutes) ? gapMinutes : 0,
|
|
201466
|
-
config: config3,
|
|
201467
|
-
reason: "pressure"
|
|
201468
|
-
};
|
|
201469
|
-
}
|
|
201457
|
+
if (!Number.isFinite(gapMinutes) || gapMinutes < config3.gapThresholdMinutes) {
|
|
201458
|
+
return null;
|
|
201470
201459
|
}
|
|
201471
|
-
return
|
|
201460
|
+
return { gapMinutes, config: config3 };
|
|
201472
201461
|
}
|
|
201473
201462
|
function maybeTimeBasedMicrocompact(messages, querySource, readFileState) {
|
|
201474
201463
|
const trigger = evaluateTimeBasedTrigger(messages, querySource);
|
|
201475
201464
|
if (!trigger) {
|
|
201476
201465
|
return null;
|
|
201477
201466
|
}
|
|
201478
|
-
const { gapMinutes, config: config3
|
|
201467
|
+
const { gapMinutes, config: config3 } = trigger;
|
|
201479
201468
|
const compactableIds = collectCompactableToolIds(messages);
|
|
201480
201469
|
const keepRecent = Math.max(1, config3.keepRecent);
|
|
201481
201470
|
const keepSet = new Set(compactableIds.slice(-keepRecent));
|
|
@@ -201515,13 +201504,7 @@ function maybeTimeBasedMicrocompact(messages, querySource, readFileState) {
|
|
|
201515
201504
|
if (tokensSaved === 0) {
|
|
201516
201505
|
return null;
|
|
201517
201506
|
}
|
|
201518
|
-
const signature = [...clearSet].sort().join(",");
|
|
201519
|
-
if (signature === lastClearSignature) {
|
|
201520
|
-
suppressCompactWarning();
|
|
201521
|
-
return { messages: result };
|
|
201522
|
-
}
|
|
201523
201507
|
logEvent("tengu_time_based_microcompact", {
|
|
201524
|
-
reason,
|
|
201525
201508
|
gapMinutes: Math.round(gapMinutes),
|
|
201526
201509
|
gapThresholdMinutes: config3.gapThresholdMinutes,
|
|
201527
201510
|
toolsCleared: clearSet.size,
|
|
@@ -201529,14 +201512,13 @@ function maybeTimeBasedMicrocompact(messages, querySource, readFileState) {
|
|
|
201529
201512
|
keepRecent: config3.keepRecent,
|
|
201530
201513
|
tokensSaved
|
|
201531
201514
|
});
|
|
201532
|
-
logForDebugging(`[
|
|
201515
|
+
logForDebugging(`[TIME-BASED MC] gap ${Math.round(gapMinutes)}min > ${config3.gapThresholdMinutes}min, cleared ${clearSet.size} tool results (~${tokensSaved} tokens), kept last ${keepSet.size}`);
|
|
201533
201516
|
suppressCompactWarning();
|
|
201534
201517
|
resetMicrocompactState();
|
|
201535
201518
|
if (false) {}
|
|
201536
|
-
lastClearSignature = signature;
|
|
201537
201519
|
return { messages: result };
|
|
201538
201520
|
}
|
|
201539
|
-
var TIME_BASED_MC_CLEARED_MESSAGE = "[Old tool result content cleared]", IMAGE_MAX_TOKEN_SIZE = 2000, COMPACTABLE_TOOLS, cachedMCModule = null, cachedMCState = null, pendingCacheEdits = null
|
|
201521
|
+
var TIME_BASED_MC_CLEARED_MESSAGE = "[Old tool result content cleared]", IMAGE_MAX_TOKEN_SIZE = 2000, COMPACTABLE_TOOLS, cachedMCModule = null, cachedMCState = null, pendingCacheEdits = null;
|
|
201540
201522
|
var init_microCompact = __esm(() => {
|
|
201541
201523
|
init_prompt2();
|
|
201542
201524
|
init_prompt3();
|
|
@@ -201544,8 +201526,6 @@ var init_microCompact = __esm(() => {
|
|
|
201544
201526
|
init_prompt6();
|
|
201545
201527
|
init_debug();
|
|
201546
201528
|
init_model();
|
|
201547
|
-
init_tokens();
|
|
201548
|
-
init_autoCompact();
|
|
201549
201529
|
init_path2();
|
|
201550
201530
|
init_shellToolUtils();
|
|
201551
201531
|
init_slowOperations();
|
|
@@ -242494,7 +242474,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
242494
242474
|
}
|
|
242495
242475
|
function computeFingerprintFromMessages(messages) {
|
|
242496
242476
|
const firstMessageText = extractFirstMessageText(messages);
|
|
242497
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
242477
|
+
return computeFingerprint(firstMessageText, "1.1.72+136e761");
|
|
242498
242478
|
}
|
|
242499
242479
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
242500
242480
|
var init_fingerprint = () => {};
|
|
@@ -242536,7 +242516,7 @@ async function sideQuery(opts) {
|
|
|
242536
242516
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
242537
242517
|
}
|
|
242538
242518
|
const messageText = extractFirstUserMessageText(messages);
|
|
242539
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
242519
|
+
const fingerprint = computeFingerprint(messageText, "1.1.72+136e761");
|
|
242540
242520
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
242541
242521
|
const systemBlocks = [
|
|
242542
242522
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -243688,7 +243668,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
243688
243668
|
const client2 = new Client({
|
|
243689
243669
|
name: "vivus",
|
|
243690
243670
|
title: "Vivus",
|
|
243691
|
-
version: "1.1.
|
|
243671
|
+
version: "1.1.72+136e761",
|
|
243692
243672
|
description: "Anthropic's agentic coding tool",
|
|
243693
243673
|
websiteUrl: PRODUCT_URL
|
|
243694
243674
|
}, {
|
|
@@ -244042,7 +244022,7 @@ var init_client6 = __esm(() => {
|
|
|
244042
244022
|
const client2 = new Client({
|
|
244043
244023
|
name: "vivus",
|
|
244044
244024
|
title: "Vivus",
|
|
244045
|
-
version: "1.1.
|
|
244025
|
+
version: "1.1.72+136e761",
|
|
244046
244026
|
description: "Anthropic's agentic coding tool",
|
|
244047
244027
|
websiteUrl: PRODUCT_URL
|
|
244048
244028
|
}, {
|
|
@@ -246103,7 +246083,7 @@ function getInstallationEnv() {
|
|
|
246103
246083
|
return;
|
|
246104
246084
|
}
|
|
246105
246085
|
function getVivusCodeVersion() {
|
|
246106
|
-
return "1.1.
|
|
246086
|
+
return "1.1.72+136e761";
|
|
246107
246087
|
}
|
|
246108
246088
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
246109
246089
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -302237,7 +302217,7 @@ async function initializeBetaTracing(resource) {
|
|
|
302237
302217
|
});
|
|
302238
302218
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
302239
302219
|
setLoggerProvider(loggerProvider);
|
|
302240
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
302220
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.72+136e761");
|
|
302241
302221
|
setEventLogger(eventLogger);
|
|
302242
302222
|
process.on("beforeExit", async () => {
|
|
302243
302223
|
await loggerProvider?.forceFlush();
|
|
@@ -302277,7 +302257,7 @@ async function initializeTelemetry() {
|
|
|
302277
302257
|
const platform5 = getPlatform();
|
|
302278
302258
|
const baseAttributes = {
|
|
302279
302259
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
302280
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
302260
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.72+136e761"
|
|
302281
302261
|
};
|
|
302282
302262
|
if (platform5 === "wsl") {
|
|
302283
302263
|
const wslVersion = getWslVersion();
|
|
@@ -302322,7 +302302,7 @@ async function initializeTelemetry() {
|
|
|
302322
302302
|
} catch {}
|
|
302323
302303
|
};
|
|
302324
302304
|
registerCleanup(shutdownTelemetry2);
|
|
302325
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.
|
|
302305
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.72+136e761");
|
|
302326
302306
|
}
|
|
302327
302307
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
302328
302308
|
resource,
|
|
@@ -302342,7 +302322,7 @@ async function initializeTelemetry() {
|
|
|
302342
302322
|
});
|
|
302343
302323
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
302344
302324
|
setLoggerProvider(loggerProvider);
|
|
302345
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
302325
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.72+136e761");
|
|
302346
302326
|
setEventLogger(eventLogger);
|
|
302347
302327
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
302348
302328
|
process.on("beforeExit", async () => {
|
|
@@ -302404,7 +302384,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
302404
302384
|
}
|
|
302405
302385
|
};
|
|
302406
302386
|
registerCleanup(shutdownTelemetry);
|
|
302407
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.
|
|
302387
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.72+136e761");
|
|
302408
302388
|
}
|
|
302409
302389
|
async function flushTelemetry() {
|
|
302410
302390
|
const meterProvider = getMeterProvider();
|
|
@@ -303090,9 +303070,9 @@ async function assertMinVersion() {
|
|
|
303090
303070
|
if (false) {}
|
|
303091
303071
|
try {
|
|
303092
303072
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
303093
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
303073
|
+
if (versionConfig.minVersion && lt("1.1.72+136e761", versionConfig.minVersion)) {
|
|
303094
303074
|
console.error(`
|
|
303095
|
-
It looks like your version of Vivus (${"1.1.
|
|
303075
|
+
It looks like your version of Vivus (${"1.1.72+136e761"}) needs an update.
|
|
303096
303076
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
303097
303077
|
|
|
303098
303078
|
To update, please run:
|
|
@@ -303308,7 +303288,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
303308
303288
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
303309
303289
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
303310
303290
|
pid: process.pid,
|
|
303311
|
-
currentVersion: "1.1.
|
|
303291
|
+
currentVersion: "1.1.72+136e761"
|
|
303312
303292
|
});
|
|
303313
303293
|
return "in_progress";
|
|
303314
303294
|
}
|
|
@@ -303317,7 +303297,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
303317
303297
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
303318
303298
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
303319
303299
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
303320
|
-
currentVersion: "1.1.
|
|
303300
|
+
currentVersion: "1.1.72+136e761"
|
|
303321
303301
|
});
|
|
303322
303302
|
console.error(`
|
|
303323
303303
|
Error: Windows NPM detected in WSL
|
|
@@ -303850,7 +303830,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
303850
303830
|
}
|
|
303851
303831
|
async function getDoctorDiagnostic() {
|
|
303852
303832
|
const installationType = await getCurrentInstallationType();
|
|
303853
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
303833
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.72+136e761" : "unknown";
|
|
303854
303834
|
const installationPath = await getInstallationPath();
|
|
303855
303835
|
const invokedBinary = getInvokedBinary();
|
|
303856
303836
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -304783,8 +304763,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
304783
304763
|
const maxVersion = await getMaxVersion();
|
|
304784
304764
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
304785
304765
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
304786
|
-
if (gte("1.1.
|
|
304787
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
304766
|
+
if (gte("1.1.72+136e761", maxVersion)) {
|
|
304767
|
+
logForDebugging(`Native installer: current version ${"1.1.72+136e761"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
304788
304768
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
304789
304769
|
latency_ms: Date.now() - startTime,
|
|
304790
304770
|
max_version: maxVersion,
|
|
@@ -304795,7 +304775,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
304795
304775
|
version2 = maxVersion;
|
|
304796
304776
|
}
|
|
304797
304777
|
}
|
|
304798
|
-
if (!forceReinstall && version2 === "1.1.
|
|
304778
|
+
if (!forceReinstall && version2 === "1.1.72+136e761" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
304799
304779
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
304800
304780
|
logEvent("tengu_native_update_complete", {
|
|
304801
304781
|
latency_ms: Date.now() - startTime,
|
|
@@ -328739,7 +328719,7 @@ function isSnipRuntimeEnabled() {
|
|
|
328739
328719
|
const envOverride = process.env.VIVUS_HISTORY_SNIP;
|
|
328740
328720
|
if (envOverride !== undefined)
|
|
328741
328721
|
return isEnvTruthy(envOverride);
|
|
328742
|
-
return
|
|
328722
|
+
return true;
|
|
328743
328723
|
}
|
|
328744
328724
|
function isSnipMarkerMessage(_message) {
|
|
328745
328725
|
return false;
|
|
@@ -354800,7 +354780,7 @@ function isContextCollapseEnabled() {
|
|
|
354800
354780
|
const envOverride = process.env.VIVUS_CONTEXT_COLLAPSE;
|
|
354801
354781
|
if (envOverride !== undefined)
|
|
354802
354782
|
return isEnvTruthy(envOverride);
|
|
354803
|
-
return
|
|
354783
|
+
return true;
|
|
354804
354784
|
}
|
|
354805
354785
|
function initContextCollapse() {
|
|
354806
354786
|
logForDebugging("[contextCollapse] initialized");
|
|
@@ -357345,10 +357325,12 @@ var init_sessionMemoryCompact = __esm(() => {
|
|
|
357345
357325
|
// src/services/compact/autoCompact.ts
|
|
357346
357326
|
function getEffectiveContextWindowSize(model) {
|
|
357347
357327
|
let contextWindow = getContextWindowForModel(model, getSdkBetas());
|
|
357348
|
-
const
|
|
357349
|
-
|
|
357350
|
-
|
|
357351
|
-
|
|
357328
|
+
const autoCompactWindow = process.env.VIVUS_CODE_AUTO_COMPACT_WINDOW;
|
|
357329
|
+
if (autoCompactWindow) {
|
|
357330
|
+
const parsed = parseInt(autoCompactWindow, 10);
|
|
357331
|
+
if (!isNaN(parsed) && parsed > 0) {
|
|
357332
|
+
contextWindow = Math.min(contextWindow, parsed);
|
|
357333
|
+
}
|
|
357352
357334
|
}
|
|
357353
357335
|
const reservedTokensForSummary = Math.min(getMaxOutputTokensForModel(model), MAX_OUTPUT_TOKENS_FOR_SUMMARY, Math.floor(contextWindow * MAX_SUMMARY_RESERVE_RATIO));
|
|
357354
357336
|
return contextWindow - reservedTokensForSummary;
|
|
@@ -362223,7 +362205,7 @@ function getAnthropicEnvMetadata() {
|
|
|
362223
362205
|
function getBuildAgeMinutes() {
|
|
362224
362206
|
if (false)
|
|
362225
362207
|
;
|
|
362226
|
-
const buildTime = new Date("2026-10-
|
|
362208
|
+
const buildTime = new Date("2026-10-16T11:33:14.211Z").getTime();
|
|
362227
362209
|
if (isNaN(buildTime))
|
|
362228
362210
|
return;
|
|
362229
362211
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -410384,7 +410366,7 @@ var init_filesystem = __esm(() => {
|
|
|
410384
410366
|
});
|
|
410385
410367
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
410386
410368
|
const nonce = randomBytes17(16).toString("hex");
|
|
410387
|
-
return join108(getVivusTempDir(), "bundled-skills", "1.1.
|
|
410369
|
+
return join108(getVivusTempDir(), "bundled-skills", "1.1.72+136e761", nonce);
|
|
410388
410370
|
});
|
|
410389
410371
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
410390
410372
|
});
|
|
@@ -412144,7 +412126,7 @@ function Feedback({
|
|
|
412144
412126
|
platform: env3.platform,
|
|
412145
412127
|
gitRepo: envInfo.isGit,
|
|
412146
412128
|
terminal: env3.terminal,
|
|
412147
|
-
version: "1.1.
|
|
412129
|
+
version: "1.1.72+136e761",
|
|
412148
412130
|
transcript: normalizeMessagesForAPI(messages),
|
|
412149
412131
|
errors: sanitizedErrors,
|
|
412150
412132
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -412336,7 +412318,7 @@ function Feedback({
|
|
|
412336
412318
|
", ",
|
|
412337
412319
|
env3.terminal,
|
|
412338
412320
|
", v",
|
|
412339
|
-
"1.1.
|
|
412321
|
+
"1.1.72+136e761"
|
|
412340
412322
|
]
|
|
412341
412323
|
}, undefined, true, undefined, this)
|
|
412342
412324
|
]
|
|
@@ -412442,7 +412424,7 @@ ${sanitizedDescription}
|
|
|
412442
412424
|
` + `**Environment Info**
|
|
412443
412425
|
` + `- Platform: ${env3.platform}
|
|
412444
412426
|
` + `- Terminal: ${env3.terminal}
|
|
412445
|
-
` + `- Version: ${"1.1.
|
|
412427
|
+
` + `- Version: ${"1.1.72+136e761"}
|
|
412446
412428
|
` + `- Feedback ID: ${feedbackId}
|
|
412447
412429
|
` + `
|
|
412448
412430
|
**Errors**
|
|
@@ -415574,7 +415556,7 @@ function buildPrimarySection() {
|
|
|
415574
415556
|
}, undefined, false, undefined, this);
|
|
415575
415557
|
return [{
|
|
415576
415558
|
label: "Version",
|
|
415577
|
-
value: "1.1.
|
|
415559
|
+
value: "1.1.72+136e761"
|
|
415578
415560
|
}, {
|
|
415579
415561
|
label: "Session name",
|
|
415580
415562
|
value: nameValue
|
|
@@ -419439,7 +419421,7 @@ function Config({
|
|
|
419439
419421
|
}
|
|
419440
419422
|
}, undefined, false, undefined, this)
|
|
419441
419423
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
|
|
419442
|
-
currentVersion: "1.1.
|
|
419424
|
+
currentVersion: "1.1.72+136e761",
|
|
419443
419425
|
onChoice: (choice) => {
|
|
419444
419426
|
setShowSubmenu(null);
|
|
419445
419427
|
setTabsHidden(false);
|
|
@@ -419451,7 +419433,7 @@ function Config({
|
|
|
419451
419433
|
autoUpdatesChannel: "stable"
|
|
419452
419434
|
};
|
|
419453
419435
|
if (choice === "stay") {
|
|
419454
|
-
newSettings.minimumVersion = "1.1.
|
|
419436
|
+
newSettings.minimumVersion = "1.1.72+136e761";
|
|
419455
419437
|
}
|
|
419456
419438
|
updateSettingsForSource("userSettings", newSettings);
|
|
419457
419439
|
setSettingsData((prev_27) => ({
|
|
@@ -427646,7 +427628,7 @@ function HelpV2(t0) {
|
|
|
427646
427628
|
let t6;
|
|
427647
427629
|
if ($2[31] !== tabs) {
|
|
427648
427630
|
t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
|
|
427649
|
-
title: `Vivus v${"1.1.
|
|
427631
|
+
title: `Vivus v${"1.1.72+136e761"}`,
|
|
427650
427632
|
color: "professionalBlue",
|
|
427651
427633
|
defaultTab: "general",
|
|
427652
427634
|
children: tabs
|
|
@@ -451872,7 +451854,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
451872
451854
|
return [];
|
|
451873
451855
|
}
|
|
451874
451856
|
}
|
|
451875
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
451857
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.72+136e761") {
|
|
451876
451858
|
if (process.env.USER_TYPE === "ant") {
|
|
451877
451859
|
const changelog = "";
|
|
451878
451860
|
if (changelog) {
|
|
@@ -451899,7 +451881,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.71+eb
|
|
|
451899
451881
|
releaseNotes
|
|
451900
451882
|
};
|
|
451901
451883
|
}
|
|
451902
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
451884
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.72+136e761") {
|
|
451903
451885
|
if (process.env.USER_TYPE === "ant") {
|
|
451904
451886
|
const changelog = "";
|
|
451905
451887
|
if (changelog) {
|
|
@@ -452247,7 +452229,7 @@ async function createBridgeSession({
|
|
|
452247
452229
|
const { getOAuthHeaders: getOAuthHeaders2 } = await Promise.resolve().then(() => (init_api2(), exports_api));
|
|
452248
452230
|
const { parseGitHubRepository: parseGitHubRepository2 } = await Promise.resolve().then(() => (init_detectRepository(), exports_detectRepository));
|
|
452249
452231
|
const { getDefaultBranch: getDefaultBranch2 } = await Promise.resolve().then(() => (init_git(), exports_git));
|
|
452250
|
-
const { getMainLoopModel:
|
|
452232
|
+
const { getMainLoopModel: getMainLoopModel3 } = await Promise.resolve().then(() => (init_model(), exports_model));
|
|
452251
452233
|
const { default: axios2 } = await Promise.resolve().then(() => (init_axios2(), exports_axios));
|
|
452252
452234
|
const accessToken = getAccessToken?.() ?? getVivusAIOAuthTokens2()?.accessToken;
|
|
452253
452235
|
if (!accessToken) {
|
|
@@ -452309,7 +452291,7 @@ async function createBridgeSession({
|
|
|
452309
452291
|
session_context: {
|
|
452310
452292
|
sources: gitSource ? [gitSource] : [],
|
|
452311
452293
|
outcomes: gitOutcome ? [gitOutcome] : [],
|
|
452312
|
-
model:
|
|
452294
|
+
model: getMainLoopModel3()
|
|
452313
452295
|
},
|
|
452314
452296
|
environment_id: environmentId,
|
|
452315
452297
|
source: "remote-control",
|
|
@@ -453069,7 +453051,7 @@ function getRecentActivitySync() {
|
|
|
453069
453051
|
return cachedActivity;
|
|
453070
453052
|
}
|
|
453071
453053
|
function getLogoDisplayData() {
|
|
453072
|
-
const version2 = process.env.DEMO_VERSION ?? "1.1.
|
|
453054
|
+
const version2 = process.env.DEMO_VERSION ?? "1.1.72+136e761";
|
|
453073
453055
|
const serverUrl = getDirectConnectServerUrl();
|
|
453074
453056
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
453075
453057
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -454596,7 +454578,7 @@ function LogoV2() {
|
|
|
454596
454578
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
454597
454579
|
t2 = () => {
|
|
454598
454580
|
const currentConfig = getGlobalConfig();
|
|
454599
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
454581
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.72+136e761") {
|
|
454600
454582
|
return;
|
|
454601
454583
|
}
|
|
454602
454584
|
saveGlobalConfig(_temp329);
|
|
@@ -455272,12 +455254,12 @@ function LogoV2() {
|
|
|
455272
455254
|
return t41;
|
|
455273
455255
|
}
|
|
455274
455256
|
function _temp329(current) {
|
|
455275
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
455257
|
+
if (current.lastReleaseNotesSeen === "1.1.72+136e761") {
|
|
455276
455258
|
return current;
|
|
455277
455259
|
}
|
|
455278
455260
|
return {
|
|
455279
455261
|
...current,
|
|
455280
|
-
lastReleaseNotesSeen: "1.1.
|
|
455262
|
+
lastReleaseNotesSeen: "1.1.72+136e761"
|
|
455281
455263
|
};
|
|
455282
455264
|
}
|
|
455283
455265
|
function _temp245(s_0) {
|
|
@@ -481579,7 +481561,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
481579
481561
|
smapsRollup,
|
|
481580
481562
|
platform: process.platform,
|
|
481581
481563
|
nodeVersion: process.version,
|
|
481582
|
-
ccVersion: "1.1.
|
|
481564
|
+
ccVersion: "1.1.72+136e761"
|
|
481583
481565
|
};
|
|
481584
481566
|
}
|
|
481585
481567
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -482165,7 +482147,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
482165
482147
|
var call56 = async () => {
|
|
482166
482148
|
return {
|
|
482167
482149
|
type: "text",
|
|
482168
|
-
value: `${"1.1.
|
|
482150
|
+
value: `${"1.1.72+136e761"} (built ${"2026-10-16T11:33:14.211Z"})`
|
|
482169
482151
|
};
|
|
482170
482152
|
}, version2, version_default;
|
|
482171
482153
|
var init_version = __esm(() => {
|
|
@@ -491485,7 +491467,7 @@ function generateHtmlReport(data, insights) {
|
|
|
491485
491467
|
</html>`;
|
|
491486
491468
|
}
|
|
491487
491469
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
491488
|
-
const version3 = typeof MACRO !== "undefined" ? "1.1.
|
|
491470
|
+
const version3 = typeof MACRO !== "undefined" ? "1.1.72+136e761" : "unknown";
|
|
491489
491471
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
491490
491472
|
const facets_summary = {
|
|
491491
491473
|
total: facets.size,
|
|
@@ -495597,7 +495579,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
495597
495579
|
init_settings2();
|
|
495598
495580
|
init_slowOperations();
|
|
495599
495581
|
init_uuid();
|
|
495600
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
495582
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.72+136e761" : "unknown";
|
|
495601
495583
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
495602
495584
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
495603
495585
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -498469,7 +498451,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
498469
498451
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
498470
498452
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
498471
498453
|
betas: getSdkBetas(),
|
|
498472
|
-
vivus_code_version: "1.1.
|
|
498454
|
+
vivus_code_version: "1.1.72+136e761",
|
|
498473
498455
|
output_style: outputStyle2,
|
|
498474
498456
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
498475
498457
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -513181,7 +513163,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
513181
513163
|
function getSemverPart(version3) {
|
|
513182
513164
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
513183
513165
|
}
|
|
513184
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
513166
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.72+136e761") {
|
|
513185
513167
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
|
|
513186
513168
|
if (!updatedVersion) {
|
|
513187
513169
|
return null;
|
|
@@ -513221,7 +513203,7 @@ function AutoUpdater({
|
|
|
513221
513203
|
return;
|
|
513222
513204
|
}
|
|
513223
513205
|
if (false) {}
|
|
513224
|
-
const currentVersion = "1.1.
|
|
513206
|
+
const currentVersion = "1.1.72+136e761";
|
|
513225
513207
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
513226
513208
|
let latestVersion = await getLatestVersion(channel);
|
|
513227
513209
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -513434,12 +513416,12 @@ function NativeAutoUpdater({
|
|
|
513434
513416
|
logEvent("tengu_native_auto_updater_start", {});
|
|
513435
513417
|
try {
|
|
513436
513418
|
const maxVersion = await getMaxVersion();
|
|
513437
|
-
if (maxVersion && gt("1.1.
|
|
513419
|
+
if (maxVersion && gt("1.1.72+136e761", maxVersion)) {
|
|
513438
513420
|
const msg = await getMaxVersionMessage();
|
|
513439
513421
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
513440
513422
|
}
|
|
513441
513423
|
const result = await installLatest(channel);
|
|
513442
|
-
const currentVersion = "1.1.
|
|
513424
|
+
const currentVersion = "1.1.72+136e761";
|
|
513443
513425
|
const latencyMs = Date.now() - startTime;
|
|
513444
513426
|
if (result.lockFailed) {
|
|
513445
513427
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -513576,17 +513558,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
513576
513558
|
const maxVersion = await getMaxVersion();
|
|
513577
513559
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
513578
513560
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
513579
|
-
if (gte("1.1.
|
|
513580
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
513561
|
+
if (gte("1.1.72+136e761", maxVersion)) {
|
|
513562
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.72+136e761"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
513581
513563
|
setUpdateAvailable(false);
|
|
513582
513564
|
return;
|
|
513583
513565
|
}
|
|
513584
513566
|
latest = maxVersion;
|
|
513585
513567
|
}
|
|
513586
|
-
const hasUpdate = latest && !gte("1.1.
|
|
513568
|
+
const hasUpdate = latest && !gte("1.1.72+136e761", latest) && !shouldSkipVersion(latest);
|
|
513587
513569
|
setUpdateAvailable(!!hasUpdate);
|
|
513588
513570
|
if (hasUpdate) {
|
|
513589
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
513571
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.72+136e761"} -> ${latest}`);
|
|
513590
513572
|
}
|
|
513591
513573
|
};
|
|
513592
513574
|
$2[0] = t1;
|
|
@@ -513620,7 +513602,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
513620
513602
|
wrap: "truncate",
|
|
513621
513603
|
children: [
|
|
513622
513604
|
"currentVersion: ",
|
|
513623
|
-
"1.1.
|
|
513605
|
+
"1.1.72+136e761"
|
|
513624
513606
|
]
|
|
513625
513607
|
}, undefined, true, undefined, this);
|
|
513626
513608
|
$2[3] = verbose;
|
|
@@ -521804,7 +521786,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
521804
521786
|
project_dir: getOriginalCwd(),
|
|
521805
521787
|
added_dirs: addedDirs
|
|
521806
521788
|
},
|
|
521807
|
-
version: "1.1.
|
|
521789
|
+
version: "1.1.72+136e761",
|
|
521808
521790
|
output_style: {
|
|
521809
521791
|
name: outputStyleName
|
|
521810
521792
|
},
|
|
@@ -533458,7 +533440,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
533458
533440
|
} catch {}
|
|
533459
533441
|
const data = {
|
|
533460
533442
|
trigger,
|
|
533461
|
-
version: "1.1.
|
|
533443
|
+
version: "1.1.72+136e761",
|
|
533462
533444
|
platform: process.platform,
|
|
533463
533445
|
transcript,
|
|
533464
533446
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -544929,7 +544911,7 @@ function WelcomeV2() {
|
|
|
544929
544911
|
dimColor: true,
|
|
544930
544912
|
children: [
|
|
544931
544913
|
"v",
|
|
544932
|
-
"1.1.
|
|
544914
|
+
"1.1.72+136e761",
|
|
544933
544915
|
" "
|
|
544934
544916
|
]
|
|
544935
544917
|
}, undefined, true, undefined, this)
|
|
@@ -545129,7 +545111,7 @@ function WelcomeV2() {
|
|
|
545129
545111
|
dimColor: true,
|
|
545130
545112
|
children: [
|
|
545131
545113
|
"v",
|
|
545132
|
-
"1.1.
|
|
545114
|
+
"1.1.72+136e761",
|
|
545133
545115
|
" "
|
|
545134
545116
|
]
|
|
545135
545117
|
}, undefined, true, undefined, this)
|
|
@@ -545355,7 +545337,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
545355
545337
|
dimColor: true,
|
|
545356
545338
|
children: [
|
|
545357
545339
|
"v",
|
|
545358
|
-
"1.1.
|
|
545340
|
+
"1.1.72+136e761",
|
|
545359
545341
|
" "
|
|
545360
545342
|
]
|
|
545361
545343
|
}, undefined, true, undefined, this);
|
|
@@ -545609,7 +545591,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
545609
545591
|
dimColor: true,
|
|
545610
545592
|
children: [
|
|
545611
545593
|
"v",
|
|
545612
|
-
"1.1.
|
|
545594
|
+
"1.1.72+136e761",
|
|
545613
545595
|
" "
|
|
545614
545596
|
]
|
|
545615
545597
|
}, undefined, true, undefined, this);
|
|
@@ -548682,7 +548664,7 @@ function appendToLog(path25, message) {
|
|
|
548682
548664
|
cwd: getFsImplementation().cwd(),
|
|
548683
548665
|
userType: process.env.USER_TYPE,
|
|
548684
548666
|
sessionId: getSessionId(),
|
|
548685
|
-
version: "1.1.
|
|
548667
|
+
version: "1.1.72+136e761"
|
|
548686
548668
|
};
|
|
548687
548669
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
548688
548670
|
}
|
|
@@ -552677,8 +552659,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
552677
552659
|
}
|
|
552678
552660
|
async function checkEnvLessBridgeMinVersion() {
|
|
552679
552661
|
const cfg = await getEnvLessBridgeConfig();
|
|
552680
|
-
if (cfg.min_version && lt("1.1.
|
|
552681
|
-
return `Your version of Vivus (${"1.1.
|
|
552662
|
+
if (cfg.min_version && lt("1.1.72+136e761", cfg.min_version)) {
|
|
552663
|
+
return `Your version of Vivus (${"1.1.72+136e761"}) is too old for Remote Control.
|
|
552682
552664
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
552683
552665
|
}
|
|
552684
552666
|
return null;
|
|
@@ -553152,7 +553134,7 @@ async function initBridgeCore(params) {
|
|
|
553152
553134
|
const rawApi = createBridgeApiClient({
|
|
553153
553135
|
baseUrl,
|
|
553154
553136
|
getAccessToken,
|
|
553155
|
-
runnerVersion: "1.1.
|
|
553137
|
+
runnerVersion: "1.1.72+136e761",
|
|
553156
553138
|
onDebug: logForDebugging,
|
|
553157
553139
|
onAuth401,
|
|
553158
553140
|
getTrustedDeviceToken
|
|
@@ -558831,7 +558813,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
558831
558813
|
setCwd(cwd3);
|
|
558832
558814
|
const server = new Server({
|
|
558833
558815
|
name: "vivus/tengu",
|
|
558834
|
-
version: "1.1.
|
|
558816
|
+
version: "1.1.72+136e761"
|
|
558835
558817
|
}, {
|
|
558836
558818
|
capabilities: {
|
|
558837
558819
|
tools: {}
|
|
@@ -560564,7 +560546,7 @@ __export(exports_update, {
|
|
|
560564
560546
|
});
|
|
560565
560547
|
async function update() {
|
|
560566
560548
|
logEvent("tengu_update_check", {});
|
|
560567
|
-
writeToStdout(`Current version: ${"1.1.
|
|
560549
|
+
writeToStdout(`Current version: ${"1.1.72+136e761"}
|
|
560568
560550
|
`);
|
|
560569
560551
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
560570
560552
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -560639,8 +560621,8 @@ async function update() {
|
|
|
560639
560621
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
560640
560622
|
`);
|
|
560641
560623
|
const latest = await getLatestVersion(channel);
|
|
560642
|
-
if (latest && !gte("1.1.
|
|
560643
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560624
|
+
if (latest && !gte("1.1.72+136e761", latest)) {
|
|
560625
|
+
writeToStdout(`Update available: ${"1.1.72+136e761"} → ${latest}
|
|
560644
560626
|
`);
|
|
560645
560627
|
writeToStdout(`
|
|
560646
560628
|
`);
|
|
@@ -560656,8 +560638,8 @@ async function update() {
|
|
|
560656
560638
|
writeToStdout(`Vivus is managed by winget.
|
|
560657
560639
|
`);
|
|
560658
560640
|
const latest = await getLatestVersion(channel);
|
|
560659
|
-
if (latest && !gte("1.1.
|
|
560660
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560641
|
+
if (latest && !gte("1.1.72+136e761", latest)) {
|
|
560642
|
+
writeToStdout(`Update available: ${"1.1.72+136e761"} → ${latest}
|
|
560661
560643
|
`);
|
|
560662
560644
|
writeToStdout(`
|
|
560663
560645
|
`);
|
|
@@ -560673,8 +560655,8 @@ async function update() {
|
|
|
560673
560655
|
writeToStdout(`Vivus is managed by apk.
|
|
560674
560656
|
`);
|
|
560675
560657
|
const latest = await getLatestVersion(channel);
|
|
560676
|
-
if (latest && !gte("1.1.
|
|
560677
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560658
|
+
if (latest && !gte("1.1.72+136e761", latest)) {
|
|
560659
|
+
writeToStdout(`Update available: ${"1.1.72+136e761"} → ${latest}
|
|
560678
560660
|
`);
|
|
560679
560661
|
writeToStdout(`
|
|
560680
560662
|
`);
|
|
@@ -560739,11 +560721,11 @@ async function update() {
|
|
|
560739
560721
|
`);
|
|
560740
560722
|
await gracefulShutdown(1);
|
|
560741
560723
|
}
|
|
560742
|
-
if (result.latestVersion === "1.1.
|
|
560743
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
560724
|
+
if (result.latestVersion === "1.1.72+136e761") {
|
|
560725
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.72+136e761"})`) + `
|
|
560744
560726
|
`);
|
|
560745
560727
|
} else {
|
|
560746
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
560728
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.72+136e761"} to version ${result.latestVersion}`) + `
|
|
560747
560729
|
`);
|
|
560748
560730
|
await regenerateCompletionCache();
|
|
560749
560731
|
}
|
|
@@ -560800,12 +560782,12 @@ async function update() {
|
|
|
560800
560782
|
`);
|
|
560801
560783
|
await gracefulShutdown(1);
|
|
560802
560784
|
}
|
|
560803
|
-
if (latestVersion === "1.1.
|
|
560804
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
560785
|
+
if (latestVersion === "1.1.72+136e761") {
|
|
560786
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.72+136e761"})`) + `
|
|
560805
560787
|
`);
|
|
560806
560788
|
await gracefulShutdown(0);
|
|
560807
560789
|
}
|
|
560808
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
560790
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.72+136e761"})
|
|
560809
560791
|
`);
|
|
560810
560792
|
writeToStdout(`Installing update...
|
|
560811
560793
|
`);
|
|
@@ -560850,7 +560832,7 @@ async function update() {
|
|
|
560850
560832
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
560851
560833
|
switch (status2) {
|
|
560852
560834
|
case "success":
|
|
560853
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
560835
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.72+136e761"} to version ${latestVersion}`) + `
|
|
560854
560836
|
`);
|
|
560855
560837
|
await regenerateCompletionCache();
|
|
560856
560838
|
break;
|
|
@@ -561824,7 +561806,7 @@ function completeOnboarding() {
|
|
|
561824
561806
|
saveGlobalConfig((current) => ({
|
|
561825
561807
|
...current,
|
|
561826
561808
|
hasCompletedOnboarding: true,
|
|
561827
|
-
lastOnboardingVersion: "1.1.
|
|
561809
|
+
lastOnboardingVersion: "1.1.72+136e761"
|
|
561828
561810
|
}));
|
|
561829
561811
|
}
|
|
561830
561812
|
function showDialog(root2, renderer) {
|
|
@@ -565960,7 +565942,7 @@ ${customInstructions}` : customInstructions;
|
|
|
565960
565942
|
}
|
|
565961
565943
|
}
|
|
565962
565944
|
logForDiagnosticsNoPII("info", "started", {
|
|
565963
|
-
version: "1.1.
|
|
565945
|
+
version: "1.1.72+136e761",
|
|
565964
565946
|
is_native_binary: isInBundledMode()
|
|
565965
565947
|
});
|
|
565966
565948
|
registerCleanup(async () => {
|
|
@@ -566758,7 +566740,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
566758
566740
|
pendingHookMessages
|
|
566759
566741
|
}, renderAndRun);
|
|
566760
566742
|
}
|
|
566761
|
-
}).version("1.1.
|
|
566743
|
+
}).version("1.1.72+136e761 (Vivus)", "-v, --version", "Output the version number");
|
|
566762
566744
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
566763
566745
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
566764
566746
|
if (canUserConfigureAdvisor()) {
|