vivus-agent 1.1.2 → 1.1.3
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 +122 -100
- 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-15T14:19:02.347Z
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
var __create = Object.create;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -115978,7 +115978,7 @@ var init_auth = __esm(() => {
|
|
|
115978
115978
|
|
|
115979
115979
|
// src/utils/userAgent.ts
|
|
115980
115980
|
function getVivusCodeUserAgent() {
|
|
115981
|
-
return `vivus/${"1.1.
|
|
115981
|
+
return `vivus/${"1.1.3+f21087e-dirty"}`;
|
|
115982
115982
|
}
|
|
115983
115983
|
|
|
115984
115984
|
// src/utils/workloadContext.ts
|
|
@@ -116000,7 +116000,7 @@ function getUserAgent() {
|
|
|
116000
116000
|
const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
|
|
116001
116001
|
const workload = getWorkload();
|
|
116002
116002
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
116003
|
-
return `vivus-cli/${"1.1.
|
|
116003
|
+
return `vivus-cli/${"1.1.3+f21087e-dirty"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
116004
116004
|
}
|
|
116005
116005
|
function getMCPUserAgent() {
|
|
116006
116006
|
const parts = [];
|
|
@@ -116014,7 +116014,7 @@ function getMCPUserAgent() {
|
|
|
116014
116014
|
parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
|
|
116015
116015
|
}
|
|
116016
116016
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
116017
|
-
return `vivus/${"1.1.
|
|
116017
|
+
return `vivus/${"1.1.3+f21087e-dirty"}${suffix}`;
|
|
116018
116018
|
}
|
|
116019
116019
|
function getWebFetchUserAgent() {
|
|
116020
116020
|
return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -116152,7 +116152,7 @@ var init_user = __esm(() => {
|
|
|
116152
116152
|
deviceId,
|
|
116153
116153
|
sessionId: getSessionId(),
|
|
116154
116154
|
email: getEmail(),
|
|
116155
|
-
appVersion: "1.1.
|
|
116155
|
+
appVersion: "1.1.3+f21087e-dirty",
|
|
116156
116156
|
platform: getHostPlatformForAnalytics(),
|
|
116157
116157
|
organizationUuid,
|
|
116158
116158
|
accountUuid,
|
|
@@ -127818,7 +127818,7 @@ var init_metadata = __esm(() => {
|
|
|
127818
127818
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
127819
127819
|
WHITESPACE_REGEX = /\s+/;
|
|
127820
127820
|
getVersionBase = memoize_default(() => {
|
|
127821
|
-
const match = "1.1.
|
|
127821
|
+
const match = "1.1.3+f21087e-dirty".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
127822
127822
|
return match ? match[0] : undefined;
|
|
127823
127823
|
});
|
|
127824
127824
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -127858,9 +127858,9 @@ var init_metadata = __esm(() => {
|
|
|
127858
127858
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
127859
127859
|
isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
|
|
127860
127860
|
isVivusAiAuth: isVivusAISubscriber(),
|
|
127861
|
-
version: "1.1.
|
|
127861
|
+
version: "1.1.3+f21087e-dirty",
|
|
127862
127862
|
versionBase: getVersionBase(),
|
|
127863
|
-
buildTime: "2026-06-
|
|
127863
|
+
buildTime: "2026-06-15T14:19:01.820Z",
|
|
127864
127864
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
127865
127865
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
127866
127866
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -128528,7 +128528,7 @@ function initialize1PEventLogging() {
|
|
|
128528
128528
|
const platform2 = getPlatform();
|
|
128529
128529
|
const attributes = {
|
|
128530
128530
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
|
|
128531
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.
|
|
128531
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.3+f21087e-dirty"
|
|
128532
128532
|
};
|
|
128533
128533
|
if (platform2 === "wsl") {
|
|
128534
128534
|
const wslVersion = getWslVersion();
|
|
@@ -128555,7 +128555,7 @@ function initialize1PEventLogging() {
|
|
|
128555
128555
|
})
|
|
128556
128556
|
]
|
|
128557
128557
|
});
|
|
128558
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
128558
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.3+f21087e-dirty");
|
|
128559
128559
|
}
|
|
128560
128560
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
128561
128561
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -162643,7 +162643,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
162643
162643
|
if (!isAttributionHeaderEnabled()) {
|
|
162644
162644
|
return "";
|
|
162645
162645
|
}
|
|
162646
|
-
const version2 = `${"1.1.
|
|
162646
|
+
const version2 = `${"1.1.3+f21087e-dirty"}.${fingerprint}`;
|
|
162647
162647
|
const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
|
|
162648
162648
|
const cch = "";
|
|
162649
162649
|
const workload = getWorkload();
|
|
@@ -175806,7 +175806,7 @@ function getTelemetryAttributes() {
|
|
|
175806
175806
|
attributes["session.id"] = sessionId;
|
|
175807
175807
|
}
|
|
175808
175808
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
175809
|
-
attributes["app.version"] = "1.1.
|
|
175809
|
+
attributes["app.version"] = "1.1.3+f21087e-dirty";
|
|
175810
175810
|
}
|
|
175811
175811
|
const oauthAccount = getOauthAccountInfo();
|
|
175812
175812
|
if (oauthAccount) {
|
|
@@ -199799,7 +199799,7 @@ function getAssistantMessageFromError(error41, model, options2) {
|
|
|
199799
199799
|
const innerMessage = stripped.match(/"message"\s*:\s*"([^"]*)"/)?.[1];
|
|
199800
199800
|
const detail = innerMessage || stripped;
|
|
199801
199801
|
return createAssistantAPIErrorMessage({
|
|
199802
|
-
content: `${API_ERROR_MESSAGE_PREFIX}: Request rejected (429) · ${detail || "this may be a temporary capacity issue — check status.
|
|
199802
|
+
content: `${API_ERROR_MESSAGE_PREFIX}: Request rejected (429) · ${detail || "this may be a temporary capacity issue — check status.vivus.ai"}`,
|
|
199803
199803
|
error: "rate_limit"
|
|
199804
199804
|
});
|
|
199805
199805
|
}
|
|
@@ -242355,7 +242355,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
242355
242355
|
}
|
|
242356
242356
|
function computeFingerprintFromMessages(messages) {
|
|
242357
242357
|
const firstMessageText = extractFirstMessageText(messages);
|
|
242358
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
242358
|
+
return computeFingerprint(firstMessageText, "1.1.3+f21087e-dirty");
|
|
242359
242359
|
}
|
|
242360
242360
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
242361
242361
|
var init_fingerprint = () => {};
|
|
@@ -242397,7 +242397,7 @@ async function sideQuery(opts) {
|
|
|
242397
242397
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
242398
242398
|
}
|
|
242399
242399
|
const messageText = extractFirstUserMessageText(messages);
|
|
242400
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
242400
|
+
const fingerprint = computeFingerprint(messageText, "1.1.3+f21087e-dirty");
|
|
242401
242401
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
242402
242402
|
const systemBlocks = [
|
|
242403
242403
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -243549,7 +243549,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
243549
243549
|
const client2 = new Client({
|
|
243550
243550
|
name: "vivus",
|
|
243551
243551
|
title: "Vivus",
|
|
243552
|
-
version: "1.1.
|
|
243552
|
+
version: "1.1.3+f21087e-dirty",
|
|
243553
243553
|
description: "Anthropic's agentic coding tool",
|
|
243554
243554
|
websiteUrl: PRODUCT_URL
|
|
243555
243555
|
}, {
|
|
@@ -243903,7 +243903,7 @@ var init_client6 = __esm(() => {
|
|
|
243903
243903
|
const client2 = new Client({
|
|
243904
243904
|
name: "vivus",
|
|
243905
243905
|
title: "Vivus",
|
|
243906
|
-
version: "1.1.
|
|
243906
|
+
version: "1.1.3+f21087e-dirty",
|
|
243907
243907
|
description: "Anthropic's agentic coding tool",
|
|
243908
243908
|
websiteUrl: PRODUCT_URL
|
|
243909
243909
|
}, {
|
|
@@ -245961,7 +245961,7 @@ function getInstallationEnv() {
|
|
|
245961
245961
|
return;
|
|
245962
245962
|
}
|
|
245963
245963
|
function getVivusCodeVersion() {
|
|
245964
|
-
return "1.1.
|
|
245964
|
+
return "1.1.3+f21087e-dirty";
|
|
245965
245965
|
}
|
|
245966
245966
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
245967
245967
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -278451,7 +278451,7 @@ async function initializeBetaTracing(resource) {
|
|
|
278451
278451
|
});
|
|
278452
278452
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
278453
278453
|
setLoggerProvider(loggerProvider);
|
|
278454
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
278454
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.3+f21087e-dirty");
|
|
278455
278455
|
setEventLogger(eventLogger);
|
|
278456
278456
|
process.on("beforeExit", async () => {
|
|
278457
278457
|
await loggerProvider?.forceFlush();
|
|
@@ -278491,7 +278491,7 @@ async function initializeTelemetry() {
|
|
|
278491
278491
|
const platform5 = getPlatform();
|
|
278492
278492
|
const baseAttributes = {
|
|
278493
278493
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
278494
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
278494
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.3+f21087e-dirty"
|
|
278495
278495
|
};
|
|
278496
278496
|
if (platform5 === "wsl") {
|
|
278497
278497
|
const wslVersion = getWslVersion();
|
|
@@ -278536,7 +278536,7 @@ async function initializeTelemetry() {
|
|
|
278536
278536
|
} catch {}
|
|
278537
278537
|
};
|
|
278538
278538
|
registerCleanup(shutdownTelemetry2);
|
|
278539
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.
|
|
278539
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.3+f21087e-dirty");
|
|
278540
278540
|
}
|
|
278541
278541
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
278542
278542
|
resource,
|
|
@@ -278556,7 +278556,7 @@ async function initializeTelemetry() {
|
|
|
278556
278556
|
});
|
|
278557
278557
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
278558
278558
|
setLoggerProvider(loggerProvider);
|
|
278559
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
278559
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.3+f21087e-dirty");
|
|
278560
278560
|
setEventLogger(eventLogger);
|
|
278561
278561
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
278562
278562
|
process.on("beforeExit", async () => {
|
|
@@ -278618,7 +278618,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
278618
278618
|
}
|
|
278619
278619
|
};
|
|
278620
278620
|
registerCleanup(shutdownTelemetry);
|
|
278621
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.
|
|
278621
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.3+f21087e-dirty");
|
|
278622
278622
|
}
|
|
278623
278623
|
async function flushTelemetry() {
|
|
278624
278624
|
const meterProvider = getMeterProvider();
|
|
@@ -278790,7 +278790,7 @@ async function call2() {
|
|
|
278790
278790
|
clearOnboarding: true
|
|
278791
278791
|
});
|
|
278792
278792
|
const message = /* @__PURE__ */ jsx_dev_runtime67.jsxDEV(ThemedText, {
|
|
278793
|
-
children: "Successfully logged out from your
|
|
278793
|
+
children: "Successfully logged out from your Vivus account."
|
|
278794
278794
|
}, undefined, false, undefined, this);
|
|
278795
278795
|
setTimeout(() => {
|
|
278796
278796
|
gracefulShutdownSync(0, "logout");
|
|
@@ -279304,9 +279304,9 @@ async function assertMinVersion() {
|
|
|
279304
279304
|
if (false) {}
|
|
279305
279305
|
try {
|
|
279306
279306
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
279307
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
279307
|
+
if (versionConfig.minVersion && lt("1.1.3+f21087e-dirty", versionConfig.minVersion)) {
|
|
279308
279308
|
console.error(`
|
|
279309
|
-
It looks like your version of Vivus (${"1.1.
|
|
279309
|
+
It looks like your version of Vivus (${"1.1.3+f21087e-dirty"}) needs an update.
|
|
279310
279310
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
279311
279311
|
|
|
279312
279312
|
To update, please run:
|
|
@@ -279522,7 +279522,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
279522
279522
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
279523
279523
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
279524
279524
|
pid: process.pid,
|
|
279525
|
-
currentVersion: "1.1.
|
|
279525
|
+
currentVersion: "1.1.3+f21087e-dirty"
|
|
279526
279526
|
});
|
|
279527
279527
|
return "in_progress";
|
|
279528
279528
|
}
|
|
@@ -279531,7 +279531,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
279531
279531
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
279532
279532
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
279533
279533
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
279534
|
-
currentVersion: "1.1.
|
|
279534
|
+
currentVersion: "1.1.3+f21087e-dirty"
|
|
279535
279535
|
});
|
|
279536
279536
|
console.error(`
|
|
279537
279537
|
Error: Windows NPM detected in WSL
|
|
@@ -280064,7 +280064,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
280064
280064
|
}
|
|
280065
280065
|
async function getDoctorDiagnostic() {
|
|
280066
280066
|
const installationType = await getCurrentInstallationType();
|
|
280067
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
280067
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.3+f21087e-dirty" : "unknown";
|
|
280068
280068
|
const installationPath = await getInstallationPath();
|
|
280069
280069
|
const invokedBinary = getInvokedBinary();
|
|
280070
280070
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -280997,8 +280997,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
280997
280997
|
const maxVersion = await getMaxVersion();
|
|
280998
280998
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
280999
280999
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
281000
|
-
if (gte("1.1.
|
|
281001
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
281000
|
+
if (gte("1.1.3+f21087e-dirty", maxVersion)) {
|
|
281001
|
+
logForDebugging(`Native installer: current version ${"1.1.3+f21087e-dirty"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
281002
281002
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
281003
281003
|
latency_ms: Date.now() - startTime,
|
|
281004
281004
|
max_version: maxVersion,
|
|
@@ -281009,7 +281009,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
281009
281009
|
version2 = maxVersion;
|
|
281010
281010
|
}
|
|
281011
281011
|
}
|
|
281012
|
-
if (!forceReinstall && version2 === "1.1.
|
|
281012
|
+
if (!forceReinstall && version2 === "1.1.3+f21087e-dirty" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
281013
281013
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
281014
281014
|
logEvent("tengu_native_update_complete", {
|
|
281015
281015
|
latency_ms: Date.now() - startTime,
|
|
@@ -282047,7 +282047,7 @@ function buildAPIProviderProperties() {
|
|
|
282047
282047
|
const anthropicBaseUrl = process.env.ANTHROPIC_BASE_URL;
|
|
282048
282048
|
if (anthropicBaseUrl) {
|
|
282049
282049
|
properties.push({
|
|
282050
|
-
label: "
|
|
282050
|
+
label: "Vivus base URL",
|
|
282051
282051
|
value: anthropicBaseUrl
|
|
282052
282052
|
});
|
|
282053
282053
|
}
|
|
@@ -282394,7 +282394,7 @@ async function authLogout() {
|
|
|
282394
282394
|
`);
|
|
282395
282395
|
process.exit(1);
|
|
282396
282396
|
}
|
|
282397
|
-
process.stdout.write(`Successfully logged out from your
|
|
282397
|
+
process.stdout.write(`Successfully logged out from your Vivus account.
|
|
282398
282398
|
`);
|
|
282399
282399
|
process.exit(0);
|
|
282400
282400
|
}
|
|
@@ -295459,7 +295459,7 @@ function ConsoleOAuthFlow({
|
|
|
295459
295459
|
const settings = getSettings_DEPRECATED() || {};
|
|
295460
295460
|
const forceLoginMethod = forceLoginMethodProp ?? settings.forceLoginMethod;
|
|
295461
295461
|
const orgUUID = settings.forceLoginOrgUUID;
|
|
295462
|
-
const forcedMethodMessage = forceLoginMethod === "vivus" ? "Login method pre-selected: Subscription Plan (Vivus Pro/Max)" : forceLoginMethod === "console" ? "Login method pre-selected: API Usage Billing
|
|
295462
|
+
const forcedMethodMessage = forceLoginMethod === "vivus" ? "Login method pre-selected: Subscription Plan (Vivus Pro/Max)" : forceLoginMethod === "console" ? "Login method pre-selected: API Usage Billing" : null;
|
|
295463
295463
|
const terminal = useTerminalNotification();
|
|
295464
295464
|
const [oauthStatus, setOAuthStatus] = import_react70.useState(() => {
|
|
295465
295465
|
if (mode === "setup-token") {
|
|
@@ -295827,11 +295827,11 @@ function OAuthStatusMessage(t0) {
|
|
|
295827
295827
|
t5 = {
|
|
295828
295828
|
label: /* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedText, {
|
|
295829
295829
|
children: [
|
|
295830
|
-
"
|
|
295830
|
+
"API usage billing ·",
|
|
295831
295831
|
" ",
|
|
295832
295832
|
/* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedText, {
|
|
295833
295833
|
dimColor: true,
|
|
295834
|
-
children: "
|
|
295834
|
+
children: "pay per token"
|
|
295835
295835
|
}, undefined, false, undefined, this),
|
|
295836
295836
|
`
|
|
295837
295837
|
`
|
|
@@ -336922,7 +336922,7 @@ function getAnthropicEnvMetadata() {
|
|
|
336922
336922
|
function getBuildAgeMinutes() {
|
|
336923
336923
|
if (false)
|
|
336924
336924
|
;
|
|
336925
|
-
const buildTime = new Date("2026-06-
|
|
336925
|
+
const buildTime = new Date("2026-06-15T14:19:01.820Z").getTime();
|
|
336926
336926
|
if (isNaN(buildTime))
|
|
336927
336927
|
return;
|
|
336928
336928
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -384138,7 +384138,7 @@ var init_filesystem = __esm(() => {
|
|
|
384138
384138
|
});
|
|
384139
384139
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
384140
384140
|
const nonce = randomBytes17(16).toString("hex");
|
|
384141
|
-
return join106(getVivusTempDir(), "bundled-skills", "1.1.
|
|
384141
|
+
return join106(getVivusTempDir(), "bundled-skills", "1.1.3+f21087e-dirty", nonce);
|
|
384142
384142
|
});
|
|
384143
384143
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
384144
384144
|
});
|
|
@@ -385898,7 +385898,7 @@ function Feedback({
|
|
|
385898
385898
|
platform: env2.platform,
|
|
385899
385899
|
gitRepo: envInfo.isGit,
|
|
385900
385900
|
terminal: env2.terminal,
|
|
385901
|
-
version: "1.1.
|
|
385901
|
+
version: "1.1.3+f21087e-dirty",
|
|
385902
385902
|
transcript: normalizeMessagesForAPI(messages),
|
|
385903
385903
|
errors: sanitizedErrors,
|
|
385904
385904
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -386090,7 +386090,7 @@ function Feedback({
|
|
|
386090
386090
|
", ",
|
|
386091
386091
|
env2.terminal,
|
|
386092
386092
|
", v",
|
|
386093
|
-
"1.1.
|
|
386093
|
+
"1.1.3+f21087e-dirty"
|
|
386094
386094
|
]
|
|
386095
386095
|
}, undefined, true, undefined, this)
|
|
386096
386096
|
]
|
|
@@ -386196,7 +386196,7 @@ ${sanitizedDescription}
|
|
|
386196
386196
|
` + `**Environment Info**
|
|
386197
386197
|
` + `- Platform: ${env2.platform}
|
|
386198
386198
|
` + `- Terminal: ${env2.terminal}
|
|
386199
|
-
` + `- Version: ${"1.1.
|
|
386199
|
+
` + `- Version: ${"1.1.3+f21087e-dirty"}
|
|
386200
386200
|
` + `- Feedback ID: ${feedbackId}
|
|
386201
386201
|
` + `
|
|
386202
386202
|
**Errors**
|
|
@@ -389327,7 +389327,7 @@ function buildPrimarySection() {
|
|
|
389327
389327
|
}, undefined, false, undefined, this);
|
|
389328
389328
|
return [{
|
|
389329
389329
|
label: "Version",
|
|
389330
|
-
value: "1.1.
|
|
389330
|
+
value: "1.1.3+f21087e-dirty"
|
|
389331
389331
|
}, {
|
|
389332
389332
|
label: "Session name",
|
|
389333
389333
|
value: nameValue
|
|
@@ -393078,7 +393078,7 @@ function Config({
|
|
|
393078
393078
|
}
|
|
393079
393079
|
}, undefined, false, undefined, this)
|
|
393080
393080
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
393081
|
-
currentVersion: "1.1.
|
|
393081
|
+
currentVersion: "1.1.3+f21087e-dirty",
|
|
393082
393082
|
onChoice: (choice) => {
|
|
393083
393083
|
setShowSubmenu(null);
|
|
393084
393084
|
setTabsHidden(false);
|
|
@@ -393090,7 +393090,7 @@ function Config({
|
|
|
393090
393090
|
autoUpdatesChannel: "stable"
|
|
393091
393091
|
};
|
|
393092
393092
|
if (choice === "stay") {
|
|
393093
|
-
newSettings.minimumVersion = "1.1.
|
|
393093
|
+
newSettings.minimumVersion = "1.1.3+f21087e-dirty";
|
|
393094
393094
|
}
|
|
393095
393095
|
updateSettingsForSource("userSettings", newSettings);
|
|
393096
393096
|
setSettingsData((prev_27) => ({
|
|
@@ -401176,7 +401176,7 @@ function HelpV2(t0) {
|
|
|
401176
401176
|
let t6;
|
|
401177
401177
|
if ($2[31] !== tabs) {
|
|
401178
401178
|
t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
|
|
401179
|
-
title: `Vivus v${"1.1.
|
|
401179
|
+
title: `Vivus v${"1.1.3+f21087e-dirty"}`,
|
|
401180
401180
|
color: "professionalBlue",
|
|
401181
401181
|
defaultTab: "general",
|
|
401182
401182
|
children: tabs
|
|
@@ -402620,7 +402620,7 @@ var init_keybindings2 = __esm(() => {
|
|
|
402620
402620
|
var login_default = () => ({
|
|
402621
402621
|
type: "local-jsx",
|
|
402622
402622
|
name: "login",
|
|
402623
|
-
description: hasAnthropicApiKeyAuth() ? "Switch
|
|
402623
|
+
description: hasAnthropicApiKeyAuth() ? "Switch Vivus accounts" : "Sign in with your Vivus account",
|
|
402624
402624
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGIN_COMMAND),
|
|
402625
402625
|
load: () => Promise.resolve().then(() => (init_login(), exports_login))
|
|
402626
402626
|
});
|
|
@@ -402636,7 +402636,7 @@ var init_logout2 = __esm(() => {
|
|
|
402636
402636
|
logout_default = {
|
|
402637
402637
|
type: "local-jsx",
|
|
402638
402638
|
name: "logout",
|
|
402639
|
-
description: "Sign out from your
|
|
402639
|
+
description: "Sign out from your Vivus account",
|
|
402640
402640
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGOUT_COMMAND),
|
|
402641
402641
|
load: () => Promise.resolve().then(() => (init_logout(), exports_logout))
|
|
402642
402642
|
};
|
|
@@ -425402,7 +425402,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
425402
425402
|
return [];
|
|
425403
425403
|
}
|
|
425404
425404
|
}
|
|
425405
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
425405
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.3+f21087e-dirty") {
|
|
425406
425406
|
if (process.env.USER_TYPE === "ant") {
|
|
425407
425407
|
const changelog = "";
|
|
425408
425408
|
if (changelog) {
|
|
@@ -425429,7 +425429,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.2+c24
|
|
|
425429
425429
|
releaseNotes
|
|
425430
425430
|
};
|
|
425431
425431
|
}
|
|
425432
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
425432
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.3+f21087e-dirty") {
|
|
425433
425433
|
if (process.env.USER_TYPE === "ant") {
|
|
425434
425434
|
const changelog = "";
|
|
425435
425435
|
if (changelog) {
|
|
@@ -426599,7 +426599,7 @@ function getRecentActivitySync() {
|
|
|
426599
426599
|
return cachedActivity;
|
|
426600
426600
|
}
|
|
426601
426601
|
function getLogoDisplayData() {
|
|
426602
|
-
const version2 = process.env.DEMO_VERSION ?? "1.1.
|
|
426602
|
+
const version2 = process.env.DEMO_VERSION ?? "1.1.3+f21087e-dirty";
|
|
426603
426603
|
const serverUrl = getDirectConnectServerUrl();
|
|
426604
426604
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
426605
426605
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -428126,7 +428126,7 @@ function LogoV2() {
|
|
|
428126
428126
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
428127
428127
|
t2 = () => {
|
|
428128
428128
|
const currentConfig = getGlobalConfig();
|
|
428129
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
428129
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.3+f21087e-dirty") {
|
|
428130
428130
|
return;
|
|
428131
428131
|
}
|
|
428132
428132
|
saveGlobalConfig(_temp329);
|
|
@@ -428802,12 +428802,12 @@ function LogoV2() {
|
|
|
428802
428802
|
return t41;
|
|
428803
428803
|
}
|
|
428804
428804
|
function _temp329(current) {
|
|
428805
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
428805
|
+
if (current.lastReleaseNotesSeen === "1.1.3+f21087e-dirty") {
|
|
428806
428806
|
return current;
|
|
428807
428807
|
}
|
|
428808
428808
|
return {
|
|
428809
428809
|
...current,
|
|
428810
|
-
lastReleaseNotesSeen: "1.1.
|
|
428810
|
+
lastReleaseNotesSeen: "1.1.3+f21087e-dirty"
|
|
428811
428811
|
};
|
|
428812
428812
|
}
|
|
428813
428813
|
function _temp245(s_0) {
|
|
@@ -429489,7 +429489,7 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
429489
429489
|
children: [
|
|
429490
429490
|
"Auth conflict: Using ",
|
|
429491
429491
|
apiKeySource,
|
|
429492
|
-
" instead of
|
|
429492
|
+
" instead of Vivus API key. Either unset ",
|
|
429493
429493
|
apiKeySource,
|
|
429494
429494
|
", or run `vivus /logout`."
|
|
429495
429495
|
]
|
|
@@ -455104,7 +455104,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
455104
455104
|
smapsRollup,
|
|
455105
455105
|
platform: process.platform,
|
|
455106
455106
|
nodeVersion: process.version,
|
|
455107
|
-
ccVersion: "1.1.
|
|
455107
|
+
ccVersion: "1.1.3+f21087e-dirty"
|
|
455108
455108
|
};
|
|
455109
455109
|
}
|
|
455110
455110
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -455690,7 +455690,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
455690
455690
|
var call56 = async () => {
|
|
455691
455691
|
return {
|
|
455692
455692
|
type: "text",
|
|
455693
|
-
value: `${"1.1.
|
|
455693
|
+
value: `${"1.1.3+f21087e-dirty"} (built ${"2026-06-15T14:19:01.820Z"})`
|
|
455694
455694
|
};
|
|
455695
455695
|
}, version2, version_default;
|
|
455696
455696
|
var init_version = __esm(() => {
|
|
@@ -464653,7 +464653,7 @@ function generateHtmlReport(data, insights) {
|
|
|
464653
464653
|
</html>`;
|
|
464654
464654
|
}
|
|
464655
464655
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
464656
|
-
const version3 = typeof MACRO !== "undefined" ? "1.1.
|
|
464656
|
+
const version3 = typeof MACRO !== "undefined" ? "1.1.3+f21087e-dirty" : "unknown";
|
|
464657
464657
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
464658
464658
|
const facets_summary = {
|
|
464659
464659
|
total: facets.size,
|
|
@@ -468762,7 +468762,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
468762
468762
|
init_settings2();
|
|
468763
468763
|
init_slowOperations();
|
|
468764
468764
|
init_uuid();
|
|
468765
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
468765
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.3+f21087e-dirty" : "unknown";
|
|
468766
468766
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
468767
468767
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
468768
468768
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -471633,7 +471633,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
471633
471633
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
471634
471634
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
471635
471635
|
betas: getSdkBetas(),
|
|
471636
|
-
vivus_code_version: "1.1.
|
|
471636
|
+
vivus_code_version: "1.1.3+f21087e-dirty",
|
|
471637
471637
|
output_style: outputStyle2,
|
|
471638
471638
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
471639
471639
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -486261,7 +486261,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
486261
486261
|
function getSemverPart(version3) {
|
|
486262
486262
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
486263
486263
|
}
|
|
486264
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
486264
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.3+f21087e-dirty") {
|
|
486265
486265
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
|
|
486266
486266
|
if (!updatedVersion) {
|
|
486267
486267
|
return null;
|
|
@@ -486301,7 +486301,7 @@ function AutoUpdater({
|
|
|
486301
486301
|
return;
|
|
486302
486302
|
}
|
|
486303
486303
|
if (false) {}
|
|
486304
|
-
const currentVersion = "1.1.
|
|
486304
|
+
const currentVersion = "1.1.3+f21087e-dirty";
|
|
486305
486305
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
486306
486306
|
let latestVersion = await getLatestVersion(channel);
|
|
486307
486307
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -486514,12 +486514,12 @@ function NativeAutoUpdater({
|
|
|
486514
486514
|
logEvent("tengu_native_auto_updater_start", {});
|
|
486515
486515
|
try {
|
|
486516
486516
|
const maxVersion = await getMaxVersion();
|
|
486517
|
-
if (maxVersion && gt("1.1.
|
|
486517
|
+
if (maxVersion && gt("1.1.3+f21087e-dirty", maxVersion)) {
|
|
486518
486518
|
const msg = await getMaxVersionMessage();
|
|
486519
486519
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
486520
486520
|
}
|
|
486521
486521
|
const result = await installLatest(channel);
|
|
486522
|
-
const currentVersion = "1.1.
|
|
486522
|
+
const currentVersion = "1.1.3+f21087e-dirty";
|
|
486523
486523
|
const latencyMs = Date.now() - startTime;
|
|
486524
486524
|
if (result.lockFailed) {
|
|
486525
486525
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -486656,17 +486656,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
486656
486656
|
const maxVersion = await getMaxVersion();
|
|
486657
486657
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
486658
486658
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
486659
|
-
if (gte("1.1.
|
|
486660
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
486659
|
+
if (gte("1.1.3+f21087e-dirty", maxVersion)) {
|
|
486660
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.3+f21087e-dirty"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
486661
486661
|
setUpdateAvailable(false);
|
|
486662
486662
|
return;
|
|
486663
486663
|
}
|
|
486664
486664
|
latest = maxVersion;
|
|
486665
486665
|
}
|
|
486666
|
-
const hasUpdate = latest && !gte("1.1.
|
|
486666
|
+
const hasUpdate = latest && !gte("1.1.3+f21087e-dirty", latest) && !shouldSkipVersion(latest);
|
|
486667
486667
|
setUpdateAvailable(!!hasUpdate);
|
|
486668
486668
|
if (hasUpdate) {
|
|
486669
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
486669
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.3+f21087e-dirty"} -> ${latest}`);
|
|
486670
486670
|
}
|
|
486671
486671
|
};
|
|
486672
486672
|
$2[0] = t1;
|
|
@@ -486700,7 +486700,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
486700
486700
|
wrap: "truncate",
|
|
486701
486701
|
children: [
|
|
486702
486702
|
"currentVersion: ",
|
|
486703
|
-
"1.1.
|
|
486703
|
+
"1.1.3+f21087e-dirty"
|
|
486704
486704
|
]
|
|
486705
486705
|
}, undefined, true, undefined, this);
|
|
486706
486706
|
$2[3] = verbose;
|
|
@@ -494868,7 +494868,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
494868
494868
|
project_dir: getOriginalCwd(),
|
|
494869
494869
|
added_dirs: addedDirs
|
|
494870
494870
|
},
|
|
494871
|
-
version: "1.1.
|
|
494871
|
+
version: "1.1.3+f21087e-dirty",
|
|
494872
494872
|
output_style: {
|
|
494873
494873
|
name: outputStyleName
|
|
494874
494874
|
},
|
|
@@ -506352,7 +506352,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
506352
506352
|
} catch {}
|
|
506353
506353
|
const data = {
|
|
506354
506354
|
trigger,
|
|
506355
|
-
version: "1.1.
|
|
506355
|
+
version: "1.1.3+f21087e-dirty",
|
|
506356
506356
|
platform: process.platform,
|
|
506357
506357
|
transcript,
|
|
506358
506358
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -517512,7 +517512,7 @@ function PreflightStep(t0) {
|
|
|
517512
517512
|
" ",
|
|
517513
517513
|
/* @__PURE__ */ jsx_dev_runtime473.jsxDEV(ThemedText, {
|
|
517514
517514
|
color: "suggestion",
|
|
517515
|
-
children: "https://
|
|
517515
|
+
children: "https://vivus.ai/supported-countries"
|
|
517516
517516
|
}, undefined, false, undefined, this)
|
|
517517
517517
|
]
|
|
517518
517518
|
}, undefined, true, undefined, this)
|
|
@@ -517768,7 +517768,7 @@ function WelcomeV2() {
|
|
|
517768
517768
|
dimColor: true,
|
|
517769
517769
|
children: [
|
|
517770
517770
|
"v",
|
|
517771
|
-
"1.1.
|
|
517771
|
+
"1.1.3+f21087e-dirty",
|
|
517772
517772
|
" "
|
|
517773
517773
|
]
|
|
517774
517774
|
}, undefined, true, undefined, this)
|
|
@@ -517968,7 +517968,7 @@ function WelcomeV2() {
|
|
|
517968
517968
|
dimColor: true,
|
|
517969
517969
|
children: [
|
|
517970
517970
|
"v",
|
|
517971
|
-
"1.1.
|
|
517971
|
+
"1.1.3+f21087e-dirty",
|
|
517972
517972
|
" "
|
|
517973
517973
|
]
|
|
517974
517974
|
}, undefined, true, undefined, this)
|
|
@@ -518194,7 +518194,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
518194
518194
|
dimColor: true,
|
|
518195
518195
|
children: [
|
|
518196
518196
|
"v",
|
|
518197
|
-
"1.1.
|
|
518197
|
+
"1.1.3+f21087e-dirty",
|
|
518198
518198
|
" "
|
|
518199
518199
|
]
|
|
518200
518200
|
}, undefined, true, undefined, this);
|
|
@@ -518448,7 +518448,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
518448
518448
|
dimColor: true,
|
|
518449
518449
|
children: [
|
|
518450
518450
|
"v",
|
|
518451
|
-
"1.1.
|
|
518451
|
+
"1.1.3+f21087e-dirty",
|
|
518452
518452
|
" "
|
|
518453
518453
|
]
|
|
518454
518454
|
}, undefined, true, undefined, this);
|
|
@@ -521512,7 +521512,7 @@ function appendToLog(path25, message) {
|
|
|
521512
521512
|
cwd: getFsImplementation().cwd(),
|
|
521513
521513
|
userType: process.env.USER_TYPE,
|
|
521514
521514
|
sessionId: getSessionId(),
|
|
521515
|
-
version: "1.1.
|
|
521515
|
+
version: "1.1.3+f21087e-dirty"
|
|
521516
521516
|
};
|
|
521517
521517
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
521518
521518
|
}
|
|
@@ -525497,8 +525497,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
525497
525497
|
}
|
|
525498
525498
|
async function checkEnvLessBridgeMinVersion() {
|
|
525499
525499
|
const cfg = await getEnvLessBridgeConfig();
|
|
525500
|
-
if (cfg.min_version && lt("1.1.
|
|
525501
|
-
return `Your version of Vivus (${"1.1.
|
|
525500
|
+
if (cfg.min_version && lt("1.1.3+f21087e-dirty", cfg.min_version)) {
|
|
525501
|
+
return `Your version of Vivus (${"1.1.3+f21087e-dirty"}) is too old for Remote Control.
|
|
525502
525502
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
525503
525503
|
}
|
|
525504
525504
|
return null;
|
|
@@ -525972,7 +525972,7 @@ async function initBridgeCore(params) {
|
|
|
525972
525972
|
const rawApi = createBridgeApiClient({
|
|
525973
525973
|
baseUrl,
|
|
525974
525974
|
getAccessToken,
|
|
525975
|
-
runnerVersion: "1.1.
|
|
525975
|
+
runnerVersion: "1.1.3+f21087e-dirty",
|
|
525976
525976
|
onDebug: logForDebugging,
|
|
525977
525977
|
onAuth401,
|
|
525978
525978
|
getTrustedDeviceToken
|
|
@@ -531636,7 +531636,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
531636
531636
|
setCwd(cwd3);
|
|
531637
531637
|
const server = new Server({
|
|
531638
531638
|
name: "vivus/tengu",
|
|
531639
|
-
version: "1.1.
|
|
531639
|
+
version: "1.1.3+f21087e-dirty"
|
|
531640
531640
|
}, {
|
|
531641
531641
|
capabilities: {
|
|
531642
531642
|
tools: {}
|
|
@@ -533247,7 +533247,7 @@ __export(exports_update, {
|
|
|
533247
533247
|
});
|
|
533248
533248
|
async function update() {
|
|
533249
533249
|
logEvent("tengu_update_check", {});
|
|
533250
|
-
writeToStdout(`Current version: ${"1.1.
|
|
533250
|
+
writeToStdout(`Current version: ${"1.1.3+f21087e-dirty"}
|
|
533251
533251
|
`);
|
|
533252
533252
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
533253
533253
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -533322,8 +533322,8 @@ async function update() {
|
|
|
533322
533322
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
533323
533323
|
`);
|
|
533324
533324
|
const latest = await getLatestVersion(channel);
|
|
533325
|
-
if (latest && !gte("1.1.
|
|
533326
|
-
writeToStdout(`Update available: ${"1.1.
|
|
533325
|
+
if (latest && !gte("1.1.3+f21087e-dirty", latest)) {
|
|
533326
|
+
writeToStdout(`Update available: ${"1.1.3+f21087e-dirty"} → ${latest}
|
|
533327
533327
|
`);
|
|
533328
533328
|
writeToStdout(`
|
|
533329
533329
|
`);
|
|
@@ -533339,8 +533339,8 @@ async function update() {
|
|
|
533339
533339
|
writeToStdout(`Vivus is managed by winget.
|
|
533340
533340
|
`);
|
|
533341
533341
|
const latest = await getLatestVersion(channel);
|
|
533342
|
-
if (latest && !gte("1.1.
|
|
533343
|
-
writeToStdout(`Update available: ${"1.1.
|
|
533342
|
+
if (latest && !gte("1.1.3+f21087e-dirty", latest)) {
|
|
533343
|
+
writeToStdout(`Update available: ${"1.1.3+f21087e-dirty"} → ${latest}
|
|
533344
533344
|
`);
|
|
533345
533345
|
writeToStdout(`
|
|
533346
533346
|
`);
|
|
@@ -533356,8 +533356,8 @@ async function update() {
|
|
|
533356
533356
|
writeToStdout(`Vivus is managed by apk.
|
|
533357
533357
|
`);
|
|
533358
533358
|
const latest = await getLatestVersion(channel);
|
|
533359
|
-
if (latest && !gte("1.1.
|
|
533360
|
-
writeToStdout(`Update available: ${"1.1.
|
|
533359
|
+
if (latest && !gte("1.1.3+f21087e-dirty", latest)) {
|
|
533360
|
+
writeToStdout(`Update available: ${"1.1.3+f21087e-dirty"} → ${latest}
|
|
533361
533361
|
`);
|
|
533362
533362
|
writeToStdout(`
|
|
533363
533363
|
`);
|
|
@@ -533422,11 +533422,11 @@ async function update() {
|
|
|
533422
533422
|
`);
|
|
533423
533423
|
await gracefulShutdown(1);
|
|
533424
533424
|
}
|
|
533425
|
-
if (result.latestVersion === "1.1.
|
|
533426
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
533425
|
+
if (result.latestVersion === "1.1.3+f21087e-dirty") {
|
|
533426
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.3+f21087e-dirty"})`) + `
|
|
533427
533427
|
`);
|
|
533428
533428
|
} else {
|
|
533429
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
533429
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.3+f21087e-dirty"} to version ${result.latestVersion}`) + `
|
|
533430
533430
|
`);
|
|
533431
533431
|
await regenerateCompletionCache();
|
|
533432
533432
|
}
|
|
@@ -533483,12 +533483,12 @@ async function update() {
|
|
|
533483
533483
|
`);
|
|
533484
533484
|
await gracefulShutdown(1);
|
|
533485
533485
|
}
|
|
533486
|
-
if (latestVersion === "1.1.
|
|
533487
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
533486
|
+
if (latestVersion === "1.1.3+f21087e-dirty") {
|
|
533487
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.3+f21087e-dirty"})`) + `
|
|
533488
533488
|
`);
|
|
533489
533489
|
await gracefulShutdown(0);
|
|
533490
533490
|
}
|
|
533491
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
533491
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.3+f21087e-dirty"})
|
|
533492
533492
|
`);
|
|
533493
533493
|
writeToStdout(`Installing update...
|
|
533494
533494
|
`);
|
|
@@ -533533,7 +533533,7 @@ async function update() {
|
|
|
533533
533533
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
533534
533534
|
switch (status2) {
|
|
533535
533535
|
case "success":
|
|
533536
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
533536
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.3+f21087e-dirty"} to version ${latestVersion}`) + `
|
|
533537
533537
|
`);
|
|
533538
533538
|
await regenerateCompletionCache();
|
|
533539
533539
|
break;
|
|
@@ -534504,7 +534504,7 @@ function completeOnboarding() {
|
|
|
534504
534504
|
saveGlobalConfig((current) => ({
|
|
534505
534505
|
...current,
|
|
534506
534506
|
hasCompletedOnboarding: true,
|
|
534507
|
-
lastOnboardingVersion: "1.1.
|
|
534507
|
+
lastOnboardingVersion: "1.1.3+f21087e-dirty"
|
|
534508
534508
|
}));
|
|
534509
534509
|
}
|
|
534510
534510
|
function showDialog(root2, renderer) {
|
|
@@ -538674,7 +538674,7 @@ ${customInstructions}` : customInstructions;
|
|
|
538674
538674
|
}
|
|
538675
538675
|
}
|
|
538676
538676
|
logForDiagnosticsNoPII("info", "started", {
|
|
538677
|
-
version: "1.1.
|
|
538677
|
+
version: "1.1.3+f21087e-dirty",
|
|
538678
538678
|
is_native_binary: isInBundledMode()
|
|
538679
538679
|
});
|
|
538680
538680
|
registerCleanup(async () => {
|
|
@@ -539458,7 +539458,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
539458
539458
|
pendingHookMessages
|
|
539459
539459
|
}, renderAndRun);
|
|
539460
539460
|
}
|
|
539461
|
-
}).version("1.1.
|
|
539461
|
+
}).version("1.1.3+f21087e-dirty (Vivus)", "-v, --version", "Output the version number");
|
|
539462
539462
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
539463
539463
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
539464
539464
|
if (canUserConfigureAdvisor()) {
|
|
@@ -539550,7 +539550,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
539550
539550
|
if (false) {}
|
|
539551
539551
|
if (false) {}
|
|
539552
539552
|
const auth2 = program2.command("auth").description("Manage authentication").configureHelp(createSortedHelpConfig());
|
|
539553
|
-
auth2.command("login").description("Sign in to your
|
|
539553
|
+
auth2.command("login").description("Sign in to your Vivus account").option("--email <email>", "Pre-populate email address on the login page").option("--sso", "Force SSO login flow").option("--console", "Use API usage billing instead of subscription plan").option("--vivusai", "Use Vivus subscription (default)").action(async ({
|
|
539554
539554
|
email: email3,
|
|
539555
539555
|
sso,
|
|
539556
539556
|
console: useConsole,
|
|
@@ -539572,7 +539572,29 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
539572
539572
|
} = await Promise.resolve().then(() => (init_auth6(), exports_auth2));
|
|
539573
539573
|
await authStatus2(opts);
|
|
539574
539574
|
});
|
|
539575
|
-
auth2.command("logout").description("Log out from your
|
|
539575
|
+
auth2.command("logout").description("Log out from your Vivus account").action(async () => {
|
|
539576
|
+
const {
|
|
539577
|
+
authLogout: authLogout2
|
|
539578
|
+
} = await Promise.resolve().then(() => (init_auth6(), exports_auth2));
|
|
539579
|
+
await authLogout2();
|
|
539580
|
+
});
|
|
539581
|
+
program2.command("login").description("Sign in to your Vivus account").option("--email <email>", "Pre-populate email address on the login page").option("--sso", "Force SSO login flow").option("--console", "Use API usage billing instead of subscription plan").option("--vivusai", "Use Vivus subscription (default)").action(async ({
|
|
539582
|
+
email: email3,
|
|
539583
|
+
sso,
|
|
539584
|
+
console: useConsole,
|
|
539585
|
+
vivusai
|
|
539586
|
+
}) => {
|
|
539587
|
+
const {
|
|
539588
|
+
authLogin: authLogin2
|
|
539589
|
+
} = await Promise.resolve().then(() => (init_auth6(), exports_auth2));
|
|
539590
|
+
await authLogin2({
|
|
539591
|
+
email: email3,
|
|
539592
|
+
sso,
|
|
539593
|
+
console: useConsole,
|
|
539594
|
+
vivusai
|
|
539595
|
+
});
|
|
539596
|
+
});
|
|
539597
|
+
program2.command("logout").description("Log out from your Vivus account").action(async () => {
|
|
539576
539598
|
const {
|
|
539577
539599
|
authLogout: authLogout2
|
|
539578
539600
|
} = await Promise.resolve().then(() => (init_auth6(), exports_auth2));
|