vivus-agent 1.1.33 → 1.1.35
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/bin/vivus.mjs +16 -9
- package/dist/main.js +108 -123
- package/package.json +1 -1
package/bin/vivus.mjs
CHANGED
|
@@ -8,15 +8,18 @@
|
|
|
8
8
|
// and tries to reach api.anthropic.com for inference.
|
|
9
9
|
//
|
|
10
10
|
// Two auth modes, chosen automatically:
|
|
11
|
-
// • API-key mode — when VIVUS_API_KEY / ANTHROPIC_API_KEY is set.
|
|
12
|
-
//
|
|
13
|
-
// for CI / headless servers.
|
|
11
|
+
// • API-key mode — when VIVUS_API_KEY / ANTHROPIC_API_KEY is set. The env
|
|
12
|
+
// key is the credential (it disables the OAuth onboarding step), so OAuth /
|
|
13
|
+
// keychain are never used. Ideal for CI / headless servers. NOTE: we do NOT
|
|
14
|
+
// pass --bare — it would disable auto-memory, auto-dream, skills, hooks, and
|
|
15
|
+
// VIVUS.md discovery. (It's inert under this launcher anyway since we set
|
|
16
|
+
// VIVUS_CODE_SIMPLE=0, but we omit it to avoid confusion.)
|
|
14
17
|
// • OAuth mode — when no key is set. Runs the normal onboarding so the
|
|
15
18
|
// user gets the "nice" sign-in flow: pick the service, the browser opens
|
|
16
19
|
// agent.vivus.ai, the connection is authorized, and a key is minted and
|
|
17
|
-
// stored. We must NOT
|
|
18
|
-
//
|
|
19
|
-
//
|
|
20
|
+
// stored. We must NOT put a key in env (an env key disables the OAuth
|
|
21
|
+
// onboarding step). `vivus login` and other management subcommands always
|
|
22
|
+
// run this way.
|
|
20
23
|
|
|
21
24
|
import { spawn, execFileSync } from 'node:child_process'
|
|
22
25
|
import { readFileSync, writeFileSync } from 'node:fs'
|
|
@@ -133,12 +136,16 @@ const apiKeyMode = !!envKey
|
|
|
133
136
|
const injected = []
|
|
134
137
|
if (isRepl) {
|
|
135
138
|
if (apiKeyMode) {
|
|
136
|
-
// API-key mode:
|
|
139
|
+
// API-key mode: the env key is the credential. Setting ANTHROPIC_API_KEY
|
|
140
|
+
// makes auth strictly that key (an external API key disables the OAuth
|
|
141
|
+
// onboarding step in isAnthropicAuthEnabled), so we do NOT pass --bare.
|
|
142
|
+
// --bare would otherwise disable auto-memory, auto-dream, skills, hooks,
|
|
143
|
+
// and VIVUS.md discovery — and it's inert here anyway because the launcher
|
|
144
|
+
// sets VIVUS_CODE_SIMPLE=0, which forces isBareMode() false regardless.
|
|
137
145
|
process.env.ANTHROPIC_API_KEY = envKey
|
|
138
|
-
if (!has('--bare')) injected.push('--bare')
|
|
139
146
|
}
|
|
140
147
|
// else OAuth mode — leave ANTHROPIC_API_KEY UNSET (an env key disables the
|
|
141
|
-
// OAuth onboarding step)
|
|
148
|
+
// OAuth onboarding step).
|
|
142
149
|
if (!has('--permission-mode')) injected.push('--permission-mode', 'acceptEdits')
|
|
143
150
|
if (!has('--agents')) injected.push('--agents', JSON.stringify(AGENTS))
|
|
144
151
|
} else if (apiKeyMode) {
|
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-
|
|
3
|
+
// Built from source at 2026-07-17T08:46:21.187Z
|
|
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.35+378be28"}`;
|
|
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.35+378be28"} (${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.35+378be28"}${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.35+378be28",
|
|
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.35+378be28".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.35+378be28",
|
|
119648
119648
|
versionBase: getVersionBase(),
|
|
119649
|
-
buildTime: "2026-
|
|
119649
|
+
buildTime: "2026-07-17T08:46:20.419Z",
|
|
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.35+378be28"
|
|
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.35+378be28");
|
|
120345
120345
|
}
|
|
120346
120346
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
120347
120347
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -162555,7 +162555,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
162555
162555
|
if (!isAttributionHeaderEnabled()) {
|
|
162556
162556
|
return "";
|
|
162557
162557
|
}
|
|
162558
|
-
const version2 = `${"1.1.
|
|
162558
|
+
const version2 = `${"1.1.35+378be28"}.${fingerprint}`;
|
|
162559
162559
|
const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
|
|
162560
162560
|
const cch = "";
|
|
162561
162561
|
const workload = getWorkload();
|
|
@@ -175718,7 +175718,7 @@ function getTelemetryAttributes() {
|
|
|
175718
175718
|
attributes["session.id"] = sessionId;
|
|
175719
175719
|
}
|
|
175720
175720
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
175721
|
-
attributes["app.version"] = "1.1.
|
|
175721
|
+
attributes["app.version"] = "1.1.35+378be28";
|
|
175722
175722
|
}
|
|
175723
175723
|
const oauthAccount = getOauthAccountInfo();
|
|
175724
175724
|
if (oauthAccount) {
|
|
@@ -242288,7 +242288,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
242288
242288
|
}
|
|
242289
242289
|
function computeFingerprintFromMessages(messages) {
|
|
242290
242290
|
const firstMessageText = extractFirstMessageText(messages);
|
|
242291
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
242291
|
+
return computeFingerprint(firstMessageText, "1.1.35+378be28");
|
|
242292
242292
|
}
|
|
242293
242293
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
242294
242294
|
var init_fingerprint = () => {};
|
|
@@ -242330,7 +242330,7 @@ async function sideQuery(opts) {
|
|
|
242330
242330
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
242331
242331
|
}
|
|
242332
242332
|
const messageText = extractFirstUserMessageText(messages);
|
|
242333
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
242333
|
+
const fingerprint = computeFingerprint(messageText, "1.1.35+378be28");
|
|
242334
242334
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
242335
242335
|
const systemBlocks = [
|
|
242336
242336
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -243482,7 +243482,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
243482
243482
|
const client2 = new Client({
|
|
243483
243483
|
name: "vivus",
|
|
243484
243484
|
title: "Vivus",
|
|
243485
|
-
version: "1.1.
|
|
243485
|
+
version: "1.1.35+378be28",
|
|
243486
243486
|
description: "Anthropic's agentic coding tool",
|
|
243487
243487
|
websiteUrl: PRODUCT_URL
|
|
243488
243488
|
}, {
|
|
@@ -243836,7 +243836,7 @@ var init_client6 = __esm(() => {
|
|
|
243836
243836
|
const client2 = new Client({
|
|
243837
243837
|
name: "vivus",
|
|
243838
243838
|
title: "Vivus",
|
|
243839
|
-
version: "1.1.
|
|
243839
|
+
version: "1.1.35+378be28",
|
|
243840
243840
|
description: "Anthropic's agentic coding tool",
|
|
243841
243841
|
websiteUrl: PRODUCT_URL
|
|
243842
243842
|
}, {
|
|
@@ -245897,7 +245897,7 @@ function getInstallationEnv() {
|
|
|
245897
245897
|
return;
|
|
245898
245898
|
}
|
|
245899
245899
|
function getVivusCodeVersion() {
|
|
245900
|
-
return "1.1.
|
|
245900
|
+
return "1.1.35+378be28";
|
|
245901
245901
|
}
|
|
245902
245902
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
245903
245903
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -256734,24 +256734,6 @@ async function getImagePathFromClipboard() {
|
|
|
256734
256734
|
return null;
|
|
256735
256735
|
}
|
|
256736
256736
|
}
|
|
256737
|
-
async function getClipboardText() {
|
|
256738
|
-
const platform4 = process.platform;
|
|
256739
|
-
const readers = {
|
|
256740
|
-
darwin: "pbpaste",
|
|
256741
|
-
linux: "xclip -selection clipboard -o 2>/dev/null || wl-paste --no-newline 2>/dev/null",
|
|
256742
|
-
win32: 'powershell -NoProfile -Command "Get-Clipboard"'
|
|
256743
|
-
};
|
|
256744
|
-
const command = readers[platform4] || readers.linux;
|
|
256745
|
-
try {
|
|
256746
|
-
const result = await execa(command, { shell: true, reject: false });
|
|
256747
|
-
if (result.exitCode !== 0) {
|
|
256748
|
-
return "";
|
|
256749
|
-
}
|
|
256750
|
-
return result.stdout ?? "";
|
|
256751
|
-
} catch {
|
|
256752
|
-
return "";
|
|
256753
|
-
}
|
|
256754
|
-
}
|
|
256755
256737
|
function removeOuterQuotes(text2) {
|
|
256756
256738
|
if (text2.startsWith('"') && text2.endsWith('"') || text2.startsWith("'") && text2.endsWith("'")) {
|
|
256757
256739
|
return text2.slice(1, -1);
|
|
@@ -300995,7 +300977,7 @@ async function initializeBetaTracing(resource) {
|
|
|
300995
300977
|
});
|
|
300996
300978
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
300997
300979
|
setLoggerProvider(loggerProvider);
|
|
300998
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
300980
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.35+378be28");
|
|
300999
300981
|
setEventLogger(eventLogger);
|
|
301000
300982
|
process.on("beforeExit", async () => {
|
|
301001
300983
|
await loggerProvider?.forceFlush();
|
|
@@ -301035,7 +301017,7 @@ async function initializeTelemetry() {
|
|
|
301035
301017
|
const platform5 = getPlatform();
|
|
301036
301018
|
const baseAttributes = {
|
|
301037
301019
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
301038
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
301020
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.35+378be28"
|
|
301039
301021
|
};
|
|
301040
301022
|
if (platform5 === "wsl") {
|
|
301041
301023
|
const wslVersion = getWslVersion();
|
|
@@ -301080,7 +301062,7 @@ async function initializeTelemetry() {
|
|
|
301080
301062
|
} catch {}
|
|
301081
301063
|
};
|
|
301082
301064
|
registerCleanup(shutdownTelemetry2);
|
|
301083
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.
|
|
301065
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.35+378be28");
|
|
301084
301066
|
}
|
|
301085
301067
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
301086
301068
|
resource,
|
|
@@ -301100,7 +301082,7 @@ async function initializeTelemetry() {
|
|
|
301100
301082
|
});
|
|
301101
301083
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
301102
301084
|
setLoggerProvider(loggerProvider);
|
|
301103
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
301085
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.35+378be28");
|
|
301104
301086
|
setEventLogger(eventLogger);
|
|
301105
301087
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
301106
301088
|
process.on("beforeExit", async () => {
|
|
@@ -301162,7 +301144,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
301162
301144
|
}
|
|
301163
301145
|
};
|
|
301164
301146
|
registerCleanup(shutdownTelemetry);
|
|
301165
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.
|
|
301147
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.35+378be28");
|
|
301166
301148
|
}
|
|
301167
301149
|
async function flushTelemetry() {
|
|
301168
301150
|
const meterProvider = getMeterProvider();
|
|
@@ -301848,9 +301830,9 @@ async function assertMinVersion() {
|
|
|
301848
301830
|
if (false) {}
|
|
301849
301831
|
try {
|
|
301850
301832
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
301851
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
301833
|
+
if (versionConfig.minVersion && lt("1.1.35+378be28", versionConfig.minVersion)) {
|
|
301852
301834
|
console.error(`
|
|
301853
|
-
It looks like your version of Vivus (${"1.1.
|
|
301835
|
+
It looks like your version of Vivus (${"1.1.35+378be28"}) needs an update.
|
|
301854
301836
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
301855
301837
|
|
|
301856
301838
|
To update, please run:
|
|
@@ -302066,7 +302048,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
302066
302048
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
302067
302049
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
302068
302050
|
pid: process.pid,
|
|
302069
|
-
currentVersion: "1.1.
|
|
302051
|
+
currentVersion: "1.1.35+378be28"
|
|
302070
302052
|
});
|
|
302071
302053
|
return "in_progress";
|
|
302072
302054
|
}
|
|
@@ -302075,7 +302057,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
302075
302057
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
302076
302058
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
302077
302059
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
302078
|
-
currentVersion: "1.1.
|
|
302060
|
+
currentVersion: "1.1.35+378be28"
|
|
302079
302061
|
});
|
|
302080
302062
|
console.error(`
|
|
302081
302063
|
Error: Windows NPM detected in WSL
|
|
@@ -302608,7 +302590,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
302608
302590
|
}
|
|
302609
302591
|
async function getDoctorDiagnostic() {
|
|
302610
302592
|
const installationType = await getCurrentInstallationType();
|
|
302611
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
302593
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.35+378be28" : "unknown";
|
|
302612
302594
|
const installationPath = await getInstallationPath();
|
|
302613
302595
|
const invokedBinary = getInvokedBinary();
|
|
302614
302596
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -303541,8 +303523,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
303541
303523
|
const maxVersion = await getMaxVersion();
|
|
303542
303524
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
303543
303525
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
303544
|
-
if (gte("1.1.
|
|
303545
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
303526
|
+
if (gte("1.1.35+378be28", maxVersion)) {
|
|
303527
|
+
logForDebugging(`Native installer: current version ${"1.1.35+378be28"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
303546
303528
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
303547
303529
|
latency_ms: Date.now() - startTime,
|
|
303548
303530
|
max_version: maxVersion,
|
|
@@ -303553,7 +303535,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
303553
303535
|
version2 = maxVersion;
|
|
303554
303536
|
}
|
|
303555
303537
|
}
|
|
303556
|
-
if (!forceReinstall && version2 === "1.1.
|
|
303538
|
+
if (!forceReinstall && version2 === "1.1.35+378be28" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
303557
303539
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
303558
303540
|
logEvent("tengu_native_update_complete", {
|
|
303559
303541
|
latency_ms: Date.now() - startTime,
|
|
@@ -359471,7 +359453,7 @@ function getAnthropicEnvMetadata() {
|
|
|
359471
359453
|
function getBuildAgeMinutes() {
|
|
359472
359454
|
if (false)
|
|
359473
359455
|
;
|
|
359474
|
-
const buildTime = new Date("2026-
|
|
359456
|
+
const buildTime = new Date("2026-07-17T08:46:20.419Z").getTime();
|
|
359475
359457
|
if (isNaN(buildTime))
|
|
359476
359458
|
return;
|
|
359477
359459
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -406695,7 +406677,7 @@ var init_filesystem = __esm(() => {
|
|
|
406695
406677
|
});
|
|
406696
406678
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
406697
406679
|
const nonce = randomBytes17(16).toString("hex");
|
|
406698
|
-
return join107(getVivusTempDir(), "bundled-skills", "1.1.
|
|
406680
|
+
return join107(getVivusTempDir(), "bundled-skills", "1.1.35+378be28", nonce);
|
|
406699
406681
|
});
|
|
406700
406682
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
406701
406683
|
});
|
|
@@ -408455,7 +408437,7 @@ function Feedback({
|
|
|
408455
408437
|
platform: env3.platform,
|
|
408456
408438
|
gitRepo: envInfo.isGit,
|
|
408457
408439
|
terminal: env3.terminal,
|
|
408458
|
-
version: "1.1.
|
|
408440
|
+
version: "1.1.35+378be28",
|
|
408459
408441
|
transcript: normalizeMessagesForAPI(messages),
|
|
408460
408442
|
errors: sanitizedErrors,
|
|
408461
408443
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -408647,7 +408629,7 @@ function Feedback({
|
|
|
408647
408629
|
", ",
|
|
408648
408630
|
env3.terminal,
|
|
408649
408631
|
", v",
|
|
408650
|
-
"1.1.
|
|
408632
|
+
"1.1.35+378be28"
|
|
408651
408633
|
]
|
|
408652
408634
|
}, undefined, true, undefined, this)
|
|
408653
408635
|
]
|
|
@@ -408753,7 +408735,7 @@ ${sanitizedDescription}
|
|
|
408753
408735
|
` + `**Environment Info**
|
|
408754
408736
|
` + `- Platform: ${env3.platform}
|
|
408755
408737
|
` + `- Terminal: ${env3.terminal}
|
|
408756
|
-
` + `- Version: ${"1.1.
|
|
408738
|
+
` + `- Version: ${"1.1.35+378be28"}
|
|
408757
408739
|
` + `- Feedback ID: ${feedbackId}
|
|
408758
408740
|
` + `
|
|
408759
408741
|
**Errors**
|
|
@@ -411885,7 +411867,7 @@ function buildPrimarySection() {
|
|
|
411885
411867
|
}, undefined, false, undefined, this);
|
|
411886
411868
|
return [{
|
|
411887
411869
|
label: "Version",
|
|
411888
|
-
value: "1.1.
|
|
411870
|
+
value: "1.1.35+378be28"
|
|
411889
411871
|
}, {
|
|
411890
411872
|
label: "Session name",
|
|
411891
411873
|
value: nameValue
|
|
@@ -415636,7 +415618,7 @@ function Config({
|
|
|
415636
415618
|
}
|
|
415637
415619
|
}, undefined, false, undefined, this)
|
|
415638
415620
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
415639
|
-
currentVersion: "1.1.
|
|
415621
|
+
currentVersion: "1.1.35+378be28",
|
|
415640
415622
|
onChoice: (choice) => {
|
|
415641
415623
|
setShowSubmenu(null);
|
|
415642
415624
|
setTabsHidden(false);
|
|
@@ -415648,7 +415630,7 @@ function Config({
|
|
|
415648
415630
|
autoUpdatesChannel: "stable"
|
|
415649
415631
|
};
|
|
415650
415632
|
if (choice === "stay") {
|
|
415651
|
-
newSettings.minimumVersion = "1.1.
|
|
415633
|
+
newSettings.minimumVersion = "1.1.35+378be28";
|
|
415652
415634
|
}
|
|
415653
415635
|
updateSettingsForSource("userSettings", newSettings);
|
|
415654
415636
|
setSettingsData((prev_27) => ({
|
|
@@ -423734,7 +423716,7 @@ function HelpV2(t0) {
|
|
|
423734
423716
|
let t6;
|
|
423735
423717
|
if ($2[31] !== tabs) {
|
|
423736
423718
|
t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
|
|
423737
|
-
title: `Vivus v${"1.1.
|
|
423719
|
+
title: `Vivus v${"1.1.35+378be28"}`,
|
|
423738
423720
|
color: "professionalBlue",
|
|
423739
423721
|
defaultTab: "general",
|
|
423740
423722
|
children: tabs
|
|
@@ -447960,7 +447942,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
447960
447942
|
return [];
|
|
447961
447943
|
}
|
|
447962
447944
|
}
|
|
447963
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
447945
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.35+378be28") {
|
|
447964
447946
|
if (process.env.USER_TYPE === "ant") {
|
|
447965
447947
|
const changelog = "";
|
|
447966
447948
|
if (changelog) {
|
|
@@ -447987,7 +447969,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.33+28
|
|
|
447987
447969
|
releaseNotes
|
|
447988
447970
|
};
|
|
447989
447971
|
}
|
|
447990
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
447972
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.35+378be28") {
|
|
447991
447973
|
if (process.env.USER_TYPE === "ant") {
|
|
447992
447974
|
const changelog = "";
|
|
447993
447975
|
if (changelog) {
|
|
@@ -449157,7 +449139,7 @@ function getRecentActivitySync() {
|
|
|
449157
449139
|
return cachedActivity;
|
|
449158
449140
|
}
|
|
449159
449141
|
function getLogoDisplayData() {
|
|
449160
|
-
const version2 = process.env.DEMO_VERSION ?? "1.1.
|
|
449142
|
+
const version2 = process.env.DEMO_VERSION ?? "1.1.35+378be28";
|
|
449161
449143
|
const serverUrl = getDirectConnectServerUrl();
|
|
449162
449144
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
449163
449145
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -450684,7 +450666,7 @@ function LogoV2() {
|
|
|
450684
450666
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
450685
450667
|
t2 = () => {
|
|
450686
450668
|
const currentConfig = getGlobalConfig();
|
|
450687
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
450669
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.35+378be28") {
|
|
450688
450670
|
return;
|
|
450689
450671
|
}
|
|
450690
450672
|
saveGlobalConfig(_temp329);
|
|
@@ -451360,12 +451342,12 @@ function LogoV2() {
|
|
|
451360
451342
|
return t41;
|
|
451361
451343
|
}
|
|
451362
451344
|
function _temp329(current) {
|
|
451363
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
451345
|
+
if (current.lastReleaseNotesSeen === "1.1.35+378be28") {
|
|
451364
451346
|
return current;
|
|
451365
451347
|
}
|
|
451366
451348
|
return {
|
|
451367
451349
|
...current,
|
|
451368
|
-
lastReleaseNotesSeen: "1.1.
|
|
451350
|
+
lastReleaseNotesSeen: "1.1.35+378be28"
|
|
451369
451351
|
};
|
|
451370
451352
|
}
|
|
451371
451353
|
function _temp245(s_0) {
|
|
@@ -477662,7 +477644,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
477662
477644
|
smapsRollup,
|
|
477663
477645
|
platform: process.platform,
|
|
477664
477646
|
nodeVersion: process.version,
|
|
477665
|
-
ccVersion: "1.1.
|
|
477647
|
+
ccVersion: "1.1.35+378be28"
|
|
477666
477648
|
};
|
|
477667
477649
|
}
|
|
477668
477650
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -478248,7 +478230,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
478248
478230
|
var call56 = async () => {
|
|
478249
478231
|
return {
|
|
478250
478232
|
type: "text",
|
|
478251
|
-
value: `${"1.1.
|
|
478233
|
+
value: `${"1.1.35+378be28"} (built ${"2026-07-17T08:46:20.419Z"})`
|
|
478252
478234
|
};
|
|
478253
478235
|
}, version2, version_default;
|
|
478254
478236
|
var init_version = __esm(() => {
|
|
@@ -487531,7 +487513,7 @@ function generateHtmlReport(data, insights) {
|
|
|
487531
487513
|
</html>`;
|
|
487532
487514
|
}
|
|
487533
487515
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
487534
|
-
const version3 = typeof MACRO !== "undefined" ? "1.1.
|
|
487516
|
+
const version3 = typeof MACRO !== "undefined" ? "1.1.35+378be28" : "unknown";
|
|
487535
487517
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
487536
487518
|
const facets_summary = {
|
|
487537
487519
|
total: facets.size,
|
|
@@ -491642,7 +491624,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
491642
491624
|
init_settings2();
|
|
491643
491625
|
init_slowOperations();
|
|
491644
491626
|
init_uuid();
|
|
491645
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
491627
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.35+378be28" : "unknown";
|
|
491646
491628
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
491647
491629
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
491648
491630
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -494514,7 +494496,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
494514
494496
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
494515
494497
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
494516
494498
|
betas: getSdkBetas(),
|
|
494517
|
-
vivus_code_version: "1.1.
|
|
494499
|
+
vivus_code_version: "1.1.35+378be28",
|
|
494518
494500
|
output_style: outputStyle2,
|
|
494519
494501
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
494520
494502
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -509142,7 +509124,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
509142
509124
|
function getSemverPart(version3) {
|
|
509143
509125
|
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
509144
509126
|
}
|
|
509145
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
509127
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.35+378be28") {
|
|
509146
509128
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
|
|
509147
509129
|
if (!updatedVersion) {
|
|
509148
509130
|
return null;
|
|
@@ -509182,7 +509164,7 @@ function AutoUpdater({
|
|
|
509182
509164
|
return;
|
|
509183
509165
|
}
|
|
509184
509166
|
if (false) {}
|
|
509185
|
-
const currentVersion = "1.1.
|
|
509167
|
+
const currentVersion = "1.1.35+378be28";
|
|
509186
509168
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
509187
509169
|
let latestVersion = await getLatestVersion(channel);
|
|
509188
509170
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -509395,12 +509377,12 @@ function NativeAutoUpdater({
|
|
|
509395
509377
|
logEvent("tengu_native_auto_updater_start", {});
|
|
509396
509378
|
try {
|
|
509397
509379
|
const maxVersion = await getMaxVersion();
|
|
509398
|
-
if (maxVersion && gt("1.1.
|
|
509380
|
+
if (maxVersion && gt("1.1.35+378be28", maxVersion)) {
|
|
509399
509381
|
const msg = await getMaxVersionMessage();
|
|
509400
509382
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
509401
509383
|
}
|
|
509402
509384
|
const result = await installLatest(channel);
|
|
509403
|
-
const currentVersion = "1.1.
|
|
509385
|
+
const currentVersion = "1.1.35+378be28";
|
|
509404
509386
|
const latencyMs = Date.now() - startTime;
|
|
509405
509387
|
if (result.lockFailed) {
|
|
509406
509388
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -509537,17 +509519,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
509537
509519
|
const maxVersion = await getMaxVersion();
|
|
509538
509520
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
509539
509521
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
509540
|
-
if (gte("1.1.
|
|
509541
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
509522
|
+
if (gte("1.1.35+378be28", maxVersion)) {
|
|
509523
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.35+378be28"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
509542
509524
|
setUpdateAvailable(false);
|
|
509543
509525
|
return;
|
|
509544
509526
|
}
|
|
509545
509527
|
latest = maxVersion;
|
|
509546
509528
|
}
|
|
509547
|
-
const hasUpdate = latest && !gte("1.1.
|
|
509529
|
+
const hasUpdate = latest && !gte("1.1.35+378be28", latest) && !shouldSkipVersion(latest);
|
|
509548
509530
|
setUpdateAvailable(!!hasUpdate);
|
|
509549
509531
|
if (hasUpdate) {
|
|
509550
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
509532
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.35+378be28"} -> ${latest}`);
|
|
509551
509533
|
}
|
|
509552
509534
|
};
|
|
509553
509535
|
$2[0] = t1;
|
|
@@ -509581,7 +509563,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
509581
509563
|
wrap: "truncate",
|
|
509582
509564
|
children: [
|
|
509583
509565
|
"currentVersion: ",
|
|
509584
|
-
"1.1.
|
|
509566
|
+
"1.1.35+378be28"
|
|
509585
509567
|
]
|
|
509586
509568
|
}, undefined, true, undefined, this);
|
|
509587
509569
|
$2[3] = verbose;
|
|
@@ -517511,7 +517493,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
517511
517493
|
project_dir: getOriginalCwd(),
|
|
517512
517494
|
added_dirs: addedDirs
|
|
517513
517495
|
},
|
|
517514
|
-
version: "1.1.
|
|
517496
|
+
version: "1.1.35+378be28",
|
|
517515
517497
|
output_style: {
|
|
517516
517498
|
name: outputStyleName
|
|
517517
517499
|
},
|
|
@@ -520913,27 +520895,20 @@ function PromptInput({
|
|
|
520913
520895
|
const handleAutoModeOptInDecline = import_react260.useCallback(() => {
|
|
520914
520896
|
if (false) {}
|
|
520915
520897
|
}, [previousModeBeforeAuto, toolPermissionContext, setAppState, setToolPermissionContext]);
|
|
520916
|
-
const onTextPasteRef = import_react260.useRef(onTextPaste);
|
|
520917
|
-
onTextPasteRef.current = onTextPaste;
|
|
520918
520898
|
const handleImagePaste = import_react260.useCallback(() => {
|
|
520919
|
-
getImageFromClipboard().then(
|
|
520899
|
+
getImageFromClipboard().then((imageData) => {
|
|
520920
520900
|
if (imageData) {
|
|
520921
520901
|
onImagePaste(imageData.base64, imageData.mediaType);
|
|
520922
|
-
|
|
520923
|
-
|
|
520924
|
-
|
|
520925
|
-
|
|
520926
|
-
|
|
520927
|
-
|
|
520902
|
+
} else {
|
|
520903
|
+
const shortcutDisplay = getShortcutDisplay("chat:imagePaste", "Chat", "ctrl+v");
|
|
520904
|
+
const message = env3.isSSH() ? "No image found in clipboard. You're SSH'd; try scp?" : `No image found in clipboard. Use ${shortcutDisplay} to paste images.`;
|
|
520905
|
+
addNotification({
|
|
520906
|
+
key: "no-image-in-clipboard",
|
|
520907
|
+
text: message,
|
|
520908
|
+
priority: "immediate",
|
|
520909
|
+
timeoutMs: 1000
|
|
520910
|
+
});
|
|
520928
520911
|
}
|
|
520929
|
-
const shortcutDisplay = getShortcutDisplay("chat:imagePaste", "Chat", "ctrl+v");
|
|
520930
|
-
const message = env3.isSSH() ? "No image found in clipboard. You're SSH'd; try scp?" : `No image found in clipboard. Use ${shortcutDisplay} to paste images.`;
|
|
520931
|
-
addNotification({
|
|
520932
|
-
key: "no-image-in-clipboard",
|
|
520933
|
-
text: message,
|
|
520934
|
-
priority: "immediate",
|
|
520935
|
-
timeoutMs: 1000
|
|
520936
|
-
});
|
|
520937
520912
|
});
|
|
520938
520913
|
}, [addNotification, onImagePaste]);
|
|
520939
520914
|
const keybindingContext = useOptionalKeybindingContext();
|
|
@@ -527677,6 +527652,7 @@ async function processResumedConversation(result, opts, context2) {
|
|
|
527677
527652
|
restoredAgentDef: restoredAgent,
|
|
527678
527653
|
initialState: {
|
|
527679
527654
|
...context2.initialState,
|
|
527655
|
+
mainLoopModel: getUserSpecifiedModelSetting() ?? null,
|
|
527680
527656
|
...resumedAgentType && { agent: resumedAgentType },
|
|
527681
527657
|
...restoredAttribution && { attribution: restoredAttribution },
|
|
527682
527658
|
...standaloneAgentContext && { standaloneAgentContext },
|
|
@@ -529018,7 +528994,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
529018
528994
|
} catch {}
|
|
529019
528995
|
const data = {
|
|
529020
528996
|
trigger,
|
|
529021
|
-
version: "1.1.
|
|
528997
|
+
version: "1.1.35+378be28",
|
|
529022
528998
|
platform: process.platform,
|
|
529023
528999
|
transcript,
|
|
529024
529000
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -537284,7 +537260,9 @@ function REPL({
|
|
|
537284
537260
|
setMainThreadAgentDefinition(restoredAgent);
|
|
537285
537261
|
setAppState((prev) => ({
|
|
537286
537262
|
...prev,
|
|
537287
|
-
agent: restoredAgent?.agentType
|
|
537263
|
+
agent: restoredAgent?.agentType,
|
|
537264
|
+
mainLoopModel: getUserSpecifiedModelSetting() ?? null,
|
|
537265
|
+
mainLoopModelForSession: null
|
|
537288
537266
|
}));
|
|
537289
537267
|
setAppState((prev) => ({
|
|
537290
537268
|
...prev,
|
|
@@ -539819,6 +539797,7 @@ var init_REPL = __esm(() => {
|
|
|
539819
539797
|
init_agentToolUtils();
|
|
539820
539798
|
init_resumeAgent();
|
|
539821
539799
|
init_useMainLoopModel();
|
|
539800
|
+
init_model();
|
|
539822
539801
|
init_AppState();
|
|
539823
539802
|
init_plans();
|
|
539824
539803
|
init_sessionStorage();
|
|
@@ -540437,7 +540416,7 @@ function WelcomeV2() {
|
|
|
540437
540416
|
dimColor: true,
|
|
540438
540417
|
children: [
|
|
540439
540418
|
"v",
|
|
540440
|
-
"1.1.
|
|
540419
|
+
"1.1.35+378be28",
|
|
540441
540420
|
" "
|
|
540442
540421
|
]
|
|
540443
540422
|
}, undefined, true, undefined, this)
|
|
@@ -540637,7 +540616,7 @@ function WelcomeV2() {
|
|
|
540637
540616
|
dimColor: true,
|
|
540638
540617
|
children: [
|
|
540639
540618
|
"v",
|
|
540640
|
-
"1.1.
|
|
540619
|
+
"1.1.35+378be28",
|
|
540641
540620
|
" "
|
|
540642
540621
|
]
|
|
540643
540622
|
}, undefined, true, undefined, this)
|
|
@@ -540863,7 +540842,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
540863
540842
|
dimColor: true,
|
|
540864
540843
|
children: [
|
|
540865
540844
|
"v",
|
|
540866
|
-
"1.1.
|
|
540845
|
+
"1.1.35+378be28",
|
|
540867
540846
|
" "
|
|
540868
540847
|
]
|
|
540869
540848
|
}, undefined, true, undefined, this);
|
|
@@ -541117,7 +541096,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
541117
541096
|
dimColor: true,
|
|
541118
541097
|
children: [
|
|
541119
541098
|
"v",
|
|
541120
|
-
"1.1.
|
|
541099
|
+
"1.1.35+378be28",
|
|
541121
541100
|
" "
|
|
541122
541101
|
]
|
|
541123
541102
|
}, undefined, true, undefined, this);
|
|
@@ -543698,6 +543677,11 @@ function ResumeConversation({
|
|
|
543698
543677
|
const {
|
|
543699
543678
|
agentDefinition: resolvedAgentDef
|
|
543700
543679
|
} = restoreAgentFromSession(result_3.agentSetting, mainThreadAgentDefinition, agentDefinitions);
|
|
543680
|
+
setAppState((prev) => ({
|
|
543681
|
+
...prev,
|
|
543682
|
+
mainLoopModel: getUserSpecifiedModelSetting() ?? null,
|
|
543683
|
+
mainLoopModelForSession: null
|
|
543684
|
+
}));
|
|
543701
543685
|
setAppState((prev_1) => ({
|
|
543702
543686
|
...prev_1,
|
|
543703
543687
|
agent: resolvedAgentDef?.agentType
|
|
@@ -543949,6 +543933,7 @@ var init_ResumeConversation = __esm(() => {
|
|
|
543949
543933
|
init_crossProjectResume();
|
|
543950
543934
|
init_log3();
|
|
543951
543935
|
init_messages3();
|
|
543936
|
+
init_model();
|
|
543952
543937
|
init_sessionRestore();
|
|
543953
543938
|
init_sessionStorage();
|
|
543954
543939
|
init_REPL();
|
|
@@ -544182,7 +544167,7 @@ function appendToLog(path25, message) {
|
|
|
544182
544167
|
cwd: getFsImplementation().cwd(),
|
|
544183
544168
|
userType: process.env.USER_TYPE,
|
|
544184
544169
|
sessionId: getSessionId(),
|
|
544185
|
-
version: "1.1.
|
|
544170
|
+
version: "1.1.35+378be28"
|
|
544186
544171
|
};
|
|
544187
544172
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
544188
544173
|
}
|
|
@@ -548167,8 +548152,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
548167
548152
|
}
|
|
548168
548153
|
async function checkEnvLessBridgeMinVersion() {
|
|
548169
548154
|
const cfg = await getEnvLessBridgeConfig();
|
|
548170
|
-
if (cfg.min_version && lt("1.1.
|
|
548171
|
-
return `Your version of Vivus (${"1.1.
|
|
548155
|
+
if (cfg.min_version && lt("1.1.35+378be28", cfg.min_version)) {
|
|
548156
|
+
return `Your version of Vivus (${"1.1.35+378be28"}) is too old for Remote Control.
|
|
548172
548157
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
548173
548158
|
}
|
|
548174
548159
|
return null;
|
|
@@ -548642,7 +548627,7 @@ async function initBridgeCore(params) {
|
|
|
548642
548627
|
const rawApi = createBridgeApiClient({
|
|
548643
548628
|
baseUrl,
|
|
548644
548629
|
getAccessToken,
|
|
548645
|
-
runnerVersion: "1.1.
|
|
548630
|
+
runnerVersion: "1.1.35+378be28",
|
|
548646
548631
|
onDebug: logForDebugging,
|
|
548647
548632
|
onAuth401,
|
|
548648
548633
|
getTrustedDeviceToken
|
|
@@ -554307,7 +554292,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
554307
554292
|
setCwd(cwd3);
|
|
554308
554293
|
const server = new Server({
|
|
554309
554294
|
name: "vivus/tengu",
|
|
554310
|
-
version: "1.1.
|
|
554295
|
+
version: "1.1.35+378be28"
|
|
554311
554296
|
}, {
|
|
554312
554297
|
capabilities: {
|
|
554313
554298
|
tools: {}
|
|
@@ -555918,7 +555903,7 @@ __export(exports_update, {
|
|
|
555918
555903
|
});
|
|
555919
555904
|
async function update() {
|
|
555920
555905
|
logEvent("tengu_update_check", {});
|
|
555921
|
-
writeToStdout(`Current version: ${"1.1.
|
|
555906
|
+
writeToStdout(`Current version: ${"1.1.35+378be28"}
|
|
555922
555907
|
`);
|
|
555923
555908
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
555924
555909
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -555993,8 +555978,8 @@ async function update() {
|
|
|
555993
555978
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
555994
555979
|
`);
|
|
555995
555980
|
const latest = await getLatestVersion(channel);
|
|
555996
|
-
if (latest && !gte("1.1.
|
|
555997
|
-
writeToStdout(`Update available: ${"1.1.
|
|
555981
|
+
if (latest && !gte("1.1.35+378be28", latest)) {
|
|
555982
|
+
writeToStdout(`Update available: ${"1.1.35+378be28"} → ${latest}
|
|
555998
555983
|
`);
|
|
555999
555984
|
writeToStdout(`
|
|
556000
555985
|
`);
|
|
@@ -556010,8 +555995,8 @@ async function update() {
|
|
|
556010
555995
|
writeToStdout(`Vivus is managed by winget.
|
|
556011
555996
|
`);
|
|
556012
555997
|
const latest = await getLatestVersion(channel);
|
|
556013
|
-
if (latest && !gte("1.1.
|
|
556014
|
-
writeToStdout(`Update available: ${"1.1.
|
|
555998
|
+
if (latest && !gte("1.1.35+378be28", latest)) {
|
|
555999
|
+
writeToStdout(`Update available: ${"1.1.35+378be28"} → ${latest}
|
|
556015
556000
|
`);
|
|
556016
556001
|
writeToStdout(`
|
|
556017
556002
|
`);
|
|
@@ -556027,8 +556012,8 @@ async function update() {
|
|
|
556027
556012
|
writeToStdout(`Vivus is managed by apk.
|
|
556028
556013
|
`);
|
|
556029
556014
|
const latest = await getLatestVersion(channel);
|
|
556030
|
-
if (latest && !gte("1.1.
|
|
556031
|
-
writeToStdout(`Update available: ${"1.1.
|
|
556015
|
+
if (latest && !gte("1.1.35+378be28", latest)) {
|
|
556016
|
+
writeToStdout(`Update available: ${"1.1.35+378be28"} → ${latest}
|
|
556032
556017
|
`);
|
|
556033
556018
|
writeToStdout(`
|
|
556034
556019
|
`);
|
|
@@ -556093,11 +556078,11 @@ async function update() {
|
|
|
556093
556078
|
`);
|
|
556094
556079
|
await gracefulShutdown(1);
|
|
556095
556080
|
}
|
|
556096
|
-
if (result.latestVersion === "1.1.
|
|
556097
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
556081
|
+
if (result.latestVersion === "1.1.35+378be28") {
|
|
556082
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.35+378be28"})`) + `
|
|
556098
556083
|
`);
|
|
556099
556084
|
} else {
|
|
556100
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
556085
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.35+378be28"} to version ${result.latestVersion}`) + `
|
|
556101
556086
|
`);
|
|
556102
556087
|
await regenerateCompletionCache();
|
|
556103
556088
|
}
|
|
@@ -556154,12 +556139,12 @@ async function update() {
|
|
|
556154
556139
|
`);
|
|
556155
556140
|
await gracefulShutdown(1);
|
|
556156
556141
|
}
|
|
556157
|
-
if (latestVersion === "1.1.
|
|
556158
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
556142
|
+
if (latestVersion === "1.1.35+378be28") {
|
|
556143
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.35+378be28"})`) + `
|
|
556159
556144
|
`);
|
|
556160
556145
|
await gracefulShutdown(0);
|
|
556161
556146
|
}
|
|
556162
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
556147
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.35+378be28"})
|
|
556163
556148
|
`);
|
|
556164
556149
|
writeToStdout(`Installing update...
|
|
556165
556150
|
`);
|
|
@@ -556204,7 +556189,7 @@ async function update() {
|
|
|
556204
556189
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
556205
556190
|
switch (status2) {
|
|
556206
556191
|
case "success":
|
|
556207
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
556192
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.35+378be28"} to version ${latestVersion}`) + `
|
|
556208
556193
|
`);
|
|
556209
556194
|
await regenerateCompletionCache();
|
|
556210
556195
|
break;
|
|
@@ -557178,7 +557163,7 @@ function completeOnboarding() {
|
|
|
557178
557163
|
saveGlobalConfig((current) => ({
|
|
557179
557164
|
...current,
|
|
557180
557165
|
hasCompletedOnboarding: true,
|
|
557181
|
-
lastOnboardingVersion: "1.1.
|
|
557166
|
+
lastOnboardingVersion: "1.1.35+378be28"
|
|
557182
557167
|
}));
|
|
557183
557168
|
}
|
|
557184
557169
|
function showDialog(root2, renderer) {
|
|
@@ -561352,7 +561337,7 @@ ${customInstructions}` : customInstructions;
|
|
|
561352
561337
|
}
|
|
561353
561338
|
}
|
|
561354
561339
|
logForDiagnosticsNoPII("info", "started", {
|
|
561355
|
-
version: "1.1.
|
|
561340
|
+
version: "1.1.35+378be28",
|
|
561356
561341
|
is_native_binary: isInBundledMode()
|
|
561357
561342
|
});
|
|
561358
561343
|
registerCleanup(async () => {
|
|
@@ -562136,7 +562121,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
562136
562121
|
pendingHookMessages
|
|
562137
562122
|
}, renderAndRun);
|
|
562138
562123
|
}
|
|
562139
|
-
}).version("1.1.
|
|
562124
|
+
}).version("1.1.35+378be28 (Vivus)", "-v, --version", "Output the version number");
|
|
562140
562125
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
562141
562126
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
562142
562127
|
if (canUserConfigureAdvisor()) {
|