vivus-agent 1.1.31 → 1.1.33
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 +149 -116
- 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-24T01:21:42.705Z
|
|
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.33+2835140"}`;
|
|
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.33+2835140"} (${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.33+2835140"}${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.33+2835140",
|
|
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.33+2835140".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.33+2835140",
|
|
119648
119648
|
versionBase: getVersionBase(),
|
|
119649
|
-
buildTime: "2026-06-
|
|
119649
|
+
buildTime: "2026-06-24T01:21:42.215Z",
|
|
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.33+2835140"
|
|
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.33+2835140");
|
|
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.33+2835140"}.${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.33+2835140";
|
|
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.33+2835140");
|
|
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.33+2835140");
|
|
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.33+2835140",
|
|
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.33+2835140",
|
|
243840
243840
|
description: "Anthropic's agentic coding tool",
|
|
243841
243841
|
websiteUrl: PRODUCT_URL
|
|
243842
243842
|
}, {
|
|
@@ -245618,7 +245618,10 @@ async function checkIdeConnection(host, port, timeout = 500) {
|
|
|
245618
245618
|
}
|
|
245619
245619
|
}
|
|
245620
245620
|
async function getIdeLockfilesPaths() {
|
|
245621
|
-
const paths2 = [
|
|
245621
|
+
const paths2 = [
|
|
245622
|
+
join64(getVivusConfigHomeDir(), "ide"),
|
|
245623
|
+
join64(os4.homedir(), ".claude", "ide")
|
|
245624
|
+
];
|
|
245622
245625
|
if (getPlatform() !== "wsl") {
|
|
245623
245626
|
return paths2;
|
|
245624
245627
|
}
|
|
@@ -245851,7 +245854,7 @@ async function isIDEExtensionInstalled(ideType) {
|
|
|
245851
245854
|
const result = await execFileNoThrowWithCwd(command, ["--list-extensions"], {
|
|
245852
245855
|
env: getInstallationEnv()
|
|
245853
245856
|
});
|
|
245854
|
-
if (result.stdout?.includes(
|
|
245857
|
+
if (COMPATIBLE_VSCODE_EXTENSION_IDS.some((id) => result.stdout?.includes(id))) {
|
|
245855
245858
|
return true;
|
|
245856
245859
|
}
|
|
245857
245860
|
} catch {}
|
|
@@ -245869,9 +245872,9 @@ async function installIDEExtension(ideType) {
|
|
|
245869
245872
|
return await installFromArtifactory(command);
|
|
245870
245873
|
}
|
|
245871
245874
|
let version2 = await getInstalledVSCodeExtensionVersion(command);
|
|
245872
|
-
if (!version2
|
|
245875
|
+
if (!version2) {
|
|
245873
245876
|
await sleep2(500);
|
|
245874
|
-
const result = await execFileNoThrowWithCwd(command, ["--force", "--install-extension", "
|
|
245877
|
+
const result = await execFileNoThrowWithCwd(command, ["--force", "--install-extension", "vivusai.vivus-agent"], {
|
|
245875
245878
|
env: getInstallationEnv()
|
|
245876
245879
|
});
|
|
245877
245880
|
if (result.code !== 0) {
|
|
@@ -245894,7 +245897,7 @@ function getInstallationEnv() {
|
|
|
245894
245897
|
return;
|
|
245895
245898
|
}
|
|
245896
245899
|
function getVivusCodeVersion() {
|
|
245897
|
-
return "1.1.
|
|
245900
|
+
return "1.1.33+2835140";
|
|
245898
245901
|
}
|
|
245899
245902
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
245900
245903
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -245904,7 +245907,7 @@ async function getInstalledVSCodeExtensionVersion(command) {
|
|
|
245904
245907
|
`) || [];
|
|
245905
245908
|
for (const line of lines) {
|
|
245906
245909
|
const [extensionId, version2] = line.split("@");
|
|
245907
|
-
if (extensionId
|
|
245910
|
+
if (extensionId && COMPATIBLE_VSCODE_EXTENSION_IDS.includes(extensionId) && version2) {
|
|
245908
245911
|
return version2;
|
|
245909
245912
|
}
|
|
245910
245913
|
}
|
|
@@ -246191,7 +246194,7 @@ async function installFromArtifactory(command) {
|
|
|
246191
246194
|
throw error41;
|
|
246192
246195
|
}
|
|
246193
246196
|
}
|
|
246194
|
-
var ideOnboardingDialog = () => (init_IdeOnboardingDialog(), __toCommonJS(exports_IdeOnboardingDialog)), supportedIdeConfigs, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, isSupportedTerminal, getWindowsUserProfile, currentIDESearch = null, EXTENSION_ID, cachedRunningIDEs = null, EDITOR_DISPLAY_NAMES, detectHostIP;
|
|
246197
|
+
var ideOnboardingDialog = () => (init_IdeOnboardingDialog(), __toCommonJS(exports_IdeOnboardingDialog)), supportedIdeConfigs, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, isSupportedTerminal, getWindowsUserProfile, currentIDESearch = null, EXTENSION_ID, COMPATIBLE_VSCODE_EXTENSION_IDS, cachedRunningIDEs = null, EDITOR_DISPLAY_NAMES, detectHostIP;
|
|
246195
246198
|
var init_ide = __esm(() => {
|
|
246196
246199
|
init_axios2();
|
|
246197
246200
|
init_execa();
|
|
@@ -246367,6 +246370,11 @@ var init_ide = __esm(() => {
|
|
|
246367
246370
|
return;
|
|
246368
246371
|
});
|
|
246369
246372
|
EXTENSION_ID = process.env.USER_TYPE === "ant" ? "anthropic.vivus-internal" : "anthropic.vivus";
|
|
246373
|
+
COMPATIBLE_VSCODE_EXTENSION_IDS = [
|
|
246374
|
+
EXTENSION_ID,
|
|
246375
|
+
"vivusai.vivus-agent",
|
|
246376
|
+
"anthropic.claude-code"
|
|
246377
|
+
];
|
|
246370
246378
|
EDITOR_DISPLAY_NAMES = {
|
|
246371
246379
|
code: "VS Code",
|
|
246372
246380
|
cursor: "Cursor",
|
|
@@ -256726,6 +256734,24 @@ async function getImagePathFromClipboard() {
|
|
|
256726
256734
|
return null;
|
|
256727
256735
|
}
|
|
256728
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
|
+
}
|
|
256729
256755
|
function removeOuterQuotes(text2) {
|
|
256730
256756
|
if (text2.startsWith('"') && text2.endsWith('"') || text2.startsWith("'") && text2.endsWith("'")) {
|
|
256731
256757
|
return text2.slice(1, -1);
|
|
@@ -300969,7 +300995,7 @@ async function initializeBetaTracing(resource) {
|
|
|
300969
300995
|
});
|
|
300970
300996
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
300971
300997
|
setLoggerProvider(loggerProvider);
|
|
300972
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
300998
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.33+2835140");
|
|
300973
300999
|
setEventLogger(eventLogger);
|
|
300974
301000
|
process.on("beforeExit", async () => {
|
|
300975
301001
|
await loggerProvider?.forceFlush();
|
|
@@ -301009,7 +301035,7 @@ async function initializeTelemetry() {
|
|
|
301009
301035
|
const platform5 = getPlatform();
|
|
301010
301036
|
const baseAttributes = {
|
|
301011
301037
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
301012
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
301038
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.33+2835140"
|
|
301013
301039
|
};
|
|
301014
301040
|
if (platform5 === "wsl") {
|
|
301015
301041
|
const wslVersion = getWslVersion();
|
|
@@ -301054,7 +301080,7 @@ async function initializeTelemetry() {
|
|
|
301054
301080
|
} catch {}
|
|
301055
301081
|
};
|
|
301056
301082
|
registerCleanup(shutdownTelemetry2);
|
|
301057
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.
|
|
301083
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.33+2835140");
|
|
301058
301084
|
}
|
|
301059
301085
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
301060
301086
|
resource,
|
|
@@ -301074,7 +301100,7 @@ async function initializeTelemetry() {
|
|
|
301074
301100
|
});
|
|
301075
301101
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
301076
301102
|
setLoggerProvider(loggerProvider);
|
|
301077
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
301103
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.33+2835140");
|
|
301078
301104
|
setEventLogger(eventLogger);
|
|
301079
301105
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
301080
301106
|
process.on("beforeExit", async () => {
|
|
@@ -301136,7 +301162,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
301136
301162
|
}
|
|
301137
301163
|
};
|
|
301138
301164
|
registerCleanup(shutdownTelemetry);
|
|
301139
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.
|
|
301165
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.33+2835140");
|
|
301140
301166
|
}
|
|
301141
301167
|
async function flushTelemetry() {
|
|
301142
301168
|
const meterProvider = getMeterProvider();
|
|
@@ -301822,9 +301848,9 @@ async function assertMinVersion() {
|
|
|
301822
301848
|
if (false) {}
|
|
301823
301849
|
try {
|
|
301824
301850
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
301825
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
301851
|
+
if (versionConfig.minVersion && lt("1.1.33+2835140", versionConfig.minVersion)) {
|
|
301826
301852
|
console.error(`
|
|
301827
|
-
It looks like your version of Vivus (${"1.1.
|
|
301853
|
+
It looks like your version of Vivus (${"1.1.33+2835140"}) needs an update.
|
|
301828
301854
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
301829
301855
|
|
|
301830
301856
|
To update, please run:
|
|
@@ -302040,7 +302066,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
302040
302066
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
302041
302067
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
302042
302068
|
pid: process.pid,
|
|
302043
|
-
currentVersion: "1.1.
|
|
302069
|
+
currentVersion: "1.1.33+2835140"
|
|
302044
302070
|
});
|
|
302045
302071
|
return "in_progress";
|
|
302046
302072
|
}
|
|
@@ -302049,7 +302075,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
302049
302075
|
if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
|
|
302050
302076
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
302051
302077
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
302052
|
-
currentVersion: "1.1.
|
|
302078
|
+
currentVersion: "1.1.33+2835140"
|
|
302053
302079
|
});
|
|
302054
302080
|
console.error(`
|
|
302055
302081
|
Error: Windows NPM detected in WSL
|
|
@@ -302582,7 +302608,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
302582
302608
|
}
|
|
302583
302609
|
async function getDoctorDiagnostic() {
|
|
302584
302610
|
const installationType = await getCurrentInstallationType();
|
|
302585
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
302611
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.33+2835140" : "unknown";
|
|
302586
302612
|
const installationPath = await getInstallationPath();
|
|
302587
302613
|
const invokedBinary = getInvokedBinary();
|
|
302588
302614
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -303515,8 +303541,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
303515
303541
|
const maxVersion = await getMaxVersion();
|
|
303516
303542
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
303517
303543
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
303518
|
-
if (gte("1.1.
|
|
303519
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
303544
|
+
if (gte("1.1.33+2835140", maxVersion)) {
|
|
303545
|
+
logForDebugging(`Native installer: current version ${"1.1.33+2835140"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
303520
303546
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
303521
303547
|
latency_ms: Date.now() - startTime,
|
|
303522
303548
|
max_version: maxVersion,
|
|
@@ -303527,7 +303553,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
303527
303553
|
version2 = maxVersion;
|
|
303528
303554
|
}
|
|
303529
303555
|
}
|
|
303530
|
-
if (!forceReinstall && version2 === "1.1.
|
|
303556
|
+
if (!forceReinstall && version2 === "1.1.33+2835140" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
303531
303557
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
303532
303558
|
logEvent("tengu_native_update_complete", {
|
|
303533
303559
|
latency_ms: Date.now() - startTime,
|
|
@@ -359445,7 +359471,7 @@ function getAnthropicEnvMetadata() {
|
|
|
359445
359471
|
function getBuildAgeMinutes() {
|
|
359446
359472
|
if (false)
|
|
359447
359473
|
;
|
|
359448
|
-
const buildTime = new Date("2026-06-
|
|
359474
|
+
const buildTime = new Date("2026-06-24T01:21:42.215Z").getTime();
|
|
359449
359475
|
if (isNaN(buildTime))
|
|
359450
359476
|
return;
|
|
359451
359477
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -406669,7 +406695,7 @@ var init_filesystem = __esm(() => {
|
|
|
406669
406695
|
});
|
|
406670
406696
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
406671
406697
|
const nonce = randomBytes17(16).toString("hex");
|
|
406672
|
-
return join107(getVivusTempDir(), "bundled-skills", "1.1.
|
|
406698
|
+
return join107(getVivusTempDir(), "bundled-skills", "1.1.33+2835140", nonce);
|
|
406673
406699
|
});
|
|
406674
406700
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
406675
406701
|
});
|
|
@@ -408429,7 +408455,7 @@ function Feedback({
|
|
|
408429
408455
|
platform: env3.platform,
|
|
408430
408456
|
gitRepo: envInfo.isGit,
|
|
408431
408457
|
terminal: env3.terminal,
|
|
408432
|
-
version: "1.1.
|
|
408458
|
+
version: "1.1.33+2835140",
|
|
408433
408459
|
transcript: normalizeMessagesForAPI(messages),
|
|
408434
408460
|
errors: sanitizedErrors,
|
|
408435
408461
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -408621,7 +408647,7 @@ function Feedback({
|
|
|
408621
408647
|
", ",
|
|
408622
408648
|
env3.terminal,
|
|
408623
408649
|
", v",
|
|
408624
|
-
"1.1.
|
|
408650
|
+
"1.1.33+2835140"
|
|
408625
408651
|
]
|
|
408626
408652
|
}, undefined, true, undefined, this)
|
|
408627
408653
|
]
|
|
@@ -408727,7 +408753,7 @@ ${sanitizedDescription}
|
|
|
408727
408753
|
` + `**Environment Info**
|
|
408728
408754
|
` + `- Platform: ${env3.platform}
|
|
408729
408755
|
` + `- Terminal: ${env3.terminal}
|
|
408730
|
-
` + `- Version: ${"1.1.
|
|
408756
|
+
` + `- Version: ${"1.1.33+2835140"}
|
|
408731
408757
|
` + `- Feedback ID: ${feedbackId}
|
|
408732
408758
|
` + `
|
|
408733
408759
|
**Errors**
|
|
@@ -410760,9 +410786,9 @@ async function getDesktopVersion() {
|
|
|
410760
410786
|
const installDir = join112(localAppData, "AnthropicVivus");
|
|
410761
410787
|
try {
|
|
410762
410788
|
const entries = await readdir23(installDir);
|
|
410763
|
-
const versions2 = entries.filter((e) => e.startsWith("app-")).map((e) => e.slice(4)).filter((v) =>
|
|
410764
|
-
const ca =
|
|
410765
|
-
const cb =
|
|
410789
|
+
const versions2 = entries.filter((e) => e.startsWith("app-")).map((e) => e.slice(4)).filter((v) => import_semver6.coerce(v) !== null).sort((a2, b) => {
|
|
410790
|
+
const ca = import_semver6.coerce(a2);
|
|
410791
|
+
const cb = import_semver6.coerce(b);
|
|
410766
410792
|
return ca.compare(cb);
|
|
410767
410793
|
});
|
|
410768
410794
|
return versions2.length > 0 ? versions2[versions2.length - 1] : null;
|
|
@@ -410786,7 +410812,7 @@ async function getDesktopInstallStatus() {
|
|
|
410786
410812
|
if (!version2) {
|
|
410787
410813
|
return { status: "ready", version: "unknown" };
|
|
410788
410814
|
}
|
|
410789
|
-
const coerced =
|
|
410815
|
+
const coerced = import_semver6.coerce(version2);
|
|
410790
410816
|
if (!coerced || !gte(coerced.version, MIN_DESKTOP_VERSION)) {
|
|
410791
410817
|
return { status: "version-too-old", version: version2 };
|
|
410792
410818
|
}
|
|
@@ -410839,14 +410865,14 @@ async function openCurrentSessionInDesktop() {
|
|
|
410839
410865
|
}
|
|
410840
410866
|
return { success: true, deepLinkUrl };
|
|
410841
410867
|
}
|
|
410842
|
-
var
|
|
410868
|
+
var import_semver6, MIN_DESKTOP_VERSION = "1.1.2396";
|
|
410843
410869
|
var init_desktopDeepLink = __esm(() => {
|
|
410844
410870
|
init_state();
|
|
410845
410871
|
init_cwd2();
|
|
410846
410872
|
init_debug();
|
|
410847
410873
|
init_execFileNoThrow();
|
|
410848
410874
|
init_file();
|
|
410849
|
-
|
|
410875
|
+
import_semver6 = __toESM(require_semver3(), 1);
|
|
410850
410876
|
});
|
|
410851
410877
|
|
|
410852
410878
|
// src/components/design-system/LoadingState.tsx
|
|
@@ -411859,7 +411885,7 @@ function buildPrimarySection() {
|
|
|
411859
411885
|
}, undefined, false, undefined, this);
|
|
411860
411886
|
return [{
|
|
411861
411887
|
label: "Version",
|
|
411862
|
-
value: "1.1.
|
|
411888
|
+
value: "1.1.33+2835140"
|
|
411863
411889
|
}, {
|
|
411864
411890
|
label: "Session name",
|
|
411865
411891
|
value: nameValue
|
|
@@ -415610,7 +415636,7 @@ function Config({
|
|
|
415610
415636
|
}
|
|
415611
415637
|
}, undefined, false, undefined, this)
|
|
415612
415638
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
415613
|
-
currentVersion: "1.1.
|
|
415639
|
+
currentVersion: "1.1.33+2835140",
|
|
415614
415640
|
onChoice: (choice) => {
|
|
415615
415641
|
setShowSubmenu(null);
|
|
415616
415642
|
setTabsHidden(false);
|
|
@@ -415622,7 +415648,7 @@ function Config({
|
|
|
415622
415648
|
autoUpdatesChannel: "stable"
|
|
415623
415649
|
};
|
|
415624
415650
|
if (choice === "stay") {
|
|
415625
|
-
newSettings.minimumVersion = "1.1.
|
|
415651
|
+
newSettings.minimumVersion = "1.1.33+2835140";
|
|
415626
415652
|
}
|
|
415627
415653
|
updateSettingsForSource("userSettings", newSettings);
|
|
415628
415654
|
setSettingsData((prev_27) => ({
|
|
@@ -423708,7 +423734,7 @@ function HelpV2(t0) {
|
|
|
423708
423734
|
let t6;
|
|
423709
423735
|
if ($2[31] !== tabs) {
|
|
423710
423736
|
t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
|
|
423711
|
-
title: `Vivus v${"1.1.
|
|
423737
|
+
title: `Vivus v${"1.1.33+2835140"}`,
|
|
423712
423738
|
color: "professionalBlue",
|
|
423713
423739
|
defaultTab: "general",
|
|
423714
423740
|
children: tabs
|
|
@@ -447905,8 +447931,8 @@ function parseChangelog(content) {
|
|
|
447905
447931
|
function getRecentReleaseNotes(currentVersion, previousVersion, changelogContent = getStoredChangelogFromMemory()) {
|
|
447906
447932
|
try {
|
|
447907
447933
|
const releaseNotes = parseChangelog(changelogContent);
|
|
447908
|
-
const baseCurrentVersion =
|
|
447909
|
-
const basePreviousVersion = previousVersion ?
|
|
447934
|
+
const baseCurrentVersion = import_semver9.coerce(currentVersion);
|
|
447935
|
+
const basePreviousVersion = previousVersion ? import_semver9.coerce(previousVersion) : null;
|
|
447910
447936
|
if (!basePreviousVersion || baseCurrentVersion && gt(baseCurrentVersion.version, basePreviousVersion.version)) {
|
|
447911
447937
|
return Object.entries(releaseNotes).filter(([version2]) => !basePreviousVersion || gt(version2, basePreviousVersion.version)).sort(([versionA], [versionB]) => gt(versionA, versionB) ? -1 : 1).flatMap(([_, notes]) => notes).filter(Boolean).slice(0, MAX_RELEASE_NOTES_SHOWN);
|
|
447912
447938
|
}
|
|
@@ -447934,7 +447960,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
447934
447960
|
return [];
|
|
447935
447961
|
}
|
|
447936
447962
|
}
|
|
447937
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
447963
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.33+2835140") {
|
|
447938
447964
|
if (process.env.USER_TYPE === "ant") {
|
|
447939
447965
|
const changelog = "";
|
|
447940
447966
|
if (changelog) {
|
|
@@ -447961,7 +447987,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.31+c3
|
|
|
447961
447987
|
releaseNotes
|
|
447962
447988
|
};
|
|
447963
447989
|
}
|
|
447964
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
447990
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.33+2835140") {
|
|
447965
447991
|
if (process.env.USER_TYPE === "ant") {
|
|
447966
447992
|
const changelog = "";
|
|
447967
447993
|
if (changelog) {
|
|
@@ -447983,7 +448009,7 @@ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.31+c38c
|
|
|
447983
448009
|
releaseNotes
|
|
447984
448010
|
};
|
|
447985
448011
|
}
|
|
447986
|
-
var
|
|
448012
|
+
var import_semver9, MAX_RELEASE_NOTES_SHOWN = 5, CHANGELOG_URL = "https://github.com/anthropics/vivus/blob/main/CHANGELOG.md", RAW_CHANGELOG_URL = "https://raw.githubusercontent.com/anthropics/vivus/refs/heads/main/CHANGELOG.md", changelogMemoryCache = null;
|
|
447987
448013
|
var init_releaseNotes = __esm(() => {
|
|
447988
448014
|
init_axios2();
|
|
447989
448015
|
init_state();
|
|
@@ -447991,7 +448017,7 @@ var init_releaseNotes = __esm(() => {
|
|
|
447991
448017
|
init_envUtils();
|
|
447992
448018
|
init_errors();
|
|
447993
448019
|
init_log3();
|
|
447994
|
-
|
|
448020
|
+
import_semver9 = __toESM(require_semver3(), 1);
|
|
447995
448021
|
});
|
|
447996
448022
|
|
|
447997
448023
|
// src/commands/release-notes/release-notes.ts
|
|
@@ -449131,7 +449157,7 @@ function getRecentActivitySync() {
|
|
|
449131
449157
|
return cachedActivity;
|
|
449132
449158
|
}
|
|
449133
449159
|
function getLogoDisplayData() {
|
|
449134
|
-
const version2 = process.env.DEMO_VERSION ?? "1.1.
|
|
449160
|
+
const version2 = process.env.DEMO_VERSION ?? "1.1.33+2835140";
|
|
449135
449161
|
const serverUrl = getDirectConnectServerUrl();
|
|
449136
449162
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
449137
449163
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -450658,7 +450684,7 @@ function LogoV2() {
|
|
|
450658
450684
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
450659
450685
|
t2 = () => {
|
|
450660
450686
|
const currentConfig = getGlobalConfig();
|
|
450661
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
450687
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.33+2835140") {
|
|
450662
450688
|
return;
|
|
450663
450689
|
}
|
|
450664
450690
|
saveGlobalConfig(_temp329);
|
|
@@ -451334,12 +451360,12 @@ function LogoV2() {
|
|
|
451334
451360
|
return t41;
|
|
451335
451361
|
}
|
|
451336
451362
|
function _temp329(current) {
|
|
451337
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
451363
|
+
if (current.lastReleaseNotesSeen === "1.1.33+2835140") {
|
|
451338
451364
|
return current;
|
|
451339
451365
|
}
|
|
451340
451366
|
return {
|
|
451341
451367
|
...current,
|
|
451342
|
-
lastReleaseNotesSeen: "1.1.
|
|
451368
|
+
lastReleaseNotesSeen: "1.1.33+2835140"
|
|
451343
451369
|
};
|
|
451344
451370
|
}
|
|
451345
451371
|
function _temp245(s_0) {
|
|
@@ -477636,7 +477662,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
477636
477662
|
smapsRollup,
|
|
477637
477663
|
platform: process.platform,
|
|
477638
477664
|
nodeVersion: process.version,
|
|
477639
|
-
ccVersion: "1.1.
|
|
477665
|
+
ccVersion: "1.1.33+2835140"
|
|
477640
477666
|
};
|
|
477641
477667
|
}
|
|
477642
477668
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -478222,7 +478248,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
478222
478248
|
var call56 = async () => {
|
|
478223
478249
|
return {
|
|
478224
478250
|
type: "text",
|
|
478225
|
-
value: `${"1.1.
|
|
478251
|
+
value: `${"1.1.33+2835140"} (built ${"2026-06-24T01:21:42.215Z"})`
|
|
478226
478252
|
};
|
|
478227
478253
|
}, version2, version_default;
|
|
478228
478254
|
var init_version = __esm(() => {
|
|
@@ -487505,7 +487531,7 @@ function generateHtmlReport(data, insights) {
|
|
|
487505
487531
|
</html>`;
|
|
487506
487532
|
}
|
|
487507
487533
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
487508
|
-
const version3 = typeof MACRO !== "undefined" ? "1.1.
|
|
487534
|
+
const version3 = typeof MACRO !== "undefined" ? "1.1.33+2835140" : "unknown";
|
|
487509
487535
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
487510
487536
|
const facets_summary = {
|
|
487511
487537
|
total: facets.size,
|
|
@@ -491616,7 +491642,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
491616
491642
|
init_settings2();
|
|
491617
491643
|
init_slowOperations();
|
|
491618
491644
|
init_uuid();
|
|
491619
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
491645
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.33+2835140" : "unknown";
|
|
491620
491646
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
491621
491647
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
491622
491648
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -494488,7 +494514,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
494488
494514
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
494489
494515
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
494490
494516
|
betas: getSdkBetas(),
|
|
494491
|
-
vivus_code_version: "1.1.
|
|
494517
|
+
vivus_code_version: "1.1.33+2835140",
|
|
494492
494518
|
output_style: outputStyle2,
|
|
494493
494519
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
494494
494520
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -509114,9 +509140,9 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
509114
509140
|
|
|
509115
509141
|
// src/hooks/useUpdateNotification.ts
|
|
509116
509142
|
function getSemverPart(version3) {
|
|
509117
|
-
return `${
|
|
509143
|
+
return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
|
|
509118
509144
|
}
|
|
509119
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
509145
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.33+2835140") {
|
|
509120
509146
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
|
|
509121
509147
|
if (!updatedVersion) {
|
|
509122
509148
|
return null;
|
|
@@ -509128,10 +509154,10 @@ function useUpdateNotification(updatedVersion, initialVersion = "1.1.31+c38c44f"
|
|
|
509128
509154
|
}
|
|
509129
509155
|
return null;
|
|
509130
509156
|
}
|
|
509131
|
-
var import_react228,
|
|
509157
|
+
var import_react228, import_semver12;
|
|
509132
509158
|
var init_useUpdateNotification = __esm(() => {
|
|
509133
509159
|
import_react228 = __toESM(require_react(), 1);
|
|
509134
|
-
|
|
509160
|
+
import_semver12 = __toESM(require_semver3(), 1);
|
|
509135
509161
|
});
|
|
509136
509162
|
|
|
509137
509163
|
// src/components/AutoUpdater.tsx
|
|
@@ -509156,7 +509182,7 @@ function AutoUpdater({
|
|
|
509156
509182
|
return;
|
|
509157
509183
|
}
|
|
509158
509184
|
if (false) {}
|
|
509159
|
-
const currentVersion = "1.1.
|
|
509185
|
+
const currentVersion = "1.1.33+2835140";
|
|
509160
509186
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
509161
509187
|
let latestVersion = await getLatestVersion(channel);
|
|
509162
509188
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -509369,12 +509395,12 @@ function NativeAutoUpdater({
|
|
|
509369
509395
|
logEvent("tengu_native_auto_updater_start", {});
|
|
509370
509396
|
try {
|
|
509371
509397
|
const maxVersion = await getMaxVersion();
|
|
509372
|
-
if (maxVersion && gt("1.1.
|
|
509398
|
+
if (maxVersion && gt("1.1.33+2835140", maxVersion)) {
|
|
509373
509399
|
const msg = await getMaxVersionMessage();
|
|
509374
509400
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
509375
509401
|
}
|
|
509376
509402
|
const result = await installLatest(channel);
|
|
509377
|
-
const currentVersion = "1.1.
|
|
509403
|
+
const currentVersion = "1.1.33+2835140";
|
|
509378
509404
|
const latencyMs = Date.now() - startTime;
|
|
509379
509405
|
if (result.lockFailed) {
|
|
509380
509406
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -509511,17 +509537,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
509511
509537
|
const maxVersion = await getMaxVersion();
|
|
509512
509538
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
509513
509539
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
509514
|
-
if (gte("1.1.
|
|
509515
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
509540
|
+
if (gte("1.1.33+2835140", maxVersion)) {
|
|
509541
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.33+2835140"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
509516
509542
|
setUpdateAvailable(false);
|
|
509517
509543
|
return;
|
|
509518
509544
|
}
|
|
509519
509545
|
latest = maxVersion;
|
|
509520
509546
|
}
|
|
509521
|
-
const hasUpdate = latest && !gte("1.1.
|
|
509547
|
+
const hasUpdate = latest && !gte("1.1.33+2835140", latest) && !shouldSkipVersion(latest);
|
|
509522
509548
|
setUpdateAvailable(!!hasUpdate);
|
|
509523
509549
|
if (hasUpdate) {
|
|
509524
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
509550
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.33+2835140"} -> ${latest}`);
|
|
509525
509551
|
}
|
|
509526
509552
|
};
|
|
509527
509553
|
$2[0] = t1;
|
|
@@ -509555,7 +509581,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
509555
509581
|
wrap: "truncate",
|
|
509556
509582
|
children: [
|
|
509557
509583
|
"currentVersion: ",
|
|
509558
|
-
"1.1.
|
|
509584
|
+
"1.1.33+2835140"
|
|
509559
509585
|
]
|
|
509560
509586
|
}, undefined, true, undefined, this);
|
|
509561
509587
|
$2[3] = verbose;
|
|
@@ -517485,7 +517511,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
517485
517511
|
project_dir: getOriginalCwd(),
|
|
517486
517512
|
added_dirs: addedDirs
|
|
517487
517513
|
},
|
|
517488
|
-
version: "1.1.
|
|
517514
|
+
version: "1.1.33+2835140",
|
|
517489
517515
|
output_style: {
|
|
517490
517516
|
name: outputStyleName
|
|
517491
517517
|
},
|
|
@@ -520887,20 +520913,27 @@ function PromptInput({
|
|
|
520887
520913
|
const handleAutoModeOptInDecline = import_react260.useCallback(() => {
|
|
520888
520914
|
if (false) {}
|
|
520889
520915
|
}, [previousModeBeforeAuto, toolPermissionContext, setAppState, setToolPermissionContext]);
|
|
520916
|
+
const onTextPasteRef = import_react260.useRef(onTextPaste);
|
|
520917
|
+
onTextPasteRef.current = onTextPaste;
|
|
520890
520918
|
const handleImagePaste = import_react260.useCallback(() => {
|
|
520891
|
-
getImageFromClipboard().then((imageData) => {
|
|
520919
|
+
getImageFromClipboard().then(async (imageData) => {
|
|
520892
520920
|
if (imageData) {
|
|
520893
520921
|
onImagePaste(imageData.base64, imageData.mediaType);
|
|
520894
|
-
|
|
520895
|
-
const shortcutDisplay = getShortcutDisplay("chat:imagePaste", "Chat", "ctrl+v");
|
|
520896
|
-
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.`;
|
|
520897
|
-
addNotification({
|
|
520898
|
-
key: "no-image-in-clipboard",
|
|
520899
|
-
text: message,
|
|
520900
|
-
priority: "immediate",
|
|
520901
|
-
timeoutMs: 1000
|
|
520902
|
-
});
|
|
520922
|
+
return;
|
|
520903
520923
|
}
|
|
520924
|
+
const clipboardText = await getClipboardText();
|
|
520925
|
+
if (clipboardText) {
|
|
520926
|
+
onTextPasteRef.current(clipboardText);
|
|
520927
|
+
return;
|
|
520928
|
+
}
|
|
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
|
+
});
|
|
520904
520937
|
});
|
|
520905
520938
|
}, [addNotification, onImagePaste]);
|
|
520906
520939
|
const keybindingContext = useOptionalKeybindingContext();
|
|
@@ -528985,7 +529018,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
528985
529018
|
} catch {}
|
|
528986
529019
|
const data = {
|
|
528987
529020
|
trigger,
|
|
528988
|
-
version: "1.1.
|
|
529021
|
+
version: "1.1.33+2835140",
|
|
528989
529022
|
platform: process.platform,
|
|
528990
529023
|
transcript,
|
|
528991
529024
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -540404,7 +540437,7 @@ function WelcomeV2() {
|
|
|
540404
540437
|
dimColor: true,
|
|
540405
540438
|
children: [
|
|
540406
540439
|
"v",
|
|
540407
|
-
"1.1.
|
|
540440
|
+
"1.1.33+2835140",
|
|
540408
540441
|
" "
|
|
540409
540442
|
]
|
|
540410
540443
|
}, undefined, true, undefined, this)
|
|
@@ -540604,7 +540637,7 @@ function WelcomeV2() {
|
|
|
540604
540637
|
dimColor: true,
|
|
540605
540638
|
children: [
|
|
540606
540639
|
"v",
|
|
540607
|
-
"1.1.
|
|
540640
|
+
"1.1.33+2835140",
|
|
540608
540641
|
" "
|
|
540609
540642
|
]
|
|
540610
540643
|
}, undefined, true, undefined, this)
|
|
@@ -540830,7 +540863,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
540830
540863
|
dimColor: true,
|
|
540831
540864
|
children: [
|
|
540832
540865
|
"v",
|
|
540833
|
-
"1.1.
|
|
540866
|
+
"1.1.33+2835140",
|
|
540834
540867
|
" "
|
|
540835
540868
|
]
|
|
540836
540869
|
}, undefined, true, undefined, this);
|
|
@@ -541084,7 +541117,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
541084
541117
|
dimColor: true,
|
|
541085
541118
|
children: [
|
|
541086
541119
|
"v",
|
|
541087
|
-
"1.1.
|
|
541120
|
+
"1.1.33+2835140",
|
|
541088
541121
|
" "
|
|
541089
541122
|
]
|
|
541090
541123
|
}, undefined, true, undefined, this);
|
|
@@ -544149,7 +544182,7 @@ function appendToLog(path25, message) {
|
|
|
544149
544182
|
cwd: getFsImplementation().cwd(),
|
|
544150
544183
|
userType: process.env.USER_TYPE,
|
|
544151
544184
|
sessionId: getSessionId(),
|
|
544152
|
-
version: "1.1.
|
|
544185
|
+
version: "1.1.33+2835140"
|
|
544153
544186
|
};
|
|
544154
544187
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
544155
544188
|
}
|
|
@@ -548134,8 +548167,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
548134
548167
|
}
|
|
548135
548168
|
async function checkEnvLessBridgeMinVersion() {
|
|
548136
548169
|
const cfg = await getEnvLessBridgeConfig();
|
|
548137
|
-
if (cfg.min_version && lt("1.1.
|
|
548138
|
-
return `Your version of Vivus (${"1.1.
|
|
548170
|
+
if (cfg.min_version && lt("1.1.33+2835140", cfg.min_version)) {
|
|
548171
|
+
return `Your version of Vivus (${"1.1.33+2835140"}) is too old for Remote Control.
|
|
548139
548172
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
548140
548173
|
}
|
|
548141
548174
|
return null;
|
|
@@ -548609,7 +548642,7 @@ async function initBridgeCore(params) {
|
|
|
548609
548642
|
const rawApi = createBridgeApiClient({
|
|
548610
548643
|
baseUrl,
|
|
548611
548644
|
getAccessToken,
|
|
548612
|
-
runnerVersion: "1.1.
|
|
548645
|
+
runnerVersion: "1.1.33+2835140",
|
|
548613
548646
|
onDebug: logForDebugging,
|
|
548614
548647
|
onAuth401,
|
|
548615
548648
|
getTrustedDeviceToken
|
|
@@ -554274,7 +554307,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
554274
554307
|
setCwd(cwd3);
|
|
554275
554308
|
const server = new Server({
|
|
554276
554309
|
name: "vivus/tengu",
|
|
554277
|
-
version: "1.1.
|
|
554310
|
+
version: "1.1.33+2835140"
|
|
554278
554311
|
}, {
|
|
554279
554312
|
capabilities: {
|
|
554280
554313
|
tools: {}
|
|
@@ -555885,7 +555918,7 @@ __export(exports_update, {
|
|
|
555885
555918
|
});
|
|
555886
555919
|
async function update() {
|
|
555887
555920
|
logEvent("tengu_update_check", {});
|
|
555888
|
-
writeToStdout(`Current version: ${"1.1.
|
|
555921
|
+
writeToStdout(`Current version: ${"1.1.33+2835140"}
|
|
555889
555922
|
`);
|
|
555890
555923
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
555891
555924
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -555960,8 +555993,8 @@ async function update() {
|
|
|
555960
555993
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
555961
555994
|
`);
|
|
555962
555995
|
const latest = await getLatestVersion(channel);
|
|
555963
|
-
if (latest && !gte("1.1.
|
|
555964
|
-
writeToStdout(`Update available: ${"1.1.
|
|
555996
|
+
if (latest && !gte("1.1.33+2835140", latest)) {
|
|
555997
|
+
writeToStdout(`Update available: ${"1.1.33+2835140"} → ${latest}
|
|
555965
555998
|
`);
|
|
555966
555999
|
writeToStdout(`
|
|
555967
556000
|
`);
|
|
@@ -555977,8 +556010,8 @@ async function update() {
|
|
|
555977
556010
|
writeToStdout(`Vivus is managed by winget.
|
|
555978
556011
|
`);
|
|
555979
556012
|
const latest = await getLatestVersion(channel);
|
|
555980
|
-
if (latest && !gte("1.1.
|
|
555981
|
-
writeToStdout(`Update available: ${"1.1.
|
|
556013
|
+
if (latest && !gte("1.1.33+2835140", latest)) {
|
|
556014
|
+
writeToStdout(`Update available: ${"1.1.33+2835140"} → ${latest}
|
|
555982
556015
|
`);
|
|
555983
556016
|
writeToStdout(`
|
|
555984
556017
|
`);
|
|
@@ -555994,8 +556027,8 @@ async function update() {
|
|
|
555994
556027
|
writeToStdout(`Vivus is managed by apk.
|
|
555995
556028
|
`);
|
|
555996
556029
|
const latest = await getLatestVersion(channel);
|
|
555997
|
-
if (latest && !gte("1.1.
|
|
555998
|
-
writeToStdout(`Update available: ${"1.1.
|
|
556030
|
+
if (latest && !gte("1.1.33+2835140", latest)) {
|
|
556031
|
+
writeToStdout(`Update available: ${"1.1.33+2835140"} → ${latest}
|
|
555999
556032
|
`);
|
|
556000
556033
|
writeToStdout(`
|
|
556001
556034
|
`);
|
|
@@ -556060,11 +556093,11 @@ async function update() {
|
|
|
556060
556093
|
`);
|
|
556061
556094
|
await gracefulShutdown(1);
|
|
556062
556095
|
}
|
|
556063
|
-
if (result.latestVersion === "1.1.
|
|
556064
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
556096
|
+
if (result.latestVersion === "1.1.33+2835140") {
|
|
556097
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.33+2835140"})`) + `
|
|
556065
556098
|
`);
|
|
556066
556099
|
} else {
|
|
556067
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
556100
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.33+2835140"} to version ${result.latestVersion}`) + `
|
|
556068
556101
|
`);
|
|
556069
556102
|
await regenerateCompletionCache();
|
|
556070
556103
|
}
|
|
@@ -556121,12 +556154,12 @@ async function update() {
|
|
|
556121
556154
|
`);
|
|
556122
556155
|
await gracefulShutdown(1);
|
|
556123
556156
|
}
|
|
556124
|
-
if (latestVersion === "1.1.
|
|
556125
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
556157
|
+
if (latestVersion === "1.1.33+2835140") {
|
|
556158
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.33+2835140"})`) + `
|
|
556126
556159
|
`);
|
|
556127
556160
|
await gracefulShutdown(0);
|
|
556128
556161
|
}
|
|
556129
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
556162
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.33+2835140"})
|
|
556130
556163
|
`);
|
|
556131
556164
|
writeToStdout(`Installing update...
|
|
556132
556165
|
`);
|
|
@@ -556171,7 +556204,7 @@ async function update() {
|
|
|
556171
556204
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
556172
556205
|
switch (status2) {
|
|
556173
556206
|
case "success":
|
|
556174
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
556207
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.33+2835140"} to version ${latestVersion}`) + `
|
|
556175
556208
|
`);
|
|
556176
556209
|
await regenerateCompletionCache();
|
|
556177
556210
|
break;
|
|
@@ -557145,7 +557178,7 @@ function completeOnboarding() {
|
|
|
557145
557178
|
saveGlobalConfig((current) => ({
|
|
557146
557179
|
...current,
|
|
557147
557180
|
hasCompletedOnboarding: true,
|
|
557148
|
-
lastOnboardingVersion: "1.1.
|
|
557181
|
+
lastOnboardingVersion: "1.1.33+2835140"
|
|
557149
557182
|
}));
|
|
557150
557183
|
}
|
|
557151
557184
|
function showDialog(root2, renderer) {
|
|
@@ -561319,7 +561352,7 @@ ${customInstructions}` : customInstructions;
|
|
|
561319
561352
|
}
|
|
561320
561353
|
}
|
|
561321
561354
|
logForDiagnosticsNoPII("info", "started", {
|
|
561322
|
-
version: "1.1.
|
|
561355
|
+
version: "1.1.33+2835140",
|
|
561323
561356
|
is_native_binary: isInBundledMode()
|
|
561324
561357
|
});
|
|
561325
561358
|
registerCleanup(async () => {
|
|
@@ -562103,7 +562136,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
562103
562136
|
pendingHookMessages
|
|
562104
562137
|
}, renderAndRun);
|
|
562105
562138
|
}
|
|
562106
|
-
}).version("1.1.
|
|
562139
|
+
}).version("1.1.33+2835140 (Vivus)", "-v, --version", "Output the version number");
|
|
562107
562140
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
562108
562141
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
562109
562142
|
if (canUserConfigureAdvisor()) {
|