vivus-agent 1.1.63 → 1.1.65

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 +133 -118
  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-09T10:36:45.123Z
3
+ // Built from source at 2026-10-09T13:50:47.636Z
4
4
  import { createRequire } from "node:module";
5
5
  var __create = Object.create;
6
6
  var __getProtoOf = Object.getPrototypeOf;
@@ -50450,40 +50450,50 @@ function execFileNoThrowWithCwd(file2, args, {
50450
50450
  maxBuffer: 1e6
50451
50451
  }) {
50452
50452
  return new Promise((resolve5) => {
50453
- execa(file2, args, {
50454
- maxBuffer,
50455
- signal: abortSignal,
50456
- timeout: finalTimeout,
50457
- cwd: finalCwd,
50458
- env: finalEnv,
50459
- shell,
50460
- stdin: finalStdin,
50461
- input: finalInput,
50462
- reject: false
50463
- }).then((result) => {
50464
- if (result.failed) {
50465
- if (finalPreserveOutput) {
50466
- const errorCode = result.exitCode ?? 1;
50453
+ try {
50454
+ execa(file2, args, {
50455
+ maxBuffer,
50456
+ cancelSignal: abortSignal,
50457
+ timeout: finalTimeout,
50458
+ cwd: finalCwd,
50459
+ env: finalEnv,
50460
+ shell,
50461
+ stdin: finalStdin,
50462
+ input: finalInput,
50463
+ reject: false
50464
+ }).then((result) => {
50465
+ if (result.failed) {
50466
+ if (finalPreserveOutput) {
50467
+ const errorCode = result.exitCode ?? 1;
50468
+ resolve5({
50469
+ stdout: result.stdout || "",
50470
+ stderr: result.stderr || "",
50471
+ code: errorCode,
50472
+ error: getErrorMessage(result, errorCode)
50473
+ });
50474
+ } else {
50475
+ resolve5({ stdout: "", stderr: "", code: result.exitCode ?? 1 });
50476
+ }
50477
+ } else {
50467
50478
  resolve5({
50468
- stdout: result.stdout || "",
50469
- stderr: result.stderr || "",
50470
- code: errorCode,
50471
- error: getErrorMessage(result, errorCode)
50479
+ stdout: result.stdout,
50480
+ stderr: result.stderr,
50481
+ code: 0
50472
50482
  });
50473
- } else {
50474
- resolve5({ stdout: "", stderr: "", code: result.exitCode ?? 1 });
50475
50483
  }
50476
- } else {
50477
- resolve5({
50478
- stdout: result.stdout,
50479
- stderr: result.stderr,
50480
- code: 0
50481
- });
50482
- }
50483
- }).catch((error41) => {
50484
+ }).catch((error41) => {
50485
+ logError2(error41);
50486
+ resolve5({ stdout: "", stderr: "", code: 1 });
50487
+ });
50488
+ } catch (error41) {
50484
50489
  logError2(error41);
50485
- resolve5({ stdout: "", stderr: "", code: 1 });
50486
- });
50490
+ resolve5({
50491
+ stdout: "",
50492
+ stderr: "",
50493
+ code: 1,
50494
+ error: error41 instanceof Error ? error41.message : String(error41)
50495
+ });
50496
+ }
50487
50497
  });
50488
50498
  }
50489
50499
  var MS_IN_SECOND2 = 1000, SECONDS_IN_MINUTE2 = 60;
@@ -108228,7 +108238,7 @@ var init_auth = __esm(() => {
108228
108238
 
108229
108239
  // src/utils/userAgent.ts
108230
108240
  function getVivusCodeUserAgent() {
108231
- return `vivus/${"1.1.63+ac3052e"}`;
108241
+ return `vivus/${"1.1.65+3a3a8df"}`;
108232
108242
  }
108233
108243
 
108234
108244
  // src/utils/workloadContext.ts
@@ -108250,7 +108260,7 @@ function getUserAgent() {
108250
108260
  const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
108251
108261
  const workload = getWorkload();
108252
108262
  const workloadSuffix = workload ? `, workload/${workload}` : "";
108253
- return `vivus-cli/${"1.1.63+ac3052e"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
108263
+ return `vivus-cli/${"1.1.65+3a3a8df"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
108254
108264
  }
108255
108265
  function getMCPUserAgent() {
108256
108266
  const parts = [];
@@ -108264,7 +108274,7 @@ function getMCPUserAgent() {
108264
108274
  parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
108265
108275
  }
108266
108276
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
108267
- return `vivus/${"1.1.63+ac3052e"}${suffix}`;
108277
+ return `vivus/${"1.1.65+3a3a8df"}${suffix}`;
108268
108278
  }
108269
108279
  function getWebFetchUserAgent() {
108270
108280
  return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -108402,7 +108412,7 @@ var init_user = __esm(() => {
108402
108412
  deviceId,
108403
108413
  sessionId: getSessionId(),
108404
108414
  email: getEmail(),
108405
- appVersion: "1.1.63+ac3052e",
108415
+ appVersion: "1.1.65+3a3a8df",
108406
108416
  platform: getHostPlatformForAnalytics(),
108407
108417
  organizationUuid,
108408
108418
  accountUuid,
@@ -119713,7 +119723,7 @@ var init_metadata = __esm(() => {
119713
119723
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
119714
119724
  WHITESPACE_REGEX = /\s+/;
119715
119725
  getVersionBase = memoize_default(() => {
119716
- const match = "1.1.63+ac3052e".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
119726
+ const match = "1.1.65+3a3a8df".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
119717
119727
  return match ? match[0] : undefined;
119718
119728
  });
119719
119729
  buildEnvContext = memoize_default(async () => {
@@ -119753,9 +119763,9 @@ var init_metadata = __esm(() => {
119753
119763
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
119754
119764
  isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
119755
119765
  isVivusAiAuth: isVivusAISubscriber(),
119756
- version: "1.1.63+ac3052e",
119766
+ version: "1.1.65+3a3a8df",
119757
119767
  versionBase: getVersionBase(),
119758
- buildTime: "2026-10-09T10:36:44.701Z",
119768
+ buildTime: "2026-10-09T13:50:47.131Z",
119759
119769
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
119760
119770
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
119761
119771
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -120423,7 +120433,7 @@ function initialize1PEventLogging() {
120423
120433
  const platform2 = getPlatform();
120424
120434
  const attributes = {
120425
120435
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
120426
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.63+ac3052e"
120436
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.65+3a3a8df"
120427
120437
  };
120428
120438
  if (platform2 === "wsl") {
120429
120439
  const wslVersion = getWslVersion();
@@ -120450,7 +120460,7 @@ function initialize1PEventLogging() {
120450
120460
  })
120451
120461
  ]
120452
120462
  });
120453
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.63+ac3052e");
120463
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.65+3a3a8df");
120454
120464
  }
120455
120465
  async function reinitialize1PEventLoggingIfConfigChanged() {
120456
120466
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -132978,6 +132988,9 @@ function cursorMove(x, y) {
132978
132988
  }
132979
132989
  return result;
132980
132990
  }
132991
+ function eraseToEndOfScreen() {
132992
+ return csi("J");
132993
+ }
132981
132994
  function eraseLines(n2) {
132982
132995
  if (n2 <= 0)
132983
132996
  return "";
@@ -162679,7 +162692,7 @@ function getAttributionHeader(fingerprint) {
162679
162692
  if (!isAttributionHeaderEnabled()) {
162680
162693
  return "";
162681
162694
  }
162682
- const version2 = `${"1.1.63+ac3052e"}.${fingerprint}`;
162695
+ const version2 = `${"1.1.65+3a3a8df"}.${fingerprint}`;
162683
162696
  const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
162684
162697
  const cch = "";
162685
162698
  const workload = getWorkload();
@@ -175842,7 +175855,7 @@ function getTelemetryAttributes() {
175842
175855
  attributes["session.id"] = sessionId;
175843
175856
  }
175844
175857
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
175845
- attributes["app.version"] = "1.1.63+ac3052e";
175858
+ attributes["app.version"] = "1.1.65+3a3a8df";
175846
175859
  }
175847
175860
  const oauthAccount = getOauthAccountInfo();
175848
175861
  if (oauthAccount) {
@@ -242461,7 +242474,7 @@ function computeFingerprint(messageText, version2) {
242461
242474
  }
242462
242475
  function computeFingerprintFromMessages(messages) {
242463
242476
  const firstMessageText = extractFirstMessageText(messages);
242464
- return computeFingerprint(firstMessageText, "1.1.63+ac3052e");
242477
+ return computeFingerprint(firstMessageText, "1.1.65+3a3a8df");
242465
242478
  }
242466
242479
  var FINGERPRINT_SALT = "59cf53e54c78";
242467
242480
  var init_fingerprint = () => {};
@@ -242503,7 +242516,7 @@ async function sideQuery(opts) {
242503
242516
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
242504
242517
  }
242505
242518
  const messageText = extractFirstUserMessageText(messages);
242506
- const fingerprint = computeFingerprint(messageText, "1.1.63+ac3052e");
242519
+ const fingerprint = computeFingerprint(messageText, "1.1.65+3a3a8df");
242507
242520
  const attributionHeader = getAttributionHeader(fingerprint);
242508
242521
  const systemBlocks = [
242509
242522
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -243655,7 +243668,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
243655
243668
  const client2 = new Client({
243656
243669
  name: "vivus",
243657
243670
  title: "Vivus",
243658
- version: "1.1.63+ac3052e",
243671
+ version: "1.1.65+3a3a8df",
243659
243672
  description: "Anthropic's agentic coding tool",
243660
243673
  websiteUrl: PRODUCT_URL
243661
243674
  }, {
@@ -244009,7 +244022,7 @@ var init_client6 = __esm(() => {
244009
244022
  const client2 = new Client({
244010
244023
  name: "vivus",
244011
244024
  title: "Vivus",
244012
- version: "1.1.63+ac3052e",
244025
+ version: "1.1.65+3a3a8df",
244013
244026
  description: "Anthropic's agentic coding tool",
244014
244027
  websiteUrl: PRODUCT_URL
244015
244028
  }, {
@@ -246070,7 +246083,7 @@ function getInstallationEnv() {
246070
246083
  return;
246071
246084
  }
246072
246085
  function getVivusCodeVersion() {
246073
- return "1.1.63+ac3052e";
246086
+ return "1.1.65+3a3a8df";
246074
246087
  }
246075
246088
  async function getInstalledVSCodeExtensionVersion(command) {
246076
246089
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -302161,7 +302174,7 @@ async function initializeBetaTracing(resource) {
302161
302174
  });
302162
302175
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
302163
302176
  setLoggerProvider(loggerProvider);
302164
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.63+ac3052e");
302177
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.65+3a3a8df");
302165
302178
  setEventLogger(eventLogger);
302166
302179
  process.on("beforeExit", async () => {
302167
302180
  await loggerProvider?.forceFlush();
@@ -302201,7 +302214,7 @@ async function initializeTelemetry() {
302201
302214
  const platform5 = getPlatform();
302202
302215
  const baseAttributes = {
302203
302216
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
302204
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.63+ac3052e"
302217
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.65+3a3a8df"
302205
302218
  };
302206
302219
  if (platform5 === "wsl") {
302207
302220
  const wslVersion = getWslVersion();
@@ -302246,7 +302259,7 @@ async function initializeTelemetry() {
302246
302259
  } catch {}
302247
302260
  };
302248
302261
  registerCleanup(shutdownTelemetry2);
302249
- return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.63+ac3052e");
302262
+ return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.65+3a3a8df");
302250
302263
  }
302251
302264
  const meterProvider = new import_sdk_metrics2.MeterProvider({
302252
302265
  resource,
@@ -302266,7 +302279,7 @@ async function initializeTelemetry() {
302266
302279
  });
302267
302280
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
302268
302281
  setLoggerProvider(loggerProvider);
302269
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.63+ac3052e");
302282
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.65+3a3a8df");
302270
302283
  setEventLogger(eventLogger);
302271
302284
  logForDebugging("[3P telemetry] Event logger set successfully");
302272
302285
  process.on("beforeExit", async () => {
@@ -302328,7 +302341,7 @@ Current timeout: ${timeoutMs}ms
302328
302341
  }
302329
302342
  };
302330
302343
  registerCleanup(shutdownTelemetry);
302331
- return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.63+ac3052e");
302344
+ return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.65+3a3a8df");
302332
302345
  }
302333
302346
  async function flushTelemetry() {
302334
302347
  const meterProvider = getMeterProvider();
@@ -303014,9 +303027,9 @@ async function assertMinVersion() {
303014
303027
  if (false) {}
303015
303028
  try {
303016
303029
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
303017
- if (versionConfig.minVersion && lt("1.1.63+ac3052e", versionConfig.minVersion)) {
303030
+ if (versionConfig.minVersion && lt("1.1.65+3a3a8df", versionConfig.minVersion)) {
303018
303031
  console.error(`
303019
- It looks like your version of Vivus (${"1.1.63+ac3052e"}) needs an update.
303032
+ It looks like your version of Vivus (${"1.1.65+3a3a8df"}) needs an update.
303020
303033
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
303021
303034
 
303022
303035
  To update, please run:
@@ -303232,7 +303245,7 @@ async function installGlobalPackage(specificVersion) {
303232
303245
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
303233
303246
  logEvent("tengu_auto_updater_lock_contention", {
303234
303247
  pid: process.pid,
303235
- currentVersion: "1.1.63+ac3052e"
303248
+ currentVersion: "1.1.65+3a3a8df"
303236
303249
  });
303237
303250
  return "in_progress";
303238
303251
  }
@@ -303241,7 +303254,7 @@ async function installGlobalPackage(specificVersion) {
303241
303254
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
303242
303255
  logError2(new Error("Windows NPM detected in WSL environment"));
303243
303256
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
303244
- currentVersion: "1.1.63+ac3052e"
303257
+ currentVersion: "1.1.65+3a3a8df"
303245
303258
  });
303246
303259
  console.error(`
303247
303260
  Error: Windows NPM detected in WSL
@@ -303774,7 +303787,7 @@ function detectLinuxGlobPatternWarnings() {
303774
303787
  }
303775
303788
  async function getDoctorDiagnostic() {
303776
303789
  const installationType = await getCurrentInstallationType();
303777
- const version2 = typeof MACRO !== "undefined" ? "1.1.63+ac3052e" : "unknown";
303790
+ const version2 = typeof MACRO !== "undefined" ? "1.1.65+3a3a8df" : "unknown";
303778
303791
  const installationPath = await getInstallationPath();
303779
303792
  const invokedBinary = getInvokedBinary();
303780
303793
  const multipleInstallations = await detectMultipleInstallations();
@@ -304707,8 +304720,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
304707
304720
  const maxVersion = await getMaxVersion();
304708
304721
  if (maxVersion && gt(version2, maxVersion)) {
304709
304722
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
304710
- if (gte("1.1.63+ac3052e", maxVersion)) {
304711
- logForDebugging(`Native installer: current version ${"1.1.63+ac3052e"} is already at or above maxVersion ${maxVersion}, skipping update`);
304723
+ if (gte("1.1.65+3a3a8df", maxVersion)) {
304724
+ logForDebugging(`Native installer: current version ${"1.1.65+3a3a8df"} is already at or above maxVersion ${maxVersion}, skipping update`);
304712
304725
  logEvent("tengu_native_update_skipped_max_version", {
304713
304726
  latency_ms: Date.now() - startTime,
304714
304727
  max_version: maxVersion,
@@ -304719,7 +304732,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
304719
304732
  version2 = maxVersion;
304720
304733
  }
304721
304734
  }
304722
- if (!forceReinstall && version2 === "1.1.63+ac3052e" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
304735
+ if (!forceReinstall && version2 === "1.1.65+3a3a8df" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
304723
304736
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
304724
304737
  logEvent("tengu_native_update_complete", {
304725
304738
  latency_ms: Date.now() - startTime,
@@ -362149,7 +362162,7 @@ function getAnthropicEnvMetadata() {
362149
362162
  function getBuildAgeMinutes() {
362150
362163
  if (false)
362151
362164
  ;
362152
- const buildTime = new Date("2026-10-09T10:36:44.701Z").getTime();
362165
+ const buildTime = new Date("2026-10-09T13:50:47.131Z").getTime();
362153
362166
  if (isNaN(buildTime))
362154
362167
  return;
362155
362168
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -410310,7 +410323,7 @@ var init_filesystem = __esm(() => {
410310
410323
  });
410311
410324
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
410312
410325
  const nonce = randomBytes17(16).toString("hex");
410313
- return join108(getVivusTempDir(), "bundled-skills", "1.1.63+ac3052e", nonce);
410326
+ return join108(getVivusTempDir(), "bundled-skills", "1.1.65+3a3a8df", nonce);
410314
410327
  });
410315
410328
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
410316
410329
  });
@@ -412070,7 +412083,7 @@ function Feedback({
412070
412083
  platform: env3.platform,
412071
412084
  gitRepo: envInfo.isGit,
412072
412085
  terminal: env3.terminal,
412073
- version: "1.1.63+ac3052e",
412086
+ version: "1.1.65+3a3a8df",
412074
412087
  transcript: normalizeMessagesForAPI(messages),
412075
412088
  errors: sanitizedErrors,
412076
412089
  lastApiRequest: getLastAPIRequest(),
@@ -412262,7 +412275,7 @@ function Feedback({
412262
412275
  ", ",
412263
412276
  env3.terminal,
412264
412277
  ", v",
412265
- "1.1.63+ac3052e"
412278
+ "1.1.65+3a3a8df"
412266
412279
  ]
412267
412280
  }, undefined, true, undefined, this)
412268
412281
  ]
@@ -412368,7 +412381,7 @@ ${sanitizedDescription}
412368
412381
  ` + `**Environment Info**
412369
412382
  ` + `- Platform: ${env3.platform}
412370
412383
  ` + `- Terminal: ${env3.terminal}
412371
- ` + `- Version: ${"1.1.63+ac3052e"}
412384
+ ` + `- Version: ${"1.1.65+3a3a8df"}
412372
412385
  ` + `- Feedback ID: ${feedbackId}
412373
412386
  ` + `
412374
412387
  **Errors**
@@ -415500,7 +415513,7 @@ function buildPrimarySection() {
415500
415513
  }, undefined, false, undefined, this);
415501
415514
  return [{
415502
415515
  label: "Version",
415503
- value: "1.1.63+ac3052e"
415516
+ value: "1.1.65+3a3a8df"
415504
415517
  }, {
415505
415518
  label: "Session name",
415506
415519
  value: nameValue
@@ -419365,7 +419378,7 @@ function Config({
419365
419378
  }
419366
419379
  }, undefined, false, undefined, this)
419367
419380
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
419368
- currentVersion: "1.1.63+ac3052e",
419381
+ currentVersion: "1.1.65+3a3a8df",
419369
419382
  onChoice: (choice) => {
419370
419383
  setShowSubmenu(null);
419371
419384
  setTabsHidden(false);
@@ -419377,7 +419390,7 @@ function Config({
419377
419390
  autoUpdatesChannel: "stable"
419378
419391
  };
419379
419392
  if (choice === "stay") {
419380
- newSettings.minimumVersion = "1.1.63+ac3052e";
419393
+ newSettings.minimumVersion = "1.1.65+3a3a8df";
419381
419394
  }
419382
419395
  updateSettingsForSource("userSettings", newSettings);
419383
419396
  setSettingsData((prev_27) => ({
@@ -427572,7 +427585,7 @@ function HelpV2(t0) {
427572
427585
  let t6;
427573
427586
  if ($2[31] !== tabs) {
427574
427587
  t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
427575
- title: `Vivus v${"1.1.63+ac3052e"}`,
427588
+ title: `Vivus v${"1.1.65+3a3a8df"}`,
427576
427589
  color: "professionalBlue",
427577
427590
  defaultTab: "general",
427578
427591
  children: tabs
@@ -451798,7 +451811,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
451798
451811
  return [];
451799
451812
  }
451800
451813
  }
451801
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.63+ac3052e") {
451814
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.65+3a3a8df") {
451802
451815
  if (process.env.USER_TYPE === "ant") {
451803
451816
  const changelog = "";
451804
451817
  if (changelog) {
@@ -451825,7 +451838,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.63+ac
451825
451838
  releaseNotes
451826
451839
  };
451827
451840
  }
451828
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.63+ac3052e") {
451841
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.65+3a3a8df") {
451829
451842
  if (process.env.USER_TYPE === "ant") {
451830
451843
  const changelog = "";
451831
451844
  if (changelog) {
@@ -452995,7 +453008,7 @@ function getRecentActivitySync() {
452995
453008
  return cachedActivity;
452996
453009
  }
452997
453010
  function getLogoDisplayData() {
452998
- const version2 = process.env.DEMO_VERSION ?? "1.1.63+ac3052e";
453011
+ const version2 = process.env.DEMO_VERSION ?? "1.1.65+3a3a8df";
452999
453012
  const serverUrl = getDirectConnectServerUrl();
453000
453013
  const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
453001
453014
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -454522,7 +454535,7 @@ function LogoV2() {
454522
454535
  if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
454523
454536
  t2 = () => {
454524
454537
  const currentConfig = getGlobalConfig();
454525
- if (currentConfig.lastReleaseNotesSeen === "1.1.63+ac3052e") {
454538
+ if (currentConfig.lastReleaseNotesSeen === "1.1.65+3a3a8df") {
454526
454539
  return;
454527
454540
  }
454528
454541
  saveGlobalConfig(_temp329);
@@ -455198,12 +455211,12 @@ function LogoV2() {
455198
455211
  return t41;
455199
455212
  }
455200
455213
  function _temp329(current) {
455201
- if (current.lastReleaseNotesSeen === "1.1.63+ac3052e") {
455214
+ if (current.lastReleaseNotesSeen === "1.1.65+3a3a8df") {
455202
455215
  return current;
455203
455216
  }
455204
455217
  return {
455205
455218
  ...current,
455206
- lastReleaseNotesSeen: "1.1.63+ac3052e"
455219
+ lastReleaseNotesSeen: "1.1.65+3a3a8df"
455207
455220
  };
455208
455221
  }
455209
455222
  function _temp245(s_0) {
@@ -481505,7 +481518,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
481505
481518
  smapsRollup,
481506
481519
  platform: process.platform,
481507
481520
  nodeVersion: process.version,
481508
- ccVersion: "1.1.63+ac3052e"
481521
+ ccVersion: "1.1.65+3a3a8df"
481509
481522
  };
481510
481523
  }
481511
481524
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -482091,7 +482104,7 @@ var init_bridge_kick = __esm(() => {
482091
482104
  var call56 = async () => {
482092
482105
  return {
482093
482106
  type: "text",
482094
- value: `${"1.1.63+ac3052e"} (built ${"2026-10-09T10:36:44.701Z"})`
482107
+ value: `${"1.1.65+3a3a8df"} (built ${"2026-10-09T13:50:47.131Z"})`
482095
482108
  };
482096
482109
  }, version2, version_default;
482097
482110
  var init_version = __esm(() => {
@@ -491411,7 +491424,7 @@ function generateHtmlReport(data, insights) {
491411
491424
  </html>`;
491412
491425
  }
491413
491426
  function buildExportData(data, insights, facets, remoteStats) {
491414
- const version3 = typeof MACRO !== "undefined" ? "1.1.63+ac3052e" : "unknown";
491427
+ const version3 = typeof MACRO !== "undefined" ? "1.1.65+3a3a8df" : "unknown";
491415
491428
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
491416
491429
  const facets_summary = {
491417
491430
  total: facets.size,
@@ -495523,7 +495536,7 @@ var init_sessionStorage = __esm(() => {
495523
495536
  init_settings2();
495524
495537
  init_slowOperations();
495525
495538
  init_uuid();
495526
- VERSION5 = typeof MACRO !== "undefined" ? "1.1.63+ac3052e" : "unknown";
495539
+ VERSION5 = typeof MACRO !== "undefined" ? "1.1.65+3a3a8df" : "unknown";
495527
495540
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
495528
495541
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
495529
495542
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -498395,7 +498408,7 @@ function buildSystemInitMessage(inputs) {
498395
498408
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
498396
498409
  apiKeySource: getAnthropicApiKeyWithSource().source,
498397
498410
  betas: getSdkBetas(),
498398
- vivus_code_version: "1.1.63+ac3052e",
498411
+ vivus_code_version: "1.1.65+3a3a8df",
498399
498412
  output_style: outputStyle2,
498400
498413
  agents: inputs.agents.map((agent) => agent.agentType),
498401
498414
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -513107,7 +513120,7 @@ var init_useVoiceEnabled = __esm(() => {
513107
513120
  function getSemverPart(version3) {
513108
513121
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
513109
513122
  }
513110
- function useUpdateNotification(updatedVersion, initialVersion = "1.1.63+ac3052e") {
513123
+ function useUpdateNotification(updatedVersion, initialVersion = "1.1.65+3a3a8df") {
513111
513124
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
513112
513125
  if (!updatedVersion) {
513113
513126
  return null;
@@ -513147,7 +513160,7 @@ function AutoUpdater({
513147
513160
  return;
513148
513161
  }
513149
513162
  if (false) {}
513150
- const currentVersion = "1.1.63+ac3052e";
513163
+ const currentVersion = "1.1.65+3a3a8df";
513151
513164
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
513152
513165
  let latestVersion = await getLatestVersion(channel);
513153
513166
  const isDisabled = isAutoUpdaterDisabled();
@@ -513360,12 +513373,12 @@ function NativeAutoUpdater({
513360
513373
  logEvent("tengu_native_auto_updater_start", {});
513361
513374
  try {
513362
513375
  const maxVersion = await getMaxVersion();
513363
- if (maxVersion && gt("1.1.63+ac3052e", maxVersion)) {
513376
+ if (maxVersion && gt("1.1.65+3a3a8df", maxVersion)) {
513364
513377
  const msg = await getMaxVersionMessage();
513365
513378
  setMaxVersionIssue(msg ?? "affects your version");
513366
513379
  }
513367
513380
  const result = await installLatest(channel);
513368
- const currentVersion = "1.1.63+ac3052e";
513381
+ const currentVersion = "1.1.65+3a3a8df";
513369
513382
  const latencyMs = Date.now() - startTime;
513370
513383
  if (result.lockFailed) {
513371
513384
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -513502,17 +513515,17 @@ function PackageManagerAutoUpdater(t0) {
513502
513515
  const maxVersion = await getMaxVersion();
513503
513516
  if (maxVersion && latest && gt(latest, maxVersion)) {
513504
513517
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
513505
- if (gte("1.1.63+ac3052e", maxVersion)) {
513506
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.63+ac3052e"} is already at or above maxVersion ${maxVersion}, skipping update`);
513518
+ if (gte("1.1.65+3a3a8df", maxVersion)) {
513519
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.65+3a3a8df"} is already at or above maxVersion ${maxVersion}, skipping update`);
513507
513520
  setUpdateAvailable(false);
513508
513521
  return;
513509
513522
  }
513510
513523
  latest = maxVersion;
513511
513524
  }
513512
- const hasUpdate = latest && !gte("1.1.63+ac3052e", latest) && !shouldSkipVersion(latest);
513525
+ const hasUpdate = latest && !gte("1.1.65+3a3a8df", latest) && !shouldSkipVersion(latest);
513513
513526
  setUpdateAvailable(!!hasUpdate);
513514
513527
  if (hasUpdate) {
513515
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.63+ac3052e"} -> ${latest}`);
513528
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.65+3a3a8df"} -> ${latest}`);
513516
513529
  }
513517
513530
  };
513518
513531
  $2[0] = t1;
@@ -513546,7 +513559,7 @@ function PackageManagerAutoUpdater(t0) {
513546
513559
  wrap: "truncate",
513547
513560
  children: [
513548
513561
  "currentVersion: ",
513549
- "1.1.63+ac3052e"
513562
+ "1.1.65+3a3a8df"
513550
513563
  ]
513551
513564
  }, undefined, true, undefined, this);
513552
513565
  $2[3] = verbose;
@@ -521730,7 +521743,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
521730
521743
  project_dir: getOriginalCwd(),
521731
521744
  added_dirs: addedDirs
521732
521745
  },
521733
- version: "1.1.63+ac3052e",
521746
+ version: "1.1.65+3a3a8df",
521734
521747
  output_style: {
521735
521748
  name: outputStyleName
521736
521749
  },
@@ -528545,8 +528558,9 @@ function useCostSummary(getFpsMetrics) {
528545
528558
  import_react268.useEffect(() => {
528546
528559
  const f = () => {
528547
528560
  if (!isEnvTruthy(process.env.DISABLE_COST_WARNINGS)) {
528561
+ const clearStaleFrame = process.stdout.isTTY ? eraseToEndOfScreen() : "";
528548
528562
  process.stdout.write(`
528549
- ` + formatTotalCost() + `
528563
+ ` + clearStaleFrame + formatTotalCost() + `
528550
528564
  `);
528551
528565
  }
528552
528566
  saveCurrentSessionCosts(getFpsMetrics?.());
@@ -528560,6 +528574,7 @@ function useCostSummary(getFpsMetrics) {
528560
528574
  var import_react268;
528561
528575
  var init_costHook = __esm(() => {
528562
528576
  init_cost_tracker();
528577
+ init_csi();
528563
528578
  init_envUtils();
528564
528579
  import_react268 = __toESM(require_react(), 1);
528565
528580
  });
@@ -533382,7 +533397,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
533382
533397
  } catch {}
533383
533398
  const data = {
533384
533399
  trigger,
533385
- version: "1.1.63+ac3052e",
533400
+ version: "1.1.65+3a3a8df",
533386
533401
  platform: process.platform,
533387
533402
  transcript,
533388
533403
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -544853,7 +544868,7 @@ function WelcomeV2() {
544853
544868
  dimColor: true,
544854
544869
  children: [
544855
544870
  "v",
544856
- "1.1.63+ac3052e",
544871
+ "1.1.65+3a3a8df",
544857
544872
  " "
544858
544873
  ]
544859
544874
  }, undefined, true, undefined, this)
@@ -545053,7 +545068,7 @@ function WelcomeV2() {
545053
545068
  dimColor: true,
545054
545069
  children: [
545055
545070
  "v",
545056
- "1.1.63+ac3052e",
545071
+ "1.1.65+3a3a8df",
545057
545072
  " "
545058
545073
  ]
545059
545074
  }, undefined, true, undefined, this)
@@ -545279,7 +545294,7 @@ function AppleTerminalWelcomeV2(t0) {
545279
545294
  dimColor: true,
545280
545295
  children: [
545281
545296
  "v",
545282
- "1.1.63+ac3052e",
545297
+ "1.1.65+3a3a8df",
545283
545298
  " "
545284
545299
  ]
545285
545300
  }, undefined, true, undefined, this);
@@ -545533,7 +545548,7 @@ function AppleTerminalWelcomeV2(t0) {
545533
545548
  dimColor: true,
545534
545549
  children: [
545535
545550
  "v",
545536
- "1.1.63+ac3052e",
545551
+ "1.1.65+3a3a8df",
545537
545552
  " "
545538
545553
  ]
545539
545554
  }, undefined, true, undefined, this);
@@ -548606,7 +548621,7 @@ function appendToLog(path25, message) {
548606
548621
  cwd: getFsImplementation().cwd(),
548607
548622
  userType: process.env.USER_TYPE,
548608
548623
  sessionId: getSessionId(),
548609
- version: "1.1.63+ac3052e"
548624
+ version: "1.1.65+3a3a8df"
548610
548625
  };
548611
548626
  getLogWriter(path25).write(messageWithTimestamp);
548612
548627
  }
@@ -552601,8 +552616,8 @@ async function getEnvLessBridgeConfig() {
552601
552616
  }
552602
552617
  async function checkEnvLessBridgeMinVersion() {
552603
552618
  const cfg = await getEnvLessBridgeConfig();
552604
- if (cfg.min_version && lt("1.1.63+ac3052e", cfg.min_version)) {
552605
- return `Your version of Vivus (${"1.1.63+ac3052e"}) is too old for Remote Control.
552619
+ if (cfg.min_version && lt("1.1.65+3a3a8df", cfg.min_version)) {
552620
+ return `Your version of Vivus (${"1.1.65+3a3a8df"}) is too old for Remote Control.
552606
552621
  Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
552607
552622
  }
552608
552623
  return null;
@@ -553076,7 +553091,7 @@ async function initBridgeCore(params) {
553076
553091
  const rawApi = createBridgeApiClient({
553077
553092
  baseUrl,
553078
553093
  getAccessToken,
553079
- runnerVersion: "1.1.63+ac3052e",
553094
+ runnerVersion: "1.1.65+3a3a8df",
553080
553095
  onDebug: logForDebugging,
553081
553096
  onAuth401,
553082
553097
  getTrustedDeviceToken
@@ -558755,7 +558770,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
558755
558770
  setCwd(cwd3);
558756
558771
  const server = new Server({
558757
558772
  name: "vivus/tengu",
558758
- version: "1.1.63+ac3052e"
558773
+ version: "1.1.65+3a3a8df"
558759
558774
  }, {
558760
558775
  capabilities: {
558761
558776
  tools: {}
@@ -560488,7 +560503,7 @@ __export(exports_update, {
560488
560503
  });
560489
560504
  async function update() {
560490
560505
  logEvent("tengu_update_check", {});
560491
- writeToStdout(`Current version: ${"1.1.63+ac3052e"}
560506
+ writeToStdout(`Current version: ${"1.1.65+3a3a8df"}
560492
560507
  `);
560493
560508
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
560494
560509
  writeToStdout(`Checking for updates to ${channel} version...
@@ -560563,8 +560578,8 @@ async function update() {
560563
560578
  writeToStdout(`Vivus is managed by Homebrew.
560564
560579
  `);
560565
560580
  const latest = await getLatestVersion(channel);
560566
- if (latest && !gte("1.1.63+ac3052e", latest)) {
560567
- writeToStdout(`Update available: ${"1.1.63+ac3052e"} → ${latest}
560581
+ if (latest && !gte("1.1.65+3a3a8df", latest)) {
560582
+ writeToStdout(`Update available: ${"1.1.65+3a3a8df"} → ${latest}
560568
560583
  `);
560569
560584
  writeToStdout(`
560570
560585
  `);
@@ -560580,8 +560595,8 @@ async function update() {
560580
560595
  writeToStdout(`Vivus is managed by winget.
560581
560596
  `);
560582
560597
  const latest = await getLatestVersion(channel);
560583
- if (latest && !gte("1.1.63+ac3052e", latest)) {
560584
- writeToStdout(`Update available: ${"1.1.63+ac3052e"} → ${latest}
560598
+ if (latest && !gte("1.1.65+3a3a8df", latest)) {
560599
+ writeToStdout(`Update available: ${"1.1.65+3a3a8df"} → ${latest}
560585
560600
  `);
560586
560601
  writeToStdout(`
560587
560602
  `);
@@ -560597,8 +560612,8 @@ async function update() {
560597
560612
  writeToStdout(`Vivus is managed by apk.
560598
560613
  `);
560599
560614
  const latest = await getLatestVersion(channel);
560600
- if (latest && !gte("1.1.63+ac3052e", latest)) {
560601
- writeToStdout(`Update available: ${"1.1.63+ac3052e"} → ${latest}
560615
+ if (latest && !gte("1.1.65+3a3a8df", latest)) {
560616
+ writeToStdout(`Update available: ${"1.1.65+3a3a8df"} → ${latest}
560602
560617
  `);
560603
560618
  writeToStdout(`
560604
560619
  `);
@@ -560663,11 +560678,11 @@ async function update() {
560663
560678
  `);
560664
560679
  await gracefulShutdown(1);
560665
560680
  }
560666
- if (result.latestVersion === "1.1.63+ac3052e") {
560667
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.63+ac3052e"})`) + `
560681
+ if (result.latestVersion === "1.1.65+3a3a8df") {
560682
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.65+3a3a8df"})`) + `
560668
560683
  `);
560669
560684
  } else {
560670
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.63+ac3052e"} to version ${result.latestVersion}`) + `
560685
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.65+3a3a8df"} to version ${result.latestVersion}`) + `
560671
560686
  `);
560672
560687
  await regenerateCompletionCache();
560673
560688
  }
@@ -560724,12 +560739,12 @@ async function update() {
560724
560739
  `);
560725
560740
  await gracefulShutdown(1);
560726
560741
  }
560727
- if (latestVersion === "1.1.63+ac3052e") {
560728
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.63+ac3052e"})`) + `
560742
+ if (latestVersion === "1.1.65+3a3a8df") {
560743
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.65+3a3a8df"})`) + `
560729
560744
  `);
560730
560745
  await gracefulShutdown(0);
560731
560746
  }
560732
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.63+ac3052e"})
560747
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.65+3a3a8df"})
560733
560748
  `);
560734
560749
  writeToStdout(`Installing update...
560735
560750
  `);
@@ -560774,7 +560789,7 @@ async function update() {
560774
560789
  logForDebugging(`update: Installation status: ${status2}`);
560775
560790
  switch (status2) {
560776
560791
  case "success":
560777
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.63+ac3052e"} to version ${latestVersion}`) + `
560792
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.65+3a3a8df"} to version ${latestVersion}`) + `
560778
560793
  `);
560779
560794
  await regenerateCompletionCache();
560780
560795
  break;
@@ -561748,7 +561763,7 @@ function completeOnboarding() {
561748
561763
  saveGlobalConfig((current) => ({
561749
561764
  ...current,
561750
561765
  hasCompletedOnboarding: true,
561751
- lastOnboardingVersion: "1.1.63+ac3052e"
561766
+ lastOnboardingVersion: "1.1.65+3a3a8df"
561752
561767
  }));
561753
561768
  }
561754
561769
  function showDialog(root2, renderer) {
@@ -565884,7 +565899,7 @@ ${customInstructions}` : customInstructions;
565884
565899
  }
565885
565900
  }
565886
565901
  logForDiagnosticsNoPII("info", "started", {
565887
- version: "1.1.63+ac3052e",
565902
+ version: "1.1.65+3a3a8df",
565888
565903
  is_native_binary: isInBundledMode()
565889
565904
  });
565890
565905
  registerCleanup(async () => {
@@ -566682,7 +566697,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
566682
566697
  pendingHookMessages
566683
566698
  }, renderAndRun);
566684
566699
  }
566685
- }).version("1.1.63+ac3052e (Vivus)", "-v, --version", "Output the version number");
566700
+ }).version("1.1.65+3a3a8df (Vivus)", "-v, --version", "Output the version number");
566686
566701
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
566687
566702
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
566688
566703
  if (canUserConfigureAdvisor()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vivus-agent",
3
- "version": "1.1.63",
3
+ "version": "1.1.65",
4
4
  "description": "Vivus — local AI coding agent",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",