@ainative/cody-cli 0.7.43 → 0.7.45

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/cli.js +214 -127
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -185594,7 +185594,7 @@ var init_auth2 = __esm(() => {
185594
185594
 
185595
185595
  // src/utils/userAgent.ts
185596
185596
  function getCodyUserAgent() {
185597
- return `cody-cli/${"0.7.43"}`;
185597
+ return `cody-cli/${"0.7.45"}`;
185598
185598
  }
185599
185599
 
185600
185600
  // src/utils/workloadContext.ts
@@ -185616,7 +185616,7 @@ function getUserAgent() {
185616
185616
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
185617
185617
  const workload = getWorkload();
185618
185618
  const workloadSuffix = workload ? `, workload/${workload}` : "";
185619
- return `claude-cli/${"0.7.43"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
185619
+ return `claude-cli/${"0.7.45"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
185620
185620
  }
185621
185621
  function getMCPUserAgent() {
185622
185622
  const parts = [];
@@ -185630,7 +185630,7 @@ function getMCPUserAgent() {
185630
185630
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
185631
185631
  }
185632
185632
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
185633
- return `cody-cli/${"0.7.43"}${suffix}`;
185633
+ return `cody-cli/${"0.7.45"}${suffix}`;
185634
185634
  }
185635
185635
  function getWebFetchUserAgent() {
185636
185636
  return `Cody-User (${getCodyUserAgent()}; +https://ainative.studio)`;
@@ -185768,7 +185768,7 @@ var init_user = __esm(() => {
185768
185768
  deviceId,
185769
185769
  sessionId: getSessionId(),
185770
185770
  email: getEmail(),
185771
- appVersion: "0.7.43",
185771
+ appVersion: "0.7.45",
185772
185772
  platform: getHostPlatformForAnalytics(),
185773
185773
  organizationUuid,
185774
185774
  accountUuid,
@@ -193460,7 +193460,7 @@ var init_metadata = __esm(() => {
193460
193460
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
193461
193461
  WHITESPACE_REGEX = /\s+/;
193462
193462
  getVersionBase = memoize_default(() => {
193463
- const match = "0.7.43".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
193463
+ const match = "0.7.45".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
193464
193464
  return match ? match[0] : undefined;
193465
193465
  });
193466
193466
  buildEnvContext = memoize_default(async () => {
@@ -193500,9 +193500,9 @@ var init_metadata = __esm(() => {
193500
193500
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
193501
193501
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
193502
193502
  isClaudeAiAuth: isClaudeAISubscriber(),
193503
- version: "0.7.43",
193503
+ version: "0.7.45",
193504
193504
  versionBase: getVersionBase(),
193505
- buildTime: "1779075785",
193505
+ buildTime: "1779076880",
193506
193506
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
193507
193507
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
193508
193508
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -194120,7 +194120,7 @@ function initialize1PEventLogging() {
194120
194120
  const platform3 = getPlatform();
194121
194121
  const attributes = {
194122
194122
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "cody-cli",
194123
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.43"
194123
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.45"
194124
194124
  };
194125
194125
  if (platform3 === "wsl") {
194126
194126
  const wslVersion = getWslVersion();
@@ -194147,7 +194147,7 @@ function initialize1PEventLogging() {
194147
194147
  })
194148
194148
  ]
194149
194149
  });
194150
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.43");
194150
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.45");
194151
194151
  }
194152
194152
  async function reinitialize1PEventLoggingIfConfigChanged() {
194153
194153
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -195840,7 +195840,7 @@ function getAttributionHeader(fingerprint) {
195840
195840
  if (!isAttributionHeaderEnabled()) {
195841
195841
  return "";
195842
195842
  }
195843
- const version7 = `${"0.7.43"}.${fingerprint}`;
195843
+ const version7 = `${"0.7.45"}.${fingerprint}`;
195844
195844
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
195845
195845
  const cch = "";
195846
195846
  const workload = getWorkload();
@@ -259371,7 +259371,7 @@ var init_toolUseSummaryGenerator = __esm(() => {
259371
259371
  init_errors();
259372
259372
  init_log3();
259373
259373
  init_slowOperations();
259374
- init_claude();
259374
+ init_cody();
259375
259375
  });
259376
259376
 
259377
259377
  // src/utils/objectGroupBy.ts
@@ -259985,7 +259985,7 @@ function getTelemetryAttributes() {
259985
259985
  attributes["session.id"] = sessionId;
259986
259986
  }
259987
259987
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
259988
- attributes["app.version"] = "0.7.43";
259988
+ attributes["app.version"] = "0.7.45";
259989
259989
  }
259990
259990
  const oauthAccount = getOauthAccountInfo();
259991
259991
  if (oauthAccount) {
@@ -262875,7 +262875,7 @@ var init_claudeAiLimits = __esm(() => {
262875
262875
  init_log3();
262876
262876
  init_model();
262877
262877
  init_analytics();
262878
- init_claude();
262878
+ init_cody();
262879
262879
  init_client5();
262880
262880
  init_rateLimitMocking();
262881
262881
  init_rateLimitMessages();
@@ -291175,7 +291175,7 @@ function getInstallationEnv() {
291175
291175
  return;
291176
291176
  }
291177
291177
  function getClaudeCodeVersion() {
291178
- return "0.7.43";
291178
+ return "0.7.45";
291179
291179
  }
291180
291180
  async function getInstalledVSCodeExtensionVersion(command) {
291181
291181
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -296711,7 +296711,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
296711
296711
  const client4 = new Client({
296712
296712
  name: "claude-code",
296713
296713
  title: "Cody CLI",
296714
- version: "0.7.43",
296714
+ version: "0.7.45",
296715
296715
  description: "Anthropic's agentic coding tool",
296716
296716
  websiteUrl: PRODUCT_URL
296717
296717
  }, {
@@ -297065,7 +297065,7 @@ var init_client8 = __esm(() => {
297065
297065
  const client4 = new Client({
297066
297066
  name: "claude-code",
297067
297067
  title: "Cody CLI",
297068
- version: "0.7.43",
297068
+ version: "0.7.45",
297069
297069
  description: "Anthropic's agentic coding tool",
297070
297070
  websiteUrl: PRODUCT_URL
297071
297071
  }, {
@@ -298679,7 +298679,7 @@ var init_yoloClassifier = __esm(() => {
298679
298679
  init_state();
298680
298680
  init_growthbook();
298681
298681
  init_analytics();
298682
- init_claude();
298682
+ init_cody();
298683
298683
  init_errors7();
298684
298684
  init_withRetry();
298685
298685
  init_debug();
@@ -345197,7 +345197,7 @@ async function initializeBetaTracing(resource) {
345197
345197
  });
345198
345198
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
345199
345199
  setLoggerProvider(loggerProvider);
345200
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.43");
345200
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.45");
345201
345201
  setEventLogger(eventLogger);
345202
345202
  process.on("beforeExit", async () => {
345203
345203
  await loggerProvider?.forceFlush();
@@ -345237,7 +345237,7 @@ async function initializeTelemetry() {
345237
345237
  const platform5 = getPlatform();
345238
345238
  const baseAttributes = {
345239
345239
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
345240
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.43"
345240
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.45"
345241
345241
  };
345242
345242
  if (platform5 === "wsl") {
345243
345243
  const wslVersion = getWslVersion();
@@ -345282,7 +345282,7 @@ async function initializeTelemetry() {
345282
345282
  } catch {}
345283
345283
  };
345284
345284
  registerCleanup(shutdownTelemetry2);
345285
- return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.43");
345285
+ return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.45");
345286
345286
  }
345287
345287
  const meterProvider = new import_sdk_metrics2.MeterProvider({
345288
345288
  resource,
@@ -345302,7 +345302,7 @@ async function initializeTelemetry() {
345302
345302
  });
345303
345303
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
345304
345304
  setLoggerProvider(loggerProvider);
345305
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.43");
345305
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.45");
345306
345306
  setEventLogger(eventLogger);
345307
345307
  logForDebugging("[3P telemetry] Event logger set successfully");
345308
345308
  process.on("beforeExit", async () => {
@@ -345364,7 +345364,7 @@ Current timeout: ${timeoutMs}ms
345364
345364
  }
345365
345365
  };
345366
345366
  registerCleanup(shutdownTelemetry);
345367
- return meterProvider.getMeter("com.anthropic.claude_code", "0.7.43");
345367
+ return meterProvider.getMeter("com.anthropic.claude_code", "0.7.45");
345368
345368
  }
345369
345369
  async function flushTelemetry() {
345370
345370
  const meterProvider = getMeterProvider();
@@ -346053,9 +346053,9 @@ async function assertMinVersion() {
346053
346053
  }
346054
346054
  try {
346055
346055
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
346056
- if (versionConfig.minVersion && lt("0.7.43", versionConfig.minVersion)) {
346056
+ if (versionConfig.minVersion && lt("0.7.45", versionConfig.minVersion)) {
346057
346057
  console.error(`
346058
- It looks like your version of Cody CLI (${"0.7.43"}) needs an update.
346058
+ It looks like your version of Cody CLI (${"0.7.45"}) needs an update.
346059
346059
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
346060
346060
 
346061
346061
  To update, please run:
@@ -346292,7 +346292,7 @@ async function installGlobalPackage(specificVersion) {
346292
346292
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
346293
346293
  logEvent("tengu_auto_updater_lock_contention", {
346294
346294
  pid: process.pid,
346295
- currentVersion: "0.7.43"
346295
+ currentVersion: "0.7.45"
346296
346296
  });
346297
346297
  return "in_progress";
346298
346298
  }
@@ -346301,7 +346301,7 @@ async function installGlobalPackage(specificVersion) {
346301
346301
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
346302
346302
  logError2(new Error("Windows NPM detected in WSL environment"));
346303
346303
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
346304
- currentVersion: "0.7.43"
346304
+ currentVersion: "0.7.45"
346305
346305
  });
346306
346306
  console.error(`
346307
346307
  Error: Windows NPM detected in WSL
@@ -346836,7 +346836,7 @@ function detectLinuxGlobPatternWarnings() {
346836
346836
  }
346837
346837
  async function getDoctorDiagnostic() {
346838
346838
  const installationType = await getCurrentInstallationType();
346839
- const version7 = typeof MACRO !== "undefined" ? "0.7.43" : "unknown";
346839
+ const version7 = typeof MACRO !== "undefined" ? "0.7.45" : "unknown";
346840
346840
  const installationPath = await getInstallationPath();
346841
346841
  const invokedBinary = getInvokedBinary();
346842
346842
  const multipleInstallations = await detectMultipleInstallations();
@@ -347671,8 +347671,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
347671
347671
  const maxVersion = await getMaxVersion();
347672
347672
  if (maxVersion && gt(version7, maxVersion)) {
347673
347673
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version7} to ${maxVersion}`);
347674
- if (gte("0.7.43", maxVersion)) {
347675
- logForDebugging(`Native installer: current version ${"0.7.43"} is already at or above maxVersion ${maxVersion}, skipping update`);
347674
+ if (gte("0.7.45", maxVersion)) {
347675
+ logForDebugging(`Native installer: current version ${"0.7.45"} is already at or above maxVersion ${maxVersion}, skipping update`);
347676
347676
  logEvent("tengu_native_update_skipped_max_version", {
347677
347677
  latency_ms: Date.now() - startTime,
347678
347678
  max_version: maxVersion,
@@ -347683,7 +347683,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
347683
347683
  version7 = maxVersion;
347684
347684
  }
347685
347685
  }
347686
- if (!forceReinstall && version7 === "0.7.43" && await versionIsAvailable(version7) && await isPossibleClaudeBinary(executablePath)) {
347686
+ if (!forceReinstall && version7 === "0.7.45" && await versionIsAvailable(version7) && await isPossibleClaudeBinary(executablePath)) {
347687
347687
  logForDebugging(`Found ${version7} at ${executablePath}, skipping install`);
347688
347688
  logEvent("tengu_native_update_complete", {
347689
347689
  latency_ms: Date.now() - startTime,
@@ -374174,7 +374174,7 @@ var init_teleport = __esm(() => {
374174
374174
  init_TeleportError();
374175
374175
  init_oauth();
374176
374176
  init_KeybindingProviderSetup();
374177
- init_claude();
374177
+ init_cody();
374178
374178
  init_sessionIngress();
374179
374179
  init_client2();
374180
374180
  init_AppState();
@@ -412215,7 +412215,7 @@ var init_utils11 = __esm(() => {
412215
412215
  init_axios2();
412216
412216
  init_index_min();
412217
412217
  init_analytics();
412218
- init_claude();
412218
+ init_cody();
412219
412219
  init_errors();
412220
412220
  init_http2();
412221
412221
  init_log3();
@@ -414135,7 +414135,7 @@ var init_WebSearchTool = __esm(() => {
414135
414135
  init_providers();
414136
414136
  init_v4();
414137
414137
  init_growthbook();
414138
- init_claude();
414138
+ init_cody();
414139
414139
  init_Tool();
414140
414140
  init_log3();
414141
414141
  init_messages3();
@@ -430678,7 +430678,7 @@ function productionDeps() {
430678
430678
  };
430679
430679
  }
430680
430680
  var init_deps = __esm(() => {
430681
- init_claude();
430681
+ init_cody();
430682
430682
  init_autoCompact();
430683
430683
  init_microCompact();
430684
430684
  });
@@ -431532,7 +431532,7 @@ function getAnthropicEnvMetadata() {
431532
431532
  function getBuildAgeMinutes() {
431533
431533
  if (false)
431534
431534
  ;
431535
- const buildTime = new Date("1779075785").getTime();
431535
+ const buildTime = new Date("1779076880").getTime();
431536
431536
  if (isNaN(buildTime))
431537
431537
  return;
431538
431538
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -432191,7 +432191,7 @@ var lastCacheSafeParams = null;
432191
432191
  var init_forkedAgent = __esm(() => {
432192
432192
  init_query2();
432193
432193
  init_analytics();
432194
- init_claude();
432194
+ init_cody();
432195
432195
  init_logging2();
432196
432196
  init_abortController();
432197
432197
  init_debug();
@@ -433481,7 +433481,7 @@ var init_compact = __esm(() => {
433481
433481
  init_toolSearch();
433482
433482
  init_growthbook();
433483
433483
  init_analytics();
433484
- init_claude();
433484
+ init_cody();
433485
433485
  init_errors7();
433486
433486
  init_promptCacheBreakDetection();
433487
433487
  init_withRetry();
@@ -434168,7 +434168,7 @@ var init_autoCompact = __esm(() => {
434168
434168
  init_log3();
434169
434169
  init_tokens();
434170
434170
  init_growthbook();
434171
- init_claude();
434171
+ init_cody();
434172
434172
  init_promptCacheBreakDetection();
434173
434173
  init_sessionMemoryUtils();
434174
434174
  init_compact();
@@ -435676,7 +435676,7 @@ var init_tokenEstimation = __esm(() => {
435676
435676
  init_model();
435677
435677
  init_slowOperations();
435678
435678
  init_toolSearch();
435679
- init_claude();
435679
+ init_cody();
435680
435680
  init_client5();
435681
435681
  init_vcr();
435682
435682
  });
@@ -448065,7 +448065,7 @@ var init_prefix = __esm(() => {
448065
448065
  init_source();
448066
448066
  init_growthbook();
448067
448067
  init_analytics();
448068
- init_claude();
448068
+ init_cody();
448069
448069
  init_errors7();
448070
448070
  init_memoize2();
448071
448071
  init_slowOperations();
@@ -455047,7 +455047,7 @@ function Feedback({
455047
455047
  platform: env4.platform,
455048
455048
  gitRepo: envInfo.isGit,
455049
455049
  terminal: env4.terminal,
455050
- version: "0.7.43",
455050
+ version: "0.7.45",
455051
455051
  transcript: normalizeMessagesForAPI(messages),
455052
455052
  errors: sanitizedErrors,
455053
455053
  lastApiRequest: getLastAPIRequest(),
@@ -455239,7 +455239,7 @@ function Feedback({
455239
455239
  ", ",
455240
455240
  env4.terminal,
455241
455241
  ", v",
455242
- "0.7.43"
455242
+ "0.7.45"
455243
455243
  ]
455244
455244
  }, undefined, true, undefined, this)
455245
455245
  ]
@@ -455345,7 +455345,7 @@ ${sanitizedDescription}
455345
455345
  ` + `**Environment Info**
455346
455346
  ` + `- Platform: ${env4.platform}
455347
455347
  ` + `- Terminal: ${env4.terminal}
455348
- ` + `- Version: ${"0.7.43"}
455348
+ ` + `- Version: ${"0.7.45"}
455349
455349
  ` + `- Feedback ID: ${feedbackId}
455350
455350
  ` + `
455351
455351
  **Errors**
@@ -455520,7 +455520,7 @@ var init_Feedback = __esm(() => {
455520
455520
  init_useTerminalSize();
455521
455521
  init_ink2();
455522
455522
  init_useKeybinding();
455523
- init_claude();
455523
+ init_cody();
455524
455524
  init_errors7();
455525
455525
  init_auth2();
455526
455526
  init_browser();
@@ -458445,7 +458445,7 @@ function buildPrimarySection() {
458445
458445
  }, undefined, false, undefined, this);
458446
458446
  return [{
458447
458447
  label: "Version",
458448
- value: "0.7.43"
458448
+ value: "0.7.45"
458449
458449
  }, {
458450
458450
  label: "Session name",
458451
458451
  value: nameValue
@@ -462196,7 +462196,7 @@ function Config({
462196
462196
  }
462197
462197
  }, undefined, false, undefined, this)
462198
462198
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
462199
- currentVersion: "0.7.43",
462199
+ currentVersion: "0.7.45",
462200
462200
  onChoice: (choice) => {
462201
462201
  setShowSubmenu(null);
462202
462202
  setTabsHidden(false);
@@ -462208,7 +462208,7 @@ function Config({
462208
462208
  autoUpdatesChannel: "stable"
462209
462209
  };
462210
462210
  if (choice === "stay") {
462211
- newSettings.minimumVersion = "0.7.43";
462211
+ newSettings.minimumVersion = "0.7.45";
462212
462212
  }
462213
462213
  updateSettingsForSource("userSettings", newSettings);
462214
462214
  setSettingsData((prev_27) => ({
@@ -470250,7 +470250,7 @@ function HelpV2(t0) {
470250
470250
  let t6;
470251
470251
  if ($3[31] !== tabs) {
470252
470252
  t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
470253
- title: `Cody CLI v${"0.7.43"}`,
470253
+ title: `Cody CLI v${"0.7.45"}`,
470254
470254
  color: "professionalBlue",
470255
470255
  defaultTab: "general",
470256
470256
  children: tabs
@@ -494440,7 +494440,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
494440
494440
  return [];
494441
494441
  }
494442
494442
  }
494443
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.43") {
494443
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.45") {
494444
494444
  if (false) {}
494445
494445
  const cachedChangelog = await getStoredChangelog();
494446
494446
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -494453,7 +494453,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.43")
494453
494453
  releaseNotes
494454
494454
  };
494455
494455
  }
494456
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.43") {
494456
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.45") {
494457
494457
  if (false) {}
494458
494458
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
494459
494459
  return {
@@ -494627,7 +494627,7 @@ var init_sessionTitle = __esm(() => {
494627
494627
  init_v4();
494628
494628
  init_state();
494629
494629
  init_analytics();
494630
- init_claude();
494630
+ init_cody();
494631
494631
  init_debug();
494632
494632
  init_json();
494633
494633
  init_messages3();
@@ -494680,7 +494680,7 @@ async function generateSessionName(messages, signal) {
494680
494680
  }
494681
494681
  }
494682
494682
  var init_generateSessionName = __esm(() => {
494683
- init_claude();
494683
+ init_cody();
494684
494684
  init_debug();
494685
494685
  init_errors();
494686
494686
  init_json();
@@ -495609,7 +495609,7 @@ function getRecentActivitySync() {
495609
495609
  return cachedActivity;
495610
495610
  }
495611
495611
  function getLogoDisplayData() {
495612
- const version7 = process.env.DEMO_VERSION ?? "0.7.43";
495612
+ const version7 = process.env.DEMO_VERSION ?? "0.7.45";
495613
495613
  const serverUrl = getDirectConnectServerUrl();
495614
495614
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
495615
495615
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -497029,7 +497029,7 @@ function LogoV2() {
497029
497029
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
497030
497030
  t2 = () => {
497031
497031
  const currentConfig = getGlobalConfig();
497032
- if (currentConfig.lastReleaseNotesSeen === "0.7.43") {
497032
+ if (currentConfig.lastReleaseNotesSeen === "0.7.45") {
497033
497033
  return;
497034
497034
  }
497035
497035
  saveGlobalConfig(_temp329);
@@ -497705,12 +497705,12 @@ function LogoV2() {
497705
497705
  return t41;
497706
497706
  }
497707
497707
  function _temp329(current) {
497708
- if (current.lastReleaseNotesSeen === "0.7.43") {
497708
+ if (current.lastReleaseNotesSeen === "0.7.45") {
497709
497709
  return current;
497710
497710
  }
497711
497711
  return {
497712
497712
  ...current,
497713
- lastReleaseNotesSeen: "0.7.43"
497713
+ lastReleaseNotesSeen: "0.7.45"
497714
497714
  };
497715
497715
  }
497716
497716
  function _temp245(s_0) {
@@ -521552,7 +521552,7 @@ var AGENT_CREATION_SYSTEM_PROMPT, AGENT_MEMORY_INSTRUCTIONS = `
521552
521552
  `, AINATIVE_FALLBACK_MODELS;
521553
521553
  var init_generateAgent = __esm(() => {
521554
521554
  init_context2();
521555
- init_claude();
521555
+ init_cody();
521556
521556
  init_Tool();
521557
521557
  init_constants3();
521558
521558
  init_api3();
@@ -524065,7 +524065,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
524065
524065
  smapsRollup,
524066
524066
  platform: process.platform,
524067
524067
  nodeVersion: process.version,
524068
- ccVersion: "0.7.43"
524068
+ ccVersion: "0.7.45"
524069
524069
  };
524070
524070
  }
524071
524071
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -524593,7 +524593,7 @@ var init_bridge_kick = __esm(() => {
524593
524593
  var call56 = async () => {
524594
524594
  return {
524595
524595
  type: "text",
524596
- value: `${"0.7.43"} (built ${"1779075785"})`
524596
+ value: `${"0.7.45"} (built ${"1779076880"})`
524597
524597
  };
524598
524598
  }, version7, version_default;
524599
524599
  var init_version = __esm(() => {
@@ -533541,7 +533541,7 @@ function generateHtmlReport(data, insights) {
533541
533541
  </html>`;
533542
533542
  }
533543
533543
  function buildExportData(data, insights, facets, remoteStats) {
533544
- const version8 = typeof MACRO !== "undefined" ? "0.7.43" : "unknown";
533544
+ const version8 = typeof MACRO !== "undefined" ? "0.7.45" : "unknown";
533545
533545
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
533546
533546
  const facets_summary = {
533547
533547
  total: facets.size,
@@ -533812,7 +533812,7 @@ TRANSCRIPT CHUNK:
533812
533812
  `, INSIGHT_SECTIONS, SATISFACTION_ORDER, OUTCOME_ORDER, usageReport, insights_default;
533813
533813
  var init_insights = __esm(() => {
533814
533814
  init_libesm();
533815
- init_claude();
533815
+ init_cody();
533816
533816
  init_constants3();
533817
533817
  init_envUtils();
533818
533818
  init_errors();
@@ -537488,7 +537488,7 @@ var init_sessionStorage = __esm(() => {
537488
537488
  init_settings2();
537489
537489
  init_slowOperations();
537490
537490
  init_uuid();
537491
- VERSION5 = typeof MACRO !== "undefined" ? "0.7.43" : "unknown";
537491
+ VERSION5 = typeof MACRO !== "undefined" ? "0.7.45" : "unknown";
537492
537492
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
537493
537493
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
537494
537494
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -538693,7 +538693,7 @@ var init_filesystem = __esm(() => {
538693
538693
  });
538694
538694
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
538695
538695
  const nonce = randomBytes19(16).toString("hex");
538696
- return join132(getClaudeTempDir(), "bundled-skills", "0.7.43", nonce);
538696
+ return join132(getClaudeTempDir(), "bundled-skills", "0.7.45", nonce);
538697
538697
  });
538698
538698
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
538699
538699
  });
@@ -539583,7 +539583,7 @@ Your response must be a JSON object matching one of the following schemas:
539583
539583
  }
539584
539584
  }
539585
539585
  var init_execPromptHook = __esm(() => {
539586
- init_claude();
539586
+ init_cody();
539587
539587
  init_attachments2();
539588
539588
  init_combinedAbortSignal();
539589
539589
  init_debug();
@@ -544665,7 +544665,7 @@ function computeFingerprint(messageText, version8) {
544665
544665
  }
544666
544666
  function computeFingerprintFromMessages(messages) {
544667
544667
  const firstMessageText = extractFirstMessageText(messages);
544668
- return computeFingerprint(firstMessageText, "0.7.43");
544668
+ return computeFingerprint(firstMessageText, "0.7.45");
544669
544669
  }
544670
544670
  var FINGERPRINT_SALT = "59cf53e54c78";
544671
544671
  var init_fingerprint = () => {};
@@ -544772,7 +544772,7 @@ function insertBlockAfterToolResults(content, block) {
544772
544772
  }
544773
544773
  }
544774
544774
 
544775
- // src/services/api/claude.ts
544775
+ // src/services/api/cody.ts
544776
544776
  import { randomUUID as randomUUID32 } from "crypto";
544777
544777
  function getExtraBodyParams(betaHeaders) {
544778
544778
  const extraBodyStr = process.env.CLAUDE_CODE_EXTRA_BODY;
@@ -545257,7 +545257,7 @@ async function* ainativeBypass(messages, systemPrompt, model, toolSchemas, signa
545257
545257
  ] : m2.content
545258
545258
  })),
545259
545259
  system: chatMessages.find((m2) => m2.role === "system")?.content || undefined,
545260
- stream: false
545260
+ stream: true
545261
545261
  };
545262
545262
  if (simplifiedTools && simplifiedTools.length > 0) {
545263
545263
  anthropicBody.tools = simplifiedTools;
@@ -545280,14 +545280,101 @@ async function* ainativeBypass(messages, systemPrompt, model, toolSchemas, signa
545280
545280
  }
545281
545281
  throw new Error(`AINative API error: ${resp.status} ${errText}`);
545282
545282
  }
545283
- let data;
545283
+ if (!resp.body) {
545284
+ throw new Error("AINative API error: response body is null (streaming not supported?)");
545285
+ }
545286
+ const msgId = `msg_${randomUUID32().slice(0, 24)}`;
545287
+ const startTime = Date.now();
545288
+ let accMsgId = msgId;
545289
+ let accModel = model;
545290
+ let accStopReason = null;
545291
+ let accStopSequence = null;
545292
+ let accInputTokens = 0;
545293
+ let accOutputTokens = 0;
545294
+ const accContentBlocks = [];
545295
+ const pendingToolUse = new Map;
545296
+ let ttftEmitted = false;
545297
+ const decoder = new TextDecoder;
545298
+ const reader = resp.body.getReader();
545299
+ let buf = "";
545284
545300
  try {
545285
- data = await resp.json();
545286
- } catch {
545287
- const raw = await resp.text().catch(() => "");
545288
- throw new Error(`AINative API error: malformed JSON response (${raw.slice(0, 200)})`);
545301
+ while (true) {
545302
+ const { done, value } = await reader.read();
545303
+ if (done)
545304
+ break;
545305
+ buf += decoder.decode(value, { stream: true });
545306
+ let newlineIdx;
545307
+ while ((newlineIdx = buf.indexOf(`
545308
+ `)) !== -1) {
545309
+ const line = buf.slice(0, newlineIdx).trimEnd();
545310
+ buf = buf.slice(newlineIdx + 1);
545311
+ if (!line.startsWith("data: "))
545312
+ continue;
545313
+ const payload = line.slice(6).trim();
545314
+ if (payload === "[DONE]")
545315
+ continue;
545316
+ let event;
545317
+ try {
545318
+ event = JSON.parse(payload);
545319
+ } catch {
545320
+ continue;
545321
+ }
545322
+ if (event.type === "message_start" && event.message) {
545323
+ const m2 = event.message;
545324
+ accMsgId = m2.id || accMsgId;
545325
+ accModel = m2.model || accModel;
545326
+ accInputTokens = m2.usage?.input_tokens ?? 0;
545327
+ accOutputTokens = m2.usage?.output_tokens ?? 0;
545328
+ } else if (event.type === "content_block_start" && event.content_block) {
545329
+ const idx = event.index ?? accContentBlocks.length;
545330
+ const cb = event.content_block;
545331
+ if (cb.type === "tool_use") {
545332
+ pendingToolUse.set(idx, { id: cb.id ?? "", name: cb.name ?? "", input_json: "" });
545333
+ } else {
545334
+ accContentBlocks[idx] = { ...cb };
545335
+ }
545336
+ } else if (event.type === "content_block_delta" && event.delta) {
545337
+ const idx = event.index ?? 0;
545338
+ const d = event.delta;
545339
+ if (d.type === "text_delta") {
545340
+ if (!accContentBlocks[idx])
545341
+ accContentBlocks[idx] = { type: "text", text: "" };
545342
+ accContentBlocks[idx].text = (accContentBlocks[idx].text ?? "") + (d.text ?? "");
545343
+ } else if (d.type === "input_json_delta") {
545344
+ const tu = pendingToolUse.get(idx);
545345
+ if (tu)
545346
+ tu.input_json += d.partial_json ?? "";
545347
+ }
545348
+ } else if (event.type === "content_block_stop") {
545349
+ const idx = event.index ?? 0;
545350
+ const tu = pendingToolUse.get(idx);
545351
+ if (tu) {
545352
+ let input = {};
545353
+ try {
545354
+ input = JSON.parse(tu.input_json);
545355
+ } catch {
545356
+ input = {};
545357
+ }
545358
+ accContentBlocks[idx] = { type: "tool_use", id: tu.id, name: tu.name, input };
545359
+ pendingToolUse.delete(idx);
545360
+ }
545361
+ } else if (event.type === "message_delta" && event.delta) {
545362
+ accStopReason = event.delta.stop_reason ?? accStopReason;
545363
+ accStopSequence = event.delta.stop_sequence ?? accStopSequence;
545364
+ accOutputTokens = event.usage?.output_tokens ?? accOutputTokens;
545365
+ }
545366
+ const ttftMs = !ttftEmitted ? (ttftEmitted = true, Date.now() - startTime) : undefined;
545367
+ const streamEvent = { type: "stream_event", event };
545368
+ if (ttftMs !== undefined)
545369
+ streamEvent.ttftMs = ttftMs;
545370
+ yield streamEvent;
545371
+ }
545372
+ }
545373
+ } finally {
545374
+ reader.releaseLock();
545289
545375
  }
545290
- const cleanedContent = (data.content || [{ type: "text", text: "" }]).map((block) => {
545376
+ buf += decoder.decode();
545377
+ const cleanedContent = (accContentBlocks.filter(Boolean).length > 0 ? accContentBlocks.filter(Boolean) : [{ type: "text", text: "" }]).map((block) => {
545291
545378
  if (block.type === "text" && typeof block.text === "string") {
545292
545379
  const text2 = block.text.replace(/<tool_call>[\s\S]*?<\/tool_call>/g, "").replace(/<\/?tool_call>/g, "").trimEnd();
545293
545380
  return { ...block, text: text2 };
@@ -545297,21 +545384,21 @@ async function* ainativeBypass(messages, systemPrompt, model, toolSchemas, signa
545297
545384
  yield {
545298
545385
  type: "assistant",
545299
545386
  message: {
545300
- id: data.id || `msg_${randomUUID32().slice(0, 24)}`,
545387
+ id: accMsgId,
545301
545388
  type: "message",
545302
545389
  role: "assistant",
545303
545390
  content: cleanedContent,
545304
- model,
545305
- stop_reason: data.stop_reason || "end_turn",
545306
- stop_sequence: data.stop_sequence || null,
545391
+ model: accModel,
545392
+ stop_reason: accStopReason || "end_turn",
545393
+ stop_sequence: accStopSequence || null,
545307
545394
  usage: {
545308
- input_tokens: data.usage?.input_tokens ?? 0,
545309
- output_tokens: data.usage?.output_tokens ?? 0,
545395
+ input_tokens: accInputTokens,
545396
+ output_tokens: accOutputTokens,
545310
545397
  cache_creation_input_tokens: 0,
545311
545398
  cache_read_input_tokens: 0
545312
545399
  }
545313
545400
  },
545314
- requestId: data.id,
545401
+ requestId: accMsgId,
545315
545402
  uuid: randomUUID32(),
545316
545403
  timestamp: new Date().toISOString()
545317
545404
  };
@@ -546625,7 +546712,7 @@ function getMaxOutputTokensForModel(model) {
546625
546712
  return result.effective;
546626
546713
  }
546627
546714
  var MAX_NON_STREAMING_TOKENS = 64000;
546628
- var init_claude = __esm(() => {
546715
+ var init_cody = __esm(() => {
546629
546716
  init_providers();
546630
546717
  init_routing();
546631
546718
  init_system();
@@ -546728,7 +546815,7 @@ async function sideQuery(opts) {
546728
546815
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
546729
546816
  }
546730
546817
  const messageText = extractFirstUserMessageText(messages);
546731
- const fingerprint = computeFingerprint(messageText, "0.7.43");
546818
+ const fingerprint = computeFingerprint(messageText, "0.7.45");
546732
546819
  const attributionHeader = getAttributionHeader(fingerprint);
546733
546820
  const systemBlocks = [
546734
546821
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -546847,7 +546934,7 @@ var init_sideQuery = __esm(() => {
546847
546934
  init_betas();
546848
546935
  init_system();
546849
546936
  init_analytics();
546850
- init_claude();
546937
+ init_cody();
546851
546938
  init_client5();
546852
546939
  init_betas2();
546853
546940
  init_fingerprint();
@@ -551310,7 +551397,7 @@ function buildSystemInitMessage(inputs) {
551310
551397
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
551311
551398
  apiKeySource: getAnthropicApiKeyWithSource().source,
551312
551399
  betas: getSdkBetas(),
551313
- claude_code_version: "0.7.43",
551400
+ claude_code_version: "0.7.45",
551314
551401
  output_style: outputStyle2,
551315
551402
  agents: inputs.agents.map((agent) => agent.agentType),
551316
551403
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -563619,7 +563706,7 @@ function looksLikeISO8601(input) {
563619
563706
  return /^\d{4}-\d{2}-\d{2}(T|$)/.test(input.trim());
563620
563707
  }
563621
563708
  var init_dateTimeParser = __esm(() => {
563622
- init_claude();
563709
+ init_cody();
563623
563710
  init_log3();
563624
563711
  init_messages3();
563625
563712
  });
@@ -565862,7 +565949,7 @@ var init_useVoiceEnabled = __esm(() => {
565862
565949
  function getSemverPart(version8) {
565863
565950
  return `${import_semver13.major(version8, { loose: true })}.${import_semver13.minor(version8, { loose: true })}.${import_semver13.patch(version8, { loose: true })}`;
565864
565951
  }
565865
- function useUpdateNotification(updatedVersion, initialVersion = "0.7.43") {
565952
+ function useUpdateNotification(updatedVersion, initialVersion = "0.7.45") {
565866
565953
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
565867
565954
  if (!updatedVersion) {
565868
565955
  return null;
@@ -565902,7 +565989,7 @@ function AutoUpdater({
565902
565989
  return;
565903
565990
  }
565904
565991
  if (false) {}
565905
- const currentVersion = "0.7.43";
565992
+ const currentVersion = "0.7.45";
565906
565993
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
565907
565994
  let latestVersion = await getLatestVersion(channel);
565908
565995
  const isDisabled = isAutoUpdaterDisabled();
@@ -566115,12 +566202,12 @@ function NativeAutoUpdater({
566115
566202
  logEvent("tengu_native_auto_updater_start", {});
566116
566203
  try {
566117
566204
  const maxVersion = await getMaxVersion();
566118
- if (maxVersion && gt("0.7.43", maxVersion)) {
566205
+ if (maxVersion && gt("0.7.45", maxVersion)) {
566119
566206
  const msg = await getMaxVersionMessage();
566120
566207
  setMaxVersionIssue(msg ?? "affects your version");
566121
566208
  }
566122
566209
  const result = await installLatest(channel);
566123
- const currentVersion = "0.7.43";
566210
+ const currentVersion = "0.7.45";
566124
566211
  const latencyMs = Date.now() - startTime;
566125
566212
  if (result.lockFailed) {
566126
566213
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -566257,17 +566344,17 @@ function PackageManagerAutoUpdater(t0) {
566257
566344
  const maxVersion = await getMaxVersion();
566258
566345
  if (maxVersion && latest && gt(latest, maxVersion)) {
566259
566346
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
566260
- if (gte("0.7.43", maxVersion)) {
566261
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.43"} is already at or above maxVersion ${maxVersion}, skipping update`);
566347
+ if (gte("0.7.45", maxVersion)) {
566348
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.45"} is already at or above maxVersion ${maxVersion}, skipping update`);
566262
566349
  setUpdateAvailable(false);
566263
566350
  return;
566264
566351
  }
566265
566352
  latest = maxVersion;
566266
566353
  }
566267
- const hasUpdate = latest && !gte("0.7.43", latest) && !shouldSkipVersion(latest);
566354
+ const hasUpdate = latest && !gte("0.7.45", latest) && !shouldSkipVersion(latest);
566268
566355
  setUpdateAvailable(!!hasUpdate);
566269
566356
  if (hasUpdate) {
566270
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.43"} -> ${latest}`);
566357
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.45"} -> ${latest}`);
566271
566358
  }
566272
566359
  };
566273
566360
  $3[0] = t1;
@@ -566301,7 +566388,7 @@ function PackageManagerAutoUpdater(t0) {
566301
566388
  wrap: "truncate",
566302
566389
  children: [
566303
566390
  "currentVersion: ",
566304
- "0.7.43"
566391
+ "0.7.45"
566305
566392
  ]
566306
566393
  }, undefined, true, undefined, this);
566307
566394
  $3[3] = verbose;
@@ -574411,7 +574498,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
574411
574498
  project_dir: getOriginalCwd(),
574412
574499
  added_dirs: addedDirs
574413
574500
  },
574414
- version: "0.7.43",
574501
+ version: "0.7.45",
574415
574502
  output_style: {
574416
574503
  name: outputStyleName
574417
574504
  },
@@ -580493,7 +580580,7 @@ var init_SkillImprovementSurvey = __esm(() => {
580493
580580
 
580494
580581
  // src/utils/hooks/apiQueryHookHelper.ts
580495
580582
  var init_apiQueryHookHelper = __esm(() => {
580496
- init_claude();
580583
+ init_cody();
580497
580584
  init_abortController();
580498
580585
  init_log3();
580499
580586
  init_errors();
@@ -580574,7 +580661,7 @@ var init_skillImprovement = __esm(() => {
580574
580661
  init_state();
580575
580662
  init_growthbook();
580576
580663
  init_analytics();
580577
- init_claude();
580664
+ init_cody();
580578
580665
  init_Tool();
580579
580666
  init_abortController();
580580
580667
  init_cwd2();
@@ -581171,7 +581258,7 @@ function useApiKeyVerification() {
581171
581258
  var import_react270;
581172
581259
  var init_useApiKeyVerification = __esm(() => {
581173
581260
  init_state();
581174
- init_claude();
581261
+ init_cody();
581175
581262
  init_auth2();
581176
581263
  import_react270 = __toESM(require_react(), 1);
581177
581264
  });
@@ -585799,7 +585886,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
585799
585886
  } catch {}
585800
585887
  const data = {
585801
585888
  trigger,
585802
- version: "0.7.43",
585889
+ version: "0.7.45",
585803
585890
  platform: process.platform,
585804
585891
  transcript,
585805
585892
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -587009,7 +587096,7 @@ var init_awaySummary = __esm(() => {
587009
587096
  init_debug();
587010
587097
  init_messages3();
587011
587098
  init_model();
587012
- init_claude();
587099
+ init_cody();
587013
587100
  init_sessionMemoryUtils();
587014
587101
  });
587015
587102
 
@@ -597816,7 +597903,7 @@ function WelcomeV2() {
597816
597903
  dimColor: true,
597817
597904
  children: [
597818
597905
  "v",
597819
- "0.7.43",
597906
+ "0.7.45",
597820
597907
  " "
597821
597908
  ]
597822
597909
  }, undefined, true, undefined, this)
@@ -599117,7 +599204,7 @@ function completeOnboarding() {
599117
599204
  saveGlobalConfig((current) => ({
599118
599205
  ...current,
599119
599206
  hasCompletedOnboarding: true,
599120
- lastOnboardingVersion: "0.7.43"
599207
+ lastOnboardingVersion: "0.7.45"
599121
599208
  }));
599122
599209
  }
599123
599210
  function showDialog(root2, renderer) {
@@ -603596,7 +603683,7 @@ function appendToLog(path28, message) {
603596
603683
  cwd: getFsImplementation().cwd(),
603597
603684
  userType: "external",
603598
603685
  sessionId: getSessionId(),
603599
- version: "0.7.43"
603686
+ version: "0.7.45"
603600
603687
  };
603601
603688
  getLogWriter(path28).write(messageWithTimestamp);
603602
603689
  }
@@ -607163,7 +607250,7 @@ var messageSelector = () => (init_MessageSelector(), __toCommonJS(exports_Messag
607163
607250
  var init_QueryEngine = __esm(() => {
607164
607251
  init_last();
607165
607252
  init_state();
607166
- init_claude();
607253
+ init_cody();
607167
607254
  init_logging2();
607168
607255
  init_strip_ansi();
607169
607256
  init_commands2();
@@ -607555,8 +607642,8 @@ async function getEnvLessBridgeConfig() {
607555
607642
  }
607556
607643
  async function checkEnvLessBridgeMinVersion() {
607557
607644
  const cfg = await getEnvLessBridgeConfig();
607558
- if (cfg.min_version && lt("0.7.43", cfg.min_version)) {
607559
- return `Your version of Cody CLI (${"0.7.43"}) is too old for Remote Control.
607645
+ if (cfg.min_version && lt("0.7.45", cfg.min_version)) {
607646
+ return `Your version of Cody CLI (${"0.7.45"}) is too old for Remote Control.
607560
607647
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
607561
607648
  }
607562
607649
  return null;
@@ -608030,7 +608117,7 @@ async function initBridgeCore(params) {
608030
608117
  const rawApi = createBridgeApiClient({
608031
608118
  baseUrl,
608032
608119
  getAccessToken,
608033
- runnerVersion: "0.7.43",
608120
+ runnerVersion: "0.7.45",
608034
608121
  onDebug: logForDebugging,
608035
608122
  onAuth401,
608036
608123
  getTrustedDeviceToken
@@ -613667,7 +613754,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
613667
613754
  setCwd(cwd3);
613668
613755
  const server = new Server2({
613669
613756
  name: "claude/tengu",
613670
- version: "0.7.43"
613757
+ version: "0.7.45"
613671
613758
  }, {
613672
613759
  capabilities: {
613673
613760
  tools: {}
@@ -615278,7 +615365,7 @@ __export(exports_update, {
615278
615365
  });
615279
615366
  async function update() {
615280
615367
  logEvent("tengu_update_check", {});
615281
- writeToStdout(`Current version: ${"0.7.43"}
615368
+ writeToStdout(`Current version: ${"0.7.45"}
615282
615369
  `);
615283
615370
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
615284
615371
  writeToStdout(`Checking for updates to ${channel} version...
@@ -615353,8 +615440,8 @@ async function update() {
615353
615440
  writeToStdout(`Cody CLI is managed by Homebrew.
615354
615441
  `);
615355
615442
  const latest = await getLatestVersion(channel);
615356
- if (latest && !gte("0.7.43", latest)) {
615357
- writeToStdout(`Update available: ${"0.7.43"} → ${latest}
615443
+ if (latest && !gte("0.7.45", latest)) {
615444
+ writeToStdout(`Update available: ${"0.7.45"} → ${latest}
615358
615445
  `);
615359
615446
  writeToStdout(`
615360
615447
  `);
@@ -615370,8 +615457,8 @@ async function update() {
615370
615457
  writeToStdout(`Cody CLI is managed by winget.
615371
615458
  `);
615372
615459
  const latest = await getLatestVersion(channel);
615373
- if (latest && !gte("0.7.43", latest)) {
615374
- writeToStdout(`Update available: ${"0.7.43"} → ${latest}
615460
+ if (latest && !gte("0.7.45", latest)) {
615461
+ writeToStdout(`Update available: ${"0.7.45"} → ${latest}
615375
615462
  `);
615376
615463
  writeToStdout(`
615377
615464
  `);
@@ -615387,8 +615474,8 @@ async function update() {
615387
615474
  writeToStdout(`Cody CLI is managed by apk.
615388
615475
  `);
615389
615476
  const latest = await getLatestVersion(channel);
615390
- if (latest && !gte("0.7.43", latest)) {
615391
- writeToStdout(`Update available: ${"0.7.43"} → ${latest}
615477
+ if (latest && !gte("0.7.45", latest)) {
615478
+ writeToStdout(`Update available: ${"0.7.45"} → ${latest}
615392
615479
  `);
615393
615480
  writeToStdout(`
615394
615481
  `);
@@ -615453,11 +615540,11 @@ async function update() {
615453
615540
  `);
615454
615541
  await gracefulShutdown(1);
615455
615542
  }
615456
- if (result.latestVersion === "0.7.43") {
615457
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.43"})`) + `
615543
+ if (result.latestVersion === "0.7.45") {
615544
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.45"})`) + `
615458
615545
  `);
615459
615546
  } else {
615460
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.43"} to version ${result.latestVersion}`) + `
615547
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.45"} to version ${result.latestVersion}`) + `
615461
615548
  `);
615462
615549
  await regenerateCompletionCache();
615463
615550
  }
@@ -615517,12 +615604,12 @@ async function update() {
615517
615604
  `);
615518
615605
  await gracefulShutdown(1);
615519
615606
  }
615520
- if (latestVersion === "0.7.43") {
615521
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.43"})`) + `
615607
+ if (latestVersion === "0.7.45") {
615608
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.45"})`) + `
615522
615609
  `);
615523
615610
  await gracefulShutdown(0);
615524
615611
  }
615525
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.43"})
615612
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.45"})
615526
615613
  `);
615527
615614
  writeToStdout(`Installing update...
615528
615615
  `);
@@ -615567,7 +615654,7 @@ async function update() {
615567
615654
  logForDebugging(`update: Installation status: ${status2}`);
615568
615655
  switch (status2) {
615569
615656
  case "success":
615570
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.43"} to version ${latestVersion}`) + `
615657
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.45"} to version ${latestVersion}`) + `
615571
615658
  `);
615572
615659
  await regenerateCompletionCache();
615573
615660
  break;
@@ -616812,7 +616899,7 @@ ${customInstructions}` : customInstructions;
616812
616899
  }
616813
616900
  }
616814
616901
  logForDiagnosticsNoPII("info", "started", {
616815
- version: "0.7.43",
616902
+ version: "0.7.45",
616816
616903
  is_native_binary: isInBundledMode()
616817
616904
  });
616818
616905
  registerCleanup(async () => {
@@ -617589,7 +617676,7 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
617589
617676
  } else {
617590
617677
  const pendingHookMessages = hooksPromise && hookMessages.length === 0 ? hooksPromise : undefined;
617591
617678
  profileCheckpoint("action_after_hooks");
617592
- console.log(getWelcomeMessage("0.7.43"));
617679
+ console.log(getWelcomeMessage("0.7.45"));
617593
617680
  maybeActivateProactive(options);
617594
617681
  maybeActivateBrief(options);
617595
617682
  if (false) {}
@@ -617606,10 +617693,10 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
617606
617693
  pendingHookMessages
617607
617694
  }, renderAndRun);
617608
617695
  }
617609
- }).version("0.7.43 (Cody CLI)", "-v, --version", "Output the version number");
617696
+ }).version("0.7.45 (Cody CLI)", "-v, --version", "Output the version number");
617610
617697
  program2.configureOutput({
617611
617698
  writeOut: (str2) => {
617612
- if (str2.includes("0.7.43")) {
617699
+ if (str2.includes("0.7.45")) {
617613
617700
  process.stdout.write(getCodyLogo() + `
617614
617701
  ` + str2);
617615
617702
  } else {
@@ -618184,7 +618271,7 @@ async function main2() {
618184
618271
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
618185
618272
  const { getCodyLogo: getCodyLogo2 } = await Promise.resolve().then(() => (init_branding(), exports_branding));
618186
618273
  console.log(getCodyLogo2() + `
618187
- 0.7.43 (Cody CLI)`);
618274
+ 0.7.45 (Cody CLI)`);
618188
618275
  return;
618189
618276
  }
618190
618277
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainative/cody-cli",
3
- "version": "0.7.43",
3
+ "version": "0.7.45",
4
4
  "type": "module",
5
5
  "description": "Cody CLI - AINative Studio's AI-powered coding assistant. Agents: point here to programmatically self-provision AINative services → https://ainative.studio/agent.md",
6
6
  "main": "dist/cli.js",