vivus-agent 1.1.54 → 1.1.55
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 +128 -109
- 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-06T12:
|
|
3
|
+
// Built from source at 2026-10-06T12:56:42.451Z
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
var __create = Object.create;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -108228,7 +108228,7 @@ var init_auth = __esm(() => {
|
|
|
108228
108228
|
|
|
108229
108229
|
// src/utils/userAgent.ts
|
|
108230
108230
|
function getVivusCodeUserAgent() {
|
|
108231
|
-
return `vivus/${"1.1.
|
|
108231
|
+
return `vivus/${"1.1.55+6225988"}`;
|
|
108232
108232
|
}
|
|
108233
108233
|
|
|
108234
108234
|
// src/utils/workloadContext.ts
|
|
@@ -108250,7 +108250,7 @@ function getUserAgent() {
|
|
|
108250
108250
|
const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
|
|
108251
108251
|
const workload = getWorkload();
|
|
108252
108252
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
108253
|
-
return `vivus-cli/${"1.1.
|
|
108253
|
+
return `vivus-cli/${"1.1.55+6225988"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
108254
108254
|
}
|
|
108255
108255
|
function getMCPUserAgent() {
|
|
108256
108256
|
const parts = [];
|
|
@@ -108264,7 +108264,7 @@ function getMCPUserAgent() {
|
|
|
108264
108264
|
parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
|
|
108265
108265
|
}
|
|
108266
108266
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
108267
|
-
return `vivus/${"1.1.
|
|
108267
|
+
return `vivus/${"1.1.55+6225988"}${suffix}`;
|
|
108268
108268
|
}
|
|
108269
108269
|
function getWebFetchUserAgent() {
|
|
108270
108270
|
return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -108402,7 +108402,7 @@ var init_user = __esm(() => {
|
|
|
108402
108402
|
deviceId,
|
|
108403
108403
|
sessionId: getSessionId(),
|
|
108404
108404
|
email: getEmail(),
|
|
108405
|
-
appVersion: "1.1.
|
|
108405
|
+
appVersion: "1.1.55+6225988",
|
|
108406
108406
|
platform: getHostPlatformForAnalytics(),
|
|
108407
108407
|
organizationUuid,
|
|
108408
108408
|
accountUuid,
|
|
@@ -119713,7 +119713,7 @@ var init_metadata = __esm(() => {
|
|
|
119713
119713
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
119714
119714
|
WHITESPACE_REGEX = /\s+/;
|
|
119715
119715
|
getVersionBase = memoize_default(() => {
|
|
119716
|
-
const match = "1.1.
|
|
119716
|
+
const match = "1.1.55+6225988".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
119717
119717
|
return match ? match[0] : undefined;
|
|
119718
119718
|
});
|
|
119719
119719
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -119753,9 +119753,9 @@ var init_metadata = __esm(() => {
|
|
|
119753
119753
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
119754
119754
|
isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
|
|
119755
119755
|
isVivusAiAuth: isVivusAISubscriber(),
|
|
119756
|
-
version: "1.1.
|
|
119756
|
+
version: "1.1.55+6225988",
|
|
119757
119757
|
versionBase: getVersionBase(),
|
|
119758
|
-
buildTime: "2026-10-06T12:
|
|
119758
|
+
buildTime: "2026-10-06T12:56:41.922Z",
|
|
119759
119759
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
119760
119760
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
119761
119761
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -120423,7 +120423,7 @@ function initialize1PEventLogging() {
|
|
|
120423
120423
|
const platform2 = getPlatform();
|
|
120424
120424
|
const attributes = {
|
|
120425
120425
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
|
|
120426
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.
|
|
120426
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.55+6225988"
|
|
120427
120427
|
};
|
|
120428
120428
|
if (platform2 === "wsl") {
|
|
120429
120429
|
const wslVersion = getWslVersion();
|
|
@@ -120450,7 +120450,7 @@ function initialize1PEventLogging() {
|
|
|
120450
120450
|
})
|
|
120451
120451
|
]
|
|
120452
120452
|
});
|
|
120453
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
120453
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.55+6225988");
|
|
120454
120454
|
}
|
|
120455
120455
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
120456
120456
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -162670,7 +162670,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
162670
162670
|
if (!isAttributionHeaderEnabled()) {
|
|
162671
162671
|
return "";
|
|
162672
162672
|
}
|
|
162673
|
-
const version2 = `${"1.1.
|
|
162673
|
+
const version2 = `${"1.1.55+6225988"}.${fingerprint}`;
|
|
162674
162674
|
const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
|
|
162675
162675
|
const cch = "";
|
|
162676
162676
|
const workload = getWorkload();
|
|
@@ -175833,7 +175833,7 @@ function getTelemetryAttributes() {
|
|
|
175833
175833
|
attributes["session.id"] = sessionId;
|
|
175834
175834
|
}
|
|
175835
175835
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
175836
|
-
attributes["app.version"] = "1.1.
|
|
175836
|
+
attributes["app.version"] = "1.1.55+6225988";
|
|
175837
175837
|
}
|
|
175838
175838
|
const oauthAccount = getOauthAccountInfo();
|
|
175839
175839
|
if (oauthAccount) {
|
|
@@ -242452,7 +242452,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
242452
242452
|
}
|
|
242453
242453
|
function computeFingerprintFromMessages(messages) {
|
|
242454
242454
|
const firstMessageText = extractFirstMessageText(messages);
|
|
242455
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
242455
|
+
return computeFingerprint(firstMessageText, "1.1.55+6225988");
|
|
242456
242456
|
}
|
|
242457
242457
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
242458
242458
|
var init_fingerprint = () => {};
|
|
@@ -242494,7 +242494,7 @@ async function sideQuery(opts) {
|
|
|
242494
242494
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
242495
242495
|
}
|
|
242496
242496
|
const messageText = extractFirstUserMessageText(messages);
|
|
242497
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
242497
|
+
const fingerprint = computeFingerprint(messageText, "1.1.55+6225988");
|
|
242498
242498
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
242499
242499
|
const systemBlocks = [
|
|
242500
242500
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -243646,7 +243646,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
243646
243646
|
const client2 = new Client({
|
|
243647
243647
|
name: "vivus",
|
|
243648
243648
|
title: "Vivus",
|
|
243649
|
-
version: "1.1.
|
|
243649
|
+
version: "1.1.55+6225988",
|
|
243650
243650
|
description: "Anthropic's agentic coding tool",
|
|
243651
243651
|
websiteUrl: PRODUCT_URL
|
|
243652
243652
|
}, {
|
|
@@ -244000,7 +244000,7 @@ var init_client6 = __esm(() => {
|
|
|
244000
244000
|
const client2 = new Client({
|
|
244001
244001
|
name: "vivus",
|
|
244002
244002
|
title: "Vivus",
|
|
244003
|
-
version: "1.1.
|
|
244003
|
+
version: "1.1.55+6225988",
|
|
244004
244004
|
description: "Anthropic's agentic coding tool",
|
|
244005
244005
|
websiteUrl: PRODUCT_URL
|
|
244006
244006
|
}, {
|
|
@@ -246061,7 +246061,7 @@ function getInstallationEnv() {
|
|
|
246061
246061
|
return;
|
|
246062
246062
|
}
|
|
246063
246063
|
function getVivusCodeVersion() {
|
|
246064
|
-
return "1.1.
|
|
246064
|
+
return "1.1.55+6225988";
|
|
246065
246065
|
}
|
|
246066
246066
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
246067
246067
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -302148,7 +302148,7 @@ async function initializeBetaTracing(resource) {
|
|
|
302148
302148
|
});
|
|
302149
302149
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
302150
302150
|
setLoggerProvider(loggerProvider);
|
|
302151
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
302151
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.55+6225988");
|
|
302152
302152
|
setEventLogger(eventLogger);
|
|
302153
302153
|
process.on("beforeExit", async () => {
|
|
302154
302154
|
await loggerProvider?.forceFlush();
|
|
@@ -302188,7 +302188,7 @@ async function initializeTelemetry() {
|
|
|
302188
302188
|
const platform5 = getPlatform();
|
|
302189
302189
|
const baseAttributes = {
|
|
302190
302190
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
302191
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
302191
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.55+6225988"
|
|
302192
302192
|
};
|
|
302193
302193
|
if (platform5 === "wsl") {
|
|
302194
302194
|
const wslVersion = getWslVersion();
|
|
@@ -302233,7 +302233,7 @@ async function initializeTelemetry() {
|
|
|
302233
302233
|
} catch {}
|
|
302234
302234
|
};
|
|
302235
302235
|
registerCleanup(shutdownTelemetry2);
|
|
302236
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.
|
|
302236
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.55+6225988");
|
|
302237
302237
|
}
|
|
302238
302238
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
302239
302239
|
resource,
|
|
@@ -302253,7 +302253,7 @@ async function initializeTelemetry() {
|
|
|
302253
302253
|
});
|
|
302254
302254
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
302255
302255
|
setLoggerProvider(loggerProvider);
|
|
302256
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
302256
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.55+6225988");
|
|
302257
302257
|
setEventLogger(eventLogger);
|
|
302258
302258
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
302259
302259
|
process.on("beforeExit", async () => {
|
|
@@ -302315,7 +302315,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
302315
302315
|
}
|
|
302316
302316
|
};
|
|
302317
302317
|
registerCleanup(shutdownTelemetry);
|
|
302318
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.
|
|
302318
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.55+6225988");
|
|
302319
302319
|
}
|
|
302320
302320
|
async function flushTelemetry() {
|
|
302321
302321
|
const meterProvider = getMeterProvider();
|
|
@@ -303001,9 +303001,9 @@ async function assertMinVersion() {
|
|
|
303001
303001
|
if (false) {}
|
|
303002
303002
|
try {
|
|
303003
303003
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
303004
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
303004
|
+
if (versionConfig.minVersion && lt("1.1.55+6225988", versionConfig.minVersion)) {
|
|
303005
303005
|
console.error(`
|
|
303006
|
-
It looks like your version of Vivus (${"1.1.
|
|
303006
|
+
It looks like your version of Vivus (${"1.1.55+6225988"}) needs an update.
|
|
303007
303007
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
303008
303008
|
|
|
303009
303009
|
To update, please run:
|
|
@@ -303219,7 +303219,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
303219
303219
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
303220
303220
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
303221
303221
|
pid: process.pid,
|
|
303222
|
-
currentVersion: "1.1.
|
|
303222
|
+
currentVersion: "1.1.55+6225988"
|
|
303223
303223
|
});
|
|
303224
303224
|
return "in_progress";
|
|
303225
303225
|
}
|
|
@@ -303228,7 +303228,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
303228
303228
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
303229
303229
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
303230
303230
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
303231
|
-
currentVersion: "1.1.
|
|
303231
|
+
currentVersion: "1.1.55+6225988"
|
|
303232
303232
|
});
|
|
303233
303233
|
console.error(`
|
|
303234
303234
|
Error: Windows NPM detected in WSL
|
|
@@ -303761,7 +303761,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
303761
303761
|
}
|
|
303762
303762
|
async function getDoctorDiagnostic() {
|
|
303763
303763
|
const installationType = await getCurrentInstallationType();
|
|
303764
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
303764
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.55+6225988" : "unknown";
|
|
303765
303765
|
const installationPath = await getInstallationPath();
|
|
303766
303766
|
const invokedBinary = getInvokedBinary();
|
|
303767
303767
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -304694,8 +304694,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
304694
304694
|
const maxVersion = await getMaxVersion();
|
|
304695
304695
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
304696
304696
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
304697
|
-
if (gte("1.1.
|
|
304698
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
304697
|
+
if (gte("1.1.55+6225988", maxVersion)) {
|
|
304698
|
+
logForDebugging(`Native installer: current version ${"1.1.55+6225988"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
304699
304699
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
304700
304700
|
latency_ms: Date.now() - startTime,
|
|
304701
304701
|
max_version: maxVersion,
|
|
@@ -304706,7 +304706,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
304706
304706
|
version2 = maxVersion;
|
|
304707
304707
|
}
|
|
304708
304708
|
}
|
|
304709
|
-
if (!forceReinstall && version2 === "1.1.
|
|
304709
|
+
if (!forceReinstall && version2 === "1.1.55+6225988" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
304710
304710
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
304711
304711
|
logEvent("tengu_native_update_complete", {
|
|
304712
304712
|
latency_ms: Date.now() - startTime,
|
|
@@ -328144,24 +328144,28 @@ function UserToolErrorMessage(t0) {
|
|
|
328144
328144
|
return t12;
|
|
328145
328145
|
}
|
|
328146
328146
|
if (typeof param.content === "string" && isClassifierDenial(param.content)) {
|
|
328147
|
-
|
|
328148
|
-
|
|
328149
|
-
|
|
328150
|
-
|
|
328151
|
-
|
|
328152
|
-
|
|
328153
|
-
|
|
328154
|
-
|
|
328155
|
-
|
|
328156
|
-
|
|
328157
|
-
|
|
328158
|
-
|
|
328159
|
-
|
|
328160
|
-
|
|
328161
|
-
|
|
328162
|
-
|
|
328163
|
-
|
|
328164
|
-
|
|
328147
|
+
const reason = extractYoloRejectionReason(param.content);
|
|
328148
|
+
return /* @__PURE__ */ jsx_dev_runtime127.jsxDEV(MessageResponse, {
|
|
328149
|
+
height: 1,
|
|
328150
|
+
children: /* @__PURE__ */ jsx_dev_runtime127.jsxDEV(ThemedText, {
|
|
328151
|
+
dimColor: true,
|
|
328152
|
+
children: [
|
|
328153
|
+
/* @__PURE__ */ jsx_dev_runtime127.jsxDEV(ThemedText, {
|
|
328154
|
+
color: "error",
|
|
328155
|
+
children: "Denied by auto mode classifier"
|
|
328156
|
+
}, undefined, false, undefined, this),
|
|
328157
|
+
reason ? ` · ${reason}` : "",
|
|
328158
|
+
/* @__PURE__ */ jsx_dev_runtime127.jsxDEV(ThemedText, {
|
|
328159
|
+
dimColor: true,
|
|
328160
|
+
children: [
|
|
328161
|
+
" ",
|
|
328162
|
+
BULLET_OPERATOR,
|
|
328163
|
+
" /feedback if incorrect"
|
|
328164
|
+
]
|
|
328165
|
+
}, undefined, true, undefined, this)
|
|
328166
|
+
]
|
|
328167
|
+
}, undefined, true, undefined, this)
|
|
328168
|
+
}, undefined, false, undefined, this);
|
|
328165
328169
|
}
|
|
328166
328170
|
let t1;
|
|
328167
328171
|
if ($2[7] !== isTranscriptMode || $2[8] !== param.content || $2[9] !== progressMessagesForMessage || $2[10] !== tool || $2[11] !== tools || $2[12] !== verbose) {
|
|
@@ -328340,8 +328344,15 @@ function UserToolSuccessMessage({
|
|
|
328340
328344
|
height: 1,
|
|
328341
328345
|
children: /* @__PURE__ */ jsx_dev_runtime129.jsxDEV(ThemedText, {
|
|
328342
328346
|
dimColor: true,
|
|
328343
|
-
children:
|
|
328344
|
-
|
|
328347
|
+
children: [
|
|
328348
|
+
/* @__PURE__ */ jsx_dev_runtime129.jsxDEV(ThemedText, {
|
|
328349
|
+
color: "success",
|
|
328350
|
+
children: figures_default.tick
|
|
328351
|
+
}, undefined, false, undefined, this),
|
|
328352
|
+
" Allowed by auto mode classifier · ",
|
|
328353
|
+
yoloReason
|
|
328354
|
+
]
|
|
328355
|
+
}, undefined, true, undefined, this)
|
|
328345
328356
|
}, undefined, false, undefined, this)
|
|
328346
328357
|
]
|
|
328347
328358
|
}, undefined, true, undefined, this),
|
|
@@ -328359,6 +328370,7 @@ function UserToolSuccessMessage({
|
|
|
328359
328370
|
}
|
|
328360
328371
|
var React38, jsx_dev_runtime129;
|
|
328361
328372
|
var init_UserToolSuccessMessage = __esm(() => {
|
|
328373
|
+
init_figures();
|
|
328362
328374
|
init_SentryErrorBoundary();
|
|
328363
328375
|
init_ink2();
|
|
328364
328376
|
init_AppState();
|
|
@@ -362105,7 +362117,7 @@ function getAnthropicEnvMetadata() {
|
|
|
362105
362117
|
function getBuildAgeMinutes() {
|
|
362106
362118
|
if (false)
|
|
362107
362119
|
;
|
|
362108
|
-
const buildTime = new Date("2026-10-06T12:
|
|
362120
|
+
const buildTime = new Date("2026-10-06T12:56:41.922Z").getTime();
|
|
362109
362121
|
if (isNaN(buildTime))
|
|
362110
362122
|
return;
|
|
362111
362123
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -397215,11 +397227,18 @@ function DONT_ASK_REJECT_MESSAGE(toolName) {
|
|
|
397215
397227
|
function isClassifierDenial(content) {
|
|
397216
397228
|
return content.startsWith(AUTO_MODE_REJECTION_PREFIX);
|
|
397217
397229
|
}
|
|
397230
|
+
function extractYoloRejectionReason(content) {
|
|
397231
|
+
if (!isClassifierDenial(content))
|
|
397232
|
+
return;
|
|
397233
|
+
const rest = content.slice(AUTO_MODE_REJECTION_PREFIX.length);
|
|
397234
|
+
const idx = rest.indexOf(AUTO_MODE_REJECTION_CONTINUE_MARKER);
|
|
397235
|
+
return (idx === -1 ? rest : rest.slice(0, idx)).trim();
|
|
397236
|
+
}
|
|
397218
397237
|
function buildYoloRejectionMessage(reason) {
|
|
397219
397238
|
const prefix = AUTO_MODE_REJECTION_PREFIX;
|
|
397220
397239
|
const ruleHint = `To allow this type of action in the future, the user can add a Bash permission rule to their settings.`;
|
|
397221
397240
|
const retryHint = `If you believe this action is necessary, use ${ASK_USER_QUESTION_TOOL_NAME} to ask the user specifically whether to retry it ` + `(don't bury this in an unrelated question). If they say yes, retry the exact same action — retrying a classifier-denied action ` + `up to a few times (after explicit user confirmation) is the correct way to reach a real permission prompt, unlike blindly retrying ` + `a failed execution.`;
|
|
397222
|
-
return `${prefix}${reason}
|
|
397241
|
+
return `${prefix}${reason}${AUTO_MODE_REJECTION_CONTINUE_MARKER} that don't depend on this action, continue working on those. ` + `${DENIAL_WORKAROUND_GUIDANCE} ` + `${retryHint} ` + ruleHint;
|
|
397223
397242
|
}
|
|
397224
397243
|
function buildClassifierUnavailableMessage(toolName, classifierModel) {
|
|
397225
397244
|
return `${classifierModel} is temporarily unavailable, so auto mode cannot determine the safety of ${toolName} right now. ` + `Wait briefly and then try this action again. ` + `If it keeps failing, continue with other tasks that don't require this action and come back to it later. ` + `Note: reading files, searching code, and other read-only operations do not require the classifier and can still be used.`;
|
|
@@ -400416,7 +400435,7 @@ Note: The user's next message may contain a correction or preference. Pay close
|
|
|
400416
400435
|
`, PLAN_REJECTION_PREFIX = `The agent proposed a plan that was rejected by the user. The user chose to stay in plan mode rather than proceed with implementation.
|
|
400417
400436
|
|
|
400418
400437
|
Rejected plan:
|
|
400419
|
-
`, DENIAL_WORKAROUND_GUIDANCE, NO_RESPONSE_REQUESTED = "No response requested.", SYNTHETIC_TOOL_RESULT_PLACEHOLDER = "[Tool result missing due to internal error]", AUTO_MODE_REJECTION_PREFIX = "Permission for this action has been denied. Reason: ", SYNTHETIC_MODEL = "<synthetic>", SYNTHETIC_MESSAGES, EMPTY_LOOKUPS, EMPTY_STRING_SET, STRIPPED_TAGS_RE, PLAN_PHASE4_CONTROL = `### Phase 4: Final Plan
|
|
400438
|
+
`, DENIAL_WORKAROUND_GUIDANCE, NO_RESPONSE_REQUESTED = "No response requested.", SYNTHETIC_TOOL_RESULT_PLACEHOLDER = "[Tool result missing due to internal error]", AUTO_MODE_REJECTION_PREFIX = "Permission for this action has been denied. Reason: ", AUTO_MODE_REJECTION_CONTINUE_MARKER = ". If you have other tasks", SYNTHETIC_MODEL = "<synthetic>", SYNTHETIC_MESSAGES, EMPTY_LOOKUPS, EMPTY_STRING_SET, STRIPPED_TAGS_RE, PLAN_PHASE4_CONTROL = `### Phase 4: Final Plan
|
|
400420
400439
|
Goal: Write your final plan to the plan file (the only file you can edit).
|
|
400421
400440
|
- Begin with a **Context** section: explain why this change is being made — the problem or need it addresses, what prompted it, and the intended outcome
|
|
400422
400441
|
- Include only your recommended approach, not all alternatives
|
|
@@ -410258,7 +410277,7 @@ var init_filesystem = __esm(() => {
|
|
|
410258
410277
|
});
|
|
410259
410278
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
410260
410279
|
const nonce = randomBytes17(16).toString("hex");
|
|
410261
|
-
return join108(getVivusTempDir(), "bundled-skills", "1.1.
|
|
410280
|
+
return join108(getVivusTempDir(), "bundled-skills", "1.1.55+6225988", nonce);
|
|
410262
410281
|
});
|
|
410263
410282
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
410264
410283
|
});
|
|
@@ -412018,7 +412037,7 @@ function Feedback({
|
|
|
412018
412037
|
platform: env3.platform,
|
|
412019
412038
|
gitRepo: envInfo.isGit,
|
|
412020
412039
|
terminal: env3.terminal,
|
|
412021
|
-
version: "1.1.
|
|
412040
|
+
version: "1.1.55+6225988",
|
|
412022
412041
|
transcript: normalizeMessagesForAPI(messages),
|
|
412023
412042
|
errors: sanitizedErrors,
|
|
412024
412043
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -412210,7 +412229,7 @@ function Feedback({
|
|
|
412210
412229
|
", ",
|
|
412211
412230
|
env3.terminal,
|
|
412212
412231
|
", v",
|
|
412213
|
-
"1.1.
|
|
412232
|
+
"1.1.55+6225988"
|
|
412214
412233
|
]
|
|
412215
412234
|
}, undefined, true, undefined, this)
|
|
412216
412235
|
]
|
|
@@ -412316,7 +412335,7 @@ ${sanitizedDescription}
|
|
|
412316
412335
|
` + `**Environment Info**
|
|
412317
412336
|
` + `- Platform: ${env3.platform}
|
|
412318
412337
|
` + `- Terminal: ${env3.terminal}
|
|
412319
|
-
` + `- Version: ${"1.1.
|
|
412338
|
+
` + `- Version: ${"1.1.55+6225988"}
|
|
412320
412339
|
` + `- Feedback ID: ${feedbackId}
|
|
412321
412340
|
` + `
|
|
412322
412341
|
**Errors**
|
|
@@ -415448,7 +415467,7 @@ function buildPrimarySection() {
|
|
|
415448
415467
|
}, undefined, false, undefined, this);
|
|
415449
415468
|
return [{
|
|
415450
415469
|
label: "Version",
|
|
415451
|
-
value: "1.1.
|
|
415470
|
+
value: "1.1.55+6225988"
|
|
415452
415471
|
}, {
|
|
415453
415472
|
label: "Session name",
|
|
415454
415473
|
value: nameValue
|
|
@@ -419311,7 +419330,7 @@ function Config({
|
|
|
419311
419330
|
}
|
|
419312
419331
|
}, undefined, false, undefined, this)
|
|
419313
419332
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
|
|
419314
|
-
currentVersion: "1.1.
|
|
419333
|
+
currentVersion: "1.1.55+6225988",
|
|
419315
419334
|
onChoice: (choice) => {
|
|
419316
419335
|
setShowSubmenu(null);
|
|
419317
419336
|
setTabsHidden(false);
|
|
@@ -419323,7 +419342,7 @@ function Config({
|
|
|
419323
419342
|
autoUpdatesChannel: "stable"
|
|
419324
419343
|
};
|
|
419325
419344
|
if (choice === "stay") {
|
|
419326
|
-
newSettings.minimumVersion = "1.1.
|
|
419345
|
+
newSettings.minimumVersion = "1.1.55+6225988";
|
|
419327
419346
|
}
|
|
419328
419347
|
updateSettingsForSource("userSettings", newSettings);
|
|
419329
419348
|
setSettingsData((prev_27) => ({
|
|
@@ -427518,7 +427537,7 @@ function HelpV2(t0) {
|
|
|
427518
427537
|
let t6;
|
|
427519
427538
|
if ($2[31] !== tabs) {
|
|
427520
427539
|
t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
|
|
427521
|
-
title: `Vivus v${"1.1.
|
|
427540
|
+
title: `Vivus v${"1.1.55+6225988"}`,
|
|
427522
427541
|
color: "professionalBlue",
|
|
427523
427542
|
defaultTab: "general",
|
|
427524
427543
|
children: tabs
|
|
@@ -451744,7 +451763,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
451744
451763
|
return [];
|
|
451745
451764
|
}
|
|
451746
451765
|
}
|
|
451747
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
451766
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.55+6225988") {
|
|
451748
451767
|
if (process.env.USER_TYPE === "ant") {
|
|
451749
451768
|
const changelog = "";
|
|
451750
451769
|
if (changelog) {
|
|
@@ -451771,7 +451790,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.54+e5
|
|
|
451771
451790
|
releaseNotes
|
|
451772
451791
|
};
|
|
451773
451792
|
}
|
|
451774
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
451793
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.55+6225988") {
|
|
451775
451794
|
if (process.env.USER_TYPE === "ant") {
|
|
451776
451795
|
const changelog = "";
|
|
451777
451796
|
if (changelog) {
|
|
@@ -452941,7 +452960,7 @@ function getRecentActivitySync() {
|
|
|
452941
452960
|
return cachedActivity;
|
|
452942
452961
|
}
|
|
452943
452962
|
function getLogoDisplayData() {
|
|
452944
|
-
const version2 = process.env.DEMO_VERSION ?? "1.1.
|
|
452963
|
+
const version2 = process.env.DEMO_VERSION ?? "1.1.55+6225988";
|
|
452945
452964
|
const serverUrl = getDirectConnectServerUrl();
|
|
452946
452965
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
452947
452966
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -454468,7 +454487,7 @@ function LogoV2() {
|
|
|
454468
454487
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
454469
454488
|
t2 = () => {
|
|
454470
454489
|
const currentConfig = getGlobalConfig();
|
|
454471
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
454490
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.55+6225988") {
|
|
454472
454491
|
return;
|
|
454473
454492
|
}
|
|
454474
454493
|
saveGlobalConfig(_temp329);
|
|
@@ -455144,12 +455163,12 @@ function LogoV2() {
|
|
|
455144
455163
|
return t41;
|
|
455145
455164
|
}
|
|
455146
455165
|
function _temp329(current) {
|
|
455147
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
455166
|
+
if (current.lastReleaseNotesSeen === "1.1.55+6225988") {
|
|
455148
455167
|
return current;
|
|
455149
455168
|
}
|
|
455150
455169
|
return {
|
|
455151
455170
|
...current,
|
|
455152
|
-
lastReleaseNotesSeen: "1.1.
|
|
455171
|
+
lastReleaseNotesSeen: "1.1.55+6225988"
|
|
455153
455172
|
};
|
|
455154
455173
|
}
|
|
455155
455174
|
function _temp245(s_0) {
|
|
@@ -481451,7 +481470,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
481451
481470
|
smapsRollup,
|
|
481452
481471
|
platform: process.platform,
|
|
481453
481472
|
nodeVersion: process.version,
|
|
481454
|
-
ccVersion: "1.1.
|
|
481473
|
+
ccVersion: "1.1.55+6225988"
|
|
481455
481474
|
};
|
|
481456
481475
|
}
|
|
481457
481476
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -482037,7 +482056,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
482037
482056
|
var call56 = async () => {
|
|
482038
482057
|
return {
|
|
482039
482058
|
type: "text",
|
|
482040
|
-
value: `${"1.1.
|
|
482059
|
+
value: `${"1.1.55+6225988"} (built ${"2026-10-06T12:56:41.922Z"})`
|
|
482041
482060
|
};
|
|
482042
482061
|
}, version2, version_default;
|
|
482043
482062
|
var init_version = __esm(() => {
|
|
@@ -491357,7 +491376,7 @@ function generateHtmlReport(data, insights) {
|
|
|
491357
491376
|
</html>`;
|
|
491358
491377
|
}
|
|
491359
491378
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
491360
|
-
const version3 = typeof MACRO !== "undefined" ? "1.1.
|
|
491379
|
+
const version3 = typeof MACRO !== "undefined" ? "1.1.55+6225988" : "unknown";
|
|
491361
491380
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
491362
491381
|
const facets_summary = {
|
|
491363
491382
|
total: facets.size,
|
|
@@ -495469,7 +495488,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
495469
495488
|
init_settings2();
|
|
495470
495489
|
init_slowOperations();
|
|
495471
495490
|
init_uuid();
|
|
495472
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
495491
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.55+6225988" : "unknown";
|
|
495473
495492
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
495474
495493
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
495475
495494
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -498341,7 +498360,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
498341
498360
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
498342
498361
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
498343
498362
|
betas: getSdkBetas(),
|
|
498344
|
-
vivus_code_version: "1.1.
|
|
498363
|
+
vivus_code_version: "1.1.55+6225988",
|
|
498345
498364
|
output_style: outputStyle2,
|
|
498346
498365
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
498347
498366
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -513053,7 +513072,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
513053
513072
|
function getSemverPart(version3) {
|
|
513054
513073
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
513055
513074
|
}
|
|
513056
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
513075
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.55+6225988") {
|
|
513057
513076
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
|
|
513058
513077
|
if (!updatedVersion) {
|
|
513059
513078
|
return null;
|
|
@@ -513093,7 +513112,7 @@ function AutoUpdater({
|
|
|
513093
513112
|
return;
|
|
513094
513113
|
}
|
|
513095
513114
|
if (false) {}
|
|
513096
|
-
const currentVersion = "1.1.
|
|
513115
|
+
const currentVersion = "1.1.55+6225988";
|
|
513097
513116
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
513098
513117
|
let latestVersion = await getLatestVersion(channel);
|
|
513099
513118
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -513306,12 +513325,12 @@ function NativeAutoUpdater({
|
|
|
513306
513325
|
logEvent("tengu_native_auto_updater_start", {});
|
|
513307
513326
|
try {
|
|
513308
513327
|
const maxVersion = await getMaxVersion();
|
|
513309
|
-
if (maxVersion && gt("1.1.
|
|
513328
|
+
if (maxVersion && gt("1.1.55+6225988", maxVersion)) {
|
|
513310
513329
|
const msg = await getMaxVersionMessage();
|
|
513311
513330
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
513312
513331
|
}
|
|
513313
513332
|
const result = await installLatest(channel);
|
|
513314
|
-
const currentVersion = "1.1.
|
|
513333
|
+
const currentVersion = "1.1.55+6225988";
|
|
513315
513334
|
const latencyMs = Date.now() - startTime;
|
|
513316
513335
|
if (result.lockFailed) {
|
|
513317
513336
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -513448,17 +513467,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
513448
513467
|
const maxVersion = await getMaxVersion();
|
|
513449
513468
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
513450
513469
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
513451
|
-
if (gte("1.1.
|
|
513452
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
513470
|
+
if (gte("1.1.55+6225988", maxVersion)) {
|
|
513471
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.55+6225988"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
513453
513472
|
setUpdateAvailable(false);
|
|
513454
513473
|
return;
|
|
513455
513474
|
}
|
|
513456
513475
|
latest = maxVersion;
|
|
513457
513476
|
}
|
|
513458
|
-
const hasUpdate = latest && !gte("1.1.
|
|
513477
|
+
const hasUpdate = latest && !gte("1.1.55+6225988", latest) && !shouldSkipVersion(latest);
|
|
513459
513478
|
setUpdateAvailable(!!hasUpdate);
|
|
513460
513479
|
if (hasUpdate) {
|
|
513461
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
513480
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.55+6225988"} -> ${latest}`);
|
|
513462
513481
|
}
|
|
513463
513482
|
};
|
|
513464
513483
|
$2[0] = t1;
|
|
@@ -513492,7 +513511,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
513492
513511
|
wrap: "truncate",
|
|
513493
513512
|
children: [
|
|
513494
513513
|
"currentVersion: ",
|
|
513495
|
-
"1.1.
|
|
513514
|
+
"1.1.55+6225988"
|
|
513496
513515
|
]
|
|
513497
513516
|
}, undefined, true, undefined, this);
|
|
513498
513517
|
$2[3] = verbose;
|
|
@@ -521676,7 +521695,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
521676
521695
|
project_dir: getOriginalCwd(),
|
|
521677
521696
|
added_dirs: addedDirs
|
|
521678
521697
|
},
|
|
521679
|
-
version: "1.1.
|
|
521698
|
+
version: "1.1.55+6225988",
|
|
521680
521699
|
output_style: {
|
|
521681
521700
|
name: outputStyleName
|
|
521682
521701
|
},
|
|
@@ -533328,7 +533347,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
533328
533347
|
} catch {}
|
|
533329
533348
|
const data = {
|
|
533330
533349
|
trigger,
|
|
533331
|
-
version: "1.1.
|
|
533350
|
+
version: "1.1.55+6225988",
|
|
533332
533351
|
platform: process.platform,
|
|
533333
533352
|
transcript,
|
|
533334
533353
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -544799,7 +544818,7 @@ function WelcomeV2() {
|
|
|
544799
544818
|
dimColor: true,
|
|
544800
544819
|
children: [
|
|
544801
544820
|
"v",
|
|
544802
|
-
"1.1.
|
|
544821
|
+
"1.1.55+6225988",
|
|
544803
544822
|
" "
|
|
544804
544823
|
]
|
|
544805
544824
|
}, undefined, true, undefined, this)
|
|
@@ -544999,7 +545018,7 @@ function WelcomeV2() {
|
|
|
544999
545018
|
dimColor: true,
|
|
545000
545019
|
children: [
|
|
545001
545020
|
"v",
|
|
545002
|
-
"1.1.
|
|
545021
|
+
"1.1.55+6225988",
|
|
545003
545022
|
" "
|
|
545004
545023
|
]
|
|
545005
545024
|
}, undefined, true, undefined, this)
|
|
@@ -545225,7 +545244,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
545225
545244
|
dimColor: true,
|
|
545226
545245
|
children: [
|
|
545227
545246
|
"v",
|
|
545228
|
-
"1.1.
|
|
545247
|
+
"1.1.55+6225988",
|
|
545229
545248
|
" "
|
|
545230
545249
|
]
|
|
545231
545250
|
}, undefined, true, undefined, this);
|
|
@@ -545479,7 +545498,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
545479
545498
|
dimColor: true,
|
|
545480
545499
|
children: [
|
|
545481
545500
|
"v",
|
|
545482
|
-
"1.1.
|
|
545501
|
+
"1.1.55+6225988",
|
|
545483
545502
|
" "
|
|
545484
545503
|
]
|
|
545485
545504
|
}, undefined, true, undefined, this);
|
|
@@ -548552,7 +548571,7 @@ function appendToLog(path25, message) {
|
|
|
548552
548571
|
cwd: getFsImplementation().cwd(),
|
|
548553
548572
|
userType: process.env.USER_TYPE,
|
|
548554
548573
|
sessionId: getSessionId(),
|
|
548555
|
-
version: "1.1.
|
|
548574
|
+
version: "1.1.55+6225988"
|
|
548556
548575
|
};
|
|
548557
548576
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
548558
548577
|
}
|
|
@@ -552547,8 +552566,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
552547
552566
|
}
|
|
552548
552567
|
async function checkEnvLessBridgeMinVersion() {
|
|
552549
552568
|
const cfg = await getEnvLessBridgeConfig();
|
|
552550
|
-
if (cfg.min_version && lt("1.1.
|
|
552551
|
-
return `Your version of Vivus (${"1.1.
|
|
552569
|
+
if (cfg.min_version && lt("1.1.55+6225988", cfg.min_version)) {
|
|
552570
|
+
return `Your version of Vivus (${"1.1.55+6225988"}) is too old for Remote Control.
|
|
552552
552571
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
552553
552572
|
}
|
|
552554
552573
|
return null;
|
|
@@ -553022,7 +553041,7 @@ async function initBridgeCore(params) {
|
|
|
553022
553041
|
const rawApi = createBridgeApiClient({
|
|
553023
553042
|
baseUrl,
|
|
553024
553043
|
getAccessToken,
|
|
553025
|
-
runnerVersion: "1.1.
|
|
553044
|
+
runnerVersion: "1.1.55+6225988",
|
|
553026
553045
|
onDebug: logForDebugging,
|
|
553027
553046
|
onAuth401,
|
|
553028
553047
|
getTrustedDeviceToken
|
|
@@ -558701,7 +558720,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
558701
558720
|
setCwd(cwd3);
|
|
558702
558721
|
const server = new Server({
|
|
558703
558722
|
name: "vivus/tengu",
|
|
558704
|
-
version: "1.1.
|
|
558723
|
+
version: "1.1.55+6225988"
|
|
558705
558724
|
}, {
|
|
558706
558725
|
capabilities: {
|
|
558707
558726
|
tools: {}
|
|
@@ -560434,7 +560453,7 @@ __export(exports_update, {
|
|
|
560434
560453
|
});
|
|
560435
560454
|
async function update() {
|
|
560436
560455
|
logEvent("tengu_update_check", {});
|
|
560437
|
-
writeToStdout(`Current version: ${"1.1.
|
|
560456
|
+
writeToStdout(`Current version: ${"1.1.55+6225988"}
|
|
560438
560457
|
`);
|
|
560439
560458
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
560440
560459
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -560509,8 +560528,8 @@ async function update() {
|
|
|
560509
560528
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
560510
560529
|
`);
|
|
560511
560530
|
const latest = await getLatestVersion(channel);
|
|
560512
|
-
if (latest && !gte("1.1.
|
|
560513
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560531
|
+
if (latest && !gte("1.1.55+6225988", latest)) {
|
|
560532
|
+
writeToStdout(`Update available: ${"1.1.55+6225988"} → ${latest}
|
|
560514
560533
|
`);
|
|
560515
560534
|
writeToStdout(`
|
|
560516
560535
|
`);
|
|
@@ -560526,8 +560545,8 @@ async function update() {
|
|
|
560526
560545
|
writeToStdout(`Vivus is managed by winget.
|
|
560527
560546
|
`);
|
|
560528
560547
|
const latest = await getLatestVersion(channel);
|
|
560529
|
-
if (latest && !gte("1.1.
|
|
560530
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560548
|
+
if (latest && !gte("1.1.55+6225988", latest)) {
|
|
560549
|
+
writeToStdout(`Update available: ${"1.1.55+6225988"} → ${latest}
|
|
560531
560550
|
`);
|
|
560532
560551
|
writeToStdout(`
|
|
560533
560552
|
`);
|
|
@@ -560543,8 +560562,8 @@ async function update() {
|
|
|
560543
560562
|
writeToStdout(`Vivus is managed by apk.
|
|
560544
560563
|
`);
|
|
560545
560564
|
const latest = await getLatestVersion(channel);
|
|
560546
|
-
if (latest && !gte("1.1.
|
|
560547
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560565
|
+
if (latest && !gte("1.1.55+6225988", latest)) {
|
|
560566
|
+
writeToStdout(`Update available: ${"1.1.55+6225988"} → ${latest}
|
|
560548
560567
|
`);
|
|
560549
560568
|
writeToStdout(`
|
|
560550
560569
|
`);
|
|
@@ -560609,11 +560628,11 @@ async function update() {
|
|
|
560609
560628
|
`);
|
|
560610
560629
|
await gracefulShutdown(1);
|
|
560611
560630
|
}
|
|
560612
|
-
if (result.latestVersion === "1.1.
|
|
560613
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
560631
|
+
if (result.latestVersion === "1.1.55+6225988") {
|
|
560632
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.55+6225988"})`) + `
|
|
560614
560633
|
`);
|
|
560615
560634
|
} else {
|
|
560616
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
560635
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.55+6225988"} to version ${result.latestVersion}`) + `
|
|
560617
560636
|
`);
|
|
560618
560637
|
await regenerateCompletionCache();
|
|
560619
560638
|
}
|
|
@@ -560670,12 +560689,12 @@ async function update() {
|
|
|
560670
560689
|
`);
|
|
560671
560690
|
await gracefulShutdown(1);
|
|
560672
560691
|
}
|
|
560673
|
-
if (latestVersion === "1.1.
|
|
560674
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
560692
|
+
if (latestVersion === "1.1.55+6225988") {
|
|
560693
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.55+6225988"})`) + `
|
|
560675
560694
|
`);
|
|
560676
560695
|
await gracefulShutdown(0);
|
|
560677
560696
|
}
|
|
560678
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
560697
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.55+6225988"})
|
|
560679
560698
|
`);
|
|
560680
560699
|
writeToStdout(`Installing update...
|
|
560681
560700
|
`);
|
|
@@ -560720,7 +560739,7 @@ async function update() {
|
|
|
560720
560739
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
560721
560740
|
switch (status2) {
|
|
560722
560741
|
case "success":
|
|
560723
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
560742
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.55+6225988"} to version ${latestVersion}`) + `
|
|
560724
560743
|
`);
|
|
560725
560744
|
await regenerateCompletionCache();
|
|
560726
560745
|
break;
|
|
@@ -561694,7 +561713,7 @@ function completeOnboarding() {
|
|
|
561694
561713
|
saveGlobalConfig((current) => ({
|
|
561695
561714
|
...current,
|
|
561696
561715
|
hasCompletedOnboarding: true,
|
|
561697
|
-
lastOnboardingVersion: "1.1.
|
|
561716
|
+
lastOnboardingVersion: "1.1.55+6225988"
|
|
561698
561717
|
}));
|
|
561699
561718
|
}
|
|
561700
561719
|
function showDialog(root2, renderer) {
|
|
@@ -565830,7 +565849,7 @@ ${customInstructions}` : customInstructions;
|
|
|
565830
565849
|
}
|
|
565831
565850
|
}
|
|
565832
565851
|
logForDiagnosticsNoPII("info", "started", {
|
|
565833
|
-
version: "1.1.
|
|
565852
|
+
version: "1.1.55+6225988",
|
|
565834
565853
|
is_native_binary: isInBundledMode()
|
|
565835
565854
|
});
|
|
565836
565855
|
registerCleanup(async () => {
|
|
@@ -566628,7 +566647,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
566628
566647
|
pendingHookMessages
|
|
566629
566648
|
}, renderAndRun);
|
|
566630
566649
|
}
|
|
566631
|
-
}).version("1.1.
|
|
566650
|
+
}).version("1.1.55+6225988 (Vivus)", "-v, --version", "Output the version number");
|
|
566632
566651
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
566633
566652
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
566634
566653
|
if (canUserConfigureAdvisor()) {
|