vivus-agent 1.1.8 → 1.1.10

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 -89
  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-19T07:47:38.021Z
3
+ // Built from source at 2026-06-19T08:57:48.412Z
4
4
  import { createRequire } from "node:module";
5
5
  var __create = Object.create;
6
6
  var __getProtoOf = Object.getPrototypeOf;
@@ -10102,7 +10102,23 @@ function getOauthConfig() {
10102
10102
  OAUTH_FILE_SUFFIX: "-custom-oauth"
10103
10103
  };
10104
10104
  }
10105
- const apiBaseUrl = process.env.VIVUS_CODE_API_BASE_URL;
10105
+ const explicitApiBase = process.env.VIVUS_CODE_API_BASE_URL;
10106
+ const anthropicBase = process.env.ANTHROPIC_BASE_URL;
10107
+ const anthropicBaseIsProxy = (() => {
10108
+ if (!anthropicBase)
10109
+ return false;
10110
+ try {
10111
+ const host = new URL(anthropicBase).host;
10112
+ if (host === "api.anthropic.com")
10113
+ return false;
10114
+ if (process.env.USER_TYPE === "ant" && host === "api-staging.anthropic.com")
10115
+ return false;
10116
+ return true;
10117
+ } catch {
10118
+ return false;
10119
+ }
10120
+ })();
10121
+ const apiBaseUrl = explicitApiBase || (anthropicBaseIsProxy ? anthropicBase : undefined);
10106
10122
  if (apiBaseUrl) {
10107
10123
  config = { ...config, BASE_API_URL: apiBaseUrl.replace(/\/$/, "") };
10108
10124
  }
@@ -115985,7 +116001,7 @@ var init_auth = __esm(() => {
115985
116001
 
115986
116002
  // src/utils/userAgent.ts
115987
116003
  function getVivusCodeUserAgent() {
115988
- return `vivus/${"1.1.8+476a14e-dirty"}`;
116004
+ return `vivus/${"1.1.10+a170d82-dirty"}`;
115989
116005
  }
115990
116006
 
115991
116007
  // src/utils/workloadContext.ts
@@ -116007,7 +116023,7 @@ function getUserAgent() {
116007
116023
  const clientApp = process.env.VIVUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}` : "";
116008
116024
  const workload = getWorkload();
116009
116025
  const workloadSuffix = workload ? `, workload/${workload}` : "";
116010
- return `vivus-cli/${"1.1.8+476a14e-dirty"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
116026
+ return `vivus-cli/${"1.1.10+a170d82-dirty"} (${process.env.USER_TYPE}, ${process.env.VIVUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
116011
116027
  }
116012
116028
  function getMCPUserAgent() {
116013
116029
  const parts = [];
@@ -116021,7 +116037,7 @@ function getMCPUserAgent() {
116021
116037
  parts.push(`client-app/${process.env.VIVUS_AGENT_SDK_CLIENT_APP}`);
116022
116038
  }
116023
116039
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
116024
- return `vivus/${"1.1.8+476a14e-dirty"}${suffix}`;
116040
+ return `vivus/${"1.1.10+a170d82-dirty"}${suffix}`;
116025
116041
  }
116026
116042
  function getWebFetchUserAgent() {
116027
116043
  return `Vivus-User (${getVivusCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -116159,7 +116175,7 @@ var init_user = __esm(() => {
116159
116175
  deviceId,
116160
116176
  sessionId: getSessionId(),
116161
116177
  email: getEmail(),
116162
- appVersion: "1.1.8+476a14e-dirty",
116178
+ appVersion: "1.1.10+a170d82-dirty",
116163
116179
  platform: getHostPlatformForAnalytics(),
116164
116180
  organizationUuid,
116165
116181
  accountUuid,
@@ -127825,7 +127841,7 @@ var init_metadata = __esm(() => {
127825
127841
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
127826
127842
  WHITESPACE_REGEX = /\s+/;
127827
127843
  getVersionBase = memoize_default(() => {
127828
- const match = "1.1.8+476a14e-dirty".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
127844
+ const match = "1.1.10+a170d82-dirty".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
127829
127845
  return match ? match[0] : undefined;
127830
127846
  });
127831
127847
  buildEnvContext = memoize_default(async () => {
@@ -127865,9 +127881,9 @@ var init_metadata = __esm(() => {
127865
127881
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
127866
127882
  isVivusCodeAction: isEnvTruthy(process.env.VIVUS_CODE_ACTION),
127867
127883
  isVivusAiAuth: isVivusAISubscriber(),
127868
- version: "1.1.8+476a14e-dirty",
127884
+ version: "1.1.10+a170d82-dirty",
127869
127885
  versionBase: getVersionBase(),
127870
- buildTime: "2026-06-19T07:47:37.542Z",
127886
+ buildTime: "2026-06-19T08:57:47.627Z",
127871
127887
  deploymentEnvironment: env2.detectDeploymentEnvironment(),
127872
127888
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
127873
127889
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -128535,7 +128551,7 @@ function initialize1PEventLogging() {
128535
128551
  const platform2 = getPlatform();
128536
128552
  const attributes = {
128537
128553
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "vivus",
128538
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.8+476a14e-dirty"
128554
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "1.1.10+a170d82-dirty"
128539
128555
  };
128540
128556
  if (platform2 === "wsl") {
128541
128557
  const wslVersion = getWslVersion();
@@ -128562,7 +128578,7 @@ function initialize1PEventLogging() {
128562
128578
  })
128563
128579
  ]
128564
128580
  });
128565
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.8+476a14e-dirty");
128581
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.vivus_code.events", "1.1.10+a170d82-dirty");
128566
128582
  }
128567
128583
  async function reinitialize1PEventLoggingIfConfigChanged() {
128568
128584
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -162674,7 +162690,7 @@ function getAttributionHeader(fingerprint) {
162674
162690
  if (!isAttributionHeaderEnabled()) {
162675
162691
  return "";
162676
162692
  }
162677
- const version2 = `${"1.1.8+476a14e-dirty"}.${fingerprint}`;
162693
+ const version2 = `${"1.1.10+a170d82-dirty"}.${fingerprint}`;
162678
162694
  const entrypoint = process.env.VIVUS_CODE_ENTRYPOINT ?? "unknown";
162679
162695
  const cch = "";
162680
162696
  const workload = getWorkload();
@@ -175837,7 +175853,7 @@ function getTelemetryAttributes() {
175837
175853
  attributes["session.id"] = sessionId;
175838
175854
  }
175839
175855
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
175840
- attributes["app.version"] = "1.1.8+476a14e-dirty";
175856
+ attributes["app.version"] = "1.1.10+a170d82-dirty";
175841
175857
  }
175842
175858
  const oauthAccount = getOauthAccountInfo();
175843
175859
  if (oauthAccount) {
@@ -242394,7 +242410,7 @@ function computeFingerprint(messageText, version2) {
242394
242410
  }
242395
242411
  function computeFingerprintFromMessages(messages) {
242396
242412
  const firstMessageText = extractFirstMessageText(messages);
242397
- return computeFingerprint(firstMessageText, "1.1.8+476a14e-dirty");
242413
+ return computeFingerprint(firstMessageText, "1.1.10+a170d82-dirty");
242398
242414
  }
242399
242415
  var FINGERPRINT_SALT = "59cf53e54c78";
242400
242416
  var init_fingerprint = () => {};
@@ -242436,7 +242452,7 @@ async function sideQuery(opts) {
242436
242452
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
242437
242453
  }
242438
242454
  const messageText = extractFirstUserMessageText(messages);
242439
- const fingerprint = computeFingerprint(messageText, "1.1.8+476a14e-dirty");
242455
+ const fingerprint = computeFingerprint(messageText, "1.1.10+a170d82-dirty");
242440
242456
  const attributionHeader = getAttributionHeader(fingerprint);
242441
242457
  const systemBlocks = [
242442
242458
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -243588,7 +243604,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
243588
243604
  const client2 = new Client({
243589
243605
  name: "vivus",
243590
243606
  title: "Vivus",
243591
- version: "1.1.8+476a14e-dirty",
243607
+ version: "1.1.10+a170d82-dirty",
243592
243608
  description: "Anthropic's agentic coding tool",
243593
243609
  websiteUrl: PRODUCT_URL
243594
243610
  }, {
@@ -243942,7 +243958,7 @@ var init_client6 = __esm(() => {
243942
243958
  const client2 = new Client({
243943
243959
  name: "vivus",
243944
243960
  title: "Vivus",
243945
- version: "1.1.8+476a14e-dirty",
243961
+ version: "1.1.10+a170d82-dirty",
243946
243962
  description: "Anthropic's agentic coding tool",
243947
243963
  websiteUrl: PRODUCT_URL
243948
243964
  }, {
@@ -246000,7 +246016,7 @@ function getInstallationEnv() {
246000
246016
  return;
246001
246017
  }
246002
246018
  function getVivusCodeVersion() {
246003
- return "1.1.8+476a14e-dirty";
246019
+ return "1.1.10+a170d82-dirty";
246004
246020
  }
246005
246021
  async function getInstalledVSCodeExtensionVersion(command) {
246006
246022
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -278490,7 +278506,7 @@ async function initializeBetaTracing(resource) {
278490
278506
  });
278491
278507
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
278492
278508
  setLoggerProvider(loggerProvider);
278493
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.8+476a14e-dirty");
278509
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.10+a170d82-dirty");
278494
278510
  setEventLogger(eventLogger);
278495
278511
  process.on("beforeExit", async () => {
278496
278512
  await loggerProvider?.forceFlush();
@@ -278530,7 +278546,7 @@ async function initializeTelemetry() {
278530
278546
  const platform5 = getPlatform();
278531
278547
  const baseAttributes = {
278532
278548
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "vivus",
278533
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.8+476a14e-dirty"
278549
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "1.1.10+a170d82-dirty"
278534
278550
  };
278535
278551
  if (platform5 === "wsl") {
278536
278552
  const wslVersion = getWslVersion();
@@ -278575,7 +278591,7 @@ async function initializeTelemetry() {
278575
278591
  } catch {}
278576
278592
  };
278577
278593
  registerCleanup(shutdownTelemetry2);
278578
- return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.8+476a14e-dirty");
278594
+ return meterProvider2.getMeter("com.anthropic.vivus_code", "1.1.10+a170d82-dirty");
278579
278595
  }
278580
278596
  const meterProvider = new import_sdk_metrics2.MeterProvider({
278581
278597
  resource,
@@ -278595,7 +278611,7 @@ async function initializeTelemetry() {
278595
278611
  });
278596
278612
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
278597
278613
  setLoggerProvider(loggerProvider);
278598
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.8+476a14e-dirty");
278614
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.vivus_code.events", "1.1.10+a170d82-dirty");
278599
278615
  setEventLogger(eventLogger);
278600
278616
  logForDebugging("[3P telemetry] Event logger set successfully");
278601
278617
  process.on("beforeExit", async () => {
@@ -278657,7 +278673,7 @@ Current timeout: ${timeoutMs}ms
278657
278673
  }
278658
278674
  };
278659
278675
  registerCleanup(shutdownTelemetry);
278660
- return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.8+476a14e-dirty");
278676
+ return meterProvider.getMeter("com.anthropic.vivus_code", "1.1.10+a170d82-dirty");
278661
278677
  }
278662
278678
  async function flushTelemetry() {
278663
278679
  const meterProvider = getMeterProvider();
@@ -279343,9 +279359,9 @@ async function assertMinVersion() {
279343
279359
  if (false) {}
279344
279360
  try {
279345
279361
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
279346
- if (versionConfig.minVersion && lt("1.1.8+476a14e-dirty", versionConfig.minVersion)) {
279362
+ if (versionConfig.minVersion && lt("1.1.10+a170d82-dirty", versionConfig.minVersion)) {
279347
279363
  console.error(`
279348
- It looks like your version of Vivus (${"1.1.8+476a14e-dirty"}) needs an update.
279364
+ It looks like your version of Vivus (${"1.1.10+a170d82-dirty"}) needs an update.
279349
279365
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
279350
279366
 
279351
279367
  To update, please run:
@@ -279561,7 +279577,7 @@ async function installGlobalPackage(specificVersion) {
279561
279577
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
279562
279578
  logEvent("tengu_auto_updater_lock_contention", {
279563
279579
  pid: process.pid,
279564
- currentVersion: "1.1.8+476a14e-dirty"
279580
+ currentVersion: "1.1.10+a170d82-dirty"
279565
279581
  });
279566
279582
  return "in_progress";
279567
279583
  }
@@ -279570,7 +279586,7 @@ async function installGlobalPackage(specificVersion) {
279570
279586
  if (!env2.isRunningWithBun() && env2.isNpmFromWindowsPath()) {
279571
279587
  logError2(new Error("Windows NPM detected in WSL environment"));
279572
279588
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
279573
- currentVersion: "1.1.8+476a14e-dirty"
279589
+ currentVersion: "1.1.10+a170d82-dirty"
279574
279590
  });
279575
279591
  console.error(`
279576
279592
  Error: Windows NPM detected in WSL
@@ -280103,7 +280119,7 @@ function detectLinuxGlobPatternWarnings() {
280103
280119
  }
280104
280120
  async function getDoctorDiagnostic() {
280105
280121
  const installationType = await getCurrentInstallationType();
280106
- const version2 = typeof MACRO !== "undefined" ? "1.1.8+476a14e-dirty" : "unknown";
280122
+ const version2 = typeof MACRO !== "undefined" ? "1.1.10+a170d82-dirty" : "unknown";
280107
280123
  const installationPath = await getInstallationPath();
280108
280124
  const invokedBinary = getInvokedBinary();
280109
280125
  const multipleInstallations = await detectMultipleInstallations();
@@ -281036,8 +281052,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
281036
281052
  const maxVersion = await getMaxVersion();
281037
281053
  if (maxVersion && gt(version2, maxVersion)) {
281038
281054
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
281039
- if (gte("1.1.8+476a14e-dirty", maxVersion)) {
281040
- logForDebugging(`Native installer: current version ${"1.1.8+476a14e-dirty"} is already at or above maxVersion ${maxVersion}, skipping update`);
281055
+ if (gte("1.1.10+a170d82-dirty", maxVersion)) {
281056
+ logForDebugging(`Native installer: current version ${"1.1.10+a170d82-dirty"} is already at or above maxVersion ${maxVersion}, skipping update`);
281041
281057
  logEvent("tengu_native_update_skipped_max_version", {
281042
281058
  latency_ms: Date.now() - startTime,
281043
281059
  max_version: maxVersion,
@@ -281048,7 +281064,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
281048
281064
  version2 = maxVersion;
281049
281065
  }
281050
281066
  }
281051
- if (!forceReinstall && version2 === "1.1.8+476a14e-dirty" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
281067
+ if (!forceReinstall && version2 === "1.1.10+a170d82-dirty" && await versionIsAvailable(version2) && await isPossibleVivusBinary(executablePath)) {
281052
281068
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
281053
281069
  logEvent("tengu_native_update_complete", {
281054
281070
  latency_ms: Date.now() - startTime,
@@ -336961,7 +336977,7 @@ function getAnthropicEnvMetadata() {
336961
336977
  function getBuildAgeMinutes() {
336962
336978
  if (false)
336963
336979
  ;
336964
- const buildTime = new Date("2026-06-19T07:47:37.542Z").getTime();
336980
+ const buildTime = new Date("2026-06-19T08:57:47.627Z").getTime();
336965
336981
  if (isNaN(buildTime))
336966
336982
  return;
336967
336983
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -384177,7 +384193,7 @@ var init_filesystem = __esm(() => {
384177
384193
  });
384178
384194
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
384179
384195
  const nonce = randomBytes17(16).toString("hex");
384180
- return join106(getVivusTempDir(), "bundled-skills", "1.1.8+476a14e-dirty", nonce);
384196
+ return join106(getVivusTempDir(), "bundled-skills", "1.1.10+a170d82-dirty", nonce);
384181
384197
  });
384182
384198
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
384183
384199
  });
@@ -385937,7 +385953,7 @@ function Feedback({
385937
385953
  platform: env2.platform,
385938
385954
  gitRepo: envInfo.isGit,
385939
385955
  terminal: env2.terminal,
385940
- version: "1.1.8+476a14e-dirty",
385956
+ version: "1.1.10+a170d82-dirty",
385941
385957
  transcript: normalizeMessagesForAPI(messages),
385942
385958
  errors: sanitizedErrors,
385943
385959
  lastApiRequest: getLastAPIRequest(),
@@ -386129,7 +386145,7 @@ function Feedback({
386129
386145
  ", ",
386130
386146
  env2.terminal,
386131
386147
  ", v",
386132
- "1.1.8+476a14e-dirty"
386148
+ "1.1.10+a170d82-dirty"
386133
386149
  ]
386134
386150
  }, undefined, true, undefined, this)
386135
386151
  ]
@@ -386235,7 +386251,7 @@ ${sanitizedDescription}
386235
386251
  ` + `**Environment Info**
386236
386252
  ` + `- Platform: ${env2.platform}
386237
386253
  ` + `- Terminal: ${env2.terminal}
386238
- ` + `- Version: ${"1.1.8+476a14e-dirty"}
386254
+ ` + `- Version: ${"1.1.10+a170d82-dirty"}
386239
386255
  ` + `- Feedback ID: ${feedbackId}
386240
386256
  ` + `
386241
386257
  **Errors**
@@ -389367,7 +389383,7 @@ function buildPrimarySection() {
389367
389383
  }, undefined, false, undefined, this);
389368
389384
  return [{
389369
389385
  label: "Version",
389370
- value: "1.1.8+476a14e-dirty"
389386
+ value: "1.1.10+a170d82-dirty"
389371
389387
  }, {
389372
389388
  label: "Session name",
389373
389389
  value: nameValue
@@ -393118,7 +393134,7 @@ function Config({
393118
393134
  }
393119
393135
  }, undefined, false, undefined, this)
393120
393136
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
393121
- currentVersion: "1.1.8+476a14e-dirty",
393137
+ currentVersion: "1.1.10+a170d82-dirty",
393122
393138
  onChoice: (choice) => {
393123
393139
  setShowSubmenu(null);
393124
393140
  setTabsHidden(false);
@@ -393130,7 +393146,7 @@ function Config({
393130
393146
  autoUpdatesChannel: "stable"
393131
393147
  };
393132
393148
  if (choice === "stay") {
393133
- newSettings.minimumVersion = "1.1.8+476a14e-dirty";
393149
+ newSettings.minimumVersion = "1.1.10+a170d82-dirty";
393134
393150
  }
393135
393151
  updateSettingsForSource("userSettings", newSettings);
393136
393152
  setSettingsData((prev_27) => ({
@@ -401216,7 +401232,7 @@ function HelpV2(t0) {
401216
401232
  let t6;
401217
401233
  if ($2[31] !== tabs) {
401218
401234
  t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
401219
- title: `Vivus v${"1.1.8+476a14e-dirty"}`,
401235
+ title: `Vivus v${"1.1.10+a170d82-dirty"}`,
401220
401236
  color: "professionalBlue",
401221
401237
  defaultTab: "general",
401222
401238
  children: tabs
@@ -425442,7 +425458,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
425442
425458
  return [];
425443
425459
  }
425444
425460
  }
425445
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.8+476a14e-dirty") {
425461
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.10+a170d82-dirty") {
425446
425462
  if (process.env.USER_TYPE === "ant") {
425447
425463
  const changelog = "";
425448
425464
  if (changelog) {
@@ -425469,7 +425485,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.1.8+476
425469
425485
  releaseNotes
425470
425486
  };
425471
425487
  }
425472
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.8+476a14e-dirty") {
425488
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.1.10+a170d82-dirty") {
425473
425489
  if (process.env.USER_TYPE === "ant") {
425474
425490
  const changelog = "";
425475
425491
  if (changelog) {
@@ -426639,7 +426655,7 @@ function getRecentActivitySync() {
426639
426655
  return cachedActivity;
426640
426656
  }
426641
426657
  function getLogoDisplayData() {
426642
- const version2 = process.env.DEMO_VERSION ?? "1.1.8+476a14e-dirty";
426658
+ const version2 = process.env.DEMO_VERSION ?? "1.1.10+a170d82-dirty";
426643
426659
  const serverUrl = getDirectConnectServerUrl();
426644
426660
  const displayPath = process.env.DEMO_VERSION ? "/code/vivus" : getDisplayPath(getCwd());
426645
426661
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -428166,7 +428182,7 @@ function LogoV2() {
428166
428182
  if ($2[2] === Symbol.for("react.memo_cache_sentinel")) {
428167
428183
  t2 = () => {
428168
428184
  const currentConfig = getGlobalConfig();
428169
- if (currentConfig.lastReleaseNotesSeen === "1.1.8+476a14e-dirty") {
428185
+ if (currentConfig.lastReleaseNotesSeen === "1.1.10+a170d82-dirty") {
428170
428186
  return;
428171
428187
  }
428172
428188
  saveGlobalConfig(_temp329);
@@ -428842,12 +428858,12 @@ function LogoV2() {
428842
428858
  return t41;
428843
428859
  }
428844
428860
  function _temp329(current) {
428845
- if (current.lastReleaseNotesSeen === "1.1.8+476a14e-dirty") {
428861
+ if (current.lastReleaseNotesSeen === "1.1.10+a170d82-dirty") {
428846
428862
  return current;
428847
428863
  }
428848
428864
  return {
428849
428865
  ...current,
428850
- lastReleaseNotesSeen: "1.1.8+476a14e-dirty"
428866
+ lastReleaseNotesSeen: "1.1.10+a170d82-dirty"
428851
428867
  };
428852
428868
  }
428853
428869
  function _temp245(s_0) {
@@ -455144,7 +455160,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
455144
455160
  smapsRollup,
455145
455161
  platform: process.platform,
455146
455162
  nodeVersion: process.version,
455147
- ccVersion: "1.1.8+476a14e-dirty"
455163
+ ccVersion: "1.1.10+a170d82-dirty"
455148
455164
  };
455149
455165
  }
455150
455166
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -455730,7 +455746,7 @@ var init_bridge_kick = __esm(() => {
455730
455746
  var call56 = async () => {
455731
455747
  return {
455732
455748
  type: "text",
455733
- value: `${"1.1.8+476a14e-dirty"} (built ${"2026-06-19T07:47:37.542Z"})`
455749
+ value: `${"1.1.10+a170d82-dirty"} (built ${"2026-06-19T08:57:47.627Z"})`
455734
455750
  };
455735
455751
  }, version2, version_default;
455736
455752
  var init_version = __esm(() => {
@@ -464693,7 +464709,7 @@ function generateHtmlReport(data, insights) {
464693
464709
  </html>`;
464694
464710
  }
464695
464711
  function buildExportData(data, insights, facets, remoteStats) {
464696
- const version3 = typeof MACRO !== "undefined" ? "1.1.8+476a14e-dirty" : "unknown";
464712
+ const version3 = typeof MACRO !== "undefined" ? "1.1.10+a170d82-dirty" : "unknown";
464697
464713
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
464698
464714
  const facets_summary = {
464699
464715
  total: facets.size,
@@ -468802,7 +468818,7 @@ var init_sessionStorage = __esm(() => {
468802
468818
  init_settings2();
468803
468819
  init_slowOperations();
468804
468820
  init_uuid();
468805
- VERSION5 = typeof MACRO !== "undefined" ? "1.1.8+476a14e-dirty" : "unknown";
468821
+ VERSION5 = typeof MACRO !== "undefined" ? "1.1.10+a170d82-dirty" : "unknown";
468806
468822
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
468807
468823
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
468808
468824
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -471673,7 +471689,7 @@ function buildSystemInitMessage(inputs) {
471673
471689
  slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
471674
471690
  apiKeySource: getAnthropicApiKeyWithSource().source,
471675
471691
  betas: getSdkBetas(),
471676
- vivus_code_version: "1.1.8+476a14e-dirty",
471692
+ vivus_code_version: "1.1.10+a170d82-dirty",
471677
471693
  output_style: outputStyle2,
471678
471694
  agents: inputs.agents.map((agent) => agent.agentType),
471679
471695
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -486301,7 +486317,7 @@ var init_useVoiceEnabled = __esm(() => {
486301
486317
  function getSemverPart(version3) {
486302
486318
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
486303
486319
  }
486304
- function useUpdateNotification(updatedVersion, initialVersion = "1.1.8+476a14e-dirty") {
486320
+ function useUpdateNotification(updatedVersion, initialVersion = "1.1.10+a170d82-dirty") {
486305
486321
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
486306
486322
  if (!updatedVersion) {
486307
486323
  return null;
@@ -486341,7 +486357,7 @@ function AutoUpdater({
486341
486357
  return;
486342
486358
  }
486343
486359
  if (false) {}
486344
- const currentVersion = "1.1.8+476a14e-dirty";
486360
+ const currentVersion = "1.1.10+a170d82-dirty";
486345
486361
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
486346
486362
  let latestVersion = await getLatestVersion(channel);
486347
486363
  const isDisabled = isAutoUpdaterDisabled();
@@ -486554,12 +486570,12 @@ function NativeAutoUpdater({
486554
486570
  logEvent("tengu_native_auto_updater_start", {});
486555
486571
  try {
486556
486572
  const maxVersion = await getMaxVersion();
486557
- if (maxVersion && gt("1.1.8+476a14e-dirty", maxVersion)) {
486573
+ if (maxVersion && gt("1.1.10+a170d82-dirty", maxVersion)) {
486558
486574
  const msg = await getMaxVersionMessage();
486559
486575
  setMaxVersionIssue(msg ?? "affects your version");
486560
486576
  }
486561
486577
  const result = await installLatest(channel);
486562
- const currentVersion = "1.1.8+476a14e-dirty";
486578
+ const currentVersion = "1.1.10+a170d82-dirty";
486563
486579
  const latencyMs = Date.now() - startTime;
486564
486580
  if (result.lockFailed) {
486565
486581
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -486696,17 +486712,17 @@ function PackageManagerAutoUpdater(t0) {
486696
486712
  const maxVersion = await getMaxVersion();
486697
486713
  if (maxVersion && latest && gt(latest, maxVersion)) {
486698
486714
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
486699
- if (gte("1.1.8+476a14e-dirty", maxVersion)) {
486700
- logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.8+476a14e-dirty"} is already at or above maxVersion ${maxVersion}, skipping update`);
486715
+ if (gte("1.1.10+a170d82-dirty", maxVersion)) {
486716
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"1.1.10+a170d82-dirty"} is already at or above maxVersion ${maxVersion}, skipping update`);
486701
486717
  setUpdateAvailable(false);
486702
486718
  return;
486703
486719
  }
486704
486720
  latest = maxVersion;
486705
486721
  }
486706
- const hasUpdate = latest && !gte("1.1.8+476a14e-dirty", latest) && !shouldSkipVersion(latest);
486722
+ const hasUpdate = latest && !gte("1.1.10+a170d82-dirty", latest) && !shouldSkipVersion(latest);
486707
486723
  setUpdateAvailable(!!hasUpdate);
486708
486724
  if (hasUpdate) {
486709
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.8+476a14e-dirty"} -> ${latest}`);
486725
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.1.10+a170d82-dirty"} -> ${latest}`);
486710
486726
  }
486711
486727
  };
486712
486728
  $2[0] = t1;
@@ -486740,7 +486756,7 @@ function PackageManagerAutoUpdater(t0) {
486740
486756
  wrap: "truncate",
486741
486757
  children: [
486742
486758
  "currentVersion: ",
486743
- "1.1.8+476a14e-dirty"
486759
+ "1.1.10+a170d82-dirty"
486744
486760
  ]
486745
486761
  }, undefined, true, undefined, this);
486746
486762
  $2[3] = verbose;
@@ -494908,7 +494924,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
494908
494924
  project_dir: getOriginalCwd(),
494909
494925
  added_dirs: addedDirs
494910
494926
  },
494911
- version: "1.1.8+476a14e-dirty",
494927
+ version: "1.1.10+a170d82-dirty",
494912
494928
  output_style: {
494913
494929
  name: outputStyleName
494914
494930
  },
@@ -506392,7 +506408,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
506392
506408
  } catch {}
506393
506409
  const data = {
506394
506410
  trigger,
506395
- version: "1.1.8+476a14e-dirty",
506411
+ version: "1.1.10+a170d82-dirty",
506396
506412
  platform: process.platform,
506397
506413
  transcript,
506398
506414
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -506409,7 +506425,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
506409
506425
  "User-Agent": getUserAgent(),
506410
506426
  ...authResult.headers
506411
506427
  };
506412
- const response = await axios_default.post("https://api.anthropic.com/api/vivus_code_shared_session_transcripts", { content, appearance_id: appearanceId }, {
506428
+ const response = await axios_default.post(`${getOauthConfig().BASE_API_URL}/api/vivus_code_shared_session_transcripts`, { content, appearance_id: appearanceId }, {
506413
506429
  headers,
506414
506430
  timeout: 30000
506415
506431
  });
@@ -506431,6 +506447,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
506431
506447
  }
506432
506448
  var init_submitTranscriptShare = __esm(() => {
506433
506449
  init_axios2();
506450
+ init_oauth();
506434
506451
  init_auth();
506435
506452
  init_debug();
506436
506453
  init_errors();
@@ -517808,7 +517825,7 @@ function WelcomeV2() {
517808
517825
  dimColor: true,
517809
517826
  children: [
517810
517827
  "v",
517811
- "1.1.8+476a14e-dirty",
517828
+ "1.1.10+a170d82-dirty",
517812
517829
  " "
517813
517830
  ]
517814
517831
  }, undefined, true, undefined, this)
@@ -518008,7 +518025,7 @@ function WelcomeV2() {
518008
518025
  dimColor: true,
518009
518026
  children: [
518010
518027
  "v",
518011
- "1.1.8+476a14e-dirty",
518028
+ "1.1.10+a170d82-dirty",
518012
518029
  " "
518013
518030
  ]
518014
518031
  }, undefined, true, undefined, this)
@@ -518234,7 +518251,7 @@ function AppleTerminalWelcomeV2(t0) {
518234
518251
  dimColor: true,
518235
518252
  children: [
518236
518253
  "v",
518237
- "1.1.8+476a14e-dirty",
518254
+ "1.1.10+a170d82-dirty",
518238
518255
  " "
518239
518256
  ]
518240
518257
  }, undefined, true, undefined, this);
@@ -518488,7 +518505,7 @@ function AppleTerminalWelcomeV2(t0) {
518488
518505
  dimColor: true,
518489
518506
  children: [
518490
518507
  "v",
518491
- "1.1.8+476a14e-dirty",
518508
+ "1.1.10+a170d82-dirty",
518492
518509
  " "
518493
518510
  ]
518494
518511
  }, undefined, true, undefined, this);
@@ -521552,7 +521569,7 @@ function appendToLog(path25, message) {
521552
521569
  cwd: getFsImplementation().cwd(),
521553
521570
  userType: process.env.USER_TYPE,
521554
521571
  sessionId: getSessionId(),
521555
- version: "1.1.8+476a14e-dirty"
521572
+ version: "1.1.10+a170d82-dirty"
521556
521573
  };
521557
521574
  getLogWriter(path25).write(messageWithTimestamp);
521558
521575
  }
@@ -525537,8 +525554,8 @@ async function getEnvLessBridgeConfig() {
525537
525554
  }
525538
525555
  async function checkEnvLessBridgeMinVersion() {
525539
525556
  const cfg = await getEnvLessBridgeConfig();
525540
- if (cfg.min_version && lt("1.1.8+476a14e-dirty", cfg.min_version)) {
525541
- return `Your version of Vivus (${"1.1.8+476a14e-dirty"}) is too old for Remote Control.
525557
+ if (cfg.min_version && lt("1.1.10+a170d82-dirty", cfg.min_version)) {
525558
+ return `Your version of Vivus (${"1.1.10+a170d82-dirty"}) is too old for Remote Control.
525542
525559
  Version ${cfg.min_version} or higher is required. Run \`vivus update\` to update.`;
525543
525560
  }
525544
525561
  return null;
@@ -526012,7 +526029,7 @@ async function initBridgeCore(params) {
526012
526029
  const rawApi = createBridgeApiClient({
526013
526030
  baseUrl,
526014
526031
  getAccessToken,
526015
- runnerVersion: "1.1.8+476a14e-dirty",
526032
+ runnerVersion: "1.1.10+a170d82-dirty",
526016
526033
  onDebug: logForDebugging,
526017
526034
  onAuth401,
526018
526035
  getTrustedDeviceToken
@@ -531676,7 +531693,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
531676
531693
  setCwd(cwd3);
531677
531694
  const server = new Server({
531678
531695
  name: "vivus/tengu",
531679
- version: "1.1.8+476a14e-dirty"
531696
+ version: "1.1.10+a170d82-dirty"
531680
531697
  }, {
531681
531698
  capabilities: {
531682
531699
  tools: {}
@@ -533287,7 +533304,7 @@ __export(exports_update, {
533287
533304
  });
533288
533305
  async function update() {
533289
533306
  logEvent("tengu_update_check", {});
533290
- writeToStdout(`Current version: ${"1.1.8+476a14e-dirty"}
533307
+ writeToStdout(`Current version: ${"1.1.10+a170d82-dirty"}
533291
533308
  `);
533292
533309
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
533293
533310
  writeToStdout(`Checking for updates to ${channel} version...
@@ -533362,8 +533379,8 @@ async function update() {
533362
533379
  writeToStdout(`Vivus is managed by Homebrew.
533363
533380
  `);
533364
533381
  const latest = await getLatestVersion(channel);
533365
- if (latest && !gte("1.1.8+476a14e-dirty", latest)) {
533366
- writeToStdout(`Update available: ${"1.1.8+476a14e-dirty"} → ${latest}
533382
+ if (latest && !gte("1.1.10+a170d82-dirty", latest)) {
533383
+ writeToStdout(`Update available: ${"1.1.10+a170d82-dirty"} → ${latest}
533367
533384
  `);
533368
533385
  writeToStdout(`
533369
533386
  `);
@@ -533379,8 +533396,8 @@ async function update() {
533379
533396
  writeToStdout(`Vivus is managed by winget.
533380
533397
  `);
533381
533398
  const latest = await getLatestVersion(channel);
533382
- if (latest && !gte("1.1.8+476a14e-dirty", latest)) {
533383
- writeToStdout(`Update available: ${"1.1.8+476a14e-dirty"} → ${latest}
533399
+ if (latest && !gte("1.1.10+a170d82-dirty", latest)) {
533400
+ writeToStdout(`Update available: ${"1.1.10+a170d82-dirty"} → ${latest}
533384
533401
  `);
533385
533402
  writeToStdout(`
533386
533403
  `);
@@ -533396,8 +533413,8 @@ async function update() {
533396
533413
  writeToStdout(`Vivus is managed by apk.
533397
533414
  `);
533398
533415
  const latest = await getLatestVersion(channel);
533399
- if (latest && !gte("1.1.8+476a14e-dirty", latest)) {
533400
- writeToStdout(`Update available: ${"1.1.8+476a14e-dirty"} → ${latest}
533416
+ if (latest && !gte("1.1.10+a170d82-dirty", latest)) {
533417
+ writeToStdout(`Update available: ${"1.1.10+a170d82-dirty"} → ${latest}
533401
533418
  `);
533402
533419
  writeToStdout(`
533403
533420
  `);
@@ -533462,11 +533479,11 @@ async function update() {
533462
533479
  `);
533463
533480
  await gracefulShutdown(1);
533464
533481
  }
533465
- if (result.latestVersion === "1.1.8+476a14e-dirty") {
533466
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.8+476a14e-dirty"})`) + `
533482
+ if (result.latestVersion === "1.1.10+a170d82-dirty") {
533483
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.10+a170d82-dirty"})`) + `
533467
533484
  `);
533468
533485
  } else {
533469
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.8+476a14e-dirty"} to version ${result.latestVersion}`) + `
533486
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.10+a170d82-dirty"} to version ${result.latestVersion}`) + `
533470
533487
  `);
533471
533488
  await regenerateCompletionCache();
533472
533489
  }
@@ -533523,12 +533540,12 @@ async function update() {
533523
533540
  `);
533524
533541
  await gracefulShutdown(1);
533525
533542
  }
533526
- if (latestVersion === "1.1.8+476a14e-dirty") {
533527
- writeToStdout(source_default.green(`Vivus is up to date (${"1.1.8+476a14e-dirty"})`) + `
533543
+ if (latestVersion === "1.1.10+a170d82-dirty") {
533544
+ writeToStdout(source_default.green(`Vivus is up to date (${"1.1.10+a170d82-dirty"})`) + `
533528
533545
  `);
533529
533546
  await gracefulShutdown(0);
533530
533547
  }
533531
- writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.8+476a14e-dirty"})
533548
+ writeToStdout(`New version available: ${latestVersion} (current: ${"1.1.10+a170d82-dirty"})
533532
533549
  `);
533533
533550
  writeToStdout(`Installing update...
533534
533551
  `);
@@ -533573,7 +533590,7 @@ async function update() {
533573
533590
  logForDebugging(`update: Installation status: ${status2}`);
533574
533591
  switch (status2) {
533575
533592
  case "success":
533576
- writeToStdout(source_default.green(`Successfully updated from ${"1.1.8+476a14e-dirty"} to version ${latestVersion}`) + `
533593
+ writeToStdout(source_default.green(`Successfully updated from ${"1.1.10+a170d82-dirty"} to version ${latestVersion}`) + `
533577
533594
  `);
533578
533595
  await regenerateCompletionCache();
533579
533596
  break;
@@ -534544,7 +534561,7 @@ function completeOnboarding() {
534544
534561
  saveGlobalConfig((current) => ({
534545
534562
  ...current,
534546
534563
  hasCompletedOnboarding: true,
534547
- lastOnboardingVersion: "1.1.8+476a14e-dirty"
534564
+ lastOnboardingVersion: "1.1.10+a170d82-dirty"
534548
534565
  }));
534549
534566
  }
534550
534567
  function showDialog(root2, renderer) {
@@ -538714,7 +538731,7 @@ ${customInstructions}` : customInstructions;
538714
538731
  }
538715
538732
  }
538716
538733
  logForDiagnosticsNoPII("info", "started", {
538717
- version: "1.1.8+476a14e-dirty",
538734
+ version: "1.1.10+a170d82-dirty",
538718
538735
  is_native_binary: isInBundledMode()
538719
538736
  });
538720
538737
  registerCleanup(async () => {
@@ -539498,7 +539515,7 @@ Usage: vivus --remote "your task description"`, () => gracefulShutdown(1));
539498
539515
  pendingHookMessages
539499
539516
  }, renderAndRun);
539500
539517
  }
539501
- }).version("1.1.8+476a14e-dirty (Vivus)", "-v, --version", "Output the version number");
539518
+ }).version("1.1.10+a170d82-dirty (Vivus)", "-v, --version", "Output the version number");
539502
539519
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
539503
539520
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
539504
539521
  if (canUserConfigureAdvisor()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vivus-agent",
3
- "version": "1.1.8",
3
+ "version": "1.1.10",
4
4
  "description": "Vivus — local AI coding agent",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",