vivus-agent 1.1.62 → 1.1.64

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 -119
  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-09T07:27:51.078Z
3
+ // Built from source at 2026-10-09T11:29:51.182Z
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.62+38b7dc8"}`;
108241
+ return `vivus/${"1.1.64+2ea4f2d"}`;
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.62+38b7dc8"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
108263
+ return `vivus-cli/${"1.1.64+2ea4f2d"} (${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.62+38b7dc8"}${suffix}`;
108277
+ return `vivus/${"1.1.64+2ea4f2d"}${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.62+38b7dc8",
108415
+ appVersion: "1.1.64+2ea4f2d",
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.62+38b7dc8".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
119726
+ const match = "1.1.64+2ea4f2d".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.62+38b7dc8",
119766
+ version: "1.1.64+2ea4f2d",
119757
119767
  versionBase: getVersionBase(),
119758
- buildTime: "2026-10-09T07:27:50.288Z",
119768
+ buildTime: "2026-10-09T11:29:50.821Z",
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.62+38b7dc8"
120436
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.64+2ea4f2d"
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.62+38b7dc8");
120463
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.64+2ea4f2d");
120454
120464
  }
120455
120465
  async function reinitialize1PEventLoggingIfConfigChanged() {
120456
120466
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -162679,7 +162689,7 @@ function getAttributionHeader(fingerprint) {
162679
162689
  if (!isAttributionHeaderEnabled()) {
162680
162690
  return "";
162681
162691
  }
162682
- const version2 = `${"1.1.62+38b7dc8"}.${fingerprint}`;
162692
+ const version2 = `${"1.1.64+2ea4f2d"}.${fingerprint}`;
162683
162693
  const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
162684
162694
  const cch = "";
162685
162695
  const workload = getWorkload();
@@ -175842,7 +175852,7 @@ function getTelemetryAttributes() {
175842
175852
  attributes["session.id"] = sessionId;
175843
175853
  }
175844
175854
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
175845
- attributes["app.version"] = "1.1.62+38b7dc8";
175855
+ attributes["app.version"] = "1.1.64+2ea4f2d";
175846
175856
  }
175847
175857
  const oauthAccount = getOauthAccountInfo();
175848
175858
  if (oauthAccount) {
@@ -242461,7 +242471,7 @@ function computeFingerprint(messageText, version2) {
242461
242471
  }
242462
242472
  function computeFingerprintFromMessages(messages) {
242463
242473
  const firstMessageText = extractFirstMessageText(messages);
242464
- return computeFingerprint(firstMessageText, "1.1.62+38b7dc8");
242474
+ return computeFingerprint(firstMessageText, "1.1.64+2ea4f2d");
242465
242475
  }
242466
242476
  var FINGERPRINT_SALT = "59cf53e54c78";
242467
242477
  var init_fingerprint = () => {};
@@ -242503,7 +242513,7 @@ async function sideQuery(opts) {
242503
242513
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
242504
242514
  }
242505
242515
  const messageText = extractFirstUserMessageText(messages);
242506
- const fingerprint = computeFingerprint(messageText, "1.1.62+38b7dc8");
242516
+ const fingerprint = computeFingerprint(messageText, "1.1.64+2ea4f2d");
242507
242517
  const attributionHeader = getAttributionHeader(fingerprint);
242508
242518
  const systemBlocks = [
242509
242519
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -243655,7 +243665,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
243655
243665
  const client2 = new Client({
243656
243666
  name: "vivus",
243657
243667
  title: "Vivus",
243658
- version: "1.1.62+38b7dc8",
243668
+ version: "1.1.64+2ea4f2d",
243659
243669
  description: "Anthropic's agentic coding tool",
243660
243670
  websiteUrl: PRODUCT_URL
243661
243671
  }, {
@@ -244009,7 +244019,7 @@ var init_client6 = __esm(() => {
244009
244019
  const client2 = new Client({
244010
244020
  name: "vivus",
244011
244021
  title: "Vivus",
244012
- version: "1.1.62+38b7dc8",
244022
+ version: "1.1.64+2ea4f2d",
244013
244023
  description: "Anthropic's agentic coding tool",
244014
244024
  websiteUrl: PRODUCT_URL
244015
244025
  }, {
@@ -246070,7 +246080,7 @@ function getInstallationEnv() {
246070
246080
  return;
246071
246081
  }
246072
246082
  function getVivusCodeVersion() {
246073
- return "1.1.62+38b7dc8";
246083
+ return "1.1.64+2ea4f2d";
246074
246084
  }
246075
246085
  async function getInstalledVSCodeExtensionVersion(command) {
246076
246086
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -257174,7 +257184,9 @@ var init_gracefulShutdown = __esm(() => {
257174
257184
  error_message: error41.message.slice(0, 2000)
257175
257185
  });
257176
257186
  logEvent("tengu_uncaught_exception", {
257177
- error_name: error41.name
257187
+ error_name: error41.name,
257188
+ error_message: error41.message?.slice(0, 500),
257189
+ error_stack: error41.stack?.slice(0, 2000)
257178
257190
  });
257179
257191
  });
257180
257192
  process.on("unhandledRejection", (reason) => {
@@ -257186,7 +257198,9 @@ var init_gracefulShutdown = __esm(() => {
257186
257198
  } : { error_message: String(reason).slice(0, 2000) };
257187
257199
  logForDiagnosticsNoPII("error", "unhandled_rejection", errorInfo);
257188
257200
  logEvent("tengu_unhandled_rejection", {
257189
- error_name: errorName
257201
+ error_name: errorName,
257202
+ error_message: (reason instanceof Error ? reason.message : String(reason))?.slice(0, 500),
257203
+ error_stack: reason instanceof Error ? reason.stack?.slice(0, 2000) : undefined
257190
257204
  });
257191
257205
  });
257192
257206
  });
@@ -302157,7 +302171,7 @@ async function initializeBetaTracing(resource) {
302157
302171
  });
302158
302172
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
302159
302173
  setLoggerProvider(loggerProvider);
302160
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.62+38b7dc8");
302174
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.64+2ea4f2d");
302161
302175
  setEventLogger(eventLogger);
302162
302176
  process.on("beforeExit", async () => {
302163
302177
  await loggerProvider?.forceFlush();
@@ -302197,7 +302211,7 @@ async function initializeTelemetry() {
302197
302211
  const platform5 = getPlatform();
302198
302212
  const baseAttributes = {
302199
302213
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
302200
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.62+38b7dc8"
302214
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.64+2ea4f2d"
302201
302215
  };
302202
302216
  if (platform5 === "wsl") {
302203
302217
  const wslVersion = getWslVersion();
@@ -302242,7 +302256,7 @@ async function initializeTelemetry() {
302242
302256
  } catch {}
302243
302257
  };
302244
302258
  registerCleanup(shutdownTelemetry2);
302245
- return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.62+38b7dc8");
302259
+ return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.64+2ea4f2d");
302246
302260
  }
302247
302261
  const meterProvider = new import_sdk_metrics2.MeterProvider({
302248
302262
  resource,
@@ -302262,7 +302276,7 @@ async function initializeTelemetry() {
302262
302276
  });
302263
302277
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
302264
302278
  setLoggerProvider(loggerProvider);
302265
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.62+38b7dc8");
302279
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.64+2ea4f2d");
302266
302280
  setEventLogger(eventLogger);
302267
302281
  logForDebugging("[3P telemetry] Event logger set successfully");
302268
302282
  process.on("beforeExit", async () => {
@@ -302324,7 +302338,7 @@ Current timeout: ${timeoutMs}ms
302324
302338
  }
302325
302339
  };
302326
302340
  registerCleanup(shutdownTelemetry);
302327
- return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.62+38b7dc8");
302341
+ return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.64+2ea4f2d");
302328
302342
  }
302329
302343
  async function flushTelemetry() {
302330
302344
  const meterProvider = getMeterProvider();
@@ -303010,9 +303024,9 @@ async function assertMinVersion() {
303010
303024
  if (false) {}
303011
303025
  try {
303012
303026
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
303013
- if (versionConfig.minVersion && lt("1.1.62+38b7dc8", versionConfig.minVersion)) {
303027
+ if (versionConfig.minVersion && lt("1.1.64+2ea4f2d", versionConfig.minVersion)) {
303014
303028
  console.error(`
303015
- It looks like your version of Vivus (${"1.1.62+38b7dc8"}) needs an update.
303029
+ It looks like your version of Vivus (${"1.1.64+2ea4f2d"}) needs an update.
303016
303030
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
303017
303031
 
303018
303032
  To update, please run:
@@ -303228,7 +303242,7 @@ async function installGlobalPackage(specificVersion) {
303228
303242
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
303229
303243
  logEvent("tengu_auto_updater_lock_contention", {
303230
303244
  pid: process.pid,
303231
- currentVersion: "1.1.62+38b7dc8"
303245
+ currentVersion: "1.1.64+2ea4f2d"
303232
303246
  });
303233
303247
  return "in_progress";
303234
303248
  }
@@ -303237,7 +303251,7 @@ async function installGlobalPackage(specificVersion) {
303237
303251
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
303238
303252
  logError2(new Error("Windows NPM detected in WSL environment"));
303239
303253
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
303240
- currentVersion: "1.1.62+38b7dc8"
303254
+ currentVersion: "1.1.64+2ea4f2d"
303241
303255
  });
303242
303256
  console.error(`
303243
303257
  Error: Windows NPM detected in WSL
@@ -303770,7 +303784,7 @@ function detectLinuxGlobPatternWarnings() {
303770
303784
  }
303771
303785
  async function getDoctorDiagnostic() {
303772
303786
  const installationType = await getCurrentInstallationType();
303773
- const version2 = typeof MACRO !== "undefined" ? "1.1.62+38b7dc8" : "unknown";
303787
+ const version2 = typeof MACRO !== "undefined" ? "1.1.64+2ea4f2d" : "unknown";
303774
303788
  const installationPath = await getInstallationPath();
303775
303789
  const invokedBinary = getInvokedBinary();
303776
303790
  const multipleInstallations = await detectMultipleInstallations();
@@ -304703,8 +304717,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
304703
304717
  const maxVersion = await getMaxVersion();
304704
304718
  if (maxVersion && gt(version2, maxVersion)) {
304705
304719
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
304706
- if (gte("1.1.62+38b7dc8", maxVersion)) {
304707
- logForDebugging(`Native installer: current version ${"1.1.62+38b7dc8"} is already at or above maxVersion ${maxVersion}, skipping update`);
304720
+ if (gte("1.1.64+2ea4f2d", maxVersion)) {
304721
+ logForDebugging(`Native installer: current version ${"1.1.64+2ea4f2d"} is already at or above maxVersion ${maxVersion}, skipping update`);
304708
304722
  logEvent("tengu_native_update_skipped_max_version", {
304709
304723
  latency_ms: Date.now() - startTime,
304710
304724
  max_version: maxVersion,
@@ -304715,7 +304729,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
304715
304729
  version2 = maxVersion;
304716
304730
  }
304717
304731
  }
304718
- if (!forceReinstall && version2 === "1.1.62+38b7dc8" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
304732
+ if (!forceReinstall && version2 === "1.1.64+2ea4f2d" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
304719
304733
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
304720
304734
  logEvent("tengu_native_update_complete", {
304721
304735
  latency_ms: Date.now() - startTime,
@@ -362145,7 +362159,7 @@ function getAnthropicEnvMetadata() {
362145
362159
  function getBuildAgeMinutes() {
362146
362160
  if (false)
362147
362161
  ;
362148
- const buildTime = new Date("2026-10-09T07:27:50.288Z").getTime();
362162
+ const buildTime = new Date("2026-10-09T11:29:50.821Z").getTime();
362149
362163
  if (isNaN(buildTime))
362150
362164
  return;
362151
362165
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -410306,7 +410320,7 @@ var init_filesystem = __esm(() => {
410306
410320
  });
410307
410321
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
410308
410322
  const nonce = randomBytes17(16).toString("hex");
410309
- return join108(getVivusTempDir(), "bundled-skills", "1.1.62+38b7dc8", nonce);
410323
+ return join108(getVivusTempDir(), "bundled-skills", "1.1.64+2ea4f2d", nonce);
410310
410324
  });
410311
410325
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
410312
410326
  });
@@ -412066,7 +412080,7 @@ function Feedback({
412066
412080
  platform: env3.platform,
412067
412081
  gitRepo: envInfo.isGit,
412068
412082
  terminal: env3.terminal,
412069
- version: "1.1.62+38b7dc8",
412083
+ version: "1.1.64+2ea4f2d",
412070
412084
  transcript: normalizeMessagesForAPI(messages),
412071
412085
  errors: sanitizedErrors,
412072
412086
  lastApiRequest: getLastAPIRequest(),
@@ -412258,7 +412272,7 @@ function Feedback({
412258
412272
  ", ",
412259
412273
  env3.terminal,
412260
412274
  ", v",
412261
- "1.1.62+38b7dc8"
412275
+ "1.1.64+2ea4f2d"
412262
412276
  ]
412263
412277
  }, undefined, true, undefined, this)
412264
412278
  ]
@@ -412364,7 +412378,7 @@ ${sanitizedDescription}
412364
412378
  ` + `**Environment Info**
412365
412379
  ` + `- Platform: ${env3.platform}
412366
412380
  ` + `- Terminal: ${env3.terminal}
412367
- ` + `- Version: ${"1.1.62+38b7dc8"}
412381
+ ` + `- Version: ${"1.1.64+2ea4f2d"}
412368
412382
  ` + `- Feedback ID: ${feedbackId}
412369
412383
  ` + `
412370
412384
  **Errors**
@@ -415496,7 +415510,7 @@ function buildPrimarySection() {
415496
415510
  }, undefined, false, undefined, this);
415497
415511
  return [{
415498
415512
  label: "Version",
415499
- value: "1.1.62+38b7dc8"
415513
+ value: "1.1.64+2ea4f2d"
415500
415514
  }, {
415501
415515
  label: "Session name",
415502
415516
  value: nameValue
@@ -419361,7 +419375,7 @@ function Config({
419361
419375
  }
419362
419376
  }, undefined, false, undefined, this)
419363
419377
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
419364
- currentVersion: "1.1.62+38b7dc8",
419378
+ currentVersion: "1.1.64+2ea4f2d",
419365
419379
  onChoice: (choice) => {
419366
419380
  setShowSubmenu(null);
419367
419381
  setTabsHidden(false);
@@ -419373,7 +419387,7 @@ function Config({
419373
419387
  autoUpdatesChannel: "stable"
419374
419388
  };
419375
419389
  if (choice === "stay") {
419376
- newSettings.minimumVersion = "1.1.62+38b7dc8";
419390
+ newSettings.minimumVersion = "1.1.64+2ea4f2d";
419377
419391
  }
419378
419392
  updateSettingsForSource("userSettings", newSettings);
419379
419393
  setSettingsData((prev_27) => ({
@@ -427568,7 +427582,7 @@ function HelpV2(t0) {
427568
427582
  let t6;
427569
427583
  if ($2[31] !== tabs) {
427570
427584
  t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
427571
- title: `Vivus v${"1.1.62+38b7dc8"}`,
427585
+ title: `Vivus v${"1.1.64+2ea4f2d"}`,
427572
427586
  color: "professionalBlue",
427573
427587
  defaultTab: "general",
427574
427588
  children: tabs
@@ -451794,7 +451808,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
451794
451808
  return [];
451795
451809
  }
451796
451810
  }
451797
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.62+38b7dc8") {
451811
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.64+2ea4f2d") {
451798
451812
  if (process.env.USER_TYPE === "ant") {
451799
451813
  const changelog = "";
451800
451814
  if (changelog) {
@@ -451821,7 +451835,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.62+38
451821
451835
  releaseNotes
451822
451836
  };
451823
451837
  }
451824
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.62+38b7dc8") {
451838
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.64+2ea4f2d") {
451825
451839
  if (process.env.USER_TYPE === "ant") {
451826
451840
  const changelog = "";
451827
451841
  if (changelog) {
@@ -452991,7 +453005,7 @@ function getRecentActivitySync() {
452991
453005
  return cachedActivity;
452992
453006
  }
452993
453007
  function getLogoDisplayData() {
452994
- const version2 = process.env.DEMO_VERSION ?? "1.1.62+38b7dc8";
453008
+ const version2 = process.env.DEMO_VERSION ?? "1.1.64+2ea4f2d";
452995
453009
  const serverUrl = getDirectConnectServerUrl();
452996
453010
  const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
452997
453011
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -454518,7 +454532,7 @@ function LogoV2() {
454518
454532
  if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
454519
454533
  t2 = () => {
454520
454534
  const currentConfig = getGlobalConfig();
454521
- if (currentConfig.lastReleaseNotesSeen === "1.1.62+38b7dc8") {
454535
+ if (currentConfig.lastReleaseNotesSeen === "1.1.64+2ea4f2d") {
454522
454536
  return;
454523
454537
  }
454524
454538
  saveGlobalConfig(_temp329);
@@ -455194,12 +455208,12 @@ function LogoV2() {
455194
455208
  return t41;
455195
455209
  }
455196
455210
  function _temp329(current) {
455197
- if (current.lastReleaseNotesSeen === "1.1.62+38b7dc8") {
455211
+ if (current.lastReleaseNotesSeen === "1.1.64+2ea4f2d") {
455198
455212
  return current;
455199
455213
  }
455200
455214
  return {
455201
455215
  ...current,
455202
- lastReleaseNotesSeen: "1.1.62+38b7dc8"
455216
+ lastReleaseNotesSeen: "1.1.64+2ea4f2d"
455203
455217
  };
455204
455218
  }
455205
455219
  function _temp245(s_0) {
@@ -481501,7 +481515,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
481501
481515
  smapsRollup,
481502
481516
  platform: process.platform,
481503
481517
  nodeVersion: process.version,
481504
- ccVersion: "1.1.62+38b7dc8"
481518
+ ccVersion: "1.1.64+2ea4f2d"
481505
481519
  };
481506
481520
  }
481507
481521
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -482087,7 +482101,7 @@ var init_bridge_kick = __esm(() => {
482087
482101
  var call56 = async () => {
482088
482102
  return {
482089
482103
  type: "text",
482090
- value: `${"1.1.62+38b7dc8"} (built ${"2026-10-09T07:27:50.288Z"})`
482104
+ value: `${"1.1.64+2ea4f2d"} (built ${"2026-10-09T11:29:50.821Z"})`
482091
482105
  };
482092
482106
  }, version2, version_default;
482093
482107
  var init_version = __esm(() => {
@@ -491407,7 +491421,7 @@ function generateHtmlReport(data, insights) {
491407
491421
  </html>`;
491408
491422
  }
491409
491423
  function buildExportData(data, insights, facets, remoteStats) {
491410
- const version3 = typeof MACRO !== "undefined" ? "1.1.62+38b7dc8" : "unknown";
491424
+ const version3 = typeof MACRO !== "undefined" ? "1.1.64+2ea4f2d" : "unknown";
491411
491425
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
491412
491426
  const facets_summary = {
491413
491427
  total: facets.size,
@@ -495519,7 +495533,7 @@ var init_sessionStorage = __esm(() => {
495519
495533
  init_settings2();
495520
495534
  init_slowOperations();
495521
495535
  init_uuid();
495522
- VERSION5 = typeof MACRO !== "undefined" ? "1.1.62+38b7dc8" : "unknown";
495536
+ VERSION5 = typeof MACRO !== "undefined" ? "1.1.64+2ea4f2d" : "unknown";
495523
495537
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
495524
495538
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
495525
495539
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -498391,7 +498405,7 @@ function buildSystemInitMessage(inputs) {
498391
498405
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
498392
498406
  apiKeySource: getAnthropicApiKeyWithSource().source,
498393
498407
  betas: getSdkBetas(),
498394
- vivus_code_version: "1.1.62+38b7dc8",
498408
+ vivus_code_version: "1.1.64+2ea4f2d",
498395
498409
  output_style: outputStyle2,
498396
498410
  agents: inputs.agents.map((agent) => agent.agentType),
498397
498411
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -513103,7 +513117,7 @@ var init_useVoiceEnabled = __esm(() => {
513103
513117
  function getSemverPart(version3) {
513104
513118
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
513105
513119
  }
513106
- function useUpdateNotification(updatedVersion, initialVersion = "1.1.62+38b7dc8") {
513120
+ function useUpdateNotification(updatedVersion, initialVersion = "1.1.64+2ea4f2d") {
513107
513121
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
513108
513122
  if (!updatedVersion) {
513109
513123
  return null;
@@ -513143,7 +513157,7 @@ function AutoUpdater({
513143
513157
  return;
513144
513158
  }
513145
513159
  if (false) {}
513146
- const currentVersion = "1.1.62+38b7dc8";
513160
+ const currentVersion = "1.1.64+2ea4f2d";
513147
513161
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
513148
513162
  let latestVersion = await getLatestVersion(channel);
513149
513163
  const isDisabled = isAutoUpdaterDisabled();
@@ -513356,12 +513370,12 @@ function NativeAutoUpdater({
513356
513370
  logEvent("tengu_native_auto_updater_start", {});
513357
513371
  try {
513358
513372
  const maxVersion = await getMaxVersion();
513359
- if (maxVersion && gt("1.1.62+38b7dc8", maxVersion)) {
513373
+ if (maxVersion && gt("1.1.64+2ea4f2d", maxVersion)) {
513360
513374
  const msg = await getMaxVersionMessage();
513361
513375
  setMaxVersionIssue(msg ?? "affects your version");
513362
513376
  }
513363
513377
  const result = await installLatest(channel);
513364
- const currentVersion = "1.1.62+38b7dc8";
513378
+ const currentVersion = "1.1.64+2ea4f2d";
513365
513379
  const latencyMs = Date.now() - startTime;
513366
513380
  if (result.lockFailed) {
513367
513381
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -513498,17 +513512,17 @@ function PackageManagerAutoUpdater(t0) {
513498
513512
  const maxVersion = await getMaxVersion();
513499
513513
  if (maxVersion && latest && gt(latest, maxVersion)) {
513500
513514
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
513501
- if (gte("1.1.62+38b7dc8", maxVersion)) {
513502
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.62+38b7dc8"} is already at or above maxVersion ${maxVersion}, skipping update`);
513515
+ if (gte("1.1.64+2ea4f2d", maxVersion)) {
513516
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.64+2ea4f2d"} is already at or above maxVersion ${maxVersion}, skipping update`);
513503
513517
  setUpdateAvailable(false);
513504
513518
  return;
513505
513519
  }
513506
513520
  latest = maxVersion;
513507
513521
  }
513508
- const hasUpdate = latest && !gte("1.1.62+38b7dc8", latest) && !shouldSkipVersion(latest);
513522
+ const hasUpdate = latest && !gte("1.1.64+2ea4f2d", latest) && !shouldSkipVersion(latest);
513509
513523
  setUpdateAvailable(!!hasUpdate);
513510
513524
  if (hasUpdate) {
513511
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.62+38b7dc8"} -> ${latest}`);
513525
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.64+2ea4f2d"} -> ${latest}`);
513512
513526
  }
513513
513527
  };
513514
513528
  $2[0] = t1;
@@ -513542,7 +513556,7 @@ function PackageManagerAutoUpdater(t0) {
513542
513556
  wrap: "truncate",
513543
513557
  children: [
513544
513558
  "currentVersion: ",
513545
- "1.1.62+38b7dc8"
513559
+ "1.1.64+2ea4f2d"
513546
513560
  ]
513547
513561
  }, undefined, true, undefined, this);
513548
513562
  $2[3] = verbose;
@@ -521726,7 +521740,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
521726
521740
  project_dir: getOriginalCwd(),
521727
521741
  added_dirs: addedDirs
521728
521742
  },
521729
- version: "1.1.62+38b7dc8",
521743
+ version: "1.1.64+2ea4f2d",
521730
521744
  output_style: {
521731
521745
  name: outputStyleName
521732
521746
  },
@@ -533378,7 +533392,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
533378
533392
  } catch {}
533379
533393
  const data = {
533380
533394
  trigger,
533381
- version: "1.1.62+38b7dc8",
533395
+ version: "1.1.64+2ea4f2d",
533382
533396
  platform: process.platform,
533383
533397
  transcript,
533384
533398
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -544849,7 +544863,7 @@ function WelcomeV2() {
544849
544863
  dimColor: true,
544850
544864
  children: [
544851
544865
  "v",
544852
- "1.1.62+38b7dc8",
544866
+ "1.1.64+2ea4f2d",
544853
544867
  " "
544854
544868
  ]
544855
544869
  }, undefined, true, undefined, this)
@@ -545049,7 +545063,7 @@ function WelcomeV2() {
545049
545063
  dimColor: true,
545050
545064
  children: [
545051
545065
  "v",
545052
- "1.1.62+38b7dc8",
545066
+ "1.1.64+2ea4f2d",
545053
545067
  " "
545054
545068
  ]
545055
545069
  }, undefined, true, undefined, this)
@@ -545275,7 +545289,7 @@ function AppleTerminalWelcomeV2(t0) {
545275
545289
  dimColor: true,
545276
545290
  children: [
545277
545291
  "v",
545278
- "1.1.62+38b7dc8",
545292
+ "1.1.64+2ea4f2d",
545279
545293
  " "
545280
545294
  ]
545281
545295
  }, undefined, true, undefined, this);
@@ -545529,7 +545543,7 @@ function AppleTerminalWelcomeV2(t0) {
545529
545543
  dimColor: true,
545530
545544
  children: [
545531
545545
  "v",
545532
- "1.1.62+38b7dc8",
545546
+ "1.1.64+2ea4f2d",
545533
545547
  " "
545534
545548
  ]
545535
545549
  }, undefined, true, undefined, this);
@@ -548602,7 +548616,7 @@ function appendToLog(path25, message) {
548602
548616
  cwd: getFsImplementation().cwd(),
548603
548617
  userType: process.env.USER_TYPE,
548604
548618
  sessionId: getSessionId(),
548605
- version: "1.1.62+38b7dc8"
548619
+ version: "1.1.64+2ea4f2d"
548606
548620
  };
548607
548621
  getLogWriter(path25).write(messageWithTimestamp);
548608
548622
  }
@@ -552597,8 +552611,8 @@ async function getEnvLessBridgeConfig() {
552597
552611
  }
552598
552612
  async function checkEnvLessBridgeMinVersion() {
552599
552613
  const cfg = await getEnvLessBridgeConfig();
552600
- if (cfg.min_version && lt("1.1.62+38b7dc8", cfg.min_version)) {
552601
- return `Your version of Vivus (${"1.1.62+38b7dc8"}) is too old for Remote Control.
552614
+ if (cfg.min_version && lt("1.1.64+2ea4f2d", cfg.min_version)) {
552615
+ return `Your version of Vivus (${"1.1.64+2ea4f2d"}) is too old for Remote Control.
552602
552616
  Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
552603
552617
  }
552604
552618
  return null;
@@ -553072,7 +553086,7 @@ async function initBridgeCore(params) {
553072
553086
  const rawApi = createBridgeApiClient({
553073
553087
  baseUrl,
553074
553088
  getAccessToken,
553075
- runnerVersion: "1.1.62+38b7dc8",
553089
+ runnerVersion: "1.1.64+2ea4f2d",
553076
553090
  onDebug: logForDebugging,
553077
553091
  onAuth401,
553078
553092
  getTrustedDeviceToken
@@ -558751,7 +558765,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
558751
558765
  setCwd(cwd3);
558752
558766
  const server = new Server({
558753
558767
  name: "vivus/tengu",
558754
- version: "1.1.62+38b7dc8"
558768
+ version: "1.1.64+2ea4f2d"
558755
558769
  }, {
558756
558770
  capabilities: {
558757
558771
  tools: {}
@@ -560484,7 +560498,7 @@ __export(exports_update, {
560484
560498
  });
560485
560499
  async function update() {
560486
560500
  logEvent("tengu_update_check", {});
560487
- writeToStdout(`Current version: ${"1.1.62+38b7dc8"}
560501
+ writeToStdout(`Current version: ${"1.1.64+2ea4f2d"}
560488
560502
  `);
560489
560503
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
560490
560504
  writeToStdout(`Checking for updates to ${channel} version...
@@ -560559,8 +560573,8 @@ async function update() {
560559
560573
  writeToStdout(`Vivus is managed by Homebrew.
560560
560574
  `);
560561
560575
  const latest = await getLatestVersion(channel);
560562
- if (latest && !gte("1.1.62+38b7dc8", latest)) {
560563
- writeToStdout(`Update available: ${"1.1.62+38b7dc8"} → ${latest}
560576
+ if (latest && !gte("1.1.64+2ea4f2d", latest)) {
560577
+ writeToStdout(`Update available: ${"1.1.64+2ea4f2d"} → ${latest}
560564
560578
  `);
560565
560579
  writeToStdout(`
560566
560580
  `);
@@ -560576,8 +560590,8 @@ async function update() {
560576
560590
  writeToStdout(`Vivus is managed by winget.
560577
560591
  `);
560578
560592
  const latest = await getLatestVersion(channel);
560579
- if (latest && !gte("1.1.62+38b7dc8", latest)) {
560580
- writeToStdout(`Update available: ${"1.1.62+38b7dc8"} → ${latest}
560593
+ if (latest && !gte("1.1.64+2ea4f2d", latest)) {
560594
+ writeToStdout(`Update available: ${"1.1.64+2ea4f2d"} → ${latest}
560581
560595
  `);
560582
560596
  writeToStdout(`
560583
560597
  `);
@@ -560593,8 +560607,8 @@ async function update() {
560593
560607
  writeToStdout(`Vivus is managed by apk.
560594
560608
  `);
560595
560609
  const latest = await getLatestVersion(channel);
560596
- if (latest && !gte("1.1.62+38b7dc8", latest)) {
560597
- writeToStdout(`Update available: ${"1.1.62+38b7dc8"} → ${latest}
560610
+ if (latest && !gte("1.1.64+2ea4f2d", latest)) {
560611
+ writeToStdout(`Update available: ${"1.1.64+2ea4f2d"} → ${latest}
560598
560612
  `);
560599
560613
  writeToStdout(`
560600
560614
  `);
@@ -560659,11 +560673,11 @@ async function update() {
560659
560673
  `);
560660
560674
  await gracefulShutdown(1);
560661
560675
  }
560662
- if (result.latestVersion === "1.1.62+38b7dc8") {
560663
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.62+38b7dc8"})`) + `
560676
+ if (result.latestVersion === "1.1.64+2ea4f2d") {
560677
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.64+2ea4f2d"})`) + `
560664
560678
  `);
560665
560679
  } else {
560666
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.62+38b7dc8"} to version ${result.latestVersion}`) + `
560680
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.64+2ea4f2d"} to version ${result.latestVersion}`) + `
560667
560681
  `);
560668
560682
  await regenerateCompletionCache();
560669
560683
  }
@@ -560720,12 +560734,12 @@ async function update() {
560720
560734
  `);
560721
560735
  await gracefulShutdown(1);
560722
560736
  }
560723
- if (latestVersion === "1.1.62+38b7dc8") {
560724
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.62+38b7dc8"})`) + `
560737
+ if (latestVersion === "1.1.64+2ea4f2d") {
560738
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.64+2ea4f2d"})`) + `
560725
560739
  `);
560726
560740
  await gracefulShutdown(0);
560727
560741
  }
560728
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.62+38b7dc8"})
560742
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.64+2ea4f2d"})
560729
560743
  `);
560730
560744
  writeToStdout(`Installing update...
560731
560745
  `);
@@ -560770,7 +560784,7 @@ async function update() {
560770
560784
  logForDebugging(`update: Installation status: ${status2}`);
560771
560785
  switch (status2) {
560772
560786
  case "success":
560773
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.62+38b7dc8"} to version ${latestVersion}`) + `
560787
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.64+2ea4f2d"} to version ${latestVersion}`) + `
560774
560788
  `);
560775
560789
  await regenerateCompletionCache();
560776
560790
  break;
@@ -561744,7 +561758,7 @@ function completeOnboarding() {
561744
561758
  saveGlobalConfig((current) => ({
561745
561759
  ...current,
561746
561760
  hasCompletedOnboarding: true,
561747
- lastOnboardingVersion: "1.1.62+38b7dc8"
561761
+ lastOnboardingVersion: "1.1.64+2ea4f2d"
561748
561762
  }));
561749
561763
  }
561750
561764
  function showDialog(root2, renderer) {
@@ -565880,7 +565894,7 @@ ${customInstructions}` : customInstructions;
565880
565894
  }
565881
565895
  }
565882
565896
  logForDiagnosticsNoPII("info", "started", {
565883
- version: "1.1.62+38b7dc8",
565897
+ version: "1.1.64+2ea4f2d",
565884
565898
  is_native_binary: isInBundledMode()
565885
565899
  });
565886
565900
  registerCleanup(async () => {
@@ -566678,7 +566692,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
566678
566692
  pendingHookMessages
566679
566693
  }, renderAndRun);
566680
566694
  }
566681
- }).version("1.1.62+38b7dc8 (Vivus)", "-v, --version", "Output the version number");
566695
+ }).version("1.1.64+2ea4f2d (Vivus)", "-v, --version", "Output the version number");
566682
566696
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
566683
566697
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
566684
566698
  if (canUserConfigureAdvisor()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vivus-agent",
3
- "version": "1.1.62",
3
+ "version": "1.1.64",
4
4
  "description": "Vivus — local AI coding agent",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",