vivus-agent 1.1.21 → 1.1.22
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 +151 -92
- 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-23T08:43:41.863Z
|
|
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.22+17a6e62"}`;
|
|
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.22+17a6e62"} (${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.22+17a6e62"}${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.22+17a6e62",
|
|
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.22+17a6e62".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.22+17a6e62",
|
|
119648
119648
|
versionBase: getVersionBase(),
|
|
119649
|
-
buildTime: "2026-06-
|
|
119649
|
+
buildTime: "2026-06-23T08:43:41.300Z",
|
|
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.22+17a6e62"
|
|
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.22+17a6e62");
|
|
120345
120345
|
}
|
|
120346
120346
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
120347
120347
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -122122,6 +122122,24 @@ var init_strip_ansi = __esm(() => {
|
|
|
122122
122122
|
});
|
|
122123
122123
|
|
|
122124
122124
|
// src/ink/stringWidth.ts
|
|
122125
|
+
function readAmbiguousWidthEnv() {
|
|
122126
|
+
const v = process.env.VIVUS_CODE_AMBIGUOUS_WIDTH?.toLowerCase().trim();
|
|
122127
|
+
if (v === undefined || v === "")
|
|
122128
|
+
return { wide: false, locked: false };
|
|
122129
|
+
if (["wide", "2", "double", "true", "on", "yes"].includes(v)) {
|
|
122130
|
+
return { wide: true, locked: true };
|
|
122131
|
+
}
|
|
122132
|
+
return { wide: false, locked: true };
|
|
122133
|
+
}
|
|
122134
|
+
function isAmbiguousWidthLocked() {
|
|
122135
|
+
return ambiguousWidthLocked;
|
|
122136
|
+
}
|
|
122137
|
+
function setAmbiguousIsWide(wide) {
|
|
122138
|
+
if (ambiguousWidthLocked || ambiguousIsWide === wide)
|
|
122139
|
+
return false;
|
|
122140
|
+
ambiguousIsWide = wide;
|
|
122141
|
+
return true;
|
|
122142
|
+
}
|
|
122125
122143
|
function stringWidthJavaScript(str) {
|
|
122126
122144
|
if (typeof str !== "string" || str.length === 0) {
|
|
122127
122145
|
return 0;
|
|
@@ -122155,7 +122173,7 @@ function stringWidthJavaScript(str) {
|
|
|
122155
122173
|
for (const char of str) {
|
|
122156
122174
|
const codePoint = char.codePointAt(0);
|
|
122157
122175
|
if (!isZeroWidth(codePoint)) {
|
|
122158
|
-
width2 += eastAsianWidth(codePoint, { ambiguousAsWide:
|
|
122176
|
+
width2 += eastAsianWidth(codePoint, { ambiguousAsWide: ambiguousIsWide });
|
|
122159
122177
|
}
|
|
122160
122178
|
}
|
|
122161
122179
|
return width2;
|
|
@@ -122170,7 +122188,7 @@ function stringWidthJavaScript(str) {
|
|
|
122170
122188
|
for (const char of grapheme) {
|
|
122171
122189
|
const codePoint = char.codePointAt(0);
|
|
122172
122190
|
if (!isZeroWidth(codePoint)) {
|
|
122173
|
-
width += eastAsianWidth(codePoint, { ambiguousAsWide:
|
|
122191
|
+
width += eastAsianWidth(codePoint, { ambiguousAsWide: ambiguousIsWide });
|
|
122174
122192
|
break;
|
|
122175
122193
|
}
|
|
122176
122194
|
}
|
|
@@ -122248,16 +122266,20 @@ function isZeroWidth(codePoint) {
|
|
|
122248
122266
|
return true;
|
|
122249
122267
|
return false;
|
|
122250
122268
|
}
|
|
122251
|
-
var import_emoji_regex, EMOJI_REGEX, bunStringWidth,
|
|
122269
|
+
var import_emoji_regex, EMOJI_REGEX, _ambiguousWidthEnv, ambiguousIsWide, ambiguousWidthLocked, bunStringWidth, BUN_OPTS_NARROW, BUN_OPTS_WIDE, stringWidth;
|
|
122252
122270
|
var init_stringWidth = __esm(() => {
|
|
122253
122271
|
init_get_east_asian_width();
|
|
122254
122272
|
init_strip_ansi();
|
|
122255
122273
|
init_intl();
|
|
122256
122274
|
import_emoji_regex = __toESM(require_emoji_regex(), 1);
|
|
122257
122275
|
EMOJI_REGEX = import_emoji_regex.default();
|
|
122276
|
+
_ambiguousWidthEnv = readAmbiguousWidthEnv();
|
|
122277
|
+
ambiguousIsWide = _ambiguousWidthEnv.wide;
|
|
122278
|
+
ambiguousWidthLocked = _ambiguousWidthEnv.locked;
|
|
122258
122279
|
bunStringWidth = typeof Bun !== "undefined" && typeof Bun.stringWidth === "function" ? Bun.stringWidth : null;
|
|
122259
|
-
|
|
122260
|
-
|
|
122280
|
+
BUN_OPTS_NARROW = { ambiguousIsNarrow: true };
|
|
122281
|
+
BUN_OPTS_WIDE = { ambiguousIsNarrow: false };
|
|
122282
|
+
stringWidth = bunStringWidth ? (str) => bunStringWidth(str, ambiguousIsWide ? BUN_OPTS_WIDE : BUN_OPTS_NARROW) : stringWidthJavaScript;
|
|
122261
122283
|
});
|
|
122262
122284
|
|
|
122263
122285
|
// src/utils/truncate.ts
|
|
@@ -150716,6 +150738,12 @@ var init_terminal_focus_state = __esm(() => {
|
|
|
150716
150738
|
});
|
|
150717
150739
|
|
|
150718
150740
|
// src/ink/terminal-querier.ts
|
|
150741
|
+
function cursorPosition2() {
|
|
150742
|
+
return {
|
|
150743
|
+
request: csi("?6n"),
|
|
150744
|
+
match: (r) => r.type === "cursorPosition"
|
|
150745
|
+
};
|
|
150746
|
+
}
|
|
150719
150747
|
function xtversion() {
|
|
150720
150748
|
return {
|
|
150721
150749
|
request: csi(">0q"),
|
|
@@ -151935,6 +151963,7 @@ var init_App = __esm(() => {
|
|
|
151935
151963
|
init_terminal();
|
|
151936
151964
|
init_terminal_focus_state();
|
|
151937
151965
|
init_terminal_querier();
|
|
151966
|
+
init_stringWidth();
|
|
151938
151967
|
init_csi();
|
|
151939
151968
|
init_dec();
|
|
151940
151969
|
init_AppContext();
|
|
@@ -151964,6 +151993,7 @@ var init_App = __esm(() => {
|
|
|
151964
151993
|
NORMAL_TIMEOUT = 50;
|
|
151965
151994
|
PASTE_TIMEOUT = 500;
|
|
151966
151995
|
querier = new TerminalQuerier(this.props.stdout);
|
|
151996
|
+
ambiguousWidthProbed = false;
|
|
151967
151997
|
lastClickTime = 0;
|
|
151968
151998
|
lastClickCol = -1;
|
|
151969
151999
|
lastClickRow = -1;
|
|
@@ -152067,6 +152097,7 @@ Read about how to prevent this error on https://github.com/vadimdemedes/ink/#isr
|
|
|
152067
152097
|
logForDebugging("XTVERSION: no reply (terminal ignored query)");
|
|
152068
152098
|
}
|
|
152069
152099
|
});
|
|
152100
|
+
this.probeAmbiguousWidth();
|
|
152070
152101
|
});
|
|
152071
152102
|
}
|
|
152072
152103
|
this.rawModeEnabledCount++;
|
|
@@ -152082,6 +152113,34 @@ Read about how to prevent this error on https://github.com/vadimdemedes/ink/#isr
|
|
|
152082
152113
|
stdin.unref();
|
|
152083
152114
|
}
|
|
152084
152115
|
};
|
|
152116
|
+
probeAmbiguousWidth = async () => {
|
|
152117
|
+
if (this.ambiguousWidthProbed)
|
|
152118
|
+
return;
|
|
152119
|
+
this.ambiguousWidthProbed = true;
|
|
152120
|
+
if (isAmbiguousWidthLocked())
|
|
152121
|
+
return;
|
|
152122
|
+
if (isEnvTruthy(process.env.VIVUS_CODE_NO_WIDTH_PROBE))
|
|
152123
|
+
return;
|
|
152124
|
+
const stdout = this.props.stdout;
|
|
152125
|
+
if (!stdout.isTTY)
|
|
152126
|
+
return;
|
|
152127
|
+
try {
|
|
152128
|
+
stdout.write("\x1B7\r·");
|
|
152129
|
+
const posPromise = this.querier.send(cursorPosition2());
|
|
152130
|
+
const flushPromise = this.querier.flush();
|
|
152131
|
+
stdout.write("\x1B8\r\x1B[K");
|
|
152132
|
+
const [pos] = await Promise.all([posPromise, flushPromise]);
|
|
152133
|
+
if (!pos) {
|
|
152134
|
+
logForDebugging("[ambiguous-width] no DECXCPR reply — keeping narrow default");
|
|
152135
|
+
return;
|
|
152136
|
+
}
|
|
152137
|
+
const wide = pos.col >= 3;
|
|
152138
|
+
const changed = setAmbiguousIsWide(wide);
|
|
152139
|
+
logForDebugging(`[ambiguous-width] probe col=${pos.col} → ${wide ? "wide" : "narrow"}${changed ? " (applied)" : " (no change)"}`);
|
|
152140
|
+
} catch (err) {
|
|
152141
|
+
logForDebugging(`[ambiguous-width] probe failed: ${String(err)}`);
|
|
152142
|
+
}
|
|
152143
|
+
};
|
|
152085
152144
|
flushIncomplete = () => {
|
|
152086
152145
|
this.incompleteEscapeTimer = null;
|
|
152087
152146
|
if (!this.keyParseState.incomplete)
|
|
@@ -162477,7 +162536,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
162477
162536
|
if (!isAttributionHeaderEnabled()) {
|
|
162478
162537
|
return "";
|
|
162479
162538
|
}
|
|
162480
|
-
const version2 = `${"1.1.
|
|
162539
|
+
const version2 = `${"1.1.22+17a6e62"}.${fingerprint}`;
|
|
162481
162540
|
const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
|
|
162482
162541
|
const cch = "";
|
|
162483
162542
|
const workload = getWorkload();
|
|
@@ -175640,7 +175699,7 @@ function getTelemetryAttributes() {
|
|
|
175640
175699
|
attributes["session.id"] = sessionId;
|
|
175641
175700
|
}
|
|
175642
175701
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
175643
|
-
attributes["app.version"] = "1.1.
|
|
175702
|
+
attributes["app.version"] = "1.1.22+17a6e62";
|
|
175644
175703
|
}
|
|
175645
175704
|
const oauthAccount = getOauthAccountInfo();
|
|
175646
175705
|
if (oauthAccount) {
|
|
@@ -242200,7 +242259,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
242200
242259
|
}
|
|
242201
242260
|
function computeFingerprintFromMessages(messages) {
|
|
242202
242261
|
const firstMessageText = extractFirstMessageText(messages);
|
|
242203
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
242262
|
+
return computeFingerprint(firstMessageText, "1.1.22+17a6e62");
|
|
242204
242263
|
}
|
|
242205
242264
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
242206
242265
|
var init_fingerprint = () => {};
|
|
@@ -242242,7 +242301,7 @@ async function sideQuery(opts) {
|
|
|
242242
242301
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
242243
242302
|
}
|
|
242244
242303
|
const messageText = extractFirstUserMessageText(messages);
|
|
242245
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
242304
|
+
const fingerprint = computeFingerprint(messageText, "1.1.22+17a6e62");
|
|
242246
242305
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
242247
242306
|
const systemBlocks = [
|
|
242248
242307
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -243394,7 +243453,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
243394
243453
|
const client2 = new Client({
|
|
243395
243454
|
name: "vivus",
|
|
243396
243455
|
title: "Vivus",
|
|
243397
|
-
version: "1.1.
|
|
243456
|
+
version: "1.1.22+17a6e62",
|
|
243398
243457
|
description: "Anthropic's agentic coding tool",
|
|
243399
243458
|
websiteUrl: PRODUCT_URL
|
|
243400
243459
|
}, {
|
|
@@ -243748,7 +243807,7 @@ var init_client6 = __esm(() => {
|
|
|
243748
243807
|
const client2 = new Client({
|
|
243749
243808
|
name: "vivus",
|
|
243750
243809
|
title: "Vivus",
|
|
243751
|
-
version: "1.1.
|
|
243810
|
+
version: "1.1.22+17a6e62",
|
|
243752
243811
|
description: "Anthropic's agentic coding tool",
|
|
243753
243812
|
websiteUrl: PRODUCT_URL
|
|
243754
243813
|
}, {
|
|
@@ -245806,7 +245865,7 @@ function getInstallationEnv() {
|
|
|
245806
245865
|
return;
|
|
245807
245866
|
}
|
|
245808
245867
|
function getVivusCodeVersion() {
|
|
245809
|
-
return "1.1.
|
|
245868
|
+
return "1.1.22+17a6e62";
|
|
245810
245869
|
}
|
|
245811
245870
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
245812
245871
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -300837,7 +300896,7 @@ async function initializeBetaTracing(resource) {
|
|
|
300837
300896
|
});
|
|
300838
300897
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
300839
300898
|
setLoggerProvider(loggerProvider);
|
|
300840
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
300899
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.22+17a6e62");
|
|
300841
300900
|
setEventLogger(eventLogger);
|
|
300842
300901
|
process.on("beforeExit", async () => {
|
|
300843
300902
|
await loggerProvider?.forceFlush();
|
|
@@ -300877,7 +300936,7 @@ async function initializeTelemetry() {
|
|
|
300877
300936
|
const platform5 = getPlatform();
|
|
300878
300937
|
const baseAttributes = {
|
|
300879
300938
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
300880
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
300939
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.22+17a6e62"
|
|
300881
300940
|
};
|
|
300882
300941
|
if (platform5 === "wsl") {
|
|
300883
300942
|
const wslVersion = getWslVersion();
|
|
@@ -300922,7 +300981,7 @@ async function initializeTelemetry() {
|
|
|
300922
300981
|
} catch {}
|
|
300923
300982
|
};
|
|
300924
300983
|
registerCleanup(shutdownTelemetry2);
|
|
300925
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.
|
|
300984
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.22+17a6e62");
|
|
300926
300985
|
}
|
|
300927
300986
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
300928
300987
|
resource,
|
|
@@ -300942,7 +301001,7 @@ async function initializeTelemetry() {
|
|
|
300942
301001
|
});
|
|
300943
301002
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
300944
301003
|
setLoggerProvider(loggerProvider);
|
|
300945
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
301004
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.22+17a6e62");
|
|
300946
301005
|
setEventLogger(eventLogger);
|
|
300947
301006
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
300948
301007
|
process.on("beforeExit", async () => {
|
|
@@ -301004,7 +301063,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
301004
301063
|
}
|
|
301005
301064
|
};
|
|
301006
301065
|
registerCleanup(shutdownTelemetry);
|
|
301007
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.
|
|
301066
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.22+17a6e62");
|
|
301008
301067
|
}
|
|
301009
301068
|
async function flushTelemetry() {
|
|
301010
301069
|
const meterProvider = getMeterProvider();
|
|
@@ -301690,9 +301749,9 @@ async function assertMinVersion() {
|
|
|
301690
301749
|
if (false) {}
|
|
301691
301750
|
try {
|
|
301692
301751
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
301693
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
301752
|
+
if (versionConfig.minVersion && lt("1.1.22+17a6e62", versionConfig.minVersion)) {
|
|
301694
301753
|
console.error(`
|
|
301695
|
-
It looks like your version of Vivus (${"1.1.
|
|
301754
|
+
It looks like your version of Vivus (${"1.1.22+17a6e62"}) needs an update.
|
|
301696
301755
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
301697
301756
|
|
|
301698
301757
|
To update, please run:
|
|
@@ -301908,7 +301967,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
301908
301967
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
301909
301968
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
301910
301969
|
pid: process.pid,
|
|
301911
|
-
currentVersion: "1.1.
|
|
301970
|
+
currentVersion: "1.1.22+17a6e62"
|
|
301912
301971
|
});
|
|
301913
301972
|
return "in_progress";
|
|
301914
301973
|
}
|
|
@@ -301917,7 +301976,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
301917
301976
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
301918
301977
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
301919
301978
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
301920
|
-
currentVersion: "1.1.
|
|
301979
|
+
currentVersion: "1.1.22+17a6e62"
|
|
301921
301980
|
});
|
|
301922
301981
|
console.error(`
|
|
301923
301982
|
Error: Windows NPM detected in WSL
|
|
@@ -302450,7 +302509,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
302450
302509
|
}
|
|
302451
302510
|
async function getDoctorDiagnostic() {
|
|
302452
302511
|
const installationType = await getCurrentInstallationType();
|
|
302453
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
302512
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.22+17a6e62" : "unknown";
|
|
302454
302513
|
const installationPath = await getInstallationPath();
|
|
302455
302514
|
const invokedBinary = getInvokedBinary();
|
|
302456
302515
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -303383,8 +303442,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
303383
303442
|
const maxVersion = await getMaxVersion();
|
|
303384
303443
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
303385
303444
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
303386
|
-
if (gte("1.1.
|
|
303387
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
303445
|
+
if (gte("1.1.22+17a6e62", maxVersion)) {
|
|
303446
|
+
logForDebugging(`Native installer: current version ${"1.1.22+17a6e62"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
303388
303447
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
303389
303448
|
latency_ms: Date.now() - startTime,
|
|
303390
303449
|
max_version: maxVersion,
|
|
@@ -303395,7 +303454,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
303395
303454
|
version2 = maxVersion;
|
|
303396
303455
|
}
|
|
303397
303456
|
}
|
|
303398
|
-
if (!forceReinstall && version2 === "1.1.
|
|
303457
|
+
if (!forceReinstall && version2 === "1.1.22+17a6e62" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
303399
303458
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
303400
303459
|
logEvent("tengu_native_update_complete", {
|
|
303401
303460
|
latency_ms: Date.now() - startTime,
|
|
@@ -359309,7 +359368,7 @@ function getAnthropicEnvMetadata() {
|
|
|
359309
359368
|
function getBuildAgeMinutes() {
|
|
359310
359369
|
if (false)
|
|
359311
359370
|
;
|
|
359312
|
-
const buildTime = new Date("2026-06-
|
|
359371
|
+
const buildTime = new Date("2026-06-23T08:43:41.300Z").getTime();
|
|
359313
359372
|
if (isNaN(buildTime))
|
|
359314
359373
|
return;
|
|
359315
359374
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -406533,7 +406592,7 @@ var init_filesystem = __esm(() => {
|
|
|
406533
406592
|
});
|
|
406534
406593
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
406535
406594
|
const nonce = randomBytes17(16).toString("hex");
|
|
406536
|
-
return join106(getVivusTempDir(), "bundled-skills", "1.1.
|
|
406595
|
+
return join106(getVivusTempDir(), "bundled-skills", "1.1.22+17a6e62", nonce);
|
|
406537
406596
|
});
|
|
406538
406597
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
406539
406598
|
});
|
|
@@ -408293,7 +408352,7 @@ function Feedback({
|
|
|
408293
408352
|
platform: env3.platform,
|
|
408294
408353
|
gitRepo: envInfo.isGit,
|
|
408295
408354
|
terminal: env3.terminal,
|
|
408296
|
-
version: "1.1.
|
|
408355
|
+
version: "1.1.22+17a6e62",
|
|
408297
408356
|
transcript: normalizeMessagesForAPI(messages),
|
|
408298
408357
|
errors: sanitizedErrors,
|
|
408299
408358
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -408485,7 +408544,7 @@ function Feedback({
|
|
|
408485
408544
|
", ",
|
|
408486
408545
|
env3.terminal,
|
|
408487
408546
|
", v",
|
|
408488
|
-
"1.1.
|
|
408547
|
+
"1.1.22+17a6e62"
|
|
408489
408548
|
]
|
|
408490
408549
|
}, undefined, true, undefined, this)
|
|
408491
408550
|
]
|
|
@@ -408591,7 +408650,7 @@ ${sanitizedDescription}
|
|
|
408591
408650
|
` + `**Environment Info**
|
|
408592
408651
|
` + `- Platform: ${env3.platform}
|
|
408593
408652
|
` + `- Terminal: ${env3.terminal}
|
|
408594
|
-
` + `- Version: ${"1.1.
|
|
408653
|
+
` + `- Version: ${"1.1.22+17a6e62"}
|
|
408595
408654
|
` + `- Feedback ID: ${feedbackId}
|
|
408596
408655
|
` + `
|
|
408597
408656
|
**Errors**
|
|
@@ -411723,7 +411782,7 @@ function buildPrimarySection() {
|
|
|
411723
411782
|
}, undefined, false, undefined, this);
|
|
411724
411783
|
return [{
|
|
411725
411784
|
label: "Version",
|
|
411726
|
-
value: "1.1.
|
|
411785
|
+
value: "1.1.22+17a6e62"
|
|
411727
411786
|
}, {
|
|
411728
411787
|
label: "Session name",
|
|
411729
411788
|
value: nameValue
|
|
@@ -415474,7 +415533,7 @@ function Config({
|
|
|
415474
415533
|
}
|
|
415475
415534
|
}, undefined, false, undefined, this)
|
|
415476
415535
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
415477
|
-
currentVersion: "1.1.
|
|
415536
|
+
currentVersion: "1.1.22+17a6e62",
|
|
415478
415537
|
onChoice: (choice) => {
|
|
415479
415538
|
setShowSubmenu(null);
|
|
415480
415539
|
setTabsHidden(false);
|
|
@@ -415486,7 +415545,7 @@ function Config({
|
|
|
415486
415545
|
autoUpdatesChannel: "stable"
|
|
415487
415546
|
};
|
|
415488
415547
|
if (choice === "stay") {
|
|
415489
|
-
newSettings.minimumVersion = "1.1.
|
|
415548
|
+
newSettings.minimumVersion = "1.1.22+17a6e62";
|
|
415490
415549
|
}
|
|
415491
415550
|
updateSettingsForSource("userSettings", newSettings);
|
|
415492
415551
|
setSettingsData((prev_27) => ({
|
|
@@ -423572,7 +423631,7 @@ function HelpV2(t0) {
|
|
|
423572
423631
|
let t6;
|
|
423573
423632
|
if ($2[31] !== tabs) {
|
|
423574
423633
|
t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
|
|
423575
|
-
title: `Vivus v${"1.1.
|
|
423634
|
+
title: `Vivus v${"1.1.22+17a6e62"}`,
|
|
423576
423635
|
color: "professionalBlue",
|
|
423577
423636
|
defaultTab: "general",
|
|
423578
423637
|
children: tabs
|
|
@@ -447798,7 +447857,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
447798
447857
|
return [];
|
|
447799
447858
|
}
|
|
447800
447859
|
}
|
|
447801
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
447860
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.22+17a6e62") {
|
|
447802
447861
|
if (process.env.USER_TYPE === "ant") {
|
|
447803
447862
|
const changelog = "";
|
|
447804
447863
|
if (changelog) {
|
|
@@ -447825,7 +447884,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.21+37
|
|
|
447825
447884
|
releaseNotes
|
|
447826
447885
|
};
|
|
447827
447886
|
}
|
|
447828
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
447887
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.22+17a6e62") {
|
|
447829
447888
|
if (process.env.USER_TYPE === "ant") {
|
|
447830
447889
|
const changelog = "";
|
|
447831
447890
|
if (changelog) {
|
|
@@ -448995,7 +449054,7 @@ function getRecentActivitySync() {
|
|
|
448995
449054
|
return cachedActivity;
|
|
448996
449055
|
}
|
|
448997
449056
|
function getLogoDisplayData() {
|
|
448998
|
-
const version2 = process.env.DEMO_VERSION ?? "1.1.
|
|
449057
|
+
const version2 = process.env.DEMO_VERSION ?? "1.1.22+17a6e62";
|
|
448999
449058
|
const serverUrl = getDirectConnectServerUrl();
|
|
449000
449059
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
449001
449060
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -450522,7 +450581,7 @@ function LogoV2() {
|
|
|
450522
450581
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
450523
450582
|
t2 = () => {
|
|
450524
450583
|
const currentConfig = getGlobalConfig();
|
|
450525
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
450584
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.22+17a6e62") {
|
|
450526
450585
|
return;
|
|
450527
450586
|
}
|
|
450528
450587
|
saveGlobalConfig(_temp329);
|
|
@@ -451198,12 +451257,12 @@ function LogoV2() {
|
|
|
451198
451257
|
return t41;
|
|
451199
451258
|
}
|
|
451200
451259
|
function _temp329(current) {
|
|
451201
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
451260
|
+
if (current.lastReleaseNotesSeen === "1.1.22+17a6e62") {
|
|
451202
451261
|
return current;
|
|
451203
451262
|
}
|
|
451204
451263
|
return {
|
|
451205
451264
|
...current,
|
|
451206
|
-
lastReleaseNotesSeen: "1.1.
|
|
451265
|
+
lastReleaseNotesSeen: "1.1.22+17a6e62"
|
|
451207
451266
|
};
|
|
451208
451267
|
}
|
|
451209
451268
|
function _temp245(s_0) {
|
|
@@ -477500,7 +477559,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
477500
477559
|
smapsRollup,
|
|
477501
477560
|
platform: process.platform,
|
|
477502
477561
|
nodeVersion: process.version,
|
|
477503
|
-
ccVersion: "1.1.
|
|
477562
|
+
ccVersion: "1.1.22+17a6e62"
|
|
477504
477563
|
};
|
|
477505
477564
|
}
|
|
477506
477565
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -478086,7 +478145,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
478086
478145
|
var call56 = async () => {
|
|
478087
478146
|
return {
|
|
478088
478147
|
type: "text",
|
|
478089
|
-
value: `${"1.1.
|
|
478148
|
+
value: `${"1.1.22+17a6e62"} (built ${"2026-06-23T08:43:41.300Z"})`
|
|
478090
478149
|
};
|
|
478091
478150
|
}, version2, version_default;
|
|
478092
478151
|
var init_version = __esm(() => {
|
|
@@ -487369,7 +487428,7 @@ function generateHtmlReport(data, insights) {
|
|
|
487369
487428
|
</html>`;
|
|
487370
487429
|
}
|
|
487371
487430
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
487372
|
-
const version3 = typeof MACRO !== "undefined" ? "1.1.
|
|
487431
|
+
const version3 = typeof MACRO !== "undefined" ? "1.1.22+17a6e62" : "unknown";
|
|
487373
487432
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
487374
487433
|
const facets_summary = {
|
|
487375
487434
|
total: facets.size,
|
|
@@ -491480,7 +491539,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
491480
491539
|
init_settings2();
|
|
491481
491540
|
init_slowOperations();
|
|
491482
491541
|
init_uuid();
|
|
491483
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
491542
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.22+17a6e62" : "unknown";
|
|
491484
491543
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
491485
491544
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
491486
491545
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -494351,7 +494410,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
494351
494410
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
494352
494411
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
494353
494412
|
betas: getSdkBetas(),
|
|
494354
|
-
vivus_code_version: "1.1.
|
|
494413
|
+
vivus_code_version: "1.1.22+17a6e62",
|
|
494355
494414
|
output_style: outputStyle2,
|
|
494356
494415
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
494357
494416
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -508979,7 +509038,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
508979
509038
|
function getSemverPart(version3) {
|
|
508980
509039
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
508981
509040
|
}
|
|
508982
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
509041
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.22+17a6e62") {
|
|
508983
509042
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
|
|
508984
509043
|
if (!updatedVersion) {
|
|
508985
509044
|
return null;
|
|
@@ -509019,7 +509078,7 @@ function AutoUpdater({
|
|
|
509019
509078
|
return;
|
|
509020
509079
|
}
|
|
509021
509080
|
if (false) {}
|
|
509022
|
-
const currentVersion = "1.1.
|
|
509081
|
+
const currentVersion = "1.1.22+17a6e62";
|
|
509023
509082
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
509024
509083
|
let latestVersion = await getLatestVersion(channel);
|
|
509025
509084
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -509232,12 +509291,12 @@ function NativeAutoUpdater({
|
|
|
509232
509291
|
logEvent("tengu_native_auto_updater_start", {});
|
|
509233
509292
|
try {
|
|
509234
509293
|
const maxVersion = await getMaxVersion();
|
|
509235
|
-
if (maxVersion && gt("1.1.
|
|
509294
|
+
if (maxVersion && gt("1.1.22+17a6e62", maxVersion)) {
|
|
509236
509295
|
const msg = await getMaxVersionMessage();
|
|
509237
509296
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
509238
509297
|
}
|
|
509239
509298
|
const result = await installLatest(channel);
|
|
509240
|
-
const currentVersion = "1.1.
|
|
509299
|
+
const currentVersion = "1.1.22+17a6e62";
|
|
509241
509300
|
const latencyMs = Date.now() - startTime;
|
|
509242
509301
|
if (result.lockFailed) {
|
|
509243
509302
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -509374,17 +509433,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
509374
509433
|
const maxVersion = await getMaxVersion();
|
|
509375
509434
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
509376
509435
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
509377
|
-
if (gte("1.1.
|
|
509378
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
509436
|
+
if (gte("1.1.22+17a6e62", maxVersion)) {
|
|
509437
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.22+17a6e62"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
509379
509438
|
setUpdateAvailable(false);
|
|
509380
509439
|
return;
|
|
509381
509440
|
}
|
|
509382
509441
|
latest = maxVersion;
|
|
509383
509442
|
}
|
|
509384
|
-
const hasUpdate = latest && !gte("1.1.
|
|
509443
|
+
const hasUpdate = latest && !gte("1.1.22+17a6e62", latest) && !shouldSkipVersion(latest);
|
|
509385
509444
|
setUpdateAvailable(!!hasUpdate);
|
|
509386
509445
|
if (hasUpdate) {
|
|
509387
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
509446
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.22+17a6e62"} -> ${latest}`);
|
|
509388
509447
|
}
|
|
509389
509448
|
};
|
|
509390
509449
|
$2[0] = t1;
|
|
@@ -509418,7 +509477,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
509418
509477
|
wrap: "truncate",
|
|
509419
509478
|
children: [
|
|
509420
509479
|
"currentVersion: ",
|
|
509421
|
-
"1.1.
|
|
509480
|
+
"1.1.22+17a6e62"
|
|
509422
509481
|
]
|
|
509423
509482
|
}, undefined, true, undefined, this);
|
|
509424
509483
|
$2[3] = verbose;
|
|
@@ -517348,7 +517407,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
517348
517407
|
project_dir: getOriginalCwd(),
|
|
517349
517408
|
added_dirs: addedDirs
|
|
517350
517409
|
},
|
|
517351
|
-
version: "1.1.
|
|
517410
|
+
version: "1.1.22+17a6e62",
|
|
517352
517411
|
output_style: {
|
|
517353
517412
|
name: outputStyleName
|
|
517354
517413
|
},
|
|
@@ -528848,7 +528907,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
528848
528907
|
} catch {}
|
|
528849
528908
|
const data = {
|
|
528850
528909
|
trigger,
|
|
528851
|
-
version: "1.1.
|
|
528910
|
+
version: "1.1.22+17a6e62",
|
|
528852
528911
|
platform: process.platform,
|
|
528853
528912
|
transcript,
|
|
528854
528913
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -540266,7 +540325,7 @@ function WelcomeV2() {
|
|
|
540266
540325
|
dimColor: true,
|
|
540267
540326
|
children: [
|
|
540268
540327
|
"v",
|
|
540269
|
-
"1.1.
|
|
540328
|
+
"1.1.22+17a6e62",
|
|
540270
540329
|
" "
|
|
540271
540330
|
]
|
|
540272
540331
|
}, undefined, true, undefined, this)
|
|
@@ -540466,7 +540525,7 @@ function WelcomeV2() {
|
|
|
540466
540525
|
dimColor: true,
|
|
540467
540526
|
children: [
|
|
540468
540527
|
"v",
|
|
540469
|
-
"1.1.
|
|
540528
|
+
"1.1.22+17a6e62",
|
|
540470
540529
|
" "
|
|
540471
540530
|
]
|
|
540472
540531
|
}, undefined, true, undefined, this)
|
|
@@ -540692,7 +540751,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
540692
540751
|
dimColor: true,
|
|
540693
540752
|
children: [
|
|
540694
540753
|
"v",
|
|
540695
|
-
"1.1.
|
|
540754
|
+
"1.1.22+17a6e62",
|
|
540696
540755
|
" "
|
|
540697
540756
|
]
|
|
540698
540757
|
}, undefined, true, undefined, this);
|
|
@@ -540946,7 +541005,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
540946
541005
|
dimColor: true,
|
|
540947
541006
|
children: [
|
|
540948
541007
|
"v",
|
|
540949
|
-
"1.1.
|
|
541008
|
+
"1.1.22+17a6e62",
|
|
540950
541009
|
" "
|
|
540951
541010
|
]
|
|
540952
541011
|
}, undefined, true, undefined, this);
|
|
@@ -544011,7 +544070,7 @@ function appendToLog(path25, message) {
|
|
|
544011
544070
|
cwd: getFsImplementation().cwd(),
|
|
544012
544071
|
userType: process.env.USER_TYPE,
|
|
544013
544072
|
sessionId: getSessionId(),
|
|
544014
|
-
version: "1.1.
|
|
544073
|
+
version: "1.1.22+17a6e62"
|
|
544015
544074
|
};
|
|
544016
544075
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
544017
544076
|
}
|
|
@@ -547996,8 +548055,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
547996
548055
|
}
|
|
547997
548056
|
async function checkEnvLessBridgeMinVersion() {
|
|
547998
548057
|
const cfg = await getEnvLessBridgeConfig();
|
|
547999
|
-
if (cfg.min_version && lt("1.1.
|
|
548000
|
-
return `Your version of Vivus (${"1.1.
|
|
548058
|
+
if (cfg.min_version && lt("1.1.22+17a6e62", cfg.min_version)) {
|
|
548059
|
+
return `Your version of Vivus (${"1.1.22+17a6e62"}) is too old for Remote Control.
|
|
548001
548060
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
548002
548061
|
}
|
|
548003
548062
|
return null;
|
|
@@ -548471,7 +548530,7 @@ async function initBridgeCore(params) {
|
|
|
548471
548530
|
const rawApi = createBridgeApiClient({
|
|
548472
548531
|
baseUrl,
|
|
548473
548532
|
getAccessToken,
|
|
548474
|
-
runnerVersion: "1.1.
|
|
548533
|
+
runnerVersion: "1.1.22+17a6e62",
|
|
548475
548534
|
onDebug: logForDebugging,
|
|
548476
548535
|
onAuth401,
|
|
548477
548536
|
getTrustedDeviceToken
|
|
@@ -554136,7 +554195,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
554136
554195
|
setCwd(cwd3);
|
|
554137
554196
|
const server = new Server({
|
|
554138
554197
|
name: "vivus/tengu",
|
|
554139
|
-
version: "1.1.
|
|
554198
|
+
version: "1.1.22+17a6e62"
|
|
554140
554199
|
}, {
|
|
554141
554200
|
capabilities: {
|
|
554142
554201
|
tools: {}
|
|
@@ -555747,7 +555806,7 @@ __export(exports_update, {
|
|
|
555747
555806
|
});
|
|
555748
555807
|
async function update() {
|
|
555749
555808
|
logEvent("tengu_update_check", {});
|
|
555750
|
-
writeToStdout(`Current version: ${"1.1.
|
|
555809
|
+
writeToStdout(`Current version: ${"1.1.22+17a6e62"}
|
|
555751
555810
|
`);
|
|
555752
555811
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
555753
555812
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -555822,8 +555881,8 @@ async function update() {
|
|
|
555822
555881
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
555823
555882
|
`);
|
|
555824
555883
|
const latest = await getLatestVersion(channel);
|
|
555825
|
-
if (latest && !gte("1.1.
|
|
555826
|
-
writeToStdout(`Update available: ${"1.1.
|
|
555884
|
+
if (latest && !gte("1.1.22+17a6e62", latest)) {
|
|
555885
|
+
writeToStdout(`Update available: ${"1.1.22+17a6e62"} → ${latest}
|
|
555827
555886
|
`);
|
|
555828
555887
|
writeToStdout(`
|
|
555829
555888
|
`);
|
|
@@ -555839,8 +555898,8 @@ async function update() {
|
|
|
555839
555898
|
writeToStdout(`Vivus is managed by winget.
|
|
555840
555899
|
`);
|
|
555841
555900
|
const latest = await getLatestVersion(channel);
|
|
555842
|
-
if (latest && !gte("1.1.
|
|
555843
|
-
writeToStdout(`Update available: ${"1.1.
|
|
555901
|
+
if (latest && !gte("1.1.22+17a6e62", latest)) {
|
|
555902
|
+
writeToStdout(`Update available: ${"1.1.22+17a6e62"} → ${latest}
|
|
555844
555903
|
`);
|
|
555845
555904
|
writeToStdout(`
|
|
555846
555905
|
`);
|
|
@@ -555856,8 +555915,8 @@ async function update() {
|
|
|
555856
555915
|
writeToStdout(`Vivus is managed by apk.
|
|
555857
555916
|
`);
|
|
555858
555917
|
const latest = await getLatestVersion(channel);
|
|
555859
|
-
if (latest && !gte("1.1.
|
|
555860
|
-
writeToStdout(`Update available: ${"1.1.
|
|
555918
|
+
if (latest && !gte("1.1.22+17a6e62", latest)) {
|
|
555919
|
+
writeToStdout(`Update available: ${"1.1.22+17a6e62"} → ${latest}
|
|
555861
555920
|
`);
|
|
555862
555921
|
writeToStdout(`
|
|
555863
555922
|
`);
|
|
@@ -555922,11 +555981,11 @@ async function update() {
|
|
|
555922
555981
|
`);
|
|
555923
555982
|
await gracefulShutdown(1);
|
|
555924
555983
|
}
|
|
555925
|
-
if (result.latestVersion === "1.1.
|
|
555926
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
555984
|
+
if (result.latestVersion === "1.1.22+17a6e62") {
|
|
555985
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.22+17a6e62"})`) + `
|
|
555927
555986
|
`);
|
|
555928
555987
|
} else {
|
|
555929
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
555988
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.22+17a6e62"} to version ${result.latestVersion}`) + `
|
|
555930
555989
|
`);
|
|
555931
555990
|
await regenerateCompletionCache();
|
|
555932
555991
|
}
|
|
@@ -555983,12 +556042,12 @@ async function update() {
|
|
|
555983
556042
|
`);
|
|
555984
556043
|
await gracefulShutdown(1);
|
|
555985
556044
|
}
|
|
555986
|
-
if (latestVersion === "1.1.
|
|
555987
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
556045
|
+
if (latestVersion === "1.1.22+17a6e62") {
|
|
556046
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.22+17a6e62"})`) + `
|
|
555988
556047
|
`);
|
|
555989
556048
|
await gracefulShutdown(0);
|
|
555990
556049
|
}
|
|
555991
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
556050
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.22+17a6e62"})
|
|
555992
556051
|
`);
|
|
555993
556052
|
writeToStdout(`Installing update...
|
|
555994
556053
|
`);
|
|
@@ -556033,7 +556092,7 @@ async function update() {
|
|
|
556033
556092
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
556034
556093
|
switch (status2) {
|
|
556035
556094
|
case "success":
|
|
556036
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
556095
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.22+17a6e62"} to version ${latestVersion}`) + `
|
|
556037
556096
|
`);
|
|
556038
556097
|
await regenerateCompletionCache();
|
|
556039
556098
|
break;
|
|
@@ -557007,7 +557066,7 @@ function completeOnboarding() {
|
|
|
557007
557066
|
saveGlobalConfig((current) => ({
|
|
557008
557067
|
...current,
|
|
557009
557068
|
hasCompletedOnboarding: true,
|
|
557010
|
-
lastOnboardingVersion: "1.1.
|
|
557069
|
+
lastOnboardingVersion: "1.1.22+17a6e62"
|
|
557011
557070
|
}));
|
|
557012
557071
|
}
|
|
557013
557072
|
function showDialog(root2, renderer) {
|
|
@@ -561181,7 +561240,7 @@ ${customInstructions}` : customInstructions;
|
|
|
561181
561240
|
}
|
|
561182
561241
|
}
|
|
561183
561242
|
logForDiagnosticsNoPII("info", "started", {
|
|
561184
|
-
version: "1.1.
|
|
561243
|
+
version: "1.1.22+17a6e62",
|
|
561185
561244
|
is_native_binary: isInBundledMode()
|
|
561186
561245
|
});
|
|
561187
561246
|
registerCleanup(async () => {
|
|
@@ -561965,7 +562024,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
561965
562024
|
pendingHookMessages
|
|
561966
562025
|
}, renderAndRun);
|
|
561967
562026
|
}
|
|
561968
|
-
}).version("1.1.
|
|
562027
|
+
}).version("1.1.22+17a6e62 (Vivus)", "-v, --version", "Output the version number");
|
|
561969
562028
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
561970
562029
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
561971
562030
|
if (canUserConfigureAdvisor()) {
|