vivus-agent 1.1.22 → 1.1.24
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 +148 -103
- 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-23T10:06:27.896Z
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
var __create = Object.create;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -108119,7 +108119,7 @@ var init_auth = __esm(() => {
|
|
|
108119
108119
|
|
|
108120
108120
|
// src/utils/userAgent.ts
|
|
108121
108121
|
function getVivusCodeUserAgent() {
|
|
108122
|
-
return `vivus/${"1.1.
|
|
108122
|
+
return `vivus/${"1.1.24+e19bc91"}`;
|
|
108123
108123
|
}
|
|
108124
108124
|
|
|
108125
108125
|
// src/utils/workloadContext.ts
|
|
@@ -108141,7 +108141,7 @@ function getUserAgent() {
|
|
|
108141
108141
|
const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
|
|
108142
108142
|
const workload = getWorkload();
|
|
108143
108143
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
108144
|
-
return `vivus-cli/${"1.1.
|
|
108144
|
+
return `vivus-cli/${"1.1.24+e19bc91"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
108145
108145
|
}
|
|
108146
108146
|
function getMCPUserAgent() {
|
|
108147
108147
|
const parts = [];
|
|
@@ -108155,7 +108155,7 @@ function getMCPUserAgent() {
|
|
|
108155
108155
|
parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
|
|
108156
108156
|
}
|
|
108157
108157
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
108158
|
-
return `vivus/${"1.1.
|
|
108158
|
+
return `vivus/${"1.1.24+e19bc91"}${suffix}`;
|
|
108159
108159
|
}
|
|
108160
108160
|
function getWebFetchUserAgent() {
|
|
108161
108161
|
return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -108293,7 +108293,7 @@ var init_user = __esm(() => {
|
|
|
108293
108293
|
deviceId,
|
|
108294
108294
|
sessionId: getSessionId(),
|
|
108295
108295
|
email: getEmail(),
|
|
108296
|
-
appVersion: "1.1.
|
|
108296
|
+
appVersion: "1.1.24+e19bc91",
|
|
108297
108297
|
platform: getHostPlatformForAnalytics(),
|
|
108298
108298
|
organizationUuid,
|
|
108299
108299
|
accountUuid,
|
|
@@ -119604,7 +119604,7 @@ var init_metadata = __esm(() => {
|
|
|
119604
119604
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
119605
119605
|
WHITESPACE_REGEX = /\s+/;
|
|
119606
119606
|
getVersionBase = memoize_default(() => {
|
|
119607
|
-
const match = "1.1.
|
|
119607
|
+
const match = "1.1.24+e19bc91".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
119608
119608
|
return match ? match[0] : undefined;
|
|
119609
119609
|
});
|
|
119610
119610
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -119644,9 +119644,9 @@ var init_metadata = __esm(() => {
|
|
|
119644
119644
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
119645
119645
|
isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
|
|
119646
119646
|
isVivusAiAuth: isVivusAISubscriber(),
|
|
119647
|
-
version: "1.1.
|
|
119647
|
+
version: "1.1.24+e19bc91",
|
|
119648
119648
|
versionBase: getVersionBase(),
|
|
119649
|
-
buildTime: "2026-06-
|
|
119649
|
+
buildTime: "2026-06-23T10:06:27.275Z",
|
|
119650
119650
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
119651
119651
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
119652
119652
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -120314,7 +120314,7 @@ function initialize1PEventLogging() {
|
|
|
120314
120314
|
const platform2 = getPlatform();
|
|
120315
120315
|
const attributes = {
|
|
120316
120316
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
|
|
120317
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.
|
|
120317
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.24+e19bc91"
|
|
120318
120318
|
};
|
|
120319
120319
|
if (platform2 === "wsl") {
|
|
120320
120320
|
const wslVersion = getWslVersion();
|
|
@@ -120341,7 +120341,7 @@ function initialize1PEventLogging() {
|
|
|
120341
120341
|
})
|
|
120342
120342
|
]
|
|
120343
120343
|
});
|
|
120344
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
120344
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.24+e19bc91");
|
|
120345
120345
|
}
|
|
120346
120346
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
120347
120347
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -162536,7 +162536,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
162536
162536
|
if (!isAttributionHeaderEnabled()) {
|
|
162537
162537
|
return "";
|
|
162538
162538
|
}
|
|
162539
|
-
const version2 = `${"1.1.
|
|
162539
|
+
const version2 = `${"1.1.24+e19bc91"}.${fingerprint}`;
|
|
162540
162540
|
const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
|
|
162541
162541
|
const cch = "";
|
|
162542
162542
|
const workload = getWorkload();
|
|
@@ -175699,7 +175699,7 @@ function getTelemetryAttributes() {
|
|
|
175699
175699
|
attributes["session.id"] = sessionId;
|
|
175700
175700
|
}
|
|
175701
175701
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
175702
|
-
attributes["app.version"] = "1.1.
|
|
175702
|
+
attributes["app.version"] = "1.1.24+e19bc91";
|
|
175703
175703
|
}
|
|
175704
175704
|
const oauthAccount = getOauthAccountInfo();
|
|
175705
175705
|
if (oauthAccount) {
|
|
@@ -242259,7 +242259,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
242259
242259
|
}
|
|
242260
242260
|
function computeFingerprintFromMessages(messages) {
|
|
242261
242261
|
const firstMessageText = extractFirstMessageText(messages);
|
|
242262
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
242262
|
+
return computeFingerprint(firstMessageText, "1.1.24+e19bc91");
|
|
242263
242263
|
}
|
|
242264
242264
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
242265
242265
|
var init_fingerprint = () => {};
|
|
@@ -242301,7 +242301,7 @@ async function sideQuery(opts) {
|
|
|
242301
242301
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
242302
242302
|
}
|
|
242303
242303
|
const messageText = extractFirstUserMessageText(messages);
|
|
242304
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
242304
|
+
const fingerprint = computeFingerprint(messageText, "1.1.24+e19bc91");
|
|
242305
242305
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
242306
242306
|
const systemBlocks = [
|
|
242307
242307
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -243453,7 +243453,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
243453
243453
|
const client2 = new Client({
|
|
243454
243454
|
name: "vivus",
|
|
243455
243455
|
title: "Vivus",
|
|
243456
|
-
version: "1.1.
|
|
243456
|
+
version: "1.1.24+e19bc91",
|
|
243457
243457
|
description: "Anthropic's agentic coding tool",
|
|
243458
243458
|
websiteUrl: PRODUCT_URL
|
|
243459
243459
|
}, {
|
|
@@ -243807,7 +243807,7 @@ var init_client6 = __esm(() => {
|
|
|
243807
243807
|
const client2 = new Client({
|
|
243808
243808
|
name: "vivus",
|
|
243809
243809
|
title: "Vivus",
|
|
243810
|
-
version: "1.1.
|
|
243810
|
+
version: "1.1.24+e19bc91",
|
|
243811
243811
|
description: "Anthropic's agentic coding tool",
|
|
243812
243812
|
websiteUrl: PRODUCT_URL
|
|
243813
243813
|
}, {
|
|
@@ -245865,7 +245865,7 @@ function getInstallationEnv() {
|
|
|
245865
245865
|
return;
|
|
245866
245866
|
}
|
|
245867
245867
|
function getVivusCodeVersion() {
|
|
245868
|
-
return "1.1.
|
|
245868
|
+
return "1.1.24+e19bc91";
|
|
245869
245869
|
}
|
|
245870
245870
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
245871
245871
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -253166,14 +253166,38 @@ var init_registerFrontmatterHooks = __esm(() => {
|
|
|
253166
253166
|
});
|
|
253167
253167
|
|
|
253168
253168
|
// src/utils/model/agent.ts
|
|
253169
|
-
function
|
|
253170
|
-
|
|
253171
|
-
|
|
253172
|
-
|
|
253169
|
+
function isRealModelSpec(model) {
|
|
253170
|
+
if (!model)
|
|
253171
|
+
return false;
|
|
253172
|
+
const m = model.trim().toLowerCase();
|
|
253173
|
+
if (m === "" || m === "inherit")
|
|
253174
|
+
return false;
|
|
253175
|
+
return !BARE_ANTHROPIC_ALIASES.has(m);
|
|
253176
|
+
}
|
|
253177
|
+
function getAgentModelMap() {
|
|
253178
|
+
const map3 = getFeatureValue_CACHED_MAY_BE_STALE("vivus_agent_models", {});
|
|
253179
|
+
return map3 && typeof map3 === "object" && !Array.isArray(map3) ? map3 : {};
|
|
253180
|
+
}
|
|
253181
|
+
function resolveAgentModelForType(agentType, explicitModel) {
|
|
253182
|
+
if (agentType) {
|
|
253183
|
+
const fromPortal = getAgentModelMap()[agentType];
|
|
253184
|
+
if (typeof fromPortal === "string" && fromPortal.trim()) {
|
|
253185
|
+
return fromPortal.trim();
|
|
253186
|
+
}
|
|
253187
|
+
}
|
|
253188
|
+
if (isRealModelSpec(explicitModel)) {
|
|
253189
|
+
return explicitModel.trim();
|
|
253190
|
+
}
|
|
253191
|
+
if (agentType && DEFAULT_AGENT_MODELS[agentType]) {
|
|
253192
|
+
return DEFAULT_AGENT_MODELS[agentType];
|
|
253193
|
+
}
|
|
253194
|
+
const cloud = getFeatureValue_CACHED_MAY_BE_STALE("vivus_cloud_subagent_model", "");
|
|
253195
|
+
if (typeof cloud === "string" && cloud.trim()) {
|
|
253196
|
+
return cloud.trim();
|
|
253173
253197
|
}
|
|
253174
253198
|
return "inherit";
|
|
253175
253199
|
}
|
|
253176
|
-
function getAgentModel(agentModel, parentModel, toolSpecifiedModel, permissionMode) {
|
|
253200
|
+
function getAgentModel(agentModel, parentModel, toolSpecifiedModel, permissionMode, agentType) {
|
|
253177
253201
|
if (process.env.VIVUS_CODE_SUBAGENT_MODEL) {
|
|
253178
253202
|
return parseUserSpecifiedModel(process.env.VIVUS_CODE_SUBAGENT_MODEL);
|
|
253179
253203
|
}
|
|
@@ -253193,7 +253217,7 @@ function getAgentModel(agentModel, parentModel, toolSpecifiedModel, permissionMo
|
|
|
253193
253217
|
const model2 = parseUserSpecifiedModel(toolSpecifiedModel);
|
|
253194
253218
|
return applyParentRegionPrefix(model2, toolSpecifiedModel);
|
|
253195
253219
|
}
|
|
253196
|
-
const agentModelWithExp = agentModel
|
|
253220
|
+
const agentModelWithExp = resolveAgentModelForType(agentType, agentModel);
|
|
253197
253221
|
if (agentModelWithExp === "inherit") {
|
|
253198
253222
|
return getRuntimeMainLoopModel({
|
|
253199
253223
|
permissionMode: permissionMode ?? "default",
|
|
@@ -253251,7 +253275,7 @@ function getAgentModelOptions() {
|
|
|
253251
253275
|
}
|
|
253252
253276
|
];
|
|
253253
253277
|
}
|
|
253254
|
-
var AGENT_MODEL_OPTIONS;
|
|
253278
|
+
var AGENT_MODEL_OPTIONS, DEFAULT_AGENT_MODELS, BARE_ANTHROPIC_ALIASES;
|
|
253255
253279
|
var init_agent = __esm(() => {
|
|
253256
253280
|
init_stringUtils();
|
|
253257
253281
|
init_aliases();
|
|
@@ -253260,6 +253284,26 @@ var init_agent = __esm(() => {
|
|
|
253260
253284
|
init_model();
|
|
253261
253285
|
init_providers();
|
|
253262
253286
|
AGENT_MODEL_OPTIONS = [...MODEL_ALIASES, "inherit"];
|
|
253287
|
+
DEFAULT_AGENT_MODELS = {
|
|
253288
|
+
"general-purpose": "minimax-m3:cloud",
|
|
253289
|
+
Explore: "deepseek-v4-flash:cloud",
|
|
253290
|
+
Plan: "deepseek-v4-pro:cloud",
|
|
253291
|
+
verification: "deepseek-v4-pro:cloud",
|
|
253292
|
+
"vivus-guide": "deepseek-v4-flash:cloud",
|
|
253293
|
+
"statusline-setup": "qwen3-coder-next:cloud",
|
|
253294
|
+
coder: "qwen3-coder-next:cloud",
|
|
253295
|
+
explorer: "deepseek-v4-flash:cloud",
|
|
253296
|
+
reviewer: "kimi-k2.7-code:cloud",
|
|
253297
|
+
writer: "qwen3-coder-next:cloud"
|
|
253298
|
+
};
|
|
253299
|
+
BARE_ANTHROPIC_ALIASES = new Set([
|
|
253300
|
+
"opus",
|
|
253301
|
+
"sonnet",
|
|
253302
|
+
"haiku",
|
|
253303
|
+
"best",
|
|
253304
|
+
"opusplan",
|
|
253305
|
+
"opus[1m]"
|
|
253306
|
+
]);
|
|
253263
253307
|
});
|
|
253264
253308
|
|
|
253265
253309
|
// src/utils/uuid.ts
|
|
@@ -300896,7 +300940,7 @@ async function initializeBetaTracing(resource) {
|
|
|
300896
300940
|
});
|
|
300897
300941
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
300898
300942
|
setLoggerProvider(loggerProvider);
|
|
300899
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
300943
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.24+e19bc91");
|
|
300900
300944
|
setEventLogger(eventLogger);
|
|
300901
300945
|
process.on("beforeExit", async () => {
|
|
300902
300946
|
await loggerProvider?.forceFlush();
|
|
@@ -300936,7 +300980,7 @@ async function initializeTelemetry() {
|
|
|
300936
300980
|
const platform5 = getPlatform();
|
|
300937
300981
|
const baseAttributes = {
|
|
300938
300982
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
300939
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
300983
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.24+e19bc91"
|
|
300940
300984
|
};
|
|
300941
300985
|
if (platform5 === "wsl") {
|
|
300942
300986
|
const wslVersion = getWslVersion();
|
|
@@ -300981,7 +301025,7 @@ async function initializeTelemetry() {
|
|
|
300981
301025
|
} catch {}
|
|
300982
301026
|
};
|
|
300983
301027
|
registerCleanup(shutdownTelemetry2);
|
|
300984
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.
|
|
301028
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.24+e19bc91");
|
|
300985
301029
|
}
|
|
300986
301030
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
300987
301031
|
resource,
|
|
@@ -301001,7 +301045,7 @@ async function initializeTelemetry() {
|
|
|
301001
301045
|
});
|
|
301002
301046
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
301003
301047
|
setLoggerProvider(loggerProvider);
|
|
301004
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
301048
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.24+e19bc91");
|
|
301005
301049
|
setEventLogger(eventLogger);
|
|
301006
301050
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
301007
301051
|
process.on("beforeExit", async () => {
|
|
@@ -301063,7 +301107,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
301063
301107
|
}
|
|
301064
301108
|
};
|
|
301065
301109
|
registerCleanup(shutdownTelemetry);
|
|
301066
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.
|
|
301110
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.24+e19bc91");
|
|
301067
301111
|
}
|
|
301068
301112
|
async function flushTelemetry() {
|
|
301069
301113
|
const meterProvider = getMeterProvider();
|
|
@@ -301749,9 +301793,9 @@ async function assertMinVersion() {
|
|
|
301749
301793
|
if (false) {}
|
|
301750
301794
|
try {
|
|
301751
301795
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
301752
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
301796
|
+
if (versionConfig.minVersion && lt("1.1.24+e19bc91", versionConfig.minVersion)) {
|
|
301753
301797
|
console.error(`
|
|
301754
|
-
It looks like your version of Vivus (${"1.1.
|
|
301798
|
+
It looks like your version of Vivus (${"1.1.24+e19bc91"}) needs an update.
|
|
301755
301799
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
301756
301800
|
|
|
301757
301801
|
To update, please run:
|
|
@@ -301967,7 +302011,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
301967
302011
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
301968
302012
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
301969
302013
|
pid: process.pid,
|
|
301970
|
-
currentVersion: "1.1.
|
|
302014
|
+
currentVersion: "1.1.24+e19bc91"
|
|
301971
302015
|
});
|
|
301972
302016
|
return "in_progress";
|
|
301973
302017
|
}
|
|
@@ -301976,7 +302020,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
301976
302020
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
301977
302021
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
301978
302022
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
301979
|
-
currentVersion: "1.1.
|
|
302023
|
+
currentVersion: "1.1.24+e19bc91"
|
|
301980
302024
|
});
|
|
301981
302025
|
console.error(`
|
|
301982
302026
|
Error: Windows NPM detected in WSL
|
|
@@ -302509,7 +302553,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
302509
302553
|
}
|
|
302510
302554
|
async function getDoctorDiagnostic() {
|
|
302511
302555
|
const installationType = await getCurrentInstallationType();
|
|
302512
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
302556
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.24+e19bc91" : "unknown";
|
|
302513
302557
|
const installationPath = await getInstallationPath();
|
|
302514
302558
|
const invokedBinary = getInvokedBinary();
|
|
302515
302559
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -303442,8 +303486,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
303442
303486
|
const maxVersion = await getMaxVersion();
|
|
303443
303487
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
303444
303488
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
303445
|
-
if (gte("1.1.
|
|
303446
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
303489
|
+
if (gte("1.1.24+e19bc91", maxVersion)) {
|
|
303490
|
+
logForDebugging(`Native installer: current version ${"1.1.24+e19bc91"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
303447
303491
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
303448
303492
|
latency_ms: Date.now() - startTime,
|
|
303449
303493
|
max_version: maxVersion,
|
|
@@ -303454,7 +303498,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
303454
303498
|
version2 = maxVersion;
|
|
303455
303499
|
}
|
|
303456
303500
|
}
|
|
303457
|
-
if (!forceReinstall && version2 === "1.1.
|
|
303501
|
+
if (!forceReinstall && version2 === "1.1.24+e19bc91" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
303458
303502
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
303459
303503
|
logEvent("tengu_native_update_complete", {
|
|
303460
303504
|
latency_ms: Date.now() - startTime,
|
|
@@ -329622,7 +329666,7 @@ async function* runAgent({
|
|
|
329622
329666
|
const appState = toolUseContext.getAppState();
|
|
329623
329667
|
const permissionMode = appState.toolPermissionContext.mode;
|
|
329624
329668
|
const rootSetAppState = toolUseContext.setAppStateForTasks ?? toolUseContext.setAppState;
|
|
329625
|
-
const resolvedAgentModel = getAgentModel(agentDefinition.model, toolUseContext.options.mainLoopModel, model, permissionMode);
|
|
329669
|
+
const resolvedAgentModel = getAgentModel(agentDefinition.model, toolUseContext.options.mainLoopModel, model, permissionMode, agentDefinition.agentType);
|
|
329626
329670
|
const agentId = override?.agentId ? override.agentId : createAgentId();
|
|
329627
329671
|
if (transcriptSubdir) {
|
|
329628
329672
|
setAgentTranscriptSubdir(agentId, transcriptSubdir);
|
|
@@ -359368,7 +359412,7 @@ function getAnthropicEnvMetadata() {
|
|
|
359368
359412
|
function getBuildAgeMinutes() {
|
|
359369
359413
|
if (false)
|
|
359370
359414
|
;
|
|
359371
|
-
const buildTime = new Date("2026-06-
|
|
359415
|
+
const buildTime = new Date("2026-06-23T10:06:27.275Z").getTime();
|
|
359372
359416
|
if (isNaN(buildTime))
|
|
359373
359417
|
return;
|
|
359374
359418
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -366305,7 +366349,7 @@ var init_AgentTool = __esm(() => {
|
|
|
366305
366349
|
if (selectedAgent.color) {
|
|
366306
366350
|
setAgentColor(selectedAgent.agentType, selectedAgent.color);
|
|
366307
366351
|
}
|
|
366308
|
-
const resolvedAgentModel = getAgentModel(selectedAgent.model, toolUseContext.options.mainLoopModel, isForkPath ? undefined : model, permissionMode);
|
|
366352
|
+
const resolvedAgentModel = getAgentModel(selectedAgent.model, toolUseContext.options.mainLoopModel, isForkPath ? undefined : model, permissionMode, selectedAgent.agentType);
|
|
366309
366353
|
logEvent("tengu_agent_tool_selected", {
|
|
366310
366354
|
agent_type: selectedAgent.agentType,
|
|
366311
366355
|
model: resolvedAgentModel,
|
|
@@ -391961,7 +392005,7 @@ async function resumeAgentBackground({
|
|
|
391961
392005
|
throw new Error("Cannot resume fork agent: unable to reconstruct parent system prompt");
|
|
391962
392006
|
}
|
|
391963
392007
|
}
|
|
391964
|
-
const resolvedAgentModel = getAgentModel(selectedAgent.model, toolUseContext.options.mainLoopModel, undefined, permissionMode);
|
|
392008
|
+
const resolvedAgentModel = getAgentModel(selectedAgent.model, toolUseContext.options.mainLoopModel, undefined, permissionMode, selectedAgent.agentType);
|
|
391965
392009
|
const workerPermissionContext = {
|
|
391966
392010
|
...appState.toolPermissionContext,
|
|
391967
392011
|
mode: selectedAgent.permissionMode ?? "acceptEdits"
|
|
@@ -406592,7 +406636,7 @@ var init_filesystem = __esm(() => {
|
|
|
406592
406636
|
});
|
|
406593
406637
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
406594
406638
|
const nonce = randomBytes17(16).toString("hex");
|
|
406595
|
-
return join106(getVivusTempDir(), "bundled-skills", "1.1.
|
|
406639
|
+
return join106(getVivusTempDir(), "bundled-skills", "1.1.24+e19bc91", nonce);
|
|
406596
406640
|
});
|
|
406597
406641
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
406598
406642
|
});
|
|
@@ -408352,7 +408396,7 @@ function Feedback({
|
|
|
408352
408396
|
platform: env3.platform,
|
|
408353
408397
|
gitRepo: envInfo.isGit,
|
|
408354
408398
|
terminal: env3.terminal,
|
|
408355
|
-
version: "1.1.
|
|
408399
|
+
version: "1.1.24+e19bc91",
|
|
408356
408400
|
transcript: normalizeMessagesForAPI(messages),
|
|
408357
408401
|
errors: sanitizedErrors,
|
|
408358
408402
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -408544,7 +408588,7 @@ function Feedback({
|
|
|
408544
408588
|
", ",
|
|
408545
408589
|
env3.terminal,
|
|
408546
408590
|
", v",
|
|
408547
|
-
"1.1.
|
|
408591
|
+
"1.1.24+e19bc91"
|
|
408548
408592
|
]
|
|
408549
408593
|
}, undefined, true, undefined, this)
|
|
408550
408594
|
]
|
|
@@ -408650,7 +408694,7 @@ ${sanitizedDescription}
|
|
|
408650
408694
|
` + `**Environment Info**
|
|
408651
408695
|
` + `- Platform: ${env3.platform}
|
|
408652
408696
|
` + `- Terminal: ${env3.terminal}
|
|
408653
|
-
` + `- Version: ${"1.1.
|
|
408697
|
+
` + `- Version: ${"1.1.24+e19bc91"}
|
|
408654
408698
|
` + `- Feedback ID: ${feedbackId}
|
|
408655
408699
|
` + `
|
|
408656
408700
|
**Errors**
|
|
@@ -411782,7 +411826,7 @@ function buildPrimarySection() {
|
|
|
411782
411826
|
}, undefined, false, undefined, this);
|
|
411783
411827
|
return [{
|
|
411784
411828
|
label: "Version",
|
|
411785
|
-
value: "1.1.
|
|
411829
|
+
value: "1.1.24+e19bc91"
|
|
411786
411830
|
}, {
|
|
411787
411831
|
label: "Session name",
|
|
411788
411832
|
value: nameValue
|
|
@@ -415533,7 +415577,7 @@ function Config({
|
|
|
415533
415577
|
}
|
|
415534
415578
|
}, undefined, false, undefined, this)
|
|
415535
415579
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
415536
|
-
currentVersion: "1.1.
|
|
415580
|
+
currentVersion: "1.1.24+e19bc91",
|
|
415537
415581
|
onChoice: (choice) => {
|
|
415538
415582
|
setShowSubmenu(null);
|
|
415539
415583
|
setTabsHidden(false);
|
|
@@ -415545,7 +415589,7 @@ function Config({
|
|
|
415545
415589
|
autoUpdatesChannel: "stable"
|
|
415546
415590
|
};
|
|
415547
415591
|
if (choice === "stay") {
|
|
415548
|
-
newSettings.minimumVersion = "1.1.
|
|
415592
|
+
newSettings.minimumVersion = "1.1.24+e19bc91";
|
|
415549
415593
|
}
|
|
415550
415594
|
updateSettingsForSource("userSettings", newSettings);
|
|
415551
415595
|
setSettingsData((prev_27) => ({
|
|
@@ -423631,7 +423675,7 @@ function HelpV2(t0) {
|
|
|
423631
423675
|
let t6;
|
|
423632
423676
|
if ($2[31] !== tabs) {
|
|
423633
423677
|
t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
|
|
423634
|
-
title: `Vivus v${"1.1.
|
|
423678
|
+
title: `Vivus v${"1.1.24+e19bc91"}`,
|
|
423635
423679
|
color: "professionalBlue",
|
|
423636
423680
|
defaultTab: "general",
|
|
423637
423681
|
children: tabs
|
|
@@ -447857,7 +447901,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
447857
447901
|
return [];
|
|
447858
447902
|
}
|
|
447859
447903
|
}
|
|
447860
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
447904
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.24+e19bc91") {
|
|
447861
447905
|
if (process.env.USER_TYPE === "ant") {
|
|
447862
447906
|
const changelog = "";
|
|
447863
447907
|
if (changelog) {
|
|
@@ -447884,7 +447928,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.22+17
|
|
|
447884
447928
|
releaseNotes
|
|
447885
447929
|
};
|
|
447886
447930
|
}
|
|
447887
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
447931
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.24+e19bc91") {
|
|
447888
447932
|
if (process.env.USER_TYPE === "ant") {
|
|
447889
447933
|
const changelog = "";
|
|
447890
447934
|
if (changelog) {
|
|
@@ -449054,7 +449098,7 @@ function getRecentActivitySync() {
|
|
|
449054
449098
|
return cachedActivity;
|
|
449055
449099
|
}
|
|
449056
449100
|
function getLogoDisplayData() {
|
|
449057
|
-
const version2 = process.env.DEMO_VERSION ?? "1.1.
|
|
449101
|
+
const version2 = process.env.DEMO_VERSION ?? "1.1.24+e19bc91";
|
|
449058
449102
|
const serverUrl = getDirectConnectServerUrl();
|
|
449059
449103
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
449060
449104
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -450581,7 +450625,7 @@ function LogoV2() {
|
|
|
450581
450625
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
450582
450626
|
t2 = () => {
|
|
450583
450627
|
const currentConfig = getGlobalConfig();
|
|
450584
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
450628
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.24+e19bc91") {
|
|
450585
450629
|
return;
|
|
450586
450630
|
}
|
|
450587
450631
|
saveGlobalConfig(_temp329);
|
|
@@ -451257,12 +451301,12 @@ function LogoV2() {
|
|
|
451257
451301
|
return t41;
|
|
451258
451302
|
}
|
|
451259
451303
|
function _temp329(current) {
|
|
451260
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
451304
|
+
if (current.lastReleaseNotesSeen === "1.1.24+e19bc91") {
|
|
451261
451305
|
return current;
|
|
451262
451306
|
}
|
|
451263
451307
|
return {
|
|
451264
451308
|
...current,
|
|
451265
|
-
lastReleaseNotesSeen: "1.1.
|
|
451309
|
+
lastReleaseNotesSeen: "1.1.24+e19bc91"
|
|
451266
451310
|
};
|
|
451267
451311
|
}
|
|
451268
451312
|
function _temp245(s_0) {
|
|
@@ -471340,10 +471384,10 @@ function resolveAgentOverrides(allAgents, activeAgents) {
|
|
|
471340
471384
|
return resolved;
|
|
471341
471385
|
}
|
|
471342
471386
|
function resolveAgentModelDisplay(agent) {
|
|
471343
|
-
const model = agent.model
|
|
471387
|
+
const model = resolveAgentModelForType(agent.agentType, agent.model);
|
|
471344
471388
|
if (!model)
|
|
471345
471389
|
return;
|
|
471346
|
-
return model
|
|
471390
|
+
return model;
|
|
471347
471391
|
}
|
|
471348
471392
|
function getOverrideSourceLabel(source) {
|
|
471349
471393
|
return getSourceDisplayName(source).toLowerCase();
|
|
@@ -477559,7 +477603,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
477559
477603
|
smapsRollup,
|
|
477560
477604
|
platform: process.platform,
|
|
477561
477605
|
nodeVersion: process.version,
|
|
477562
|
-
ccVersion: "1.1.
|
|
477606
|
+
ccVersion: "1.1.24+e19bc91"
|
|
477563
477607
|
};
|
|
477564
477608
|
}
|
|
477565
477609
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -478145,7 +478189,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
478145
478189
|
var call56 = async () => {
|
|
478146
478190
|
return {
|
|
478147
478191
|
type: "text",
|
|
478148
|
-
value: `${"1.1.
|
|
478192
|
+
value: `${"1.1.24+e19bc91"} (built ${"2026-06-23T10:06:27.275Z"})`
|
|
478149
478193
|
};
|
|
478150
478194
|
}, version2, version_default;
|
|
478151
478195
|
var init_version = __esm(() => {
|
|
@@ -487428,7 +487472,7 @@ function generateHtmlReport(data, insights) {
|
|
|
487428
487472
|
</html>`;
|
|
487429
487473
|
}
|
|
487430
487474
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
487431
|
-
const version3 = typeof MACRO !== "undefined" ? "1.1.
|
|
487475
|
+
const version3 = typeof MACRO !== "undefined" ? "1.1.24+e19bc91" : "unknown";
|
|
487432
487476
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
487433
487477
|
const facets_summary = {
|
|
487434
487478
|
total: facets.size,
|
|
@@ -491539,7 +491583,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
491539
491583
|
init_settings2();
|
|
491540
491584
|
init_slowOperations();
|
|
491541
491585
|
init_uuid();
|
|
491542
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
491586
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.24+e19bc91" : "unknown";
|
|
491543
491587
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
491544
491588
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
491545
491589
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -494410,7 +494454,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
494410
494454
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
494411
494455
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
494412
494456
|
betas: getSdkBetas(),
|
|
494413
|
-
vivus_code_version: "1.1.
|
|
494457
|
+
vivus_code_version: "1.1.24+e19bc91",
|
|
494414
494458
|
output_style: outputStyle2,
|
|
494415
494459
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
494416
494460
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -509038,7 +509082,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
509038
509082
|
function getSemverPart(version3) {
|
|
509039
509083
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
509040
509084
|
}
|
|
509041
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
509085
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.24+e19bc91") {
|
|
509042
509086
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
|
|
509043
509087
|
if (!updatedVersion) {
|
|
509044
509088
|
return null;
|
|
@@ -509078,7 +509122,7 @@ function AutoUpdater({
|
|
|
509078
509122
|
return;
|
|
509079
509123
|
}
|
|
509080
509124
|
if (false) {}
|
|
509081
|
-
const currentVersion = "1.1.
|
|
509125
|
+
const currentVersion = "1.1.24+e19bc91";
|
|
509082
509126
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
509083
509127
|
let latestVersion = await getLatestVersion(channel);
|
|
509084
509128
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -509291,12 +509335,12 @@ function NativeAutoUpdater({
|
|
|
509291
509335
|
logEvent("tengu_native_auto_updater_start", {});
|
|
509292
509336
|
try {
|
|
509293
509337
|
const maxVersion = await getMaxVersion();
|
|
509294
|
-
if (maxVersion && gt("1.1.
|
|
509338
|
+
if (maxVersion && gt("1.1.24+e19bc91", maxVersion)) {
|
|
509295
509339
|
const msg = await getMaxVersionMessage();
|
|
509296
509340
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
509297
509341
|
}
|
|
509298
509342
|
const result = await installLatest(channel);
|
|
509299
|
-
const currentVersion = "1.1.
|
|
509343
|
+
const currentVersion = "1.1.24+e19bc91";
|
|
509300
509344
|
const latencyMs = Date.now() - startTime;
|
|
509301
509345
|
if (result.lockFailed) {
|
|
509302
509346
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -509433,17 +509477,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
509433
509477
|
const maxVersion = await getMaxVersion();
|
|
509434
509478
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
509435
509479
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
509436
|
-
if (gte("1.1.
|
|
509437
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
509480
|
+
if (gte("1.1.24+e19bc91", maxVersion)) {
|
|
509481
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.24+e19bc91"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
509438
509482
|
setUpdateAvailable(false);
|
|
509439
509483
|
return;
|
|
509440
509484
|
}
|
|
509441
509485
|
latest = maxVersion;
|
|
509442
509486
|
}
|
|
509443
|
-
const hasUpdate = latest && !gte("1.1.
|
|
509487
|
+
const hasUpdate = latest && !gte("1.1.24+e19bc91", latest) && !shouldSkipVersion(latest);
|
|
509444
509488
|
setUpdateAvailable(!!hasUpdate);
|
|
509445
509489
|
if (hasUpdate) {
|
|
509446
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
509490
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.24+e19bc91"} -> ${latest}`);
|
|
509447
509491
|
}
|
|
509448
509492
|
};
|
|
509449
509493
|
$2[0] = t1;
|
|
@@ -509477,7 +509521,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
509477
509521
|
wrap: "truncate",
|
|
509478
509522
|
children: [
|
|
509479
509523
|
"currentVersion: ",
|
|
509480
|
-
"1.1.
|
|
509524
|
+
"1.1.24+e19bc91"
|
|
509481
509525
|
]
|
|
509482
509526
|
}, undefined, true, undefined, this);
|
|
509483
509527
|
$2[3] = verbose;
|
|
@@ -517407,7 +517451,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
517407
517451
|
project_dir: getOriginalCwd(),
|
|
517408
517452
|
added_dirs: addedDirs
|
|
517409
517453
|
},
|
|
517410
|
-
version: "1.1.
|
|
517454
|
+
version: "1.1.24+e19bc91",
|
|
517411
517455
|
output_style: {
|
|
517412
517456
|
name: outputStyleName
|
|
517413
517457
|
},
|
|
@@ -528907,7 +528951,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
528907
528951
|
} catch {}
|
|
528908
528952
|
const data = {
|
|
528909
528953
|
trigger,
|
|
528910
|
-
version: "1.1.
|
|
528954
|
+
version: "1.1.24+e19bc91",
|
|
528911
528955
|
platform: process.platform,
|
|
528912
528956
|
transcript,
|
|
528913
528957
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -536703,8 +536747,11 @@ function REPL({
|
|
|
536703
536747
|
pauseStartTimeRef.current = null;
|
|
536704
536748
|
}, []);
|
|
536705
536749
|
const wasQueryActiveRef = React157.useRef(false);
|
|
536706
|
-
|
|
536750
|
+
const lastTimedGenerationRef = React157.useRef(-1);
|
|
536751
|
+
const currentQueryGeneration = queryGuard.generation;
|
|
536752
|
+
if (isQueryActive && (!wasQueryActiveRef.current || currentQueryGeneration !== lastTimedGenerationRef.current)) {
|
|
536707
536753
|
resetTimingRefs();
|
|
536754
|
+
lastTimedGenerationRef.current = currentQueryGeneration;
|
|
536708
536755
|
}
|
|
536709
536756
|
wasQueryActiveRef.current = isQueryActive;
|
|
536710
536757
|
const setIsExternalLoading = React157.useCallback((value) => {
|
|
@@ -537311,9 +537358,7 @@ function REPL({
|
|
|
537311
537358
|
const hasSuppressedDialogs = isPromptInputActive && (sandboxPermissionRequestQueue[0] || toolUseConfirmQueue[0] || promptQueue[0] || workerSandboxPermissions.queue[0] || elicitation.queue[0] || showingCostDialog);
|
|
537312
537359
|
focusedInputDialogRef.current = focusedInputDialog;
|
|
537313
537360
|
import_react318.useEffect(() => {
|
|
537314
|
-
|
|
537315
|
-
return;
|
|
537316
|
-
const isPaused = focusedInputDialog === "tool-permission";
|
|
537361
|
+
const isPaused = isLoading && focusedInputDialog === "tool-permission";
|
|
537317
537362
|
const now2 = Date.now();
|
|
537318
537363
|
if (isPaused && pauseStartTimeRef.current === null) {
|
|
537319
537364
|
pauseStartTimeRef.current = now2;
|
|
@@ -540325,7 +540370,7 @@ function WelcomeV2() {
|
|
|
540325
540370
|
dimColor: true,
|
|
540326
540371
|
children: [
|
|
540327
540372
|
"v",
|
|
540328
|
-
"1.1.
|
|
540373
|
+
"1.1.24+e19bc91",
|
|
540329
540374
|
" "
|
|
540330
540375
|
]
|
|
540331
540376
|
}, undefined, true, undefined, this)
|
|
@@ -540525,7 +540570,7 @@ function WelcomeV2() {
|
|
|
540525
540570
|
dimColor: true,
|
|
540526
540571
|
children: [
|
|
540527
540572
|
"v",
|
|
540528
|
-
"1.1.
|
|
540573
|
+
"1.1.24+e19bc91",
|
|
540529
540574
|
" "
|
|
540530
540575
|
]
|
|
540531
540576
|
}, undefined, true, undefined, this)
|
|
@@ -540751,7 +540796,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
540751
540796
|
dimColor: true,
|
|
540752
540797
|
children: [
|
|
540753
540798
|
"v",
|
|
540754
|
-
"1.1.
|
|
540799
|
+
"1.1.24+e19bc91",
|
|
540755
540800
|
" "
|
|
540756
540801
|
]
|
|
540757
540802
|
}, undefined, true, undefined, this);
|
|
@@ -541005,7 +541050,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
541005
541050
|
dimColor: true,
|
|
541006
541051
|
children: [
|
|
541007
541052
|
"v",
|
|
541008
|
-
"1.1.
|
|
541053
|
+
"1.1.24+e19bc91",
|
|
541009
541054
|
" "
|
|
541010
541055
|
]
|
|
541011
541056
|
}, undefined, true, undefined, this);
|
|
@@ -544070,7 +544115,7 @@ function appendToLog(path25, message) {
|
|
|
544070
544115
|
cwd: getFsImplementation().cwd(),
|
|
544071
544116
|
userType: process.env.USER_TYPE,
|
|
544072
544117
|
sessionId: getSessionId(),
|
|
544073
|
-
version: "1.1.
|
|
544118
|
+
version: "1.1.24+e19bc91"
|
|
544074
544119
|
};
|
|
544075
544120
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
544076
544121
|
}
|
|
@@ -548055,8 +548100,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
548055
548100
|
}
|
|
548056
548101
|
async function checkEnvLessBridgeMinVersion() {
|
|
548057
548102
|
const cfg = await getEnvLessBridgeConfig();
|
|
548058
|
-
if (cfg.min_version && lt("1.1.
|
|
548059
|
-
return `Your version of Vivus (${"1.1.
|
|
548103
|
+
if (cfg.min_version && lt("1.1.24+e19bc91", cfg.min_version)) {
|
|
548104
|
+
return `Your version of Vivus (${"1.1.24+e19bc91"}) is too old for Remote Control.
|
|
548060
548105
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
548061
548106
|
}
|
|
548062
548107
|
return null;
|
|
@@ -548530,7 +548575,7 @@ async function initBridgeCore(params) {
|
|
|
548530
548575
|
const rawApi = createBridgeApiClient({
|
|
548531
548576
|
baseUrl,
|
|
548532
548577
|
getAccessToken,
|
|
548533
|
-
runnerVersion: "1.1.
|
|
548578
|
+
runnerVersion: "1.1.24+e19bc91",
|
|
548534
548579
|
onDebug: logForDebugging,
|
|
548535
548580
|
onAuth401,
|
|
548536
548581
|
getTrustedDeviceToken
|
|
@@ -554195,7 +554240,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
554195
554240
|
setCwd(cwd3);
|
|
554196
554241
|
const server = new Server({
|
|
554197
554242
|
name: "vivus/tengu",
|
|
554198
|
-
version: "1.1.
|
|
554243
|
+
version: "1.1.24+e19bc91"
|
|
554199
554244
|
}, {
|
|
554200
554245
|
capabilities: {
|
|
554201
554246
|
tools: {}
|
|
@@ -555806,7 +555851,7 @@ __export(exports_update, {
|
|
|
555806
555851
|
});
|
|
555807
555852
|
async function update() {
|
|
555808
555853
|
logEvent("tengu_update_check", {});
|
|
555809
|
-
writeToStdout(`Current version: ${"1.1.
|
|
555854
|
+
writeToStdout(`Current version: ${"1.1.24+e19bc91"}
|
|
555810
555855
|
`);
|
|
555811
555856
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
555812
555857
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -555881,8 +555926,8 @@ async function update() {
|
|
|
555881
555926
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
555882
555927
|
`);
|
|
555883
555928
|
const latest = await getLatestVersion(channel);
|
|
555884
|
-
if (latest && !gte("1.1.
|
|
555885
|
-
writeToStdout(`Update available: ${"1.1.
|
|
555929
|
+
if (latest && !gte("1.1.24+e19bc91", latest)) {
|
|
555930
|
+
writeToStdout(`Update available: ${"1.1.24+e19bc91"} → ${latest}
|
|
555886
555931
|
`);
|
|
555887
555932
|
writeToStdout(`
|
|
555888
555933
|
`);
|
|
@@ -555898,8 +555943,8 @@ async function update() {
|
|
|
555898
555943
|
writeToStdout(`Vivus is managed by winget.
|
|
555899
555944
|
`);
|
|
555900
555945
|
const latest = await getLatestVersion(channel);
|
|
555901
|
-
if (latest && !gte("1.1.
|
|
555902
|
-
writeToStdout(`Update available: ${"1.1.
|
|
555946
|
+
if (latest && !gte("1.1.24+e19bc91", latest)) {
|
|
555947
|
+
writeToStdout(`Update available: ${"1.1.24+e19bc91"} → ${latest}
|
|
555903
555948
|
`);
|
|
555904
555949
|
writeToStdout(`
|
|
555905
555950
|
`);
|
|
@@ -555915,8 +555960,8 @@ async function update() {
|
|
|
555915
555960
|
writeToStdout(`Vivus is managed by apk.
|
|
555916
555961
|
`);
|
|
555917
555962
|
const latest = await getLatestVersion(channel);
|
|
555918
|
-
if (latest && !gte("1.1.
|
|
555919
|
-
writeToStdout(`Update available: ${"1.1.
|
|
555963
|
+
if (latest && !gte("1.1.24+e19bc91", latest)) {
|
|
555964
|
+
writeToStdout(`Update available: ${"1.1.24+e19bc91"} → ${latest}
|
|
555920
555965
|
`);
|
|
555921
555966
|
writeToStdout(`
|
|
555922
555967
|
`);
|
|
@@ -555981,11 +556026,11 @@ async function update() {
|
|
|
555981
556026
|
`);
|
|
555982
556027
|
await gracefulShutdown(1);
|
|
555983
556028
|
}
|
|
555984
|
-
if (result.latestVersion === "1.1.
|
|
555985
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
556029
|
+
if (result.latestVersion === "1.1.24+e19bc91") {
|
|
556030
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.24+e19bc91"})`) + `
|
|
555986
556031
|
`);
|
|
555987
556032
|
} else {
|
|
555988
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
556033
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.24+e19bc91"} to version ${result.latestVersion}`) + `
|
|
555989
556034
|
`);
|
|
555990
556035
|
await regenerateCompletionCache();
|
|
555991
556036
|
}
|
|
@@ -556042,12 +556087,12 @@ async function update() {
|
|
|
556042
556087
|
`);
|
|
556043
556088
|
await gracefulShutdown(1);
|
|
556044
556089
|
}
|
|
556045
|
-
if (latestVersion === "1.1.
|
|
556046
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
556090
|
+
if (latestVersion === "1.1.24+e19bc91") {
|
|
556091
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.24+e19bc91"})`) + `
|
|
556047
556092
|
`);
|
|
556048
556093
|
await gracefulShutdown(0);
|
|
556049
556094
|
}
|
|
556050
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
556095
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.24+e19bc91"})
|
|
556051
556096
|
`);
|
|
556052
556097
|
writeToStdout(`Installing update...
|
|
556053
556098
|
`);
|
|
@@ -556092,7 +556137,7 @@ async function update() {
|
|
|
556092
556137
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
556093
556138
|
switch (status2) {
|
|
556094
556139
|
case "success":
|
|
556095
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
556140
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.24+e19bc91"} to version ${latestVersion}`) + `
|
|
556096
556141
|
`);
|
|
556097
556142
|
await regenerateCompletionCache();
|
|
556098
556143
|
break;
|
|
@@ -557066,7 +557111,7 @@ function completeOnboarding() {
|
|
|
557066
557111
|
saveGlobalConfig((current) => ({
|
|
557067
557112
|
...current,
|
|
557068
557113
|
hasCompletedOnboarding: true,
|
|
557069
|
-
lastOnboardingVersion: "1.1.
|
|
557114
|
+
lastOnboardingVersion: "1.1.24+e19bc91"
|
|
557070
557115
|
}));
|
|
557071
557116
|
}
|
|
557072
557117
|
function showDialog(root2, renderer) {
|
|
@@ -561240,7 +561285,7 @@ ${customInstructions}` : customInstructions;
|
|
|
561240
561285
|
}
|
|
561241
561286
|
}
|
|
561242
561287
|
logForDiagnosticsNoPII("info", "started", {
|
|
561243
|
-
version: "1.1.
|
|
561288
|
+
version: "1.1.24+e19bc91",
|
|
561244
561289
|
is_native_binary: isInBundledMode()
|
|
561245
561290
|
});
|
|
561246
561291
|
registerCleanup(async () => {
|
|
@@ -562024,7 +562069,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
562024
562069
|
pendingHookMessages
|
|
562025
562070
|
}, renderAndRun);
|
|
562026
562071
|
}
|
|
562027
|
-
}).version("1.1.
|
|
562072
|
+
}).version("1.1.24+e19bc91 (Vivus)", "-v, --version", "Output the version number");
|
|
562028
562073
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
562029
562074
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
562030
562075
|
if (canUserConfigureAdvisor()) {
|