vivus-agent 1.1.13 → 1.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/vivus.mjs +1 -1
- package/dist/main.js +98 -90
- package/package.json +1 -1
package/bin/vivus.mjs
CHANGED
|
@@ -42,7 +42,7 @@ setDefault('VIVUS_CODE_API_BASE_URL', PROXY) // feedback / bootstrap / policy li
|
|
|
42
42
|
setDefault('VIVUS_CODE_IS_FIRST_PARTY', '1') // enable Vivus features (policy/feedback/bootstrap)
|
|
43
43
|
setDefault('VIVUS_CODE_DISABLE_EXPERIMENTAL_BETAS', '1') // proxy can't do tool-search/defer_loading
|
|
44
44
|
setDefault('VIVUS_CODE_SIMPLE', '0') // full UI (status bar + footer), not brief mode
|
|
45
|
-
setDefault('ANTHROPIC_MODEL', process.env.VIVUS_MODEL || 'qwen3
|
|
45
|
+
setDefault('ANTHROPIC_MODEL', process.env.VIVUS_MODEL || 'qwen3-coder:30b')
|
|
46
46
|
setDefault('USE_BUILTIN_RIPGREP', '0')
|
|
47
47
|
setDefault('VIVUS_CODE_FORCE_FULL_LOGO', '1')
|
|
48
48
|
setDefault('DISABLE_TELEMETRY', '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-19T15:28:20.223Z
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
var __create = Object.create;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -116016,7 +116016,7 @@ var init_auth = __esm(() => {
|
|
|
116016
116016
|
|
|
116017
116017
|
// src/utils/userAgent.ts
|
|
116018
116018
|
function getVivusCodeUserAgent() {
|
|
116019
|
-
return `vivus/${"1.1.
|
|
116019
|
+
return `vivus/${"1.1.15+f44ec6f-dirty"}`;
|
|
116020
116020
|
}
|
|
116021
116021
|
|
|
116022
116022
|
// src/utils/workloadContext.ts
|
|
@@ -116038,7 +116038,7 @@ function getUserAgent() {
|
|
|
116038
116038
|
const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
|
|
116039
116039
|
const workload = getWorkload();
|
|
116040
116040
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
116041
|
-
return `vivus-cli/${"1.1.
|
|
116041
|
+
return `vivus-cli/${"1.1.15+f44ec6f-dirty"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
116042
116042
|
}
|
|
116043
116043
|
function getMCPUserAgent() {
|
|
116044
116044
|
const parts = [];
|
|
@@ -116052,7 +116052,7 @@ function getMCPUserAgent() {
|
|
|
116052
116052
|
parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
|
|
116053
116053
|
}
|
|
116054
116054
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
116055
|
-
return `vivus/${"1.1.
|
|
116055
|
+
return `vivus/${"1.1.15+f44ec6f-dirty"}${suffix}`;
|
|
116056
116056
|
}
|
|
116057
116057
|
function getWebFetchUserAgent() {
|
|
116058
116058
|
return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -116190,7 +116190,7 @@ var init_user = __esm(() => {
|
|
|
116190
116190
|
deviceId,
|
|
116191
116191
|
sessionId: getSessionId(),
|
|
116192
116192
|
email: getEmail(),
|
|
116193
|
-
appVersion: "1.1.
|
|
116193
|
+
appVersion: "1.1.15+f44ec6f-dirty",
|
|
116194
116194
|
platform: getHostPlatformForAnalytics(),
|
|
116195
116195
|
organizationUuid,
|
|
116196
116196
|
accountUuid,
|
|
@@ -127856,7 +127856,7 @@ var init_metadata = __esm(() => {
|
|
|
127856
127856
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
127857
127857
|
WHITESPACE_REGEX = /\s+/;
|
|
127858
127858
|
getVersionBase = memoize_default(() => {
|
|
127859
|
-
const match = "1.1.
|
|
127859
|
+
const match = "1.1.15+f44ec6f-dirty".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
127860
127860
|
return match ? match[0] : undefined;
|
|
127861
127861
|
});
|
|
127862
127862
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -127896,9 +127896,9 @@ var init_metadata = __esm(() => {
|
|
|
127896
127896
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
127897
127897
|
isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
|
|
127898
127898
|
isVivusAiAuth: isVivusAISubscriber(),
|
|
127899
|
-
version: "1.1.
|
|
127899
|
+
version: "1.1.15+f44ec6f-dirty",
|
|
127900
127900
|
versionBase: getVersionBase(),
|
|
127901
|
-
buildTime: "2026-06-
|
|
127901
|
+
buildTime: "2026-06-19T15:28:19.671Z",
|
|
127902
127902
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
127903
127903
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
127904
127904
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -128566,7 +128566,7 @@ function initialize1PEventLogging() {
|
|
|
128566
128566
|
const platform2 = getPlatform();
|
|
128567
128567
|
const attributes = {
|
|
128568
128568
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
|
|
128569
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.
|
|
128569
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.15+f44ec6f-dirty"
|
|
128570
128570
|
};
|
|
128571
128571
|
if (platform2 === "wsl") {
|
|
128572
128572
|
const wslVersion = getWslVersion();
|
|
@@ -128593,7 +128593,7 @@ function initialize1PEventLogging() {
|
|
|
128593
128593
|
})
|
|
128594
128594
|
]
|
|
128595
128595
|
});
|
|
128596
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
128596
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.15+f44ec6f-dirty");
|
|
128597
128597
|
}
|
|
128598
128598
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
128599
128599
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -128713,7 +128713,8 @@ function hasGrowthBookEnvOverride(feature) {
|
|
|
128713
128713
|
return overrides !== null && feature in overrides;
|
|
128714
128714
|
}
|
|
128715
128715
|
function getConfigOverrides() {
|
|
128716
|
-
|
|
128716
|
+
const isVivusFirstParty = process.env.VIVUS_CODE_IS_FIRST_PARTY === "1";
|
|
128717
|
+
if (process.env.USER_TYPE !== "ant" && !isVivusFirstParty)
|
|
128717
128718
|
return;
|
|
128718
128719
|
try {
|
|
128719
128720
|
return getGlobalConfig().growthBookOverrides;
|
|
@@ -162705,7 +162706,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
162705
162706
|
if (!isAttributionHeaderEnabled()) {
|
|
162706
162707
|
return "";
|
|
162707
162708
|
}
|
|
162708
|
-
const version2 = `${"1.1.
|
|
162709
|
+
const version2 = `${"1.1.15+f44ec6f-dirty"}.${fingerprint}`;
|
|
162709
162710
|
const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
|
|
162710
162711
|
const cch = "";
|
|
162711
162712
|
const workload = getWorkload();
|
|
@@ -175868,7 +175869,7 @@ function getTelemetryAttributes() {
|
|
|
175868
175869
|
attributes["session.id"] = sessionId;
|
|
175869
175870
|
}
|
|
175870
175871
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
175871
|
-
attributes["app.version"] = "1.1.
|
|
175872
|
+
attributes["app.version"] = "1.1.15+f44ec6f-dirty";
|
|
175872
175873
|
}
|
|
175873
175874
|
const oauthAccount = getOauthAccountInfo();
|
|
175874
175875
|
if (oauthAccount) {
|
|
@@ -208540,7 +208541,6 @@ var init_exploreAgent = __esm(() => {
|
|
|
208540
208541
|
],
|
|
208541
208542
|
source: "built-in",
|
|
208542
208543
|
baseDir: "built-in",
|
|
208543
|
-
model: process.env.USER_TYPE === "ant" ? "inherit" : "haiku",
|
|
208544
208544
|
omitVivusMd: true,
|
|
208545
208545
|
getSystemPrompt: () => getExploreSystemPrompt()
|
|
208546
208546
|
};
|
|
@@ -242425,7 +242425,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
242425
242425
|
}
|
|
242426
242426
|
function computeFingerprintFromMessages(messages) {
|
|
242427
242427
|
const firstMessageText = extractFirstMessageText(messages);
|
|
242428
|
-
return computeFingerprint(firstMessageText, "1.1.
|
|
242428
|
+
return computeFingerprint(firstMessageText, "1.1.15+f44ec6f-dirty");
|
|
242429
242429
|
}
|
|
242430
242430
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
242431
242431
|
var init_fingerprint = () => {};
|
|
@@ -242467,7 +242467,7 @@ async function sideQuery(opts) {
|
|
|
242467
242467
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
242468
242468
|
}
|
|
242469
242469
|
const messageText = extractFirstUserMessageText(messages);
|
|
242470
|
-
const fingerprint = computeFingerprint(messageText, "1.1.
|
|
242470
|
+
const fingerprint = computeFingerprint(messageText, "1.1.15+f44ec6f-dirty");
|
|
242471
242471
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
242472
242472
|
const systemBlocks = [
|
|
242473
242473
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -243619,7 +243619,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
243619
243619
|
const client2 = new Client({
|
|
243620
243620
|
name: "vivus",
|
|
243621
243621
|
title: "Vivus",
|
|
243622
|
-
version: "1.1.
|
|
243622
|
+
version: "1.1.15+f44ec6f-dirty",
|
|
243623
243623
|
description: "Anthropic's agentic coding tool",
|
|
243624
243624
|
websiteUrl: PRODUCT_URL
|
|
243625
243625
|
}, {
|
|
@@ -243973,7 +243973,7 @@ var init_client6 = __esm(() => {
|
|
|
243973
243973
|
const client2 = new Client({
|
|
243974
243974
|
name: "vivus",
|
|
243975
243975
|
title: "Vivus",
|
|
243976
|
-
version: "1.1.
|
|
243976
|
+
version: "1.1.15+f44ec6f-dirty",
|
|
243977
243977
|
description: "Anthropic's agentic coding tool",
|
|
243978
243978
|
websiteUrl: PRODUCT_URL
|
|
243979
243979
|
}, {
|
|
@@ -246031,7 +246031,7 @@ function getInstallationEnv() {
|
|
|
246031
246031
|
return;
|
|
246032
246032
|
}
|
|
246033
246033
|
function getVivusCodeVersion() {
|
|
246034
|
-
return "1.1.
|
|
246034
|
+
return "1.1.15+f44ec6f-dirty";
|
|
246035
246035
|
}
|
|
246036
246036
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
246037
246037
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -253333,6 +253333,10 @@ var init_registerFrontmatterHooks = __esm(() => {
|
|
|
253333
253333
|
|
|
253334
253334
|
// src/utils/model/agent.ts
|
|
253335
253335
|
function getDefaultSubagentModel() {
|
|
253336
|
+
const cloudSubagentModel = getFeatureValue_CACHED_MAY_BE_STALE("vivus_cloud_subagent_model", "");
|
|
253337
|
+
if (typeof cloudSubagentModel === "string" && cloudSubagentModel.trim()) {
|
|
253338
|
+
return cloudSubagentModel.trim();
|
|
253339
|
+
}
|
|
253336
253340
|
return "inherit";
|
|
253337
253341
|
}
|
|
253338
253342
|
function getAgentModel(agentModel, parentModel, toolSpecifiedModel, permissionMode) {
|
|
@@ -253418,6 +253422,7 @@ var init_agent = __esm(() => {
|
|
|
253418
253422
|
init_stringUtils();
|
|
253419
253423
|
init_aliases();
|
|
253420
253424
|
init_bedrock();
|
|
253425
|
+
init_growthbook();
|
|
253421
253426
|
init_model();
|
|
253422
253427
|
init_providers();
|
|
253423
253428
|
AGENT_MODEL_OPTIONS = [...MODEL_ALIASES, "inherit"];
|
|
@@ -278521,7 +278526,7 @@ async function initializeBetaTracing(resource) {
|
|
|
278521
278526
|
});
|
|
278522
278527
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
278523
278528
|
setLoggerProvider(loggerProvider);
|
|
278524
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
278529
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.15+f44ec6f-dirty");
|
|
278525
278530
|
setEventLogger(eventLogger);
|
|
278526
278531
|
process.on("beforeExit", async () => {
|
|
278527
278532
|
await loggerProvider?.forceFlush();
|
|
@@ -278561,7 +278566,7 @@ async function initializeTelemetry() {
|
|
|
278561
278566
|
const platform5 = getPlatform();
|
|
278562
278567
|
const baseAttributes = {
|
|
278563
278568
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
|
|
278564
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.
|
|
278569
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.15+f44ec6f-dirty"
|
|
278565
278570
|
};
|
|
278566
278571
|
if (platform5 === "wsl") {
|
|
278567
278572
|
const wslVersion = getWslVersion();
|
|
@@ -278606,7 +278611,7 @@ async function initializeTelemetry() {
|
|
|
278606
278611
|
} catch {}
|
|
278607
278612
|
};
|
|
278608
278613
|
registerCleanup(shutdownTelemetry2);
|
|
278609
|
-
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.
|
|
278614
|
+
return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.15+f44ec6f-dirty");
|
|
278610
278615
|
}
|
|
278611
278616
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
278612
278617
|
resource,
|
|
@@ -278626,7 +278631,7 @@ async function initializeTelemetry() {
|
|
|
278626
278631
|
});
|
|
278627
278632
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
278628
278633
|
setLoggerProvider(loggerProvider);
|
|
278629
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.
|
|
278634
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.15+f44ec6f-dirty");
|
|
278630
278635
|
setEventLogger(eventLogger);
|
|
278631
278636
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
278632
278637
|
process.on("beforeExit", async () => {
|
|
@@ -278688,7 +278693,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
278688
278693
|
}
|
|
278689
278694
|
};
|
|
278690
278695
|
registerCleanup(shutdownTelemetry);
|
|
278691
|
-
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.
|
|
278696
|
+
return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.15+f44ec6f-dirty");
|
|
278692
278697
|
}
|
|
278693
278698
|
async function flushTelemetry() {
|
|
278694
278699
|
const meterProvider = getMeterProvider();
|
|
@@ -279374,9 +279379,9 @@ async function assertMinVersion() {
|
|
|
279374
279379
|
if (false) {}
|
|
279375
279380
|
try {
|
|
279376
279381
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
279377
|
-
if (versionConfig.minVersion && lt("1.1.
|
|
279382
|
+
if (versionConfig.minVersion && lt("1.1.15+f44ec6f-dirty", versionConfig.minVersion)) {
|
|
279378
279383
|
console.error(`
|
|
279379
|
-
It looks like your version of Vivus (${"1.1.
|
|
279384
|
+
It looks like your version of Vivus (${"1.1.15+f44ec6f-dirty"}) needs an update.
|
|
279380
279385
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
279381
279386
|
|
|
279382
279387
|
To update, please run:
|
|
@@ -279592,7 +279597,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
279592
279597
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
279593
279598
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
279594
279599
|
pid: process.pid,
|
|
279595
|
-
currentVersion: "1.1.
|
|
279600
|
+
currentVersion: "1.1.15+f44ec6f-dirty"
|
|
279596
279601
|
});
|
|
279597
279602
|
return "in_progress";
|
|
279598
279603
|
}
|
|
@@ -279601,7 +279606,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
279601
279606
|
if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
|
|
279602
279607
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
279603
279608
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
279604
|
-
currentVersion: "1.1.
|
|
279609
|
+
currentVersion: "1.1.15+f44ec6f-dirty"
|
|
279605
279610
|
});
|
|
279606
279611
|
console.error(`
|
|
279607
279612
|
Error: Windows NPM detected in WSL
|
|
@@ -280134,7 +280139,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
280134
280139
|
}
|
|
280135
280140
|
async function getDoctorDiagnostic() {
|
|
280136
280141
|
const installationType = await getCurrentInstallationType();
|
|
280137
|
-
const version2 = typeof MACRO !== "undefined" ? "1.1.
|
|
280142
|
+
const version2 = typeof MACRO !== "undefined" ? "1.1.15+f44ec6f-dirty" : "unknown";
|
|
280138
280143
|
const installationPath = await getInstallationPath();
|
|
280139
280144
|
const invokedBinary = getInvokedBinary();
|
|
280140
280145
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -281067,8 +281072,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
281067
281072
|
const maxVersion = await getMaxVersion();
|
|
281068
281073
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
281069
281074
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
281070
|
-
if (gte("1.1.
|
|
281071
|
-
logForDebugging(`Native installer: current version ${"1.1.
|
|
281075
|
+
if (gte("1.1.15+f44ec6f-dirty", maxVersion)) {
|
|
281076
|
+
logForDebugging(`Native installer: current version ${"1.1.15+f44ec6f-dirty"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
281072
281077
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
281073
281078
|
latency_ms: Date.now() - startTime,
|
|
281074
281079
|
max_version: maxVersion,
|
|
@@ -281079,7 +281084,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
281079
281084
|
version2 = maxVersion;
|
|
281080
281085
|
}
|
|
281081
281086
|
}
|
|
281082
|
-
if (!forceReinstall && version2 === "1.1.
|
|
281087
|
+
if (!forceReinstall && version2 === "1.1.15+f44ec6f-dirty" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
|
|
281083
281088
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
281084
281089
|
logEvent("tengu_native_update_complete", {
|
|
281085
281090
|
latency_ms: Date.now() - startTime,
|
|
@@ -336992,7 +336997,7 @@ function getAnthropicEnvMetadata() {
|
|
|
336992
336997
|
function getBuildAgeMinutes() {
|
|
336993
336998
|
if (false)
|
|
336994
336999
|
;
|
|
336995
|
-
const buildTime = new Date("2026-06-
|
|
337000
|
+
const buildTime = new Date("2026-06-19T15:28:19.671Z").getTime();
|
|
336996
337001
|
if (isNaN(buildTime))
|
|
336997
337002
|
return;
|
|
336998
337003
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -384211,7 +384216,7 @@ var init_filesystem = __esm(() => {
|
|
|
384211
384216
|
});
|
|
384212
384217
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
384213
384218
|
const nonce = randomBytes17(16).toString("hex");
|
|
384214
|
-
return join106(getVivusTempDir(), "bundled-skills", "1.1.
|
|
384219
|
+
return join106(getVivusTempDir(), "bundled-skills", "1.1.15+f44ec6f-dirty", nonce);
|
|
384215
384220
|
});
|
|
384216
384221
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
384217
384222
|
});
|
|
@@ -385971,7 +385976,7 @@ function Feedback({
|
|
|
385971
385976
|
platform: env2.platform,
|
|
385972
385977
|
gitRepo: envInfo.isGit,
|
|
385973
385978
|
terminal: env2.terminal,
|
|
385974
|
-
version: "1.1.
|
|
385979
|
+
version: "1.1.15+f44ec6f-dirty",
|
|
385975
385980
|
transcript: normalizeMessagesForAPI(messages),
|
|
385976
385981
|
errors: sanitizedErrors,
|
|
385977
385982
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -386163,7 +386168,7 @@ function Feedback({
|
|
|
386163
386168
|
", ",
|
|
386164
386169
|
env2.terminal,
|
|
386165
386170
|
", v",
|
|
386166
|
-
"1.1.
|
|
386171
|
+
"1.1.15+f44ec6f-dirty"
|
|
386167
386172
|
]
|
|
386168
386173
|
}, undefined, true, undefined, this)
|
|
386169
386174
|
]
|
|
@@ -386269,7 +386274,7 @@ ${sanitizedDescription}
|
|
|
386269
386274
|
` + `**Environment Info**
|
|
386270
386275
|
` + `- Platform: ${env2.platform}
|
|
386271
386276
|
` + `- Terminal: ${env2.terminal}
|
|
386272
|
-
` + `- Version: ${"1.1.
|
|
386277
|
+
` + `- Version: ${"1.1.15+f44ec6f-dirty"}
|
|
386273
386278
|
` + `- Feedback ID: ${feedbackId}
|
|
386274
386279
|
` + `
|
|
386275
386280
|
**Errors**
|
|
@@ -389401,7 +389406,7 @@ function buildPrimarySection() {
|
|
|
389401
389406
|
}, undefined, false, undefined, this);
|
|
389402
389407
|
return [{
|
|
389403
389408
|
label: "Version",
|
|
389404
|
-
value: "1.1.
|
|
389409
|
+
value: "1.1.15+f44ec6f-dirty"
|
|
389405
389410
|
}, {
|
|
389406
389411
|
label: "Session name",
|
|
389407
389412
|
value: nameValue
|
|
@@ -393152,7 +393157,7 @@ function Config({
|
|
|
393152
393157
|
}
|
|
393153
393158
|
}, undefined, false, undefined, this)
|
|
393154
393159
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
393155
|
-
currentVersion: "1.1.
|
|
393160
|
+
currentVersion: "1.1.15+f44ec6f-dirty",
|
|
393156
393161
|
onChoice: (choice) => {
|
|
393157
393162
|
setShowSubmenu(null);
|
|
393158
393163
|
setTabsHidden(false);
|
|
@@ -393164,7 +393169,7 @@ function Config({
|
|
|
393164
393169
|
autoUpdatesChannel: "stable"
|
|
393165
393170
|
};
|
|
393166
393171
|
if (choice === "stay") {
|
|
393167
|
-
newSettings.minimumVersion = "1.1.
|
|
393172
|
+
newSettings.minimumVersion = "1.1.15+f44ec6f-dirty";
|
|
393168
393173
|
}
|
|
393169
393174
|
updateSettingsForSource("userSettings", newSettings);
|
|
393170
393175
|
setSettingsData((prev_27) => ({
|
|
@@ -401250,7 +401255,7 @@ function HelpV2(t0) {
|
|
|
401250
401255
|
let t6;
|
|
401251
401256
|
if ($2[31] !== tabs) {
|
|
401252
401257
|
t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
|
|
401253
|
-
title: `Vivus v${"1.1.
|
|
401258
|
+
title: `Vivus v${"1.1.15+f44ec6f-dirty"}`,
|
|
401254
401259
|
color: "professionalBlue",
|
|
401255
401260
|
defaultTab: "general",
|
|
401256
401261
|
children: tabs
|
|
@@ -425476,7 +425481,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
425476
425481
|
return [];
|
|
425477
425482
|
}
|
|
425478
425483
|
}
|
|
425479
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.
|
|
425484
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.15+f44ec6f-dirty") {
|
|
425480
425485
|
if (process.env.USER_TYPE === "ant") {
|
|
425481
425486
|
const changelog = "";
|
|
425482
425487
|
if (changelog) {
|
|
@@ -425503,7 +425508,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.13+5e
|
|
|
425503
425508
|
releaseNotes
|
|
425504
425509
|
};
|
|
425505
425510
|
}
|
|
425506
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.
|
|
425511
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.15+f44ec6f-dirty") {
|
|
425507
425512
|
if (process.env.USER_TYPE === "ant") {
|
|
425508
425513
|
const changelog = "";
|
|
425509
425514
|
if (changelog) {
|
|
@@ -426673,7 +426678,7 @@ function getRecentActivitySync() {
|
|
|
426673
426678
|
return cachedActivity;
|
|
426674
426679
|
}
|
|
426675
426680
|
function getLogoDisplayData() {
|
|
426676
|
-
const version2 = process.env.DEMO_VERSION ?? "1.1.
|
|
426681
|
+
const version2 = process.env.DEMO_VERSION ?? "1.1.15+f44ec6f-dirty";
|
|
426677
426682
|
const serverUrl = getDirectConnectServerUrl();
|
|
426678
426683
|
const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
|
|
426679
426684
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -428200,7 +428205,7 @@ function LogoV2() {
|
|
|
428200
428205
|
if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
428201
428206
|
t2 = () => {
|
|
428202
428207
|
const currentConfig = getGlobalConfig();
|
|
428203
|
-
if (currentConfig.lastReleaseNotesSeen === "1.1.
|
|
428208
|
+
if (currentConfig.lastReleaseNotesSeen === "1.1.15+f44ec6f-dirty") {
|
|
428204
428209
|
return;
|
|
428205
428210
|
}
|
|
428206
428211
|
saveGlobalConfig(_temp329);
|
|
@@ -428876,12 +428881,12 @@ function LogoV2() {
|
|
|
428876
428881
|
return t41;
|
|
428877
428882
|
}
|
|
428878
428883
|
function _temp329(current) {
|
|
428879
|
-
if (current.lastReleaseNotesSeen === "1.1.
|
|
428884
|
+
if (current.lastReleaseNotesSeen === "1.1.15+f44ec6f-dirty") {
|
|
428880
428885
|
return current;
|
|
428881
428886
|
}
|
|
428882
428887
|
return {
|
|
428883
428888
|
...current,
|
|
428884
|
-
lastReleaseNotesSeen: "1.1.
|
|
428889
|
+
lastReleaseNotesSeen: "1.1.15+f44ec6f-dirty"
|
|
428885
428890
|
};
|
|
428886
428891
|
}
|
|
428887
428892
|
function _temp245(s_0) {
|
|
@@ -455178,7 +455183,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
455178
455183
|
smapsRollup,
|
|
455179
455184
|
platform: process.platform,
|
|
455180
455185
|
nodeVersion: process.version,
|
|
455181
|
-
ccVersion: "1.1.
|
|
455186
|
+
ccVersion: "1.1.15+f44ec6f-dirty"
|
|
455182
455187
|
};
|
|
455183
455188
|
}
|
|
455184
455189
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -455764,7 +455769,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
455764
455769
|
var call56 = async () => {
|
|
455765
455770
|
return {
|
|
455766
455771
|
type: "text",
|
|
455767
|
-
value: `${"1.1.
|
|
455772
|
+
value: `${"1.1.15+f44ec6f-dirty"} (built ${"2026-06-19T15:28:19.671Z"})`
|
|
455768
455773
|
};
|
|
455769
455774
|
}, version2, version_default;
|
|
455770
455775
|
var init_version = __esm(() => {
|
|
@@ -464727,7 +464732,7 @@ function generateHtmlReport(data, insights) {
|
|
|
464727
464732
|
</html>`;
|
|
464728
464733
|
}
|
|
464729
464734
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
464730
|
-
const version3 = typeof MACRO !== "undefined" ? "1.1.
|
|
464735
|
+
const version3 = typeof MACRO !== "undefined" ? "1.1.15+f44ec6f-dirty" : "unknown";
|
|
464731
464736
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
464732
464737
|
const facets_summary = {
|
|
464733
464738
|
total: facets.size,
|
|
@@ -468836,7 +468841,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
468836
468841
|
init_settings2();
|
|
468837
468842
|
init_slowOperations();
|
|
468838
468843
|
init_uuid();
|
|
468839
|
-
VERSION5 = typeof MACRO !== "undefined" ? "1.1.
|
|
468844
|
+
VERSION5 = typeof MACRO !== "undefined" ? "1.1.15+f44ec6f-dirty" : "unknown";
|
|
468840
468845
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
468841
468846
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
468842
468847
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -471707,7 +471712,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
471707
471712
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
471708
471713
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
471709
471714
|
betas: getSdkBetas(),
|
|
471710
|
-
vivus_code_version: "1.1.
|
|
471715
|
+
vivus_code_version: "1.1.15+f44ec6f-dirty",
|
|
471711
471716
|
output_style: outputStyle2,
|
|
471712
471717
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
471713
471718
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -486335,7 +486340,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
486335
486340
|
function getSemverPart(version3) {
|
|
486336
486341
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
486337
486342
|
}
|
|
486338
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.1.
|
|
486343
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.1.15+f44ec6f-dirty") {
|
|
486339
486344
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
|
|
486340
486345
|
if (!updatedVersion) {
|
|
486341
486346
|
return null;
|
|
@@ -486375,7 +486380,7 @@ function AutoUpdater({
|
|
|
486375
486380
|
return;
|
|
486376
486381
|
}
|
|
486377
486382
|
if (false) {}
|
|
486378
|
-
const currentVersion = "1.1.
|
|
486383
|
+
const currentVersion = "1.1.15+f44ec6f-dirty";
|
|
486379
486384
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
486380
486385
|
let latestVersion = await getLatestVersion(channel);
|
|
486381
486386
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -486588,12 +486593,12 @@ function NativeAutoUpdater({
|
|
|
486588
486593
|
logEvent("tengu_native_auto_updater_start", {});
|
|
486589
486594
|
try {
|
|
486590
486595
|
const maxVersion = await getMaxVersion();
|
|
486591
|
-
if (maxVersion && gt("1.1.
|
|
486596
|
+
if (maxVersion && gt("1.1.15+f44ec6f-dirty", maxVersion)) {
|
|
486592
486597
|
const msg = await getMaxVersionMessage();
|
|
486593
486598
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
486594
486599
|
}
|
|
486595
486600
|
const result = await installLatest(channel);
|
|
486596
|
-
const currentVersion = "1.1.
|
|
486601
|
+
const currentVersion = "1.1.15+f44ec6f-dirty";
|
|
486597
486602
|
const latencyMs = Date.now() - startTime;
|
|
486598
486603
|
if (result.lockFailed) {
|
|
486599
486604
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -486730,17 +486735,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
486730
486735
|
const maxVersion = await getMaxVersion();
|
|
486731
486736
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
486732
486737
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
486733
|
-
if (gte("1.1.
|
|
486734
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.
|
|
486738
|
+
if (gte("1.1.15+f44ec6f-dirty", maxVersion)) {
|
|
486739
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.15+f44ec6f-dirty"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
486735
486740
|
setUpdateAvailable(false);
|
|
486736
486741
|
return;
|
|
486737
486742
|
}
|
|
486738
486743
|
latest = maxVersion;
|
|
486739
486744
|
}
|
|
486740
|
-
const hasUpdate = latest && !gte("1.1.
|
|
486745
|
+
const hasUpdate = latest && !gte("1.1.15+f44ec6f-dirty", latest) && !shouldSkipVersion(latest);
|
|
486741
486746
|
setUpdateAvailable(!!hasUpdate);
|
|
486742
486747
|
if (hasUpdate) {
|
|
486743
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.
|
|
486748
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.15+f44ec6f-dirty"} -> ${latest}`);
|
|
486744
486749
|
}
|
|
486745
486750
|
};
|
|
486746
486751
|
$2[0] = t1;
|
|
@@ -486774,7 +486779,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
486774
486779
|
wrap: "truncate",
|
|
486775
486780
|
children: [
|
|
486776
486781
|
"currentVersion: ",
|
|
486777
|
-
"1.1.
|
|
486782
|
+
"1.1.15+f44ec6f-dirty"
|
|
486778
486783
|
]
|
|
486779
486784
|
}, undefined, true, undefined, this);
|
|
486780
486785
|
$2[3] = verbose;
|
|
@@ -494942,7 +494947,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
494942
494947
|
project_dir: getOriginalCwd(),
|
|
494943
494948
|
added_dirs: addedDirs
|
|
494944
494949
|
},
|
|
494945
|
-
version: "1.1.
|
|
494950
|
+
version: "1.1.15+f44ec6f-dirty",
|
|
494946
494951
|
output_style: {
|
|
494947
494952
|
name: outputStyleName
|
|
494948
494953
|
},
|
|
@@ -506426,7 +506431,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
506426
506431
|
} catch {}
|
|
506427
506432
|
const data = {
|
|
506428
506433
|
trigger,
|
|
506429
|
-
version: "1.1.
|
|
506434
|
+
version: "1.1.15+f44ec6f-dirty",
|
|
506430
506435
|
platform: process.platform,
|
|
506431
506436
|
transcript,
|
|
506432
506437
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -517843,7 +517848,7 @@ function WelcomeV2() {
|
|
|
517843
517848
|
dimColor: true,
|
|
517844
517849
|
children: [
|
|
517845
517850
|
"v",
|
|
517846
|
-
"1.1.
|
|
517851
|
+
"1.1.15+f44ec6f-dirty",
|
|
517847
517852
|
" "
|
|
517848
517853
|
]
|
|
517849
517854
|
}, undefined, true, undefined, this)
|
|
@@ -518043,7 +518048,7 @@ function WelcomeV2() {
|
|
|
518043
518048
|
dimColor: true,
|
|
518044
518049
|
children: [
|
|
518045
518050
|
"v",
|
|
518046
|
-
"1.1.
|
|
518051
|
+
"1.1.15+f44ec6f-dirty",
|
|
518047
518052
|
" "
|
|
518048
518053
|
]
|
|
518049
518054
|
}, undefined, true, undefined, this)
|
|
@@ -518269,7 +518274,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
518269
518274
|
dimColor: true,
|
|
518270
518275
|
children: [
|
|
518271
518276
|
"v",
|
|
518272
|
-
"1.1.
|
|
518277
|
+
"1.1.15+f44ec6f-dirty",
|
|
518273
518278
|
" "
|
|
518274
518279
|
]
|
|
518275
518280
|
}, undefined, true, undefined, this);
|
|
@@ -518523,7 +518528,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
518523
518528
|
dimColor: true,
|
|
518524
518529
|
children: [
|
|
518525
518530
|
"v",
|
|
518526
|
-
"1.1.
|
|
518531
|
+
"1.1.15+f44ec6f-dirty",
|
|
518527
518532
|
" "
|
|
518528
518533
|
]
|
|
518529
518534
|
}, undefined, true, undefined, this);
|
|
@@ -521587,7 +521592,7 @@ function appendToLog(path25, message) {
|
|
|
521587
521592
|
cwd: getFsImplementation().cwd(),
|
|
521588
521593
|
userType: process.env.USER_TYPE,
|
|
521589
521594
|
sessionId: getSessionId(),
|
|
521590
|
-
version: "1.1.
|
|
521595
|
+
version: "1.1.15+f44ec6f-dirty"
|
|
521591
521596
|
};
|
|
521592
521597
|
getLogWriter(path25).write(messageWithTimestamp);
|
|
521593
521598
|
}
|
|
@@ -525572,8 +525577,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
525572
525577
|
}
|
|
525573
525578
|
async function checkEnvLessBridgeMinVersion() {
|
|
525574
525579
|
const cfg = await getEnvLessBridgeConfig();
|
|
525575
|
-
if (cfg.min_version && lt("1.1.
|
|
525576
|
-
return `Your version of Vivus (${"1.1.
|
|
525580
|
+
if (cfg.min_version && lt("1.1.15+f44ec6f-dirty", cfg.min_version)) {
|
|
525581
|
+
return `Your version of Vivus (${"1.1.15+f44ec6f-dirty"}) is too old for Remote Control.
|
|
525577
525582
|
Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
|
|
525578
525583
|
}
|
|
525579
525584
|
return null;
|
|
@@ -526047,7 +526052,7 @@ async function initBridgeCore(params) {
|
|
|
526047
526052
|
const rawApi = createBridgeApiClient({
|
|
526048
526053
|
baseUrl,
|
|
526049
526054
|
getAccessToken,
|
|
526050
|
-
runnerVersion: "1.1.
|
|
526055
|
+
runnerVersion: "1.1.15+f44ec6f-dirty",
|
|
526051
526056
|
onDebug: logForDebugging,
|
|
526052
526057
|
onAuth401,
|
|
526053
526058
|
getTrustedDeviceToken
|
|
@@ -531711,7 +531716,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
531711
531716
|
setCwd(cwd3);
|
|
531712
531717
|
const server = new Server({
|
|
531713
531718
|
name: "vivus/tengu",
|
|
531714
|
-
version: "1.1.
|
|
531719
|
+
version: "1.1.15+f44ec6f-dirty"
|
|
531715
531720
|
}, {
|
|
531716
531721
|
capabilities: {
|
|
531717
531722
|
tools: {}
|
|
@@ -533322,7 +533327,7 @@ __export(exports_update, {
|
|
|
533322
533327
|
});
|
|
533323
533328
|
async function update() {
|
|
533324
533329
|
logEvent("tengu_update_check", {});
|
|
533325
|
-
writeToStdout(`Current version: ${"1.1.
|
|
533330
|
+
writeToStdout(`Current version: ${"1.1.15+f44ec6f-dirty"}
|
|
533326
533331
|
`);
|
|
533327
533332
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
533328
533333
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -533397,8 +533402,8 @@ async function update() {
|
|
|
533397
533402
|
writeToStdout(`Vivus is managed by Homebrew.
|
|
533398
533403
|
`);
|
|
533399
533404
|
const latest = await getLatestVersion(channel);
|
|
533400
|
-
if (latest && !gte("1.1.
|
|
533401
|
-
writeToStdout(`Update available: ${"1.1.
|
|
533405
|
+
if (latest && !gte("1.1.15+f44ec6f-dirty", latest)) {
|
|
533406
|
+
writeToStdout(`Update available: ${"1.1.15+f44ec6f-dirty"} → ${latest}
|
|
533402
533407
|
`);
|
|
533403
533408
|
writeToStdout(`
|
|
533404
533409
|
`);
|
|
@@ -533414,8 +533419,8 @@ async function update() {
|
|
|
533414
533419
|
writeToStdout(`Vivus is managed by winget.
|
|
533415
533420
|
`);
|
|
533416
533421
|
const latest = await getLatestVersion(channel);
|
|
533417
|
-
if (latest && !gte("1.1.
|
|
533418
|
-
writeToStdout(`Update available: ${"1.1.
|
|
533422
|
+
if (latest && !gte("1.1.15+f44ec6f-dirty", latest)) {
|
|
533423
|
+
writeToStdout(`Update available: ${"1.1.15+f44ec6f-dirty"} → ${latest}
|
|
533419
533424
|
`);
|
|
533420
533425
|
writeToStdout(`
|
|
533421
533426
|
`);
|
|
@@ -533431,8 +533436,8 @@ async function update() {
|
|
|
533431
533436
|
writeToStdout(`Vivus is managed by apk.
|
|
533432
533437
|
`);
|
|
533433
533438
|
const latest = await getLatestVersion(channel);
|
|
533434
|
-
if (latest && !gte("1.1.
|
|
533435
|
-
writeToStdout(`Update available: ${"1.1.
|
|
533439
|
+
if (latest && !gte("1.1.15+f44ec6f-dirty", latest)) {
|
|
533440
|
+
writeToStdout(`Update available: ${"1.1.15+f44ec6f-dirty"} → ${latest}
|
|
533436
533441
|
`);
|
|
533437
533442
|
writeToStdout(`
|
|
533438
533443
|
`);
|
|
@@ -533497,11 +533502,11 @@ async function update() {
|
|
|
533497
533502
|
`);
|
|
533498
533503
|
await gracefulShutdown(1);
|
|
533499
533504
|
}
|
|
533500
|
-
if (result.latestVersion === "1.1.
|
|
533501
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
533505
|
+
if (result.latestVersion === "1.1.15+f44ec6f-dirty") {
|
|
533506
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.15+f44ec6f-dirty"})`) + `
|
|
533502
533507
|
`);
|
|
533503
533508
|
} else {
|
|
533504
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
533509
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.15+f44ec6f-dirty"} to version ${result.latestVersion}`) + `
|
|
533505
533510
|
`);
|
|
533506
533511
|
await regenerateCompletionCache();
|
|
533507
533512
|
}
|
|
@@ -533558,12 +533563,12 @@ async function update() {
|
|
|
533558
533563
|
`);
|
|
533559
533564
|
await gracefulShutdown(1);
|
|
533560
533565
|
}
|
|
533561
|
-
if (latestVersion === "1.1.
|
|
533562
|
-
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.
|
|
533566
|
+
if (latestVersion === "1.1.15+f44ec6f-dirty") {
|
|
533567
|
+
writeToStdout(source_default.green(`Vivus is up to date (${"1.1.15+f44ec6f-dirty"})`) + `
|
|
533563
533568
|
`);
|
|
533564
533569
|
await gracefulShutdown(0);
|
|
533565
533570
|
}
|
|
533566
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.
|
|
533571
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.15+f44ec6f-dirty"})
|
|
533567
533572
|
`);
|
|
533568
533573
|
writeToStdout(`Installing update...
|
|
533569
533574
|
`);
|
|
@@ -533608,7 +533613,7 @@ async function update() {
|
|
|
533608
533613
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
533609
533614
|
switch (status2) {
|
|
533610
533615
|
case "success":
|
|
533611
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.1.
|
|
533616
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.1.15+f44ec6f-dirty"} to version ${latestVersion}`) + `
|
|
533612
533617
|
`);
|
|
533613
533618
|
await regenerateCompletionCache();
|
|
533614
533619
|
break;
|
|
@@ -534043,9 +534048,11 @@ async function fetchBootstrapData() {
|
|
|
534043
534048
|
return;
|
|
534044
534049
|
const clientData = response.client_data ?? null;
|
|
534045
534050
|
const additionalModelOptions = response.additional_model_options ?? [];
|
|
534051
|
+
const featureFlags = clientData && typeof clientData === "object" && !Array.isArray(clientData) ? clientData.feature_flags : undefined;
|
|
534052
|
+
const growthBookOverrides = featureFlags && typeof featureFlags === "object" && !Array.isArray(featureFlags) ? featureFlags : {};
|
|
534046
534053
|
const ownsModelOptions = isFirstPartyAnthropicBaseUrl();
|
|
534047
534054
|
const config4 = getGlobalConfig();
|
|
534048
|
-
if (isEqual_default(config4.clientDataCache, clientData) && (!ownsModelOptions || isEqual_default(config4.additionalModelOptionsCache, additionalModelOptions))) {
|
|
534055
|
+
if (isEqual_default(config4.clientDataCache, clientData) && isEqual_default(config4.growthBookOverrides ?? {}, growthBookOverrides) && (!ownsModelOptions || isEqual_default(config4.additionalModelOptionsCache, additionalModelOptions))) {
|
|
534049
534056
|
logForDebugging("[Bootstrap] Cache unchanged, skipping write");
|
|
534050
534057
|
return;
|
|
534051
534058
|
}
|
|
@@ -534053,6 +534060,7 @@ async function fetchBootstrapData() {
|
|
|
534053
534060
|
saveGlobalConfig((current) => ({
|
|
534054
534061
|
...current,
|
|
534055
534062
|
clientDataCache: clientData,
|
|
534063
|
+
growthBookOverrides,
|
|
534056
534064
|
...ownsModelOptions ? { additionalModelOptionsCache: additionalModelOptions } : {}
|
|
534057
534065
|
}));
|
|
534058
534066
|
} catch (error41) {
|
|
@@ -534579,7 +534587,7 @@ function completeOnboarding() {
|
|
|
534579
534587
|
saveGlobalConfig((current) => ({
|
|
534580
534588
|
...current,
|
|
534581
534589
|
hasCompletedOnboarding: true,
|
|
534582
|
-
lastOnboardingVersion: "1.1.
|
|
534590
|
+
lastOnboardingVersion: "1.1.15+f44ec6f-dirty"
|
|
534583
534591
|
}));
|
|
534584
534592
|
}
|
|
534585
534593
|
function showDialog(root2, renderer) {
|
|
@@ -538753,7 +538761,7 @@ ${customInstructions}` : customInstructions;
|
|
|
538753
538761
|
}
|
|
538754
538762
|
}
|
|
538755
538763
|
logForDiagnosticsNoPII("info", "started", {
|
|
538756
|
-
version: "1.1.
|
|
538764
|
+
version: "1.1.15+f44ec6f-dirty",
|
|
538757
538765
|
is_native_binary: isInBundledMode()
|
|
538758
538766
|
});
|
|
538759
538767
|
registerCleanup(async () => {
|
|
@@ -539537,7 +539545,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
539537
539545
|
pendingHookMessages
|
|
539538
539546
|
}, renderAndRun);
|
|
539539
539547
|
}
|
|
539540
|
-
}).version("1.1.
|
|
539548
|
+
}).version("1.1.15+f44ec6f-dirty (Vivus)", "-v, --version", "Output the version number");
|
|
539541
539549
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
539542
539550
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
539543
539551
|
if (canUserConfigureAdvisor()) {
|