vivus-agent 1.1.34 → 1.1.35

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 +98 -88
  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-24T07:48:29.929Z
3
+ // Built from source at 2026-07-17T08:46:21.187Z
4
4
  import { createRequire } from "node:module";
5
5
  var __create = Object.create;
6
6
  var __getProtoOf = Object.getPrototypeOf;
@@ -108119,7 +108119,7 @@ var init_auth = __esm(() => {
108119
108119
 
108120
108120
  // src/utils/userAgent.ts
108121
108121
  function getVivusCodeUserAgent() {
108122
- return `vivus/${"1.1.34+9b8f5fb"}`;
108122
+ return `vivus/${"1.1.35+378be28"}`;
108123
108123
  }
108124
108124
 
108125
108125
  // src/utils/workloadContext.ts
@@ -108141,7 +108141,7 @@ function getUserAgent() {
108141
108141
  const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
108142
108142
  const workload = getWorkload();
108143
108143
  const workloadSuffix = workload ? `, workload/${workload}` : "";
108144
- return `vivus-cli/${"1.1.34+9b8f5fb"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
108144
+ return `vivus-cli/${"1.1.35+378be28"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
108145
108145
  }
108146
108146
  function getMCPUserAgent() {
108147
108147
  const parts = [];
@@ -108155,7 +108155,7 @@ function getMCPUserAgent() {
108155
108155
  parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
108156
108156
  }
108157
108157
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
108158
- return `vivus/${"1.1.34+9b8f5fb"}${suffix}`;
108158
+ return `vivus/${"1.1.35+378be28"}${suffix}`;
108159
108159
  }
108160
108160
  function getWebFetchUserAgent() {
108161
108161
  return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -108293,7 +108293,7 @@ var init_user = __esm(() => {
108293
108293
  deviceId,
108294
108294
  sessionId: getSessionId(),
108295
108295
  email: getEmail(),
108296
- appVersion: "1.1.34+9b8f5fb",
108296
+ appVersion: "1.1.35+378be28",
108297
108297
  platform: getHostPlatformForAnalytics(),
108298
108298
  organizationUuid,
108299
108299
  accountUuid,
@@ -119604,7 +119604,7 @@ var init_metadata = __esm(() => {
119604
119604
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
119605
119605
  WHITESPACE_REGEX = /\s+/;
119606
119606
  getVersionBase = memoize_default(() => {
119607
- const match = "1.1.34+9b8f5fb".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
119607
+ const match = "1.1.35+378be28".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
119608
119608
  return match ? match[0] : undefined;
119609
119609
  });
119610
119610
  buildEnvContext = memoize_default(async () => {
@@ -119644,9 +119644,9 @@ var init_metadata = __esm(() => {
119644
119644
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
119645
119645
  isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
119646
119646
  isVivusAiAuth: isVivusAISubscriber(),
119647
- version: "1.1.34+9b8f5fb",
119647
+ version: "1.1.35+378be28",
119648
119648
  versionBase: getVersionBase(),
119649
- buildTime: "2026-06-24T07:48:29.587Z",
119649
+ buildTime: "2026-07-17T08:46:20.419Z",
119650
119650
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
119651
119651
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
119652
119652
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -120314,7 +120314,7 @@ function initialize1PEventLogging() {
120314
120314
  const platform2 = getPlatform();
120315
120315
  const attributes = {
120316
120316
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
120317
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.34+9b8f5fb"
120317
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.35+378be28"
120318
120318
  };
120319
120319
  if (platform2 === "wsl") {
120320
120320
  const wslVersion = getWslVersion();
@@ -120341,7 +120341,7 @@ function initialize1PEventLogging() {
120341
120341
  })
120342
120342
  ]
120343
120343
  });
120344
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.34+9b8f5fb");
120344
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.35+378be28");
120345
120345
  }
120346
120346
  async function reinitialize1PEventLoggingIfConfigChanged() {
120347
120347
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -162555,7 +162555,7 @@ function getAttributionHeader(fingerprint) {
162555
162555
  if (!isAttributionHeaderEnabled()) {
162556
162556
  return "";
162557
162557
  }
162558
- const version2 = `${"1.1.34+9b8f5fb"}.${fingerprint}`;
162558
+ const version2 = `${"1.1.35+378be28"}.${fingerprint}`;
162559
162559
  const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
162560
162560
  const cch = "";
162561
162561
  const workload = getWorkload();
@@ -175718,7 +175718,7 @@ function getTelemetryAttributes() {
175718
175718
  attributes["session.id"] = sessionId;
175719
175719
  }
175720
175720
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
175721
- attributes["app.version"] = "1.1.34+9b8f5fb";
175721
+ attributes["app.version"] = "1.1.35+378be28";
175722
175722
  }
175723
175723
  const oauthAccount = getOauthAccountInfo();
175724
175724
  if (oauthAccount) {
@@ -242288,7 +242288,7 @@ function computeFingerprint(messageText, version2) {
242288
242288
  }
242289
242289
  function computeFingerprintFromMessages(messages) {
242290
242290
  const firstMessageText = extractFirstMessageText(messages);
242291
- return computeFingerprint(firstMessageText, "1.1.34+9b8f5fb");
242291
+ return computeFingerprint(firstMessageText, "1.1.35+378be28");
242292
242292
  }
242293
242293
  var FINGERPRINT_SALT = "59cf53e54c78";
242294
242294
  var init_fingerprint = () => {};
@@ -242330,7 +242330,7 @@ async function sideQuery(opts) {
242330
242330
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
242331
242331
  }
242332
242332
  const messageText = extractFirstUserMessageText(messages);
242333
- const fingerprint = computeFingerprint(messageText, "1.1.34+9b8f5fb");
242333
+ const fingerprint = computeFingerprint(messageText, "1.1.35+378be28");
242334
242334
  const attributionHeader = getAttributionHeader(fingerprint);
242335
242335
  const systemBlocks = [
242336
242336
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -243482,7 +243482,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
243482
243482
  const client2 = new Client({
243483
243483
  name: "vivus",
243484
243484
  title: "Vivus",
243485
- version: "1.1.34+9b8f5fb",
243485
+ version: "1.1.35+378be28",
243486
243486
  description: "Anthropic's agentic coding tool",
243487
243487
  websiteUrl: PRODUCT_URL
243488
243488
  }, {
@@ -243836,7 +243836,7 @@ var init_client6 = __esm(() => {
243836
243836
  const client2 = new Client({
243837
243837
  name: "vivus",
243838
243838
  title: "Vivus",
243839
- version: "1.1.34+9b8f5fb",
243839
+ version: "1.1.35+378be28",
243840
243840
  description: "Anthropic's agentic coding tool",
243841
243841
  websiteUrl: PRODUCT_URL
243842
243842
  }, {
@@ -245897,7 +245897,7 @@ function getInstallationEnv() {
245897
245897
  return;
245898
245898
  }
245899
245899
  function getVivusCodeVersion() {
245900
- return "1.1.34+9b8f5fb";
245900
+ return "1.1.35+378be28";
245901
245901
  }
245902
245902
  async function getInstalledVSCodeExtensionVersion(command) {
245903
245903
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -300977,7 +300977,7 @@ async function initializeBetaTracing(resource) {
300977
300977
  });
300978
300978
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
300979
300979
  setLoggerProvider(loggerProvider);
300980
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.34+9b8f5fb");
300980
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.35+378be28");
300981
300981
  setEventLogger(eventLogger);
300982
300982
  process.on("beforeExit", async () => {
300983
300983
  await loggerProvider?.forceFlush();
@@ -301017,7 +301017,7 @@ async function initializeTelemetry() {
301017
301017
  const platform5 = getPlatform();
301018
301018
  const baseAttributes = {
301019
301019
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
301020
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.34+9b8f5fb"
301020
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.35+378be28"
301021
301021
  };
301022
301022
  if (platform5 === "wsl") {
301023
301023
  const wslVersion = getWslVersion();
@@ -301062,7 +301062,7 @@ async function initializeTelemetry() {
301062
301062
  } catch {}
301063
301063
  };
301064
301064
  registerCleanup(shutdownTelemetry2);
301065
- return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.34+9b8f5fb");
301065
+ return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.35+378be28");
301066
301066
  }
301067
301067
  const meterProvider = new import_sdk_metrics2.MeterProvider({
301068
301068
  resource,
@@ -301082,7 +301082,7 @@ async function initializeTelemetry() {
301082
301082
  });
301083
301083
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
301084
301084
  setLoggerProvider(loggerProvider);
301085
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.34+9b8f5fb");
301085
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.35+378be28");
301086
301086
  setEventLogger(eventLogger);
301087
301087
  logForDebugging("[3P telemetry] Event logger set successfully");
301088
301088
  process.on("beforeExit", async () => {
@@ -301144,7 +301144,7 @@ Current timeout: ${timeoutMs}ms
301144
301144
  }
301145
301145
  };
301146
301146
  registerCleanup(shutdownTelemetry);
301147
- return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.34+9b8f5fb");
301147
+ return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.35+378be28");
301148
301148
  }
301149
301149
  async function flushTelemetry() {
301150
301150
  const meterProvider = getMeterProvider();
@@ -301830,9 +301830,9 @@ async function assertMinVersion() {
301830
301830
  if (false) {}
301831
301831
  try {
301832
301832
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
301833
- if (versionConfig.minVersion && lt("1.1.34+9b8f5fb", versionConfig.minVersion)) {
301833
+ if (versionConfig.minVersion && lt("1.1.35+378be28", versionConfig.minVersion)) {
301834
301834
  console.error(`
301835
- It looks like your version of Vivus (${"1.1.34+9b8f5fb"}) needs an update.
301835
+ It looks like your version of Vivus (${"1.1.35+378be28"}) needs an update.
301836
301836
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
301837
301837
 
301838
301838
  To update, please run:
@@ -302048,7 +302048,7 @@ async function installGlobalPackage(specificVersion) {
302048
302048
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
302049
302049
  logEvent("tengu_auto_updater_lock_contention", {
302050
302050
  pid: process.pid,
302051
- currentVersion: "1.1.34+9b8f5fb"
302051
+ currentVersion: "1.1.35+378be28"
302052
302052
  });
302053
302053
  return "in_progress";
302054
302054
  }
@@ -302057,7 +302057,7 @@ async function installGlobalPackage(specificVersion) {
302057
302057
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
302058
302058
  logError2(new Error("Windows NPM detected in WSL environment"));
302059
302059
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
302060
- currentVersion: "1.1.34+9b8f5fb"
302060
+ currentVersion: "1.1.35+378be28"
302061
302061
  });
302062
302062
  console.error(`
302063
302063
  Error: Windows NPM detected in WSL
@@ -302590,7 +302590,7 @@ function detectLinuxGlobPatternWarnings() {
302590
302590
  }
302591
302591
  async function getDoctorDiagnostic() {
302592
302592
  const installationType = await getCurrentInstallationType();
302593
- const version2 = typeof MACRO !== "undefined" ? "1.1.34+9b8f5fb" : "unknown";
302593
+ const version2 = typeof MACRO !== "undefined" ? "1.1.35+378be28" : "unknown";
302594
302594
  const installationPath = await getInstallationPath();
302595
302595
  const invokedBinary = getInvokedBinary();
302596
302596
  const multipleInstallations = await detectMultipleInstallations();
@@ -303523,8 +303523,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
303523
303523
  const maxVersion = await getMaxVersion();
303524
303524
  if (maxVersion && gt(version2, maxVersion)) {
303525
303525
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
303526
- if (gte("1.1.34+9b8f5fb", maxVersion)) {
303527
- logForDebugging(`Native installer: current version ${"1.1.34+9b8f5fb"} is already at or above maxVersion ${maxVersion}, skipping update`);
303526
+ if (gte("1.1.35+378be28", maxVersion)) {
303527
+ logForDebugging(`Native installer: current version ${"1.1.35+378be28"} is already at or above maxVersion ${maxVersion}, skipping update`);
303528
303528
  logEvent("tengu_native_update_skipped_max_version", {
303529
303529
  latency_ms: Date.now() - startTime,
303530
303530
  max_version: maxVersion,
@@ -303535,7 +303535,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
303535
303535
  version2 = maxVersion;
303536
303536
  }
303537
303537
  }
303538
- if (!forceReinstall && version2 === "1.1.34+9b8f5fb" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
303538
+ if (!forceReinstall && version2 === "1.1.35+378be28" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
303539
303539
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
303540
303540
  logEvent("tengu_native_update_complete", {
303541
303541
  latency_ms: Date.now() - startTime,
@@ -359453,7 +359453,7 @@ function getAnthropicEnvMetadata() {
359453
359453
  function getBuildAgeMinutes() {
359454
359454
  if (false)
359455
359455
  ;
359456
- const buildTime = new Date("2026-06-24T07:48:29.587Z").getTime();
359456
+ const buildTime = new Date("2026-07-17T08:46:20.419Z").getTime();
359457
359457
  if (isNaN(buildTime))
359458
359458
  return;
359459
359459
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -406677,7 +406677,7 @@ var init_filesystem = __esm(() => {
406677
406677
  });
406678
406678
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
406679
406679
  const nonce = randomBytes17(16).toString("hex");
406680
- return join107(getVivusTempDir(), "bundled-skills", "1.1.34+9b8f5fb", nonce);
406680
+ return join107(getVivusTempDir(), "bundled-skills", "1.1.35+378be28", nonce);
406681
406681
  });
406682
406682
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
406683
406683
  });
@@ -408437,7 +408437,7 @@ function Feedback({
408437
408437
  platform: env3.platform,
408438
408438
  gitRepo: envInfo.isGit,
408439
408439
  terminal: env3.terminal,
408440
- version: "1.1.34+9b8f5fb",
408440
+ version: "1.1.35+378be28",
408441
408441
  transcript: normalizeMessagesForAPI(messages),
408442
408442
  errors: sanitizedErrors,
408443
408443
  lastApiRequest: getLastAPIRequest(),
@@ -408629,7 +408629,7 @@ function Feedback({
408629
408629
  ", ",
408630
408630
  env3.terminal,
408631
408631
  ", v",
408632
- "1.1.34+9b8f5fb"
408632
+ "1.1.35+378be28"
408633
408633
  ]
408634
408634
  }, undefined, true, undefined, this)
408635
408635
  ]
@@ -408735,7 +408735,7 @@ ${sanitizedDescription}
408735
408735
  ` + `**Environment Info**
408736
408736
  ` + `- Platform: ${env3.platform}
408737
408737
  ` + `- Terminal: ${env3.terminal}
408738
- ` + `- Version: ${"1.1.34+9b8f5fb"}
408738
+ ` + `- Version: ${"1.1.35+378be28"}
408739
408739
  ` + `- Feedback ID: ${feedbackId}
408740
408740
  ` + `
408741
408741
  **Errors**
@@ -411867,7 +411867,7 @@ function buildPrimarySection() {
411867
411867
  }, undefined, false, undefined, this);
411868
411868
  return [{
411869
411869
  label: "Version",
411870
- value: "1.1.34+9b8f5fb"
411870
+ value: "1.1.35+378be28"
411871
411871
  }, {
411872
411872
  label: "Session name",
411873
411873
  value: nameValue
@@ -415618,7 +415618,7 @@ function Config({
415618
415618
  }
415619
415619
  }, undefined, false, undefined, this)
415620
415620
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
415621
- currentVersion: "1.1.34+9b8f5fb",
415621
+ currentVersion: "1.1.35+378be28",
415622
415622
  onChoice: (choice) => {
415623
415623
  setShowSubmenu(null);
415624
415624
  setTabsHidden(false);
@@ -415630,7 +415630,7 @@ function Config({
415630
415630
  autoUpdatesChannel: "stable"
415631
415631
  };
415632
415632
  if (choice === "stay") {
415633
- newSettings.minimumVersion = "1.1.34+9b8f5fb";
415633
+ newSettings.minimumVersion = "1.1.35+378be28";
415634
415634
  }
415635
415635
  updateSettingsForSource("userSettings", newSettings);
415636
415636
  setSettingsData((prev_27) => ({
@@ -423716,7 +423716,7 @@ function HelpV2(t0) {
423716
423716
  let t6;
423717
423717
  if ($2[31] !== tabs) {
423718
423718
  t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
423719
- title: `Vivus v${"1.1.34+9b8f5fb"}`,
423719
+ title: `Vivus v${"1.1.35+378be28"}`,
423720
423720
  color: "professionalBlue",
423721
423721
  defaultTab: "general",
423722
423722
  children: tabs
@@ -447942,7 +447942,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
447942
447942
  return [];
447943
447943
  }
447944
447944
  }
447945
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.34+9b8f5fb") {
447945
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.35+378be28") {
447946
447946
  if (process.env.USER_TYPE === "ant") {
447947
447947
  const changelog = "";
447948
447948
  if (changelog) {
@@ -447969,7 +447969,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.34+9b
447969
447969
  releaseNotes
447970
447970
  };
447971
447971
  }
447972
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.34+9b8f5fb") {
447972
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.35+378be28") {
447973
447973
  if (process.env.USER_TYPE === "ant") {
447974
447974
  const changelog = "";
447975
447975
  if (changelog) {
@@ -449139,7 +449139,7 @@ function getRecentActivitySync() {
449139
449139
  return cachedActivity;
449140
449140
  }
449141
449141
  function getLogoDisplayData() {
449142
- const version2 = process.env.DEMO_VERSION ?? "1.1.34+9b8f5fb";
449142
+ const version2 = process.env.DEMO_VERSION ?? "1.1.35+378be28";
449143
449143
  const serverUrl = getDirectConnectServerUrl();
449144
449144
  const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
449145
449145
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -450666,7 +450666,7 @@ function LogoV2() {
450666
450666
  if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
450667
450667
  t2 = () => {
450668
450668
  const currentConfig = getGlobalConfig();
450669
- if (currentConfig.lastReleaseNotesSeen === "1.1.34+9b8f5fb") {
450669
+ if (currentConfig.lastReleaseNotesSeen === "1.1.35+378be28") {
450670
450670
  return;
450671
450671
  }
450672
450672
  saveGlobalConfig(_temp329);
@@ -451342,12 +451342,12 @@ function LogoV2() {
451342
451342
  return t41;
451343
451343
  }
451344
451344
  function _temp329(current) {
451345
- if (current.lastReleaseNotesSeen === "1.1.34+9b8f5fb") {
451345
+ if (current.lastReleaseNotesSeen === "1.1.35+378be28") {
451346
451346
  return current;
451347
451347
  }
451348
451348
  return {
451349
451349
  ...current,
451350
- lastReleaseNotesSeen: "1.1.34+9b8f5fb"
451350
+ lastReleaseNotesSeen: "1.1.35+378be28"
451351
451351
  };
451352
451352
  }
451353
451353
  function _temp245(s_0) {
@@ -477644,7 +477644,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
477644
477644
  smapsRollup,
477645
477645
  platform: process.platform,
477646
477646
  nodeVersion: process.version,
477647
- ccVersion: "1.1.34+9b8f5fb"
477647
+ ccVersion: "1.1.35+378be28"
477648
477648
  };
477649
477649
  }
477650
477650
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -478230,7 +478230,7 @@ var init_bridge_kick = __esm(() => {
478230
478230
  var call56 = async () => {
478231
478231
  return {
478232
478232
  type: "text",
478233
- value: `${"1.1.34+9b8f5fb"} (built ${"2026-06-24T07:48:29.587Z"})`
478233
+ value: `${"1.1.35+378be28"} (built ${"2026-07-17T08:46:20.419Z"})`
478234
478234
  };
478235
478235
  }, version2, version_default;
478236
478236
  var init_version = __esm(() => {
@@ -487513,7 +487513,7 @@ function generateHtmlReport(data, insights) {
487513
487513
  </html>`;
487514
487514
  }
487515
487515
  function buildExportData(data, insights, facets, remoteStats) {
487516
- const version3 = typeof MACRO !== "undefined" ? "1.1.34+9b8f5fb" : "unknown";
487516
+ const version3 = typeof MACRO !== "undefined" ? "1.1.35+378be28" : "unknown";
487517
487517
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
487518
487518
  const facets_summary = {
487519
487519
  total: facets.size,
@@ -491624,7 +491624,7 @@ var init_sessionStorage = __esm(() => {
491624
491624
  init_settings2();
491625
491625
  init_slowOperations();
491626
491626
  init_uuid();
491627
- VERSION5 = typeof MACRO !== "undefined" ? "1.1.34+9b8f5fb" : "unknown";
491627
+ VERSION5 = typeof MACRO !== "undefined" ? "1.1.35+378be28" : "unknown";
491628
491628
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
491629
491629
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
491630
491630
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -494496,7 +494496,7 @@ function buildSystemInitMessage(inputs) {
494496
494496
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
494497
494497
  apiKeySource: getAnthropicApiKeyWithSource().source,
494498
494498
  betas: getSdkBetas(),
494499
- vivus_code_version: "1.1.34+9b8f5fb",
494499
+ vivus_code_version: "1.1.35+378be28",
494500
494500
  output_style: outputStyle2,
494501
494501
  agents: inputs.agents.map((agent) => agent.agentType),
494502
494502
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -509124,7 +509124,7 @@ var init_useVoiceEnabled = __esm(() => {
509124
509124
  function getSemverPart(version3) {
509125
509125
  return `${import_semver12.major(version3, { loose: true })}.${import_semver12.minor(version3, { loose: true })}.${import_semver12.patch(version3, { loose: true })}`;
509126
509126
  }
509127
- function useUpdateNotification(updatedVersion, initialVersion = "1.1.34+9b8f5fb") {
509127
+ function useUpdateNotification(updatedVersion, initialVersion = "1.1.35+378be28") {
509128
509128
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react228.useState(() => getSemverPart(initialVersion));
509129
509129
  if (!updatedVersion) {
509130
509130
  return null;
@@ -509164,7 +509164,7 @@ function AutoUpdater({
509164
509164
  return;
509165
509165
  }
509166
509166
  if (false) {}
509167
- const currentVersion = "1.1.34+9b8f5fb";
509167
+ const currentVersion = "1.1.35+378be28";
509168
509168
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
509169
509169
  let latestVersion = await getLatestVersion(channel);
509170
509170
  const isDisabled = isAutoUpdaterDisabled();
@@ -509377,12 +509377,12 @@ function NativeAutoUpdater({
509377
509377
  logEvent("tengu_native_auto_updater_start", {});
509378
509378
  try {
509379
509379
  const maxVersion = await getMaxVersion();
509380
- if (maxVersion && gt("1.1.34+9b8f5fb", maxVersion)) {
509380
+ if (maxVersion && gt("1.1.35+378be28", maxVersion)) {
509381
509381
  const msg = await getMaxVersionMessage();
509382
509382
  setMaxVersionIssue(msg ?? "affects your version");
509383
509383
  }
509384
509384
  const result = await installLatest(channel);
509385
- const currentVersion = "1.1.34+9b8f5fb";
509385
+ const currentVersion = "1.1.35+378be28";
509386
509386
  const latencyMs = Date.now() - startTime;
509387
509387
  if (result.lockFailed) {
509388
509388
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -509519,17 +509519,17 @@ function PackageManagerAutoUpdater(t0) {
509519
509519
  const maxVersion = await getMaxVersion();
509520
509520
  if (maxVersion && latest && gt(latest, maxVersion)) {
509521
509521
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
509522
- if (gte("1.1.34+9b8f5fb", maxVersion)) {
509523
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.34+9b8f5fb"} is already at or above maxVersion ${maxVersion}, skipping update`);
509522
+ if (gte("1.1.35+378be28", maxVersion)) {
509523
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.35+378be28"} is already at or above maxVersion ${maxVersion}, skipping update`);
509524
509524
  setUpdateAvailable(false);
509525
509525
  return;
509526
509526
  }
509527
509527
  latest = maxVersion;
509528
509528
  }
509529
- const hasUpdate = latest && !gte("1.1.34+9b8f5fb", latest) && !shouldSkipVersion(latest);
509529
+ const hasUpdate = latest && !gte("1.1.35+378be28", latest) && !shouldSkipVersion(latest);
509530
509530
  setUpdateAvailable(!!hasUpdate);
509531
509531
  if (hasUpdate) {
509532
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.34+9b8f5fb"} -> ${latest}`);
509532
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.35+378be28"} -> ${latest}`);
509533
509533
  }
509534
509534
  };
509535
509535
  $2[0] = t1;
@@ -509563,7 +509563,7 @@ function PackageManagerAutoUpdater(t0) {
509563
509563
  wrap: "truncate",
509564
509564
  children: [
509565
509565
  "currentVersion: ",
509566
- "1.1.34+9b8f5fb"
509566
+ "1.1.35+378be28"
509567
509567
  ]
509568
509568
  }, undefined, true, undefined, this);
509569
509569
  $2[3] = verbose;
@@ -517493,7 +517493,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
517493
517493
  project_dir: getOriginalCwd(),
517494
517494
  added_dirs: addedDirs
517495
517495
  },
517496
- version: "1.1.34+9b8f5fb",
517496
+ version: "1.1.35+378be28",
517497
517497
  output_style: {
517498
517498
  name: outputStyleName
517499
517499
  },
@@ -527652,6 +527652,7 @@ async function processResumedConversation(result, opts, context2) {
527652
527652
  restoredAgentDef: restoredAgent,
527653
527653
  initialState: {
527654
527654
  ...context2.initialState,
527655
+ mainLoopModel: getUserSpecifiedModelSetting() ?? null,
527655
527656
  ...resumedAgentType && { agent: resumedAgentType },
527656
527657
  ...restoredAttribution && { attribution: restoredAttribution },
527657
527658
  ...standaloneAgentContext && { standaloneAgentContext },
@@ -528993,7 +528994,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
528993
528994
  } catch {}
528994
528995
  const data = {
528995
528996
  trigger,
528996
- version: "1.1.34+9b8f5fb",
528997
+ version: "1.1.35+378be28",
528997
528998
  platform: process.platform,
528998
528999
  transcript,
528999
529000
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -537259,7 +537260,9 @@ function REPL({
537259
537260
  setMainThreadAgentDefinition(restoredAgent);
537260
537261
  setAppState((prev) => ({
537261
537262
  ...prev,
537262
- agent: restoredAgent?.agentType
537263
+ agent: restoredAgent?.agentType,
537264
+ mainLoopModel: getUserSpecifiedModelSetting() ?? null,
537265
+ mainLoopModelForSession: null
537263
537266
  }));
537264
537267
  setAppState((prev) => ({
537265
537268
  ...prev,
@@ -539794,6 +539797,7 @@ var init_REPL = __esm(() => {
539794
539797
  init_agentToolUtils();
539795
539798
  init_resumeAgent();
539796
539799
  init_useMainLoopModel();
539800
+ init_model();
539797
539801
  init_AppState();
539798
539802
  init_plans();
539799
539803
  init_sessionStorage();
@@ -540412,7 +540416,7 @@ function WelcomeV2() {
540412
540416
  dimColor: true,
540413
540417
  children: [
540414
540418
  "v",
540415
- "1.1.34+9b8f5fb",
540419
+ "1.1.35+378be28",
540416
540420
  " "
540417
540421
  ]
540418
540422
  }, undefined, true, undefined, this)
@@ -540612,7 +540616,7 @@ function WelcomeV2() {
540612
540616
  dimColor: true,
540613
540617
  children: [
540614
540618
  "v",
540615
- "1.1.34+9b8f5fb",
540619
+ "1.1.35+378be28",
540616
540620
  " "
540617
540621
  ]
540618
540622
  }, undefined, true, undefined, this)
@@ -540838,7 +540842,7 @@ function AppleTerminalWelcomeV2(t0) {
540838
540842
  dimColor: true,
540839
540843
  children: [
540840
540844
  "v",
540841
- "1.1.34+9b8f5fb",
540845
+ "1.1.35+378be28",
540842
540846
  " "
540843
540847
  ]
540844
540848
  }, undefined, true, undefined, this);
@@ -541092,7 +541096,7 @@ function AppleTerminalWelcomeV2(t0) {
541092
541096
  dimColor: true,
541093
541097
  children: [
541094
541098
  "v",
541095
- "1.1.34+9b8f5fb",
541099
+ "1.1.35+378be28",
541096
541100
  " "
541097
541101
  ]
541098
541102
  }, undefined, true, undefined, this);
@@ -543673,6 +543677,11 @@ function ResumeConversation({
543673
543677
  const {
543674
543678
  agentDefinition: resolvedAgentDef
543675
543679
  } = restoreAgentFromSession(result_3.agentSetting, mainThreadAgentDefinition, agentDefinitions);
543680
+ setAppState((prev) => ({
543681
+ ...prev,
543682
+ mainLoopModel: getUserSpecifiedModelSetting() ?? null,
543683
+ mainLoopModelForSession: null
543684
+ }));
543676
543685
  setAppState((prev_1) => ({
543677
543686
  ...prev_1,
543678
543687
  agent: resolvedAgentDef?.agentType
@@ -543924,6 +543933,7 @@ var init_ResumeConversation = __esm(() => {
543924
543933
  init_crossProjectResume();
543925
543934
  init_log3();
543926
543935
  init_messages3();
543936
+ init_model();
543927
543937
  init_sessionRestore();
543928
543938
  init_sessionStorage();
543929
543939
  init_REPL();
@@ -544157,7 +544167,7 @@ function appendToLog(path25, message) {
544157
544167
  cwd: getFsImplementation().cwd(),
544158
544168
  userType: process.env.USER_TYPE,
544159
544169
  sessionId: getSessionId(),
544160
- version: "1.1.34+9b8f5fb"
544170
+ version: "1.1.35+378be28"
544161
544171
  };
544162
544172
  getLogWriter(path25).write(messageWithTimestamp);
544163
544173
  }
@@ -548142,8 +548152,8 @@ async function getEnvLessBridgeConfig() {
548142
548152
  }
548143
548153
  async function checkEnvLessBridgeMinVersion() {
548144
548154
  const cfg = await getEnvLessBridgeConfig();
548145
- if (cfg.min_version && lt("1.1.34+9b8f5fb", cfg.min_version)) {
548146
- return `Your version of Vivus (${"1.1.34+9b8f5fb"}) is too old for Remote Control.
548155
+ if (cfg.min_version && lt("1.1.35+378be28", cfg.min_version)) {
548156
+ return `Your version of Vivus (${"1.1.35+378be28"}) is too old for Remote Control.
548147
548157
  Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
548148
548158
  }
548149
548159
  return null;
@@ -548617,7 +548627,7 @@ async function initBridgeCore(params) {
548617
548627
  const rawApi = createBridgeApiClient({
548618
548628
  baseUrl,
548619
548629
  getAccessToken,
548620
- runnerVersion: "1.1.34+9b8f5fb",
548630
+ runnerVersion: "1.1.35+378be28",
548621
548631
  onDebug: logForDebugging,
548622
548632
  onAuth401,
548623
548633
  getTrustedDeviceToken
@@ -554282,7 +554292,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
554282
554292
  setCwd(cwd3);
554283
554293
  const server = new Server({
554284
554294
  name: "vivus/tengu",
554285
- version: "1.1.34+9b8f5fb"
554295
+ version: "1.1.35+378be28"
554286
554296
  }, {
554287
554297
  capabilities: {
554288
554298
  tools: {}
@@ -555893,7 +555903,7 @@ __export(exports_update, {
555893
555903
  });
555894
555904
  async function update() {
555895
555905
  logEvent("tengu_update_check", {});
555896
- writeToStdout(`Current version: ${"1.1.34+9b8f5fb"}
555906
+ writeToStdout(`Current version: ${"1.1.35+378be28"}
555897
555907
  `);
555898
555908
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
555899
555909
  writeToStdout(`Checking for updates to ${channel} version...
@@ -555968,8 +555978,8 @@ async function update() {
555968
555978
  writeToStdout(`Vivus is managed by Homebrew.
555969
555979
  `);
555970
555980
  const latest = await getLatestVersion(channel);
555971
- if (latest && !gte("1.1.34+9b8f5fb", latest)) {
555972
- writeToStdout(`Update available: ${"1.1.34+9b8f5fb"} → ${latest}
555981
+ if (latest && !gte("1.1.35+378be28", latest)) {
555982
+ writeToStdout(`Update available: ${"1.1.35+378be28"} → ${latest}
555973
555983
  `);
555974
555984
  writeToStdout(`
555975
555985
  `);
@@ -555985,8 +555995,8 @@ async function update() {
555985
555995
  writeToStdout(`Vivus is managed by winget.
555986
555996
  `);
555987
555997
  const latest = await getLatestVersion(channel);
555988
- if (latest && !gte("1.1.34+9b8f5fb", latest)) {
555989
- writeToStdout(`Update available: ${"1.1.34+9b8f5fb"} → ${latest}
555998
+ if (latest && !gte("1.1.35+378be28", latest)) {
555999
+ writeToStdout(`Update available: ${"1.1.35+378be28"} → ${latest}
555990
556000
  `);
555991
556001
  writeToStdout(`
555992
556002
  `);
@@ -556002,8 +556012,8 @@ async function update() {
556002
556012
  writeToStdout(`Vivus is managed by apk.
556003
556013
  `);
556004
556014
  const latest = await getLatestVersion(channel);
556005
- if (latest && !gte("1.1.34+9b8f5fb", latest)) {
556006
- writeToStdout(`Update available: ${"1.1.34+9b8f5fb"} → ${latest}
556015
+ if (latest && !gte("1.1.35+378be28", latest)) {
556016
+ writeToStdout(`Update available: ${"1.1.35+378be28"} → ${latest}
556007
556017
  `);
556008
556018
  writeToStdout(`
556009
556019
  `);
@@ -556068,11 +556078,11 @@ async function update() {
556068
556078
  `);
556069
556079
  await gracefulShutdown(1);
556070
556080
  }
556071
- if (result.latestVersion === "1.1.34+9b8f5fb") {
556072
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.34+9b8f5fb"})`) + `
556081
+ if (result.latestVersion === "1.1.35+378be28") {
556082
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.35+378be28"})`) + `
556073
556083
  `);
556074
556084
  } else {
556075
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.34+9b8f5fb"} to version ${result.latestVersion}`) + `
556085
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.35+378be28"} to version ${result.latestVersion}`) + `
556076
556086
  `);
556077
556087
  await regenerateCompletionCache();
556078
556088
  }
@@ -556129,12 +556139,12 @@ async function update() {
556129
556139
  `);
556130
556140
  await gracefulShutdown(1);
556131
556141
  }
556132
- if (latestVersion === "1.1.34+9b8f5fb") {
556133
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.34+9b8f5fb"})`) + `
556142
+ if (latestVersion === "1.1.35+378be28") {
556143
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.35+378be28"})`) + `
556134
556144
  `);
556135
556145
  await gracefulShutdown(0);
556136
556146
  }
556137
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.34+9b8f5fb"})
556147
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.35+378be28"})
556138
556148
  `);
556139
556149
  writeToStdout(`Installing update...
556140
556150
  `);
@@ -556179,7 +556189,7 @@ async function update() {
556179
556189
  logForDebugging(`update: Installation status: ${status2}`);
556180
556190
  switch (status2) {
556181
556191
  case "success":
556182
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.34+9b8f5fb"} to version ${latestVersion}`) + `
556192
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.35+378be28"} to version ${latestVersion}`) + `
556183
556193
  `);
556184
556194
  await regenerateCompletionCache();
556185
556195
  break;
@@ -557153,7 +557163,7 @@ function completeOnboarding() {
557153
557163
  saveGlobalConfig((current) => ({
557154
557164
  ...current,
557155
557165
  hasCompletedOnboarding: true,
557156
- lastOnboardingVersion: "1.1.34+9b8f5fb"
557166
+ lastOnboardingVersion: "1.1.35+378be28"
557157
557167
  }));
557158
557168
  }
557159
557169
  function showDialog(root2, renderer) {
@@ -561327,7 +561337,7 @@ ${customInstructions}` : customInstructions;
561327
561337
  }
561328
561338
  }
561329
561339
  logForDiagnosticsNoPII("info", "started", {
561330
- version: "1.1.34+9b8f5fb",
561340
+ version: "1.1.35+378be28",
561331
561341
  is_native_binary: isInBundledMode()
561332
561342
  });
561333
561343
  registerCleanup(async () => {
@@ -562111,7 +562121,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
562111
562121
  pendingHookMessages
562112
562122
  }, renderAndRun);
562113
562123
  }
562114
- }).version("1.1.34+9b8f5fb (Vivus)", "-v, --version", "Output the version number");
562124
+ }).version("1.1.35+378be28 (Vivus)", "-v, --version", "Output the version number");
562115
562125
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
562116
562126
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
562117
562127
  if (canUserConfigureAdvisor()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vivus-agent",
3
- "version": "1.1.34",
3
+ "version": "1.1.35",
4
4
  "description": "Vivus — local AI coding agent",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",