vivus-agent 1.1.70 → 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 +104 -116
- 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));
|
|
@@ -201516,7 +201505,6 @@ function maybeTimeBasedMicrocompact(messages, querySource, readFileState) {
|
|
|
201516
201505
|
return null;
|
|
201517
201506
|
}
|
|
201518
201507
|
logEvent("tengu_time_based_microcompact", {
|
|
201519
|
-
reason,
|
|
201520
201508
|
gapMinutes: Math.round(gapMinutes),
|
|
201521
201509
|
gapThresholdMinutes: config3.gapThresholdMinutes,
|
|
201522
201510
|
toolsCleared: clearSet.size,
|
|
@@ -201524,7 +201512,7 @@ function maybeTimeBasedMicrocompact(messages, querySource, readFileState) {
|
|
|
201524
201512
|
keepRecent: config3.keepRecent,
|
|
201525
201513
|
tokensSaved
|
|
201526
201514
|
});
|
|
201527
|
-
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}`);
|
|
201528
201516
|
suppressCompactWarning();
|
|
201529
201517
|
resetMicrocompactState();
|
|
201530
201518
|
if (false) {}
|
|
@@ -201538,8 +201526,6 @@ var init_microCompact = __esm(() => {
|
|
|
201538
201526
|
init_prompt6();
|
|
201539
201527
|
init_debug();
|
|
201540
201528
|
init_model();
|
|
201541
|
-
init_tokens();
|
|
201542
|
-
init_autoCompact();
|
|
201543
201529
|
init_path2();
|
|
201544
201530
|
init_shellToolUtils();
|
|
201545
201531
|
init_slowOperations();
|
|
@@ -242488,7 +242474,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
242488
242474
|
}
|
|
242489
242475
|
function computeFingerprintFromMessages(messages) {
|
|
242490
242476
|
const firstMessageText = extractFirstMessageText(messages);
|
|
242491
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
242477
|
+
return computeFingerprint(firstMessageText, "1.1.72+136e761");
|
|
242492
242478
|
}
|
|
242493
242479
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
242494
242480
|
var init_fingerprint = () => {};
|
|
@@ -242530,7 +242516,7 @@ async function sideQuery(opts) {
|
|
|
242530
242516
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
242531
242517
|
}
|
|
242532
242518
|
const messageText = extractFirstUserMessageText(messages);
|
|
242533
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
242519
|
+
const fingerprint = computeFingerprint(messageText, "1.1.72+136e761");
|
|
242534
242520
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
242535
242521
|
const systemBlocks = [
|
|
242536
242522
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -243682,7 +243668,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
243682
243668
|
const client2 = new Client({
|
|
243683
243669
|
name: "vivus",
|
|
243684
243670
|
title: "Vivus",
|
|
243685
|
-
version: "1.1.
|
|
243671
|
+
version: "1.1.72+136e761",
|
|
243686
243672
|
description: "Anthropic's agentic coding tool",
|
|
243687
243673
|
websiteUrl: PRODUCT_URL
|
|
243688
243674
|
}, {
|
|
@@ -244036,7 +244022,7 @@ var init_client6 = __esm(() => {
|
|
|
244036
244022
|
const client2 = new Client({
|
|
244037
244023
|
name: "vivus",
|
|
244038
244024
|
title: "Vivus",
|
|
244039
|
-
version: "1.1.
|
|
244025
|
+
version: "1.1.72+136e761",
|
|
244040
244026
|
description: "Anthropic's agentic coding tool",
|
|
244041
244027
|
websiteUrl: PRODUCT_URL
|
|
244042
244028
|
}, {
|
|
@@ -246097,7 +246083,7 @@ function getInstallationEnv() {
|
|
|
246097
246083
|
return;
|
|
246098
246084
|
}
|
|
246099
246085
|
function getVivusCodeVersion() {
|
|
246100
|
-
return "1.1.
|
|
246086
|
+
return "1.1.72+136e761";
|
|
246101
246087
|
}
|
|
246102
246088
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
246103
246089
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -302231,7 +302217,7 @@ async function initializeBetaTracing(resource) {
|
|
|
302231
302217
|
});
|
|
302232
302218
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
302233
302219
|
setLoggerProvider(loggerProvider);
|
|
302234
|
-
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");
|
|
302235
302221
|
setEventLogger(eventLogger);
|
|
302236
302222
|
process.on("beforeExit", async () => {
|
|
302237
302223
|
await loggerProvider?.forceFlush();
|
|
@@ -302271,7 +302257,7 @@ async function initializeTelemetry() {
|
|
|
302271
302257
|
const platform5 = getPlatform();
|
|
302272
302258
|
const baseAttributes = {
|
|
302273
302259
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
302274
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
302260
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.72+136e761"
|
|
302275
302261
|
};
|
|
302276
302262
|
if (platform5 === "wsl") {
|
|
302277
302263
|
const wslVersion = getWslVersion();
|
|
@@ -302316,7 +302302,7 @@ async function initializeTelemetry() {
|
|
|
302316
302302
|
} catch {}
|
|
302317
302303
|
};
|
|
302318
302304
|
registerCleanup(shutdownTelemetry2);
|
|
302319
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.
|
|
302305
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.72+136e761");
|
|
302320
302306
|
}
|
|
302321
302307
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
302322
302308
|
resource,
|
|
@@ -302336,7 +302322,7 @@ async function initializeTelemetry() {
|
|
|
302336
302322
|
});
|
|
302337
302323
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
302338
302324
|
setLoggerProvider(loggerProvider);
|
|
302339
|
-
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");
|
|
302340
302326
|
setEventLogger(eventLogger);
|
|
302341
302327
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
302342
302328
|
process.on("beforeExit", async () => {
|
|
@@ -302398,7 +302384,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
302398
302384
|
}
|
|
302399
302385
|
};
|
|
302400
302386
|
registerCleanup(shutdownTelemetry);
|
|
302401
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.
|
|
302387
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.72+136e761");
|
|
302402
302388
|
}
|
|
302403
302389
|
async function flushTelemetry() {
|
|
302404
302390
|
const meterProvider = getMeterProvider();
|
|
@@ -303084,9 +303070,9 @@ async function assertMinVersion() {
|
|
|
303084
303070
|
if (false) {}
|
|
303085
303071
|
try {
|
|
303086
303072
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
303087
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
303073
|
+
if (versionConfig.minVersion && lt("1.1.72+136e761", versionConfig.minVersion)) {
|
|
303088
303074
|
console.error(`
|
|
303089
|
-
It looks like your version of Vivus (${"1.1.
|
|
303075
|
+
It looks like your version of Vivus (${"1.1.72+136e761"}) needs an update.
|
|
303090
303076
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
303091
303077
|
|
|
303092
303078
|
To update, please run:
|
|
@@ -303302,7 +303288,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
303302
303288
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
303303
303289
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
303304
303290
|
pid: process.pid,
|
|
303305
|
-
currentVersion: "1.1.
|
|
303291
|
+
currentVersion: "1.1.72+136e761"
|
|
303306
303292
|
});
|
|
303307
303293
|
return "in_progress";
|
|
303308
303294
|
}
|
|
@@ -303311,7 +303297,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
303311
303297
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
303312
303298
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
303313
303299
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
303314
|
-
currentVersion: "1.1.
|
|
303300
|
+
currentVersion: "1.1.72+136e761"
|
|
303315
303301
|
});
|
|
303316
303302
|
console.error(`
|
|
303317
303303
|
Error: Windows NPM detected in WSL
|
|
@@ -303844,7 +303830,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
303844
303830
|
}
|
|
303845
303831
|
async function getDoctorDiagnostic() {
|
|
303846
303832
|
const installationType = await getCurrentInstallationType();
|
|
303847
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
303833
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.72+136e761" : "unknown";
|
|
303848
303834
|
const installationPath = await getInstallationPath();
|
|
303849
303835
|
const invokedBinary = getInvokedBinary();
|
|
303850
303836
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -304777,8 +304763,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
304777
304763
|
const maxVersion = await getMaxVersion();
|
|
304778
304764
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
304779
304765
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
304780
|
-
if (gte("1.1.
|
|
304781
|
-
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`);
|
|
304782
304768
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
304783
304769
|
latency_ms: Date.now() - startTime,
|
|
304784
304770
|
max_version: maxVersion,
|
|
@@ -304789,7 +304775,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
304789
304775
|
version2 = maxVersion;
|
|
304790
304776
|
}
|
|
304791
304777
|
}
|
|
304792
|
-
if (!forceReinstall && version2 === "1.1.
|
|
304778
|
+
if (!forceReinstall && version2 === "1.1.72+136e761" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
304793
304779
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
304794
304780
|
logEvent("tengu_native_update_complete", {
|
|
304795
304781
|
latency_ms: Date.now() - startTime,
|
|
@@ -328733,7 +328719,7 @@ function isSnipRuntimeEnabled() {
|
|
|
328733
328719
|
const envOverride = process.env.VIVUS_HISTORY_SNIP;
|
|
328734
328720
|
if (envOverride !== undefined)
|
|
328735
328721
|
return isEnvTruthy(envOverride);
|
|
328736
|
-
return
|
|
328722
|
+
return true;
|
|
328737
328723
|
}
|
|
328738
328724
|
function isSnipMarkerMessage(_message) {
|
|
328739
328725
|
return false;
|
|
@@ -354794,7 +354780,7 @@ function isContextCollapseEnabled() {
|
|
|
354794
354780
|
const envOverride = process.env.VIVUS_CONTEXT_COLLAPSE;
|
|
354795
354781
|
if (envOverride !== undefined)
|
|
354796
354782
|
return isEnvTruthy(envOverride);
|
|
354797
|
-
return
|
|
354783
|
+
return true;
|
|
354798
354784
|
}
|
|
354799
354785
|
function initContextCollapse() {
|
|
354800
354786
|
logForDebugging("[contextCollapse] initialized");
|
|
@@ -357339,10 +357325,12 @@ var init_sessionMemoryCompact = __esm(() => {
|
|
|
357339
357325
|
// src/services/compact/autoCompact.ts
|
|
357340
357326
|
function getEffectiveContextWindowSize(model) {
|
|
357341
357327
|
let contextWindow = getContextWindowForModel(model, getSdkBetas());
|
|
357342
|
-
const
|
|
357343
|
-
|
|
357344
|
-
|
|
357345
|
-
|
|
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
|
+
}
|
|
357346
357334
|
}
|
|
357347
357335
|
const reservedTokensForSummary = Math.min(getMaxOutputTokensForModel(model), MAX_OUTPUT_TOKENS_FOR_SUMMARY, Math.floor(contextWindow * MAX_SUMMARY_RESERVE_RATIO));
|
|
357348
357336
|
return contextWindow - reservedTokensForSummary;
|
|
@@ -362217,7 +362205,7 @@ function getAnthropicEnvMetadata() {
|
|
|
362217
362205
|
function getBuildAgeMinutes() {
|
|
362218
362206
|
if (false)
|
|
362219
362207
|
;
|
|
362220
|
-
const buildTime = new Date("2026-10-
|
|
362208
|
+
const buildTime = new Date("2026-10-16T11:33:14.211Z").getTime();
|
|
362221
362209
|
if (isNaN(buildTime))
|
|
362222
362210
|
return;
|
|
362223
362211
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -410378,7 +410366,7 @@ var init_filesystem = __esm(() => {
|
|
|
410378
410366
|
});
|
|
410379
410367
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
410380
410368
|
const nonce = randomBytes17(16).toString("hex");
|
|
410381
|
-
return join108(getVivusTempDir(), "bundled-skills", "1.1.
|
|
410369
|
+
return join108(getVivusTempDir(), "bundled-skills", "1.1.72+136e761", nonce);
|
|
410382
410370
|
});
|
|
410383
410371
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
410384
410372
|
});
|
|
@@ -412138,7 +412126,7 @@ function Feedback({
|
|
|
412138
412126
|
platform: env3.platform,
|
|
412139
412127
|
gitRepo: envInfo.isGit,
|
|
412140
412128
|
terminal: env3.terminal,
|
|
412141
|
-
version: "1.1.
|
|
412129
|
+
version: "1.1.72+136e761",
|
|
412142
412130
|
transcript: normalizeMessagesForAPI(messages),
|
|
412143
412131
|
errors: sanitizedErrors,
|
|
412144
412132
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -412330,7 +412318,7 @@ function Feedback({
|
|
|
412330
412318
|
", ",
|
|
412331
412319
|
env3.terminal,
|
|
412332
412320
|
", v",
|
|
412333
|
-
"1.1.
|
|
412321
|
+
"1.1.72+136e761"
|
|
412334
412322
|
]
|
|
412335
412323
|
}, undefined, true, undefined, this)
|
|
412336
412324
|
]
|
|
@@ -412436,7 +412424,7 @@ ${sanitizedDescription}
|
|
|
412436
412424
|
` + `**Environment Info**
|
|
412437
412425
|
` + `- Platform: ${env3.platform}
|
|
412438
412426
|
` + `- Terminal: ${env3.terminal}
|
|
412439
|
-
` + `- Version: ${"1.1.
|
|
412427
|
+
` + `- Version: ${"1.1.72+136e761"}
|
|
412440
412428
|
` + `- Feedback ID: ${feedbackId}
|
|
412441
412429
|
` + `
|
|
412442
412430
|
**Errors**
|
|
@@ -415568,7 +415556,7 @@ function buildPrimarySection() {
|
|
|
415568
415556
|
}, undefined, false, undefined, this);
|
|
415569
415557
|
return [{
|
|
415570
415558
|
label: "Version",
|
|
415571
|
-
value: "1.1.
|
|
415559
|
+
value: "1.1.72+136e761"
|
|
415572
415560
|
}, {
|
|
415573
415561
|
label: "Session name",
|
|
415574
415562
|
value: nameValue
|
|
@@ -419433,7 +419421,7 @@ function Config({
|
|
|
419433
419421
|
}
|
|
419434
419422
|
}, undefined, false, undefined, this)
|
|
419435
419423
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
|
|
419436
|
-
currentVersion: "1.1.
|
|
419424
|
+
currentVersion: "1.1.72+136e761",
|
|
419437
419425
|
onChoice: (choice) => {
|
|
419438
419426
|
setShowSubmenu(null);
|
|
419439
419427
|
setTabsHidden(false);
|
|
@@ -419445,7 +419433,7 @@ function Config({
|
|
|
419445
419433
|
autoUpdatesChannel: "stable"
|
|
419446
419434
|
};
|
|
419447
419435
|
if (choice === "stay") {
|
|
419448
|
-
newSettings.minimumVersion = "1.1.
|
|
419436
|
+
newSettings.minimumVersion = "1.1.72+136e761";
|
|
419449
419437
|
}
|
|
419450
419438
|
updateSettingsForSource("userSettings", newSettings);
|
|
419451
419439
|
setSettingsData((prev_27) => ({
|
|
@@ -427640,7 +427628,7 @@ function HelpV2(t0) {
|
|
|
427640
427628
|
let t6;
|
|
427641
427629
|
if ($2[31] !== tabs) {
|
|
427642
427630
|
t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
|
|
427643
|
-
title: `Vivus v${"1.1.
|
|
427631
|
+
title: `Vivus v${"1.1.72+136e761"}`,
|
|
427644
427632
|
color: "professionalBlue",
|
|
427645
427633
|
defaultTab: "general",
|
|
427646
427634
|
children: tabs
|
|
@@ -451866,7 +451854,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
451866
451854
|
return [];
|
|
451867
451855
|
}
|
|
451868
451856
|
}
|
|
451869
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
451857
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.72+136e761") {
|
|
451870
451858
|
if (process.env.USER_TYPE === "ant") {
|
|
451871
451859
|
const changelog = "";
|
|
451872
451860
|
if (changelog) {
|
|
@@ -451893,7 +451881,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.70+ba
|
|
|
451893
451881
|
releaseNotes
|
|
451894
451882
|
};
|
|
451895
451883
|
}
|
|
451896
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
451884
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.72+136e761") {
|
|
451897
451885
|
if (process.env.USER_TYPE === "ant") {
|
|
451898
451886
|
const changelog = "";
|
|
451899
451887
|
if (changelog) {
|
|
@@ -452241,7 +452229,7 @@ async function createBridgeSession({
|
|
|
452241
452229
|
const { getOAuthHeaders: getOAuthHeaders2 } = await Promise.resolve().then(() => (init_api2(), exports_api));
|
|
452242
452230
|
const { parseGitHubRepository: parseGitHubRepository2 } = await Promise.resolve().then(() => (init_detectRepository(), exports_detectRepository));
|
|
452243
452231
|
const { getDefaultBranch: getDefaultBranch2 } = await Promise.resolve().then(() => (init_git(), exports_git));
|
|
452244
|
-
const { getMainLoopModel:
|
|
452232
|
+
const { getMainLoopModel: getMainLoopModel3 } = await Promise.resolve().then(() => (init_model(), exports_model));
|
|
452245
452233
|
const { default: axios2 } = await Promise.resolve().then(() => (init_axios2(), exports_axios));
|
|
452246
452234
|
const accessToken = getAccessToken?.() ?? getVivusAIOAuthTokens2()?.accessToken;
|
|
452247
452235
|
if (!accessToken) {
|
|
@@ -452303,7 +452291,7 @@ async function createBridgeSession({
|
|
|
452303
452291
|
session_context: {
|
|
452304
452292
|
sources: gitSource ? [gitSource] : [],
|
|
452305
452293
|
outcomes: gitOutcome ? [gitOutcome] : [],
|
|
452306
|
-
model:
|
|
452294
|
+
model: getMainLoopModel3()
|
|
452307
452295
|
},
|
|
452308
452296
|
environment_id: environmentId,
|
|
452309
452297
|
source: "remote-control",
|
|
@@ -453063,7 +453051,7 @@ function getRecentActivitySync() {
|
|
|
453063
453051
|
return cachedActivity;
|
|
453064
453052
|
}
|
|
453065
453053
|
function getLogoDisplayData() {
|
|
453066
|
-
const version2 = process.env.DEMO_VERSION ?? "1.1.
|
|
453054
|
+
const version2 = process.env.DEMO_VERSION ?? "1.1.72+136e761";
|
|
453067
453055
|
const serverUrl = getDirectConnectServerUrl();
|
|
453068
453056
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
453069
453057
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -454590,7 +454578,7 @@ function LogoV2() {
|
|
|
454590
454578
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
454591
454579
|
t2 = () => {
|
|
454592
454580
|
const currentConfig = getGlobalConfig();
|
|
454593
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
454581
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.72+136e761") {
|
|
454594
454582
|
return;
|
|
454595
454583
|
}
|
|
454596
454584
|
saveGlobalConfig(_temp329);
|
|
@@ -455266,12 +455254,12 @@ function LogoV2() {
|
|
|
455266
455254
|
return t41;
|
|
455267
455255
|
}
|
|
455268
455256
|
function _temp329(current) {
|
|
455269
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
455257
|
+
if (current.lastReleaseNotesSeen === "1.1.72+136e761") {
|
|
455270
455258
|
return current;
|
|
455271
455259
|
}
|
|
455272
455260
|
return {
|
|
455273
455261
|
...current,
|
|
455274
|
-
lastReleaseNotesSeen: "1.1.
|
|
455262
|
+
lastReleaseNotesSeen: "1.1.72+136e761"
|
|
455275
455263
|
};
|
|
455276
455264
|
}
|
|
455277
455265
|
function _temp245(s_0) {
|
|
@@ -481573,7 +481561,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
481573
481561
|
smapsRollup,
|
|
481574
481562
|
platform: process.platform,
|
|
481575
481563
|
nodeVersion: process.version,
|
|
481576
|
-
ccVersion: "1.1.
|
|
481564
|
+
ccVersion: "1.1.72+136e761"
|
|
481577
481565
|
};
|
|
481578
481566
|
}
|
|
481579
481567
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -482159,7 +482147,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
482159
482147
|
var call56 = async () => {
|
|
482160
482148
|
return {
|
|
482161
482149
|
type: "text",
|
|
482162
|
-
value: `${"1.1.
|
|
482150
|
+
value: `${"1.1.72+136e761"} (built ${"2026-10-16T11:33:14.211Z"})`
|
|
482163
482151
|
};
|
|
482164
482152
|
}, version2, version_default;
|
|
482165
482153
|
var init_version = __esm(() => {
|
|
@@ -491479,7 +491467,7 @@ function generateHtmlReport(data, insights) {
|
|
|
491479
491467
|
</html>`;
|
|
491480
491468
|
}
|
|
491481
491469
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
491482
|
-
const version3 = typeof MACRO !== "undefined" ? "1.1.
|
|
491470
|
+
const version3 = typeof MACRO !== "undefined" ? "1.1.72+136e761" : "unknown";
|
|
491483
491471
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
491484
491472
|
const facets_summary = {
|
|
491485
491473
|
total: facets.size,
|
|
@@ -495591,7 +495579,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
495591
495579
|
init_settings2();
|
|
495592
495580
|
init_slowOperations();
|
|
495593
495581
|
init_uuid();
|
|
495594
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
495582
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.72+136e761" : "unknown";
|
|
495595
495583
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
495596
495584
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
495597
495585
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -498463,7 +498451,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
498463
498451
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
498464
498452
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
498465
498453
|
betas: getSdkBetas(),
|
|
498466
|
-
vivus_code_version: "1.1.
|
|
498454
|
+
vivus_code_version: "1.1.72+136e761",
|
|
498467
498455
|
output_style: outputStyle2,
|
|
498468
498456
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
498469
498457
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -513175,7 +513163,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
513175
513163
|
function getSemverPart(version3) {
|
|
513176
513164
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
513177
513165
|
}
|
|
513178
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
513166
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.72+136e761") {
|
|
513179
513167
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
|
|
513180
513168
|
if (!updatedVersion) {
|
|
513181
513169
|
return null;
|
|
@@ -513215,7 +513203,7 @@ function AutoUpdater({
|
|
|
513215
513203
|
return;
|
|
513216
513204
|
}
|
|
513217
513205
|
if (false) {}
|
|
513218
|
-
const currentVersion = "1.1.
|
|
513206
|
+
const currentVersion = "1.1.72+136e761";
|
|
513219
513207
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
513220
513208
|
let latestVersion = await getLatestVersion(channel);
|
|
513221
513209
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -513428,12 +513416,12 @@ function NativeAutoUpdater({
|
|
|
513428
513416
|
logEvent("tengu_native_auto_updater_start", {});
|
|
513429
513417
|
try {
|
|
513430
513418
|
const maxVersion = await getMaxVersion();
|
|
513431
|
-
if (maxVersion && gt("1.1.
|
|
513419
|
+
if (maxVersion && gt("1.1.72+136e761", maxVersion)) {
|
|
513432
513420
|
const msg = await getMaxVersionMessage();
|
|
513433
513421
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
513434
513422
|
}
|
|
513435
513423
|
const result = await installLatest(channel);
|
|
513436
|
-
const currentVersion = "1.1.
|
|
513424
|
+
const currentVersion = "1.1.72+136e761";
|
|
513437
513425
|
const latencyMs = Date.now() - startTime;
|
|
513438
513426
|
if (result.lockFailed) {
|
|
513439
513427
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -513570,17 +513558,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
513570
513558
|
const maxVersion = await getMaxVersion();
|
|
513571
513559
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
513572
513560
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
513573
|
-
if (gte("1.1.
|
|
513574
|
-
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`);
|
|
513575
513563
|
setUpdateAvailable(false);
|
|
513576
513564
|
return;
|
|
513577
513565
|
}
|
|
513578
513566
|
latest = maxVersion;
|
|
513579
513567
|
}
|
|
513580
|
-
const hasUpdate = latest && !gte("1.1.
|
|
513568
|
+
const hasUpdate = latest && !gte("1.1.72+136e761", latest) && !shouldSkipVersion(latest);
|
|
513581
513569
|
setUpdateAvailable(!!hasUpdate);
|
|
513582
513570
|
if (hasUpdate) {
|
|
513583
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
513571
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.72+136e761"} -> ${latest}`);
|
|
513584
513572
|
}
|
|
513585
513573
|
};
|
|
513586
513574
|
$2[0] = t1;
|
|
@@ -513614,7 +513602,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
513614
513602
|
wrap: "truncate",
|
|
513615
513603
|
children: [
|
|
513616
513604
|
"currentVersion: ",
|
|
513617
|
-
"1.1.
|
|
513605
|
+
"1.1.72+136e761"
|
|
513618
513606
|
]
|
|
513619
513607
|
}, undefined, true, undefined, this);
|
|
513620
513608
|
$2[3] = verbose;
|
|
@@ -521798,7 +521786,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
521798
521786
|
project_dir: getOriginalCwd(),
|
|
521799
521787
|
added_dirs: addedDirs
|
|
521800
521788
|
},
|
|
521801
|
-
version: "1.1.
|
|
521789
|
+
version: "1.1.72+136e761",
|
|
521802
521790
|
output_style: {
|
|
521803
521791
|
name: outputStyleName
|
|
521804
521792
|
},
|
|
@@ -533452,7 +533440,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
533452
533440
|
} catch {}
|
|
533453
533441
|
const data = {
|
|
533454
533442
|
trigger,
|
|
533455
|
-
version: "1.1.
|
|
533443
|
+
version: "1.1.72+136e761",
|
|
533456
533444
|
platform: process.platform,
|
|
533457
533445
|
transcript,
|
|
533458
533446
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -544923,7 +544911,7 @@ function WelcomeV2() {
|
|
|
544923
544911
|
dimColor: true,
|
|
544924
544912
|
children: [
|
|
544925
544913
|
"v",
|
|
544926
|
-
"1.1.
|
|
544914
|
+
"1.1.72+136e761",
|
|
544927
544915
|
" "
|
|
544928
544916
|
]
|
|
544929
544917
|
}, undefined, true, undefined, this)
|
|
@@ -545123,7 +545111,7 @@ function WelcomeV2() {
|
|
|
545123
545111
|
dimColor: true,
|
|
545124
545112
|
children: [
|
|
545125
545113
|
"v",
|
|
545126
|
-
"1.1.
|
|
545114
|
+
"1.1.72+136e761",
|
|
545127
545115
|
" "
|
|
545128
545116
|
]
|
|
545129
545117
|
}, undefined, true, undefined, this)
|
|
@@ -545349,7 +545337,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
545349
545337
|
dimColor: true,
|
|
545350
545338
|
children: [
|
|
545351
545339
|
"v",
|
|
545352
|
-
"1.1.
|
|
545340
|
+
"1.1.72+136e761",
|
|
545353
545341
|
" "
|
|
545354
545342
|
]
|
|
545355
545343
|
}, undefined, true, undefined, this);
|
|
@@ -545603,7 +545591,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
545603
545591
|
dimColor: true,
|
|
545604
545592
|
children: [
|
|
545605
545593
|
"v",
|
|
545606
|
-
"1.1.
|
|
545594
|
+
"1.1.72+136e761",
|
|
545607
545595
|
" "
|
|
545608
545596
|
]
|
|
545609
545597
|
}, undefined, true, undefined, this);
|
|
@@ -548676,7 +548664,7 @@ function appendToLog(path25, message) {
|
|
|
548676
548664
|
cwd: getFsImplementation().cwd(),
|
|
548677
548665
|
userType: process.env.USER_TYPE,
|
|
548678
548666
|
sessionId: getSessionId(),
|
|
548679
|
-
version: "1.1.
|
|
548667
|
+
version: "1.1.72+136e761"
|
|
548680
548668
|
};
|
|
548681
548669
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
548682
548670
|
}
|
|
@@ -552671,8 +552659,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
552671
552659
|
}
|
|
552672
552660
|
async function checkEnvLessBridgeMinVersion() {
|
|
552673
552661
|
const cfg = await getEnvLessBridgeConfig();
|
|
552674
|
-
if (cfg.min_version && lt("1.1.
|
|
552675
|
-
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.
|
|
552676
552664
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
552677
552665
|
}
|
|
552678
552666
|
return null;
|
|
@@ -553146,7 +553134,7 @@ async function initBridgeCore(params) {
|
|
|
553146
553134
|
const rawApi = createBridgeApiClient({
|
|
553147
553135
|
baseUrl,
|
|
553148
553136
|
getAccessToken,
|
|
553149
|
-
runnerVersion: "1.1.
|
|
553137
|
+
runnerVersion: "1.1.72+136e761",
|
|
553150
553138
|
onDebug: logForDebugging,
|
|
553151
553139
|
onAuth401,
|
|
553152
553140
|
getTrustedDeviceToken
|
|
@@ -558825,7 +558813,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
558825
558813
|
setCwd(cwd3);
|
|
558826
558814
|
const server = new Server({
|
|
558827
558815
|
name: "vivus/tengu",
|
|
558828
|
-
version: "1.1.
|
|
558816
|
+
version: "1.1.72+136e761"
|
|
558829
558817
|
}, {
|
|
558830
558818
|
capabilities: {
|
|
558831
558819
|
tools: {}
|
|
@@ -560558,7 +560546,7 @@ __export(exports_update, {
|
|
|
560558
560546
|
});
|
|
560559
560547
|
async function update() {
|
|
560560
560548
|
logEvent("tengu_update_check", {});
|
|
560561
|
-
writeToStdout(`Current version: ${"1.1.
|
|
560549
|
+
writeToStdout(`Current version: ${"1.1.72+136e761"}
|
|
560562
560550
|
`);
|
|
560563
560551
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
560564
560552
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -560633,8 +560621,8 @@ async function update() {
|
|
|
560633
560621
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
560634
560622
|
`);
|
|
560635
560623
|
const latest = await getLatestVersion(channel);
|
|
560636
|
-
if (latest && !gte("1.1.
|
|
560637
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560624
|
+
if (latest && !gte("1.1.72+136e761", latest)) {
|
|
560625
|
+
writeToStdout(`Update available: ${"1.1.72+136e761"} → ${latest}
|
|
560638
560626
|
`);
|
|
560639
560627
|
writeToStdout(`
|
|
560640
560628
|
`);
|
|
@@ -560650,8 +560638,8 @@ async function update() {
|
|
|
560650
560638
|
writeToStdout(`Vivus is managed by winget.
|
|
560651
560639
|
`);
|
|
560652
560640
|
const latest = await getLatestVersion(channel);
|
|
560653
|
-
if (latest && !gte("1.1.
|
|
560654
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560641
|
+
if (latest && !gte("1.1.72+136e761", latest)) {
|
|
560642
|
+
writeToStdout(`Update available: ${"1.1.72+136e761"} → ${latest}
|
|
560655
560643
|
`);
|
|
560656
560644
|
writeToStdout(`
|
|
560657
560645
|
`);
|
|
@@ -560667,8 +560655,8 @@ async function update() {
|
|
|
560667
560655
|
writeToStdout(`Vivus is managed by apk.
|
|
560668
560656
|
`);
|
|
560669
560657
|
const latest = await getLatestVersion(channel);
|
|
560670
|
-
if (latest && !gte("1.1.
|
|
560671
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560658
|
+
if (latest && !gte("1.1.72+136e761", latest)) {
|
|
560659
|
+
writeToStdout(`Update available: ${"1.1.72+136e761"} → ${latest}
|
|
560672
560660
|
`);
|
|
560673
560661
|
writeToStdout(`
|
|
560674
560662
|
`);
|
|
@@ -560733,11 +560721,11 @@ async function update() {
|
|
|
560733
560721
|
`);
|
|
560734
560722
|
await gracefulShutdown(1);
|
|
560735
560723
|
}
|
|
560736
|
-
if (result.latestVersion === "1.1.
|
|
560737
|
-
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"})`) + `
|
|
560738
560726
|
`);
|
|
560739
560727
|
} else {
|
|
560740
|
-
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}`) + `
|
|
560741
560729
|
`);
|
|
560742
560730
|
await regenerateCompletionCache();
|
|
560743
560731
|
}
|
|
@@ -560794,12 +560782,12 @@ async function update() {
|
|
|
560794
560782
|
`);
|
|
560795
560783
|
await gracefulShutdown(1);
|
|
560796
560784
|
}
|
|
560797
|
-
if (latestVersion === "1.1.
|
|
560798
|
-
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"})`) + `
|
|
560799
560787
|
`);
|
|
560800
560788
|
await gracefulShutdown(0);
|
|
560801
560789
|
}
|
|
560802
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
560790
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.72+136e761"})
|
|
560803
560791
|
`);
|
|
560804
560792
|
writeToStdout(`Installing update...
|
|
560805
560793
|
`);
|
|
@@ -560844,7 +560832,7 @@ async function update() {
|
|
|
560844
560832
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
560845
560833
|
switch (status2) {
|
|
560846
560834
|
case "success":
|
|
560847
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
560835
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.72+136e761"} to version ${latestVersion}`) + `
|
|
560848
560836
|
`);
|
|
560849
560837
|
await regenerateCompletionCache();
|
|
560850
560838
|
break;
|
|
@@ -561818,7 +561806,7 @@ function completeOnboarding() {
|
|
|
561818
561806
|
saveGlobalConfig((current) => ({
|
|
561819
561807
|
...current,
|
|
561820
561808
|
hasCompletedOnboarding: true,
|
|
561821
|
-
lastOnboardingVersion: "1.1.
|
|
561809
|
+
lastOnboardingVersion: "1.1.72+136e761"
|
|
561822
561810
|
}));
|
|
561823
561811
|
}
|
|
561824
561812
|
function showDialog(root2, renderer) {
|
|
@@ -565954,7 +565942,7 @@ ${customInstructions}` : customInstructions;
|
|
|
565954
565942
|
}
|
|
565955
565943
|
}
|
|
565956
565944
|
logForDiagnosticsNoPII("info", "started", {
|
|
565957
|
-
version: "1.1.
|
|
565945
|
+
version: "1.1.72+136e761",
|
|
565958
565946
|
is_native_binary: isInBundledMode()
|
|
565959
565947
|
});
|
|
565960
565948
|
registerCleanup(async () => {
|
|
@@ -566752,7 +566740,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
566752
566740
|
pendingHookMessages
|
|
566753
566741
|
}, renderAndRun);
|
|
566754
566742
|
}
|
|
566755
|
-
}).version("1.1.
|
|
566743
|
+
}).version("1.1.72+136e761 (Vivus)", "-v, --version", "Output the version number");
|
|
566756
566744
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
566757
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.");
|
|
566758
566746
|
if (canUserConfigureAdvisor()) {
|