vivus-agent 1.0.3 → 1.0.4
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 +221 -94
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// Vivus CLI — local AI coding agent
|
|
3
|
-
// Built from source at 2026-06-05T22:
|
|
3
|
+
// Built from source at 2026-06-05T22:56:05.279Z
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
var __create = Object.create;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -115958,7 +115958,7 @@ var init_auth = __esm(() => {
|
|
|
115958
115958
|
|
|
115959
115959
|
// src/utils/userAgent.ts
|
|
115960
115960
|
function getVivusCodeUserAgent() {
|
|
115961
|
-
return `vivus/${"1.0.
|
|
115961
|
+
return `vivus/${"1.0.4+b41f3f3"}`;
|
|
115962
115962
|
}
|
|
115963
115963
|
|
|
115964
115964
|
// src/utils/workloadContext.ts
|
|
@@ -115980,7 +115980,7 @@ function getUserAgent() {
|
|
|
115980
115980
|
const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
|
|
115981
115981
|
const workload = getWorkload();
|
|
115982
115982
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
115983
|
-
return `vivus-cli/${"1.0.
|
|
115983
|
+
return `vivus-cli/${"1.0.4+b41f3f3"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
115984
115984
|
}
|
|
115985
115985
|
function getMCPUserAgent() {
|
|
115986
115986
|
const parts = [];
|
|
@@ -115994,7 +115994,7 @@ function getMCPUserAgent() {
|
|
|
115994
115994
|
parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
|
|
115995
115995
|
}
|
|
115996
115996
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
115997
|
-
return `vivus/${"1.0.
|
|
115997
|
+
return `vivus/${"1.0.4+b41f3f3"}${suffix}`;
|
|
115998
115998
|
}
|
|
115999
115999
|
function getWebFetchUserAgent() {
|
|
116000
116000
|
return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -116132,7 +116132,7 @@ var init_user = __esm(() => {
|
|
|
116132
116132
|
deviceId,
|
|
116133
116133
|
sessionId: getSessionId(),
|
|
116134
116134
|
email: getEmail(),
|
|
116135
|
-
appVersion: "1.0.
|
|
116135
|
+
appVersion: "1.0.4+b41f3f3",
|
|
116136
116136
|
platform: getHostPlatformForAnalytics(),
|
|
116137
116137
|
organizationUuid,
|
|
116138
116138
|
accountUuid,
|
|
@@ -127798,7 +127798,7 @@ var init_metadata = __esm(() => {
|
|
|
127798
127798
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
127799
127799
|
WHITESPACE_REGEX = /\s+/;
|
|
127800
127800
|
getVersionBase = memoize_default(() => {
|
|
127801
|
-
const match = "1.0.
|
|
127801
|
+
const match = "1.0.4+b41f3f3".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
127802
127802
|
return match ? match[0] : undefined;
|
|
127803
127803
|
});
|
|
127804
127804
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -127838,9 +127838,9 @@ var init_metadata = __esm(() => {
|
|
|
127838
127838
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
127839
127839
|
isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
|
|
127840
127840
|
isVivusAiAuth: isVivusAISubscriber(),
|
|
127841
|
-
version: "1.0.
|
|
127841
|
+
version: "1.0.4+b41f3f3",
|
|
127842
127842
|
versionBase: getVersionBase(),
|
|
127843
|
-
buildTime: "2026-06-05T22:
|
|
127843
|
+
buildTime: "2026-06-05T22:56:04.667Z",
|
|
127844
127844
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
127845
127845
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
127846
127846
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -128508,7 +128508,7 @@ function initialize1PEventLogging() {
|
|
|
128508
128508
|
const platform2 = getPlatform();
|
|
128509
128509
|
const attributes = {
|
|
128510
128510
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
|
|
128511
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.0.
|
|
128511
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.0.4+b41f3f3"
|
|
128512
128512
|
};
|
|
128513
128513
|
if (platform2 === "wsl") {
|
|
128514
128514
|
const wslVersion = getWslVersion();
|
|
@@ -128535,7 +128535,7 @@ function initialize1PEventLogging() {
|
|
|
128535
128535
|
})
|
|
128536
128536
|
]
|
|
128537
128537
|
});
|
|
128538
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.0.
|
|
128538
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.0.4+b41f3f3");
|
|
128539
128539
|
}
|
|
128540
128540
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
128541
128541
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -162624,7 +162624,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
162624
162624
|
if (!isAttributionHeaderEnabled()) {
|
|
162625
162625
|
return "";
|
|
162626
162626
|
}
|
|
162627
|
-
const version2 = `${"1.0.
|
|
162627
|
+
const version2 = `${"1.0.4+b41f3f3"}.${fingerprint}`;
|
|
162628
162628
|
const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
|
|
162629
162629
|
const cch = "";
|
|
162630
162630
|
const workload = getWorkload();
|
|
@@ -175781,7 +175781,7 @@ function getTelemetryAttributes() {
|
|
|
175781
175781
|
attributes["session.id"] = sessionId;
|
|
175782
175782
|
}
|
|
175783
175783
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
175784
|
-
attributes["app.version"] = "1.0.
|
|
175784
|
+
attributes["app.version"] = "1.0.4+b41f3f3";
|
|
175785
175785
|
}
|
|
175786
175786
|
const oauthAccount = getOauthAccountInfo();
|
|
175787
175787
|
if (oauthAccount) {
|
|
@@ -235915,7 +235915,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
235915
235915
|
}
|
|
235916
235916
|
function computeFingerprintFromMessages(messages) {
|
|
235917
235917
|
const firstMessageText = extractFirstMessageText(messages);
|
|
235918
|
-
return computeFingerprint(firstMessageText, "1.0.
|
|
235918
|
+
return computeFingerprint(firstMessageText, "1.0.4+b41f3f3");
|
|
235919
235919
|
}
|
|
235920
235920
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
235921
235921
|
var init_fingerprint = () => {};
|
|
@@ -235957,7 +235957,7 @@ async function sideQuery(opts) {
|
|
|
235957
235957
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
235958
235958
|
}
|
|
235959
235959
|
const messageText = extractFirstUserMessageText(messages);
|
|
235960
|
-
const fingerprint = computeFingerprint(messageText, "1.0.
|
|
235960
|
+
const fingerprint = computeFingerprint(messageText, "1.0.4+b41f3f3");
|
|
235961
235961
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
235962
235962
|
const systemBlocks = [
|
|
235963
235963
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -237109,7 +237109,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
237109
237109
|
const client2 = new Client({
|
|
237110
237110
|
name: "vivus",
|
|
237111
237111
|
title: "Vivus",
|
|
237112
|
-
version: "1.0.
|
|
237112
|
+
version: "1.0.4+b41f3f3",
|
|
237113
237113
|
description: "Anthropic's agentic coding tool",
|
|
237114
237114
|
websiteUrl: PRODUCT_URL
|
|
237115
237115
|
}, {
|
|
@@ -237463,7 +237463,7 @@ var init_client6 = __esm(() => {
|
|
|
237463
237463
|
const client2 = new Client({
|
|
237464
237464
|
name: "vivus",
|
|
237465
237465
|
title: "Vivus",
|
|
237466
|
-
version: "1.0.
|
|
237466
|
+
version: "1.0.4+b41f3f3",
|
|
237467
237467
|
description: "Anthropic's agentic coding tool",
|
|
237468
237468
|
websiteUrl: PRODUCT_URL
|
|
237469
237469
|
}, {
|
|
@@ -239521,7 +239521,7 @@ function getInstallationEnv() {
|
|
|
239521
239521
|
return;
|
|
239522
239522
|
}
|
|
239523
239523
|
function getVivusCodeVersion() {
|
|
239524
|
-
return "1.0.
|
|
239524
|
+
return "1.0.4+b41f3f3";
|
|
239525
239525
|
}
|
|
239526
239526
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
239527
239527
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -272011,7 +272011,7 @@ async function initializeBetaTracing(resource) {
|
|
|
272011
272011
|
});
|
|
272012
272012
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
272013
272013
|
setLoggerProvider(loggerProvider);
|
|
272014
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.0.
|
|
272014
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.0.4+b41f3f3");
|
|
272015
272015
|
setEventLogger(eventLogger);
|
|
272016
272016
|
process.on("beforeExit", async () => {
|
|
272017
272017
|
await loggerProvider?.forceFlush();
|
|
@@ -272051,7 +272051,7 @@ async function initializeTelemetry() {
|
|
|
272051
272051
|
const platform5 = getPlatform();
|
|
272052
272052
|
const baseAttributes = {
|
|
272053
272053
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
272054
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.0.
|
|
272054
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.0.4+b41f3f3"
|
|
272055
272055
|
};
|
|
272056
272056
|
if (platform5 === "wsl") {
|
|
272057
272057
|
const wslVersion = getWslVersion();
|
|
@@ -272096,7 +272096,7 @@ async function initializeTelemetry() {
|
|
|
272096
272096
|
} catch {}
|
|
272097
272097
|
};
|
|
272098
272098
|
registerCleanup(shutdownTelemetry2);
|
|
272099
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.0.
|
|
272099
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.0.4+b41f3f3");
|
|
272100
272100
|
}
|
|
272101
272101
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
272102
272102
|
resource,
|
|
@@ -272116,7 +272116,7 @@ async function initializeTelemetry() {
|
|
|
272116
272116
|
});
|
|
272117
272117
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
272118
272118
|
setLoggerProvider(loggerProvider);
|
|
272119
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.0.
|
|
272119
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.0.4+b41f3f3");
|
|
272120
272120
|
setEventLogger(eventLogger);
|
|
272121
272121
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
272122
272122
|
process.on("beforeExit", async () => {
|
|
@@ -272178,7 +272178,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
272178
272178
|
}
|
|
272179
272179
|
};
|
|
272180
272180
|
registerCleanup(shutdownTelemetry);
|
|
272181
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.0.
|
|
272181
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.0.4+b41f3f3");
|
|
272182
272182
|
}
|
|
272183
272183
|
async function flushTelemetry() {
|
|
272184
272184
|
const meterProvider = getMeterProvider();
|
|
@@ -272864,9 +272864,9 @@ async function assertMinVersion() {
|
|
|
272864
272864
|
if (false) {}
|
|
272865
272865
|
try {
|
|
272866
272866
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
272867
|
-
if (versionConfig.minVersion && lt("1.0.
|
|
272867
|
+
if (versionConfig.minVersion && lt("1.0.4+b41f3f3", versionConfig.minVersion)) {
|
|
272868
272868
|
console.error(`
|
|
272869
|
-
It looks like your version of Vivus (${"1.0.
|
|
272869
|
+
It looks like your version of Vivus (${"1.0.4+b41f3f3"}) needs an update.
|
|
272870
272870
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
272871
272871
|
|
|
272872
272872
|
To update, please run:
|
|
@@ -273082,7 +273082,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
273082
273082
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
273083
273083
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
273084
273084
|
pid: process.pid,
|
|
273085
|
-
currentVersion: "1.0.
|
|
273085
|
+
currentVersion: "1.0.4+b41f3f3"
|
|
273086
273086
|
});
|
|
273087
273087
|
return "in_progress";
|
|
273088
273088
|
}
|
|
@@ -273091,7 +273091,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
273091
273091
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
273092
273092
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
273093
273093
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
273094
|
-
currentVersion: "1.0.
|
|
273094
|
+
currentVersion: "1.0.4+b41f3f3"
|
|
273095
273095
|
});
|
|
273096
273096
|
console.error(`
|
|
273097
273097
|
Error: Windows NPM detected in WSL
|
|
@@ -273624,7 +273624,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
273624
273624
|
}
|
|
273625
273625
|
async function getDoctorDiagnostic() {
|
|
273626
273626
|
const installationType = await getCurrentInstallationType();
|
|
273627
|
-
const version2 = typeof MACRO !== "undefined" ? "1.0.
|
|
273627
|
+
const version2 = typeof MACRO !== "undefined" ? "1.0.4+b41f3f3" : "unknown";
|
|
273628
273628
|
const installationPath = await getInstallationPath();
|
|
273629
273629
|
const invokedBinary = getInvokedBinary();
|
|
273630
273630
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -274557,8 +274557,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
274557
274557
|
const maxVersion = await getMaxVersion();
|
|
274558
274558
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
274559
274559
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
274560
|
-
if (gte("1.0.
|
|
274561
|
-
logForDebugging(`Native installer: current version ${"1.0.
|
|
274560
|
+
if (gte("1.0.4+b41f3f3", maxVersion)) {
|
|
274561
|
+
logForDebugging(`Native installer: current version ${"1.0.4+b41f3f3"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
274562
274562
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
274563
274563
|
latency_ms: Date.now() - startTime,
|
|
274564
274564
|
max_version: maxVersion,
|
|
@@ -274569,7 +274569,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
274569
274569
|
version2 = maxVersion;
|
|
274570
274570
|
}
|
|
274571
274571
|
}
|
|
274572
|
-
if (!forceReinstall && version2 === "1.0.
|
|
274572
|
+
if (!forceReinstall && version2 === "1.0.4+b41f3f3" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
274573
274573
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
274574
274574
|
logEvent("tengu_native_update_complete", {
|
|
274575
274575
|
latency_ms: Date.now() - startTime,
|
|
@@ -289435,17 +289435,19 @@ function OAuthStatusMessage(t0) {
|
|
|
289435
289435
|
setOAuthStatus({
|
|
289436
289436
|
state: "platform_setup"
|
|
289437
289437
|
});
|
|
289438
|
+
} else if (value_0 === "vivusai") {
|
|
289439
|
+
logEvent("tengu_oauth_vivusai_selected", {});
|
|
289440
|
+
setLoginWithVivusAi(true);
|
|
289441
|
+
setOAuthStatus({
|
|
289442
|
+
state: "manual_credentials",
|
|
289443
|
+
step: "url"
|
|
289444
|
+
});
|
|
289438
289445
|
} else {
|
|
289446
|
+
logEvent("tengu_oauth_console_selected", {});
|
|
289447
|
+
setLoginWithVivusAi(false);
|
|
289439
289448
|
setOAuthStatus({
|
|
289440
289449
|
state: "ready_to_start"
|
|
289441
289450
|
});
|
|
289442
|
-
if (value_0 === "vivusai") {
|
|
289443
|
-
logEvent("tengu_oauth_vivusai_selected", {});
|
|
289444
|
-
setLoginWithVivusAi(true);
|
|
289445
|
-
} else {
|
|
289446
|
-
logEvent("tengu_oauth_console_selected", {});
|
|
289447
|
-
setLoginWithVivusAi(false);
|
|
289448
|
-
}
|
|
289449
289451
|
}
|
|
289450
289452
|
}
|
|
289451
289453
|
}, undefined, false, undefined, this)
|
|
@@ -289608,6 +289610,27 @@ function OAuthStatusMessage(t0) {
|
|
|
289608
289610
|
}
|
|
289609
289611
|
return t8;
|
|
289610
289612
|
}
|
|
289613
|
+
case "manual_credentials": {
|
|
289614
|
+
return /* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ManualCredentialsPrompt, {
|
|
289615
|
+
status: oauthStatus,
|
|
289616
|
+
setOAuthStatus,
|
|
289617
|
+
textInputColumns
|
|
289618
|
+
}, undefined, false, undefined, this);
|
|
289619
|
+
}
|
|
289620
|
+
case "manual_saving": {
|
|
289621
|
+
return /* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedBox_default, {
|
|
289622
|
+
flexDirection: "column",
|
|
289623
|
+
gap: 1,
|
|
289624
|
+
children: /* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedBox_default, {
|
|
289625
|
+
children: [
|
|
289626
|
+
/* @__PURE__ */ jsx_dev_runtime90.jsxDEV(Spinner, {}, undefined, false, undefined, this),
|
|
289627
|
+
/* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedText, {
|
|
289628
|
+
children: "Saving credentials…"
|
|
289629
|
+
}, undefined, false, undefined, this)
|
|
289630
|
+
]
|
|
289631
|
+
}, undefined, true, undefined, this)
|
|
289632
|
+
}, undefined, false, undefined, this);
|
|
289633
|
+
}
|
|
289611
289634
|
case "waiting_for_login": {
|
|
289612
289635
|
let t1;
|
|
289613
289636
|
if ($2[20] !== forcedMethodMessage) {
|
|
@@ -289831,6 +289854,110 @@ function OAuthStatusMessage(t0) {
|
|
|
289831
289854
|
}
|
|
289832
289855
|
}
|
|
289833
289856
|
}
|
|
289857
|
+
function ManualCredentialsPrompt({
|
|
289858
|
+
status,
|
|
289859
|
+
setOAuthStatus,
|
|
289860
|
+
textInputColumns
|
|
289861
|
+
}) {
|
|
289862
|
+
const [value, setValue] = import_react70.useState("");
|
|
289863
|
+
const [cursor, setCursor] = import_react70.useState(0);
|
|
289864
|
+
const step = status.step;
|
|
289865
|
+
const isUrlStep = step === "url";
|
|
289866
|
+
const handleSubmit = async (raw) => {
|
|
289867
|
+
const trimmed = raw.trim();
|
|
289868
|
+
if (!trimmed)
|
|
289869
|
+
return;
|
|
289870
|
+
if (isUrlStep) {
|
|
289871
|
+
let normalized = trimmed;
|
|
289872
|
+
if (!/^https?:\/\//i.test(normalized)) {
|
|
289873
|
+
normalized = "https://" + normalized;
|
|
289874
|
+
}
|
|
289875
|
+
normalized = normalized.replace(/\/+$/, "");
|
|
289876
|
+
try {
|
|
289877
|
+
new URL(normalized);
|
|
289878
|
+
} catch {
|
|
289879
|
+
setOAuthStatus({
|
|
289880
|
+
state: "error",
|
|
289881
|
+
message: "Invalid URL. Please enter a valid http(s) URL.",
|
|
289882
|
+
toRetry: { state: "manual_credentials", step: "url" }
|
|
289883
|
+
});
|
|
289884
|
+
return;
|
|
289885
|
+
}
|
|
289886
|
+
setValue("");
|
|
289887
|
+
setCursor(0);
|
|
289888
|
+
setOAuthStatus({ state: "manual_credentials", step: "token", url: normalized });
|
|
289889
|
+
return;
|
|
289890
|
+
}
|
|
289891
|
+
setOAuthStatus({ state: "manual_saving" });
|
|
289892
|
+
try {
|
|
289893
|
+
const url3 = status.url ?? "";
|
|
289894
|
+
await saveApiKey(trimmed);
|
|
289895
|
+
const result = updateSettingsForSource("userSettings", {
|
|
289896
|
+
env: { ANTHROPIC_BASE_URL: url3, VIVUS_PROXY_URL: url3 }
|
|
289897
|
+
});
|
|
289898
|
+
if (result.error)
|
|
289899
|
+
throw result.error;
|
|
289900
|
+
logEvent("tengu_vivus_manual_credentials_saved", {});
|
|
289901
|
+
setOAuthStatus({ state: "success" });
|
|
289902
|
+
} catch (err) {
|
|
289903
|
+
logError2(err);
|
|
289904
|
+
setOAuthStatus({
|
|
289905
|
+
state: "error",
|
|
289906
|
+
message: err.message,
|
|
289907
|
+
toRetry: { state: "manual_credentials", step: "url" }
|
|
289908
|
+
});
|
|
289909
|
+
}
|
|
289910
|
+
};
|
|
289911
|
+
return /* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedBox_default, {
|
|
289912
|
+
flexDirection: "column",
|
|
289913
|
+
gap: 1,
|
|
289914
|
+
marginTop: 1,
|
|
289915
|
+
children: [
|
|
289916
|
+
/* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedText, {
|
|
289917
|
+
bold: true,
|
|
289918
|
+
children: "Configure your Vivus subscription endpoint"
|
|
289919
|
+
}, undefined, false, undefined, this),
|
|
289920
|
+
/* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedBox_default, {
|
|
289921
|
+
flexDirection: "column",
|
|
289922
|
+
gap: 1,
|
|
289923
|
+
children: [
|
|
289924
|
+
isUrlStep ? /* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedText, {
|
|
289925
|
+
children: "Enter your Vivus proxy URL (e.g. https://vivus.example.com):"
|
|
289926
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime90.jsxDEV(jsx_dev_runtime90.Fragment, {
|
|
289927
|
+
children: [
|
|
289928
|
+
/* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedText, {
|
|
289929
|
+
dimColor: true,
|
|
289930
|
+
children: [
|
|
289931
|
+
"URL: ",
|
|
289932
|
+
status.url
|
|
289933
|
+
]
|
|
289934
|
+
}, undefined, true, undefined, this),
|
|
289935
|
+
/* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedText, {
|
|
289936
|
+
children: "Enter your API token:"
|
|
289937
|
+
}, undefined, false, undefined, this)
|
|
289938
|
+
]
|
|
289939
|
+
}, undefined, true, undefined, this),
|
|
289940
|
+
/* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedBox_default, {
|
|
289941
|
+
children: [
|
|
289942
|
+
/* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedText, {
|
|
289943
|
+
children: isUrlStep ? "> " : "> "
|
|
289944
|
+
}, undefined, false, undefined, this),
|
|
289945
|
+
/* @__PURE__ */ jsx_dev_runtime90.jsxDEV(TextInput, {
|
|
289946
|
+
value,
|
|
289947
|
+
onChange: setValue,
|
|
289948
|
+
onSubmit: handleSubmit,
|
|
289949
|
+
cursorOffset: cursor,
|
|
289950
|
+
onChangeCursorOffset: setCursor,
|
|
289951
|
+
columns: textInputColumns,
|
|
289952
|
+
mask: isUrlStep ? undefined : "*"
|
|
289953
|
+
}, undefined, false, undefined, this)
|
|
289954
|
+
]
|
|
289955
|
+
}, undefined, true, undefined, this)
|
|
289956
|
+
]
|
|
289957
|
+
}, undefined, true, undefined, this)
|
|
289958
|
+
]
|
|
289959
|
+
}, undefined, true, undefined, this);
|
|
289960
|
+
}
|
|
289834
289961
|
var import_compiler_runtime76, import_react70, jsx_dev_runtime90, PASTE_HERE_MSG = "Paste code here if prompted > ";
|
|
289835
289962
|
var init_ConsoleOAuthFlow = __esm(() => {
|
|
289836
289963
|
init_analytics();
|
|
@@ -330482,7 +330609,7 @@ function getAnthropicEnvMetadata() {
|
|
|
330482
330609
|
function getBuildAgeMinutes() {
|
|
330483
330610
|
if (false)
|
|
330484
330611
|
;
|
|
330485
|
-
const buildTime = new Date("2026-06-05T22:
|
|
330612
|
+
const buildTime = new Date("2026-06-05T22:56:04.667Z").getTime();
|
|
330486
330613
|
if (isNaN(buildTime))
|
|
330487
330614
|
return;
|
|
330488
330615
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -377697,7 +377824,7 @@ var init_filesystem = __esm(() => {
|
|
|
377697
377824
|
});
|
|
377698
377825
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
377699
377826
|
const nonce = randomBytes17(16).toString("hex");
|
|
377700
|
-
return join106(getVivusTempDir(), "bundled-skills", "1.0.
|
|
377827
|
+
return join106(getVivusTempDir(), "bundled-skills", "1.0.4+b41f3f3", nonce);
|
|
377701
377828
|
});
|
|
377702
377829
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
377703
377830
|
});
|
|
@@ -379457,7 +379584,7 @@ function Feedback({
|
|
|
379457
379584
|
platform: env2.platform,
|
|
379458
379585
|
gitRepo: envInfo.isGit,
|
|
379459
379586
|
terminal: env2.terminal,
|
|
379460
|
-
version: "1.0.
|
|
379587
|
+
version: "1.0.4+b41f3f3",
|
|
379461
379588
|
transcript: normalizeMessagesForAPI(messages),
|
|
379462
379589
|
errors: sanitizedErrors,
|
|
379463
379590
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -379649,7 +379776,7 @@ function Feedback({
|
|
|
379649
379776
|
", ",
|
|
379650
379777
|
env2.terminal,
|
|
379651
379778
|
", v",
|
|
379652
|
-
"1.0.
|
|
379779
|
+
"1.0.4+b41f3f3"
|
|
379653
379780
|
]
|
|
379654
379781
|
}, undefined, true, undefined, this)
|
|
379655
379782
|
]
|
|
@@ -379755,7 +379882,7 @@ ${sanitizedDescription}
|
|
|
379755
379882
|
` + `**Environment Info**
|
|
379756
379883
|
` + `- Platform: ${env2.platform}
|
|
379757
379884
|
` + `- Terminal: ${env2.terminal}
|
|
379758
|
-
` + `- Version: ${"1.0.
|
|
379885
|
+
` + `- Version: ${"1.0.4+b41f3f3"}
|
|
379759
379886
|
` + `- Feedback ID: ${feedbackId}
|
|
379760
379887
|
` + `
|
|
379761
379888
|
**Errors**
|
|
@@ -382886,7 +383013,7 @@ function buildPrimarySection() {
|
|
|
382886
383013
|
}, undefined, false, undefined, this);
|
|
382887
383014
|
return [{
|
|
382888
383015
|
label: "Version",
|
|
382889
|
-
value: "1.0.
|
|
383016
|
+
value: "1.0.4+b41f3f3"
|
|
382890
383017
|
}, {
|
|
382891
383018
|
label: "Session name",
|
|
382892
383019
|
value: nameValue
|
|
@@ -386637,7 +386764,7 @@ function Config({
|
|
|
386637
386764
|
}
|
|
386638
386765
|
}, undefined, false, undefined, this)
|
|
386639
386766
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
386640
|
-
currentVersion: "1.0.
|
|
386767
|
+
currentVersion: "1.0.4+b41f3f3",
|
|
386641
386768
|
onChoice: (choice) => {
|
|
386642
386769
|
setShowSubmenu(null);
|
|
386643
386770
|
setTabsHidden(false);
|
|
@@ -386649,7 +386776,7 @@ function Config({
|
|
|
386649
386776
|
autoUpdatesChannel: "stable"
|
|
386650
386777
|
};
|
|
386651
386778
|
if (choice === "stay") {
|
|
386652
|
-
newSettings.minimumVersion = "1.0.
|
|
386779
|
+
newSettings.minimumVersion = "1.0.4+b41f3f3";
|
|
386653
386780
|
}
|
|
386654
386781
|
updateSettingsForSource("userSettings", newSettings);
|
|
386655
386782
|
setSettingsData((prev_27) => ({
|
|
@@ -394735,7 +394862,7 @@ function HelpV2(t0) {
|
|
|
394735
394862
|
let t6;
|
|
394736
394863
|
if ($2[31] !== tabs) {
|
|
394737
394864
|
t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
|
|
394738
|
-
title: `Vivus v${"1.0.
|
|
394865
|
+
title: `Vivus v${"1.0.4+b41f3f3"}`,
|
|
394739
394866
|
color: "professionalBlue",
|
|
394740
394867
|
defaultTab: "general",
|
|
394741
394868
|
children: tabs
|
|
@@ -418960,7 +419087,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
418960
419087
|
return [];
|
|
418961
419088
|
}
|
|
418962
419089
|
}
|
|
418963
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.
|
|
419090
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.4+b41f3f3") {
|
|
418964
419091
|
if (process.env.USER_TYPE === "ant") {
|
|
418965
419092
|
const changelog = "";
|
|
418966
419093
|
if (changelog) {
|
|
@@ -418987,7 +419114,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.3+aa2
|
|
|
418987
419114
|
releaseNotes
|
|
418988
419115
|
};
|
|
418989
419116
|
}
|
|
418990
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.0.
|
|
419117
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.0.4+b41f3f3") {
|
|
418991
419118
|
if (process.env.USER_TYPE === "ant") {
|
|
418992
419119
|
const changelog = "";
|
|
418993
419120
|
if (changelog) {
|
|
@@ -420157,7 +420284,7 @@ function getRecentActivitySync() {
|
|
|
420157
420284
|
return cachedActivity;
|
|
420158
420285
|
}
|
|
420159
420286
|
function getLogoDisplayData() {
|
|
420160
|
-
const version2 = process.env.DEMO_VERSION ?? "1.0.
|
|
420287
|
+
const version2 = process.env.DEMO_VERSION ?? "1.0.4+b41f3f3";
|
|
420161
420288
|
const serverUrl = getDirectConnectServerUrl();
|
|
420162
420289
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
420163
420290
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -421684,7 +421811,7 @@ function LogoV2() {
|
|
|
421684
421811
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
421685
421812
|
t2 = () => {
|
|
421686
421813
|
const currentConfig = getGlobalConfig();
|
|
421687
|
-
if (currentConfig.lastReleaseNotesSeen === "1.0.
|
|
421814
|
+
if (currentConfig.lastReleaseNotesSeen === "1.0.4+b41f3f3") {
|
|
421688
421815
|
return;
|
|
421689
421816
|
}
|
|
421690
421817
|
saveGlobalConfig(_temp329);
|
|
@@ -422360,12 +422487,12 @@ function LogoV2() {
|
|
|
422360
422487
|
return t41;
|
|
422361
422488
|
}
|
|
422362
422489
|
function _temp329(current) {
|
|
422363
|
-
if (current.lastReleaseNotesSeen === "1.0.
|
|
422490
|
+
if (current.lastReleaseNotesSeen === "1.0.4+b41f3f3") {
|
|
422364
422491
|
return current;
|
|
422365
422492
|
}
|
|
422366
422493
|
return {
|
|
422367
422494
|
...current,
|
|
422368
|
-
lastReleaseNotesSeen: "1.0.
|
|
422495
|
+
lastReleaseNotesSeen: "1.0.4+b41f3f3"
|
|
422369
422496
|
};
|
|
422370
422497
|
}
|
|
422371
422498
|
function _temp245(s_0) {
|
|
@@ -448662,7 +448789,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
448662
448789
|
smapsRollup,
|
|
448663
448790
|
platform: process.platform,
|
|
448664
448791
|
nodeVersion: process.version,
|
|
448665
|
-
ccVersion: "1.0.
|
|
448792
|
+
ccVersion: "1.0.4+b41f3f3"
|
|
448666
448793
|
};
|
|
448667
448794
|
}
|
|
448668
448795
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -449248,7 +449375,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
449248
449375
|
var call56 = async () => {
|
|
449249
449376
|
return {
|
|
449250
449377
|
type: "text",
|
|
449251
|
-
value: `${"1.0.
|
|
449378
|
+
value: `${"1.0.4+b41f3f3"} (built ${"2026-06-05T22:56:04.667Z"})`
|
|
449252
449379
|
};
|
|
449253
449380
|
}, version2, version_default;
|
|
449254
449381
|
var init_version = __esm(() => {
|
|
@@ -458211,7 +458338,7 @@ function generateHtmlReport(data, insights) {
|
|
|
458211
458338
|
</html>`;
|
|
458212
458339
|
}
|
|
458213
458340
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
458214
|
-
const version3 = typeof MACRO !== "undefined" ? "1.0.
|
|
458341
|
+
const version3 = typeof MACRO !== "undefined" ? "1.0.4+b41f3f3" : "unknown";
|
|
458215
458342
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
458216
458343
|
const facets_summary = {
|
|
458217
458344
|
total: facets.size,
|
|
@@ -462320,7 +462447,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
462320
462447
|
init_settings2();
|
|
462321
462448
|
init_slowOperations();
|
|
462322
462449
|
init_uuid();
|
|
462323
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.0.
|
|
462450
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.0.4+b41f3f3" : "unknown";
|
|
462324
462451
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
462325
462452
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
462326
462453
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -465191,7 +465318,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
465191
465318
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
465192
465319
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
465193
465320
|
betas: getSdkBetas(),
|
|
465194
|
-
vivus_code_version: "1.0.
|
|
465321
|
+
vivus_code_version: "1.0.4+b41f3f3",
|
|
465195
465322
|
output_style: outputStyle2,
|
|
465196
465323
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
465197
465324
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -479819,7 +479946,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
479819
479946
|
function getSemverPart(version3) {
|
|
479820
479947
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
479821
479948
|
}
|
|
479822
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.0.
|
|
479949
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.0.4+b41f3f3") {
|
|
479823
479950
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
|
|
479824
479951
|
if (!updatedVersion) {
|
|
479825
479952
|
return null;
|
|
@@ -479859,7 +479986,7 @@ function AutoUpdater({
|
|
|
479859
479986
|
return;
|
|
479860
479987
|
}
|
|
479861
479988
|
if (false) {}
|
|
479862
|
-
const currentVersion = "1.0.
|
|
479989
|
+
const currentVersion = "1.0.4+b41f3f3";
|
|
479863
479990
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
479864
479991
|
let latestVersion = await getLatestVersion(channel);
|
|
479865
479992
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -480072,12 +480199,12 @@ function NativeAutoUpdater({
|
|
|
480072
480199
|
logEvent("tengu_native_auto_updater_start", {});
|
|
480073
480200
|
try {
|
|
480074
480201
|
const maxVersion = await getMaxVersion();
|
|
480075
|
-
if (maxVersion && gt("1.0.
|
|
480202
|
+
if (maxVersion && gt("1.0.4+b41f3f3", maxVersion)) {
|
|
480076
480203
|
const msg = await getMaxVersionMessage();
|
|
480077
480204
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
480078
480205
|
}
|
|
480079
480206
|
const result = await installLatest(channel);
|
|
480080
|
-
const currentVersion = "1.0.
|
|
480207
|
+
const currentVersion = "1.0.4+b41f3f3";
|
|
480081
480208
|
const latencyMs = Date.now() - startTime;
|
|
480082
480209
|
if (result.lockFailed) {
|
|
480083
480210
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -480214,17 +480341,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
480214
480341
|
const maxVersion = await getMaxVersion();
|
|
480215
480342
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
480216
480343
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
480217
|
-
if (gte("1.0.
|
|
480218
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.0.
|
|
480344
|
+
if (gte("1.0.4+b41f3f3", maxVersion)) {
|
|
480345
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.0.4+b41f3f3"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
480219
480346
|
setUpdateAvailable(false);
|
|
480220
480347
|
return;
|
|
480221
480348
|
}
|
|
480222
480349
|
latest = maxVersion;
|
|
480223
480350
|
}
|
|
480224
|
-
const hasUpdate = latest && !gte("1.0.
|
|
480351
|
+
const hasUpdate = latest && !gte("1.0.4+b41f3f3", latest) && !shouldSkipVersion(latest);
|
|
480225
480352
|
setUpdateAvailable(!!hasUpdate);
|
|
480226
480353
|
if (hasUpdate) {
|
|
480227
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.0.
|
|
480354
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.0.4+b41f3f3"} -> ${latest}`);
|
|
480228
480355
|
}
|
|
480229
480356
|
};
|
|
480230
480357
|
$2[0] = t1;
|
|
@@ -480258,7 +480385,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
480258
480385
|
wrap: "truncate",
|
|
480259
480386
|
children: [
|
|
480260
480387
|
"currentVersion: ",
|
|
480261
|
-
"1.0.
|
|
480388
|
+
"1.0.4+b41f3f3"
|
|
480262
480389
|
]
|
|
480263
480390
|
}, undefined, true, undefined, this);
|
|
480264
480391
|
$2[3] = verbose;
|
|
@@ -488426,7 +488553,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
488426
488553
|
project_dir: getOriginalCwd(),
|
|
488427
488554
|
added_dirs: addedDirs
|
|
488428
488555
|
},
|
|
488429
|
-
version: "1.0.
|
|
488556
|
+
version: "1.0.4+b41f3f3",
|
|
488430
488557
|
output_style: {
|
|
488431
488558
|
name: outputStyleName
|
|
488432
488559
|
},
|
|
@@ -499910,7 +500037,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
499910
500037
|
} catch {}
|
|
499911
500038
|
const data = {
|
|
499912
500039
|
trigger,
|
|
499913
|
-
version: "1.0.
|
|
500040
|
+
version: "1.0.4+b41f3f3",
|
|
499914
500041
|
platform: process.platform,
|
|
499915
500042
|
transcript,
|
|
499916
500043
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -511316,7 +511443,7 @@ function WelcomeV2() {
|
|
|
511316
511443
|
dimColor: true,
|
|
511317
511444
|
children: [
|
|
511318
511445
|
"v",
|
|
511319
|
-
"1.0.
|
|
511446
|
+
"1.0.4+b41f3f3",
|
|
511320
511447
|
" "
|
|
511321
511448
|
]
|
|
511322
511449
|
}, undefined, true, undefined, this)
|
|
@@ -511516,7 +511643,7 @@ function WelcomeV2() {
|
|
|
511516
511643
|
dimColor: true,
|
|
511517
511644
|
children: [
|
|
511518
511645
|
"v",
|
|
511519
|
-
"1.0.
|
|
511646
|
+
"1.0.4+b41f3f3",
|
|
511520
511647
|
" "
|
|
511521
511648
|
]
|
|
511522
511649
|
}, undefined, true, undefined, this)
|
|
@@ -511742,7 +511869,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
511742
511869
|
dimColor: true,
|
|
511743
511870
|
children: [
|
|
511744
511871
|
"v",
|
|
511745
|
-
"1.0.
|
|
511872
|
+
"1.0.4+b41f3f3",
|
|
511746
511873
|
" "
|
|
511747
511874
|
]
|
|
511748
511875
|
}, undefined, true, undefined, this);
|
|
@@ -511996,7 +512123,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
511996
512123
|
dimColor: true,
|
|
511997
512124
|
children: [
|
|
511998
512125
|
"v",
|
|
511999
|
-
"1.0.
|
|
512126
|
+
"1.0.4+b41f3f3",
|
|
512000
512127
|
" "
|
|
512001
512128
|
]
|
|
512002
512129
|
}, undefined, true, undefined, this);
|
|
@@ -515060,7 +515187,7 @@ function appendToLog(path25, message) {
|
|
|
515060
515187
|
cwd: getFsImplementation().cwd(),
|
|
515061
515188
|
userType: process.env.USER_TYPE,
|
|
515062
515189
|
sessionId: getSessionId(),
|
|
515063
|
-
version: "1.0.
|
|
515190
|
+
version: "1.0.4+b41f3f3"
|
|
515064
515191
|
};
|
|
515065
515192
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
515066
515193
|
}
|
|
@@ -519045,8 +519172,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
519045
519172
|
}
|
|
519046
519173
|
async function checkEnvLessBridgeMinVersion() {
|
|
519047
519174
|
const cfg = await getEnvLessBridgeConfig();
|
|
519048
|
-
if (cfg.min_version && lt("1.0.
|
|
519049
|
-
return `Your version of Vivus (${"1.0.
|
|
519175
|
+
if (cfg.min_version && lt("1.0.4+b41f3f3", cfg.min_version)) {
|
|
519176
|
+
return `Your version of Vivus (${"1.0.4+b41f3f3"}) is too old for Remote Control.
|
|
519050
519177
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
519051
519178
|
}
|
|
519052
519179
|
return null;
|
|
@@ -519520,7 +519647,7 @@ async function initBridgeCore(params) {
|
|
|
519520
519647
|
const rawApi = createBridgeApiClient({
|
|
519521
519648
|
baseUrl,
|
|
519522
519649
|
getAccessToken,
|
|
519523
|
-
runnerVersion: "1.0.
|
|
519650
|
+
runnerVersion: "1.0.4+b41f3f3",
|
|
519524
519651
|
onDebug: logForDebugging,
|
|
519525
519652
|
onAuth401,
|
|
519526
519653
|
getTrustedDeviceToken
|
|
@@ -525184,7 +525311,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
525184
525311
|
setCwd(cwd3);
|
|
525185
525312
|
const server = new Server({
|
|
525186
525313
|
name: "vivus/tengu",
|
|
525187
|
-
version: "1.0.
|
|
525314
|
+
version: "1.0.4+b41f3f3"
|
|
525188
525315
|
}, {
|
|
525189
525316
|
capabilities: {
|
|
525190
525317
|
tools: {}
|
|
@@ -526795,7 +526922,7 @@ __export(exports_update, {
|
|
|
526795
526922
|
});
|
|
526796
526923
|
async function update() {
|
|
526797
526924
|
logEvent("tengu_update_check", {});
|
|
526798
|
-
writeToStdout(`Current version: ${"1.0.
|
|
526925
|
+
writeToStdout(`Current version: ${"1.0.4+b41f3f3"}
|
|
526799
526926
|
`);
|
|
526800
526927
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
526801
526928
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -526870,8 +526997,8 @@ async function update() {
|
|
|
526870
526997
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
526871
526998
|
`);
|
|
526872
526999
|
const latest = await getLatestVersion(channel);
|
|
526873
|
-
if (latest && !gte("1.0.
|
|
526874
|
-
writeToStdout(`Update available: ${"1.0.
|
|
527000
|
+
if (latest && !gte("1.0.4+b41f3f3", latest)) {
|
|
527001
|
+
writeToStdout(`Update available: ${"1.0.4+b41f3f3"} → ${latest}
|
|
526875
527002
|
`);
|
|
526876
527003
|
writeToStdout(`
|
|
526877
527004
|
`);
|
|
@@ -526887,8 +527014,8 @@ async function update() {
|
|
|
526887
527014
|
writeToStdout(`Vivus is managed by winget.
|
|
526888
527015
|
`);
|
|
526889
527016
|
const latest = await getLatestVersion(channel);
|
|
526890
|
-
if (latest && !gte("1.0.
|
|
526891
|
-
writeToStdout(`Update available: ${"1.0.
|
|
527017
|
+
if (latest && !gte("1.0.4+b41f3f3", latest)) {
|
|
527018
|
+
writeToStdout(`Update available: ${"1.0.4+b41f3f3"} → ${latest}
|
|
526892
527019
|
`);
|
|
526893
527020
|
writeToStdout(`
|
|
526894
527021
|
`);
|
|
@@ -526904,8 +527031,8 @@ async function update() {
|
|
|
526904
527031
|
writeToStdout(`Vivus is managed by apk.
|
|
526905
527032
|
`);
|
|
526906
527033
|
const latest = await getLatestVersion(channel);
|
|
526907
|
-
if (latest && !gte("1.0.
|
|
526908
|
-
writeToStdout(`Update available: ${"1.0.
|
|
527034
|
+
if (latest && !gte("1.0.4+b41f3f3", latest)) {
|
|
527035
|
+
writeToStdout(`Update available: ${"1.0.4+b41f3f3"} → ${latest}
|
|
526909
527036
|
`);
|
|
526910
527037
|
writeToStdout(`
|
|
526911
527038
|
`);
|
|
@@ -526970,11 +527097,11 @@ async function update() {
|
|
|
526970
527097
|
`);
|
|
526971
527098
|
await gracefulShutdown(1);
|
|
526972
527099
|
}
|
|
526973
|
-
if (result.latestVersion === "1.0.
|
|
526974
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.0.
|
|
527100
|
+
if (result.latestVersion === "1.0.4+b41f3f3") {
|
|
527101
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.0.4+b41f3f3"})`) + `
|
|
526975
527102
|
`);
|
|
526976
527103
|
} else {
|
|
526977
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.0.
|
|
527104
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.0.4+b41f3f3"} to version ${result.latestVersion}`) + `
|
|
526978
527105
|
`);
|
|
526979
527106
|
await regenerateCompletionCache();
|
|
526980
527107
|
}
|
|
@@ -527031,12 +527158,12 @@ async function update() {
|
|
|
527031
527158
|
`);
|
|
527032
527159
|
await gracefulShutdown(1);
|
|
527033
527160
|
}
|
|
527034
|
-
if (latestVersion === "1.0.
|
|
527035
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.0.
|
|
527161
|
+
if (latestVersion === "1.0.4+b41f3f3") {
|
|
527162
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.0.4+b41f3f3"})`) + `
|
|
527036
527163
|
`);
|
|
527037
527164
|
await gracefulShutdown(0);
|
|
527038
527165
|
}
|
|
527039
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.0.
|
|
527166
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.0.4+b41f3f3"})
|
|
527040
527167
|
`);
|
|
527041
527168
|
writeToStdout(`Installing update...
|
|
527042
527169
|
`);
|
|
@@ -527081,7 +527208,7 @@ async function update() {
|
|
|
527081
527208
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
527082
527209
|
switch (status2) {
|
|
527083
527210
|
case "success":
|
|
527084
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.0.
|
|
527211
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.0.4+b41f3f3"} to version ${latestVersion}`) + `
|
|
527085
527212
|
`);
|
|
527086
527213
|
await regenerateCompletionCache();
|
|
527087
527214
|
break;
|
|
@@ -528051,7 +528178,7 @@ function completeOnboarding() {
|
|
|
528051
528178
|
saveGlobalConfig((current) => ({
|
|
528052
528179
|
...current,
|
|
528053
528180
|
hasCompletedOnboarding: true,
|
|
528054
|
-
lastOnboardingVersion: "1.0.
|
|
528181
|
+
lastOnboardingVersion: "1.0.4+b41f3f3"
|
|
528055
528182
|
}));
|
|
528056
528183
|
}
|
|
528057
528184
|
function showDialog(root2, renderer) {
|
|
@@ -532140,7 +532267,7 @@ ${customInstructions}` : customInstructions;
|
|
|
532140
532267
|
}
|
|
532141
532268
|
}
|
|
532142
532269
|
logForDiagnosticsNoPII("info", "started", {
|
|
532143
|
-
version: "1.0.
|
|
532270
|
+
version: "1.0.4+b41f3f3",
|
|
532144
532271
|
is_native_binary: isInBundledMode()
|
|
532145
532272
|
});
|
|
532146
532273
|
registerCleanup(async () => {
|
|
@@ -532924,7 +533051,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
532924
533051
|
pendingHookMessages
|
|
532925
533052
|
}, renderAndRun);
|
|
532926
533053
|
}
|
|
532927
|
-
}).version("1.0.
|
|
533054
|
+
}).version("1.0.4+b41f3f3 (Vivus)", "-v, --version", "Output the version number");
|
|
532928
533055
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
532929
533056
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
532930
533057
|
if (canUserConfigureAdvisor()) {
|