vivus-agent 1.1.15 → 1.1.17
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 +111 -91
- 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-06-
|
|
3
|
+
// Built from source at 2026-06-19T17:01:24.934Z
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
var __create = Object.create;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -116016,7 +116016,7 @@ var init_auth = __esm(() => {
|
|
|
116016
116016
|
|
|
116017
116017
|
// src/utils/userAgent.ts
|
|
116018
116018
|
function getVivusCodeUserAgent() {
|
|
116019
|
-
return `vivus/${"1.1.
|
|
116019
|
+
return `vivus/${"1.1.17+4bbca57"}`;
|
|
116020
116020
|
}
|
|
116021
116021
|
|
|
116022
116022
|
// src/utils/workloadContext.ts
|
|
@@ -116038,7 +116038,7 @@ function getUserAgent() {
|
|
|
116038
116038
|
const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
|
|
116039
116039
|
const workload = getWorkload();
|
|
116040
116040
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
116041
|
-
return `vivus-cli/${"1.1.
|
|
116041
|
+
return `vivus-cli/${"1.1.17+4bbca57"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
116042
116042
|
}
|
|
116043
116043
|
function getMCPUserAgent() {
|
|
116044
116044
|
const parts = [];
|
|
@@ -116052,7 +116052,7 @@ function getMCPUserAgent() {
|
|
|
116052
116052
|
parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
|
|
116053
116053
|
}
|
|
116054
116054
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
116055
|
-
return `vivus/${"1.1.
|
|
116055
|
+
return `vivus/${"1.1.17+4bbca57"}${suffix}`;
|
|
116056
116056
|
}
|
|
116057
116057
|
function getWebFetchUserAgent() {
|
|
116058
116058
|
return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -116190,7 +116190,7 @@ var init_user = __esm(() => {
|
|
|
116190
116190
|
deviceId,
|
|
116191
116191
|
sessionId: getSessionId(),
|
|
116192
116192
|
email: getEmail(),
|
|
116193
|
-
appVersion: "1.1.
|
|
116193
|
+
appVersion: "1.1.17+4bbca57",
|
|
116194
116194
|
platform: getHostPlatformForAnalytics(),
|
|
116195
116195
|
organizationUuid,
|
|
116196
116196
|
accountUuid,
|
|
@@ -127856,7 +127856,7 @@ var init_metadata = __esm(() => {
|
|
|
127856
127856
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
127857
127857
|
WHITESPACE_REGEX = /\s+/;
|
|
127858
127858
|
getVersionBase = memoize_default(() => {
|
|
127859
|
-
const match = "1.1.
|
|
127859
|
+
const match = "1.1.17+4bbca57".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
127860
127860
|
return match ? match[0] : undefined;
|
|
127861
127861
|
});
|
|
127862
127862
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -127896,9 +127896,9 @@ var init_metadata = __esm(() => {
|
|
|
127896
127896
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
127897
127897
|
isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
|
|
127898
127898
|
isVivusAiAuth: isVivusAISubscriber(),
|
|
127899
|
-
version: "1.1.
|
|
127899
|
+
version: "1.1.17+4bbca57",
|
|
127900
127900
|
versionBase: getVersionBase(),
|
|
127901
|
-
buildTime: "2026-06-
|
|
127901
|
+
buildTime: "2026-06-19T17:01:24.166Z",
|
|
127902
127902
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
127903
127903
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
127904
127904
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -128566,7 +128566,7 @@ function initialize1PEventLogging() {
|
|
|
128566
128566
|
const platform2 = getPlatform();
|
|
128567
128567
|
const attributes = {
|
|
128568
128568
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
|
|
128569
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.
|
|
128569
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.17+4bbca57"
|
|
128570
128570
|
};
|
|
128571
128571
|
if (platform2 === "wsl") {
|
|
128572
128572
|
const wslVersion = getWslVersion();
|
|
@@ -128593,7 +128593,7 @@ function initialize1PEventLogging() {
|
|
|
128593
128593
|
})
|
|
128594
128594
|
]
|
|
128595
128595
|
});
|
|
128596
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
128596
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.17+4bbca57");
|
|
128597
128597
|
}
|
|
128598
128598
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
128599
128599
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -162706,7 +162706,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
162706
162706
|
if (!isAttributionHeaderEnabled()) {
|
|
162707
162707
|
return "";
|
|
162708
162708
|
}
|
|
162709
|
-
const version2 = `${"1.1.
|
|
162709
|
+
const version2 = `${"1.1.17+4bbca57"}.${fingerprint}`;
|
|
162710
162710
|
const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
|
|
162711
162711
|
const cch = "";
|
|
162712
162712
|
const workload = getWorkload();
|
|
@@ -175869,7 +175869,7 @@ function getTelemetryAttributes() {
|
|
|
175869
175869
|
attributes["session.id"] = sessionId;
|
|
175870
175870
|
}
|
|
175871
175871
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
175872
|
-
attributes["app.version"] = "1.1.
|
|
175872
|
+
attributes["app.version"] = "1.1.17+4bbca57";
|
|
175873
175873
|
}
|
|
175874
175874
|
const oauthAccount = getOauthAccountInfo();
|
|
175875
175875
|
if (oauthAccount) {
|
|
@@ -242425,7 +242425,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
242425
242425
|
}
|
|
242426
242426
|
function computeFingerprintFromMessages(messages) {
|
|
242427
242427
|
const firstMessageText = extractFirstMessageText(messages);
|
|
242428
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
242428
|
+
return computeFingerprint(firstMessageText, "1.1.17+4bbca57");
|
|
242429
242429
|
}
|
|
242430
242430
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
242431
242431
|
var init_fingerprint = () => {};
|
|
@@ -242467,7 +242467,7 @@ async function sideQuery(opts) {
|
|
|
242467
242467
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
242468
242468
|
}
|
|
242469
242469
|
const messageText = extractFirstUserMessageText(messages);
|
|
242470
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
242470
|
+
const fingerprint = computeFingerprint(messageText, "1.1.17+4bbca57");
|
|
242471
242471
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
242472
242472
|
const systemBlocks = [
|
|
242473
242473
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -243619,7 +243619,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
243619
243619
|
const client2 = new Client({
|
|
243620
243620
|
name: "vivus",
|
|
243621
243621
|
title: "Vivus",
|
|
243622
|
-
version: "1.1.
|
|
243622
|
+
version: "1.1.17+4bbca57",
|
|
243623
243623
|
description: "Anthropic's agentic coding tool",
|
|
243624
243624
|
websiteUrl: PRODUCT_URL
|
|
243625
243625
|
}, {
|
|
@@ -243973,7 +243973,7 @@ var init_client6 = __esm(() => {
|
|
|
243973
243973
|
const client2 = new Client({
|
|
243974
243974
|
name: "vivus",
|
|
243975
243975
|
title: "Vivus",
|
|
243976
|
-
version: "1.1.
|
|
243976
|
+
version: "1.1.17+4bbca57",
|
|
243977
243977
|
description: "Anthropic's agentic coding tool",
|
|
243978
243978
|
websiteUrl: PRODUCT_URL
|
|
243979
243979
|
}, {
|
|
@@ -246031,7 +246031,7 @@ function getInstallationEnv() {
|
|
|
246031
246031
|
return;
|
|
246032
246032
|
}
|
|
246033
246033
|
function getVivusCodeVersion() {
|
|
246034
|
-
return "1.1.
|
|
246034
|
+
return "1.1.17+4bbca57";
|
|
246035
246035
|
}
|
|
246036
246036
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
246037
246037
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -278526,7 +278526,7 @@ async function initializeBetaTracing(resource) {
|
|
|
278526
278526
|
});
|
|
278527
278527
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
278528
278528
|
setLoggerProvider(loggerProvider);
|
|
278529
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
278529
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.17+4bbca57");
|
|
278530
278530
|
setEventLogger(eventLogger);
|
|
278531
278531
|
process.on("beforeExit", async () => {
|
|
278532
278532
|
await loggerProvider?.forceFlush();
|
|
@@ -278566,7 +278566,7 @@ async function initializeTelemetry() {
|
|
|
278566
278566
|
const platform5 = getPlatform();
|
|
278567
278567
|
const baseAttributes = {
|
|
278568
278568
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
278569
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
278569
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.17+4bbca57"
|
|
278570
278570
|
};
|
|
278571
278571
|
if (platform5 === "wsl") {
|
|
278572
278572
|
const wslVersion = getWslVersion();
|
|
@@ -278611,7 +278611,7 @@ async function initializeTelemetry() {
|
|
|
278611
278611
|
} catch {}
|
|
278612
278612
|
};
|
|
278613
278613
|
registerCleanup(shutdownTelemetry2);
|
|
278614
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.
|
|
278614
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.17+4bbca57");
|
|
278615
278615
|
}
|
|
278616
278616
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
278617
278617
|
resource,
|
|
@@ -278631,7 +278631,7 @@ async function initializeTelemetry() {
|
|
|
278631
278631
|
});
|
|
278632
278632
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
278633
278633
|
setLoggerProvider(loggerProvider);
|
|
278634
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
278634
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.17+4bbca57");
|
|
278635
278635
|
setEventLogger(eventLogger);
|
|
278636
278636
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
278637
278637
|
process.on("beforeExit", async () => {
|
|
@@ -278693,7 +278693,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
278693
278693
|
}
|
|
278694
278694
|
};
|
|
278695
278695
|
registerCleanup(shutdownTelemetry);
|
|
278696
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.
|
|
278696
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.17+4bbca57");
|
|
278697
278697
|
}
|
|
278698
278698
|
async function flushTelemetry() {
|
|
278699
278699
|
const meterProvider = getMeterProvider();
|
|
@@ -279379,9 +279379,9 @@ async function assertMinVersion() {
|
|
|
279379
279379
|
if (false) {}
|
|
279380
279380
|
try {
|
|
279381
279381
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
279382
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
279382
|
+
if (versionConfig.minVersion && lt("1.1.17+4bbca57", versionConfig.minVersion)) {
|
|
279383
279383
|
console.error(`
|
|
279384
|
-
It looks like your version of Vivus (${"1.1.
|
|
279384
|
+
It looks like your version of Vivus (${"1.1.17+4bbca57"}) needs an update.
|
|
279385
279385
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
279386
279386
|
|
|
279387
279387
|
To update, please run:
|
|
@@ -279597,7 +279597,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
279597
279597
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
279598
279598
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
279599
279599
|
pid: process.pid,
|
|
279600
|
-
currentVersion: "1.1.
|
|
279600
|
+
currentVersion: "1.1.17+4bbca57"
|
|
279601
279601
|
});
|
|
279602
279602
|
return "in_progress";
|
|
279603
279603
|
}
|
|
@@ -279606,7 +279606,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
279606
279606
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
279607
279607
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
279608
279608
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
279609
|
-
currentVersion: "1.1.
|
|
279609
|
+
currentVersion: "1.1.17+4bbca57"
|
|
279610
279610
|
});
|
|
279611
279611
|
console.error(`
|
|
279612
279612
|
Error: Windows NPM detected in WSL
|
|
@@ -280139,7 +280139,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
280139
280139
|
}
|
|
280140
280140
|
async function getDoctorDiagnostic() {
|
|
280141
280141
|
const installationType = await getCurrentInstallationType();
|
|
280142
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
280142
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.17+4bbca57" : "unknown";
|
|
280143
280143
|
const installationPath = await getInstallationPath();
|
|
280144
280144
|
const invokedBinary = getInvokedBinary();
|
|
280145
280145
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -281072,8 +281072,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
281072
281072
|
const maxVersion = await getMaxVersion();
|
|
281073
281073
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
281074
281074
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
281075
|
-
if (gte("1.1.
|
|
281076
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
281075
|
+
if (gte("1.1.17+4bbca57", maxVersion)) {
|
|
281076
|
+
logForDebugging(`Native installer: current version ${"1.1.17+4bbca57"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
281077
281077
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
281078
281078
|
latency_ms: Date.now() - startTime,
|
|
281079
281079
|
max_version: maxVersion,
|
|
@@ -281084,7 +281084,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
281084
281084
|
version2 = maxVersion;
|
|
281085
281085
|
}
|
|
281086
281086
|
}
|
|
281087
|
-
if (!forceReinstall && version2 === "1.1.
|
|
281087
|
+
if (!forceReinstall && version2 === "1.1.17+4bbca57" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
281088
281088
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
281089
281089
|
logEvent("tengu_native_update_complete", {
|
|
281090
281090
|
latency_ms: Date.now() - startTime,
|
|
@@ -330828,7 +330828,7 @@ async function analyzeContextUsage(messages, model, getToolPermissionContext, to
|
|
|
330828
330828
|
const skillFrontmatterTokens = skillInfo.skillFrontmatter.reduce((sum, skill) => sum + skill.tokens, 0);
|
|
330829
330829
|
const messageTokens = messageBreakdown.totalTokens;
|
|
330830
330830
|
const isAutoCompact = isAutoCompactEnabled();
|
|
330831
|
-
const autoCompactThreshold = isAutoCompact ?
|
|
330831
|
+
const autoCompactThreshold = isAutoCompact ? getAutoCompactThreshold(model) : undefined;
|
|
330832
330832
|
const cats = [];
|
|
330833
330833
|
if (systemPromptTokens > 0) {
|
|
330834
330834
|
cats.push({
|
|
@@ -332701,7 +332701,6 @@ var init_sessionMemoryCompact = __esm(() => {
|
|
|
332701
332701
|
|
|
332702
332702
|
// src/services/compact/autoCompact.ts
|
|
332703
332703
|
function getEffectiveContextWindowSize(model) {
|
|
332704
|
-
const reservedTokensForSummary = Math.min(getMaxOutputTokensForModel(model), MAX_OUTPUT_TOKENS_FOR_SUMMARY);
|
|
332705
332704
|
let contextWindow = getContextWindowForModel(model, getSdkBetas());
|
|
332706
332705
|
const autoCompactWindow = process.env.VIVUS_CODE_AUTO_COMPACT_WINDOW;
|
|
332707
332706
|
if (autoCompactWindow) {
|
|
@@ -332710,11 +332709,13 @@ function getEffectiveContextWindowSize(model) {
|
|
|
332710
332709
|
contextWindow = Math.min(contextWindow, parsed);
|
|
332711
332710
|
}
|
|
332712
332711
|
}
|
|
332712
|
+
const reservedTokensForSummary = Math.min(getMaxOutputTokensForModel(model), MAX_OUTPUT_TOKENS_FOR_SUMMARY, Math.floor(contextWindow * MAX_SUMMARY_RESERVE_RATIO));
|
|
332713
332713
|
return contextWindow - reservedTokensForSummary;
|
|
332714
332714
|
}
|
|
332715
332715
|
function getAutoCompactThreshold(model) {
|
|
332716
332716
|
const effectiveContextWindow = getEffectiveContextWindowSize(model);
|
|
332717
|
-
const
|
|
332717
|
+
const buffer = Math.min(AUTOCOMPACT_BUFFER_TOKENS, Math.floor(effectiveContextWindow * MAX_AUTOCOMPACT_BUFFER_RATIO));
|
|
332718
|
+
const bufferBasedThreshold = effectiveContextWindow - buffer;
|
|
332718
332719
|
let ratio = DEFAULT_AUTOCOMPACT_RATIO;
|
|
332719
332720
|
const ratioOverride = process.env.VIVUS_AUTOCOMPACT_RATIO;
|
|
332720
332721
|
if (ratioOverride) {
|
|
@@ -332836,7 +332837,7 @@ async function autoCompactIfNeeded(messages, toolUseContext, cacheSafeParams, qu
|
|
|
332836
332837
|
return { wasCompacted: false, consecutiveFailures: nextFailures };
|
|
332837
332838
|
}
|
|
332838
332839
|
}
|
|
332839
|
-
var MAX_OUTPUT_TOKENS_FOR_SUMMARY = 20000, 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;
|
|
332840
|
+
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;
|
|
332840
332841
|
var init_autoCompact = __esm(() => {
|
|
332841
332842
|
init_state();
|
|
332842
332843
|
init_state();
|
|
@@ -336997,7 +336998,7 @@ function getAnthropicEnvMetadata() {
|
|
|
336997
336998
|
function getBuildAgeMinutes() {
|
|
336998
336999
|
if (false)
|
|
336999
337000
|
;
|
|
337000
|
-
const buildTime = new Date("2026-06-
|
|
337001
|
+
const buildTime = new Date("2026-06-19T17:01:24.166Z").getTime();
|
|
337001
337002
|
if (isNaN(buildTime))
|
|
337002
337003
|
return;
|
|
337003
337004
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -384216,7 +384217,7 @@ var init_filesystem = __esm(() => {
|
|
|
384216
384217
|
});
|
|
384217
384218
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
384218
384219
|
const nonce = randomBytes17(16).toString("hex");
|
|
384219
|
-
return join106(getVivusTempDir(), "bundled-skills", "1.1.
|
|
384220
|
+
return join106(getVivusTempDir(), "bundled-skills", "1.1.17+4bbca57", nonce);
|
|
384220
384221
|
});
|
|
384221
384222
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
384222
384223
|
});
|
|
@@ -385976,7 +385977,7 @@ function Feedback({
|
|
|
385976
385977
|
platform: env2.platform,
|
|
385977
385978
|
gitRepo: envInfo.isGit,
|
|
385978
385979
|
terminal: env2.terminal,
|
|
385979
|
-
version: "1.1.
|
|
385980
|
+
version: "1.1.17+4bbca57",
|
|
385980
385981
|
transcript: normalizeMessagesForAPI(messages),
|
|
385981
385982
|
errors: sanitizedErrors,
|
|
385982
385983
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -386168,7 +386169,7 @@ function Feedback({
|
|
|
386168
386169
|
", ",
|
|
386169
386170
|
env2.terminal,
|
|
386170
386171
|
", v",
|
|
386171
|
-
"1.1.
|
|
386172
|
+
"1.1.17+4bbca57"
|
|
386172
386173
|
]
|
|
386173
386174
|
}, undefined, true, undefined, this)
|
|
386174
386175
|
]
|
|
@@ -386274,7 +386275,7 @@ ${sanitizedDescription}
|
|
|
386274
386275
|
` + `**Environment Info**
|
|
386275
386276
|
` + `- Platform: ${env2.platform}
|
|
386276
386277
|
` + `- Terminal: ${env2.terminal}
|
|
386277
|
-
` + `- Version: ${"1.1.
|
|
386278
|
+
` + `- Version: ${"1.1.17+4bbca57"}
|
|
386278
386279
|
` + `- Feedback ID: ${feedbackId}
|
|
386279
386280
|
` + `
|
|
386280
386281
|
**Errors**
|
|
@@ -389406,7 +389407,7 @@ function buildPrimarySection() {
|
|
|
389406
389407
|
}, undefined, false, undefined, this);
|
|
389407
389408
|
return [{
|
|
389408
389409
|
label: "Version",
|
|
389409
|
-
value: "1.1.
|
|
389410
|
+
value: "1.1.17+4bbca57"
|
|
389410
389411
|
}, {
|
|
389411
389412
|
label: "Session name",
|
|
389412
389413
|
value: nameValue
|
|
@@ -393157,7 +393158,7 @@ function Config({
|
|
|
393157
393158
|
}
|
|
393158
393159
|
}, undefined, false, undefined, this)
|
|
393159
393160
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
393160
|
-
currentVersion: "1.1.
|
|
393161
|
+
currentVersion: "1.1.17+4bbca57",
|
|
393161
393162
|
onChoice: (choice) => {
|
|
393162
393163
|
setShowSubmenu(null);
|
|
393163
393164
|
setTabsHidden(false);
|
|
@@ -393169,7 +393170,7 @@ function Config({
|
|
|
393169
393170
|
autoUpdatesChannel: "stable"
|
|
393170
393171
|
};
|
|
393171
393172
|
if (choice === "stay") {
|
|
393172
|
-
newSettings.minimumVersion = "1.1.
|
|
393173
|
+
newSettings.minimumVersion = "1.1.17+4bbca57";
|
|
393173
393174
|
}
|
|
393174
393175
|
updateSettingsForSource("userSettings", newSettings);
|
|
393175
393176
|
setSettingsData((prev_27) => ({
|
|
@@ -401255,7 +401256,7 @@ function HelpV2(t0) {
|
|
|
401255
401256
|
let t6;
|
|
401256
401257
|
if ($2[31] !== tabs) {
|
|
401257
401258
|
t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
|
|
401258
|
-
title: `Vivus v${"1.1.
|
|
401259
|
+
title: `Vivus v${"1.1.17+4bbca57"}`,
|
|
401259
401260
|
color: "professionalBlue",
|
|
401260
401261
|
defaultTab: "general",
|
|
401261
401262
|
children: tabs
|
|
@@ -425481,7 +425482,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
425481
425482
|
return [];
|
|
425482
425483
|
}
|
|
425483
425484
|
}
|
|
425484
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
425485
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.17+4bbca57") {
|
|
425485
425486
|
if (process.env.USER_TYPE === "ant") {
|
|
425486
425487
|
const changelog = "";
|
|
425487
425488
|
if (changelog) {
|
|
@@ -425508,7 +425509,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.15+f4
|
|
|
425508
425509
|
releaseNotes
|
|
425509
425510
|
};
|
|
425510
425511
|
}
|
|
425511
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
425512
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.17+4bbca57") {
|
|
425512
425513
|
if (process.env.USER_TYPE === "ant") {
|
|
425513
425514
|
const changelog = "";
|
|
425514
425515
|
if (changelog) {
|
|
@@ -426678,7 +426679,7 @@ function getRecentActivitySync() {
|
|
|
426678
426679
|
return cachedActivity;
|
|
426679
426680
|
}
|
|
426680
426681
|
function getLogoDisplayData() {
|
|
426681
|
-
const version2 = process.env.DEMO_VERSION ?? "1.1.
|
|
426682
|
+
const version2 = process.env.DEMO_VERSION ?? "1.1.17+4bbca57";
|
|
426682
426683
|
const serverUrl = getDirectConnectServerUrl();
|
|
426683
426684
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
426684
426685
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -428205,7 +428206,7 @@ function LogoV2() {
|
|
|
428205
428206
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
428206
428207
|
t2 = () => {
|
|
428207
428208
|
const currentConfig = getGlobalConfig();
|
|
428208
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
428209
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.17+4bbca57") {
|
|
428209
428210
|
return;
|
|
428210
428211
|
}
|
|
428211
428212
|
saveGlobalConfig(_temp329);
|
|
@@ -428881,12 +428882,12 @@ function LogoV2() {
|
|
|
428881
428882
|
return t41;
|
|
428882
428883
|
}
|
|
428883
428884
|
function _temp329(current) {
|
|
428884
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
428885
|
+
if (current.lastReleaseNotesSeen === "1.1.17+4bbca57") {
|
|
428885
428886
|
return current;
|
|
428886
428887
|
}
|
|
428887
428888
|
return {
|
|
428888
428889
|
...current,
|
|
428889
|
-
lastReleaseNotesSeen: "1.1.
|
|
428890
|
+
lastReleaseNotesSeen: "1.1.17+4bbca57"
|
|
428890
428891
|
};
|
|
428891
428892
|
}
|
|
428892
428893
|
function _temp245(s_0) {
|
|
@@ -455183,7 +455184,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
455183
455184
|
smapsRollup,
|
|
455184
455185
|
platform: process.platform,
|
|
455185
455186
|
nodeVersion: process.version,
|
|
455186
|
-
ccVersion: "1.1.
|
|
455187
|
+
ccVersion: "1.1.17+4bbca57"
|
|
455187
455188
|
};
|
|
455188
455189
|
}
|
|
455189
455190
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -455769,7 +455770,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
455769
455770
|
var call56 = async () => {
|
|
455770
455771
|
return {
|
|
455771
455772
|
type: "text",
|
|
455772
|
-
value: `${"1.1.
|
|
455773
|
+
value: `${"1.1.17+4bbca57"} (built ${"2026-06-19T17:01:24.166Z"})`
|
|
455773
455774
|
};
|
|
455774
455775
|
}, version2, version_default;
|
|
455775
455776
|
var init_version = __esm(() => {
|
|
@@ -464732,7 +464733,7 @@ function generateHtmlReport(data, insights) {
|
|
|
464732
464733
|
</html>`;
|
|
464733
464734
|
}
|
|
464734
464735
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
464735
|
-
const version3 = typeof MACRO !== "undefined" ? "1.1.
|
|
464736
|
+
const version3 = typeof MACRO !== "undefined" ? "1.1.17+4bbca57" : "unknown";
|
|
464736
464737
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
464737
464738
|
const facets_summary = {
|
|
464738
464739
|
total: facets.size,
|
|
@@ -468841,7 +468842,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
468841
468842
|
init_settings2();
|
|
468842
468843
|
init_slowOperations();
|
|
468843
468844
|
init_uuid();
|
|
468844
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
468845
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.17+4bbca57" : "unknown";
|
|
468845
468846
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
468846
468847
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
468847
468848
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -471712,7 +471713,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
471712
471713
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
471713
471714
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
471714
471715
|
betas: getSdkBetas(),
|
|
471715
|
-
vivus_code_version: "1.1.
|
|
471716
|
+
vivus_code_version: "1.1.17+4bbca57",
|
|
471716
471717
|
output_style: outputStyle2,
|
|
471717
471718
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
471718
471719
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -486340,7 +486341,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
486340
486341
|
function getSemverPart(version3) {
|
|
486341
486342
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
486342
486343
|
}
|
|
486343
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
486344
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.17+4bbca57") {
|
|
486344
486345
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
|
|
486345
486346
|
if (!updatedVersion) {
|
|
486346
486347
|
return null;
|
|
@@ -486380,7 +486381,7 @@ function AutoUpdater({
|
|
|
486380
486381
|
return;
|
|
486381
486382
|
}
|
|
486382
486383
|
if (false) {}
|
|
486383
|
-
const currentVersion = "1.1.
|
|
486384
|
+
const currentVersion = "1.1.17+4bbca57";
|
|
486384
486385
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
486385
486386
|
let latestVersion = await getLatestVersion(channel);
|
|
486386
486387
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -486593,12 +486594,12 @@ function NativeAutoUpdater({
|
|
|
486593
486594
|
logEvent("tengu_native_auto_updater_start", {});
|
|
486594
486595
|
try {
|
|
486595
486596
|
const maxVersion = await getMaxVersion();
|
|
486596
|
-
if (maxVersion && gt("1.1.
|
|
486597
|
+
if (maxVersion && gt("1.1.17+4bbca57", maxVersion)) {
|
|
486597
486598
|
const msg = await getMaxVersionMessage();
|
|
486598
486599
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
486599
486600
|
}
|
|
486600
486601
|
const result = await installLatest(channel);
|
|
486601
|
-
const currentVersion = "1.1.
|
|
486602
|
+
const currentVersion = "1.1.17+4bbca57";
|
|
486602
486603
|
const latencyMs = Date.now() - startTime;
|
|
486603
486604
|
if (result.lockFailed) {
|
|
486604
486605
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -486735,17 +486736,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
486735
486736
|
const maxVersion = await getMaxVersion();
|
|
486736
486737
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
486737
486738
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
486738
|
-
if (gte("1.1.
|
|
486739
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
486739
|
+
if (gte("1.1.17+4bbca57", maxVersion)) {
|
|
486740
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.17+4bbca57"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
486740
486741
|
setUpdateAvailable(false);
|
|
486741
486742
|
return;
|
|
486742
486743
|
}
|
|
486743
486744
|
latest = maxVersion;
|
|
486744
486745
|
}
|
|
486745
|
-
const hasUpdate = latest && !gte("1.1.
|
|
486746
|
+
const hasUpdate = latest && !gte("1.1.17+4bbca57", latest) && !shouldSkipVersion(latest);
|
|
486746
486747
|
setUpdateAvailable(!!hasUpdate);
|
|
486747
486748
|
if (hasUpdate) {
|
|
486748
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
486749
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.17+4bbca57"} -> ${latest}`);
|
|
486749
486750
|
}
|
|
486750
486751
|
};
|
|
486751
486752
|
$2[0] = t1;
|
|
@@ -486779,7 +486780,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
486779
486780
|
wrap: "truncate",
|
|
486780
486781
|
children: [
|
|
486781
486782
|
"currentVersion: ",
|
|
486782
|
-
"1.1.
|
|
486783
|
+
"1.1.17+4bbca57"
|
|
486783
486784
|
]
|
|
486784
486785
|
}, undefined, true, undefined, this);
|
|
486785
486786
|
$2[3] = verbose;
|
|
@@ -494947,7 +494948,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
494947
494948
|
project_dir: getOriginalCwd(),
|
|
494948
494949
|
added_dirs: addedDirs
|
|
494949
494950
|
},
|
|
494950
|
-
version: "1.1.
|
|
494951
|
+
version: "1.1.17+4bbca57",
|
|
494951
494952
|
output_style: {
|
|
494952
494953
|
name: outputStyleName
|
|
494953
494954
|
},
|
|
@@ -504985,6 +504986,21 @@ function computeStandaloneAgentContext(agentName, agentColor) {
|
|
|
504985
504986
|
color: agentColor === "default" ? undefined : agentColor
|
|
504986
504987
|
};
|
|
504987
504988
|
}
|
|
504989
|
+
function restoreModelFromTranscript(messages) {
|
|
504990
|
+
if (getMainLoopModelOverride())
|
|
504991
|
+
return;
|
|
504992
|
+
for (let i2 = messages.length - 1;i2 >= 0; i2--) {
|
|
504993
|
+
const msg = messages[i2];
|
|
504994
|
+
if (msg?.type !== "assistant")
|
|
504995
|
+
continue;
|
|
504996
|
+
const model = msg.message?.model;
|
|
504997
|
+
if (typeof model === "string" && model && model !== SYNTHETIC_MODEL) {
|
|
504998
|
+
setMainLoopModelOverride(parseUserSpecifiedModel(model));
|
|
504999
|
+
logForDebugging(`[Resume] Restored model from transcript: ${model}`);
|
|
505000
|
+
return;
|
|
505001
|
+
}
|
|
505002
|
+
}
|
|
505003
|
+
}
|
|
504988
505004
|
function restoreAgentFromSession(agentSetting, currentAgentDefinition, agentDefinitions) {
|
|
504989
505005
|
if (currentAgentDefinition) {
|
|
504990
505006
|
return { agentDefinition: currentAgentDefinition, agentType: undefined };
|
|
@@ -505075,6 +505091,7 @@ async function processResumedConversation(result, opts, context2) {
|
|
|
505075
505091
|
adoptResumedSessionFile();
|
|
505076
505092
|
}
|
|
505077
505093
|
if (false) {}
|
|
505094
|
+
restoreModelFromTranscript(result.messages);
|
|
505078
505095
|
const { agentDefinition: restoredAgent, agentType: resumedAgentType } = restoreAgentFromSession(result.agentSetting, context2.mainThreadAgentDefinition, context2.agentDefinitions);
|
|
505079
505096
|
if (false) {}
|
|
505080
505097
|
const restoredAttribution = opts.includeAttribution ? computeRestoredAttributionState(result) : undefined;
|
|
@@ -506431,7 +506448,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
506431
506448
|
} catch {}
|
|
506432
506449
|
const data = {
|
|
506433
506450
|
trigger,
|
|
506434
|
-
version: "1.1.
|
|
506451
|
+
version: "1.1.17+4bbca57",
|
|
506435
506452
|
platform: process.platform,
|
|
506436
506453
|
transcript,
|
|
506437
506454
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -514687,6 +514704,7 @@ function REPL({
|
|
|
514687
514704
|
if (log.fileHistorySnapshots) {
|
|
514688
514705
|
copyFileHistoryForResume(log);
|
|
514689
514706
|
}
|
|
514707
|
+
restoreModelFromTranscript(messages2);
|
|
514690
514708
|
const {
|
|
514691
514709
|
agentDefinition: restoredAgent
|
|
514692
514710
|
} = restoreAgentFromSession(log.agentSetting, initialMainThreadAgentDefinition, agentDefinitions);
|
|
@@ -517848,7 +517866,7 @@ function WelcomeV2() {
|
|
|
517848
517866
|
dimColor: true,
|
|
517849
517867
|
children: [
|
|
517850
517868
|
"v",
|
|
517851
|
-
"1.1.
|
|
517869
|
+
"1.1.17+4bbca57",
|
|
517852
517870
|
" "
|
|
517853
517871
|
]
|
|
517854
517872
|
}, undefined, true, undefined, this)
|
|
@@ -518048,7 +518066,7 @@ function WelcomeV2() {
|
|
|
518048
518066
|
dimColor: true,
|
|
518049
518067
|
children: [
|
|
518050
518068
|
"v",
|
|
518051
|
-
"1.1.
|
|
518069
|
+
"1.1.17+4bbca57",
|
|
518052
518070
|
" "
|
|
518053
518071
|
]
|
|
518054
518072
|
}, undefined, true, undefined, this)
|
|
@@ -518274,7 +518292,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
518274
518292
|
dimColor: true,
|
|
518275
518293
|
children: [
|
|
518276
518294
|
"v",
|
|
518277
|
-
"1.1.
|
|
518295
|
+
"1.1.17+4bbca57",
|
|
518278
518296
|
" "
|
|
518279
518297
|
]
|
|
518280
518298
|
}, undefined, true, undefined, this);
|
|
@@ -518528,7 +518546,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
518528
518546
|
dimColor: true,
|
|
518529
518547
|
children: [
|
|
518530
518548
|
"v",
|
|
518531
|
-
"1.1.
|
|
518549
|
+
"1.1.17+4bbca57",
|
|
518532
518550
|
" "
|
|
518533
518551
|
]
|
|
518534
518552
|
}, undefined, true, undefined, this);
|
|
@@ -521105,6 +521123,7 @@ function ResumeConversation({
|
|
|
521105
521123
|
} else if (forkSession && result_3.contentReplacements?.length) {
|
|
521106
521124
|
await recordContentReplacement(result_3.contentReplacements);
|
|
521107
521125
|
}
|
|
521126
|
+
restoreModelFromTranscript(result_3.messages);
|
|
521108
521127
|
const {
|
|
521109
521128
|
agentDefinition: resolvedAgentDef
|
|
521110
521129
|
} = restoreAgentFromSession(result_3.agentSetting, mainThreadAgentDefinition, agentDefinitions);
|
|
@@ -521592,7 +521611,7 @@ function appendToLog(path25, message) {
|
|
|
521592
521611
|
cwd: getFsImplementation().cwd(),
|
|
521593
521612
|
userType: process.env.USER_TYPE,
|
|
521594
521613
|
sessionId: getSessionId(),
|
|
521595
|
-
version: "1.1.
|
|
521614
|
+
version: "1.1.17+4bbca57"
|
|
521596
521615
|
};
|
|
521597
521616
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
521598
521617
|
}
|
|
@@ -525577,8 +525596,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
525577
525596
|
}
|
|
525578
525597
|
async function checkEnvLessBridgeMinVersion() {
|
|
525579
525598
|
const cfg = await getEnvLessBridgeConfig();
|
|
525580
|
-
if (cfg.min_version && lt("1.1.
|
|
525581
|
-
return `Your version of Vivus (${"1.1.
|
|
525599
|
+
if (cfg.min_version && lt("1.1.17+4bbca57", cfg.min_version)) {
|
|
525600
|
+
return `Your version of Vivus (${"1.1.17+4bbca57"}) is too old for Remote Control.
|
|
525582
525601
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
525583
525602
|
}
|
|
525584
525603
|
return null;
|
|
@@ -526052,7 +526071,7 @@ async function initBridgeCore(params) {
|
|
|
526052
526071
|
const rawApi = createBridgeApiClient({
|
|
526053
526072
|
baseUrl,
|
|
526054
526073
|
getAccessToken,
|
|
526055
|
-
runnerVersion: "1.1.
|
|
526074
|
+
runnerVersion: "1.1.17+4bbca57",
|
|
526056
526075
|
onDebug: logForDebugging,
|
|
526057
526076
|
onAuth401,
|
|
526058
526077
|
getTrustedDeviceToken
|
|
@@ -528098,6 +528117,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
|
|
|
528098
528117
|
if (hookInitialUserMessage) {
|
|
528099
528118
|
structuredIO.prependUserMessage(hookInitialUserMessage);
|
|
528100
528119
|
}
|
|
528120
|
+
restoreModelFromTranscript(initialMessages);
|
|
528101
528121
|
if (!options2.agent && !getMainThreadAgentType() && resumedAgentSetting) {
|
|
528102
528122
|
const { agentDefinition: restoredAgent } = restoreAgentFromSession(resumedAgentSetting, undefined, { activeAgents: agents2, allAgents: agents2 });
|
|
528103
528123
|
if (restoredAgent) {
|
|
@@ -531716,7 +531736,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
531716
531736
|
setCwd(cwd3);
|
|
531717
531737
|
const server = new Server({
|
|
531718
531738
|
name: "vivus/tengu",
|
|
531719
|
-
version: "1.1.
|
|
531739
|
+
version: "1.1.17+4bbca57"
|
|
531720
531740
|
}, {
|
|
531721
531741
|
capabilities: {
|
|
531722
531742
|
tools: {}
|
|
@@ -533327,7 +533347,7 @@ __export(exports_update, {
|
|
|
533327
533347
|
});
|
|
533328
533348
|
async function update() {
|
|
533329
533349
|
logEvent("tengu_update_check", {});
|
|
533330
|
-
writeToStdout(`Current version: ${"1.1.
|
|
533350
|
+
writeToStdout(`Current version: ${"1.1.17+4bbca57"}
|
|
533331
533351
|
`);
|
|
533332
533352
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
533333
533353
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -533402,8 +533422,8 @@ async function update() {
|
|
|
533402
533422
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
533403
533423
|
`);
|
|
533404
533424
|
const latest = await getLatestVersion(channel);
|
|
533405
|
-
if (latest && !gte("1.1.
|
|
533406
|
-
writeToStdout(`Update available: ${"1.1.
|
|
533425
|
+
if (latest && !gte("1.1.17+4bbca57", latest)) {
|
|
533426
|
+
writeToStdout(`Update available: ${"1.1.17+4bbca57"} → ${latest}
|
|
533407
533427
|
`);
|
|
533408
533428
|
writeToStdout(`
|
|
533409
533429
|
`);
|
|
@@ -533419,8 +533439,8 @@ async function update() {
|
|
|
533419
533439
|
writeToStdout(`Vivus is managed by winget.
|
|
533420
533440
|
`);
|
|
533421
533441
|
const latest = await getLatestVersion(channel);
|
|
533422
|
-
if (latest && !gte("1.1.
|
|
533423
|
-
writeToStdout(`Update available: ${"1.1.
|
|
533442
|
+
if (latest && !gte("1.1.17+4bbca57", latest)) {
|
|
533443
|
+
writeToStdout(`Update available: ${"1.1.17+4bbca57"} → ${latest}
|
|
533424
533444
|
`);
|
|
533425
533445
|
writeToStdout(`
|
|
533426
533446
|
`);
|
|
@@ -533436,8 +533456,8 @@ async function update() {
|
|
|
533436
533456
|
writeToStdout(`Vivus is managed by apk.
|
|
533437
533457
|
`);
|
|
533438
533458
|
const latest = await getLatestVersion(channel);
|
|
533439
|
-
if (latest && !gte("1.1.
|
|
533440
|
-
writeToStdout(`Update available: ${"1.1.
|
|
533459
|
+
if (latest && !gte("1.1.17+4bbca57", latest)) {
|
|
533460
|
+
writeToStdout(`Update available: ${"1.1.17+4bbca57"} → ${latest}
|
|
533441
533461
|
`);
|
|
533442
533462
|
writeToStdout(`
|
|
533443
533463
|
`);
|
|
@@ -533502,11 +533522,11 @@ async function update() {
|
|
|
533502
533522
|
`);
|
|
533503
533523
|
await gracefulShutdown(1);
|
|
533504
533524
|
}
|
|
533505
|
-
if (result.latestVersion === "1.1.
|
|
533506
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
533525
|
+
if (result.latestVersion === "1.1.17+4bbca57") {
|
|
533526
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.17+4bbca57"})`) + `
|
|
533507
533527
|
`);
|
|
533508
533528
|
} else {
|
|
533509
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
533529
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.17+4bbca57"} to version ${result.latestVersion}`) + `
|
|
533510
533530
|
`);
|
|
533511
533531
|
await regenerateCompletionCache();
|
|
533512
533532
|
}
|
|
@@ -533563,12 +533583,12 @@ async function update() {
|
|
|
533563
533583
|
`);
|
|
533564
533584
|
await gracefulShutdown(1);
|
|
533565
533585
|
}
|
|
533566
|
-
if (latestVersion === "1.1.
|
|
533567
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
533586
|
+
if (latestVersion === "1.1.17+4bbca57") {
|
|
533587
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.17+4bbca57"})`) + `
|
|
533568
533588
|
`);
|
|
533569
533589
|
await gracefulShutdown(0);
|
|
533570
533590
|
}
|
|
533571
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
533591
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.17+4bbca57"})
|
|
533572
533592
|
`);
|
|
533573
533593
|
writeToStdout(`Installing update...
|
|
533574
533594
|
`);
|
|
@@ -533613,7 +533633,7 @@ async function update() {
|
|
|
533613
533633
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
533614
533634
|
switch (status2) {
|
|
533615
533635
|
case "success":
|
|
533616
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
533636
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.17+4bbca57"} to version ${latestVersion}`) + `
|
|
533617
533637
|
`);
|
|
533618
533638
|
await regenerateCompletionCache();
|
|
533619
533639
|
break;
|
|
@@ -534587,7 +534607,7 @@ function completeOnboarding() {
|
|
|
534587
534607
|
saveGlobalConfig((current) => ({
|
|
534588
534608
|
...current,
|
|
534589
534609
|
hasCompletedOnboarding: true,
|
|
534590
|
-
lastOnboardingVersion: "1.1.
|
|
534610
|
+
lastOnboardingVersion: "1.1.17+4bbca57"
|
|
534591
534611
|
}));
|
|
534592
534612
|
}
|
|
534593
534613
|
function showDialog(root2, renderer) {
|
|
@@ -538761,7 +538781,7 @@ ${customInstructions}` : customInstructions;
|
|
|
538761
538781
|
}
|
|
538762
538782
|
}
|
|
538763
538783
|
logForDiagnosticsNoPII("info", "started", {
|
|
538764
|
-
version: "1.1.
|
|
538784
|
+
version: "1.1.17+4bbca57",
|
|
538765
538785
|
is_native_binary: isInBundledMode()
|
|
538766
538786
|
});
|
|
538767
538787
|
registerCleanup(async () => {
|
|
@@ -539545,7 +539565,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
539545
539565
|
pendingHookMessages
|
|
539546
539566
|
}, renderAndRun);
|
|
539547
539567
|
}
|
|
539548
|
-
}).version("1.1.
|
|
539568
|
+
}).version("1.1.17+4bbca57 (Vivus)", "-v, --version", "Output the version number");
|
|
539549
539569
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
539550
539570
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
539551
539571
|
if (canUserConfigureAdvisor()) {
|