vivus-agent 1.1.16 → 1.1.17

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 +106 -87
  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-19T16:23:42.976Z
3
+ // Built from source at 2026-06-19T17:01:24.934Z
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.16+6d460d2"}`;
116019
+ return `vivus/${"1.1.17+4bbca57"}`;
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.16+6d460d2"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
116041
+ return `vivus-cli/${"1.1.17+4bbca57"} (${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.16+6d460d2"}${suffix}`;
116055
+ return `vivus/${"1.1.17+4bbca57"}${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.16+6d460d2",
116193
+ appVersion: "1.1.17+4bbca57",
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.16+6d460d2".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
127859
+ const match = "1.1.17+4bbca57".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.16+6d460d2",
127899
+ version: "1.1.17+4bbca57",
127900
127900
  versionBase: getVersionBase(),
127901
- buildTime: "2026-06-19T16:23:42.456Z",
127901
+ buildTime: "2026-06-19T17:01:24.166Z",
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.16+6d460d2"
128569
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.17+4bbca57"
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.16+6d460d2");
128596
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.17+4bbca57");
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.16+6d460d2"}.${fingerprint}`;
162709
+ const version2 = `${"1.1.17+4bbca57"}.${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.16+6d460d2";
175872
+ attributes["app.version"] = "1.1.17+4bbca57";
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.16+6d460d2");
242428
+ return computeFingerprint(firstMessageText, "1.1.17+4bbca57");
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.16+6d460d2");
242470
+ const fingerprint = computeFingerprint(messageText, "1.1.17+4bbca57");
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.16+6d460d2",
243622
+ version: "1.1.17+4bbca57",
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.16+6d460d2",
243976
+ version: "1.1.17+4bbca57",
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.16+6d460d2";
246034
+ return "1.1.17+4bbca57";
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.16+6d460d2");
278529
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.17+4bbca57");
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.16+6d460d2"
278569
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.17+4bbca57"
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.16+6d460d2");
278614
+ return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.17+4bbca57");
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.16+6d460d2");
278634
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.17+4bbca57");
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.16+6d460d2");
278696
+ return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.17+4bbca57");
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.16+6d460d2", versionConfig.minVersion)) {
279382
+ if (versionConfig.minVersion && lt("1.1.17+4bbca57", versionConfig.minVersion)) {
279383
279383
  console.error(`
279384
- It looks like your version of Vivus (${"1.1.16+6d460d2"}) needs an update.
279384
+ It looks like your version of Vivus (${"1.1.17+4bbca57"}) 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.16+6d460d2"
279600
+ currentVersion: "1.1.17+4bbca57"
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.16+6d460d2"
279609
+ currentVersion: "1.1.17+4bbca57"
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.16+6d460d2" : "unknown";
280142
+ const version2 = typeof MACRO !== "undefined" ? "1.1.17+4bbca57" : "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.16+6d460d2", maxVersion)) {
281076
- logForDebugging(`Native installer: current version ${"1.1.16+6d460d2"} is already at or above maxVersion ${maxVersion}, skipping update`);
281075
+ if (gte("1.1.17+4bbca57", maxVersion)) {
281076
+ logForDebugging(`Native installer: current version ${"1.1.17+4bbca57"} 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.16+6d460d2" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
281087
+ if (!forceReinstall && version2 === "1.1.17+4bbca57" && 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,
@@ -336998,7 +336998,7 @@ function getAnthropicEnvMetadata() {
336998
336998
  function getBuildAgeMinutes() {
336999
336999
  if (false)
337000
337000
  ;
337001
- const buildTime = new Date("2026-06-19T16:23:42.456Z").getTime();
337001
+ const buildTime = new Date("2026-06-19T17:01:24.166Z").getTime();
337002
337002
  if (isNaN(buildTime))
337003
337003
  return;
337004
337004
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -384217,7 +384217,7 @@ var init_filesystem = __esm(() => {
384217
384217
  });
384218
384218
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
384219
384219
  const nonce = randomBytes17(16).toString("hex");
384220
- return join106(getVivusTempDir(), "bundled-skills", "1.1.16+6d460d2", nonce);
384220
+ return join106(getVivusTempDir(), "bundled-skills", "1.1.17+4bbca57", nonce);
384221
384221
  });
384222
384222
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
384223
384223
  });
@@ -385977,7 +385977,7 @@ function Feedback({
385977
385977
  platform: env2.platform,
385978
385978
  gitRepo: envInfo.isGit,
385979
385979
  terminal: env2.terminal,
385980
- version: "1.1.16+6d460d2",
385980
+ version: "1.1.17+4bbca57",
385981
385981
  transcript: normalizeMessagesForAPI(messages),
385982
385982
  errors: sanitizedErrors,
385983
385983
  lastApiRequest: getLastAPIRequest(),
@@ -386169,7 +386169,7 @@ function Feedback({
386169
386169
  ", ",
386170
386170
  env2.terminal,
386171
386171
  ", v",
386172
- "1.1.16+6d460d2"
386172
+ "1.1.17+4bbca57"
386173
386173
  ]
386174
386174
  }, undefined, true, undefined, this)
386175
386175
  ]
@@ -386275,7 +386275,7 @@ ${sanitizedDescription}
386275
386275
  ` + `**Environment Info**
386276
386276
  ` + `- Platform: ${env2.platform}
386277
386277
  ` + `- Terminal: ${env2.terminal}
386278
- ` + `- Version: ${"1.1.16+6d460d2"}
386278
+ ` + `- Version: ${"1.1.17+4bbca57"}
386279
386279
  ` + `- Feedback ID: ${feedbackId}
386280
386280
  ` + `
386281
386281
  **Errors**
@@ -389407,7 +389407,7 @@ function buildPrimarySection() {
389407
389407
  }, undefined, false, undefined, this);
389408
389408
  return [{
389409
389409
  label: "Version",
389410
- value: "1.1.16+6d460d2"
389410
+ value: "1.1.17+4bbca57"
389411
389411
  }, {
389412
389412
  label: "Session name",
389413
389413
  value: nameValue
@@ -393158,7 +393158,7 @@ function Config({
393158
393158
  }
393159
393159
  }, undefined, false, undefined, this)
393160
393160
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
393161
- currentVersion: "1.1.16+6d460d2",
393161
+ currentVersion: "1.1.17+4bbca57",
393162
393162
  onChoice: (choice) => {
393163
393163
  setShowSubmenu(null);
393164
393164
  setTabsHidden(false);
@@ -393170,7 +393170,7 @@ function Config({
393170
393170
  autoUpdatesChannel: "stable"
393171
393171
  };
393172
393172
  if (choice === "stay") {
393173
- newSettings.minimumVersion = "1.1.16+6d460d2";
393173
+ newSettings.minimumVersion = "1.1.17+4bbca57";
393174
393174
  }
393175
393175
  updateSettingsForSource("userSettings", newSettings);
393176
393176
  setSettingsData((prev_27) => ({
@@ -401256,7 +401256,7 @@ function HelpV2(t0) {
401256
401256
  let t6;
401257
401257
  if ($2[31] !== tabs) {
401258
401258
  t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
401259
- title: `Vivus v${"1.1.16+6d460d2"}`,
401259
+ title: `Vivus v${"1.1.17+4bbca57"}`,
401260
401260
  color: "professionalBlue",
401261
401261
  defaultTab: "general",
401262
401262
  children: tabs
@@ -425482,7 +425482,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
425482
425482
  return [];
425483
425483
  }
425484
425484
  }
425485
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.16+6d460d2") {
425485
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.17+4bbca57") {
425486
425486
  if (process.env.USER_TYPE === "ant") {
425487
425487
  const changelog = "";
425488
425488
  if (changelog) {
@@ -425509,7 +425509,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.16+6d
425509
425509
  releaseNotes
425510
425510
  };
425511
425511
  }
425512
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.16+6d460d2") {
425512
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.17+4bbca57") {
425513
425513
  if (process.env.USER_TYPE === "ant") {
425514
425514
  const changelog = "";
425515
425515
  if (changelog) {
@@ -426679,7 +426679,7 @@ function getRecentActivitySync() {
426679
426679
  return cachedActivity;
426680
426680
  }
426681
426681
  function getLogoDisplayData() {
426682
- const version2 = process.env.DEMO_VERSION ?? "1.1.16+6d460d2";
426682
+ const version2 = process.env.DEMO_VERSION ?? "1.1.17+4bbca57";
426683
426683
  const serverUrl = getDirectConnectServerUrl();
426684
426684
  const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
426685
426685
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -428206,7 +428206,7 @@ function LogoV2() {
428206
428206
  if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
428207
428207
  t2 = () => {
428208
428208
  const currentConfig = getGlobalConfig();
428209
- if (currentConfig.lastReleaseNotesSeen === "1.1.16+6d460d2") {
428209
+ if (currentConfig.lastReleaseNotesSeen === "1.1.17+4bbca57") {
428210
428210
  return;
428211
428211
  }
428212
428212
  saveGlobalConfig(_temp329);
@@ -428882,12 +428882,12 @@ function LogoV2() {
428882
428882
  return t41;
428883
428883
  }
428884
428884
  function _temp329(current) {
428885
- if (current.lastReleaseNotesSeen === "1.1.16+6d460d2") {
428885
+ if (current.lastReleaseNotesSeen === "1.1.17+4bbca57") {
428886
428886
  return current;
428887
428887
  }
428888
428888
  return {
428889
428889
  ...current,
428890
- lastReleaseNotesSeen: "1.1.16+6d460d2"
428890
+ lastReleaseNotesSeen: "1.1.17+4bbca57"
428891
428891
  };
428892
428892
  }
428893
428893
  function _temp245(s_0) {
@@ -455184,7 +455184,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
455184
455184
  smapsRollup,
455185
455185
  platform: process.platform,
455186
455186
  nodeVersion: process.version,
455187
- ccVersion: "1.1.16+6d460d2"
455187
+ ccVersion: "1.1.17+4bbca57"
455188
455188
  };
455189
455189
  }
455190
455190
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -455770,7 +455770,7 @@ var init_bridge_kick = __esm(() => {
455770
455770
  var call56 = async () => {
455771
455771
  return {
455772
455772
  type: "text",
455773
- value: `${"1.1.16+6d460d2"} (built ${"2026-06-19T16:23:42.456Z"})`
455773
+ value: `${"1.1.17+4bbca57"} (built ${"2026-06-19T17:01:24.166Z"})`
455774
455774
  };
455775
455775
  }, version2, version_default;
455776
455776
  var init_version = __esm(() => {
@@ -464733,7 +464733,7 @@ function generateHtmlReport(data, insights) {
464733
464733
  </html>`;
464734
464734
  }
464735
464735
  function buildExportData(data, insights, facets, remoteStats) {
464736
- const version3 = typeof MACRO !== "undefined" ? "1.1.16+6d460d2" : "unknown";
464736
+ const version3 = typeof MACRO !== "undefined" ? "1.1.17+4bbca57" : "unknown";
464737
464737
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
464738
464738
  const facets_summary = {
464739
464739
  total: facets.size,
@@ -468842,7 +468842,7 @@ var init_sessionStorage = __esm(() => {
468842
468842
  init_settings2();
468843
468843
  init_slowOperations();
468844
468844
  init_uuid();
468845
- VERSION5 = typeof MACRO !== "undefined" ? "1.1.16+6d460d2" : "unknown";
468845
+ VERSION5 = typeof MACRO !== "undefined" ? "1.1.17+4bbca57" : "unknown";
468846
468846
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
468847
468847
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
468848
468848
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -471713,7 +471713,7 @@ function buildSystemInitMessage(inputs) {
471713
471713
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
471714
471714
  apiKeySource: getAnthropicApiKeyWithSource().source,
471715
471715
  betas: getSdkBetas(),
471716
- vivus_code_version: "1.1.16+6d460d2",
471716
+ vivus_code_version: "1.1.17+4bbca57",
471717
471717
  output_style: outputStyle2,
471718
471718
  agents: inputs.agents.map((agent) => agent.agentType),
471719
471719
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -486341,7 +486341,7 @@ var init_useVoiceEnabled = __esm(() => {
486341
486341
  function getSemverPart(version3) {
486342
486342
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
486343
486343
  }
486344
- function useUpdateNotification(updatedVersion, initialVersion = "1.1.16+6d460d2") {
486344
+ function useUpdateNotification(updatedVersion, initialVersion = "1.1.17+4bbca57") {
486345
486345
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
486346
486346
  if (!updatedVersion) {
486347
486347
  return null;
@@ -486381,7 +486381,7 @@ function AutoUpdater({
486381
486381
  return;
486382
486382
  }
486383
486383
  if (false) {}
486384
- const currentVersion = "1.1.16+6d460d2";
486384
+ const currentVersion = "1.1.17+4bbca57";
486385
486385
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
486386
486386
  let latestVersion = await getLatestVersion(channel);
486387
486387
  const isDisabled = isAutoUpdaterDisabled();
@@ -486594,12 +486594,12 @@ function NativeAutoUpdater({
486594
486594
  logEvent("tengu_native_auto_updater_start", {});
486595
486595
  try {
486596
486596
  const maxVersion = await getMaxVersion();
486597
- if (maxVersion && gt("1.1.16+6d460d2", maxVersion)) {
486597
+ if (maxVersion && gt("1.1.17+4bbca57", maxVersion)) {
486598
486598
  const msg = await getMaxVersionMessage();
486599
486599
  setMaxVersionIssue(msg ?? "affects your version");
486600
486600
  }
486601
486601
  const result = await installLatest(channel);
486602
- const currentVersion = "1.1.16+6d460d2";
486602
+ const currentVersion = "1.1.17+4bbca57";
486603
486603
  const latencyMs = Date.now() - startTime;
486604
486604
  if (result.lockFailed) {
486605
486605
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -486736,17 +486736,17 @@ function PackageManagerAutoUpdater(t0) {
486736
486736
  const maxVersion = await getMaxVersion();
486737
486737
  if (maxVersion && latest && gt(latest, maxVersion)) {
486738
486738
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
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`);
486739
+ if (gte("1.1.17+4bbca57", maxVersion)) {
486740
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.17+4bbca57"} is already at or above maxVersion ${maxVersion}, skipping update`);
486741
486741
  setUpdateAvailable(false);
486742
486742
  return;
486743
486743
  }
486744
486744
  latest = maxVersion;
486745
486745
  }
486746
- const hasUpdate = latest && !gte("1.1.16+6d460d2", latest) && !shouldSkipVersion(latest);
486746
+ const hasUpdate = latest && !gte("1.1.17+4bbca57", latest) && !shouldSkipVersion(latest);
486747
486747
  setUpdateAvailable(!!hasUpdate);
486748
486748
  if (hasUpdate) {
486749
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.16+6d460d2"} -> ${latest}`);
486749
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.17+4bbca57"} -> ${latest}`);
486750
486750
  }
486751
486751
  };
486752
486752
  $2[0] = t1;
@@ -486780,7 +486780,7 @@ function PackageManagerAutoUpdater(t0) {
486780
486780
  wrap: "truncate",
486781
486781
  children: [
486782
486782
  "currentVersion: ",
486783
- "1.1.16+6d460d2"
486783
+ "1.1.17+4bbca57"
486784
486784
  ]
486785
486785
  }, undefined, true, undefined, this);
486786
486786
  $2[3] = verbose;
@@ -494948,7 +494948,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
494948
494948
  project_dir: getOriginalCwd(),
494949
494949
  added_dirs: addedDirs
494950
494950
  },
494951
- version: "1.1.16+6d460d2",
494951
+ version: "1.1.17+4bbca57",
494952
494952
  output_style: {
494953
494953
  name: outputStyleName
494954
494954
  },
@@ -504986,6 +504986,21 @@ function computeStandaloneAgentContext(agentName, agentColor) {
504986
504986
  color: agentColor === "default" ? undefined : agentColor
504987
504987
  };
504988
504988
  }
504989
+ function restoreModelFromTranscript(messages) {
504990
+ if (getMainLoopModelOverride())
504991
+ return;
504992
+ for (let i2 = messages.length - 1;i2 >= 0; i2--) {
504993
+ const msg = messages[i2];
504994
+ if (msg?.type !== "assistant")
504995
+ continue;
504996
+ const model = msg.message?.model;
504997
+ if (typeof model === "string" && model && model !== SYNTHETIC_MODEL) {
504998
+ setMainLoopModelOverride(parseUserSpecifiedModel(model));
504999
+ logForDebugging(`[Resume] Restored model from transcript: ${model}`);
505000
+ return;
505001
+ }
505002
+ }
505003
+ }
504989
505004
  function restoreAgentFromSession(agentSetting, currentAgentDefinition, agentDefinitions) {
504990
505005
  if (currentAgentDefinition) {
504991
505006
  return { agentDefinition: currentAgentDefinition, agentType: undefined };
@@ -505076,6 +505091,7 @@ async function processResumedConversation(result, opts, context2) {
505076
505091
  adoptResumedSessionFile();
505077
505092
  }
505078
505093
  if (false) {}
505094
+ restoreModelFromTranscript(result.messages);
505079
505095
  const { agentDefinition: restoredAgent, agentType: resumedAgentType } = restoreAgentFromSession(result.agentSetting, context2.mainThreadAgentDefinition, context2.agentDefinitions);
505080
505096
  if (false) {}
505081
505097
  const restoredAttribution = opts.includeAttribution ? computeRestoredAttributionState(result) : undefined;
@@ -506432,7 +506448,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
506432
506448
  } catch {}
506433
506449
  const data = {
506434
506450
  trigger,
506435
- version: "1.1.16+6d460d2",
506451
+ version: "1.1.17+4bbca57",
506436
506452
  platform: process.platform,
506437
506453
  transcript,
506438
506454
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -514688,6 +514704,7 @@ function REPL({
514688
514704
  if (log.fileHistorySnapshots) {
514689
514705
  copyFileHistoryForResume(log);
514690
514706
  }
514707
+ restoreModelFromTranscript(messages2);
514691
514708
  const {
514692
514709
  agentDefinition: restoredAgent
514693
514710
  } = restoreAgentFromSession(log.agentSetting, initialMainThreadAgentDefinition, agentDefinitions);
@@ -517849,7 +517866,7 @@ function WelcomeV2() {
517849
517866
  dimColor: true,
517850
517867
  children: [
517851
517868
  "v",
517852
- "1.1.16+6d460d2",
517869
+ "1.1.17+4bbca57",
517853
517870
  " "
517854
517871
  ]
517855
517872
  }, undefined, true, undefined, this)
@@ -518049,7 +518066,7 @@ function WelcomeV2() {
518049
518066
  dimColor: true,
518050
518067
  children: [
518051
518068
  "v",
518052
- "1.1.16+6d460d2",
518069
+ "1.1.17+4bbca57",
518053
518070
  " "
518054
518071
  ]
518055
518072
  }, undefined, true, undefined, this)
@@ -518275,7 +518292,7 @@ function AppleTerminalWelcomeV2(t0) {
518275
518292
  dimColor: true,
518276
518293
  children: [
518277
518294
  "v",
518278
- "1.1.16+6d460d2",
518295
+ "1.1.17+4bbca57",
518279
518296
  " "
518280
518297
  ]
518281
518298
  }, undefined, true, undefined, this);
@@ -518529,7 +518546,7 @@ function AppleTerminalWelcomeV2(t0) {
518529
518546
  dimColor: true,
518530
518547
  children: [
518531
518548
  "v",
518532
- "1.1.16+6d460d2",
518549
+ "1.1.17+4bbca57",
518533
518550
  " "
518534
518551
  ]
518535
518552
  }, undefined, true, undefined, this);
@@ -521106,6 +521123,7 @@ function ResumeConversation({
521106
521123
  } else if (forkSession && result_3.contentReplacements?.length) {
521107
521124
  await recordContentReplacement(result_3.contentReplacements);
521108
521125
  }
521126
+ restoreModelFromTranscript(result_3.messages);
521109
521127
  const {
521110
521128
  agentDefinition: resolvedAgentDef
521111
521129
  } = restoreAgentFromSession(result_3.agentSetting, mainThreadAgentDefinition, agentDefinitions);
@@ -521593,7 +521611,7 @@ function appendToLog(path25, message) {
521593
521611
  cwd: getFsImplementation().cwd(),
521594
521612
  userType: process.env.USER_TYPE,
521595
521613
  sessionId: getSessionId(),
521596
- version: "1.1.16+6d460d2"
521614
+ version: "1.1.17+4bbca57"
521597
521615
  };
521598
521616
  getLogWriter(path25).write(messageWithTimestamp);
521599
521617
  }
@@ -525578,8 +525596,8 @@ async function getEnvLessBridgeConfig() {
525578
525596
  }
525579
525597
  async function checkEnvLessBridgeMinVersion() {
525580
525598
  const cfg = await getEnvLessBridgeConfig();
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.
525599
+ if (cfg.min_version && lt("1.1.17+4bbca57", cfg.min_version)) {
525600
+ return `Your version of Vivus (${"1.1.17+4bbca57"}) is too old for Remote Control.
525583
525601
  Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
525584
525602
  }
525585
525603
  return null;
@@ -526053,7 +526071,7 @@ async function initBridgeCore(params) {
526053
526071
  const rawApi = createBridgeApiClient({
526054
526072
  baseUrl,
526055
526073
  getAccessToken,
526056
- runnerVersion: "1.1.16+6d460d2",
526074
+ runnerVersion: "1.1.17+4bbca57",
526057
526075
  onDebug: logForDebugging,
526058
526076
  onAuth401,
526059
526077
  getTrustedDeviceToken
@@ -528099,6 +528117,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
528099
528117
  if (hookInitialUserMessage) {
528100
528118
  structuredIO.prependUserMessage(hookInitialUserMessage);
528101
528119
  }
528120
+ restoreModelFromTranscript(initialMessages);
528102
528121
  if (!options2.agent && !getMainThreadAgentType() && resumedAgentSetting) {
528103
528122
  const { agentDefinition: restoredAgent } = restoreAgentFromSession(resumedAgentSetting, undefined, { activeAgents: agents2, allAgents: agents2 });
528104
528123
  if (restoredAgent) {
@@ -531717,7 +531736,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
531717
531736
  setCwd(cwd3);
531718
531737
  const server = new Server({
531719
531738
  name: "vivus/tengu",
531720
- version: "1.1.16+6d460d2"
531739
+ version: "1.1.17+4bbca57"
531721
531740
  }, {
531722
531741
  capabilities: {
531723
531742
  tools: {}
@@ -533328,7 +533347,7 @@ __export(exports_update, {
533328
533347
  });
533329
533348
  async function update() {
533330
533349
  logEvent("tengu_update_check", {});
533331
- writeToStdout(`Current version: ${"1.1.16+6d460d2"}
533350
+ writeToStdout(`Current version: ${"1.1.17+4bbca57"}
533332
533351
  `);
533333
533352
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
533334
533353
  writeToStdout(`Checking for updates to ${channel} version...
@@ -533403,8 +533422,8 @@ async function update() {
533403
533422
  writeToStdout(`Vivus is managed by Homebrew.
533404
533423
  `);
533405
533424
  const latest = await getLatestVersion(channel);
533406
- if (latest && !gte("1.1.16+6d460d2", latest)) {
533407
- writeToStdout(`Update available: ${"1.1.16+6d460d2"} → ${latest}
533425
+ if (latest && !gte("1.1.17+4bbca57", latest)) {
533426
+ writeToStdout(`Update available: ${"1.1.17+4bbca57"} → ${latest}
533408
533427
  `);
533409
533428
  writeToStdout(`
533410
533429
  `);
@@ -533420,8 +533439,8 @@ async function update() {
533420
533439
  writeToStdout(`Vivus is managed by winget.
533421
533440
  `);
533422
533441
  const latest = await getLatestVersion(channel);
533423
- if (latest && !gte("1.1.16+6d460d2", latest)) {
533424
- writeToStdout(`Update available: ${"1.1.16+6d460d2"} → ${latest}
533442
+ if (latest && !gte("1.1.17+4bbca57", latest)) {
533443
+ writeToStdout(`Update available: ${"1.1.17+4bbca57"} → ${latest}
533425
533444
  `);
533426
533445
  writeToStdout(`
533427
533446
  `);
@@ -533437,8 +533456,8 @@ async function update() {
533437
533456
  writeToStdout(`Vivus is managed by apk.
533438
533457
  `);
533439
533458
  const latest = await getLatestVersion(channel);
533440
- if (latest && !gte("1.1.16+6d460d2", latest)) {
533441
- writeToStdout(`Update available: ${"1.1.16+6d460d2"} → ${latest}
533459
+ if (latest && !gte("1.1.17+4bbca57", latest)) {
533460
+ writeToStdout(`Update available: ${"1.1.17+4bbca57"} → ${latest}
533442
533461
  `);
533443
533462
  writeToStdout(`
533444
533463
  `);
@@ -533503,11 +533522,11 @@ async function update() {
533503
533522
  `);
533504
533523
  await gracefulShutdown(1);
533505
533524
  }
533506
- if (result.latestVersion === "1.1.16+6d460d2") {
533507
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.16+6d460d2"})`) + `
533525
+ if (result.latestVersion === "1.1.17+4bbca57") {
533526
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.17+4bbca57"})`) + `
533508
533527
  `);
533509
533528
  } else {
533510
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.16+6d460d2"} to version ${result.latestVersion}`) + `
533529
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.17+4bbca57"} to version ${result.latestVersion}`) + `
533511
533530
  `);
533512
533531
  await regenerateCompletionCache();
533513
533532
  }
@@ -533564,12 +533583,12 @@ async function update() {
533564
533583
  `);
533565
533584
  await gracefulShutdown(1);
533566
533585
  }
533567
- if (latestVersion === "1.1.16+6d460d2") {
533568
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.16+6d460d2"})`) + `
533586
+ if (latestVersion === "1.1.17+4bbca57") {
533587
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.17+4bbca57"})`) + `
533569
533588
  `);
533570
533589
  await gracefulShutdown(0);
533571
533590
  }
533572
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.16+6d460d2"})
533591
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.17+4bbca57"})
533573
533592
  `);
533574
533593
  writeToStdout(`Installing update...
533575
533594
  `);
@@ -533614,7 +533633,7 @@ async function update() {
533614
533633
  logForDebugging(`update: Installation status: ${status2}`);
533615
533634
  switch (status2) {
533616
533635
  case "success":
533617
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.16+6d460d2"} to version ${latestVersion}`) + `
533636
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.17+4bbca57"} to version ${latestVersion}`) + `
533618
533637
  `);
533619
533638
  await regenerateCompletionCache();
533620
533639
  break;
@@ -534588,7 +534607,7 @@ function completeOnboarding() {
534588
534607
  saveGlobalConfig((current) => ({
534589
534608
  ...current,
534590
534609
  hasCompletedOnboarding: true,
534591
- lastOnboardingVersion: "1.1.16+6d460d2"
534610
+ lastOnboardingVersion: "1.1.17+4bbca57"
534592
534611
  }));
534593
534612
  }
534594
534613
  function showDialog(root2, renderer) {
@@ -538762,7 +538781,7 @@ ${customInstructions}` : customInstructions;
538762
538781
  }
538763
538782
  }
538764
538783
  logForDiagnosticsNoPII("info", "started", {
538765
- version: "1.1.16+6d460d2",
538784
+ version: "1.1.17+4bbca57",
538766
538785
  is_native_binary: isInBundledMode()
538767
538786
  });
538768
538787
  registerCleanup(async () => {
@@ -539546,7 +539565,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
539546
539565
  pendingHookMessages
539547
539566
  }, renderAndRun);
539548
539567
  }
539549
- }).version("1.1.16+6d460d2 (Vivus)", "-v, --version", "Output the version number");
539568
+ }).version("1.1.17+4bbca57 (Vivus)", "-v, --version", "Output the version number");
539550
539569
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
539551
539570
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
539552
539571
  if (canUserConfigureAdvisor()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vivus-agent",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "Vivus — local AI coding agent",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",