vivus-agent 1.1.69 → 1.1.70
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 +114 -99
- 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-15T22:02:00.185Z
|
|
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.70+ba10466"}`;
|
|
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.70+ba10466"} (${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.70+ba10466"}${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.70+ba10466",
|
|
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.70+ba10466".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.70+ba10466",
|
|
119767
119767
|
versionBase: getVersionBase(),
|
|
119768
|
-
buildTime: "2026-10-
|
|
119768
|
+
buildTime: "2026-10-15T22:01:59.803Z",
|
|
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.70+ba10466"
|
|
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.70+ba10466");
|
|
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.70+ba10466"}.${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.70+ba10466";
|
|
175859
175859
|
}
|
|
175860
175860
|
const oauthAccount = getOauthAccountInfo();
|
|
175861
175861
|
if (oauthAccount) {
|
|
@@ -201327,9 +201327,10 @@ 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: true,
|
|
201331
201331
|
gapThresholdMinutes: 60,
|
|
201332
|
-
keepRecent: 5
|
|
201332
|
+
keepRecent: 5,
|
|
201333
|
+
pressureRatio: 0.6
|
|
201333
201334
|
};
|
|
201334
201335
|
});
|
|
201335
201336
|
|
|
@@ -201454,17 +201455,27 @@ function evaluateTimeBasedTrigger(messages, querySource) {
|
|
|
201454
201455
|
return null;
|
|
201455
201456
|
}
|
|
201456
201457
|
const gapMinutes = (Date.now() - new Date(lastAssistant.timestamp).getTime()) / 60000;
|
|
201457
|
-
if (
|
|
201458
|
-
return
|
|
201458
|
+
if (Number.isFinite(gapMinutes) && gapMinutes >= config3.gapThresholdMinutes) {
|
|
201459
|
+
return { gapMinutes, config: config3, reason: "gap" };
|
|
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
|
+
}
|
|
201459
201470
|
}
|
|
201460
|
-
return
|
|
201471
|
+
return null;
|
|
201461
201472
|
}
|
|
201462
201473
|
function maybeTimeBasedMicrocompact(messages, querySource, readFileState) {
|
|
201463
201474
|
const trigger = evaluateTimeBasedTrigger(messages, querySource);
|
|
201464
201475
|
if (!trigger) {
|
|
201465
201476
|
return null;
|
|
201466
201477
|
}
|
|
201467
|
-
const { gapMinutes, config: config3 } = trigger;
|
|
201478
|
+
const { gapMinutes, config: config3, reason } = trigger;
|
|
201468
201479
|
const compactableIds = collectCompactableToolIds(messages);
|
|
201469
201480
|
const keepRecent = Math.max(1, config3.keepRecent);
|
|
201470
201481
|
const keepSet = new Set(compactableIds.slice(-keepRecent));
|
|
@@ -201505,6 +201516,7 @@ function maybeTimeBasedMicrocompact(messages, querySource, readFileState) {
|
|
|
201505
201516
|
return null;
|
|
201506
201517
|
}
|
|
201507
201518
|
logEvent("tengu_time_based_microcompact", {
|
|
201519
|
+
reason,
|
|
201508
201520
|
gapMinutes: Math.round(gapMinutes),
|
|
201509
201521
|
gapThresholdMinutes: config3.gapThresholdMinutes,
|
|
201510
201522
|
toolsCleared: clearSet.size,
|
|
@@ -201512,7 +201524,7 @@ function maybeTimeBasedMicrocompact(messages, querySource, readFileState) {
|
|
|
201512
201524
|
keepRecent: config3.keepRecent,
|
|
201513
201525
|
tokensSaved
|
|
201514
201526
|
});
|
|
201515
|
-
logForDebugging(`[
|
|
201527
|
+
logForDebugging(`[MICROCOMPACT ${reason}] ${reason === "pressure" ? `context at >=${config3.pressureRatio} of effective window` : `gap ${Math.round(gapMinutes)}min > ${config3.gapThresholdMinutes}min`}, cleared ${clearSet.size} tool results (~${tokensSaved} tokens), kept last ${keepSet.size}`);
|
|
201516
201528
|
suppressCompactWarning();
|
|
201517
201529
|
resetMicrocompactState();
|
|
201518
201530
|
if (false) {}
|
|
@@ -201526,6 +201538,8 @@ var init_microCompact = __esm(() => {
|
|
|
201526
201538
|
init_prompt6();
|
|
201527
201539
|
init_debug();
|
|
201528
201540
|
init_model();
|
|
201541
|
+
init_tokens();
|
|
201542
|
+
init_autoCompact();
|
|
201529
201543
|
init_path2();
|
|
201530
201544
|
init_shellToolUtils();
|
|
201531
201545
|
init_slowOperations();
|
|
@@ -242474,7 +242488,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
242474
242488
|
}
|
|
242475
242489
|
function computeFingerprintFromMessages(messages) {
|
|
242476
242490
|
const firstMessageText = extractFirstMessageText(messages);
|
|
242477
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
242491
|
+
return computeFingerprint(firstMessageText, "1.1.70+ba10466");
|
|
242478
242492
|
}
|
|
242479
242493
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
242480
242494
|
var init_fingerprint = () => {};
|
|
@@ -242516,7 +242530,7 @@ async function sideQuery(opts) {
|
|
|
242516
242530
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
242517
242531
|
}
|
|
242518
242532
|
const messageText = extractFirstUserMessageText(messages);
|
|
242519
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
242533
|
+
const fingerprint = computeFingerprint(messageText, "1.1.70+ba10466");
|
|
242520
242534
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
242521
242535
|
const systemBlocks = [
|
|
242522
242536
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -243668,7 +243682,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
243668
243682
|
const client2 = new Client({
|
|
243669
243683
|
name: "vivus",
|
|
243670
243684
|
title: "Vivus",
|
|
243671
|
-
version: "1.1.
|
|
243685
|
+
version: "1.1.70+ba10466",
|
|
243672
243686
|
description: "Anthropic's agentic coding tool",
|
|
243673
243687
|
websiteUrl: PRODUCT_URL
|
|
243674
243688
|
}, {
|
|
@@ -244022,7 +244036,7 @@ var init_client6 = __esm(() => {
|
|
|
244022
244036
|
const client2 = new Client({
|
|
244023
244037
|
name: "vivus",
|
|
244024
244038
|
title: "Vivus",
|
|
244025
|
-
version: "1.1.
|
|
244039
|
+
version: "1.1.70+ba10466",
|
|
244026
244040
|
description: "Anthropic's agentic coding tool",
|
|
244027
244041
|
websiteUrl: PRODUCT_URL
|
|
244028
244042
|
}, {
|
|
@@ -246083,7 +246097,7 @@ function getInstallationEnv() {
|
|
|
246083
246097
|
return;
|
|
246084
246098
|
}
|
|
246085
246099
|
function getVivusCodeVersion() {
|
|
246086
|
-
return "1.1.
|
|
246100
|
+
return "1.1.70+ba10466";
|
|
246087
246101
|
}
|
|
246088
246102
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
246089
246103
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -302217,7 +302231,7 @@ async function initializeBetaTracing(resource) {
|
|
|
302217
302231
|
});
|
|
302218
302232
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
302219
302233
|
setLoggerProvider(loggerProvider);
|
|
302220
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
302234
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.70+ba10466");
|
|
302221
302235
|
setEventLogger(eventLogger);
|
|
302222
302236
|
process.on("beforeExit", async () => {
|
|
302223
302237
|
await loggerProvider?.forceFlush();
|
|
@@ -302257,7 +302271,7 @@ async function initializeTelemetry() {
|
|
|
302257
302271
|
const platform5 = getPlatform();
|
|
302258
302272
|
const baseAttributes = {
|
|
302259
302273
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
302260
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
302274
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.70+ba10466"
|
|
302261
302275
|
};
|
|
302262
302276
|
if (platform5 === "wsl") {
|
|
302263
302277
|
const wslVersion = getWslVersion();
|
|
@@ -302302,7 +302316,7 @@ async function initializeTelemetry() {
|
|
|
302302
302316
|
} catch {}
|
|
302303
302317
|
};
|
|
302304
302318
|
registerCleanup(shutdownTelemetry2);
|
|
302305
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.
|
|
302319
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.70+ba10466");
|
|
302306
302320
|
}
|
|
302307
302321
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
302308
302322
|
resource,
|
|
@@ -302322,7 +302336,7 @@ async function initializeTelemetry() {
|
|
|
302322
302336
|
});
|
|
302323
302337
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
302324
302338
|
setLoggerProvider(loggerProvider);
|
|
302325
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
302339
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.70+ba10466");
|
|
302326
302340
|
setEventLogger(eventLogger);
|
|
302327
302341
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
302328
302342
|
process.on("beforeExit", async () => {
|
|
@@ -302384,7 +302398,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
302384
302398
|
}
|
|
302385
302399
|
};
|
|
302386
302400
|
registerCleanup(shutdownTelemetry);
|
|
302387
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.
|
|
302401
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.70+ba10466");
|
|
302388
302402
|
}
|
|
302389
302403
|
async function flushTelemetry() {
|
|
302390
302404
|
const meterProvider = getMeterProvider();
|
|
@@ -303070,9 +303084,9 @@ async function assertMinVersion() {
|
|
|
303070
303084
|
if (false) {}
|
|
303071
303085
|
try {
|
|
303072
303086
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
303073
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
303087
|
+
if (versionConfig.minVersion && lt("1.1.70+ba10466", versionConfig.minVersion)) {
|
|
303074
303088
|
console.error(`
|
|
303075
|
-
It looks like your version of Vivus (${"1.1.
|
|
303089
|
+
It looks like your version of Vivus (${"1.1.70+ba10466"}) needs an update.
|
|
303076
303090
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
303077
303091
|
|
|
303078
303092
|
To update, please run:
|
|
@@ -303288,7 +303302,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
303288
303302
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
303289
303303
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
303290
303304
|
pid: process.pid,
|
|
303291
|
-
currentVersion: "1.1.
|
|
303305
|
+
currentVersion: "1.1.70+ba10466"
|
|
303292
303306
|
});
|
|
303293
303307
|
return "in_progress";
|
|
303294
303308
|
}
|
|
@@ -303297,7 +303311,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
303297
303311
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
303298
303312
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
303299
303313
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
303300
|
-
currentVersion: "1.1.
|
|
303314
|
+
currentVersion: "1.1.70+ba10466"
|
|
303301
303315
|
});
|
|
303302
303316
|
console.error(`
|
|
303303
303317
|
Error: Windows NPM detected in WSL
|
|
@@ -303830,7 +303844,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
303830
303844
|
}
|
|
303831
303845
|
async function getDoctorDiagnostic() {
|
|
303832
303846
|
const installationType = await getCurrentInstallationType();
|
|
303833
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
303847
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.70+ba10466" : "unknown";
|
|
303834
303848
|
const installationPath = await getInstallationPath();
|
|
303835
303849
|
const invokedBinary = getInvokedBinary();
|
|
303836
303850
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -304763,8 +304777,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
304763
304777
|
const maxVersion = await getMaxVersion();
|
|
304764
304778
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
304765
304779
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
304766
|
-
if (gte("1.1.
|
|
304767
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
304780
|
+
if (gte("1.1.70+ba10466", maxVersion)) {
|
|
304781
|
+
logForDebugging(`Native installer: current version ${"1.1.70+ba10466"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
304768
304782
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
304769
304783
|
latency_ms: Date.now() - startTime,
|
|
304770
304784
|
max_version: maxVersion,
|
|
@@ -304775,7 +304789,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
304775
304789
|
version2 = maxVersion;
|
|
304776
304790
|
}
|
|
304777
304791
|
}
|
|
304778
|
-
if (!forceReinstall && version2 === "1.1.
|
|
304792
|
+
if (!forceReinstall && version2 === "1.1.70+ba10466" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
304779
304793
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
304780
304794
|
logEvent("tengu_native_update_complete", {
|
|
304781
304795
|
latency_ms: Date.now() - startTime,
|
|
@@ -357327,8 +357341,9 @@ function getEffectiveContextWindowSize(model) {
|
|
|
357327
357341
|
let contextWindow = getContextWindowForModel(model, getSdkBetas());
|
|
357328
357342
|
const override = process.env.VIVUS_CODE_AUTO_COMPACT_WINDOW;
|
|
357329
357343
|
const parsed = override ? parseInt(override, 10) : NaN;
|
|
357330
|
-
|
|
357331
|
-
|
|
357344
|
+
if (!isNaN(parsed) && parsed > 0) {
|
|
357345
|
+
contextWindow = Math.min(contextWindow, parsed);
|
|
357346
|
+
}
|
|
357332
357347
|
const reservedTokensForSummary = Math.min(getMaxOutputTokensForModel(model), MAX_OUTPUT_TOKENS_FOR_SUMMARY, Math.floor(contextWindow * MAX_SUMMARY_RESERVE_RATIO));
|
|
357333
357348
|
return contextWindow - reservedTokensForSummary;
|
|
357334
357349
|
}
|
|
@@ -357466,7 +357481,7 @@ async function autoCompactIfNeeded(messages, toolUseContext, cacheSafeParams, qu
|
|
|
357466
357481
|
return { wasCompacted: false, consecutiveFailures: nextFailures };
|
|
357467
357482
|
}
|
|
357468
357483
|
}
|
|
357469
|
-
var MAX_OUTPUT_TOKENS_FOR_SUMMARY = 20000, MAX_SUMMARY_RESERVE_RATIO = 0.2, MAX_AUTOCOMPACT_BUFFER_RATIO = 0.08,
|
|
357484
|
+
var MAX_OUTPUT_TOKENS_FOR_SUMMARY = 20000, MAX_SUMMARY_RESERVE_RATIO = 0.2, MAX_AUTOCOMPACT_BUFFER_RATIO = 0.08, AUTOCOMPACT_BUFFER_TOKENS = 13000, WARNING_THRESHOLD_BUFFER_TOKENS = 20000, ERROR_THRESHOLD_BUFFER_TOKENS = 20000, MANUAL_COMPACT_BUFFER_TOKENS = 3000, DEFAULT_AUTOCOMPACT_RATIO = 0.7, MAX_CONSECUTIVE_AUTOCOMPACT_FAILURES = 3;
|
|
357470
357485
|
var init_autoCompact = __esm(() => {
|
|
357471
357486
|
init_state();
|
|
357472
357487
|
init_state();
|
|
@@ -362202,7 +362217,7 @@ function getAnthropicEnvMetadata() {
|
|
|
362202
362217
|
function getBuildAgeMinutes() {
|
|
362203
362218
|
if (false)
|
|
362204
362219
|
;
|
|
362205
|
-
const buildTime = new Date("2026-10-
|
|
362220
|
+
const buildTime = new Date("2026-10-15T22:01:59.803Z").getTime();
|
|
362206
362221
|
if (isNaN(buildTime))
|
|
362207
362222
|
return;
|
|
362208
362223
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -410363,7 +410378,7 @@ var init_filesystem = __esm(() => {
|
|
|
410363
410378
|
});
|
|
410364
410379
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
410365
410380
|
const nonce = randomBytes17(16).toString("hex");
|
|
410366
|
-
return join108(getVivusTempDir(), "bundled-skills", "1.1.
|
|
410381
|
+
return join108(getVivusTempDir(), "bundled-skills", "1.1.70+ba10466", nonce);
|
|
410367
410382
|
});
|
|
410368
410383
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
410369
410384
|
});
|
|
@@ -412123,7 +412138,7 @@ function Feedback({
|
|
|
412123
412138
|
platform: env3.platform,
|
|
412124
412139
|
gitRepo: envInfo.isGit,
|
|
412125
412140
|
terminal: env3.terminal,
|
|
412126
|
-
version: "1.1.
|
|
412141
|
+
version: "1.1.70+ba10466",
|
|
412127
412142
|
transcript: normalizeMessagesForAPI(messages),
|
|
412128
412143
|
errors: sanitizedErrors,
|
|
412129
412144
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -412315,7 +412330,7 @@ function Feedback({
|
|
|
412315
412330
|
", ",
|
|
412316
412331
|
env3.terminal,
|
|
412317
412332
|
", v",
|
|
412318
|
-
"1.1.
|
|
412333
|
+
"1.1.70+ba10466"
|
|
412319
412334
|
]
|
|
412320
412335
|
}, undefined, true, undefined, this)
|
|
412321
412336
|
]
|
|
@@ -412421,7 +412436,7 @@ ${sanitizedDescription}
|
|
|
412421
412436
|
` + `**Environment Info**
|
|
412422
412437
|
` + `- Platform: ${env3.platform}
|
|
412423
412438
|
` + `- Terminal: ${env3.terminal}
|
|
412424
|
-
` + `- Version: ${"1.1.
|
|
412439
|
+
` + `- Version: ${"1.1.70+ba10466"}
|
|
412425
412440
|
` + `- Feedback ID: ${feedbackId}
|
|
412426
412441
|
` + `
|
|
412427
412442
|
**Errors**
|
|
@@ -415553,7 +415568,7 @@ function buildPrimarySection() {
|
|
|
415553
415568
|
}, undefined, false, undefined, this);
|
|
415554
415569
|
return [{
|
|
415555
415570
|
label: "Version",
|
|
415556
|
-
value: "1.1.
|
|
415571
|
+
value: "1.1.70+ba10466"
|
|
415557
415572
|
}, {
|
|
415558
415573
|
label: "Session name",
|
|
415559
415574
|
value: nameValue
|
|
@@ -419418,7 +419433,7 @@ function Config({
|
|
|
419418
419433
|
}
|
|
419419
419434
|
}, undefined, false, undefined, this)
|
|
419420
419435
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
|
|
419421
|
-
currentVersion: "1.1.
|
|
419436
|
+
currentVersion: "1.1.70+ba10466",
|
|
419422
419437
|
onChoice: (choice) => {
|
|
419423
419438
|
setShowSubmenu(null);
|
|
419424
419439
|
setTabsHidden(false);
|
|
@@ -419430,7 +419445,7 @@ function Config({
|
|
|
419430
419445
|
autoUpdatesChannel: "stable"
|
|
419431
419446
|
};
|
|
419432
419447
|
if (choice === "stay") {
|
|
419433
|
-
newSettings.minimumVersion = "1.1.
|
|
419448
|
+
newSettings.minimumVersion = "1.1.70+ba10466";
|
|
419434
419449
|
}
|
|
419435
419450
|
updateSettingsForSource("userSettings", newSettings);
|
|
419436
419451
|
setSettingsData((prev_27) => ({
|
|
@@ -427625,7 +427640,7 @@ function HelpV2(t0) {
|
|
|
427625
427640
|
let t6;
|
|
427626
427641
|
if ($2[31] !== tabs) {
|
|
427627
427642
|
t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
|
|
427628
|
-
title: `Vivus v${"1.1.
|
|
427643
|
+
title: `Vivus v${"1.1.70+ba10466"}`,
|
|
427629
427644
|
color: "professionalBlue",
|
|
427630
427645
|
defaultTab: "general",
|
|
427631
427646
|
children: tabs
|
|
@@ -451851,7 +451866,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
451851
451866
|
return [];
|
|
451852
451867
|
}
|
|
451853
451868
|
}
|
|
451854
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
451869
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.70+ba10466") {
|
|
451855
451870
|
if (process.env.USER_TYPE === "ant") {
|
|
451856
451871
|
const changelog = "";
|
|
451857
451872
|
if (changelog) {
|
|
@@ -451878,7 +451893,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.69+11
|
|
|
451878
451893
|
releaseNotes
|
|
451879
451894
|
};
|
|
451880
451895
|
}
|
|
451881
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
451896
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.70+ba10466") {
|
|
451882
451897
|
if (process.env.USER_TYPE === "ant") {
|
|
451883
451898
|
const changelog = "";
|
|
451884
451899
|
if (changelog) {
|
|
@@ -452226,7 +452241,7 @@ async function createBridgeSession({
|
|
|
452226
452241
|
const { getOAuthHeaders: getOAuthHeaders2 } = await Promise.resolve().then(() => (init_api2(), exports_api));
|
|
452227
452242
|
const { parseGitHubRepository: parseGitHubRepository2 } = await Promise.resolve().then(() => (init_detectRepository(), exports_detectRepository));
|
|
452228
452243
|
const { getDefaultBranch: getDefaultBranch2 } = await Promise.resolve().then(() => (init_git(), exports_git));
|
|
452229
|
-
const { getMainLoopModel:
|
|
452244
|
+
const { getMainLoopModel: getMainLoopModel2 } = await Promise.resolve().then(() => (init_model(), exports_model));
|
|
452230
452245
|
const { default: axios2 } = await Promise.resolve().then(() => (init_axios2(), exports_axios));
|
|
452231
452246
|
const accessToken = getAccessToken?.() ?? getVivusAIOAuthTokens2()?.accessToken;
|
|
452232
452247
|
if (!accessToken) {
|
|
@@ -452288,7 +452303,7 @@ async function createBridgeSession({
|
|
|
452288
452303
|
session_context: {
|
|
452289
452304
|
sources: gitSource ? [gitSource] : [],
|
|
452290
452305
|
outcomes: gitOutcome ? [gitOutcome] : [],
|
|
452291
|
-
model:
|
|
452306
|
+
model: getMainLoopModel2()
|
|
452292
452307
|
},
|
|
452293
452308
|
environment_id: environmentId,
|
|
452294
452309
|
source: "remote-control",
|
|
@@ -453048,7 +453063,7 @@ function getRecentActivitySync() {
|
|
|
453048
453063
|
return cachedActivity;
|
|
453049
453064
|
}
|
|
453050
453065
|
function getLogoDisplayData() {
|
|
453051
|
-
const version2 = process.env.DEMO_VERSION ?? "1.1.
|
|
453066
|
+
const version2 = process.env.DEMO_VERSION ?? "1.1.70+ba10466";
|
|
453052
453067
|
const serverUrl = getDirectConnectServerUrl();
|
|
453053
453068
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
453054
453069
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -454575,7 +454590,7 @@ function LogoV2() {
|
|
|
454575
454590
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
454576
454591
|
t2 = () => {
|
|
454577
454592
|
const currentConfig = getGlobalConfig();
|
|
454578
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
454593
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.70+ba10466") {
|
|
454579
454594
|
return;
|
|
454580
454595
|
}
|
|
454581
454596
|
saveGlobalConfig(_temp329);
|
|
@@ -455251,12 +455266,12 @@ function LogoV2() {
|
|
|
455251
455266
|
return t41;
|
|
455252
455267
|
}
|
|
455253
455268
|
function _temp329(current) {
|
|
455254
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
455269
|
+
if (current.lastReleaseNotesSeen === "1.1.70+ba10466") {
|
|
455255
455270
|
return current;
|
|
455256
455271
|
}
|
|
455257
455272
|
return {
|
|
455258
455273
|
...current,
|
|
455259
|
-
lastReleaseNotesSeen: "1.1.
|
|
455274
|
+
lastReleaseNotesSeen: "1.1.70+ba10466"
|
|
455260
455275
|
};
|
|
455261
455276
|
}
|
|
455262
455277
|
function _temp245(s_0) {
|
|
@@ -481558,7 +481573,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
481558
481573
|
smapsRollup,
|
|
481559
481574
|
platform: process.platform,
|
|
481560
481575
|
nodeVersion: process.version,
|
|
481561
|
-
ccVersion: "1.1.
|
|
481576
|
+
ccVersion: "1.1.70+ba10466"
|
|
481562
481577
|
};
|
|
481563
481578
|
}
|
|
481564
481579
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -482144,7 +482159,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
482144
482159
|
var call56 = async () => {
|
|
482145
482160
|
return {
|
|
482146
482161
|
type: "text",
|
|
482147
|
-
value: `${"1.1.
|
|
482162
|
+
value: `${"1.1.70+ba10466"} (built ${"2026-10-15T22:01:59.803Z"})`
|
|
482148
482163
|
};
|
|
482149
482164
|
}, version2, version_default;
|
|
482150
482165
|
var init_version = __esm(() => {
|
|
@@ -491464,7 +491479,7 @@ function generateHtmlReport(data, insights) {
|
|
|
491464
491479
|
</html>`;
|
|
491465
491480
|
}
|
|
491466
491481
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
491467
|
-
const version3 = typeof MACRO !== "undefined" ? "1.1.
|
|
491482
|
+
const version3 = typeof MACRO !== "undefined" ? "1.1.70+ba10466" : "unknown";
|
|
491468
491483
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
491469
491484
|
const facets_summary = {
|
|
491470
491485
|
total: facets.size,
|
|
@@ -495576,7 +495591,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
495576
495591
|
init_settings2();
|
|
495577
495592
|
init_slowOperations();
|
|
495578
495593
|
init_uuid();
|
|
495579
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
495594
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.70+ba10466" : "unknown";
|
|
495580
495595
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
495581
495596
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
495582
495597
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -498448,7 +498463,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
498448
498463
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
498449
498464
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
498450
498465
|
betas: getSdkBetas(),
|
|
498451
|
-
vivus_code_version: "1.1.
|
|
498466
|
+
vivus_code_version: "1.1.70+ba10466",
|
|
498452
498467
|
output_style: outputStyle2,
|
|
498453
498468
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
498454
498469
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -513160,7 +513175,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
513160
513175
|
function getSemverPart(version3) {
|
|
513161
513176
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
513162
513177
|
}
|
|
513163
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
513178
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.70+ba10466") {
|
|
513164
513179
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
|
|
513165
513180
|
if (!updatedVersion) {
|
|
513166
513181
|
return null;
|
|
@@ -513200,7 +513215,7 @@ function AutoUpdater({
|
|
|
513200
513215
|
return;
|
|
513201
513216
|
}
|
|
513202
513217
|
if (false) {}
|
|
513203
|
-
const currentVersion = "1.1.
|
|
513218
|
+
const currentVersion = "1.1.70+ba10466";
|
|
513204
513219
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
513205
513220
|
let latestVersion = await getLatestVersion(channel);
|
|
513206
513221
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -513413,12 +513428,12 @@ function NativeAutoUpdater({
|
|
|
513413
513428
|
logEvent("tengu_native_auto_updater_start", {});
|
|
513414
513429
|
try {
|
|
513415
513430
|
const maxVersion = await getMaxVersion();
|
|
513416
|
-
if (maxVersion && gt("1.1.
|
|
513431
|
+
if (maxVersion && gt("1.1.70+ba10466", maxVersion)) {
|
|
513417
513432
|
const msg = await getMaxVersionMessage();
|
|
513418
513433
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
513419
513434
|
}
|
|
513420
513435
|
const result = await installLatest(channel);
|
|
513421
|
-
const currentVersion = "1.1.
|
|
513436
|
+
const currentVersion = "1.1.70+ba10466";
|
|
513422
513437
|
const latencyMs = Date.now() - startTime;
|
|
513423
513438
|
if (result.lockFailed) {
|
|
513424
513439
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -513555,17 +513570,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
513555
513570
|
const maxVersion = await getMaxVersion();
|
|
513556
513571
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
513557
513572
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
513558
|
-
if (gte("1.1.
|
|
513559
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
513573
|
+
if (gte("1.1.70+ba10466", maxVersion)) {
|
|
513574
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.70+ba10466"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
513560
513575
|
setUpdateAvailable(false);
|
|
513561
513576
|
return;
|
|
513562
513577
|
}
|
|
513563
513578
|
latest = maxVersion;
|
|
513564
513579
|
}
|
|
513565
|
-
const hasUpdate = latest && !gte("1.1.
|
|
513580
|
+
const hasUpdate = latest && !gte("1.1.70+ba10466", latest) && !shouldSkipVersion(latest);
|
|
513566
513581
|
setUpdateAvailable(!!hasUpdate);
|
|
513567
513582
|
if (hasUpdate) {
|
|
513568
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
513583
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.70+ba10466"} -> ${latest}`);
|
|
513569
513584
|
}
|
|
513570
513585
|
};
|
|
513571
513586
|
$2[0] = t1;
|
|
@@ -513599,7 +513614,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
513599
513614
|
wrap: "truncate",
|
|
513600
513615
|
children: [
|
|
513601
513616
|
"currentVersion: ",
|
|
513602
|
-
"1.1.
|
|
513617
|
+
"1.1.70+ba10466"
|
|
513603
513618
|
]
|
|
513604
513619
|
}, undefined, true, undefined, this);
|
|
513605
513620
|
$2[3] = verbose;
|
|
@@ -521783,7 +521798,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
521783
521798
|
project_dir: getOriginalCwd(),
|
|
521784
521799
|
added_dirs: addedDirs
|
|
521785
521800
|
},
|
|
521786
|
-
version: "1.1.
|
|
521801
|
+
version: "1.1.70+ba10466",
|
|
521787
521802
|
output_style: {
|
|
521788
521803
|
name: outputStyleName
|
|
521789
521804
|
},
|
|
@@ -533437,7 +533452,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
533437
533452
|
} catch {}
|
|
533438
533453
|
const data = {
|
|
533439
533454
|
trigger,
|
|
533440
|
-
version: "1.1.
|
|
533455
|
+
version: "1.1.70+ba10466",
|
|
533441
533456
|
platform: process.platform,
|
|
533442
533457
|
transcript,
|
|
533443
533458
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -544908,7 +544923,7 @@ function WelcomeV2() {
|
|
|
544908
544923
|
dimColor: true,
|
|
544909
544924
|
children: [
|
|
544910
544925
|
"v",
|
|
544911
|
-
"1.1.
|
|
544926
|
+
"1.1.70+ba10466",
|
|
544912
544927
|
" "
|
|
544913
544928
|
]
|
|
544914
544929
|
}, undefined, true, undefined, this)
|
|
@@ -545108,7 +545123,7 @@ function WelcomeV2() {
|
|
|
545108
545123
|
dimColor: true,
|
|
545109
545124
|
children: [
|
|
545110
545125
|
"v",
|
|
545111
|
-
"1.1.
|
|
545126
|
+
"1.1.70+ba10466",
|
|
545112
545127
|
" "
|
|
545113
545128
|
]
|
|
545114
545129
|
}, undefined, true, undefined, this)
|
|
@@ -545334,7 +545349,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
545334
545349
|
dimColor: true,
|
|
545335
545350
|
children: [
|
|
545336
545351
|
"v",
|
|
545337
|
-
"1.1.
|
|
545352
|
+
"1.1.70+ba10466",
|
|
545338
545353
|
" "
|
|
545339
545354
|
]
|
|
545340
545355
|
}, undefined, true, undefined, this);
|
|
@@ -545588,7 +545603,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
545588
545603
|
dimColor: true,
|
|
545589
545604
|
children: [
|
|
545590
545605
|
"v",
|
|
545591
|
-
"1.1.
|
|
545606
|
+
"1.1.70+ba10466",
|
|
545592
545607
|
" "
|
|
545593
545608
|
]
|
|
545594
545609
|
}, undefined, true, undefined, this);
|
|
@@ -548661,7 +548676,7 @@ function appendToLog(path25, message) {
|
|
|
548661
548676
|
cwd: getFsImplementation().cwd(),
|
|
548662
548677
|
userType: process.env.USER_TYPE,
|
|
548663
548678
|
sessionId: getSessionId(),
|
|
548664
|
-
version: "1.1.
|
|
548679
|
+
version: "1.1.70+ba10466"
|
|
548665
548680
|
};
|
|
548666
548681
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
548667
548682
|
}
|
|
@@ -552656,8 +552671,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
552656
552671
|
}
|
|
552657
552672
|
async function checkEnvLessBridgeMinVersion() {
|
|
552658
552673
|
const cfg = await getEnvLessBridgeConfig();
|
|
552659
|
-
if (cfg.min_version && lt("1.1.
|
|
552660
|
-
return `Your version of Vivus (${"1.1.
|
|
552674
|
+
if (cfg.min_version && lt("1.1.70+ba10466", cfg.min_version)) {
|
|
552675
|
+
return `Your version of Vivus (${"1.1.70+ba10466"}) is too old for Remote Control.
|
|
552661
552676
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
552662
552677
|
}
|
|
552663
552678
|
return null;
|
|
@@ -553131,7 +553146,7 @@ async function initBridgeCore(params) {
|
|
|
553131
553146
|
const rawApi = createBridgeApiClient({
|
|
553132
553147
|
baseUrl,
|
|
553133
553148
|
getAccessToken,
|
|
553134
|
-
runnerVersion: "1.1.
|
|
553149
|
+
runnerVersion: "1.1.70+ba10466",
|
|
553135
553150
|
onDebug: logForDebugging,
|
|
553136
553151
|
onAuth401,
|
|
553137
553152
|
getTrustedDeviceToken
|
|
@@ -558810,7 +558825,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
558810
558825
|
setCwd(cwd3);
|
|
558811
558826
|
const server = new Server({
|
|
558812
558827
|
name: "vivus/tengu",
|
|
558813
|
-
version: "1.1.
|
|
558828
|
+
version: "1.1.70+ba10466"
|
|
558814
558829
|
}, {
|
|
558815
558830
|
capabilities: {
|
|
558816
558831
|
tools: {}
|
|
@@ -560543,7 +560558,7 @@ __export(exports_update, {
|
|
|
560543
560558
|
});
|
|
560544
560559
|
async function update() {
|
|
560545
560560
|
logEvent("tengu_update_check", {});
|
|
560546
|
-
writeToStdout(`Current version: ${"1.1.
|
|
560561
|
+
writeToStdout(`Current version: ${"1.1.70+ba10466"}
|
|
560547
560562
|
`);
|
|
560548
560563
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
560549
560564
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -560618,8 +560633,8 @@ async function update() {
|
|
|
560618
560633
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
560619
560634
|
`);
|
|
560620
560635
|
const latest = await getLatestVersion(channel);
|
|
560621
|
-
if (latest && !gte("1.1.
|
|
560622
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560636
|
+
if (latest && !gte("1.1.70+ba10466", latest)) {
|
|
560637
|
+
writeToStdout(`Update available: ${"1.1.70+ba10466"} → ${latest}
|
|
560623
560638
|
`);
|
|
560624
560639
|
writeToStdout(`
|
|
560625
560640
|
`);
|
|
@@ -560635,8 +560650,8 @@ async function update() {
|
|
|
560635
560650
|
writeToStdout(`Vivus is managed by winget.
|
|
560636
560651
|
`);
|
|
560637
560652
|
const latest = await getLatestVersion(channel);
|
|
560638
|
-
if (latest && !gte("1.1.
|
|
560639
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560653
|
+
if (latest && !gte("1.1.70+ba10466", latest)) {
|
|
560654
|
+
writeToStdout(`Update available: ${"1.1.70+ba10466"} → ${latest}
|
|
560640
560655
|
`);
|
|
560641
560656
|
writeToStdout(`
|
|
560642
560657
|
`);
|
|
@@ -560652,8 +560667,8 @@ async function update() {
|
|
|
560652
560667
|
writeToStdout(`Vivus is managed by apk.
|
|
560653
560668
|
`);
|
|
560654
560669
|
const latest = await getLatestVersion(channel);
|
|
560655
|
-
if (latest && !gte("1.1.
|
|
560656
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560670
|
+
if (latest && !gte("1.1.70+ba10466", latest)) {
|
|
560671
|
+
writeToStdout(`Update available: ${"1.1.70+ba10466"} → ${latest}
|
|
560657
560672
|
`);
|
|
560658
560673
|
writeToStdout(`
|
|
560659
560674
|
`);
|
|
@@ -560718,11 +560733,11 @@ async function update() {
|
|
|
560718
560733
|
`);
|
|
560719
560734
|
await gracefulShutdown(1);
|
|
560720
560735
|
}
|
|
560721
|
-
if (result.latestVersion === "1.1.
|
|
560722
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
560736
|
+
if (result.latestVersion === "1.1.70+ba10466") {
|
|
560737
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.70+ba10466"})`) + `
|
|
560723
560738
|
`);
|
|
560724
560739
|
} else {
|
|
560725
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
560740
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.70+ba10466"} to version ${result.latestVersion}`) + `
|
|
560726
560741
|
`);
|
|
560727
560742
|
await regenerateCompletionCache();
|
|
560728
560743
|
}
|
|
@@ -560779,12 +560794,12 @@ async function update() {
|
|
|
560779
560794
|
`);
|
|
560780
560795
|
await gracefulShutdown(1);
|
|
560781
560796
|
}
|
|
560782
|
-
if (latestVersion === "1.1.
|
|
560783
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
560797
|
+
if (latestVersion === "1.1.70+ba10466") {
|
|
560798
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.70+ba10466"})`) + `
|
|
560784
560799
|
`);
|
|
560785
560800
|
await gracefulShutdown(0);
|
|
560786
560801
|
}
|
|
560787
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
560802
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.70+ba10466"})
|
|
560788
560803
|
`);
|
|
560789
560804
|
writeToStdout(`Installing update...
|
|
560790
560805
|
`);
|
|
@@ -560829,7 +560844,7 @@ async function update() {
|
|
|
560829
560844
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
560830
560845
|
switch (status2) {
|
|
560831
560846
|
case "success":
|
|
560832
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
560847
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.70+ba10466"} to version ${latestVersion}`) + `
|
|
560833
560848
|
`);
|
|
560834
560849
|
await regenerateCompletionCache();
|
|
560835
560850
|
break;
|
|
@@ -561803,7 +561818,7 @@ function completeOnboarding() {
|
|
|
561803
561818
|
saveGlobalConfig((current) => ({
|
|
561804
561819
|
...current,
|
|
561805
561820
|
hasCompletedOnboarding: true,
|
|
561806
|
-
lastOnboardingVersion: "1.1.
|
|
561821
|
+
lastOnboardingVersion: "1.1.70+ba10466"
|
|
561807
561822
|
}));
|
|
561808
561823
|
}
|
|
561809
561824
|
function showDialog(root2, renderer) {
|
|
@@ -565939,7 +565954,7 @@ ${customInstructions}` : customInstructions;
|
|
|
565939
565954
|
}
|
|
565940
565955
|
}
|
|
565941
565956
|
logForDiagnosticsNoPII("info", "started", {
|
|
565942
|
-
version: "1.1.
|
|
565957
|
+
version: "1.1.70+ba10466",
|
|
565943
565958
|
is_native_binary: isInBundledMode()
|
|
565944
565959
|
});
|
|
565945
565960
|
registerCleanup(async () => {
|
|
@@ -566737,7 +566752,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
566737
566752
|
pendingHookMessages
|
|
566738
566753
|
}, renderAndRun);
|
|
566739
566754
|
}
|
|
566740
|
-
}).version("1.1.
|
|
566755
|
+
}).version("1.1.70+ba10466 (Vivus)", "-v, --version", "Output the version number");
|
|
566741
566756
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
566742
566757
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
566743
566758
|
if (canUserConfigureAdvisor()) {
|