vivus-agent 1.1.57 → 1.1.58

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 +94 -90
  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-10-06T23:22:26.948Z
3
+ // Built from source at 2026-10-09T01:27:29.244Z
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.57+22531b2"}`;
108231
+ return `vivus/${"1.1.58+f68c761"}`;
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.57+22531b2"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
108253
+ return `vivus-cli/${"1.1.58+f68c761"} (${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.57+22531b2"}${suffix}`;
108267
+ return `vivus/${"1.1.58+f68c761"}${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.57+22531b2",
108405
+ appVersion: "1.1.58+f68c761",
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.57+22531b2".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
119716
+ const match = "1.1.58+f68c761".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.57+22531b2",
119756
+ version: "1.1.58+f68c761",
119757
119757
  versionBase: getVersionBase(),
119758
- buildTime: "2026-10-06T23:22:26.366Z",
119758
+ buildTime: "2026-10-09T01:27:27.975Z",
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.57+22531b2"
120426
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.58+f68c761"
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.57+22531b2");
120453
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.58+f68c761");
120454
120454
  }
120455
120455
  async function reinitialize1PEventLoggingIfConfigChanged() {
120456
120456
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -122258,13 +122258,17 @@ var init_strip_ansi = __esm(() => {
122258
122258
  // src/ink/stringWidth.ts
122259
122259
  function readAmbiguousWidthEnv() {
122260
122260
  const v = process.env.VIVUS_CODE_AMBIGUOUS_WIDTH?.toLowerCase().trim();
122261
- if (v === undefined || v === "")
122262
- return { wide: false, locked: false };
122261
+ if (v === undefined || v === "") {
122262
+ return { wide: process.platform === "win32", locked: false };
122263
+ }
122263
122264
  if (["wide", "2", "double", "true", "on", "yes"].includes(v)) {
122264
122265
  return { wide: true, locked: true };
122265
122266
  }
122266
122267
  return { wide: false, locked: true };
122267
122268
  }
122269
+ function getAmbiguousIsWide() {
122270
+ return ambiguousIsWide;
122271
+ }
122268
122272
  function isAmbiguousWidthLocked() {
122269
122273
  return ambiguousWidthLocked;
122270
122274
  }
@@ -152265,7 +152269,7 @@ Read about how to prevent this error on https://github.com/vadimdemedes/ink/#isr
152265
152269
  stdout.write("\x1B8\r\x1B[K");
152266
152270
  const [pos] = await Promise.all([posPromise, flushPromise]);
152267
152271
  if (!pos) {
152268
- logForDebugging("[ambiguous-width] no DECXCPR reply — keeping narrow default");
152272
+ logForDebugging(`[ambiguous-width] no DECXCPR reply — keeping ${getAmbiguousIsWide() ? "wide" : "narrow"} default`);
152269
152273
  return;
152270
152274
  }
152271
152275
  const wide = pos.col >= 3;
@@ -162670,7 +162674,7 @@ function getAttributionHeader(fingerprint) {
162670
162674
  if (!isAttributionHeaderEnabled()) {
162671
162675
  return "";
162672
162676
  }
162673
- const version2 = `${"1.1.57+22531b2"}.${fingerprint}`;
162677
+ const version2 = `${"1.1.58+f68c761"}.${fingerprint}`;
162674
162678
  const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
162675
162679
  const cch = "";
162676
162680
  const workload = getWorkload();
@@ -175833,7 +175837,7 @@ function getTelemetryAttributes() {
175833
175837
  attributes["session.id"] = sessionId;
175834
175838
  }
175835
175839
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
175836
- attributes["app.version"] = "1.1.57+22531b2";
175840
+ attributes["app.version"] = "1.1.58+f68c761";
175837
175841
  }
175838
175842
  const oauthAccount = getOauthAccountInfo();
175839
175843
  if (oauthAccount) {
@@ -242452,7 +242456,7 @@ function computeFingerprint(messageText, version2) {
242452
242456
  }
242453
242457
  function computeFingerprintFromMessages(messages) {
242454
242458
  const firstMessageText = extractFirstMessageText(messages);
242455
- return computeFingerprint(firstMessageText, "1.1.57+22531b2");
242459
+ return computeFingerprint(firstMessageText, "1.1.58+f68c761");
242456
242460
  }
242457
242461
  var FINGERPRINT_SALT = "59cf53e54c78";
242458
242462
  var init_fingerprint = () => {};
@@ -242494,7 +242498,7 @@ async function sideQuery(opts) {
242494
242498
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
242495
242499
  }
242496
242500
  const messageText = extractFirstUserMessageText(messages);
242497
- const fingerprint = computeFingerprint(messageText, "1.1.57+22531b2");
242501
+ const fingerprint = computeFingerprint(messageText, "1.1.58+f68c761");
242498
242502
  const attributionHeader = getAttributionHeader(fingerprint);
242499
242503
  const systemBlocks = [
242500
242504
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -243646,7 +243650,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
243646
243650
  const client2 = new Client({
243647
243651
  name: "vivus",
243648
243652
  title: "Vivus",
243649
- version: "1.1.57+22531b2",
243653
+ version: "1.1.58+f68c761",
243650
243654
  description: "Anthropic's agentic coding tool",
243651
243655
  websiteUrl: PRODUCT_URL
243652
243656
  }, {
@@ -244000,7 +244004,7 @@ var init_client6 = __esm(() => {
244000
244004
  const client2 = new Client({
244001
244005
  name: "vivus",
244002
244006
  title: "Vivus",
244003
- version: "1.1.57+22531b2",
244007
+ version: "1.1.58+f68c761",
244004
244008
  description: "Anthropic's agentic coding tool",
244005
244009
  websiteUrl: PRODUCT_URL
244006
244010
  }, {
@@ -246061,7 +246065,7 @@ function getInstallationEnv() {
246061
246065
  return;
246062
246066
  }
246063
246067
  function getVivusCodeVersion() {
246064
- return "1.1.57+22531b2";
246068
+ return "1.1.58+f68c761";
246065
246069
  }
246066
246070
  async function getInstalledVSCodeExtensionVersion(command) {
246067
246071
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -302148,7 +302152,7 @@ async function initializeBetaTracing(resource) {
302148
302152
  });
302149
302153
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
302150
302154
  setLoggerProvider(loggerProvider);
302151
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.57+22531b2");
302155
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.58+f68c761");
302152
302156
  setEventLogger(eventLogger);
302153
302157
  process.on("beforeExit", async () => {
302154
302158
  await loggerProvider?.forceFlush();
@@ -302188,7 +302192,7 @@ async function initializeTelemetry() {
302188
302192
  const platform5 = getPlatform();
302189
302193
  const baseAttributes = {
302190
302194
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
302191
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.57+22531b2"
302195
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.58+f68c761"
302192
302196
  };
302193
302197
  if (platform5 === "wsl") {
302194
302198
  const wslVersion = getWslVersion();
@@ -302233,7 +302237,7 @@ async function initializeTelemetry() {
302233
302237
  } catch {}
302234
302238
  };
302235
302239
  registerCleanup(shutdownTelemetry2);
302236
- return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.57+22531b2");
302240
+ return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.58+f68c761");
302237
302241
  }
302238
302242
  const meterProvider = new import_sdk_metrics2.MeterProvider({
302239
302243
  resource,
@@ -302253,7 +302257,7 @@ async function initializeTelemetry() {
302253
302257
  });
302254
302258
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
302255
302259
  setLoggerProvider(loggerProvider);
302256
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.57+22531b2");
302260
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.58+f68c761");
302257
302261
  setEventLogger(eventLogger);
302258
302262
  logForDebugging("[3P telemetry] Event logger set successfully");
302259
302263
  process.on("beforeExit", async () => {
@@ -302315,7 +302319,7 @@ Current timeout: ${timeoutMs}ms
302315
302319
  }
302316
302320
  };
302317
302321
  registerCleanup(shutdownTelemetry);
302318
- return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.57+22531b2");
302322
+ return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.58+f68c761");
302319
302323
  }
302320
302324
  async function flushTelemetry() {
302321
302325
  const meterProvider = getMeterProvider();
@@ -303001,9 +303005,9 @@ async function assertMinVersion() {
303001
303005
  if (false) {}
303002
303006
  try {
303003
303007
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
303004
- if (versionConfig.minVersion && lt("1.1.57+22531b2", versionConfig.minVersion)) {
303008
+ if (versionConfig.minVersion && lt("1.1.58+f68c761", versionConfig.minVersion)) {
303005
303009
  console.error(`
303006
- It looks like your version of Vivus (${"1.1.57+22531b2"}) needs an update.
303010
+ It looks like your version of Vivus (${"1.1.58+f68c761"}) needs an update.
303007
303011
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
303008
303012
 
303009
303013
  To update, please run:
@@ -303219,7 +303223,7 @@ async function installGlobalPackage(specificVersion) {
303219
303223
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
303220
303224
  logEvent("tengu_auto_updater_lock_contention", {
303221
303225
  pid: process.pid,
303222
- currentVersion: "1.1.57+22531b2"
303226
+ currentVersion: "1.1.58+f68c761"
303223
303227
  });
303224
303228
  return "in_progress";
303225
303229
  }
@@ -303228,7 +303232,7 @@ async function installGlobalPackage(specificVersion) {
303228
303232
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
303229
303233
  logError2(new Error("Windows NPM detected in WSL environment"));
303230
303234
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
303231
- currentVersion: "1.1.57+22531b2"
303235
+ currentVersion: "1.1.58+f68c761"
303232
303236
  });
303233
303237
  console.error(`
303234
303238
  Error: Windows NPM detected in WSL
@@ -303761,7 +303765,7 @@ function detectLinuxGlobPatternWarnings() {
303761
303765
  }
303762
303766
  async function getDoctorDiagnostic() {
303763
303767
  const installationType = await getCurrentInstallationType();
303764
- const version2 = typeof MACRO !== "undefined" ? "1.1.57+22531b2" : "unknown";
303768
+ const version2 = typeof MACRO !== "undefined" ? "1.1.58+f68c761" : "unknown";
303765
303769
  const installationPath = await getInstallationPath();
303766
303770
  const invokedBinary = getInvokedBinary();
303767
303771
  const multipleInstallations = await detectMultipleInstallations();
@@ -304694,8 +304698,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
304694
304698
  const maxVersion = await getMaxVersion();
304695
304699
  if (maxVersion && gt(version2, maxVersion)) {
304696
304700
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
304697
- if (gte("1.1.57+22531b2", maxVersion)) {
304698
- logForDebugging(`Native installer: current version ${"1.1.57+22531b2"} is already at or above maxVersion ${maxVersion}, skipping update`);
304701
+ if (gte("1.1.58+f68c761", maxVersion)) {
304702
+ logForDebugging(`Native installer: current version ${"1.1.58+f68c761"} is already at or above maxVersion ${maxVersion}, skipping update`);
304699
304703
  logEvent("tengu_native_update_skipped_max_version", {
304700
304704
  latency_ms: Date.now() - startTime,
304701
304705
  max_version: maxVersion,
@@ -304706,7 +304710,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
304706
304710
  version2 = maxVersion;
304707
304711
  }
304708
304712
  }
304709
- if (!forceReinstall && version2 === "1.1.57+22531b2" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
304713
+ if (!forceReinstall && version2 === "1.1.58+f68c761" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
304710
304714
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
304711
304715
  logEvent("tengu_native_update_complete", {
304712
304716
  latency_ms: Date.now() - startTime,
@@ -362117,7 +362121,7 @@ function getAnthropicEnvMetadata() {
362117
362121
  function getBuildAgeMinutes() {
362118
362122
  if (false)
362119
362123
  ;
362120
- const buildTime = new Date("2026-10-06T23:22:26.366Z").getTime();
362124
+ const buildTime = new Date("2026-10-09T01:27:27.975Z").getTime();
362121
362125
  if (isNaN(buildTime))
362122
362126
  return;
362123
362127
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -410278,7 +410282,7 @@ var init_filesystem = __esm(() => {
410278
410282
  });
410279
410283
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
410280
410284
  const nonce = randomBytes17(16).toString("hex");
410281
- return join108(getVivusTempDir(), "bundled-skills", "1.1.57+22531b2", nonce);
410285
+ return join108(getVivusTempDir(), "bundled-skills", "1.1.58+f68c761", nonce);
410282
410286
  });
410283
410287
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
410284
410288
  });
@@ -412038,7 +412042,7 @@ function Feedback({
412038
412042
  platform: env3.platform,
412039
412043
  gitRepo: envInfo.isGit,
412040
412044
  terminal: env3.terminal,
412041
- version: "1.1.57+22531b2",
412045
+ version: "1.1.58+f68c761",
412042
412046
  transcript: normalizeMessagesForAPI(messages),
412043
412047
  errors: sanitizedErrors,
412044
412048
  lastApiRequest: getLastAPIRequest(),
@@ -412230,7 +412234,7 @@ function Feedback({
412230
412234
  ", ",
412231
412235
  env3.terminal,
412232
412236
  ", v",
412233
- "1.1.57+22531b2"
412237
+ "1.1.58+f68c761"
412234
412238
  ]
412235
412239
  }, undefined, true, undefined, this)
412236
412240
  ]
@@ -412336,7 +412340,7 @@ ${sanitizedDescription}
412336
412340
  ` + `**Environment Info**
412337
412341
  ` + `- Platform: ${env3.platform}
412338
412342
  ` + `- Terminal: ${env3.terminal}
412339
- ` + `- Version: ${"1.1.57+22531b2"}
412343
+ ` + `- Version: ${"1.1.58+f68c761"}
412340
412344
  ` + `- Feedback ID: ${feedbackId}
412341
412345
  ` + `
412342
412346
  **Errors**
@@ -415468,7 +415472,7 @@ function buildPrimarySection() {
415468
415472
  }, undefined, false, undefined, this);
415469
415473
  return [{
415470
415474
  label: "Version",
415471
- value: "1.1.57+22531b2"
415475
+ value: "1.1.58+f68c761"
415472
415476
  }, {
415473
415477
  label: "Session name",
415474
415478
  value: nameValue
@@ -419333,7 +419337,7 @@ function Config({
419333
419337
  }
419334
419338
  }, undefined, false, undefined, this)
419335
419339
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
419336
- currentVersion: "1.1.57+22531b2",
419340
+ currentVersion: "1.1.58+f68c761",
419337
419341
  onChoice: (choice) => {
419338
419342
  setShowSubmenu(null);
419339
419343
  setTabsHidden(false);
@@ -419345,7 +419349,7 @@ function Config({
419345
419349
  autoUpdatesChannel: "stable"
419346
419350
  };
419347
419351
  if (choice === "stay") {
419348
- newSettings.minimumVersion = "1.1.57+22531b2";
419352
+ newSettings.minimumVersion = "1.1.58+f68c761";
419349
419353
  }
419350
419354
  updateSettingsForSource("userSettings", newSettings);
419351
419355
  setSettingsData((prev_27) => ({
@@ -427540,7 +427544,7 @@ function HelpV2(t0) {
427540
427544
  let t6;
427541
427545
  if ($2[31] !== tabs) {
427542
427546
  t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
427543
- title: `Vivus v${"1.1.57+22531b2"}`,
427547
+ title: `Vivus v${"1.1.58+f68c761"}`,
427544
427548
  color: "professionalBlue",
427545
427549
  defaultTab: "general",
427546
427550
  children: tabs
@@ -451766,7 +451770,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
451766
451770
  return [];
451767
451771
  }
451768
451772
  }
451769
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.57+22531b2") {
451773
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.58+f68c761") {
451770
451774
  if (process.env.USER_TYPE === "ant") {
451771
451775
  const changelog = "";
451772
451776
  if (changelog) {
@@ -451793,7 +451797,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.57+22
451793
451797
  releaseNotes
451794
451798
  };
451795
451799
  }
451796
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.57+22531b2") {
451800
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.58+f68c761") {
451797
451801
  if (process.env.USER_TYPE === "ant") {
451798
451802
  const changelog = "";
451799
451803
  if (changelog) {
@@ -452963,7 +452967,7 @@ function getRecentActivitySync() {
452963
452967
  return cachedActivity;
452964
452968
  }
452965
452969
  function getLogoDisplayData() {
452966
- const version2 = process.env.DEMO_VERSION ?? "1.1.57+22531b2";
452970
+ const version2 = process.env.DEMO_VERSION ?? "1.1.58+f68c761";
452967
452971
  const serverUrl = getDirectConnectServerUrl();
452968
452972
  const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
452969
452973
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -454490,7 +454494,7 @@ function LogoV2() {
454490
454494
  if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
454491
454495
  t2 = () => {
454492
454496
  const currentConfig = getGlobalConfig();
454493
- if (currentConfig.lastReleaseNotesSeen === "1.1.57+22531b2") {
454497
+ if (currentConfig.lastReleaseNotesSeen === "1.1.58+f68c761") {
454494
454498
  return;
454495
454499
  }
454496
454500
  saveGlobalConfig(_temp329);
@@ -455166,12 +455170,12 @@ function LogoV2() {
455166
455170
  return t41;
455167
455171
  }
455168
455172
  function _temp329(current) {
455169
- if (current.lastReleaseNotesSeen === "1.1.57+22531b2") {
455173
+ if (current.lastReleaseNotesSeen === "1.1.58+f68c761") {
455170
455174
  return current;
455171
455175
  }
455172
455176
  return {
455173
455177
  ...current,
455174
- lastReleaseNotesSeen: "1.1.57+22531b2"
455178
+ lastReleaseNotesSeen: "1.1.58+f68c761"
455175
455179
  };
455176
455180
  }
455177
455181
  function _temp245(s_0) {
@@ -481473,7 +481477,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
481473
481477
  smapsRollup,
481474
481478
  platform: process.platform,
481475
481479
  nodeVersion: process.version,
481476
- ccVersion: "1.1.57+22531b2"
481480
+ ccVersion: "1.1.58+f68c761"
481477
481481
  };
481478
481482
  }
481479
481483
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -482059,7 +482063,7 @@ var init_bridge_kick = __esm(() => {
482059
482063
  var call56 = async () => {
482060
482064
  return {
482061
482065
  type: "text",
482062
- value: `${"1.1.57+22531b2"} (built ${"2026-10-06T23:22:26.366Z"})`
482066
+ value: `${"1.1.58+f68c761"} (built ${"2026-10-09T01:27:27.975Z"})`
482063
482067
  };
482064
482068
  }, version2, version_default;
482065
482069
  var init_version = __esm(() => {
@@ -491379,7 +491383,7 @@ function generateHtmlReport(data, insights) {
491379
491383
  </html>`;
491380
491384
  }
491381
491385
  function buildExportData(data, insights, facets, remoteStats) {
491382
- const version3 = typeof MACRO !== "undefined" ? "1.1.57+22531b2" : "unknown";
491386
+ const version3 = typeof MACRO !== "undefined" ? "1.1.58+f68c761" : "unknown";
491383
491387
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
491384
491388
  const facets_summary = {
491385
491389
  total: facets.size,
@@ -495491,7 +495495,7 @@ var init_sessionStorage = __esm(() => {
495491
495495
  init_settings2();
495492
495496
  init_slowOperations();
495493
495497
  init_uuid();
495494
- VERSION5 = typeof MACRO !== "undefined" ? "1.1.57+22531b2" : "unknown";
495498
+ VERSION5 = typeof MACRO !== "undefined" ? "1.1.58+f68c761" : "unknown";
495495
495499
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
495496
495500
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
495497
495501
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -498363,7 +498367,7 @@ function buildSystemInitMessage(inputs) {
498363
498367
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
498364
498368
  apiKeySource: getAnthropicApiKeyWithSource().source,
498365
498369
  betas: getSdkBetas(),
498366
- vivus_code_version: "1.1.57+22531b2",
498370
+ vivus_code_version: "1.1.58+f68c761",
498367
498371
  output_style: outputStyle2,
498368
498372
  agents: inputs.agents.map((agent) => agent.agentType),
498369
498373
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -513075,7 +513079,7 @@ var init_useVoiceEnabled = __esm(() => {
513075
513079
  function getSemverPart(version3) {
513076
513080
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
513077
513081
  }
513078
- function useUpdateNotification(updatedVersion, initialVersion = "1.1.57+22531b2") {
513082
+ function useUpdateNotification(updatedVersion, initialVersion = "1.1.58+f68c761") {
513079
513083
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
513080
513084
  if (!updatedVersion) {
513081
513085
  return null;
@@ -513115,7 +513119,7 @@ function AutoUpdater({
513115
513119
  return;
513116
513120
  }
513117
513121
  if (false) {}
513118
- const currentVersion = "1.1.57+22531b2";
513122
+ const currentVersion = "1.1.58+f68c761";
513119
513123
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
513120
513124
  let latestVersion = await getLatestVersion(channel);
513121
513125
  const isDisabled = isAutoUpdaterDisabled();
@@ -513328,12 +513332,12 @@ function NativeAutoUpdater({
513328
513332
  logEvent("tengu_native_auto_updater_start", {});
513329
513333
  try {
513330
513334
  const maxVersion = await getMaxVersion();
513331
- if (maxVersion && gt("1.1.57+22531b2", maxVersion)) {
513335
+ if (maxVersion && gt("1.1.58+f68c761", maxVersion)) {
513332
513336
  const msg = await getMaxVersionMessage();
513333
513337
  setMaxVersionIssue(msg ?? "affects your version");
513334
513338
  }
513335
513339
  const result = await installLatest(channel);
513336
- const currentVersion = "1.1.57+22531b2";
513340
+ const currentVersion = "1.1.58+f68c761";
513337
513341
  const latencyMs = Date.now() - startTime;
513338
513342
  if (result.lockFailed) {
513339
513343
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -513470,17 +513474,17 @@ function PackageManagerAutoUpdater(t0) {
513470
513474
  const maxVersion = await getMaxVersion();
513471
513475
  if (maxVersion && latest && gt(latest, maxVersion)) {
513472
513476
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
513473
- if (gte("1.1.57+22531b2", maxVersion)) {
513474
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.57+22531b2"} is already at or above maxVersion ${maxVersion}, skipping update`);
513477
+ if (gte("1.1.58+f68c761", maxVersion)) {
513478
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.58+f68c761"} is already at or above maxVersion ${maxVersion}, skipping update`);
513475
513479
  setUpdateAvailable(false);
513476
513480
  return;
513477
513481
  }
513478
513482
  latest = maxVersion;
513479
513483
  }
513480
- const hasUpdate = latest && !gte("1.1.57+22531b2", latest) && !shouldSkipVersion(latest);
513484
+ const hasUpdate = latest && !gte("1.1.58+f68c761", latest) && !shouldSkipVersion(latest);
513481
513485
  setUpdateAvailable(!!hasUpdate);
513482
513486
  if (hasUpdate) {
513483
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.57+22531b2"} -> ${latest}`);
513487
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.58+f68c761"} -> ${latest}`);
513484
513488
  }
513485
513489
  };
513486
513490
  $2[0] = t1;
@@ -513514,7 +513518,7 @@ function PackageManagerAutoUpdater(t0) {
513514
513518
  wrap: "truncate",
513515
513519
  children: [
513516
513520
  "currentVersion: ",
513517
- "1.1.57+22531b2"
513521
+ "1.1.58+f68c761"
513518
513522
  ]
513519
513523
  }, undefined, true, undefined, this);
513520
513524
  $2[3] = verbose;
@@ -521698,7 +521702,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
521698
521702
  project_dir: getOriginalCwd(),
521699
521703
  added_dirs: addedDirs
521700
521704
  },
521701
- version: "1.1.57+22531b2",
521705
+ version: "1.1.58+f68c761",
521702
521706
  output_style: {
521703
521707
  name: outputStyleName
521704
521708
  },
@@ -533350,7 +533354,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
533350
533354
  } catch {}
533351
533355
  const data = {
533352
533356
  trigger,
533353
- version: "1.1.57+22531b2",
533357
+ version: "1.1.58+f68c761",
533354
533358
  platform: process.platform,
533355
533359
  transcript,
533356
533360
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -544821,7 +544825,7 @@ function WelcomeV2() {
544821
544825
  dimColor: true,
544822
544826
  children: [
544823
544827
  "v",
544824
- "1.1.57+22531b2",
544828
+ "1.1.58+f68c761",
544825
544829
  " "
544826
544830
  ]
544827
544831
  }, undefined, true, undefined, this)
@@ -545021,7 +545025,7 @@ function WelcomeV2() {
545021
545025
  dimColor: true,
545022
545026
  children: [
545023
545027
  "v",
545024
- "1.1.57+22531b2",
545028
+ "1.1.58+f68c761",
545025
545029
  " "
545026
545030
  ]
545027
545031
  }, undefined, true, undefined, this)
@@ -545247,7 +545251,7 @@ function AppleTerminalWelcomeV2(t0) {
545247
545251
  dimColor: true,
545248
545252
  children: [
545249
545253
  "v",
545250
- "1.1.57+22531b2",
545254
+ "1.1.58+f68c761",
545251
545255
  " "
545252
545256
  ]
545253
545257
  }, undefined, true, undefined, this);
@@ -545501,7 +545505,7 @@ function AppleTerminalWelcomeV2(t0) {
545501
545505
  dimColor: true,
545502
545506
  children: [
545503
545507
  "v",
545504
- "1.1.57+22531b2",
545508
+ "1.1.58+f68c761",
545505
545509
  " "
545506
545510
  ]
545507
545511
  }, undefined, true, undefined, this);
@@ -548574,7 +548578,7 @@ function appendToLog(path25, message) {
548574
548578
  cwd: getFsImplementation().cwd(),
548575
548579
  userType: process.env.USER_TYPE,
548576
548580
  sessionId: getSessionId(),
548577
- version: "1.1.57+22531b2"
548581
+ version: "1.1.58+f68c761"
548578
548582
  };
548579
548583
  getLogWriter(path25).write(messageWithTimestamp);
548580
548584
  }
@@ -552569,8 +552573,8 @@ async function getEnvLessBridgeConfig() {
552569
552573
  }
552570
552574
  async function checkEnvLessBridgeMinVersion() {
552571
552575
  const cfg = await getEnvLessBridgeConfig();
552572
- if (cfg.min_version && lt("1.1.57+22531b2", cfg.min_version)) {
552573
- return `Your version of Vivus (${"1.1.57+22531b2"}) is too old for Remote Control.
552576
+ if (cfg.min_version && lt("1.1.58+f68c761", cfg.min_version)) {
552577
+ return `Your version of Vivus (${"1.1.58+f68c761"}) is too old for Remote Control.
552574
552578
  Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
552575
552579
  }
552576
552580
  return null;
@@ -553044,7 +553048,7 @@ async function initBridgeCore(params) {
553044
553048
  const rawApi = createBridgeApiClient({
553045
553049
  baseUrl,
553046
553050
  getAccessToken,
553047
- runnerVersion: "1.1.57+22531b2",
553051
+ runnerVersion: "1.1.58+f68c761",
553048
553052
  onDebug: logForDebugging,
553049
553053
  onAuth401,
553050
553054
  getTrustedDeviceToken
@@ -558723,7 +558727,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
558723
558727
  setCwd(cwd3);
558724
558728
  const server = new Server({
558725
558729
  name: "vivus/tengu",
558726
- version: "1.1.57+22531b2"
558730
+ version: "1.1.58+f68c761"
558727
558731
  }, {
558728
558732
  capabilities: {
558729
558733
  tools: {}
@@ -560456,7 +560460,7 @@ __export(exports_update, {
560456
560460
  });
560457
560461
  async function update() {
560458
560462
  logEvent("tengu_update_check", {});
560459
- writeToStdout(`Current version: ${"1.1.57+22531b2"}
560463
+ writeToStdout(`Current version: ${"1.1.58+f68c761"}
560460
560464
  `);
560461
560465
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
560462
560466
  writeToStdout(`Checking for updates to ${channel} version...
@@ -560531,8 +560535,8 @@ async function update() {
560531
560535
  writeToStdout(`Vivus is managed by Homebrew.
560532
560536
  `);
560533
560537
  const latest = await getLatestVersion(channel);
560534
- if (latest && !gte("1.1.57+22531b2", latest)) {
560535
- writeToStdout(`Update available: ${"1.1.57+22531b2"} → ${latest}
560538
+ if (latest && !gte("1.1.58+f68c761", latest)) {
560539
+ writeToStdout(`Update available: ${"1.1.58+f68c761"} → ${latest}
560536
560540
  `);
560537
560541
  writeToStdout(`
560538
560542
  `);
@@ -560548,8 +560552,8 @@ async function update() {
560548
560552
  writeToStdout(`Vivus is managed by winget.
560549
560553
  `);
560550
560554
  const latest = await getLatestVersion(channel);
560551
- if (latest && !gte("1.1.57+22531b2", latest)) {
560552
- writeToStdout(`Update available: ${"1.1.57+22531b2"} → ${latest}
560555
+ if (latest && !gte("1.1.58+f68c761", latest)) {
560556
+ writeToStdout(`Update available: ${"1.1.58+f68c761"} → ${latest}
560553
560557
  `);
560554
560558
  writeToStdout(`
560555
560559
  `);
@@ -560565,8 +560569,8 @@ async function update() {
560565
560569
  writeToStdout(`Vivus is managed by apk.
560566
560570
  `);
560567
560571
  const latest = await getLatestVersion(channel);
560568
- if (latest && !gte("1.1.57+22531b2", latest)) {
560569
- writeToStdout(`Update available: ${"1.1.57+22531b2"} → ${latest}
560572
+ if (latest && !gte("1.1.58+f68c761", latest)) {
560573
+ writeToStdout(`Update available: ${"1.1.58+f68c761"} → ${latest}
560570
560574
  `);
560571
560575
  writeToStdout(`
560572
560576
  `);
@@ -560631,11 +560635,11 @@ async function update() {
560631
560635
  `);
560632
560636
  await gracefulShutdown(1);
560633
560637
  }
560634
- if (result.latestVersion === "1.1.57+22531b2") {
560635
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.57+22531b2"})`) + `
560638
+ if (result.latestVersion === "1.1.58+f68c761") {
560639
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.58+f68c761"})`) + `
560636
560640
  `);
560637
560641
  } else {
560638
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.57+22531b2"} to version ${result.latestVersion}`) + `
560642
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.58+f68c761"} to version ${result.latestVersion}`) + `
560639
560643
  `);
560640
560644
  await regenerateCompletionCache();
560641
560645
  }
@@ -560692,12 +560696,12 @@ async function update() {
560692
560696
  `);
560693
560697
  await gracefulShutdown(1);
560694
560698
  }
560695
- if (latestVersion === "1.1.57+22531b2") {
560696
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.57+22531b2"})`) + `
560699
+ if (latestVersion === "1.1.58+f68c761") {
560700
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.58+f68c761"})`) + `
560697
560701
  `);
560698
560702
  await gracefulShutdown(0);
560699
560703
  }
560700
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.57+22531b2"})
560704
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.58+f68c761"})
560701
560705
  `);
560702
560706
  writeToStdout(`Installing update...
560703
560707
  `);
@@ -560742,7 +560746,7 @@ async function update() {
560742
560746
  logForDebugging(`update: Installation status: ${status2}`);
560743
560747
  switch (status2) {
560744
560748
  case "success":
560745
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.57+22531b2"} to version ${latestVersion}`) + `
560749
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.58+f68c761"} to version ${latestVersion}`) + `
560746
560750
  `);
560747
560751
  await regenerateCompletionCache();
560748
560752
  break;
@@ -561716,7 +561720,7 @@ function completeOnboarding() {
561716
561720
  saveGlobalConfig((current) => ({
561717
561721
  ...current,
561718
561722
  hasCompletedOnboarding: true,
561719
- lastOnboardingVersion: "1.1.57+22531b2"
561723
+ lastOnboardingVersion: "1.1.58+f68c761"
561720
561724
  }));
561721
561725
  }
561722
561726
  function showDialog(root2, renderer) {
@@ -565852,7 +565856,7 @@ ${customInstructions}` : customInstructions;
565852
565856
  }
565853
565857
  }
565854
565858
  logForDiagnosticsNoPII("info", "started", {
565855
- version: "1.1.57+22531b2",
565859
+ version: "1.1.58+f68c761",
565856
565860
  is_native_binary: isInBundledMode()
565857
565861
  });
565858
565862
  registerCleanup(async () => {
@@ -566650,7 +566654,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
566650
566654
  pendingHookMessages
566651
566655
  }, renderAndRun);
566652
566656
  }
566653
- }).version("1.1.57+22531b2 (Vivus)", "-v, --version", "Output the version number");
566657
+ }).version("1.1.58+f68c761 (Vivus)", "-v, --version", "Output the version number");
566654
566658
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
566655
566659
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
566656
566660
  if (canUserConfigureAdvisor()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vivus-agent",
3
- "version": "1.1.57",
3
+ "version": "1.1.58",
4
4
  "description": "Vivus — local AI coding agent",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",