vivus-agent 1.1.38 → 1.1.39

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 +88 -88
  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-06T12:34:09.875Z
3
+ // Built from source at 2026-08-06T20:06:33.927Z
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.38+fb3e830"}`;
108231
+ return `vivus/${"1.1.39+5fcd249"}`;
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.38+fb3e830"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
108253
+ return `vivus-cli/${"1.1.39+5fcd249"} (${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.38+fb3e830"}${suffix}`;
108267
+ return `vivus/${"1.1.39+5fcd249"}${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.38+fb3e830",
108405
+ appVersion: "1.1.39+5fcd249",
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.38+fb3e830".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
119716
+ const match = "1.1.39+5fcd249".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.38+fb3e830",
119756
+ version: "1.1.39+5fcd249",
119757
119757
  versionBase: getVersionBase(),
119758
- buildTime: "2026-08-06T12:34:09.413Z",
119758
+ buildTime: "2026-08-06T20:06:33.603Z",
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.38+fb3e830"
120426
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.39+5fcd249"
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.38+fb3e830");
120453
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.39+5fcd249");
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.38+fb3e830"}.${fingerprint}`;
162673
+ const version2 = `${"1.1.39+5fcd249"}.${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.38+fb3e830";
175836
+ attributes["app.version"] = "1.1.39+5fcd249";
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.38+fb3e830");
242406
+ return computeFingerprint(firstMessageText, "1.1.39+5fcd249");
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.38+fb3e830");
242448
+ const fingerprint = computeFingerprint(messageText, "1.1.39+5fcd249");
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.38+fb3e830",
243600
+ version: "1.1.39+5fcd249",
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.38+fb3e830",
243954
+ version: "1.1.39+5fcd249",
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.38+fb3e830";
246015
+ return "1.1.39+5fcd249";
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.38+fb3e830");
302102
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.39+5fcd249");
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.38+fb3e830"
302142
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.39+5fcd249"
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.38+fb3e830");
302187
+ return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.39+5fcd249");
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.38+fb3e830");
302207
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.39+5fcd249");
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.38+fb3e830");
302269
+ return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.39+5fcd249");
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.38+fb3e830", versionConfig.minVersion)) {
302955
+ if (versionConfig.minVersion && lt("1.1.39+5fcd249", versionConfig.minVersion)) {
302956
302956
  console.error(`
302957
- It looks like your version of Vivus (${"1.1.38+fb3e830"}) needs an update.
302957
+ It looks like your version of Vivus (${"1.1.39+5fcd249"}) 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.38+fb3e830"
303173
+ currentVersion: "1.1.39+5fcd249"
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.38+fb3e830"
303182
+ currentVersion: "1.1.39+5fcd249"
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.38+fb3e830" : "unknown";
303715
+ const version2 = typeof MACRO !== "undefined" ? "1.1.39+5fcd249" : "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.38+fb3e830", maxVersion)) {
304649
- logForDebugging(`Native installer: current version ${"1.1.38+fb3e830"} is already at or above maxVersion ${maxVersion}, skipping update`);
304648
+ if (gte("1.1.39+5fcd249", maxVersion)) {
304649
+ logForDebugging(`Native installer: current version ${"1.1.39+5fcd249"} 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.38+fb3e830" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
304660
+ if (!forceReinstall && version2 === "1.1.39+5fcd249" && 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,
@@ -328651,7 +328651,7 @@ function messageCarriesToolContent(message) {
328651
328651
  return false;
328652
328652
  return content.some((block2) => typeof block2 === "object" && block2 !== null && (block2.type === "tool_use" || block2.type === "tool_result"));
328653
328653
  }
328654
- var SNIP_THRESHOLD_RATIO = 0.5, PRESERVED_TAIL_MESSAGES = 15, MIN_SNIP_BATCH_MESSAGES = 6, NUDGE_TOKEN_INTERVAL = 1e4, SNIP_NUDGE_TEXT = "Context note: older tool results and messages in this conversation are periodically removed from what you see to save space — this already happened at least once. You will not be asked to re-confirm anything you already did; treat prior decisions and file states you were told about as still valid unless a later message says otherwise. If you genuinely need to see removed content again, re-run the read/search/command that produced it rather than assuming it is still in view.";
328654
+ var SNIP_THRESHOLD_RATIO = 0.75, PRESERVED_TAIL_MESSAGES = 15, MIN_SNIP_BATCH_MESSAGES = 6, NUDGE_TOKEN_INTERVAL = 1e4, SNIP_NUDGE_TEXT = "Context note: older tool results and messages in this conversation are periodically removed from what you see to save space — this already happened at least once. You will not be asked to re-confirm anything you already did; treat prior decisions and file states you were told about as still valid unless a later message says otherwise. If you genuinely need to see removed content again, re-run the read/search/command that produced it rather than assuming it is still in view.";
328655
328655
  var init_snipCompact = __esm(() => {
328656
328656
  init_envUtils();
328657
328657
  init_autoCompact();
@@ -361924,7 +361924,7 @@ function getAnthropicEnvMetadata() {
361924
361924
  function getBuildAgeMinutes() {
361925
361925
  if (false)
361926
361926
  ;
361927
- const buildTime = new Date("2026-08-06T12:34:09.413Z").getTime();
361927
+ const buildTime = new Date("2026-08-06T20:06:33.603Z").getTime();
361928
361928
  if (isNaN(buildTime))
361929
361929
  return;
361930
361930
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -410076,7 +410076,7 @@ var init_filesystem = __esm(() => {
410076
410076
  });
410077
410077
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
410078
410078
  const nonce = randomBytes17(16).toString("hex");
410079
- return join108(getVivusTempDir(), "bundled-skills", "1.1.38+fb3e830", nonce);
410079
+ return join108(getVivusTempDir(), "bundled-skills", "1.1.39+5fcd249", nonce);
410080
410080
  });
410081
410081
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
410082
410082
  });
@@ -411836,7 +411836,7 @@ function Feedback({
411836
411836
  platform: env3.platform,
411837
411837
  gitRepo: envInfo.isGit,
411838
411838
  terminal: env3.terminal,
411839
- version: "1.1.38+fb3e830",
411839
+ version: "1.1.39+5fcd249",
411840
411840
  transcript: normalizeMessagesForAPI(messages),
411841
411841
  errors: sanitizedErrors,
411842
411842
  lastApiRequest: getLastAPIRequest(),
@@ -412028,7 +412028,7 @@ function Feedback({
412028
412028
  ", ",
412029
412029
  env3.terminal,
412030
412030
  ", v",
412031
- "1.1.38+fb3e830"
412031
+ "1.1.39+5fcd249"
412032
412032
  ]
412033
412033
  }, undefined, true, undefined, this)
412034
412034
  ]
@@ -412134,7 +412134,7 @@ ${sanitizedDescription}
412134
412134
  ` + `**Environment Info**
412135
412135
  ` + `- Platform: ${env3.platform}
412136
412136
  ` + `- Terminal: ${env3.terminal}
412137
- ` + `- Version: ${"1.1.38+fb3e830"}
412137
+ ` + `- Version: ${"1.1.39+5fcd249"}
412138
412138
  ` + `- Feedback ID: ${feedbackId}
412139
412139
  ` + `
412140
412140
  **Errors**
@@ -415266,7 +415266,7 @@ function buildPrimarySection() {
415266
415266
  }, undefined, false, undefined, this);
415267
415267
  return [{
415268
415268
  label: "Version",
415269
- value: "1.1.38+fb3e830"
415269
+ value: "1.1.39+5fcd249"
415270
415270
  }, {
415271
415271
  label: "Session name",
415272
415272
  value: nameValue
@@ -419048,7 +419048,7 @@ function Config({
419048
419048
  }
419049
419049
  }, undefined, false, undefined, this)
419050
419050
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
419051
- currentVersion: "1.1.38+fb3e830",
419051
+ currentVersion: "1.1.39+5fcd249",
419052
419052
  onChoice: (choice) => {
419053
419053
  setShowSubmenu(null);
419054
419054
  setTabsHidden(false);
@@ -419060,7 +419060,7 @@ function Config({
419060
419060
  autoUpdatesChannel: "stable"
419061
419061
  };
419062
419062
  if (choice === "stay") {
419063
- newSettings.minimumVersion = "1.1.38+fb3e830";
419063
+ newSettings.minimumVersion = "1.1.39+5fcd249";
419064
419064
  }
419065
419065
  updateSettingsForSource("userSettings", newSettings);
419066
419066
  setSettingsData((prev_27) => ({
@@ -427255,7 +427255,7 @@ function HelpV2(t0) {
427255
427255
  let t6;
427256
427256
  if ($2[31] !== tabs) {
427257
427257
  t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
427258
- title: `Vivus v${"1.1.38+fb3e830"}`,
427258
+ title: `Vivus v${"1.1.39+5fcd249"}`,
427259
427259
  color: "professionalBlue",
427260
427260
  defaultTab: "general",
427261
427261
  children: tabs
@@ -451481,7 +451481,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
451481
451481
  return [];
451482
451482
  }
451483
451483
  }
451484
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.38+fb3e830") {
451484
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.39+5fcd249") {
451485
451485
  if (process.env.USER_TYPE === "ant") {
451486
451486
  const changelog = "";
451487
451487
  if (changelog) {
@@ -451508,7 +451508,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.38+fb
451508
451508
  releaseNotes
451509
451509
  };
451510
451510
  }
451511
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.38+fb3e830") {
451511
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.39+5fcd249") {
451512
451512
  if (process.env.USER_TYPE === "ant") {
451513
451513
  const changelog = "";
451514
451514
  if (changelog) {
@@ -452678,7 +452678,7 @@ function getRecentActivitySync() {
452678
452678
  return cachedActivity;
452679
452679
  }
452680
452680
  function getLogoDisplayData() {
452681
- const version2 = process.env.DEMO_VERSION ?? "1.1.38+fb3e830";
452681
+ const version2 = process.env.DEMO_VERSION ?? "1.1.39+5fcd249";
452682
452682
  const serverUrl = getDirectConnectServerUrl();
452683
452683
  const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
452684
452684
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -454205,7 +454205,7 @@ function LogoV2() {
454205
454205
  if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
454206
454206
  t2 = () => {
454207
454207
  const currentConfig = getGlobalConfig();
454208
- if (currentConfig.lastReleaseNotesSeen === "1.1.38+fb3e830") {
454208
+ if (currentConfig.lastReleaseNotesSeen === "1.1.39+5fcd249") {
454209
454209
  return;
454210
454210
  }
454211
454211
  saveGlobalConfig(_temp329);
@@ -454881,12 +454881,12 @@ function LogoV2() {
454881
454881
  return t41;
454882
454882
  }
454883
454883
  function _temp329(current) {
454884
- if (current.lastReleaseNotesSeen === "1.1.38+fb3e830") {
454884
+ if (current.lastReleaseNotesSeen === "1.1.39+5fcd249") {
454885
454885
  return current;
454886
454886
  }
454887
454887
  return {
454888
454888
  ...current,
454889
- lastReleaseNotesSeen: "1.1.38+fb3e830"
454889
+ lastReleaseNotesSeen: "1.1.39+5fcd249"
454890
454890
  };
454891
454891
  }
454892
454892
  function _temp245(s_0) {
@@ -481188,7 +481188,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
481188
481188
  smapsRollup,
481189
481189
  platform: process.platform,
481190
481190
  nodeVersion: process.version,
481191
- ccVersion: "1.1.38+fb3e830"
481191
+ ccVersion: "1.1.39+5fcd249"
481192
481192
  };
481193
481193
  }
481194
481194
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -481774,7 +481774,7 @@ var init_bridge_kick = __esm(() => {
481774
481774
  var call56 = async () => {
481775
481775
  return {
481776
481776
  type: "text",
481777
- value: `${"1.1.38+fb3e830"} (built ${"2026-08-06T12:34:09.413Z"})`
481777
+ value: `${"1.1.39+5fcd249"} (built ${"2026-08-06T20:06:33.603Z"})`
481778
481778
  };
481779
481779
  }, version2, version_default;
481780
481780
  var init_version = __esm(() => {
@@ -491094,7 +491094,7 @@ function generateHtmlReport(data, insights) {
491094
491094
  </html>`;
491095
491095
  }
491096
491096
  function buildExportData(data, insights, facets, remoteStats) {
491097
- const version3 = typeof MACRO !== "undefined" ? "1.1.38+fb3e830" : "unknown";
491097
+ const version3 = typeof MACRO !== "undefined" ? "1.1.39+5fcd249" : "unknown";
491098
491098
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
491099
491099
  const facets_summary = {
491100
491100
  total: facets.size,
@@ -495206,7 +495206,7 @@ var init_sessionStorage = __esm(() => {
495206
495206
  init_settings2();
495207
495207
  init_slowOperations();
495208
495208
  init_uuid();
495209
- VERSION5 = typeof MACRO !== "undefined" ? "1.1.38+fb3e830" : "unknown";
495209
+ VERSION5 = typeof MACRO !== "undefined" ? "1.1.39+5fcd249" : "unknown";
495210
495210
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
495211
495211
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
495212
495212
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -498078,7 +498078,7 @@ function buildSystemInitMessage(inputs) {
498078
498078
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
498079
498079
  apiKeySource: getAnthropicApiKeyWithSource().source,
498080
498080
  betas: getSdkBetas(),
498081
- vivus_code_version: "1.1.38+fb3e830",
498081
+ vivus_code_version: "1.1.39+5fcd249",
498082
498082
  output_style: outputStyle2,
498083
498083
  agents: inputs.agents.map((agent) => agent.agentType),
498084
498084
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -512790,7 +512790,7 @@ var init_useVoiceEnabled = __esm(() => {
512790
512790
  function getSemverPart(version3) {
512791
512791
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
512792
512792
  }
512793
- function useUpdateNotification(updatedVersion, initialVersion = "1.1.38+fb3e830") {
512793
+ function useUpdateNotification(updatedVersion, initialVersion = "1.1.39+5fcd249") {
512794
512794
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
512795
512795
  if (!updatedVersion) {
512796
512796
  return null;
@@ -512830,7 +512830,7 @@ function AutoUpdater({
512830
512830
  return;
512831
512831
  }
512832
512832
  if (false) {}
512833
- const currentVersion = "1.1.38+fb3e830";
512833
+ const currentVersion = "1.1.39+5fcd249";
512834
512834
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
512835
512835
  let latestVersion = await getLatestVersion(channel);
512836
512836
  const isDisabled = isAutoUpdaterDisabled();
@@ -513043,12 +513043,12 @@ function NativeAutoUpdater({
513043
513043
  logEvent("tengu_native_auto_updater_start", {});
513044
513044
  try {
513045
513045
  const maxVersion = await getMaxVersion();
513046
- if (maxVersion && gt("1.1.38+fb3e830", maxVersion)) {
513046
+ if (maxVersion && gt("1.1.39+5fcd249", maxVersion)) {
513047
513047
  const msg = await getMaxVersionMessage();
513048
513048
  setMaxVersionIssue(msg ?? "affects your version");
513049
513049
  }
513050
513050
  const result = await installLatest(channel);
513051
- const currentVersion = "1.1.38+fb3e830";
513051
+ const currentVersion = "1.1.39+5fcd249";
513052
513052
  const latencyMs = Date.now() - startTime;
513053
513053
  if (result.lockFailed) {
513054
513054
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -513185,17 +513185,17 @@ function PackageManagerAutoUpdater(t0) {
513185
513185
  const maxVersion = await getMaxVersion();
513186
513186
  if (maxVersion && latest && gt(latest, maxVersion)) {
513187
513187
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
513188
- if (gte("1.1.38+fb3e830", maxVersion)) {
513189
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.38+fb3e830"} is already at or above maxVersion ${maxVersion}, skipping update`);
513188
+ if (gte("1.1.39+5fcd249", maxVersion)) {
513189
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.39+5fcd249"} is already at or above maxVersion ${maxVersion}, skipping update`);
513190
513190
  setUpdateAvailable(false);
513191
513191
  return;
513192
513192
  }
513193
513193
  latest = maxVersion;
513194
513194
  }
513195
- const hasUpdate = latest && !gte("1.1.38+fb3e830", latest) && !shouldSkipVersion(latest);
513195
+ const hasUpdate = latest && !gte("1.1.39+5fcd249", latest) && !shouldSkipVersion(latest);
513196
513196
  setUpdateAvailable(!!hasUpdate);
513197
513197
  if (hasUpdate) {
513198
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.38+fb3e830"} -> ${latest}`);
513198
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.39+5fcd249"} -> ${latest}`);
513199
513199
  }
513200
513200
  };
513201
513201
  $2[0] = t1;
@@ -513229,7 +513229,7 @@ function PackageManagerAutoUpdater(t0) {
513229
513229
  wrap: "truncate",
513230
513230
  children: [
513231
513231
  "currentVersion: ",
513232
- "1.1.38+fb3e830"
513232
+ "1.1.39+5fcd249"
513233
513233
  ]
513234
513234
  }, undefined, true, undefined, this);
513235
513235
  $2[3] = verbose;
@@ -521413,7 +521413,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
521413
521413
  project_dir: getOriginalCwd(),
521414
521414
  added_dirs: addedDirs
521415
521415
  },
521416
- version: "1.1.38+fb3e830",
521416
+ version: "1.1.39+5fcd249",
521417
521417
  output_style: {
521418
521418
  name: outputStyleName
521419
521419
  },
@@ -533065,7 +533065,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
533065
533065
  } catch {}
533066
533066
  const data = {
533067
533067
  trigger,
533068
- version: "1.1.38+fb3e830",
533068
+ version: "1.1.39+5fcd249",
533069
533069
  platform: process.platform,
533070
533070
  transcript,
533071
533071
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -544536,7 +544536,7 @@ function WelcomeV2() {
544536
544536
  dimColor: true,
544537
544537
  children: [
544538
544538
  "v",
544539
- "1.1.38+fb3e830",
544539
+ "1.1.39+5fcd249",
544540
544540
  " "
544541
544541
  ]
544542
544542
  }, undefined, true, undefined, this)
@@ -544736,7 +544736,7 @@ function WelcomeV2() {
544736
544736
  dimColor: true,
544737
544737
  children: [
544738
544738
  "v",
544739
- "1.1.38+fb3e830",
544739
+ "1.1.39+5fcd249",
544740
544740
  " "
544741
544741
  ]
544742
544742
  }, undefined, true, undefined, this)
@@ -544962,7 +544962,7 @@ function AppleTerminalWelcomeV2(t0) {
544962
544962
  dimColor: true,
544963
544963
  children: [
544964
544964
  "v",
544965
- "1.1.38+fb3e830",
544965
+ "1.1.39+5fcd249",
544966
544966
  " "
544967
544967
  ]
544968
544968
  }, undefined, true, undefined, this);
@@ -545216,7 +545216,7 @@ function AppleTerminalWelcomeV2(t0) {
545216
545216
  dimColor: true,
545217
545217
  children: [
545218
545218
  "v",
545219
- "1.1.38+fb3e830",
545219
+ "1.1.39+5fcd249",
545220
545220
  " "
545221
545221
  ]
545222
545222
  }, undefined, true, undefined, this);
@@ -548289,7 +548289,7 @@ function appendToLog(path25, message) {
548289
548289
  cwd: getFsImplementation().cwd(),
548290
548290
  userType: process.env.USER_TYPE,
548291
548291
  sessionId: getSessionId(),
548292
- version: "1.1.38+fb3e830"
548292
+ version: "1.1.39+5fcd249"
548293
548293
  };
548294
548294
  getLogWriter(path25).write(messageWithTimestamp);
548295
548295
  }
@@ -552284,8 +552284,8 @@ async function getEnvLessBridgeConfig() {
552284
552284
  }
552285
552285
  async function checkEnvLessBridgeMinVersion() {
552286
552286
  const cfg = await getEnvLessBridgeConfig();
552287
- if (cfg.min_version && lt("1.1.38+fb3e830", cfg.min_version)) {
552288
- return `Your version of Vivus (${"1.1.38+fb3e830"}) is too old for Remote Control.
552287
+ if (cfg.min_version && lt("1.1.39+5fcd249", cfg.min_version)) {
552288
+ return `Your version of Vivus (${"1.1.39+5fcd249"}) is too old for Remote Control.
552289
552289
  Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
552290
552290
  }
552291
552291
  return null;
@@ -552759,7 +552759,7 @@ async function initBridgeCore(params) {
552759
552759
  const rawApi = createBridgeApiClient({
552760
552760
  baseUrl,
552761
552761
  getAccessToken,
552762
- runnerVersion: "1.1.38+fb3e830",
552762
+ runnerVersion: "1.1.39+5fcd249",
552763
552763
  onDebug: logForDebugging,
552764
552764
  onAuth401,
552765
552765
  getTrustedDeviceToken
@@ -558438,7 +558438,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
558438
558438
  setCwd(cwd3);
558439
558439
  const server = new Server({
558440
558440
  name: "vivus/tengu",
558441
- version: "1.1.38+fb3e830"
558441
+ version: "1.1.39+5fcd249"
558442
558442
  }, {
558443
558443
  capabilities: {
558444
558444
  tools: {}
@@ -560171,7 +560171,7 @@ __export(exports_update, {
560171
560171
  });
560172
560172
  async function update() {
560173
560173
  logEvent("tengu_update_check", {});
560174
- writeToStdout(`Current version: ${"1.1.38+fb3e830"}
560174
+ writeToStdout(`Current version: ${"1.1.39+5fcd249"}
560175
560175
  `);
560176
560176
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
560177
560177
  writeToStdout(`Checking for updates to ${channel} version...
@@ -560246,8 +560246,8 @@ async function update() {
560246
560246
  writeToStdout(`Vivus is managed by Homebrew.
560247
560247
  `);
560248
560248
  const latest = await getLatestVersion(channel);
560249
- if (latest && !gte("1.1.38+fb3e830", latest)) {
560250
- writeToStdout(`Update available: ${"1.1.38+fb3e830"} → ${latest}
560249
+ if (latest && !gte("1.1.39+5fcd249", latest)) {
560250
+ writeToStdout(`Update available: ${"1.1.39+5fcd249"} → ${latest}
560251
560251
  `);
560252
560252
  writeToStdout(`
560253
560253
  `);
@@ -560263,8 +560263,8 @@ async function update() {
560263
560263
  writeToStdout(`Vivus is managed by winget.
560264
560264
  `);
560265
560265
  const latest = await getLatestVersion(channel);
560266
- if (latest && !gte("1.1.38+fb3e830", latest)) {
560267
- writeToStdout(`Update available: ${"1.1.38+fb3e830"} → ${latest}
560266
+ if (latest && !gte("1.1.39+5fcd249", latest)) {
560267
+ writeToStdout(`Update available: ${"1.1.39+5fcd249"} → ${latest}
560268
560268
  `);
560269
560269
  writeToStdout(`
560270
560270
  `);
@@ -560280,8 +560280,8 @@ async function update() {
560280
560280
  writeToStdout(`Vivus is managed by apk.
560281
560281
  `);
560282
560282
  const latest = await getLatestVersion(channel);
560283
- if (latest && !gte("1.1.38+fb3e830", latest)) {
560284
- writeToStdout(`Update available: ${"1.1.38+fb3e830"} → ${latest}
560283
+ if (latest && !gte("1.1.39+5fcd249", latest)) {
560284
+ writeToStdout(`Update available: ${"1.1.39+5fcd249"} → ${latest}
560285
560285
  `);
560286
560286
  writeToStdout(`
560287
560287
  `);
@@ -560346,11 +560346,11 @@ async function update() {
560346
560346
  `);
560347
560347
  await gracefulShutdown(1);
560348
560348
  }
560349
- if (result.latestVersion === "1.1.38+fb3e830") {
560350
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.38+fb3e830"})`) + `
560349
+ if (result.latestVersion === "1.1.39+5fcd249") {
560350
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.39+5fcd249"})`) + `
560351
560351
  `);
560352
560352
  } else {
560353
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.38+fb3e830"} to version ${result.latestVersion}`) + `
560353
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.39+5fcd249"} to version ${result.latestVersion}`) + `
560354
560354
  `);
560355
560355
  await regenerateCompletionCache();
560356
560356
  }
@@ -560407,12 +560407,12 @@ async function update() {
560407
560407
  `);
560408
560408
  await gracefulShutdown(1);
560409
560409
  }
560410
- if (latestVersion === "1.1.38+fb3e830") {
560411
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.38+fb3e830"})`) + `
560410
+ if (latestVersion === "1.1.39+5fcd249") {
560411
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.39+5fcd249"})`) + `
560412
560412
  `);
560413
560413
  await gracefulShutdown(0);
560414
560414
  }
560415
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.38+fb3e830"})
560415
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.39+5fcd249"})
560416
560416
  `);
560417
560417
  writeToStdout(`Installing update...
560418
560418
  `);
@@ -560457,7 +560457,7 @@ async function update() {
560457
560457
  logForDebugging(`update: Installation status: ${status2}`);
560458
560458
  switch (status2) {
560459
560459
  case "success":
560460
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.38+fb3e830"} to version ${latestVersion}`) + `
560460
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.39+5fcd249"} to version ${latestVersion}`) + `
560461
560461
  `);
560462
560462
  await regenerateCompletionCache();
560463
560463
  break;
@@ -561431,7 +561431,7 @@ function completeOnboarding() {
561431
561431
  saveGlobalConfig((current) => ({
561432
561432
  ...current,
561433
561433
  hasCompletedOnboarding: true,
561434
- lastOnboardingVersion: "1.1.38+fb3e830"
561434
+ lastOnboardingVersion: "1.1.39+5fcd249"
561435
561435
  }));
561436
561436
  }
561437
561437
  function showDialog(root2, renderer) {
@@ -565650,7 +565650,7 @@ ${customInstructions}` : customInstructions;
565650
565650
  }
565651
565651
  }
565652
565652
  logForDiagnosticsNoPII("info", "started", {
565653
- version: "1.1.38+fb3e830",
565653
+ version: "1.1.39+5fcd249",
565654
565654
  is_native_binary: isInBundledMode()
565655
565655
  });
565656
565656
  registerCleanup(async () => {
@@ -566448,7 +566448,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
566448
566448
  pendingHookMessages
566449
566449
  }, renderAndRun);
566450
566450
  }
566451
- }).version("1.1.38+fb3e830 (Vivus)", "-v, --version", "Output the version number");
566451
+ }).version("1.1.39+5fcd249 (Vivus)", "-v, --version", "Output the version number");
566452
566452
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
566453
566453
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
566454
566454
  if (canUserConfigureAdvisor()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vivus-agent",
3
- "version": "1.1.38",
3
+ "version": "1.1.39",
4
4
  "description": "Vivus — local AI coding agent",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",