vivus-agent 1.1.40 → 1.1.41

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.
Files changed (2) hide show
  1. package/dist/main.js +95 -89
  2. 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-08-06T21:07:27.446Z
3
+ // Built from source at 2026-09-16T23:37:59.525Z
4
4
  import { createRequire } from "node:module";
5
5
  var __create = Object.create;
6
6
  var __getProtoOf = Object.getPrototypeOf;
@@ -108228,7 +108228,7 @@ var init_auth = __esm(() => {
108228
108228
 
108229
108229
  // src/utils/userAgent.ts
108230
108230
  function getVivusCodeUserAgent() {
108231
- return `vivus/${"1.1.40+7a4108d"}`;
108231
+ return `vivus/${"1.1.41+caf0d72"}`;
108232
108232
  }
108233
108233
 
108234
108234
  // src/utils/workloadContext.ts
@@ -108250,7 +108250,7 @@ function getUserAgent() {
108250
108250
  const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
108251
108251
  const workload = getWorkload();
108252
108252
  const workloadSuffix = workload ? `, workload/${workload}` : "";
108253
- return `vivus-cli/${"1.1.40+7a4108d"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
108253
+ return `vivus-cli/${"1.1.41+caf0d72"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
108254
108254
  }
108255
108255
  function getMCPUserAgent() {
108256
108256
  const parts = [];
@@ -108264,7 +108264,7 @@ function getMCPUserAgent() {
108264
108264
  parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
108265
108265
  }
108266
108266
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
108267
- return `vivus/${"1.1.40+7a4108d"}${suffix}`;
108267
+ return `vivus/${"1.1.41+caf0d72"}${suffix}`;
108268
108268
  }
108269
108269
  function getWebFetchUserAgent() {
108270
108270
  return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -108402,7 +108402,7 @@ var init_user = __esm(() => {
108402
108402
  deviceId,
108403
108403
  sessionId: getSessionId(),
108404
108404
  email: getEmail(),
108405
- appVersion: "1.1.40+7a4108d",
108405
+ appVersion: "1.1.41+caf0d72",
108406
108406
  platform: getHostPlatformForAnalytics(),
108407
108407
  organizationUuid,
108408
108408
  accountUuid,
@@ -119713,7 +119713,7 @@ var init_metadata = __esm(() => {
119713
119713
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
119714
119714
  WHITESPACE_REGEX = /\s+/;
119715
119715
  getVersionBase = memoize_default(() => {
119716
- const match = "1.1.40+7a4108d".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
119716
+ const match = "1.1.41+caf0d72".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
119717
119717
  return match ? match[0] : undefined;
119718
119718
  });
119719
119719
  buildEnvContext = memoize_default(async () => {
@@ -119753,9 +119753,9 @@ var init_metadata = __esm(() => {
119753
119753
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
119754
119754
  isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
119755
119755
  isVivusAiAuth: isVivusAISubscriber(),
119756
- version: "1.1.40+7a4108d",
119756
+ version: "1.1.41+caf0d72",
119757
119757
  versionBase: getVersionBase(),
119758
- buildTime: "2026-08-06T21:07:26.990Z",
119758
+ buildTime: "2026-09-16T23:37:58.656Z",
119759
119759
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
119760
119760
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
119761
119761
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -120423,7 +120423,7 @@ function initialize1PEventLogging() {
120423
120423
  const platform2 = getPlatform();
120424
120424
  const attributes = {
120425
120425
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
120426
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.40+7a4108d"
120426
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.41+caf0d72"
120427
120427
  };
120428
120428
  if (platform2 === "wsl") {
120429
120429
  const wslVersion = getWslVersion();
@@ -120450,7 +120450,7 @@ function initialize1PEventLogging() {
120450
120450
  })
120451
120451
  ]
120452
120452
  });
120453
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.40+7a4108d");
120453
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.41+caf0d72");
120454
120454
  }
120455
120455
  async function reinitialize1PEventLoggingIfConfigChanged() {
120456
120456
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -162670,7 +162670,7 @@ function getAttributionHeader(fingerprint) {
162670
162670
  if (!isAttributionHeaderEnabled()) {
162671
162671
  return "";
162672
162672
  }
162673
- const version2 = `${"1.1.40+7a4108d"}.${fingerprint}`;
162673
+ const version2 = `${"1.1.41+caf0d72"}.${fingerprint}`;
162674
162674
  const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
162675
162675
  const cch = "";
162676
162676
  const workload = getWorkload();
@@ -175833,7 +175833,7 @@ function getTelemetryAttributes() {
175833
175833
  attributes["session.id"] = sessionId;
175834
175834
  }
175835
175835
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
175836
- attributes["app.version"] = "1.1.40+7a4108d";
175836
+ attributes["app.version"] = "1.1.41+caf0d72";
175837
175837
  }
175838
175838
  const oauthAccount = getOauthAccountInfo();
175839
175839
  if (oauthAccount) {
@@ -242403,7 +242403,7 @@ function computeFingerprint(messageText, version2) {
242403
242403
  }
242404
242404
  function computeFingerprintFromMessages(messages) {
242405
242405
  const firstMessageText = extractFirstMessageText(messages);
242406
- return computeFingerprint(firstMessageText, "1.1.40+7a4108d");
242406
+ return computeFingerprint(firstMessageText, "1.1.41+caf0d72");
242407
242407
  }
242408
242408
  var FINGERPRINT_SALT = "59cf53e54c78";
242409
242409
  var init_fingerprint = () => {};
@@ -242445,7 +242445,7 @@ async function sideQuery(opts) {
242445
242445
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
242446
242446
  }
242447
242447
  const messageText = extractFirstUserMessageText(messages);
242448
- const fingerprint = computeFingerprint(messageText, "1.1.40+7a4108d");
242448
+ const fingerprint = computeFingerprint(messageText, "1.1.41+caf0d72");
242449
242449
  const attributionHeader = getAttributionHeader(fingerprint);
242450
242450
  const systemBlocks = [
242451
242451
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -243597,7 +243597,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
243597
243597
  const client2 = new Client({
243598
243598
  name: "vivus",
243599
243599
  title: "Vivus",
243600
- version: "1.1.40+7a4108d",
243600
+ version: "1.1.41+caf0d72",
243601
243601
  description: "Anthropic's agentic coding tool",
243602
243602
  websiteUrl: PRODUCT_URL
243603
243603
  }, {
@@ -243951,7 +243951,7 @@ var init_client6 = __esm(() => {
243951
243951
  const client2 = new Client({
243952
243952
  name: "vivus",
243953
243953
  title: "Vivus",
243954
- version: "1.1.40+7a4108d",
243954
+ version: "1.1.41+caf0d72",
243955
243955
  description: "Anthropic's agentic coding tool",
243956
243956
  websiteUrl: PRODUCT_URL
243957
243957
  }, {
@@ -246012,7 +246012,7 @@ function getInstallationEnv() {
246012
246012
  return;
246013
246013
  }
246014
246014
  function getVivusCodeVersion() {
246015
- return "1.1.40+7a4108d";
246015
+ return "1.1.41+caf0d72";
246016
246016
  }
246017
246017
  async function getInstalledVSCodeExtensionVersion(command) {
246018
246018
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -302099,7 +302099,7 @@ async function initializeBetaTracing(resource) {
302099
302099
  });
302100
302100
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
302101
302101
  setLoggerProvider(loggerProvider);
302102
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.40+7a4108d");
302102
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.41+caf0d72");
302103
302103
  setEventLogger(eventLogger);
302104
302104
  process.on("beforeExit", async () => {
302105
302105
  await loggerProvider?.forceFlush();
@@ -302139,7 +302139,7 @@ async function initializeTelemetry() {
302139
302139
  const platform5 = getPlatform();
302140
302140
  const baseAttributes = {
302141
302141
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
302142
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.40+7a4108d"
302142
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.41+caf0d72"
302143
302143
  };
302144
302144
  if (platform5 === "wsl") {
302145
302145
  const wslVersion = getWslVersion();
@@ -302184,7 +302184,7 @@ async function initializeTelemetry() {
302184
302184
  } catch {}
302185
302185
  };
302186
302186
  registerCleanup(shutdownTelemetry2);
302187
- return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.40+7a4108d");
302187
+ return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.41+caf0d72");
302188
302188
  }
302189
302189
  const meterProvider = new import_sdk_metrics2.MeterProvider({
302190
302190
  resource,
@@ -302204,7 +302204,7 @@ async function initializeTelemetry() {
302204
302204
  });
302205
302205
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
302206
302206
  setLoggerProvider(loggerProvider);
302207
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.40+7a4108d");
302207
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.41+caf0d72");
302208
302208
  setEventLogger(eventLogger);
302209
302209
  logForDebugging("[3P telemetry] Event logger set successfully");
302210
302210
  process.on("beforeExit", async () => {
@@ -302266,7 +302266,7 @@ Current timeout: ${timeoutMs}ms
302266
302266
  }
302267
302267
  };
302268
302268
  registerCleanup(shutdownTelemetry);
302269
- return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.40+7a4108d");
302269
+ return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.41+caf0d72");
302270
302270
  }
302271
302271
  async function flushTelemetry() {
302272
302272
  const meterProvider = getMeterProvider();
@@ -302952,9 +302952,9 @@ async function assertMinVersion() {
302952
302952
  if (false) {}
302953
302953
  try {
302954
302954
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
302955
- if (versionConfig.minVersion && lt("1.1.40+7a4108d", versionConfig.minVersion)) {
302955
+ if (versionConfig.minVersion && lt("1.1.41+caf0d72", versionConfig.minVersion)) {
302956
302956
  console.error(`
302957
- It looks like your version of Vivus (${"1.1.40+7a4108d"}) needs an update.
302957
+ It looks like your version of Vivus (${"1.1.41+caf0d72"}) needs an update.
302958
302958
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
302959
302959
 
302960
302960
  To update, please run:
@@ -303170,7 +303170,7 @@ async function installGlobalPackage(specificVersion) {
303170
303170
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
303171
303171
  logEvent("tengu_auto_updater_lock_contention", {
303172
303172
  pid: process.pid,
303173
- currentVersion: "1.1.40+7a4108d"
303173
+ currentVersion: "1.1.41+caf0d72"
303174
303174
  });
303175
303175
  return "in_progress";
303176
303176
  }
@@ -303179,7 +303179,7 @@ async function installGlobalPackage(specificVersion) {
303179
303179
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
303180
303180
  logError2(new Error("Windows NPM detected in WSL environment"));
303181
303181
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
303182
- currentVersion: "1.1.40+7a4108d"
303182
+ currentVersion: "1.1.41+caf0d72"
303183
303183
  });
303184
303184
  console.error(`
303185
303185
  Error: Windows NPM detected in WSL
@@ -303712,7 +303712,7 @@ function detectLinuxGlobPatternWarnings() {
303712
303712
  }
303713
303713
  async function getDoctorDiagnostic() {
303714
303714
  const installationType = await getCurrentInstallationType();
303715
- const version2 = typeof MACRO !== "undefined" ? "1.1.40+7a4108d" : "unknown";
303715
+ const version2 = typeof MACRO !== "undefined" ? "1.1.41+caf0d72" : "unknown";
303716
303716
  const installationPath = await getInstallationPath();
303717
303717
  const invokedBinary = getInvokedBinary();
303718
303718
  const multipleInstallations = await detectMultipleInstallations();
@@ -304645,8 +304645,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
304645
304645
  const maxVersion = await getMaxVersion();
304646
304646
  if (maxVersion && gt(version2, maxVersion)) {
304647
304647
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
304648
- if (gte("1.1.40+7a4108d", maxVersion)) {
304649
- logForDebugging(`Native installer: current version ${"1.1.40+7a4108d"} is already at or above maxVersion ${maxVersion}, skipping update`);
304648
+ if (gte("1.1.41+caf0d72", maxVersion)) {
304649
+ logForDebugging(`Native installer: current version ${"1.1.41+caf0d72"} is already at or above maxVersion ${maxVersion}, skipping update`);
304650
304650
  logEvent("tengu_native_update_skipped_max_version", {
304651
304651
  latency_ms: Date.now() - startTime,
304652
304652
  max_version: maxVersion,
@@ -304657,7 +304657,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
304657
304657
  version2 = maxVersion;
304658
304658
  }
304659
304659
  }
304660
- if (!forceReinstall && version2 === "1.1.40+7a4108d" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
304660
+ if (!forceReinstall && version2 === "1.1.41+caf0d72" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
304661
304661
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
304662
304662
  logEvent("tengu_native_update_complete", {
304663
304663
  latency_ms: Date.now() - startTime,
@@ -357304,7 +357304,12 @@ var init_autoCompact = __esm(() => {
357304
357304
  // src/services/tools/repetitionTracker.ts
357305
357305
  import { createHash as createHash21 } from "crypto";
357306
357306
  function hashToolCall(toolName, input) {
357307
- const payload = toolName + "\x00" + JSON.stringify(input);
357307
+ const significant = {};
357308
+ for (const key of Object.keys(input).sort()) {
357309
+ if (!COSMETIC_INPUT_KEYS.has(key))
357310
+ significant[key] = input[key];
357311
+ }
357312
+ const payload = toolName + "\x00" + JSON.stringify(significant);
357308
357313
  return createHash21("sha256").update(payload).digest("hex").slice(0, 16);
357309
357314
  }
357310
357315
  function checkRepetition(toolName, input) {
@@ -357342,9 +357347,10 @@ function resetRepetitionTracker() {
357342
357347
  recentCalls.clear();
357343
357348
  lastHash = null;
357344
357349
  }
357345
- var WARN_THRESHOLD = 2, BLOCK_THRESHOLD = 4, recentCalls, lastHash = null;
357350
+ var WARN_THRESHOLD = 2, BLOCK_THRESHOLD = 4, recentCalls, lastHash = null, COSMETIC_INPUT_KEYS;
357346
357351
  var init_repetitionTracker = __esm(() => {
357347
357352
  recentCalls = new Map;
357353
+ COSMETIC_INPUT_KEYS = new Set(["description", "timeout"]);
357348
357354
  });
357349
357355
 
357350
357356
  // src/constants/errorIds.ts
@@ -361944,7 +361950,7 @@ function getAnthropicEnvMetadata() {
361944
361950
  function getBuildAgeMinutes() {
361945
361951
  if (false)
361946
361952
  ;
361947
- const buildTime = new Date("2026-08-06T21:07:26.990Z").getTime();
361953
+ const buildTime = new Date("2026-09-16T23:37:58.656Z").getTime();
361948
361954
  if (isNaN(buildTime))
361949
361955
  return;
361950
361956
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -410096,7 +410102,7 @@ var init_filesystem = __esm(() => {
410096
410102
  });
410097
410103
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
410098
410104
  const nonce = randomBytes17(16).toString("hex");
410099
- return join108(getVivusTempDir(), "bundled-skills", "1.1.40+7a4108d", nonce);
410105
+ return join108(getVivusTempDir(), "bundled-skills", "1.1.41+caf0d72", nonce);
410100
410106
  });
410101
410107
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
410102
410108
  });
@@ -411856,7 +411862,7 @@ function Feedback({
411856
411862
  platform: env3.platform,
411857
411863
  gitRepo: envInfo.isGit,
411858
411864
  terminal: env3.terminal,
411859
- version: "1.1.40+7a4108d",
411865
+ version: "1.1.41+caf0d72",
411860
411866
  transcript: normalizeMessagesForAPI(messages),
411861
411867
  errors: sanitizedErrors,
411862
411868
  lastApiRequest: getLastAPIRequest(),
@@ -412048,7 +412054,7 @@ function Feedback({
412048
412054
  ", ",
412049
412055
  env3.terminal,
412050
412056
  ", v",
412051
- "1.1.40+7a4108d"
412057
+ "1.1.41+caf0d72"
412052
412058
  ]
412053
412059
  }, undefined, true, undefined, this)
412054
412060
  ]
@@ -412154,7 +412160,7 @@ ${sanitizedDescription}
412154
412160
  ` + `**Environment Info**
412155
412161
  ` + `- Platform: ${env3.platform}
412156
412162
  ` + `- Terminal: ${env3.terminal}
412157
- ` + `- Version: ${"1.1.40+7a4108d"}
412163
+ ` + `- Version: ${"1.1.41+caf0d72"}
412158
412164
  ` + `- Feedback ID: ${feedbackId}
412159
412165
  ` + `
412160
412166
  **Errors**
@@ -415286,7 +415292,7 @@ function buildPrimarySection() {
415286
415292
  }, undefined, false, undefined, this);
415287
415293
  return [{
415288
415294
  label: "Version",
415289
- value: "1.1.40+7a4108d"
415295
+ value: "1.1.41+caf0d72"
415290
415296
  }, {
415291
415297
  label: "Session name",
415292
415298
  value: nameValue
@@ -419068,7 +419074,7 @@ function Config({
419068
419074
  }
419069
419075
  }, undefined, false, undefined, this)
419070
419076
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
419071
- currentVersion: "1.1.40+7a4108d",
419077
+ currentVersion: "1.1.41+caf0d72",
419072
419078
  onChoice: (choice) => {
419073
419079
  setShowSubmenu(null);
419074
419080
  setTabsHidden(false);
@@ -419080,7 +419086,7 @@ function Config({
419080
419086
  autoUpdatesChannel: "stable"
419081
419087
  };
419082
419088
  if (choice === "stay") {
419083
- newSettings.minimumVersion = "1.1.40+7a4108d";
419089
+ newSettings.minimumVersion = "1.1.41+caf0d72";
419084
419090
  }
419085
419091
  updateSettingsForSource("userSettings", newSettings);
419086
419092
  setSettingsData((prev_27) => ({
@@ -427275,7 +427281,7 @@ function HelpV2(t0) {
427275
427281
  let t6;
427276
427282
  if ($2[31] !== tabs) {
427277
427283
  t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
427278
- title: `Vivus v${"1.1.40+7a4108d"}`,
427284
+ title: `Vivus v${"1.1.41+caf0d72"}`,
427279
427285
  color: "professionalBlue",
427280
427286
  defaultTab: "general",
427281
427287
  children: tabs
@@ -451501,7 +451507,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
451501
451507
  return [];
451502
451508
  }
451503
451509
  }
451504
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.40+7a4108d") {
451510
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.41+caf0d72") {
451505
451511
  if (process.env.USER_TYPE === "ant") {
451506
451512
  const changelog = "";
451507
451513
  if (changelog) {
@@ -451528,7 +451534,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.40+7a
451528
451534
  releaseNotes
451529
451535
  };
451530
451536
  }
451531
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.40+7a4108d") {
451537
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.41+caf0d72") {
451532
451538
  if (process.env.USER_TYPE === "ant") {
451533
451539
  const changelog = "";
451534
451540
  if (changelog) {
@@ -452698,7 +452704,7 @@ function getRecentActivitySync() {
452698
452704
  return cachedActivity;
452699
452705
  }
452700
452706
  function getLogoDisplayData() {
452701
- const version2 = process.env.DEMO_VERSION ?? "1.1.40+7a4108d";
452707
+ const version2 = process.env.DEMO_VERSION ?? "1.1.41+caf0d72";
452702
452708
  const serverUrl = getDirectConnectServerUrl();
452703
452709
  const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
452704
452710
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -454225,7 +454231,7 @@ function LogoV2() {
454225
454231
  if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
454226
454232
  t2 = () => {
454227
454233
  const currentConfig = getGlobalConfig();
454228
- if (currentConfig.lastReleaseNotesSeen === "1.1.40+7a4108d") {
454234
+ if (currentConfig.lastReleaseNotesSeen === "1.1.41+caf0d72") {
454229
454235
  return;
454230
454236
  }
454231
454237
  saveGlobalConfig(_temp329);
@@ -454901,12 +454907,12 @@ function LogoV2() {
454901
454907
  return t41;
454902
454908
  }
454903
454909
  function _temp329(current) {
454904
- if (current.lastReleaseNotesSeen === "1.1.40+7a4108d") {
454910
+ if (current.lastReleaseNotesSeen === "1.1.41+caf0d72") {
454905
454911
  return current;
454906
454912
  }
454907
454913
  return {
454908
454914
  ...current,
454909
- lastReleaseNotesSeen: "1.1.40+7a4108d"
454915
+ lastReleaseNotesSeen: "1.1.41+caf0d72"
454910
454916
  };
454911
454917
  }
454912
454918
  function _temp245(s_0) {
@@ -481208,7 +481214,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
481208
481214
  smapsRollup,
481209
481215
  platform: process.platform,
481210
481216
  nodeVersion: process.version,
481211
- ccVersion: "1.1.40+7a4108d"
481217
+ ccVersion: "1.1.41+caf0d72"
481212
481218
  };
481213
481219
  }
481214
481220
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -481794,7 +481800,7 @@ var init_bridge_kick = __esm(() => {
481794
481800
  var call56 = async () => {
481795
481801
  return {
481796
481802
  type: "text",
481797
- value: `${"1.1.40+7a4108d"} (built ${"2026-08-06T21:07:26.990Z"})`
481803
+ value: `${"1.1.41+caf0d72"} (built ${"2026-09-16T23:37:58.656Z"})`
481798
481804
  };
481799
481805
  }, version2, version_default;
481800
481806
  var init_version = __esm(() => {
@@ -491114,7 +491120,7 @@ function generateHtmlReport(data, insights) {
491114
491120
  </html>`;
491115
491121
  }
491116
491122
  function buildExportData(data, insights, facets, remoteStats) {
491117
- const version3 = typeof MACRO !== "undefined" ? "1.1.40+7a4108d" : "unknown";
491123
+ const version3 = typeof MACRO !== "undefined" ? "1.1.41+caf0d72" : "unknown";
491118
491124
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
491119
491125
  const facets_summary = {
491120
491126
  total: facets.size,
@@ -495226,7 +495232,7 @@ var init_sessionStorage = __esm(() => {
495226
495232
  init_settings2();
495227
495233
  init_slowOperations();
495228
495234
  init_uuid();
495229
- VERSION5 = typeof MACRO !== "undefined" ? "1.1.40+7a4108d" : "unknown";
495235
+ VERSION5 = typeof MACRO !== "undefined" ? "1.1.41+caf0d72" : "unknown";
495230
495236
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
495231
495237
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
495232
495238
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -498098,7 +498104,7 @@ function buildSystemInitMessage(inputs) {
498098
498104
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
498099
498105
  apiKeySource: getAnthropicApiKeyWithSource().source,
498100
498106
  betas: getSdkBetas(),
498101
- vivus_code_version: "1.1.40+7a4108d",
498107
+ vivus_code_version: "1.1.41+caf0d72",
498102
498108
  output_style: outputStyle2,
498103
498109
  agents: inputs.agents.map((agent) => agent.agentType),
498104
498110
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -512810,7 +512816,7 @@ var init_useVoiceEnabled = __esm(() => {
512810
512816
  function getSemverPart(version3) {
512811
512817
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
512812
512818
  }
512813
- function useUpdateNotification(updatedVersion, initialVersion = "1.1.40+7a4108d") {
512819
+ function useUpdateNotification(updatedVersion, initialVersion = "1.1.41+caf0d72") {
512814
512820
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
512815
512821
  if (!updatedVersion) {
512816
512822
  return null;
@@ -512850,7 +512856,7 @@ function AutoUpdater({
512850
512856
  return;
512851
512857
  }
512852
512858
  if (false) {}
512853
- const currentVersion = "1.1.40+7a4108d";
512859
+ const currentVersion = "1.1.41+caf0d72";
512854
512860
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
512855
512861
  let latestVersion = await getLatestVersion(channel);
512856
512862
  const isDisabled = isAutoUpdaterDisabled();
@@ -513063,12 +513069,12 @@ function NativeAutoUpdater({
513063
513069
  logEvent("tengu_native_auto_updater_start", {});
513064
513070
  try {
513065
513071
  const maxVersion = await getMaxVersion();
513066
- if (maxVersion && gt("1.1.40+7a4108d", maxVersion)) {
513072
+ if (maxVersion && gt("1.1.41+caf0d72", maxVersion)) {
513067
513073
  const msg = await getMaxVersionMessage();
513068
513074
  setMaxVersionIssue(msg ?? "affects your version");
513069
513075
  }
513070
513076
  const result = await installLatest(channel);
513071
- const currentVersion = "1.1.40+7a4108d";
513077
+ const currentVersion = "1.1.41+caf0d72";
513072
513078
  const latencyMs = Date.now() - startTime;
513073
513079
  if (result.lockFailed) {
513074
513080
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -513205,17 +513211,17 @@ function PackageManagerAutoUpdater(t0) {
513205
513211
  const maxVersion = await getMaxVersion();
513206
513212
  if (maxVersion && latest && gt(latest, maxVersion)) {
513207
513213
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
513208
- if (gte("1.1.40+7a4108d", maxVersion)) {
513209
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.40+7a4108d"} is already at or above maxVersion ${maxVersion}, skipping update`);
513214
+ if (gte("1.1.41+caf0d72", maxVersion)) {
513215
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.41+caf0d72"} is already at or above maxVersion ${maxVersion}, skipping update`);
513210
513216
  setUpdateAvailable(false);
513211
513217
  return;
513212
513218
  }
513213
513219
  latest = maxVersion;
513214
513220
  }
513215
- const hasUpdate = latest && !gte("1.1.40+7a4108d", latest) && !shouldSkipVersion(latest);
513221
+ const hasUpdate = latest && !gte("1.1.41+caf0d72", latest) && !shouldSkipVersion(latest);
513216
513222
  setUpdateAvailable(!!hasUpdate);
513217
513223
  if (hasUpdate) {
513218
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.40+7a4108d"} -> ${latest}`);
513224
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.41+caf0d72"} -> ${latest}`);
513219
513225
  }
513220
513226
  };
513221
513227
  $2[0] = t1;
@@ -513249,7 +513255,7 @@ function PackageManagerAutoUpdater(t0) {
513249
513255
  wrap: "truncate",
513250
513256
  children: [
513251
513257
  "currentVersion: ",
513252
- "1.1.40+7a4108d"
513258
+ "1.1.41+caf0d72"
513253
513259
  ]
513254
513260
  }, undefined, true, undefined, this);
513255
513261
  $2[3] = verbose;
@@ -521433,7 +521439,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
521433
521439
  project_dir: getOriginalCwd(),
521434
521440
  added_dirs: addedDirs
521435
521441
  },
521436
- version: "1.1.40+7a4108d",
521442
+ version: "1.1.41+caf0d72",
521437
521443
  output_style: {
521438
521444
  name: outputStyleName
521439
521445
  },
@@ -533085,7 +533091,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
533085
533091
  } catch {}
533086
533092
  const data = {
533087
533093
  trigger,
533088
- version: "1.1.40+7a4108d",
533094
+ version: "1.1.41+caf0d72",
533089
533095
  platform: process.platform,
533090
533096
  transcript,
533091
533097
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -544556,7 +544562,7 @@ function WelcomeV2() {
544556
544562
  dimColor: true,
544557
544563
  children: [
544558
544564
  "v",
544559
- "1.1.40+7a4108d",
544565
+ "1.1.41+caf0d72",
544560
544566
  " "
544561
544567
  ]
544562
544568
  }, undefined, true, undefined, this)
@@ -544756,7 +544762,7 @@ function WelcomeV2() {
544756
544762
  dimColor: true,
544757
544763
  children: [
544758
544764
  "v",
544759
- "1.1.40+7a4108d",
544765
+ "1.1.41+caf0d72",
544760
544766
  " "
544761
544767
  ]
544762
544768
  }, undefined, true, undefined, this)
@@ -544982,7 +544988,7 @@ function AppleTerminalWelcomeV2(t0) {
544982
544988
  dimColor: true,
544983
544989
  children: [
544984
544990
  "v",
544985
- "1.1.40+7a4108d",
544991
+ "1.1.41+caf0d72",
544986
544992
  " "
544987
544993
  ]
544988
544994
  }, undefined, true, undefined, this);
@@ -545236,7 +545242,7 @@ function AppleTerminalWelcomeV2(t0) {
545236
545242
  dimColor: true,
545237
545243
  children: [
545238
545244
  "v",
545239
- "1.1.40+7a4108d",
545245
+ "1.1.41+caf0d72",
545240
545246
  " "
545241
545247
  ]
545242
545248
  }, undefined, true, undefined, this);
@@ -548309,7 +548315,7 @@ function appendToLog(path25, message) {
548309
548315
  cwd: getFsImplementation().cwd(),
548310
548316
  userType: process.env.USER_TYPE,
548311
548317
  sessionId: getSessionId(),
548312
- version: "1.1.40+7a4108d"
548318
+ version: "1.1.41+caf0d72"
548313
548319
  };
548314
548320
  getLogWriter(path25).write(messageWithTimestamp);
548315
548321
  }
@@ -552304,8 +552310,8 @@ async function getEnvLessBridgeConfig() {
552304
552310
  }
552305
552311
  async function checkEnvLessBridgeMinVersion() {
552306
552312
  const cfg = await getEnvLessBridgeConfig();
552307
- if (cfg.min_version && lt("1.1.40+7a4108d", cfg.min_version)) {
552308
- return `Your version of Vivus (${"1.1.40+7a4108d"}) is too old for Remote Control.
552313
+ if (cfg.min_version && lt("1.1.41+caf0d72", cfg.min_version)) {
552314
+ return `Your version of Vivus (${"1.1.41+caf0d72"}) is too old for Remote Control.
552309
552315
  Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
552310
552316
  }
552311
552317
  return null;
@@ -552779,7 +552785,7 @@ async function initBridgeCore(params) {
552779
552785
  const rawApi = createBridgeApiClient({
552780
552786
  baseUrl,
552781
552787
  getAccessToken,
552782
- runnerVersion: "1.1.40+7a4108d",
552788
+ runnerVersion: "1.1.41+caf0d72",
552783
552789
  onDebug: logForDebugging,
552784
552790
  onAuth401,
552785
552791
  getTrustedDeviceToken
@@ -558458,7 +558464,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
558458
558464
  setCwd(cwd3);
558459
558465
  const server = new Server({
558460
558466
  name: "vivus/tengu",
558461
- version: "1.1.40+7a4108d"
558467
+ version: "1.1.41+caf0d72"
558462
558468
  }, {
558463
558469
  capabilities: {
558464
558470
  tools: {}
@@ -560191,7 +560197,7 @@ __export(exports_update, {
560191
560197
  });
560192
560198
  async function update() {
560193
560199
  logEvent("tengu_update_check", {});
560194
- writeToStdout(`Current version: ${"1.1.40+7a4108d"}
560200
+ writeToStdout(`Current version: ${"1.1.41+caf0d72"}
560195
560201
  `);
560196
560202
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
560197
560203
  writeToStdout(`Checking for updates to ${channel} version...
@@ -560266,8 +560272,8 @@ async function update() {
560266
560272
  writeToStdout(`Vivus is managed by Homebrew.
560267
560273
  `);
560268
560274
  const latest = await getLatestVersion(channel);
560269
- if (latest && !gte("1.1.40+7a4108d", latest)) {
560270
- writeToStdout(`Update available: ${"1.1.40+7a4108d"} → ${latest}
560275
+ if (latest && !gte("1.1.41+caf0d72", latest)) {
560276
+ writeToStdout(`Update available: ${"1.1.41+caf0d72"} → ${latest}
560271
560277
  `);
560272
560278
  writeToStdout(`
560273
560279
  `);
@@ -560283,8 +560289,8 @@ async function update() {
560283
560289
  writeToStdout(`Vivus is managed by winget.
560284
560290
  `);
560285
560291
  const latest = await getLatestVersion(channel);
560286
- if (latest && !gte("1.1.40+7a4108d", latest)) {
560287
- writeToStdout(`Update available: ${"1.1.40+7a4108d"} → ${latest}
560292
+ if (latest && !gte("1.1.41+caf0d72", latest)) {
560293
+ writeToStdout(`Update available: ${"1.1.41+caf0d72"} → ${latest}
560288
560294
  `);
560289
560295
  writeToStdout(`
560290
560296
  `);
@@ -560300,8 +560306,8 @@ async function update() {
560300
560306
  writeToStdout(`Vivus is managed by apk.
560301
560307
  `);
560302
560308
  const latest = await getLatestVersion(channel);
560303
- if (latest && !gte("1.1.40+7a4108d", latest)) {
560304
- writeToStdout(`Update available: ${"1.1.40+7a4108d"} → ${latest}
560309
+ if (latest && !gte("1.1.41+caf0d72", latest)) {
560310
+ writeToStdout(`Update available: ${"1.1.41+caf0d72"} → ${latest}
560305
560311
  `);
560306
560312
  writeToStdout(`
560307
560313
  `);
@@ -560366,11 +560372,11 @@ async function update() {
560366
560372
  `);
560367
560373
  await gracefulShutdown(1);
560368
560374
  }
560369
- if (result.latestVersion === "1.1.40+7a4108d") {
560370
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.40+7a4108d"})`) + `
560375
+ if (result.latestVersion === "1.1.41+caf0d72") {
560376
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.41+caf0d72"})`) + `
560371
560377
  `);
560372
560378
  } else {
560373
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.40+7a4108d"} to version ${result.latestVersion}`) + `
560379
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.41+caf0d72"} to version ${result.latestVersion}`) + `
560374
560380
  `);
560375
560381
  await regenerateCompletionCache();
560376
560382
  }
@@ -560427,12 +560433,12 @@ async function update() {
560427
560433
  `);
560428
560434
  await gracefulShutdown(1);
560429
560435
  }
560430
- if (latestVersion === "1.1.40+7a4108d") {
560431
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.40+7a4108d"})`) + `
560436
+ if (latestVersion === "1.1.41+caf0d72") {
560437
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.41+caf0d72"})`) + `
560432
560438
  `);
560433
560439
  await gracefulShutdown(0);
560434
560440
  }
560435
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.40+7a4108d"})
560441
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.41+caf0d72"})
560436
560442
  `);
560437
560443
  writeToStdout(`Installing update...
560438
560444
  `);
@@ -560477,7 +560483,7 @@ async function update() {
560477
560483
  logForDebugging(`update: Installation status: ${status2}`);
560478
560484
  switch (status2) {
560479
560485
  case "success":
560480
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.40+7a4108d"} to version ${latestVersion}`) + `
560486
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.41+caf0d72"} to version ${latestVersion}`) + `
560481
560487
  `);
560482
560488
  await regenerateCompletionCache();
560483
560489
  break;
@@ -561451,7 +561457,7 @@ function completeOnboarding() {
561451
561457
  saveGlobalConfig((current) => ({
561452
561458
  ...current,
561453
561459
  hasCompletedOnboarding: true,
561454
- lastOnboardingVersion: "1.1.40+7a4108d"
561460
+ lastOnboardingVersion: "1.1.41+caf0d72"
561455
561461
  }));
561456
561462
  }
561457
561463
  function showDialog(root2, renderer) {
@@ -565670,7 +565676,7 @@ ${customInstructions}` : customInstructions;
565670
565676
  }
565671
565677
  }
565672
565678
  logForDiagnosticsNoPII("info", "started", {
565673
- version: "1.1.40+7a4108d",
565679
+ version: "1.1.41+caf0d72",
565674
565680
  is_native_binary: isInBundledMode()
565675
565681
  });
565676
565682
  registerCleanup(async () => {
@@ -566468,7 +566474,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
566468
566474
  pendingHookMessages
566469
566475
  }, renderAndRun);
566470
566476
  }
566471
- }).version("1.1.40+7a4108d (Vivus)", "-v, --version", "Output the version number");
566477
+ }).version("1.1.41+caf0d72 (Vivus)", "-v, --version", "Output the version number");
566472
566478
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
566473
566479
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
566474
566480
  if (canUserConfigureAdvisor()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vivus-agent",
3
- "version": "1.1.40",
3
+ "version": "1.1.41",
4
4
  "description": "Vivus — local AI coding agent",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",