vivus-agent 1.1.66 → 1.1.68

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 +117 -105
  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-11T06:06:44.054Z
3
+ // Built from source at 2026-10-11T10:34:57.331Z
4
4
  import { createRequire } from "node:module";
5
5
  var __create = Object.create;
6
6
  var __getProtoOf = Object.getPrototypeOf;
@@ -104674,7 +104674,7 @@ function isProxyCapabilitiesEligible() {
104674
104674
  const baseUrl = process.env.ANTHROPIC_BASE_URL;
104675
104675
  if (!baseUrl)
104676
104676
  return false;
104677
- if (isFirstPartyAnthropicBaseUrl())
104677
+ if (!isUsingProxyBaseUrl())
104678
104678
  return false;
104679
104679
  try {
104680
104680
  new URL(baseUrl);
@@ -108238,7 +108238,7 @@ var init_auth = __esm(() => {
108238
108238
 
108239
108239
  // src/utils/userAgent.ts
108240
108240
  function getVivusCodeUserAgent() {
108241
- return `vivus/${"1.1.66+ab651e8"}`;
108241
+ return `vivus/${"1.1.68+3df662d"}`;
108242
108242
  }
108243
108243
 
108244
108244
  // src/utils/workloadContext.ts
@@ -108260,7 +108260,7 @@ function getUserAgent() {
108260
108260
  const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
108261
108261
  const workload = getWorkload();
108262
108262
  const workloadSuffix = workload ? `, workload/${workload}` : "";
108263
- return `vivus-cli/${"1.1.66+ab651e8"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
108263
+ return `vivus-cli/${"1.1.68+3df662d"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
108264
108264
  }
108265
108265
  function getMCPUserAgent() {
108266
108266
  const parts = [];
@@ -108274,7 +108274,7 @@ function getMCPUserAgent() {
108274
108274
  parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
108275
108275
  }
108276
108276
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
108277
- return `vivus/${"1.1.66+ab651e8"}${suffix}`;
108277
+ return `vivus/${"1.1.68+3df662d"}${suffix}`;
108278
108278
  }
108279
108279
  function getWebFetchUserAgent() {
108280
108280
  return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -108412,7 +108412,7 @@ var init_user = __esm(() => {
108412
108412
  deviceId,
108413
108413
  sessionId: getSessionId(),
108414
108414
  email: getEmail(),
108415
- appVersion: "1.1.66+ab651e8",
108415
+ appVersion: "1.1.68+3df662d",
108416
108416
  platform: getHostPlatformForAnalytics(),
108417
108417
  organizationUuid,
108418
108418
  accountUuid,
@@ -119723,7 +119723,7 @@ var init_metadata = __esm(() => {
119723
119723
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
119724
119724
  WHITESPACE_REGEX = /\s+/;
119725
119725
  getVersionBase = memoize_default(() => {
119726
- const match = "1.1.66+ab651e8".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
119726
+ const match = "1.1.68+3df662d".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
119727
119727
  return match ? match[0] : undefined;
119728
119728
  });
119729
119729
  buildEnvContext = memoize_default(async () => {
@@ -119763,9 +119763,9 @@ var init_metadata = __esm(() => {
119763
119763
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
119764
119764
  isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
119765
119765
  isVivusAiAuth: isVivusAISubscriber(),
119766
- version: "1.1.66+ab651e8",
119766
+ version: "1.1.68+3df662d",
119767
119767
  versionBase: getVersionBase(),
119768
- buildTime: "2026-10-11T06:06:43.430Z",
119768
+ buildTime: "2026-10-11T10:34:56.954Z",
119769
119769
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
119770
119770
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
119771
119771
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -120433,7 +120433,7 @@ function initialize1PEventLogging() {
120433
120433
  const platform2 = getPlatform();
120434
120434
  const attributes = {
120435
120435
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
120436
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.66+ab651e8"
120436
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.68+3df662d"
120437
120437
  };
120438
120438
  if (platform2 === "wsl") {
120439
120439
  const wslVersion = getWslVersion();
@@ -120460,7 +120460,7 @@ function initialize1PEventLogging() {
120460
120460
  })
120461
120461
  ]
120462
120462
  });
120463
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.66+ab651e8");
120463
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.68+3df662d");
120464
120464
  }
120465
120465
  async function reinitialize1PEventLoggingIfConfigChanged() {
120466
120466
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -162692,7 +162692,7 @@ function getAttributionHeader(fingerprint) {
162692
162692
  if (!isAttributionHeaderEnabled()) {
162693
162693
  return "";
162694
162694
  }
162695
- const version2 = `${"1.1.66+ab651e8"}.${fingerprint}`;
162695
+ const version2 = `${"1.1.68+3df662d"}.${fingerprint}`;
162696
162696
  const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
162697
162697
  const cch = "";
162698
162698
  const workload = getWorkload();
@@ -175855,7 +175855,7 @@ function getTelemetryAttributes() {
175855
175855
  attributes["session.id"] = sessionId;
175856
175856
  }
175857
175857
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
175858
- attributes["app.version"] = "1.1.66+ab651e8";
175858
+ attributes["app.version"] = "1.1.68+3df662d";
175859
175859
  }
175860
175860
  const oauthAccount = getOauthAccountInfo();
175861
175861
  if (oauthAccount) {
@@ -242474,7 +242474,7 @@ function computeFingerprint(messageText, version2) {
242474
242474
  }
242475
242475
  function computeFingerprintFromMessages(messages) {
242476
242476
  const firstMessageText = extractFirstMessageText(messages);
242477
- return computeFingerprint(firstMessageText, "1.1.66+ab651e8");
242477
+ return computeFingerprint(firstMessageText, "1.1.68+3df662d");
242478
242478
  }
242479
242479
  var FINGERPRINT_SALT = "59cf53e54c78";
242480
242480
  var init_fingerprint = () => {};
@@ -242516,7 +242516,7 @@ async function sideQuery(opts) {
242516
242516
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
242517
242517
  }
242518
242518
  const messageText = extractFirstUserMessageText(messages);
242519
- const fingerprint = computeFingerprint(messageText, "1.1.66+ab651e8");
242519
+ const fingerprint = computeFingerprint(messageText, "1.1.68+3df662d");
242520
242520
  const attributionHeader = getAttributionHeader(fingerprint);
242521
242521
  const systemBlocks = [
242522
242522
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -243668,7 +243668,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
243668
243668
  const client2 = new Client({
243669
243669
  name: "vivus",
243670
243670
  title: "Vivus",
243671
- version: "1.1.66+ab651e8",
243671
+ version: "1.1.68+3df662d",
243672
243672
  description: "Anthropic's agentic coding tool",
243673
243673
  websiteUrl: PRODUCT_URL
243674
243674
  }, {
@@ -244022,7 +244022,7 @@ var init_client6 = __esm(() => {
244022
244022
  const client2 = new Client({
244023
244023
  name: "vivus",
244024
244024
  title: "Vivus",
244025
- version: "1.1.66+ab651e8",
244025
+ version: "1.1.68+3df662d",
244026
244026
  description: "Anthropic's agentic coding tool",
244027
244027
  websiteUrl: PRODUCT_URL
244028
244028
  }, {
@@ -246083,7 +246083,7 @@ function getInstallationEnv() {
246083
246083
  return;
246084
246084
  }
246085
246085
  function getVivusCodeVersion() {
246086
- return "1.1.66+ab651e8";
246086
+ return "1.1.68+3df662d";
246087
246087
  }
246088
246088
  async function getInstalledVSCodeExtensionVersion(command) {
246089
246089
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -253883,19 +253883,17 @@ function toCompactBlock(block2, role, lookup) {
253883
253883
  function toCompact(entry, lookup) {
253884
253884
  return entry.content.map((b) => toCompactBlock(b, entry.role, lookup)).join("");
253885
253885
  }
253886
- function buildTranscriptForClassifier(messages, tools) {
253887
- const lookup = buildToolLookup(tools);
253888
- const parts = buildTranscriptEntries(messages).map((e) => toCompact(e, lookup));
253889
- const lengths = parts.map((p) => p.length);
253890
- const total = lengths.reduce((n2, l) => n2 + l, 0);
253886
+ function boundTranscriptEntries(entries, lookup) {
253887
+ const sizes = entries.map((e) => e.content.reduce((n2, b) => n2 + toCompactBlock(b, e.role, lookup).length, 0));
253888
+ const total = sizes.reduce((n2, s) => n2 + s, 0);
253891
253889
  if (total <= CLASSIFIER_TRANSCRIPT_MAX_CHARS)
253892
- return parts.join("");
253893
- const head = Math.min(CLASSIFIER_HEAD_ENTRIES, parts.length);
253894
- const headChars = lengths.slice(0, head).reduce((n2, l) => n2 + l, 0);
253895
- const droppable = parts.length - head;
253896
- const tailFrom = new Array(parts.length + 1).fill(0);
253897
- for (let i2 = parts.length - 1;i2 >= 0; i2--) {
253898
- tailFrom[i2] = tailFrom[i2 + 1] + lengths[i2];
253890
+ return entries;
253891
+ const head = Math.min(CLASSIFIER_HEAD_ENTRIES, entries.length);
253892
+ const headChars = sizes.slice(0, head).reduce((n2, s) => n2 + s, 0);
253893
+ const droppable = entries.length - head;
253894
+ const tailFrom = new Array(entries.length + 1).fill(0);
253895
+ for (let i2 = entries.length - 1;i2 >= 0; i2--) {
253896
+ tailFrom[i2] = tailFrom[i2 + 1] + sizes[i2];
253899
253897
  }
253900
253898
  let drop = 0;
253901
253899
  while (drop < droppable && headChars + tailFrom[head + drop] > CLASSIFIER_TRANSCRIPT_MAX_CHARS) {
@@ -253903,10 +253901,24 @@ function buildTranscriptForClassifier(messages, tools) {
253903
253901
  }
253904
253902
  drop = Math.min(drop, droppable);
253905
253903
  if (drop === 0)
253906
- return parts.join("");
253907
- return parts.slice(0, head).join("") + `
253908
- [... ${drop} earlier transcript entries omitted for length ...]
253909
- ` + parts.slice(head + drop).join("");
253904
+ return entries;
253905
+ return [
253906
+ ...entries.slice(0, head),
253907
+ {
253908
+ role: "user",
253909
+ content: [
253910
+ {
253911
+ type: "text",
253912
+ text: `[... ${drop} earlier transcript entries omitted for length ...]`
253913
+ }
253914
+ ]
253915
+ },
253916
+ ...entries.slice(head + drop)
253917
+ ];
253918
+ }
253919
+ function buildTranscriptForClassifier(messages, tools) {
253920
+ const lookup = buildToolLookup(tools);
253921
+ return boundTranscriptEntries(buildTranscriptEntries(messages), lookup).map((e) => toCompact(e, lookup)).join("");
253910
253922
  }
253911
253923
  function buildVivusMdMessage() {
253912
253924
  const vivusMd = getCachedVivusMdContent();
@@ -254252,7 +254264,7 @@ async function classifyYoloAction(messages, action2, tools, context, signal) {
254252
254264
  };
254253
254265
  }
254254
254266
  const systemPrompt = await buildYoloSystemPrompt(context);
254255
- const transcriptEntries = buildTranscriptEntries(messages);
254267
+ const transcriptEntries = boundTranscriptEntries(buildTranscriptEntries(messages), lookup);
254256
254268
  const vivusMdMessage = buildVivusMdMessage();
254257
254269
  const prefixMessages = vivusMdMessage ? [vivusMdMessage] : [];
254258
254270
  let toolCallsLength = actionCompact.length;
@@ -302205,7 +302217,7 @@ async function initializeBetaTracing(resource) {
302205
302217
  });
302206
302218
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
302207
302219
  setLoggerProvider(loggerProvider);
302208
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.66+ab651e8");
302220
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.68+3df662d");
302209
302221
  setEventLogger(eventLogger);
302210
302222
  process.on("beforeExit", async () => {
302211
302223
  await loggerProvider?.forceFlush();
@@ -302245,7 +302257,7 @@ async function initializeTelemetry() {
302245
302257
  const platform5 = getPlatform();
302246
302258
  const baseAttributes = {
302247
302259
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
302248
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.66+ab651e8"
302260
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.68+3df662d"
302249
302261
  };
302250
302262
  if (platform5 === "wsl") {
302251
302263
  const wslVersion = getWslVersion();
@@ -302290,7 +302302,7 @@ async function initializeTelemetry() {
302290
302302
  } catch {}
302291
302303
  };
302292
302304
  registerCleanup(shutdownTelemetry2);
302293
- return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.66+ab651e8");
302305
+ return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.68+3df662d");
302294
302306
  }
302295
302307
  const meterProvider = new import_sdk_metrics2.MeterProvider({
302296
302308
  resource,
@@ -302310,7 +302322,7 @@ async function initializeTelemetry() {
302310
302322
  });
302311
302323
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
302312
302324
  setLoggerProvider(loggerProvider);
302313
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.66+ab651e8");
302325
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.68+3df662d");
302314
302326
  setEventLogger(eventLogger);
302315
302327
  logForDebugging("[3P telemetry] Event logger set successfully");
302316
302328
  process.on("beforeExit", async () => {
@@ -302372,7 +302384,7 @@ Current timeout: ${timeoutMs}ms
302372
302384
  }
302373
302385
  };
302374
302386
  registerCleanup(shutdownTelemetry);
302375
- return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.66+ab651e8");
302387
+ return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.68+3df662d");
302376
302388
  }
302377
302389
  async function flushTelemetry() {
302378
302390
  const meterProvider = getMeterProvider();
@@ -303058,9 +303070,9 @@ async function assertMinVersion() {
303058
303070
  if (false) {}
303059
303071
  try {
303060
303072
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
303061
- if (versionConfig.minVersion && lt("1.1.66+ab651e8", versionConfig.minVersion)) {
303073
+ if (versionConfig.minVersion && lt("1.1.68+3df662d", versionConfig.minVersion)) {
303062
303074
  console.error(`
303063
- It looks like your version of Vivus (${"1.1.66+ab651e8"}) needs an update.
303075
+ It looks like your version of Vivus (${"1.1.68+3df662d"}) needs an update.
303064
303076
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
303065
303077
 
303066
303078
  To update, please run:
@@ -303276,7 +303288,7 @@ async function installGlobalPackage(specificVersion) {
303276
303288
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
303277
303289
  logEvent("tengu_auto_updater_lock_contention", {
303278
303290
  pid: process.pid,
303279
- currentVersion: "1.1.66+ab651e8"
303291
+ currentVersion: "1.1.68+3df662d"
303280
303292
  });
303281
303293
  return "in_progress";
303282
303294
  }
@@ -303285,7 +303297,7 @@ async function installGlobalPackage(specificVersion) {
303285
303297
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
303286
303298
  logError2(new Error("Windows NPM detected in WSL environment"));
303287
303299
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
303288
- currentVersion: "1.1.66+ab651e8"
303300
+ currentVersion: "1.1.68+3df662d"
303289
303301
  });
303290
303302
  console.error(`
303291
303303
  Error: Windows NPM detected in WSL
@@ -303818,7 +303830,7 @@ function detectLinuxGlobPatternWarnings() {
303818
303830
  }
303819
303831
  async function getDoctorDiagnostic() {
303820
303832
  const installationType = await getCurrentInstallationType();
303821
- const version2 = typeof MACRO !== "undefined" ? "1.1.66+ab651e8" : "unknown";
303833
+ const version2 = typeof MACRO !== "undefined" ? "1.1.68+3df662d" : "unknown";
303822
303834
  const installationPath = await getInstallationPath();
303823
303835
  const invokedBinary = getInvokedBinary();
303824
303836
  const multipleInstallations = await detectMultipleInstallations();
@@ -304751,8 +304763,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
304751
304763
  const maxVersion = await getMaxVersion();
304752
304764
  if (maxVersion && gt(version2, maxVersion)) {
304753
304765
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
304754
- if (gte("1.1.66+ab651e8", maxVersion)) {
304755
- logForDebugging(`Native installer: current version ${"1.1.66+ab651e8"} is already at or above maxVersion ${maxVersion}, skipping update`);
304766
+ if (gte("1.1.68+3df662d", maxVersion)) {
304767
+ logForDebugging(`Native installer: current version ${"1.1.68+3df662d"} is already at or above maxVersion ${maxVersion}, skipping update`);
304756
304768
  logEvent("tengu_native_update_skipped_max_version", {
304757
304769
  latency_ms: Date.now() - startTime,
304758
304770
  max_version: maxVersion,
@@ -304763,7 +304775,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
304763
304775
  version2 = maxVersion;
304764
304776
  }
304765
304777
  }
304766
- if (!forceReinstall && version2 === "1.1.66+ab651e8" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
304778
+ if (!forceReinstall && version2 === "1.1.68+3df662d" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
304767
304779
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
304768
304780
  logEvent("tengu_native_update_complete", {
304769
304781
  latency_ms: Date.now() - startTime,
@@ -362193,7 +362205,7 @@ function getAnthropicEnvMetadata() {
362193
362205
  function getBuildAgeMinutes() {
362194
362206
  if (false)
362195
362207
  ;
362196
- const buildTime = new Date("2026-10-11T06:06:43.430Z").getTime();
362208
+ const buildTime = new Date("2026-10-11T10:34:56.954Z").getTime();
362197
362209
  if (isNaN(buildTime))
362198
362210
  return;
362199
362211
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -410354,7 +410366,7 @@ var init_filesystem = __esm(() => {
410354
410366
  });
410355
410367
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
410356
410368
  const nonce = randomBytes17(16).toString("hex");
410357
- return join108(getVivusTempDir(), "bundled-skills", "1.1.66+ab651e8", nonce);
410369
+ return join108(getVivusTempDir(), "bundled-skills", "1.1.68+3df662d", nonce);
410358
410370
  });
410359
410371
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
410360
410372
  });
@@ -412114,7 +412126,7 @@ function Feedback({
412114
412126
  platform: env3.platform,
412115
412127
  gitRepo: envInfo.isGit,
412116
412128
  terminal: env3.terminal,
412117
- version: "1.1.66+ab651e8",
412129
+ version: "1.1.68+3df662d",
412118
412130
  transcript: normalizeMessagesForAPI(messages),
412119
412131
  errors: sanitizedErrors,
412120
412132
  lastApiRequest: getLastAPIRequest(),
@@ -412306,7 +412318,7 @@ function Feedback({
412306
412318
  ", ",
412307
412319
  env3.terminal,
412308
412320
  ", v",
412309
- "1.1.66+ab651e8"
412321
+ "1.1.68+3df662d"
412310
412322
  ]
412311
412323
  }, undefined, true, undefined, this)
412312
412324
  ]
@@ -412412,7 +412424,7 @@ ${sanitizedDescription}
412412
412424
  ` + `**Environment Info**
412413
412425
  ` + `- Platform: ${env3.platform}
412414
412426
  ` + `- Terminal: ${env3.terminal}
412415
- ` + `- Version: ${"1.1.66+ab651e8"}
412427
+ ` + `- Version: ${"1.1.68+3df662d"}
412416
412428
  ` + `- Feedback ID: ${feedbackId}
412417
412429
  ` + `
412418
412430
  **Errors**
@@ -415544,7 +415556,7 @@ function buildPrimarySection() {
415544
415556
  }, undefined, false, undefined, this);
415545
415557
  return [{
415546
415558
  label: "Version",
415547
- value: "1.1.66+ab651e8"
415559
+ value: "1.1.68+3df662d"
415548
415560
  }, {
415549
415561
  label: "Session name",
415550
415562
  value: nameValue
@@ -419409,7 +419421,7 @@ function Config({
419409
419421
  }
419410
419422
  }, undefined, false, undefined, this)
419411
419423
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime179.jsxDEV(ChannelDowngradeDialog, {
419412
- currentVersion: "1.1.66+ab651e8",
419424
+ currentVersion: "1.1.68+3df662d",
419413
419425
  onChoice: (choice) => {
419414
419426
  setShowSubmenu(null);
419415
419427
  setTabsHidden(false);
@@ -419421,7 +419433,7 @@ function Config({
419421
419433
  autoUpdatesChannel: "stable"
419422
419434
  };
419423
419435
  if (choice === "stay") {
419424
- newSettings.minimumVersion = "1.1.66+ab651e8";
419436
+ newSettings.minimumVersion = "1.1.68+3df662d";
419425
419437
  }
419426
419438
  updateSettingsForSource("userSettings", newSettings);
419427
419439
  setSettingsData((prev_27) => ({
@@ -427616,7 +427628,7 @@ function HelpV2(t0) {
427616
427628
  let t6;
427617
427629
  if ($2[31] !== tabs) {
427618
427630
  t6 = /* @__PURE__ */ jsx_dev_runtime206.jsxDEV(Tabs, {
427619
- title: `Vivus v${"1.1.66+ab651e8"}`,
427631
+ title: `Vivus v${"1.1.68+3df662d"}`,
427620
427632
  color: "professionalBlue",
427621
427633
  defaultTab: "general",
427622
427634
  children: tabs
@@ -451842,7 +451854,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
451842
451854
  return [];
451843
451855
  }
451844
451856
  }
451845
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.66+ab651e8") {
451857
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.68+3df662d") {
451846
451858
  if (process.env.USER_TYPE === "ant") {
451847
451859
  const changelog = "";
451848
451860
  if (changelog) {
@@ -451869,7 +451881,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.66+ab
451869
451881
  releaseNotes
451870
451882
  };
451871
451883
  }
451872
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.66+ab651e8") {
451884
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.68+3df662d") {
451873
451885
  if (process.env.USER_TYPE === "ant") {
451874
451886
  const changelog = "";
451875
451887
  if (changelog) {
@@ -453039,7 +453051,7 @@ function getRecentActivitySync() {
453039
453051
  return cachedActivity;
453040
453052
  }
453041
453053
  function getLogoDisplayData() {
453042
- const version2 = process.env.DEMO_VERSION ?? "1.1.66+ab651e8";
453054
+ const version2 = process.env.DEMO_VERSION ?? "1.1.68+3df662d";
453043
453055
  const serverUrl = getDirectConnectServerUrl();
453044
453056
  const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
453045
453057
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -454566,7 +454578,7 @@ function LogoV2() {
454566
454578
  if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
454567
454579
  t2 = () => {
454568
454580
  const currentConfig = getGlobalConfig();
454569
- if (currentConfig.lastReleaseNotesSeen === "1.1.66+ab651e8") {
454581
+ if (currentConfig.lastReleaseNotesSeen === "1.1.68+3df662d") {
454570
454582
  return;
454571
454583
  }
454572
454584
  saveGlobalConfig(_temp329);
@@ -455242,12 +455254,12 @@ function LogoV2() {
455242
455254
  return t41;
455243
455255
  }
455244
455256
  function _temp329(current) {
455245
- if (current.lastReleaseNotesSeen === "1.1.66+ab651e8") {
455257
+ if (current.lastReleaseNotesSeen === "1.1.68+3df662d") {
455246
455258
  return current;
455247
455259
  }
455248
455260
  return {
455249
455261
  ...current,
455250
- lastReleaseNotesSeen: "1.1.66+ab651e8"
455262
+ lastReleaseNotesSeen: "1.1.68+3df662d"
455251
455263
  };
455252
455264
  }
455253
455265
  function _temp245(s_0) {
@@ -481549,7 +481561,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
481549
481561
  smapsRollup,
481550
481562
  platform: process.platform,
481551
481563
  nodeVersion: process.version,
481552
- ccVersion: "1.1.66+ab651e8"
481564
+ ccVersion: "1.1.68+3df662d"
481553
481565
  };
481554
481566
  }
481555
481567
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -482135,7 +482147,7 @@ var init_bridge_kick = __esm(() => {
482135
482147
  var call56 = async () => {
482136
482148
  return {
482137
482149
  type: "text",
482138
- value: `${"1.1.66+ab651e8"} (built ${"2026-10-11T06:06:43.430Z"})`
482150
+ value: `${"1.1.68+3df662d"} (built ${"2026-10-11T10:34:56.954Z"})`
482139
482151
  };
482140
482152
  }, version2, version_default;
482141
482153
  var init_version = __esm(() => {
@@ -491455,7 +491467,7 @@ function generateHtmlReport(data, insights) {
491455
491467
  </html>`;
491456
491468
  }
491457
491469
  function buildExportData(data, insights, facets, remoteStats) {
491458
- const version3 = typeof MACRO !== "undefined" ? "1.1.66+ab651e8" : "unknown";
491470
+ const version3 = typeof MACRO !== "undefined" ? "1.1.68+3df662d" : "unknown";
491459
491471
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
491460
491472
  const facets_summary = {
491461
491473
  total: facets.size,
@@ -495567,7 +495579,7 @@ var init_sessionStorage = __esm(() => {
495567
495579
  init_settings2();
495568
495580
  init_slowOperations();
495569
495581
  init_uuid();
495570
- VERSION5 = typeof MACRO !== "undefined" ? "1.1.66+ab651e8" : "unknown";
495582
+ VERSION5 = typeof MACRO !== "undefined" ? "1.1.68+3df662d" : "unknown";
495571
495583
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
495572
495584
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
495573
495585
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -498439,7 +498451,7 @@ function buildSystemInitMessage(inputs) {
498439
498451
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
498440
498452
  apiKeySource: getAnthropicApiKeyWithSource().source,
498441
498453
  betas: getSdkBetas(),
498442
- vivus_code_version: "1.1.66+ab651e8",
498454
+ vivus_code_version: "1.1.68+3df662d",
498443
498455
  output_style: outputStyle2,
498444
498456
  agents: inputs.agents.map((agent) => agent.agentType),
498445
498457
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -513151,7 +513163,7 @@ var init_useVoiceEnabled = __esm(() => {
513151
513163
  function getSemverPart(version3) {
513152
513164
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
513153
513165
  }
513154
- function useUpdateNotification(updatedVersion, initialVersion = "1.1.66+ab651e8") {
513166
+ function useUpdateNotification(updatedVersion, initialVersion = "1.1.68+3df662d") {
513155
513167
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
513156
513168
  if (!updatedVersion) {
513157
513169
  return null;
@@ -513191,7 +513203,7 @@ function AutoUpdater({
513191
513203
  return;
513192
513204
  }
513193
513205
  if (false) {}
513194
- const currentVersion = "1.1.66+ab651e8";
513206
+ const currentVersion = "1.1.68+3df662d";
513195
513207
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
513196
513208
  let latestVersion = await getLatestVersion(channel);
513197
513209
  const isDisabled = isAutoUpdaterDisabled();
@@ -513404,12 +513416,12 @@ function NativeAutoUpdater({
513404
513416
  logEvent("tengu_native_auto_updater_start", {});
513405
513417
  try {
513406
513418
  const maxVersion = await getMaxVersion();
513407
- if (maxVersion && gt("1.1.66+ab651e8", maxVersion)) {
513419
+ if (maxVersion && gt("1.1.68+3df662d", maxVersion)) {
513408
513420
  const msg = await getMaxVersionMessage();
513409
513421
  setMaxVersionIssue(msg ?? "affects your version");
513410
513422
  }
513411
513423
  const result = await installLatest(channel);
513412
- const currentVersion = "1.1.66+ab651e8";
513424
+ const currentVersion = "1.1.68+3df662d";
513413
513425
  const latencyMs = Date.now() - startTime;
513414
513426
  if (result.lockFailed) {
513415
513427
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -513546,17 +513558,17 @@ function PackageManagerAutoUpdater(t0) {
513546
513558
  const maxVersion = await getMaxVersion();
513547
513559
  if (maxVersion && latest && gt(latest, maxVersion)) {
513548
513560
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
513549
- if (gte("1.1.66+ab651e8", maxVersion)) {
513550
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.66+ab651e8"} is already at or above maxVersion ${maxVersion}, skipping update`);
513561
+ if (gte("1.1.68+3df662d", maxVersion)) {
513562
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.68+3df662d"} is already at or above maxVersion ${maxVersion}, skipping update`);
513551
513563
  setUpdateAvailable(false);
513552
513564
  return;
513553
513565
  }
513554
513566
  latest = maxVersion;
513555
513567
  }
513556
- const hasUpdate = latest && !gte("1.1.66+ab651e8", latest) && !shouldSkipVersion(latest);
513568
+ const hasUpdate = latest && !gte("1.1.68+3df662d", latest) && !shouldSkipVersion(latest);
513557
513569
  setUpdateAvailable(!!hasUpdate);
513558
513570
  if (hasUpdate) {
513559
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.66+ab651e8"} -> ${latest}`);
513571
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.68+3df662d"} -> ${latest}`);
513560
513572
  }
513561
513573
  };
513562
513574
  $2[0] = t1;
@@ -513590,7 +513602,7 @@ function PackageManagerAutoUpdater(t0) {
513590
513602
  wrap: "truncate",
513591
513603
  children: [
513592
513604
  "currentVersion: ",
513593
- "1.1.66+ab651e8"
513605
+ "1.1.68+3df662d"
513594
513606
  ]
513595
513607
  }, undefined, true, undefined, this);
513596
513608
  $2[3] = verbose;
@@ -521774,7 +521786,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
521774
521786
  project_dir: getOriginalCwd(),
521775
521787
  added_dirs: addedDirs
521776
521788
  },
521777
- version: "1.1.66+ab651e8",
521789
+ version: "1.1.68+3df662d",
521778
521790
  output_style: {
521779
521791
  name: outputStyleName
521780
521792
  },
@@ -533428,7 +533440,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
533428
533440
  } catch {}
533429
533441
  const data = {
533430
533442
  trigger,
533431
- version: "1.1.66+ab651e8",
533443
+ version: "1.1.68+3df662d",
533432
533444
  platform: process.platform,
533433
533445
  transcript,
533434
533446
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -544899,7 +544911,7 @@ function WelcomeV2() {
544899
544911
  dimColor: true,
544900
544912
  children: [
544901
544913
  "v",
544902
- "1.1.66+ab651e8",
544914
+ "1.1.68+3df662d",
544903
544915
  " "
544904
544916
  ]
544905
544917
  }, undefined, true, undefined, this)
@@ -545099,7 +545111,7 @@ function WelcomeV2() {
545099
545111
  dimColor: true,
545100
545112
  children: [
545101
545113
  "v",
545102
- "1.1.66+ab651e8",
545114
+ "1.1.68+3df662d",
545103
545115
  " "
545104
545116
  ]
545105
545117
  }, undefined, true, undefined, this)
@@ -545325,7 +545337,7 @@ function AppleTerminalWelcomeV2(t0) {
545325
545337
  dimColor: true,
545326
545338
  children: [
545327
545339
  "v",
545328
- "1.1.66+ab651e8",
545340
+ "1.1.68+3df662d",
545329
545341
  " "
545330
545342
  ]
545331
545343
  }, undefined, true, undefined, this);
@@ -545579,7 +545591,7 @@ function AppleTerminalWelcomeV2(t0) {
545579
545591
  dimColor: true,
545580
545592
  children: [
545581
545593
  "v",
545582
- "1.1.66+ab651e8",
545594
+ "1.1.68+3df662d",
545583
545595
  " "
545584
545596
  ]
545585
545597
  }, undefined, true, undefined, this);
@@ -548652,7 +548664,7 @@ function appendToLog(path25, message) {
548652
548664
  cwd: getFsImplementation().cwd(),
548653
548665
  userType: process.env.USER_TYPE,
548654
548666
  sessionId: getSessionId(),
548655
- version: "1.1.66+ab651e8"
548667
+ version: "1.1.68+3df662d"
548656
548668
  };
548657
548669
  getLogWriter(path25).write(messageWithTimestamp);
548658
548670
  }
@@ -552647,8 +552659,8 @@ async function getEnvLessBridgeConfig() {
552647
552659
  }
552648
552660
  async function checkEnvLessBridgeMinVersion() {
552649
552661
  const cfg = await getEnvLessBridgeConfig();
552650
- if (cfg.min_version && lt("1.1.66+ab651e8", cfg.min_version)) {
552651
- return `Your version of Vivus (${"1.1.66+ab651e8"}) is too old for Remote Control.
552662
+ if (cfg.min_version && lt("1.1.68+3df662d", cfg.min_version)) {
552663
+ return `Your version of Vivus (${"1.1.68+3df662d"}) is too old for Remote Control.
552652
552664
  Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
552653
552665
  }
552654
552666
  return null;
@@ -553122,7 +553134,7 @@ async function initBridgeCore(params) {
553122
553134
  const rawApi = createBridgeApiClient({
553123
553135
  baseUrl,
553124
553136
  getAccessToken,
553125
- runnerVersion: "1.1.66+ab651e8",
553137
+ runnerVersion: "1.1.68+3df662d",
553126
553138
  onDebug: logForDebugging,
553127
553139
  onAuth401,
553128
553140
  getTrustedDeviceToken
@@ -558801,7 +558813,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
558801
558813
  setCwd(cwd3);
558802
558814
  const server = new Server({
558803
558815
  name: "vivus/tengu",
558804
- version: "1.1.66+ab651e8"
558816
+ version: "1.1.68+3df662d"
558805
558817
  }, {
558806
558818
  capabilities: {
558807
558819
  tools: {}
@@ -560534,7 +560546,7 @@ __export(exports_update, {
560534
560546
  });
560535
560547
  async function update() {
560536
560548
  logEvent("tengu_update_check", {});
560537
- writeToStdout(`Current version: ${"1.1.66+ab651e8"}
560549
+ writeToStdout(`Current version: ${"1.1.68+3df662d"}
560538
560550
  `);
560539
560551
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
560540
560552
  writeToStdout(`Checking for updates to ${channel} version...
@@ -560609,8 +560621,8 @@ async function update() {
560609
560621
  writeToStdout(`Vivus is managed by Homebrew.
560610
560622
  `);
560611
560623
  const latest = await getLatestVersion(channel);
560612
- if (latest && !gte("1.1.66+ab651e8", latest)) {
560613
- writeToStdout(`Update available: ${"1.1.66+ab651e8"} → ${latest}
560624
+ if (latest && !gte("1.1.68+3df662d", latest)) {
560625
+ writeToStdout(`Update available: ${"1.1.68+3df662d"} → ${latest}
560614
560626
  `);
560615
560627
  writeToStdout(`
560616
560628
  `);
@@ -560626,8 +560638,8 @@ async function update() {
560626
560638
  writeToStdout(`Vivus is managed by winget.
560627
560639
  `);
560628
560640
  const latest = await getLatestVersion(channel);
560629
- if (latest && !gte("1.1.66+ab651e8", latest)) {
560630
- writeToStdout(`Update available: ${"1.1.66+ab651e8"} → ${latest}
560641
+ if (latest && !gte("1.1.68+3df662d", latest)) {
560642
+ writeToStdout(`Update available: ${"1.1.68+3df662d"} → ${latest}
560631
560643
  `);
560632
560644
  writeToStdout(`
560633
560645
  `);
@@ -560643,8 +560655,8 @@ async function update() {
560643
560655
  writeToStdout(`Vivus is managed by apk.
560644
560656
  `);
560645
560657
  const latest = await getLatestVersion(channel);
560646
- if (latest && !gte("1.1.66+ab651e8", latest)) {
560647
- writeToStdout(`Update available: ${"1.1.66+ab651e8"} → ${latest}
560658
+ if (latest && !gte("1.1.68+3df662d", latest)) {
560659
+ writeToStdout(`Update available: ${"1.1.68+3df662d"} → ${latest}
560648
560660
  `);
560649
560661
  writeToStdout(`
560650
560662
  `);
@@ -560709,11 +560721,11 @@ async function update() {
560709
560721
  `);
560710
560722
  await gracefulShutdown(1);
560711
560723
  }
560712
- if (result.latestVersion === "1.1.66+ab651e8") {
560713
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.66+ab651e8"})`) + `
560724
+ if (result.latestVersion === "1.1.68+3df662d") {
560725
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.68+3df662d"})`) + `
560714
560726
  `);
560715
560727
  } else {
560716
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.66+ab651e8"} to version ${result.latestVersion}`) + `
560728
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.68+3df662d"} to version ${result.latestVersion}`) + `
560717
560729
  `);
560718
560730
  await regenerateCompletionCache();
560719
560731
  }
@@ -560770,12 +560782,12 @@ async function update() {
560770
560782
  `);
560771
560783
  await gracefulShutdown(1);
560772
560784
  }
560773
- if (latestVersion === "1.1.66+ab651e8") {
560774
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.66+ab651e8"})`) + `
560785
+ if (latestVersion === "1.1.68+3df662d") {
560786
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.68+3df662d"})`) + `
560775
560787
  `);
560776
560788
  await gracefulShutdown(0);
560777
560789
  }
560778
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.66+ab651e8"})
560790
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.68+3df662d"})
560779
560791
  `);
560780
560792
  writeToStdout(`Installing update...
560781
560793
  `);
@@ -560820,7 +560832,7 @@ async function update() {
560820
560832
  logForDebugging(`update: Installation status: ${status2}`);
560821
560833
  switch (status2) {
560822
560834
  case "success":
560823
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.66+ab651e8"} to version ${latestVersion}`) + `
560835
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.68+3df662d"} to version ${latestVersion}`) + `
560824
560836
  `);
560825
560837
  await regenerateCompletionCache();
560826
560838
  break;
@@ -561794,7 +561806,7 @@ function completeOnboarding() {
561794
561806
  saveGlobalConfig((current) => ({
561795
561807
  ...current,
561796
561808
  hasCompletedOnboarding: true,
561797
- lastOnboardingVersion: "1.1.66+ab651e8"
561809
+ lastOnboardingVersion: "1.1.68+3df662d"
561798
561810
  }));
561799
561811
  }
561800
561812
  function showDialog(root2, renderer) {
@@ -565930,7 +565942,7 @@ ${customInstructions}` : customInstructions;
565930
565942
  }
565931
565943
  }
565932
565944
  logForDiagnosticsNoPII("info", "started", {
565933
- version: "1.1.66+ab651e8",
565945
+ version: "1.1.68+3df662d",
565934
565946
  is_native_binary: isInBundledMode()
565935
565947
  });
565936
565948
  registerCleanup(async () => {
@@ -566728,7 +566740,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
566728
566740
  pendingHookMessages
566729
566741
  }, renderAndRun);
566730
566742
  }
566731
- }).version("1.1.66+ab651e8 (Vivus)", "-v, --version", "Output the version number");
566743
+ }).version("1.1.68+3df662d (Vivus)", "-v, --version", "Output the version number");
566732
566744
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
566733
566745
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
566734
566746
  if (canUserConfigureAdvisor()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vivus-agent",
3
- "version": "1.1.66",
3
+ "version": "1.1.68",
4
4
  "description": "Vivus — local AI coding agent",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",