vivus-agent 1.1.15 → 1.1.16

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 +92 -91
  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-06-19T15:28:20.223Z
3
+ // Built from source at 2026-06-19T16:23:42.976Z
4
4
  import { createRequire } from "node:module";
5
5
  var __create = Object.create;
6
6
  var __getProtoOf = Object.getPrototypeOf;
@@ -116016,7 +116016,7 @@ var init_auth = __esm(() => {
116016
116016
 
116017
116017
  // src/utils/userAgent.ts
116018
116018
  function getVivusCodeUserAgent() {
116019
- return `vivus/${"1.1.15+f44ec6f-dirty"}`;
116019
+ return `vivus/${"1.1.16+6d460d2"}`;
116020
116020
  }
116021
116021
 
116022
116022
  // src/utils/workloadContext.ts
@@ -116038,7 +116038,7 @@ function getUserAgent() {
116038
116038
  const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
116039
116039
  const workload = getWorkload();
116040
116040
  const workloadSuffix = workload ? `, workload/${workload}` : "";
116041
- return `vivus-cli/${"1.1.15+f44ec6f-dirty"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
116041
+ return `vivus-cli/${"1.1.16+6d460d2"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
116042
116042
  }
116043
116043
  function getMCPUserAgent() {
116044
116044
  const parts = [];
@@ -116052,7 +116052,7 @@ function getMCPUserAgent() {
116052
116052
  parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
116053
116053
  }
116054
116054
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
116055
- return `vivus/${"1.1.15+f44ec6f-dirty"}${suffix}`;
116055
+ return `vivus/${"1.1.16+6d460d2"}${suffix}`;
116056
116056
  }
116057
116057
  function getWebFetchUserAgent() {
116058
116058
  return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -116190,7 +116190,7 @@ var init_user = __esm(() => {
116190
116190
  deviceId,
116191
116191
  sessionId: getSessionId(),
116192
116192
  email: getEmail(),
116193
- appVersion: "1.1.15+f44ec6f-dirty",
116193
+ appVersion: "1.1.16+6d460d2",
116194
116194
  platform: getHostPlatformForAnalytics(),
116195
116195
  organizationUuid,
116196
116196
  accountUuid,
@@ -127856,7 +127856,7 @@ var init_metadata = __esm(() => {
127856
127856
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
127857
127857
  WHITESPACE_REGEX = /\s+/;
127858
127858
  getVersionBase = memoize_default(() => {
127859
- const match = "1.1.15+f44ec6f-dirty".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
127859
+ const match = "1.1.16+6d460d2".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
127860
127860
  return match ? match[0] : undefined;
127861
127861
  });
127862
127862
  buildEnvContext = memoize_default(async () => {
@@ -127896,9 +127896,9 @@ var init_metadata = __esm(() => {
127896
127896
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
127897
127897
  isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
127898
127898
  isVivusAiAuth: isVivusAISubscriber(),
127899
- version: "1.1.15+f44ec6f-dirty",
127899
+ version: "1.1.16+6d460d2",
127900
127900
  versionBase: getVersionBase(),
127901
- buildTime: "2026-06-19T15:28:19.671Z",
127901
+ buildTime: "2026-06-19T16:23:42.456Z",
127902
127902
  deploymentEnvironment: env2.detectDeploymentEnvironment(),
127903
127903
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
127904
127904
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -128566,7 +128566,7 @@ function initialize1PEventLogging() {
128566
128566
  const platform2 = getPlatform();
128567
128567
  const attributes = {
128568
128568
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
128569
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.15+f44ec6f-dirty"
128569
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.16+6d460d2"
128570
128570
  };
128571
128571
  if (platform2 === "wsl") {
128572
128572
  const wslVersion = getWslVersion();
@@ -128593,7 +128593,7 @@ function initialize1PEventLogging() {
128593
128593
  })
128594
128594
  ]
128595
128595
  });
128596
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.15+f44ec6f-dirty");
128596
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.16+6d460d2");
128597
128597
  }
128598
128598
  async function reinitialize1PEventLoggingIfConfigChanged() {
128599
128599
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -162706,7 +162706,7 @@ function getAttributionHeader(fingerprint) {
162706
162706
  if (!isAttributionHeaderEnabled()) {
162707
162707
  return "";
162708
162708
  }
162709
- const version2 = `${"1.1.15+f44ec6f-dirty"}.${fingerprint}`;
162709
+ const version2 = `${"1.1.16+6d460d2"}.${fingerprint}`;
162710
162710
  const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
162711
162711
  const cch = "";
162712
162712
  const workload = getWorkload();
@@ -175869,7 +175869,7 @@ function getTelemetryAttributes() {
175869
175869
  attributes["session.id"] = sessionId;
175870
175870
  }
175871
175871
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
175872
- attributes["app.version"] = "1.1.15+f44ec6f-dirty";
175872
+ attributes["app.version"] = "1.1.16+6d460d2";
175873
175873
  }
175874
175874
  const oauthAccount = getOauthAccountInfo();
175875
175875
  if (oauthAccount) {
@@ -242425,7 +242425,7 @@ function computeFingerprint(messageText, version2) {
242425
242425
  }
242426
242426
  function computeFingerprintFromMessages(messages) {
242427
242427
  const firstMessageText = extractFirstMessageText(messages);
242428
- return computeFingerprint(firstMessageText, "1.1.15+f44ec6f-dirty");
242428
+ return computeFingerprint(firstMessageText, "1.1.16+6d460d2");
242429
242429
  }
242430
242430
  var FINGERPRINT_SALT = "59cf53e54c78";
242431
242431
  var init_fingerprint = () => {};
@@ -242467,7 +242467,7 @@ async function sideQuery(opts) {
242467
242467
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
242468
242468
  }
242469
242469
  const messageText = extractFirstUserMessageText(messages);
242470
- const fingerprint = computeFingerprint(messageText, "1.1.15+f44ec6f-dirty");
242470
+ const fingerprint = computeFingerprint(messageText, "1.1.16+6d460d2");
242471
242471
  const attributionHeader = getAttributionHeader(fingerprint);
242472
242472
  const systemBlocks = [
242473
242473
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -243619,7 +243619,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
243619
243619
  const client2 = new Client({
243620
243620
  name: "vivus",
243621
243621
  title: "Vivus",
243622
- version: "1.1.15+f44ec6f-dirty",
243622
+ version: "1.1.16+6d460d2",
243623
243623
  description: "Anthropic's agentic coding tool",
243624
243624
  websiteUrl: PRODUCT_URL
243625
243625
  }, {
@@ -243973,7 +243973,7 @@ var init_client6 = __esm(() => {
243973
243973
  const client2 = new Client({
243974
243974
  name: "vivus",
243975
243975
  title: "Vivus",
243976
- version: "1.1.15+f44ec6f-dirty",
243976
+ version: "1.1.16+6d460d2",
243977
243977
  description: "Anthropic's agentic coding tool",
243978
243978
  websiteUrl: PRODUCT_URL
243979
243979
  }, {
@@ -246031,7 +246031,7 @@ function getInstallationEnv() {
246031
246031
  return;
246032
246032
  }
246033
246033
  function getVivusCodeVersion() {
246034
- return "1.1.15+f44ec6f-dirty";
246034
+ return "1.1.16+6d460d2";
246035
246035
  }
246036
246036
  async function getInstalledVSCodeExtensionVersion(command) {
246037
246037
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -278526,7 +278526,7 @@ async function initializeBetaTracing(resource) {
278526
278526
  });
278527
278527
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
278528
278528
  setLoggerProvider(loggerProvider);
278529
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.15+f44ec6f-dirty");
278529
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.16+6d460d2");
278530
278530
  setEventLogger(eventLogger);
278531
278531
  process.on("beforeExit", async () => {
278532
278532
  await loggerProvider?.forceFlush();
@@ -278566,7 +278566,7 @@ async function initializeTelemetry() {
278566
278566
  const platform5 = getPlatform();
278567
278567
  const baseAttributes = {
278568
278568
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
278569
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.15+f44ec6f-dirty"
278569
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.16+6d460d2"
278570
278570
  };
278571
278571
  if (platform5 === "wsl") {
278572
278572
  const wslVersion = getWslVersion();
@@ -278611,7 +278611,7 @@ async function initializeTelemetry() {
278611
278611
  } catch {}
278612
278612
  };
278613
278613
  registerCleanup(shutdownTelemetry2);
278614
- return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.15+f44ec6f-dirty");
278614
+ return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.16+6d460d2");
278615
278615
  }
278616
278616
  const meterProvider = new import_sdk_metrics2.MeterProvider({
278617
278617
  resource,
@@ -278631,7 +278631,7 @@ async function initializeTelemetry() {
278631
278631
  });
278632
278632
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
278633
278633
  setLoggerProvider(loggerProvider);
278634
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.15+f44ec6f-dirty");
278634
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.16+6d460d2");
278635
278635
  setEventLogger(eventLogger);
278636
278636
  logForDebugging("[3P telemetry] Event logger set successfully");
278637
278637
  process.on("beforeExit", async () => {
@@ -278693,7 +278693,7 @@ Current timeout: ${timeoutMs}ms
278693
278693
  }
278694
278694
  };
278695
278695
  registerCleanup(shutdownTelemetry);
278696
- return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.15+f44ec6f-dirty");
278696
+ return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.16+6d460d2");
278697
278697
  }
278698
278698
  async function flushTelemetry() {
278699
278699
  const meterProvider = getMeterProvider();
@@ -279379,9 +279379,9 @@ async function assertMinVersion() {
279379
279379
  if (false) {}
279380
279380
  try {
279381
279381
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
279382
- if (versionConfig.minVersion && lt("1.1.15+f44ec6f-dirty", versionConfig.minVersion)) {
279382
+ if (versionConfig.minVersion && lt("1.1.16+6d460d2", versionConfig.minVersion)) {
279383
279383
  console.error(`
279384
- It looks like your version of Vivus (${"1.1.15+f44ec6f-dirty"}) needs an update.
279384
+ It looks like your version of Vivus (${"1.1.16+6d460d2"}) needs an update.
279385
279385
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
279386
279386
 
279387
279387
  To update, please run:
@@ -279597,7 +279597,7 @@ async function installGlobalPackage(specificVersion) {
279597
279597
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
279598
279598
  logEvent("tengu_auto_updater_lock_contention", {
279599
279599
  pid: process.pid,
279600
- currentVersion: "1.1.15+f44ec6f-dirty"
279600
+ currentVersion: "1.1.16+6d460d2"
279601
279601
  });
279602
279602
  return "in_progress";
279603
279603
  }
@@ -279606,7 +279606,7 @@ async function installGlobalPackage(specificVersion) {
279606
279606
  if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
279607
279607
  logError2(new Error("Windows NPM detected in WSL environment"));
279608
279608
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
279609
- currentVersion: "1.1.15+f44ec6f-dirty"
279609
+ currentVersion: "1.1.16+6d460d2"
279610
279610
  });
279611
279611
  console.error(`
279612
279612
  Error: Windows NPM detected in WSL
@@ -280139,7 +280139,7 @@ function detectLinuxGlobPatternWarnings() {
280139
280139
  }
280140
280140
  async function getDoctorDiagnostic() {
280141
280141
  const installationType = await getCurrentInstallationType();
280142
- const version2 = typeof MACRO !== "undefined" ? "1.1.15+f44ec6f-dirty" : "unknown";
280142
+ const version2 = typeof MACRO !== "undefined" ? "1.1.16+6d460d2" : "unknown";
280143
280143
  const installationPath = await getInstallationPath();
280144
280144
  const invokedBinary = getInvokedBinary();
280145
280145
  const multipleInstallations = await detectMultipleInstallations();
@@ -281072,8 +281072,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
281072
281072
  const maxVersion = await getMaxVersion();
281073
281073
  if (maxVersion && gt(version2, maxVersion)) {
281074
281074
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
281075
- if (gte("1.1.15+f44ec6f-dirty", maxVersion)) {
281076
- logForDebugging(`Native installer: current version ${"1.1.15+f44ec6f-dirty"} is already at or above maxVersion ${maxVersion}, skipping update`);
281075
+ if (gte("1.1.16+6d460d2", maxVersion)) {
281076
+ logForDebugging(`Native installer: current version ${"1.1.16+6d460d2"} is already at or above maxVersion ${maxVersion}, skipping update`);
281077
281077
  logEvent("tengu_native_update_skipped_max_version", {
281078
281078
  latency_ms: Date.now() - startTime,
281079
281079
  max_version: maxVersion,
@@ -281084,7 +281084,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
281084
281084
  version2 = maxVersion;
281085
281085
  }
281086
281086
  }
281087
- if (!forceReinstall && version2 === "1.1.15+f44ec6f-dirty" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
281087
+ if (!forceReinstall && version2 === "1.1.16+6d460d2" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
281088
281088
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
281089
281089
  logEvent("tengu_native_update_complete", {
281090
281090
  latency_ms: Date.now() - startTime,
@@ -330828,7 +330828,7 @@ async function analyzeContextUsage(messages, model, getToolPermissionContext, to
330828
330828
  const skillFrontmatterTokens = skillInfo.skillFrontmatter.reduce((sum, skill) => sum + skill.tokens, 0);
330829
330829
  const messageTokens = messageBreakdown.totalTokens;
330830
330830
  const isAutoCompact = isAutoCompactEnabled();
330831
- const autoCompactThreshold = isAutoCompact ? getEffectiveContextWindowSize(model) - AUTOCOMPACT_BUFFER_TOKENS : undefined;
330831
+ const autoCompactThreshold = isAutoCompact ? getAutoCompactThreshold(model) : undefined;
330832
330832
  const cats = [];
330833
330833
  if (systemPromptTokens > 0) {
330834
330834
  cats.push({
@@ -332701,7 +332701,6 @@ var init_sessionMemoryCompact = __esm(() => {
332701
332701
 
332702
332702
  // src/services/compact/autoCompact.ts
332703
332703
  function getEffectiveContextWindowSize(model) {
332704
- const reservedTokensForSummary = Math.min(getMaxOutputTokensForModel(model), MAX_OUTPUT_TOKENS_FOR_SUMMARY);
332705
332704
  let contextWindow = getContextWindowForModel(model, getSdkBetas());
332706
332705
  const autoCompactWindow = process.env.VIVUS_CODE_AUTO_COMPACT_WINDOW;
332707
332706
  if (autoCompactWindow) {
@@ -332710,11 +332709,13 @@ function getEffectiveContextWindowSize(model) {
332710
332709
  contextWindow = Math.min(contextWindow, parsed);
332711
332710
  }
332712
332711
  }
332712
+ const reservedTokensForSummary = Math.min(getMaxOutputTokensForModel(model), MAX_OUTPUT_TOKENS_FOR_SUMMARY, Math.floor(contextWindow * MAX_SUMMARY_RESERVE_RATIO));
332713
332713
  return contextWindow - reservedTokensForSummary;
332714
332714
  }
332715
332715
  function getAutoCompactThreshold(model) {
332716
332716
  const effectiveContextWindow = getEffectiveContextWindowSize(model);
332717
- const bufferBasedThreshold = effectiveContextWindow - AUTOCOMPACT_BUFFER_TOKENS;
332717
+ const buffer = Math.min(AUTOCOMPACT_BUFFER_TOKENS, Math.floor(effectiveContextWindow * MAX_AUTOCOMPACT_BUFFER_RATIO));
332718
+ const bufferBasedThreshold = effectiveContextWindow - buffer;
332718
332719
  let ratio = DEFAULT_AUTOCOMPACT_RATIO;
332719
332720
  const ratioOverride = process.env.VIVUS_AUTOCOMPACT_RATIO;
332720
332721
  if (ratioOverride) {
@@ -332836,7 +332837,7 @@ async function autoCompactIfNeeded(messages, toolUseContext, cacheSafeParams, qu
332836
332837
  return { wasCompacted: false, consecutiveFailures: nextFailures };
332837
332838
  }
332838
332839
  }
332839
- var MAX_OUTPUT_TOKENS_FOR_SUMMARY = 20000, AUTOCOMPACT_BUFFER_TOKENS = 13000, WARNING_THRESHOLD_BUFFER_TOKENS = 20000, ERROR_THRESHOLD_BUFFER_TOKENS = 20000, MANUAL_COMPACT_BUFFER_TOKENS = 3000, DEFAULT_AUTOCOMPACT_RATIO = 0.7, MAX_CONSECUTIVE_AUTOCOMPACT_FAILURES = 3;
332840
+ var MAX_OUTPUT_TOKENS_FOR_SUMMARY = 20000, MAX_SUMMARY_RESERVE_RATIO = 0.2, MAX_AUTOCOMPACT_BUFFER_RATIO = 0.08, AUTOCOMPACT_BUFFER_TOKENS = 13000, WARNING_THRESHOLD_BUFFER_TOKENS = 20000, ERROR_THRESHOLD_BUFFER_TOKENS = 20000, MANUAL_COMPACT_BUFFER_TOKENS = 3000, DEFAULT_AUTOCOMPACT_RATIO = 0.7, MAX_CONSECUTIVE_AUTOCOMPACT_FAILURES = 3;
332840
332841
  var init_autoCompact = __esm(() => {
332841
332842
  init_state();
332842
332843
  init_state();
@@ -336997,7 +336998,7 @@ function getAnthropicEnvMetadata() {
336997
336998
  function getBuildAgeMinutes() {
336998
336999
  if (false)
336999
337000
  ;
337000
- const buildTime = new Date("2026-06-19T15:28:19.671Z").getTime();
337001
+ const buildTime = new Date("2026-06-19T16:23:42.456Z").getTime();
337001
337002
  if (isNaN(buildTime))
337002
337003
  return;
337003
337004
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -384216,7 +384217,7 @@ var init_filesystem = __esm(() => {
384216
384217
  });
384217
384218
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
384218
384219
  const nonce = randomBytes17(16).toString("hex");
384219
- return join106(getVivusTempDir(), "bundled-skills", "1.1.15+f44ec6f-dirty", nonce);
384220
+ return join106(getVivusTempDir(), "bundled-skills", "1.1.16+6d460d2", nonce);
384220
384221
  });
384221
384222
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
384222
384223
  });
@@ -385976,7 +385977,7 @@ function Feedback({
385976
385977
  platform: env2.platform,
385977
385978
  gitRepo: envInfo.isGit,
385978
385979
  terminal: env2.terminal,
385979
- version: "1.1.15+f44ec6f-dirty",
385980
+ version: "1.1.16+6d460d2",
385980
385981
  transcript: normalizeMessagesForAPI(messages),
385981
385982
  errors: sanitizedErrors,
385982
385983
  lastApiRequest: getLastAPIRequest(),
@@ -386168,7 +386169,7 @@ function Feedback({
386168
386169
  ", ",
386169
386170
  env2.terminal,
386170
386171
  ", v",
386171
- "1.1.15+f44ec6f-dirty"
386172
+ "1.1.16+6d460d2"
386172
386173
  ]
386173
386174
  }, undefined, true, undefined, this)
386174
386175
  ]
@@ -386274,7 +386275,7 @@ ${sanitizedDescription}
386274
386275
  ` + `**Environment Info**
386275
386276
  ` + `- Platform: ${env2.platform}
386276
386277
  ` + `- Terminal: ${env2.terminal}
386277
- ` + `- Version: ${"1.1.15+f44ec6f-dirty"}
386278
+ ` + `- Version: ${"1.1.16+6d460d2"}
386278
386279
  ` + `- Feedback ID: ${feedbackId}
386279
386280
  ` + `
386280
386281
  **Errors**
@@ -389406,7 +389407,7 @@ function buildPrimarySection() {
389406
389407
  }, undefined, false, undefined, this);
389407
389408
  return [{
389408
389409
  label: "Version",
389409
- value: "1.1.15+f44ec6f-dirty"
389410
+ value: "1.1.16+6d460d2"
389410
389411
  }, {
389411
389412
  label: "Session name",
389412
389413
  value: nameValue
@@ -393157,7 +393158,7 @@ function Config({
393157
393158
  }
393158
393159
  }, undefined, false, undefined, this)
393159
393160
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
393160
- currentVersion: "1.1.15+f44ec6f-dirty",
393161
+ currentVersion: "1.1.16+6d460d2",
393161
393162
  onChoice: (choice) => {
393162
393163
  setShowSubmenu(null);
393163
393164
  setTabsHidden(false);
@@ -393169,7 +393170,7 @@ function Config({
393169
393170
  autoUpdatesChannel: "stable"
393170
393171
  };
393171
393172
  if (choice === "stay") {
393172
- newSettings.minimumVersion = "1.1.15+f44ec6f-dirty";
393173
+ newSettings.minimumVersion = "1.1.16+6d460d2";
393173
393174
  }
393174
393175
  updateSettingsForSource("userSettings", newSettings);
393175
393176
  setSettingsData((prev_27) => ({
@@ -401255,7 +401256,7 @@ function HelpV2(t0) {
401255
401256
  let t6;
401256
401257
  if ($2[31] !== tabs) {
401257
401258
  t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
401258
- title: `Vivus v${"1.1.15+f44ec6f-dirty"}`,
401259
+ title: `Vivus v${"1.1.16+6d460d2"}`,
401259
401260
  color: "professionalBlue",
401260
401261
  defaultTab: "general",
401261
401262
  children: tabs
@@ -425481,7 +425482,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
425481
425482
  return [];
425482
425483
  }
425483
425484
  }
425484
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.15+f44ec6f-dirty") {
425485
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.16+6d460d2") {
425485
425486
  if (process.env.USER_TYPE === "ant") {
425486
425487
  const changelog = "";
425487
425488
  if (changelog) {
@@ -425508,7 +425509,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.15+f4
425508
425509
  releaseNotes
425509
425510
  };
425510
425511
  }
425511
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.15+f44ec6f-dirty") {
425512
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.16+6d460d2") {
425512
425513
  if (process.env.USER_TYPE === "ant") {
425513
425514
  const changelog = "";
425514
425515
  if (changelog) {
@@ -426678,7 +426679,7 @@ function getRecentActivitySync() {
426678
426679
  return cachedActivity;
426679
426680
  }
426680
426681
  function getLogoDisplayData() {
426681
- const version2 = process.env.DEMO_VERSION ?? "1.1.15+f44ec6f-dirty";
426682
+ const version2 = process.env.DEMO_VERSION ?? "1.1.16+6d460d2";
426682
426683
  const serverUrl = getDirectConnectServerUrl();
426683
426684
  const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
426684
426685
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -428205,7 +428206,7 @@ function LogoV2() {
428205
428206
  if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
428206
428207
  t2 = () => {
428207
428208
  const currentConfig = getGlobalConfig();
428208
- if (currentConfig.lastReleaseNotesSeen === "1.1.15+f44ec6f-dirty") {
428209
+ if (currentConfig.lastReleaseNotesSeen === "1.1.16+6d460d2") {
428209
428210
  return;
428210
428211
  }
428211
428212
  saveGlobalConfig(_temp329);
@@ -428881,12 +428882,12 @@ function LogoV2() {
428881
428882
  return t41;
428882
428883
  }
428883
428884
  function _temp329(current) {
428884
- if (current.lastReleaseNotesSeen === "1.1.15+f44ec6f-dirty") {
428885
+ if (current.lastReleaseNotesSeen === "1.1.16+6d460d2") {
428885
428886
  return current;
428886
428887
  }
428887
428888
  return {
428888
428889
  ...current,
428889
- lastReleaseNotesSeen: "1.1.15+f44ec6f-dirty"
428890
+ lastReleaseNotesSeen: "1.1.16+6d460d2"
428890
428891
  };
428891
428892
  }
428892
428893
  function _temp245(s_0) {
@@ -455183,7 +455184,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
455183
455184
  smapsRollup,
455184
455185
  platform: process.platform,
455185
455186
  nodeVersion: process.version,
455186
- ccVersion: "1.1.15+f44ec6f-dirty"
455187
+ ccVersion: "1.1.16+6d460d2"
455187
455188
  };
455188
455189
  }
455189
455190
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -455769,7 +455770,7 @@ var init_bridge_kick = __esm(() => {
455769
455770
  var call56 = async () => {
455770
455771
  return {
455771
455772
  type: "text",
455772
- value: `${"1.1.15+f44ec6f-dirty"} (built ${"2026-06-19T15:28:19.671Z"})`
455773
+ value: `${"1.1.16+6d460d2"} (built ${"2026-06-19T16:23:42.456Z"})`
455773
455774
  };
455774
455775
  }, version2, version_default;
455775
455776
  var init_version = __esm(() => {
@@ -464732,7 +464733,7 @@ function generateHtmlReport(data, insights) {
464732
464733
  </html>`;
464733
464734
  }
464734
464735
  function buildExportData(data, insights, facets, remoteStats) {
464735
- const version3 = typeof MACRO !== "undefined" ? "1.1.15+f44ec6f-dirty" : "unknown";
464736
+ const version3 = typeof MACRO !== "undefined" ? "1.1.16+6d460d2" : "unknown";
464736
464737
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
464737
464738
  const facets_summary = {
464738
464739
  total: facets.size,
@@ -468841,7 +468842,7 @@ var init_sessionStorage = __esm(() => {
468841
468842
  init_settings2();
468842
468843
  init_slowOperations();
468843
468844
  init_uuid();
468844
- VERSION5 = typeof MACRO !== "undefined" ? "1.1.15+f44ec6f-dirty" : "unknown";
468845
+ VERSION5 = typeof MACRO !== "undefined" ? "1.1.16+6d460d2" : "unknown";
468845
468846
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
468846
468847
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
468847
468848
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -471712,7 +471713,7 @@ function buildSystemInitMessage(inputs) {
471712
471713
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
471713
471714
  apiKeySource: getAnthropicApiKeyWithSource().source,
471714
471715
  betas: getSdkBetas(),
471715
- vivus_code_version: "1.1.15+f44ec6f-dirty",
471716
+ vivus_code_version: "1.1.16+6d460d2",
471716
471717
  output_style: outputStyle2,
471717
471718
  agents: inputs.agents.map((agent) => agent.agentType),
471718
471719
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -486340,7 +486341,7 @@ var init_useVoiceEnabled = __esm(() => {
486340
486341
  function getSemverPart(version3) {
486341
486342
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
486342
486343
  }
486343
- function useUpdateNotification(updatedVersion, initialVersion = "1.1.15+f44ec6f-dirty") {
486344
+ function useUpdateNotification(updatedVersion, initialVersion = "1.1.16+6d460d2") {
486344
486345
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
486345
486346
  if (!updatedVersion) {
486346
486347
  return null;
@@ -486380,7 +486381,7 @@ function AutoUpdater({
486380
486381
  return;
486381
486382
  }
486382
486383
  if (false) {}
486383
- const currentVersion = "1.1.15+f44ec6f-dirty";
486384
+ const currentVersion = "1.1.16+6d460d2";
486384
486385
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
486385
486386
  let latestVersion = await getLatestVersion(channel);
486386
486387
  const isDisabled = isAutoUpdaterDisabled();
@@ -486593,12 +486594,12 @@ function NativeAutoUpdater({
486593
486594
  logEvent("tengu_native_auto_updater_start", {});
486594
486595
  try {
486595
486596
  const maxVersion = await getMaxVersion();
486596
- if (maxVersion && gt("1.1.15+f44ec6f-dirty", maxVersion)) {
486597
+ if (maxVersion && gt("1.1.16+6d460d2", maxVersion)) {
486597
486598
  const msg = await getMaxVersionMessage();
486598
486599
  setMaxVersionIssue(msg ?? "affects your version");
486599
486600
  }
486600
486601
  const result = await installLatest(channel);
486601
- const currentVersion = "1.1.15+f44ec6f-dirty";
486602
+ const currentVersion = "1.1.16+6d460d2";
486602
486603
  const latencyMs = Date.now() - startTime;
486603
486604
  if (result.lockFailed) {
486604
486605
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -486735,17 +486736,17 @@ function PackageManagerAutoUpdater(t0) {
486735
486736
  const maxVersion = await getMaxVersion();
486736
486737
  if (maxVersion && latest && gt(latest, maxVersion)) {
486737
486738
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
486738
- if (gte("1.1.15+f44ec6f-dirty", maxVersion)) {
486739
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.15+f44ec6f-dirty"} is already at or above maxVersion ${maxVersion}, skipping update`);
486739
+ if (gte("1.1.16+6d460d2", maxVersion)) {
486740
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.16+6d460d2"} is already at or above maxVersion ${maxVersion}, skipping update`);
486740
486741
  setUpdateAvailable(false);
486741
486742
  return;
486742
486743
  }
486743
486744
  latest = maxVersion;
486744
486745
  }
486745
- const hasUpdate = latest && !gte("1.1.15+f44ec6f-dirty", latest) && !shouldSkipVersion(latest);
486746
+ const hasUpdate = latest && !gte("1.1.16+6d460d2", latest) && !shouldSkipVersion(latest);
486746
486747
  setUpdateAvailable(!!hasUpdate);
486747
486748
  if (hasUpdate) {
486748
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.15+f44ec6f-dirty"} -> ${latest}`);
486749
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.16+6d460d2"} -> ${latest}`);
486749
486750
  }
486750
486751
  };
486751
486752
  $2[0] = t1;
@@ -486779,7 +486780,7 @@ function PackageManagerAutoUpdater(t0) {
486779
486780
  wrap: "truncate",
486780
486781
  children: [
486781
486782
  "currentVersion: ",
486782
- "1.1.15+f44ec6f-dirty"
486783
+ "1.1.16+6d460d2"
486783
486784
  ]
486784
486785
  }, undefined, true, undefined, this);
486785
486786
  $2[3] = verbose;
@@ -494947,7 +494948,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
494947
494948
  project_dir: getOriginalCwd(),
494948
494949
  added_dirs: addedDirs
494949
494950
  },
494950
- version: "1.1.15+f44ec6f-dirty",
494951
+ version: "1.1.16+6d460d2",
494951
494952
  output_style: {
494952
494953
  name: outputStyleName
494953
494954
  },
@@ -506431,7 +506432,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
506431
506432
  } catch {}
506432
506433
  const data = {
506433
506434
  trigger,
506434
- version: "1.1.15+f44ec6f-dirty",
506435
+ version: "1.1.16+6d460d2",
506435
506436
  platform: process.platform,
506436
506437
  transcript,
506437
506438
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -517848,7 +517849,7 @@ function WelcomeV2() {
517848
517849
  dimColor: true,
517849
517850
  children: [
517850
517851
  "v",
517851
- "1.1.15+f44ec6f-dirty",
517852
+ "1.1.16+6d460d2",
517852
517853
  " "
517853
517854
  ]
517854
517855
  }, undefined, true, undefined, this)
@@ -518048,7 +518049,7 @@ function WelcomeV2() {
518048
518049
  dimColor: true,
518049
518050
  children: [
518050
518051
  "v",
518051
- "1.1.15+f44ec6f-dirty",
518052
+ "1.1.16+6d460d2",
518052
518053
  " "
518053
518054
  ]
518054
518055
  }, undefined, true, undefined, this)
@@ -518274,7 +518275,7 @@ function AppleTerminalWelcomeV2(t0) {
518274
518275
  dimColor: true,
518275
518276
  children: [
518276
518277
  "v",
518277
- "1.1.15+f44ec6f-dirty",
518278
+ "1.1.16+6d460d2",
518278
518279
  " "
518279
518280
  ]
518280
518281
  }, undefined, true, undefined, this);
@@ -518528,7 +518529,7 @@ function AppleTerminalWelcomeV2(t0) {
518528
518529
  dimColor: true,
518529
518530
  children: [
518530
518531
  "v",
518531
- "1.1.15+f44ec6f-dirty",
518532
+ "1.1.16+6d460d2",
518532
518533
  " "
518533
518534
  ]
518534
518535
  }, undefined, true, undefined, this);
@@ -521592,7 +521593,7 @@ function appendToLog(path25, message) {
521592
521593
  cwd: getFsImplementation().cwd(),
521593
521594
  userType: process.env.USER_TYPE,
521594
521595
  sessionId: getSessionId(),
521595
- version: "1.1.15+f44ec6f-dirty"
521596
+ version: "1.1.16+6d460d2"
521596
521597
  };
521597
521598
  getLogWriter(path25).write(messageWithTimestamp);
521598
521599
  }
@@ -525577,8 +525578,8 @@ async function getEnvLessBridgeConfig() {
525577
525578
  }
525578
525579
  async function checkEnvLessBridgeMinVersion() {
525579
525580
  const cfg = await getEnvLessBridgeConfig();
525580
- if (cfg.min_version && lt("1.1.15+f44ec6f-dirty", cfg.min_version)) {
525581
- return `Your version of Vivus (${"1.1.15+f44ec6f-dirty"}) is too old for Remote Control.
525581
+ if (cfg.min_version && lt("1.1.16+6d460d2", cfg.min_version)) {
525582
+ return `Your version of Vivus (${"1.1.16+6d460d2"}) is too old for Remote Control.
525582
525583
  Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
525583
525584
  }
525584
525585
  return null;
@@ -526052,7 +526053,7 @@ async function initBridgeCore(params) {
526052
526053
  const rawApi = createBridgeApiClient({
526053
526054
  baseUrl,
526054
526055
  getAccessToken,
526055
- runnerVersion: "1.1.15+f44ec6f-dirty",
526056
+ runnerVersion: "1.1.16+6d460d2",
526056
526057
  onDebug: logForDebugging,
526057
526058
  onAuth401,
526058
526059
  getTrustedDeviceToken
@@ -531716,7 +531717,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
531716
531717
  setCwd(cwd3);
531717
531718
  const server = new Server({
531718
531719
  name: "vivus/tengu",
531719
- version: "1.1.15+f44ec6f-dirty"
531720
+ version: "1.1.16+6d460d2"
531720
531721
  }, {
531721
531722
  capabilities: {
531722
531723
  tools: {}
@@ -533327,7 +533328,7 @@ __export(exports_update, {
533327
533328
  });
533328
533329
  async function update() {
533329
533330
  logEvent("tengu_update_check", {});
533330
- writeToStdout(`Current version: ${"1.1.15+f44ec6f-dirty"}
533331
+ writeToStdout(`Current version: ${"1.1.16+6d460d2"}
533331
533332
  `);
533332
533333
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
533333
533334
  writeToStdout(`Checking for updates to ${channel} version...
@@ -533402,8 +533403,8 @@ async function update() {
533402
533403
  writeToStdout(`Vivus is managed by Homebrew.
533403
533404
  `);
533404
533405
  const latest = await getLatestVersion(channel);
533405
- if (latest && !gte("1.1.15+f44ec6f-dirty", latest)) {
533406
- writeToStdout(`Update available: ${"1.1.15+f44ec6f-dirty"} → ${latest}
533406
+ if (latest && !gte("1.1.16+6d460d2", latest)) {
533407
+ writeToStdout(`Update available: ${"1.1.16+6d460d2"} → ${latest}
533407
533408
  `);
533408
533409
  writeToStdout(`
533409
533410
  `);
@@ -533419,8 +533420,8 @@ async function update() {
533419
533420
  writeToStdout(`Vivus is managed by winget.
533420
533421
  `);
533421
533422
  const latest = await getLatestVersion(channel);
533422
- if (latest && !gte("1.1.15+f44ec6f-dirty", latest)) {
533423
- writeToStdout(`Update available: ${"1.1.15+f44ec6f-dirty"} → ${latest}
533423
+ if (latest && !gte("1.1.16+6d460d2", latest)) {
533424
+ writeToStdout(`Update available: ${"1.1.16+6d460d2"} → ${latest}
533424
533425
  `);
533425
533426
  writeToStdout(`
533426
533427
  `);
@@ -533436,8 +533437,8 @@ async function update() {
533436
533437
  writeToStdout(`Vivus is managed by apk.
533437
533438
  `);
533438
533439
  const latest = await getLatestVersion(channel);
533439
- if (latest && !gte("1.1.15+f44ec6f-dirty", latest)) {
533440
- writeToStdout(`Update available: ${"1.1.15+f44ec6f-dirty"} → ${latest}
533440
+ if (latest && !gte("1.1.16+6d460d2", latest)) {
533441
+ writeToStdout(`Update available: ${"1.1.16+6d460d2"} → ${latest}
533441
533442
  `);
533442
533443
  writeToStdout(`
533443
533444
  `);
@@ -533502,11 +533503,11 @@ async function update() {
533502
533503
  `);
533503
533504
  await gracefulShutdown(1);
533504
533505
  }
533505
- if (result.latestVersion === "1.1.15+f44ec6f-dirty") {
533506
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.15+f44ec6f-dirty"})`) + `
533506
+ if (result.latestVersion === "1.1.16+6d460d2") {
533507
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.16+6d460d2"})`) + `
533507
533508
  `);
533508
533509
  } else {
533509
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.15+f44ec6f-dirty"} to version ${result.latestVersion}`) + `
533510
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.16+6d460d2"} to version ${result.latestVersion}`) + `
533510
533511
  `);
533511
533512
  await regenerateCompletionCache();
533512
533513
  }
@@ -533563,12 +533564,12 @@ async function update() {
533563
533564
  `);
533564
533565
  await gracefulShutdown(1);
533565
533566
  }
533566
- if (latestVersion === "1.1.15+f44ec6f-dirty") {
533567
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.15+f44ec6f-dirty"})`) + `
533567
+ if (latestVersion === "1.1.16+6d460d2") {
533568
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.16+6d460d2"})`) + `
533568
533569
  `);
533569
533570
  await gracefulShutdown(0);
533570
533571
  }
533571
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.15+f44ec6f-dirty"})
533572
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.16+6d460d2"})
533572
533573
  `);
533573
533574
  writeToStdout(`Installing update...
533574
533575
  `);
@@ -533613,7 +533614,7 @@ async function update() {
533613
533614
  logForDebugging(`update: Installation status: ${status2}`);
533614
533615
  switch (status2) {
533615
533616
  case "success":
533616
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.15+f44ec6f-dirty"} to version ${latestVersion}`) + `
533617
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.16+6d460d2"} to version ${latestVersion}`) + `
533617
533618
  `);
533618
533619
  await regenerateCompletionCache();
533619
533620
  break;
@@ -534587,7 +534588,7 @@ function completeOnboarding() {
534587
534588
  saveGlobalConfig((current) => ({
534588
534589
  ...current,
534589
534590
  hasCompletedOnboarding: true,
534590
- lastOnboardingVersion: "1.1.15+f44ec6f-dirty"
534591
+ lastOnboardingVersion: "1.1.16+6d460d2"
534591
534592
  }));
534592
534593
  }
534593
534594
  function showDialog(root2, renderer) {
@@ -538761,7 +538762,7 @@ ${customInstructions}` : customInstructions;
538761
538762
  }
538762
538763
  }
538763
538764
  logForDiagnosticsNoPII("info", "started", {
538764
- version: "1.1.15+f44ec6f-dirty",
538765
+ version: "1.1.16+6d460d2",
538765
538766
  is_native_binary: isInBundledMode()
538766
538767
  });
538767
538768
  registerCleanup(async () => {
@@ -539545,7 +539546,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
539545
539546
  pendingHookMessages
539546
539547
  }, renderAndRun);
539547
539548
  }
539548
- }).version("1.1.15+f44ec6f-dirty (Vivus)", "-v, --version", "Output the version number");
539549
+ }).version("1.1.16+6d460d2 (Vivus)", "-v, --version", "Output the version number");
539549
539550
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
539550
539551
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
539551
539552
  if (canUserConfigureAdvisor()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vivus-agent",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "Vivus — local AI coding agent",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",