vivus-agent 1.1.57 → 1.1.59
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 +102 -93
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env -S node --max-old-space-size=8192 --expose-gc
|
|
2
2
|
// Vivus CLI — local AI coding agent
|
|
3
|
-
// Built from source at 2026-10-
|
|
3
|
+
// Built from source at 2026-10-09T05:11:11.143Z
|
|
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.59+9b0ffe6"}`;
|
|
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.59+9b0ffe6"} (${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.59+9b0ffe6"}${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.59+9b0ffe6",
|
|
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.59+9b0ffe6".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.59+9b0ffe6",
|
|
119757
119757
|
versionBase: getVersionBase(),
|
|
119758
|
-
buildTime: "2026-10-
|
|
119758
|
+
buildTime: "2026-10-09T05:11:10.460Z",
|
|
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.59+9b0ffe6"
|
|
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.59+9b0ffe6");
|
|
120454
120454
|
}
|
|
120455
120455
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
120456
120456
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -122258,13 +122258,17 @@ var init_strip_ansi = __esm(() => {
|
|
|
122258
122258
|
// src/ink/stringWidth.ts
|
|
122259
122259
|
function readAmbiguousWidthEnv() {
|
|
122260
122260
|
const v = process.env.VIVUS_CODE_AMBIGUOUS_WIDTH?.toLowerCase().trim();
|
|
122261
|
-
if (v === undefined || v === "")
|
|
122262
|
-
return { wide:
|
|
122261
|
+
if (v === undefined || v === "") {
|
|
122262
|
+
return { wide: process.platform === "win32", locked: false };
|
|
122263
|
+
}
|
|
122263
122264
|
if (["wide", "2", "double", "true", "on", "yes"].includes(v)) {
|
|
122264
122265
|
return { wide: true, locked: true };
|
|
122265
122266
|
}
|
|
122266
122267
|
return { wide: false, locked: true };
|
|
122267
122268
|
}
|
|
122269
|
+
function getAmbiguousIsWide() {
|
|
122270
|
+
return ambiguousIsWide;
|
|
122271
|
+
}
|
|
122268
122272
|
function isAmbiguousWidthLocked() {
|
|
122269
122273
|
return ambiguousWidthLocked;
|
|
122270
122274
|
}
|
|
@@ -150710,6 +150714,9 @@ var init_osc = __esm(() => {
|
|
|
150710
150714
|
});
|
|
150711
150715
|
|
|
150712
150716
|
// src/ink/terminal.ts
|
|
150717
|
+
function shouldAvoidContinuousRecolor() {
|
|
150718
|
+
return process.env.TERM_PROGRAM === "Hyper";
|
|
150719
|
+
}
|
|
150713
150720
|
function isProgressReportingAvailable() {
|
|
150714
150721
|
if (!process.stdout.isTTY) {
|
|
150715
150722
|
return false;
|
|
@@ -152265,7 +152272,7 @@ Read about how to prevent this error on https://github.com/vadimdemedes/ink/#isr
|
|
|
152265
152272
|
stdout.write("\x1B8\r\x1B[K");
|
|
152266
152273
|
const [pos] = await Promise.all([posPromise, flushPromise]);
|
|
152267
152274
|
if (!pos) {
|
|
152268
|
-
logForDebugging(
|
|
152275
|
+
logForDebugging(`[ambiguous-width] no DECXCPR reply — keeping ${getAmbiguousIsWide() ? "wide" : "narrow"} default`);
|
|
152269
152276
|
return;
|
|
152270
152277
|
}
|
|
152271
152278
|
const wide = pos.col >= 3;
|
|
@@ -162670,7 +162677,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
162670
162677
|
if (!isAttributionHeaderEnabled()) {
|
|
162671
162678
|
return "";
|
|
162672
162679
|
}
|
|
162673
|
-
const version2 = `${"1.1.
|
|
162680
|
+
const version2 = `${"1.1.59+9b0ffe6"}.${fingerprint}`;
|
|
162674
162681
|
const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
|
|
162675
162682
|
const cch = "";
|
|
162676
162683
|
const workload = getWorkload();
|
|
@@ -175833,7 +175840,7 @@ function getTelemetryAttributes() {
|
|
|
175833
175840
|
attributes["session.id"] = sessionId;
|
|
175834
175841
|
}
|
|
175835
175842
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
175836
|
-
attributes["app.version"] = "1.1.
|
|
175843
|
+
attributes["app.version"] = "1.1.59+9b0ffe6";
|
|
175837
175844
|
}
|
|
175838
175845
|
const oauthAccount = getOauthAccountInfo();
|
|
175839
175846
|
if (oauthAccount) {
|
|
@@ -242452,7 +242459,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
242452
242459
|
}
|
|
242453
242460
|
function computeFingerprintFromMessages(messages) {
|
|
242454
242461
|
const firstMessageText = extractFirstMessageText(messages);
|
|
242455
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
242462
|
+
return computeFingerprint(firstMessageText, "1.1.59+9b0ffe6");
|
|
242456
242463
|
}
|
|
242457
242464
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
242458
242465
|
var init_fingerprint = () => {};
|
|
@@ -242494,7 +242501,7 @@ async function sideQuery(opts) {
|
|
|
242494
242501
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
242495
242502
|
}
|
|
242496
242503
|
const messageText = extractFirstUserMessageText(messages);
|
|
242497
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
242504
|
+
const fingerprint = computeFingerprint(messageText, "1.1.59+9b0ffe6");
|
|
242498
242505
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
242499
242506
|
const systemBlocks = [
|
|
242500
242507
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -243646,7 +243653,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
243646
243653
|
const client2 = new Client({
|
|
243647
243654
|
name: "vivus",
|
|
243648
243655
|
title: "Vivus",
|
|
243649
|
-
version: "1.1.
|
|
243656
|
+
version: "1.1.59+9b0ffe6",
|
|
243650
243657
|
description: "Anthropic's agentic coding tool",
|
|
243651
243658
|
websiteUrl: PRODUCT_URL
|
|
243652
243659
|
}, {
|
|
@@ -244000,7 +244007,7 @@ var init_client6 = __esm(() => {
|
|
|
244000
244007
|
const client2 = new Client({
|
|
244001
244008
|
name: "vivus",
|
|
244002
244009
|
title: "Vivus",
|
|
244003
|
-
version: "1.1.
|
|
244010
|
+
version: "1.1.59+9b0ffe6",
|
|
244004
244011
|
description: "Anthropic's agentic coding tool",
|
|
244005
244012
|
websiteUrl: PRODUCT_URL
|
|
244006
244013
|
}, {
|
|
@@ -246061,7 +246068,7 @@ function getInstallationEnv() {
|
|
|
246061
246068
|
return;
|
|
246062
246069
|
}
|
|
246063
246070
|
function getVivusCodeVersion() {
|
|
246064
|
-
return "1.1.
|
|
246071
|
+
return "1.1.59+9b0ffe6";
|
|
246065
246072
|
}
|
|
246066
246073
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
246067
246074
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -302148,7 +302155,7 @@ async function initializeBetaTracing(resource) {
|
|
|
302148
302155
|
});
|
|
302149
302156
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
302150
302157
|
setLoggerProvider(loggerProvider);
|
|
302151
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
302158
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.59+9b0ffe6");
|
|
302152
302159
|
setEventLogger(eventLogger);
|
|
302153
302160
|
process.on("beforeExit", async () => {
|
|
302154
302161
|
await loggerProvider?.forceFlush();
|
|
@@ -302188,7 +302195,7 @@ async function initializeTelemetry() {
|
|
|
302188
302195
|
const platform5 = getPlatform();
|
|
302189
302196
|
const baseAttributes = {
|
|
302190
302197
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
302191
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
302198
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.59+9b0ffe6"
|
|
302192
302199
|
};
|
|
302193
302200
|
if (platform5 === "wsl") {
|
|
302194
302201
|
const wslVersion = getWslVersion();
|
|
@@ -302233,7 +302240,7 @@ async function initializeTelemetry() {
|
|
|
302233
302240
|
} catch {}
|
|
302234
302241
|
};
|
|
302235
302242
|
registerCleanup(shutdownTelemetry2);
|
|
302236
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.
|
|
302243
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.59+9b0ffe6");
|
|
302237
302244
|
}
|
|
302238
302245
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
302239
302246
|
resource,
|
|
@@ -302253,7 +302260,7 @@ async function initializeTelemetry() {
|
|
|
302253
302260
|
});
|
|
302254
302261
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
302255
302262
|
setLoggerProvider(loggerProvider);
|
|
302256
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
302263
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.59+9b0ffe6");
|
|
302257
302264
|
setEventLogger(eventLogger);
|
|
302258
302265
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
302259
302266
|
process.on("beforeExit", async () => {
|
|
@@ -302315,7 +302322,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
302315
302322
|
}
|
|
302316
302323
|
};
|
|
302317
302324
|
registerCleanup(shutdownTelemetry);
|
|
302318
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.
|
|
302325
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.59+9b0ffe6");
|
|
302319
302326
|
}
|
|
302320
302327
|
async function flushTelemetry() {
|
|
302321
302328
|
const meterProvider = getMeterProvider();
|
|
@@ -303001,9 +303008,9 @@ async function assertMinVersion() {
|
|
|
303001
303008
|
if (false) {}
|
|
303002
303009
|
try {
|
|
303003
303010
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
303004
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
303011
|
+
if (versionConfig.minVersion && lt("1.1.59+9b0ffe6", versionConfig.minVersion)) {
|
|
303005
303012
|
console.error(`
|
|
303006
|
-
It looks like your version of Vivus (${"1.1.
|
|
303013
|
+
It looks like your version of Vivus (${"1.1.59+9b0ffe6"}) needs an update.
|
|
303007
303014
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
303008
303015
|
|
|
303009
303016
|
To update, please run:
|
|
@@ -303219,7 +303226,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
303219
303226
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
303220
303227
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
303221
303228
|
pid: process.pid,
|
|
303222
|
-
currentVersion: "1.1.
|
|
303229
|
+
currentVersion: "1.1.59+9b0ffe6"
|
|
303223
303230
|
});
|
|
303224
303231
|
return "in_progress";
|
|
303225
303232
|
}
|
|
@@ -303228,7 +303235,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
303228
303235
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
303229
303236
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
303230
303237
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
303231
|
-
currentVersion: "1.1.
|
|
303238
|
+
currentVersion: "1.1.59+9b0ffe6"
|
|
303232
303239
|
});
|
|
303233
303240
|
console.error(`
|
|
303234
303241
|
Error: Windows NPM detected in WSL
|
|
@@ -303761,7 +303768,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
303761
303768
|
}
|
|
303762
303769
|
async function getDoctorDiagnostic() {
|
|
303763
303770
|
const installationType = await getCurrentInstallationType();
|
|
303764
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
303771
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.59+9b0ffe6" : "unknown";
|
|
303765
303772
|
const installationPath = await getInstallationPath();
|
|
303766
303773
|
const invokedBinary = getInvokedBinary();
|
|
303767
303774
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -304694,8 +304701,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
304694
304701
|
const maxVersion = await getMaxVersion();
|
|
304695
304702
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
304696
304703
|
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.
|
|
304704
|
+
if (gte("1.1.59+9b0ffe6", maxVersion)) {
|
|
304705
|
+
logForDebugging(`Native installer: current version ${"1.1.59+9b0ffe6"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
304699
304706
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
304700
304707
|
latency_ms: Date.now() - startTime,
|
|
304701
304708
|
max_version: maxVersion,
|
|
@@ -304706,7 +304713,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
304706
304713
|
version2 = maxVersion;
|
|
304707
304714
|
}
|
|
304708
304715
|
}
|
|
304709
|
-
if (!forceReinstall && version2 === "1.1.
|
|
304716
|
+
if (!forceReinstall && version2 === "1.1.59+9b0ffe6" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
304710
304717
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
304711
304718
|
logEvent("tengu_native_update_complete", {
|
|
304712
304719
|
latency_ms: Date.now() - startTime,
|
|
@@ -317829,6 +317836,7 @@ function SpinnerAnimationRow({
|
|
|
317829
317836
|
effortSuffix
|
|
317830
317837
|
}) {
|
|
317831
317838
|
const [viewportRef, time3] = useAnimationFrame(reducedMotion ? null : 50);
|
|
317839
|
+
const avoidRecolor = reducedMotion || shouldAvoidContinuousRecolor();
|
|
317832
317840
|
const now2 = Date.now();
|
|
317833
317841
|
const elapsedTimeMs = pauseStartTimeRef.current !== null ? pauseStartTimeRef.current - loadingStartTimeRef.current - totalPausedMsRef.current : now2 - loadingStartTimeRef.current - totalPausedMsRef.current;
|
|
317834
317842
|
const derivedStart = now2 - elapsedTimeMs;
|
|
@@ -317846,8 +317854,8 @@ function SpinnerAnimationRow({
|
|
|
317846
317854
|
const glimmerMessageWidth = import_react66.useMemo(() => stringWidth(message), [message]);
|
|
317847
317855
|
const cycleLength = glimmerMessageWidth + 20;
|
|
317848
317856
|
const cyclePosition = Math.floor(time3 / glimmerSpeed);
|
|
317849
|
-
const glimmerIndex =
|
|
317850
|
-
const flashOpacity =
|
|
317857
|
+
const glimmerIndex = avoidRecolor ? -100 : isStalled ? -100 : mode === "requesting" ? cyclePosition % cycleLength - 10 : glimmerMessageWidth + 10 - cyclePosition % cycleLength;
|
|
317858
|
+
const flashOpacity = avoidRecolor ? 0 : mode === "tool-use" ? (Math.sin(time3 / 1000 * Math.PI) + 1) / 2 : 0;
|
|
317851
317859
|
const tokenCounterRef = import_react66.useRef(currentResponseLength);
|
|
317852
317860
|
if (reducedMotion) {
|
|
317853
317861
|
tokenCounterRef.current = currentResponseLength;
|
|
@@ -317917,7 +317925,7 @@ function SpinnerAnimationRow({
|
|
|
317917
317925
|
]
|
|
317918
317926
|
}, undefined, true, undefined, this)
|
|
317919
317927
|
]
|
|
317920
|
-
}, "tokens", true, undefined, this)] : [], ...showThinking && thinkingText ? [thinkingStatus === "thinking" && !
|
|
317928
|
+
}, "tokens", true, undefined, this)] : [], ...showThinking && thinkingText ? [thinkingStatus === "thinking" && !avoidRecolor ? /* @__PURE__ */ jsx_dev_runtime86.jsxDEV(ThemedText, {
|
|
317921
317929
|
color: thinkingShimmerColor,
|
|
317922
317930
|
children: thinkingOnly ? `(${thinkingText})` : thinkingText
|
|
317923
317931
|
}, "thinking", false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime86.jsxDEV(ThemedText, {
|
|
@@ -318033,6 +318041,7 @@ var init_SpinnerAnimationRow = __esm(() => {
|
|
|
318033
318041
|
init_ink2();
|
|
318034
318042
|
init_format2();
|
|
318035
318043
|
init_ink3();
|
|
318044
|
+
init_terminal();
|
|
318036
318045
|
init_Byline();
|
|
318037
318046
|
init_GlimmerMessage();
|
|
318038
318047
|
init_SpinnerGlyph();
|
|
@@ -362117,7 +362126,7 @@ function getAnthropicEnvMetadata() {
|
|
|
362117
362126
|
function getBuildAgeMinutes() {
|
|
362118
362127
|
if (false)
|
|
362119
362128
|
;
|
|
362120
|
-
const buildTime = new Date("2026-10-
|
|
362129
|
+
const buildTime = new Date("2026-10-09T05:11:10.460Z").getTime();
|
|
362121
362130
|
if (isNaN(buildTime))
|
|
362122
362131
|
return;
|
|
362123
362132
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -410278,7 +410287,7 @@ var init_filesystem = __esm(() => {
|
|
|
410278
410287
|
});
|
|
410279
410288
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
410280
410289
|
const nonce = randomBytes17(16).toString("hex");
|
|
410281
|
-
return join108(getVivusTempDir(), "bundled-skills", "1.1.
|
|
410290
|
+
return join108(getVivusTempDir(), "bundled-skills", "1.1.59+9b0ffe6", nonce);
|
|
410282
410291
|
});
|
|
410283
410292
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
410284
410293
|
});
|
|
@@ -412038,7 +412047,7 @@ function Feedback({
|
|
|
412038
412047
|
platform: env3.platform,
|
|
412039
412048
|
gitRepo: envInfo.isGit,
|
|
412040
412049
|
terminal: env3.terminal,
|
|
412041
|
-
version: "1.1.
|
|
412050
|
+
version: "1.1.59+9b0ffe6",
|
|
412042
412051
|
transcript: normalizeMessagesForAPI(messages),
|
|
412043
412052
|
errors: sanitizedErrors,
|
|
412044
412053
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -412230,7 +412239,7 @@ function Feedback({
|
|
|
412230
412239
|
", ",
|
|
412231
412240
|
env3.terminal,
|
|
412232
412241
|
", v",
|
|
412233
|
-
"1.1.
|
|
412242
|
+
"1.1.59+9b0ffe6"
|
|
412234
412243
|
]
|
|
412235
412244
|
}, undefined, true, undefined, this)
|
|
412236
412245
|
]
|
|
@@ -412336,7 +412345,7 @@ ${sanitizedDescription}
|
|
|
412336
412345
|
` + `**Environment Info**
|
|
412337
412346
|
` + `- Platform: ${env3.platform}
|
|
412338
412347
|
` + `- Terminal: ${env3.terminal}
|
|
412339
|
-
` + `- Version: ${"1.1.
|
|
412348
|
+
` + `- Version: ${"1.1.59+9b0ffe6"}
|
|
412340
412349
|
` + `- Feedback ID: ${feedbackId}
|
|
412341
412350
|
` + `
|
|
412342
412351
|
**Errors**
|
|
@@ -415468,7 +415477,7 @@ function buildPrimarySection() {
|
|
|
415468
415477
|
}, undefined, false, undefined, this);
|
|
415469
415478
|
return [{
|
|
415470
415479
|
label: "Version",
|
|
415471
|
-
value: "1.1.
|
|
415480
|
+
value: "1.1.59+9b0ffe6"
|
|
415472
415481
|
}, {
|
|
415473
415482
|
label: "Session name",
|
|
415474
415483
|
value: nameValue
|
|
@@ -419333,7 +419342,7 @@ function Config({
|
|
|
419333
419342
|
}
|
|
419334
419343
|
}, undefined, false, undefined, this)
|
|
419335
419344
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
|
|
419336
|
-
currentVersion: "1.1.
|
|
419345
|
+
currentVersion: "1.1.59+9b0ffe6",
|
|
419337
419346
|
onChoice: (choice) => {
|
|
419338
419347
|
setShowSubmenu(null);
|
|
419339
419348
|
setTabsHidden(false);
|
|
@@ -419345,7 +419354,7 @@ function Config({
|
|
|
419345
419354
|
autoUpdatesChannel: "stable"
|
|
419346
419355
|
};
|
|
419347
419356
|
if (choice === "stay") {
|
|
419348
|
-
newSettings.minimumVersion = "1.1.
|
|
419357
|
+
newSettings.minimumVersion = "1.1.59+9b0ffe6";
|
|
419349
419358
|
}
|
|
419350
419359
|
updateSettingsForSource("userSettings", newSettings);
|
|
419351
419360
|
setSettingsData((prev_27) => ({
|
|
@@ -427540,7 +427549,7 @@ function HelpV2(t0) {
|
|
|
427540
427549
|
let t6;
|
|
427541
427550
|
if ($2[31] !== tabs) {
|
|
427542
427551
|
t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
|
|
427543
|
-
title: `Vivus v${"1.1.
|
|
427552
|
+
title: `Vivus v${"1.1.59+9b0ffe6"}`,
|
|
427544
427553
|
color: "professionalBlue",
|
|
427545
427554
|
defaultTab: "general",
|
|
427546
427555
|
children: tabs
|
|
@@ -451766,7 +451775,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
451766
451775
|
return [];
|
|
451767
451776
|
}
|
|
451768
451777
|
}
|
|
451769
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
451778
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.59+9b0ffe6") {
|
|
451770
451779
|
if (process.env.USER_TYPE === "ant") {
|
|
451771
451780
|
const changelog = "";
|
|
451772
451781
|
if (changelog) {
|
|
@@ -451793,7 +451802,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.57+22
|
|
|
451793
451802
|
releaseNotes
|
|
451794
451803
|
};
|
|
451795
451804
|
}
|
|
451796
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
451805
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.59+9b0ffe6") {
|
|
451797
451806
|
if (process.env.USER_TYPE === "ant") {
|
|
451798
451807
|
const changelog = "";
|
|
451799
451808
|
if (changelog) {
|
|
@@ -452963,7 +452972,7 @@ function getRecentActivitySync() {
|
|
|
452963
452972
|
return cachedActivity;
|
|
452964
452973
|
}
|
|
452965
452974
|
function getLogoDisplayData() {
|
|
452966
|
-
const version2 = process.env.DEMO_VERSION ?? "1.1.
|
|
452975
|
+
const version2 = process.env.DEMO_VERSION ?? "1.1.59+9b0ffe6";
|
|
452967
452976
|
const serverUrl = getDirectConnectServerUrl();
|
|
452968
452977
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
452969
452978
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -454490,7 +454499,7 @@ function LogoV2() {
|
|
|
454490
454499
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
454491
454500
|
t2 = () => {
|
|
454492
454501
|
const currentConfig = getGlobalConfig();
|
|
454493
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
454502
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.59+9b0ffe6") {
|
|
454494
454503
|
return;
|
|
454495
454504
|
}
|
|
454496
454505
|
saveGlobalConfig(_temp329);
|
|
@@ -455166,12 +455175,12 @@ function LogoV2() {
|
|
|
455166
455175
|
return t41;
|
|
455167
455176
|
}
|
|
455168
455177
|
function _temp329(current) {
|
|
455169
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
455178
|
+
if (current.lastReleaseNotesSeen === "1.1.59+9b0ffe6") {
|
|
455170
455179
|
return current;
|
|
455171
455180
|
}
|
|
455172
455181
|
return {
|
|
455173
455182
|
...current,
|
|
455174
|
-
lastReleaseNotesSeen: "1.1.
|
|
455183
|
+
lastReleaseNotesSeen: "1.1.59+9b0ffe6"
|
|
455175
455184
|
};
|
|
455176
455185
|
}
|
|
455177
455186
|
function _temp245(s_0) {
|
|
@@ -481473,7 +481482,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
481473
481482
|
smapsRollup,
|
|
481474
481483
|
platform: process.platform,
|
|
481475
481484
|
nodeVersion: process.version,
|
|
481476
|
-
ccVersion: "1.1.
|
|
481485
|
+
ccVersion: "1.1.59+9b0ffe6"
|
|
481477
481486
|
};
|
|
481478
481487
|
}
|
|
481479
481488
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -482059,7 +482068,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
482059
482068
|
var call56 = async () => {
|
|
482060
482069
|
return {
|
|
482061
482070
|
type: "text",
|
|
482062
|
-
value: `${"1.1.
|
|
482071
|
+
value: `${"1.1.59+9b0ffe6"} (built ${"2026-10-09T05:11:10.460Z"})`
|
|
482063
482072
|
};
|
|
482064
482073
|
}, version2, version_default;
|
|
482065
482074
|
var init_version = __esm(() => {
|
|
@@ -491379,7 +491388,7 @@ function generateHtmlReport(data, insights) {
|
|
|
491379
491388
|
</html>`;
|
|
491380
491389
|
}
|
|
491381
491390
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
491382
|
-
const version3 = typeof MACRO !== "undefined" ? "1.1.
|
|
491391
|
+
const version3 = typeof MACRO !== "undefined" ? "1.1.59+9b0ffe6" : "unknown";
|
|
491383
491392
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
491384
491393
|
const facets_summary = {
|
|
491385
491394
|
total: facets.size,
|
|
@@ -495491,7 +495500,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
495491
495500
|
init_settings2();
|
|
495492
495501
|
init_slowOperations();
|
|
495493
495502
|
init_uuid();
|
|
495494
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
495503
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.59+9b0ffe6" : "unknown";
|
|
495495
495504
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
495496
495505
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
495497
495506
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -498363,7 +498372,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
498363
498372
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
498364
498373
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
498365
498374
|
betas: getSdkBetas(),
|
|
498366
|
-
vivus_code_version: "1.1.
|
|
498375
|
+
vivus_code_version: "1.1.59+9b0ffe6",
|
|
498367
498376
|
output_style: outputStyle2,
|
|
498368
498377
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
498369
498378
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -513075,7 +513084,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
513075
513084
|
function getSemverPart(version3) {
|
|
513076
513085
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
513077
513086
|
}
|
|
513078
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
513087
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.59+9b0ffe6") {
|
|
513079
513088
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
|
|
513080
513089
|
if (!updatedVersion) {
|
|
513081
513090
|
return null;
|
|
@@ -513115,7 +513124,7 @@ function AutoUpdater({
|
|
|
513115
513124
|
return;
|
|
513116
513125
|
}
|
|
513117
513126
|
if (false) {}
|
|
513118
|
-
const currentVersion = "1.1.
|
|
513127
|
+
const currentVersion = "1.1.59+9b0ffe6";
|
|
513119
513128
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
513120
513129
|
let latestVersion = await getLatestVersion(channel);
|
|
513121
513130
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -513328,12 +513337,12 @@ function NativeAutoUpdater({
|
|
|
513328
513337
|
logEvent("tengu_native_auto_updater_start", {});
|
|
513329
513338
|
try {
|
|
513330
513339
|
const maxVersion = await getMaxVersion();
|
|
513331
|
-
if (maxVersion && gt("1.1.
|
|
513340
|
+
if (maxVersion && gt("1.1.59+9b0ffe6", maxVersion)) {
|
|
513332
513341
|
const msg = await getMaxVersionMessage();
|
|
513333
513342
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
513334
513343
|
}
|
|
513335
513344
|
const result = await installLatest(channel);
|
|
513336
|
-
const currentVersion = "1.1.
|
|
513345
|
+
const currentVersion = "1.1.59+9b0ffe6";
|
|
513337
513346
|
const latencyMs = Date.now() - startTime;
|
|
513338
513347
|
if (result.lockFailed) {
|
|
513339
513348
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -513470,17 +513479,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
513470
513479
|
const maxVersion = await getMaxVersion();
|
|
513471
513480
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
513472
513481
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
513473
|
-
if (gte("1.1.
|
|
513474
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
513482
|
+
if (gte("1.1.59+9b0ffe6", maxVersion)) {
|
|
513483
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.59+9b0ffe6"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
513475
513484
|
setUpdateAvailable(false);
|
|
513476
513485
|
return;
|
|
513477
513486
|
}
|
|
513478
513487
|
latest = maxVersion;
|
|
513479
513488
|
}
|
|
513480
|
-
const hasUpdate = latest && !gte("1.1.
|
|
513489
|
+
const hasUpdate = latest && !gte("1.1.59+9b0ffe6", latest) && !shouldSkipVersion(latest);
|
|
513481
513490
|
setUpdateAvailable(!!hasUpdate);
|
|
513482
513491
|
if (hasUpdate) {
|
|
513483
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
513492
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.59+9b0ffe6"} -> ${latest}`);
|
|
513484
513493
|
}
|
|
513485
513494
|
};
|
|
513486
513495
|
$2[0] = t1;
|
|
@@ -513514,7 +513523,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
513514
513523
|
wrap: "truncate",
|
|
513515
513524
|
children: [
|
|
513516
513525
|
"currentVersion: ",
|
|
513517
|
-
"1.1.
|
|
513526
|
+
"1.1.59+9b0ffe6"
|
|
513518
513527
|
]
|
|
513519
513528
|
}, undefined, true, undefined, this);
|
|
513520
513529
|
$2[3] = verbose;
|
|
@@ -521698,7 +521707,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
521698
521707
|
project_dir: getOriginalCwd(),
|
|
521699
521708
|
added_dirs: addedDirs
|
|
521700
521709
|
},
|
|
521701
|
-
version: "1.1.
|
|
521710
|
+
version: "1.1.59+9b0ffe6",
|
|
521702
521711
|
output_style: {
|
|
521703
521712
|
name: outputStyleName
|
|
521704
521713
|
},
|
|
@@ -533350,7 +533359,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
533350
533359
|
} catch {}
|
|
533351
533360
|
const data = {
|
|
533352
533361
|
trigger,
|
|
533353
|
-
version: "1.1.
|
|
533362
|
+
version: "1.1.59+9b0ffe6",
|
|
533354
533363
|
platform: process.platform,
|
|
533355
533364
|
transcript,
|
|
533356
533365
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -544821,7 +544830,7 @@ function WelcomeV2() {
|
|
|
544821
544830
|
dimColor: true,
|
|
544822
544831
|
children: [
|
|
544823
544832
|
"v",
|
|
544824
|
-
"1.1.
|
|
544833
|
+
"1.1.59+9b0ffe6",
|
|
544825
544834
|
" "
|
|
544826
544835
|
]
|
|
544827
544836
|
}, undefined, true, undefined, this)
|
|
@@ -545021,7 +545030,7 @@ function WelcomeV2() {
|
|
|
545021
545030
|
dimColor: true,
|
|
545022
545031
|
children: [
|
|
545023
545032
|
"v",
|
|
545024
|
-
"1.1.
|
|
545033
|
+
"1.1.59+9b0ffe6",
|
|
545025
545034
|
" "
|
|
545026
545035
|
]
|
|
545027
545036
|
}, undefined, true, undefined, this)
|
|
@@ -545247,7 +545256,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
545247
545256
|
dimColor: true,
|
|
545248
545257
|
children: [
|
|
545249
545258
|
"v",
|
|
545250
|
-
"1.1.
|
|
545259
|
+
"1.1.59+9b0ffe6",
|
|
545251
545260
|
" "
|
|
545252
545261
|
]
|
|
545253
545262
|
}, undefined, true, undefined, this);
|
|
@@ -545501,7 +545510,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
545501
545510
|
dimColor: true,
|
|
545502
545511
|
children: [
|
|
545503
545512
|
"v",
|
|
545504
|
-
"1.1.
|
|
545513
|
+
"1.1.59+9b0ffe6",
|
|
545505
545514
|
" "
|
|
545506
545515
|
]
|
|
545507
545516
|
}, undefined, true, undefined, this);
|
|
@@ -548574,7 +548583,7 @@ function appendToLog(path25, message) {
|
|
|
548574
548583
|
cwd: getFsImplementation().cwd(),
|
|
548575
548584
|
userType: process.env.USER_TYPE,
|
|
548576
548585
|
sessionId: getSessionId(),
|
|
548577
|
-
version: "1.1.
|
|
548586
|
+
version: "1.1.59+9b0ffe6"
|
|
548578
548587
|
};
|
|
548579
548588
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
548580
548589
|
}
|
|
@@ -552569,8 +552578,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
552569
552578
|
}
|
|
552570
552579
|
async function checkEnvLessBridgeMinVersion() {
|
|
552571
552580
|
const cfg = await getEnvLessBridgeConfig();
|
|
552572
|
-
if (cfg.min_version && lt("1.1.
|
|
552573
|
-
return `Your version of Vivus (${"1.1.
|
|
552581
|
+
if (cfg.min_version && lt("1.1.59+9b0ffe6", cfg.min_version)) {
|
|
552582
|
+
return `Your version of Vivus (${"1.1.59+9b0ffe6"}) is too old for Remote Control.
|
|
552574
552583
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
552575
552584
|
}
|
|
552576
552585
|
return null;
|
|
@@ -553044,7 +553053,7 @@ async function initBridgeCore(params) {
|
|
|
553044
553053
|
const rawApi = createBridgeApiClient({
|
|
553045
553054
|
baseUrl,
|
|
553046
553055
|
getAccessToken,
|
|
553047
|
-
runnerVersion: "1.1.
|
|
553056
|
+
runnerVersion: "1.1.59+9b0ffe6",
|
|
553048
553057
|
onDebug: logForDebugging,
|
|
553049
553058
|
onAuth401,
|
|
553050
553059
|
getTrustedDeviceToken
|
|
@@ -558723,7 +558732,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
558723
558732
|
setCwd(cwd3);
|
|
558724
558733
|
const server = new Server({
|
|
558725
558734
|
name: "vivus/tengu",
|
|
558726
|
-
version: "1.1.
|
|
558735
|
+
version: "1.1.59+9b0ffe6"
|
|
558727
558736
|
}, {
|
|
558728
558737
|
capabilities: {
|
|
558729
558738
|
tools: {}
|
|
@@ -560456,7 +560465,7 @@ __export(exports_update, {
|
|
|
560456
560465
|
});
|
|
560457
560466
|
async function update() {
|
|
560458
560467
|
logEvent("tengu_update_check", {});
|
|
560459
|
-
writeToStdout(`Current version: ${"1.1.
|
|
560468
|
+
writeToStdout(`Current version: ${"1.1.59+9b0ffe6"}
|
|
560460
560469
|
`);
|
|
560461
560470
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
560462
560471
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -560531,8 +560540,8 @@ async function update() {
|
|
|
560531
560540
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
560532
560541
|
`);
|
|
560533
560542
|
const latest = await getLatestVersion(channel);
|
|
560534
|
-
if (latest && !gte("1.1.
|
|
560535
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560543
|
+
if (latest && !gte("1.1.59+9b0ffe6", latest)) {
|
|
560544
|
+
writeToStdout(`Update available: ${"1.1.59+9b0ffe6"} → ${latest}
|
|
560536
560545
|
`);
|
|
560537
560546
|
writeToStdout(`
|
|
560538
560547
|
`);
|
|
@@ -560548,8 +560557,8 @@ async function update() {
|
|
|
560548
560557
|
writeToStdout(`Vivus is managed by winget.
|
|
560549
560558
|
`);
|
|
560550
560559
|
const latest = await getLatestVersion(channel);
|
|
560551
|
-
if (latest && !gte("1.1.
|
|
560552
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560560
|
+
if (latest && !gte("1.1.59+9b0ffe6", latest)) {
|
|
560561
|
+
writeToStdout(`Update available: ${"1.1.59+9b0ffe6"} → ${latest}
|
|
560553
560562
|
`);
|
|
560554
560563
|
writeToStdout(`
|
|
560555
560564
|
`);
|
|
@@ -560565,8 +560574,8 @@ async function update() {
|
|
|
560565
560574
|
writeToStdout(`Vivus is managed by apk.
|
|
560566
560575
|
`);
|
|
560567
560576
|
const latest = await getLatestVersion(channel);
|
|
560568
|
-
if (latest && !gte("1.1.
|
|
560569
|
-
writeToStdout(`Update available: ${"1.1.
|
|
560577
|
+
if (latest && !gte("1.1.59+9b0ffe6", latest)) {
|
|
560578
|
+
writeToStdout(`Update available: ${"1.1.59+9b0ffe6"} → ${latest}
|
|
560570
560579
|
`);
|
|
560571
560580
|
writeToStdout(`
|
|
560572
560581
|
`);
|
|
@@ -560631,11 +560640,11 @@ async function update() {
|
|
|
560631
560640
|
`);
|
|
560632
560641
|
await gracefulShutdown(1);
|
|
560633
560642
|
}
|
|
560634
|
-
if (result.latestVersion === "1.1.
|
|
560635
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
560643
|
+
if (result.latestVersion === "1.1.59+9b0ffe6") {
|
|
560644
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.59+9b0ffe6"})`) + `
|
|
560636
560645
|
`);
|
|
560637
560646
|
} else {
|
|
560638
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
560647
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.59+9b0ffe6"} to version ${result.latestVersion}`) + `
|
|
560639
560648
|
`);
|
|
560640
560649
|
await regenerateCompletionCache();
|
|
560641
560650
|
}
|
|
@@ -560692,12 +560701,12 @@ async function update() {
|
|
|
560692
560701
|
`);
|
|
560693
560702
|
await gracefulShutdown(1);
|
|
560694
560703
|
}
|
|
560695
|
-
if (latestVersion === "1.1.
|
|
560696
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
560704
|
+
if (latestVersion === "1.1.59+9b0ffe6") {
|
|
560705
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.59+9b0ffe6"})`) + `
|
|
560697
560706
|
`);
|
|
560698
560707
|
await gracefulShutdown(0);
|
|
560699
560708
|
}
|
|
560700
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
560709
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.59+9b0ffe6"})
|
|
560701
560710
|
`);
|
|
560702
560711
|
writeToStdout(`Installing update...
|
|
560703
560712
|
`);
|
|
@@ -560742,7 +560751,7 @@ async function update() {
|
|
|
560742
560751
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
560743
560752
|
switch (status2) {
|
|
560744
560753
|
case "success":
|
|
560745
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
560754
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.59+9b0ffe6"} to version ${latestVersion}`) + `
|
|
560746
560755
|
`);
|
|
560747
560756
|
await regenerateCompletionCache();
|
|
560748
560757
|
break;
|
|
@@ -561716,7 +561725,7 @@ function completeOnboarding() {
|
|
|
561716
561725
|
saveGlobalConfig((current) => ({
|
|
561717
561726
|
...current,
|
|
561718
561727
|
hasCompletedOnboarding: true,
|
|
561719
|
-
lastOnboardingVersion: "1.1.
|
|
561728
|
+
lastOnboardingVersion: "1.1.59+9b0ffe6"
|
|
561720
561729
|
}));
|
|
561721
561730
|
}
|
|
561722
561731
|
function showDialog(root2, renderer) {
|
|
@@ -565852,7 +565861,7 @@ ${customInstructions}` : customInstructions;
|
|
|
565852
565861
|
}
|
|
565853
565862
|
}
|
|
565854
565863
|
logForDiagnosticsNoPII("info", "started", {
|
|
565855
|
-
version: "1.1.
|
|
565864
|
+
version: "1.1.59+9b0ffe6",
|
|
565856
565865
|
is_native_binary: isInBundledMode()
|
|
565857
565866
|
});
|
|
565858
565867
|
registerCleanup(async () => {
|
|
@@ -566650,7 +566659,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
566650
566659
|
pendingHookMessages
|
|
566651
566660
|
}, renderAndRun);
|
|
566652
566661
|
}
|
|
566653
|
-
}).version("1.1.
|
|
566662
|
+
}).version("1.1.59+9b0ffe6 (Vivus)", "-v, --version", "Output the version number");
|
|
566654
566663
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
566655
566664
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
566656
566665
|
if (canUserConfigureAdvisor()) {
|