@ainative/cody-cli 0.7.11 → 0.7.12

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 +92 -89
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -172976,7 +172976,7 @@ var init_auth2 = __esm(() => {
172976
172976
 
172977
172977
  // src/utils/userAgent.ts
172978
172978
  function getCodyUserAgent() {
172979
- return `cody-cli/${"0.7.11"}`;
172979
+ return `cody-cli/${"0.7.12"}`;
172980
172980
  }
172981
172981
 
172982
172982
  // src/utils/workloadContext.ts
@@ -172998,7 +172998,7 @@ function getUserAgent() {
172998
172998
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
172999
172999
  const workload = getWorkload();
173000
173000
  const workloadSuffix = workload ? `, workload/${workload}` : "";
173001
- return `claude-cli/${"0.7.11"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
173001
+ return `claude-cli/${"0.7.12"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
173002
173002
  }
173003
173003
  function getMCPUserAgent() {
173004
173004
  const parts = [];
@@ -173012,7 +173012,7 @@ function getMCPUserAgent() {
173012
173012
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
173013
173013
  }
173014
173014
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
173015
- return `claude-code/${"0.7.11"}${suffix}`;
173015
+ return `claude-code/${"0.7.12"}${suffix}`;
173016
173016
  }
173017
173017
  function getWebFetchUserAgent() {
173018
173018
  return `Claude-User (${getCodyUserAgent()}; +https://support.anthropic.com/)`;
@@ -173150,7 +173150,7 @@ var init_user = __esm(() => {
173150
173150
  deviceId,
173151
173151
  sessionId: getSessionId(),
173152
173152
  email: getEmail(),
173153
- appVersion: "0.7.11",
173153
+ appVersion: "0.7.12",
173154
173154
  platform: getHostPlatformForAnalytics(),
173155
173155
  organizationUuid,
173156
173156
  accountUuid,
@@ -180842,7 +180842,7 @@ var init_metadata = __esm(() => {
180842
180842
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
180843
180843
  WHITESPACE_REGEX = /\s+/;
180844
180844
  getVersionBase = memoize_default(() => {
180845
- const match = "0.7.11".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
180845
+ const match = "0.7.12".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
180846
180846
  return match ? match[0] : undefined;
180847
180847
  });
180848
180848
  buildEnvContext = memoize_default(async () => {
@@ -180882,9 +180882,9 @@ var init_metadata = __esm(() => {
180882
180882
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
180883
180883
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
180884
180884
  isClaudeAiAuth: isClaudeAISubscriber(),
180885
- version: "0.7.11",
180885
+ version: "0.7.12",
180886
180886
  versionBase: getVersionBase(),
180887
- buildTime: "1775372855",
180887
+ buildTime: "1775373135",
180888
180888
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
180889
180889
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
180890
180890
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -181502,7 +181502,7 @@ function initialize1PEventLogging() {
181502
181502
  const platform3 = getPlatform();
181503
181503
  const attributes = {
181504
181504
  [import_semantic_conventions.ATTR_SERVICE_NAME]: "cody-cli",
181505
- [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.11"
181505
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.12"
181506
181506
  };
181507
181507
  if (platform3 === "wsl") {
181508
181508
  const wslVersion = getWslVersion();
@@ -181529,7 +181529,7 @@ function initialize1PEventLogging() {
181529
181529
  })
181530
181530
  ]
181531
181531
  });
181532
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.11");
181532
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.12");
181533
181533
  }
181534
181534
  async function reinitialize1PEventLoggingIfConfigChanged() {
181535
181535
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -183354,7 +183354,7 @@ function getAttributionHeader(fingerprint) {
183354
183354
  if (!isAttributionHeaderEnabled()) {
183355
183355
  return "";
183356
183356
  }
183357
- const version6 = `${"0.7.11"}.${fingerprint}`;
183357
+ const version6 = `${"0.7.12"}.${fingerprint}`;
183358
183358
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
183359
183359
  const cch = "";
183360
183360
  const workload = getWorkload();
@@ -247433,7 +247433,7 @@ function getTelemetryAttributes() {
247433
247433
  attributes["session.id"] = sessionId;
247434
247434
  }
247435
247435
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
247436
- attributes["app.version"] = "0.7.11";
247436
+ attributes["app.version"] = "0.7.12";
247437
247437
  }
247438
247438
  const oauthAccount = getOauthAccountInfo();
247439
247439
  if (oauthAccount) {
@@ -278610,7 +278610,7 @@ function getInstallationEnv() {
278610
278610
  return;
278611
278611
  }
278612
278612
  function getClaudeCodeVersion() {
278613
- return "0.7.11";
278613
+ return "0.7.12";
278614
278614
  }
278615
278615
  async function getInstalledVSCodeExtensionVersion(command) {
278616
278616
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -284144,7 +284144,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
284144
284144
  const client4 = new Client({
284145
284145
  name: "claude-code",
284146
284146
  title: "Claude Code",
284147
- version: "0.7.11",
284147
+ version: "0.7.12",
284148
284148
  description: "Anthropic's agentic coding tool",
284149
284149
  websiteUrl: PRODUCT_URL
284150
284150
  }, {
@@ -284498,7 +284498,7 @@ var init_client8 = __esm(() => {
284498
284498
  const client4 = new Client({
284499
284499
  name: "claude-code",
284500
284500
  title: "Claude Code",
284501
- version: "0.7.11",
284501
+ version: "0.7.12",
284502
284502
  description: "Anthropic's agentic coding tool",
284503
284503
  websiteUrl: PRODUCT_URL
284504
284504
  }, {
@@ -332630,7 +332630,7 @@ async function initializeBetaTracing(resource) {
332630
332630
  });
332631
332631
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
332632
332632
  setLoggerProvider(loggerProvider);
332633
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.11");
332633
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.12");
332634
332634
  setEventLogger(eventLogger);
332635
332635
  process.on("beforeExit", async () => {
332636
332636
  await loggerProvider?.forceFlush();
@@ -332670,7 +332670,7 @@ async function initializeTelemetry() {
332670
332670
  const platform5 = getPlatform();
332671
332671
  const baseAttributes = {
332672
332672
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
332673
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.11"
332673
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.12"
332674
332674
  };
332675
332675
  if (platform5 === "wsl") {
332676
332676
  const wslVersion = getWslVersion();
@@ -332715,7 +332715,7 @@ async function initializeTelemetry() {
332715
332715
  } catch {}
332716
332716
  };
332717
332717
  registerCleanup(shutdownTelemetry2);
332718
- return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.11");
332718
+ return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.12");
332719
332719
  }
332720
332720
  const meterProvider = new import_sdk_metrics2.MeterProvider({
332721
332721
  resource,
@@ -332735,7 +332735,7 @@ async function initializeTelemetry() {
332735
332735
  });
332736
332736
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
332737
332737
  setLoggerProvider(loggerProvider);
332738
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.11");
332738
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.12");
332739
332739
  setEventLogger(eventLogger);
332740
332740
  logForDebugging("[3P telemetry] Event logger set successfully");
332741
332741
  process.on("beforeExit", async () => {
@@ -332797,7 +332797,7 @@ Current timeout: ${timeoutMs}ms
332797
332797
  }
332798
332798
  };
332799
332799
  registerCleanup(shutdownTelemetry);
332800
- return meterProvider.getMeter("com.anthropic.claude_code", "0.7.11");
332800
+ return meterProvider.getMeter("com.anthropic.claude_code", "0.7.12");
332801
332801
  }
332802
332802
  async function flushTelemetry() {
332803
332803
  const meterProvider = getMeterProvider();
@@ -333486,9 +333486,9 @@ async function assertMinVersion() {
333486
333486
  }
333487
333487
  try {
333488
333488
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
333489
- if (versionConfig.minVersion && lt("0.7.11", versionConfig.minVersion)) {
333489
+ if (versionConfig.minVersion && lt("0.7.12", versionConfig.minVersion)) {
333490
333490
  console.error(`
333491
- It looks like your version of Cody CLI (${"0.7.11"}) needs an update.
333491
+ It looks like your version of Cody CLI (${"0.7.12"}) needs an update.
333492
333492
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
333493
333493
 
333494
333494
  To update, please run:
@@ -333725,7 +333725,7 @@ async function installGlobalPackage(specificVersion) {
333725
333725
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
333726
333726
  logEvent("tengu_auto_updater_lock_contention", {
333727
333727
  pid: process.pid,
333728
- currentVersion: "0.7.11"
333728
+ currentVersion: "0.7.12"
333729
333729
  });
333730
333730
  return "in_progress";
333731
333731
  }
@@ -333734,7 +333734,7 @@ async function installGlobalPackage(specificVersion) {
333734
333734
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
333735
333735
  logError2(new Error("Windows NPM detected in WSL environment"));
333736
333736
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
333737
- currentVersion: "0.7.11"
333737
+ currentVersion: "0.7.12"
333738
333738
  });
333739
333739
  console.error(`
333740
333740
  Error: Windows NPM detected in WSL
@@ -334269,7 +334269,7 @@ function detectLinuxGlobPatternWarnings() {
334269
334269
  }
334270
334270
  async function getDoctorDiagnostic() {
334271
334271
  const installationType = await getCurrentInstallationType();
334272
- const version6 = typeof MACRO !== "undefined" ? "0.7.11" : "unknown";
334272
+ const version6 = typeof MACRO !== "undefined" ? "0.7.12" : "unknown";
334273
334273
  const installationPath = await getInstallationPath();
334274
334274
  const invokedBinary = getInvokedBinary();
334275
334275
  const multipleInstallations = await detectMultipleInstallations();
@@ -335104,8 +335104,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
335104
335104
  const maxVersion = await getMaxVersion();
335105
335105
  if (maxVersion && gt(version6, maxVersion)) {
335106
335106
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version6} to ${maxVersion}`);
335107
- if (gte("0.7.11", maxVersion)) {
335108
- logForDebugging(`Native installer: current version ${"0.7.11"} is already at or above maxVersion ${maxVersion}, skipping update`);
335107
+ if (gte("0.7.12", maxVersion)) {
335108
+ logForDebugging(`Native installer: current version ${"0.7.12"} is already at or above maxVersion ${maxVersion}, skipping update`);
335109
335109
  logEvent("tengu_native_update_skipped_max_version", {
335110
335110
  latency_ms: Date.now() - startTime,
335111
335111
  max_version: maxVersion,
@@ -335116,7 +335116,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
335116
335116
  version6 = maxVersion;
335117
335117
  }
335118
335118
  }
335119
- if (!forceReinstall && version6 === "0.7.11" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
335119
+ if (!forceReinstall && version6 === "0.7.12" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
335120
335120
  logForDebugging(`Found ${version6} at ${executablePath}, skipping install`);
335121
335121
  logEvent("tengu_native_update_complete", {
335122
335122
  latency_ms: Date.now() - startTime,
@@ -418706,7 +418706,7 @@ function getAnthropicEnvMetadata() {
418706
418706
  function getBuildAgeMinutes() {
418707
418707
  if (false)
418708
418708
  ;
418709
- const buildTime = new Date("1775372855").getTime();
418709
+ const buildTime = new Date("1775373135").getTime();
418710
418710
  if (isNaN(buildTime))
418711
418711
  return;
418712
418712
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -442219,7 +442219,7 @@ function Feedback({
442219
442219
  platform: env4.platform,
442220
442220
  gitRepo: envInfo.isGit,
442221
442221
  terminal: env4.terminal,
442222
- version: "0.7.11",
442222
+ version: "0.7.12",
442223
442223
  transcript: normalizeMessagesForAPI(messages),
442224
442224
  errors: sanitizedErrors,
442225
442225
  lastApiRequest: getLastAPIRequest(),
@@ -442411,7 +442411,7 @@ function Feedback({
442411
442411
  ", ",
442412
442412
  env4.terminal,
442413
442413
  ", v",
442414
- "0.7.11"
442414
+ "0.7.12"
442415
442415
  ]
442416
442416
  }, undefined, true, undefined, this)
442417
442417
  ]
@@ -442517,7 +442517,7 @@ ${sanitizedDescription}
442517
442517
  ` + `**Environment Info**
442518
442518
  ` + `- Platform: ${env4.platform}
442519
442519
  ` + `- Terminal: ${env4.terminal}
442520
- ` + `- Version: ${"0.7.11"}
442520
+ ` + `- Version: ${"0.7.12"}
442521
442521
  ` + `- Feedback ID: ${feedbackId}
442522
442522
  ` + `
442523
442523
  **Errors**
@@ -445617,7 +445617,7 @@ function buildPrimarySection() {
445617
445617
  }, undefined, false, undefined, this);
445618
445618
  return [{
445619
445619
  label: "Version",
445620
- value: "0.7.11"
445620
+ value: "0.7.12"
445621
445621
  }, {
445622
445622
  label: "Session name",
445623
445623
  value: nameValue
@@ -449368,7 +449368,7 @@ function Config({
449368
449368
  }
449369
449369
  }, undefined, false, undefined, this)
449370
449370
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
449371
- currentVersion: "0.7.11",
449371
+ currentVersion: "0.7.12",
449372
449372
  onChoice: (choice) => {
449373
449373
  setShowSubmenu(null);
449374
449374
  setTabsHidden(false);
@@ -449380,7 +449380,7 @@ function Config({
449380
449380
  autoUpdatesChannel: "stable"
449381
449381
  };
449382
449382
  if (choice === "stay") {
449383
- newSettings.minimumVersion = "0.7.11";
449383
+ newSettings.minimumVersion = "0.7.12";
449384
449384
  }
449385
449385
  updateSettingsForSource("userSettings", newSettings);
449386
449386
  setSettingsData((prev_27) => ({
@@ -457381,7 +457381,7 @@ function HelpV2(t0) {
457381
457381
  let t6;
457382
457382
  if ($3[31] !== tabs) {
457383
457383
  t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
457384
- title: `Cody CLI v${"0.7.11"}`,
457384
+ title: `Cody CLI v${"0.7.12"}`,
457385
457385
  color: "professionalBlue",
457386
457386
  defaultTab: "general",
457387
457387
  children: tabs
@@ -481571,7 +481571,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
481571
481571
  return [];
481572
481572
  }
481573
481573
  }
481574
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.11") {
481574
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.12") {
481575
481575
  if (false) {}
481576
481576
  const cachedChangelog = await getStoredChangelog();
481577
481577
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -481584,7 +481584,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.11")
481584
481584
  releaseNotes
481585
481585
  };
481586
481586
  }
481587
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.11") {
481587
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.12") {
481588
481588
  if (false) {}
481589
481589
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
481590
481590
  return {
@@ -482740,7 +482740,7 @@ function getRecentActivitySync() {
482740
482740
  return cachedActivity;
482741
482741
  }
482742
482742
  function getLogoDisplayData() {
482743
- const version6 = process.env.DEMO_VERSION ?? "0.7.11";
482743
+ const version6 = process.env.DEMO_VERSION ?? "0.7.12";
482744
482744
  const serverUrl = getDirectConnectServerUrl();
482745
482745
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
482746
482746
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -484255,7 +484255,7 @@ function LogoV2() {
484255
484255
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
484256
484256
  t2 = () => {
484257
484257
  const currentConfig = getGlobalConfig();
484258
- if (currentConfig.lastReleaseNotesSeen === "0.7.11") {
484258
+ if (currentConfig.lastReleaseNotesSeen === "0.7.12") {
484259
484259
  return;
484260
484260
  }
484261
484261
  saveGlobalConfig(_temp329);
@@ -484931,12 +484931,12 @@ function LogoV2() {
484931
484931
  return t41;
484932
484932
  }
484933
484933
  function _temp329(current) {
484934
- if (current.lastReleaseNotesSeen === "0.7.11") {
484934
+ if (current.lastReleaseNotesSeen === "0.7.12") {
484935
484935
  return current;
484936
484936
  }
484937
484937
  return {
484938
484938
  ...current,
484939
- lastReleaseNotesSeen: "0.7.11"
484939
+ lastReleaseNotesSeen: "0.7.12"
484940
484940
  };
484941
484941
  }
484942
484942
  function _temp245(s_0) {
@@ -511274,7 +511274,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
511274
511274
  smapsRollup,
511275
511275
  platform: process.platform,
511276
511276
  nodeVersion: process.version,
511277
- ccVersion: "0.7.11"
511277
+ ccVersion: "0.7.12"
511278
511278
  };
511279
511279
  }
511280
511280
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -511802,7 +511802,7 @@ var init_bridge_kick = __esm(() => {
511802
511802
  var call56 = async () => {
511803
511803
  return {
511804
511804
  type: "text",
511805
- value: `${"0.7.11"} (built ${"1775372855"})`
511805
+ value: `${"0.7.12"} (built ${"1775373135"})`
511806
511806
  };
511807
511807
  }, version6, version_default;
511808
511808
  var init_version = __esm(() => {
@@ -520749,7 +520749,7 @@ function generateHtmlReport(data, insights) {
520749
520749
  </html>`;
520750
520750
  }
520751
520751
  function buildExportData(data, insights, facets, remoteStats) {
520752
- const version7 = typeof MACRO !== "undefined" ? "0.7.11" : "unknown";
520752
+ const version7 = typeof MACRO !== "undefined" ? "0.7.12" : "unknown";
520753
520753
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
520754
520754
  const facets_summary = {
520755
520755
  total: facets.size,
@@ -524695,7 +524695,7 @@ var init_sessionStorage = __esm(() => {
524695
524695
  init_settings2();
524696
524696
  init_slowOperations();
524697
524697
  init_uuid();
524698
- VERSION5 = typeof MACRO !== "undefined" ? "0.7.11" : "unknown";
524698
+ VERSION5 = typeof MACRO !== "undefined" ? "0.7.12" : "unknown";
524699
524699
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
524700
524700
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
524701
524701
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -525900,7 +525900,7 @@ var init_filesystem = __esm(() => {
525900
525900
  });
525901
525901
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
525902
525902
  const nonce = randomBytes19(16).toString("hex");
525903
- return join132(getClaudeTempDir(), "bundled-skills", "0.7.11", nonce);
525903
+ return join132(getClaudeTempDir(), "bundled-skills", "0.7.12", nonce);
525904
525904
  });
525905
525905
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
525906
525906
  });
@@ -531872,7 +531872,7 @@ function computeFingerprint(messageText, version7) {
531872
531872
  }
531873
531873
  function computeFingerprintFromMessages(messages) {
531874
531874
  const firstMessageText = extractFirstMessageText(messages);
531875
- return computeFingerprint(firstMessageText, "0.7.11");
531875
+ return computeFingerprint(firstMessageText, "0.7.12");
531876
531876
  }
531877
531877
  var FINGERPRINT_SALT = "59cf53e54c78";
531878
531878
  var init_fingerprint = () => {};
@@ -533786,7 +533786,7 @@ async function sideQuery(opts) {
533786
533786
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
533787
533787
  }
533788
533788
  const messageText = extractFirstUserMessageText(messages);
533789
- const fingerprint = computeFingerprint(messageText, "0.7.11");
533789
+ const fingerprint = computeFingerprint(messageText, "0.7.12");
533790
533790
  const attributionHeader = getAttributionHeader(fingerprint);
533791
533791
  const systemBlocks = [
533792
533792
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -538310,7 +538310,7 @@ function buildSystemInitMessage(inputs) {
538310
538310
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
538311
538311
  apiKeySource: getAnthropicApiKeyWithSource().source,
538312
538312
  betas: getSdkBetas(),
538313
- claude_code_version: "0.7.11",
538313
+ claude_code_version: "0.7.12",
538314
538314
  output_style: outputStyle2,
538315
538315
  agents: inputs.agents.map((agent) => agent.agentType),
538316
538316
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -552862,7 +552862,7 @@ var init_useVoiceEnabled = __esm(() => {
552862
552862
  function getSemverPart(version7) {
552863
552863
  return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
552864
552864
  }
552865
- function useUpdateNotification(updatedVersion, initialVersion = "0.7.11") {
552865
+ function useUpdateNotification(updatedVersion, initialVersion = "0.7.12") {
552866
552866
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
552867
552867
  if (!updatedVersion) {
552868
552868
  return null;
@@ -552902,7 +552902,7 @@ function AutoUpdater({
552902
552902
  return;
552903
552903
  }
552904
552904
  if (false) {}
552905
- const currentVersion = "0.7.11";
552905
+ const currentVersion = "0.7.12";
552906
552906
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
552907
552907
  let latestVersion = await getLatestVersion(channel);
552908
552908
  const isDisabled = isAutoUpdaterDisabled();
@@ -553115,12 +553115,12 @@ function NativeAutoUpdater({
553115
553115
  logEvent("tengu_native_auto_updater_start", {});
553116
553116
  try {
553117
553117
  const maxVersion = await getMaxVersion();
553118
- if (maxVersion && gt("0.7.11", maxVersion)) {
553118
+ if (maxVersion && gt("0.7.12", maxVersion)) {
553119
553119
  const msg = await getMaxVersionMessage();
553120
553120
  setMaxVersionIssue(msg ?? "affects your version");
553121
553121
  }
553122
553122
  const result = await installLatest(channel);
553123
- const currentVersion = "0.7.11";
553123
+ const currentVersion = "0.7.12";
553124
553124
  const latencyMs = Date.now() - startTime;
553125
553125
  if (result.lockFailed) {
553126
553126
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -553257,17 +553257,17 @@ function PackageManagerAutoUpdater(t0) {
553257
553257
  const maxVersion = await getMaxVersion();
553258
553258
  if (maxVersion && latest && gt(latest, maxVersion)) {
553259
553259
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
553260
- if (gte("0.7.11", maxVersion)) {
553261
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.11"} is already at or above maxVersion ${maxVersion}, skipping update`);
553260
+ if (gte("0.7.12", maxVersion)) {
553261
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.12"} is already at or above maxVersion ${maxVersion}, skipping update`);
553262
553262
  setUpdateAvailable(false);
553263
553263
  return;
553264
553264
  }
553265
553265
  latest = maxVersion;
553266
553266
  }
553267
- const hasUpdate = latest && !gte("0.7.11", latest) && !shouldSkipVersion(latest);
553267
+ const hasUpdate = latest && !gte("0.7.12", latest) && !shouldSkipVersion(latest);
553268
553268
  setUpdateAvailable(!!hasUpdate);
553269
553269
  if (hasUpdate) {
553270
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.11"} -> ${latest}`);
553270
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.12"} -> ${latest}`);
553271
553271
  }
553272
553272
  };
553273
553273
  $3[0] = t1;
@@ -553301,7 +553301,7 @@ function PackageManagerAutoUpdater(t0) {
553301
553301
  wrap: "truncate",
553302
553302
  children: [
553303
553303
  "currentVersion: ",
553304
- "0.7.11"
553304
+ "0.7.12"
553305
553305
  ]
553306
553306
  }, undefined, true, undefined, this);
553307
553307
  $3[3] = verbose;
@@ -561411,7 +561411,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
561411
561411
  project_dir: getOriginalCwd(),
561412
561412
  added_dirs: addedDirs
561413
561413
  },
561414
- version: "0.7.11",
561414
+ version: "0.7.12",
561415
561415
  output_style: {
561416
561416
  name: outputStyleName
561417
561417
  },
@@ -572785,7 +572785,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
572785
572785
  } catch {}
572786
572786
  const data = {
572787
572787
  trigger,
572788
- version: "0.7.11",
572788
+ version: "0.7.12",
572789
572789
  platform: process.platform,
572790
572790
  transcript,
572791
572791
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -584752,7 +584752,7 @@ function WelcomeV2() {
584752
584752
  dimColor: true,
584753
584753
  children: [
584754
584754
  "v",
584755
- "0.7.11",
584755
+ "0.7.12",
584756
584756
  " "
584757
584757
  ]
584758
584758
  }, undefined, true, undefined, this)
@@ -584952,7 +584952,7 @@ function WelcomeV2() {
584952
584952
  dimColor: true,
584953
584953
  children: [
584954
584954
  "v",
584955
- "0.7.11",
584955
+ "0.7.12",
584956
584956
  " "
584957
584957
  ]
584958
584958
  }, undefined, true, undefined, this)
@@ -585178,7 +585178,7 @@ function AppleTerminalWelcomeV2(t0) {
585178
585178
  dimColor: true,
585179
585179
  children: [
585180
585180
  "v",
585181
- "0.7.11",
585181
+ "0.7.12",
585182
585182
  " "
585183
585183
  ]
585184
585184
  }, undefined, true, undefined, this);
@@ -585432,7 +585432,7 @@ function AppleTerminalWelcomeV2(t0) {
585432
585432
  dimColor: true,
585433
585433
  children: [
585434
585434
  "v",
585435
- "0.7.11",
585435
+ "0.7.12",
585436
585436
  " "
585437
585437
  ]
585438
585438
  }, undefined, true, undefined, this);
@@ -586936,7 +586936,7 @@ function completeOnboarding() {
586936
586936
  saveGlobalConfig((current) => ({
586937
586937
  ...current,
586938
586938
  hasCompletedOnboarding: true,
586939
- lastOnboardingVersion: "0.7.11"
586939
+ lastOnboardingVersion: "0.7.12"
586940
586940
  }));
586941
586941
  }
586942
586942
  function showDialog(root2, renderer) {
@@ -591414,7 +591414,7 @@ function appendToLog(path28, message) {
591414
591414
  cwd: getFsImplementation().cwd(),
591415
591415
  userType: "external",
591416
591416
  sessionId: getSessionId(),
591417
- version: "0.7.11"
591417
+ version: "0.7.12"
591418
591418
  };
591419
591419
  getLogWriter(path28).write(messageWithTimestamp);
591420
591420
  }
@@ -595373,8 +595373,8 @@ async function getEnvLessBridgeConfig() {
595373
595373
  }
595374
595374
  async function checkEnvLessBridgeMinVersion() {
595375
595375
  const cfg = await getEnvLessBridgeConfig();
595376
- if (cfg.min_version && lt("0.7.11", cfg.min_version)) {
595377
- return `Your version of Cody CLI (${"0.7.11"}) is too old for Remote Control.
595376
+ if (cfg.min_version && lt("0.7.12", cfg.min_version)) {
595377
+ return `Your version of Cody CLI (${"0.7.12"}) is too old for Remote Control.
595378
595378
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
595379
595379
  }
595380
595380
  return null;
@@ -595848,7 +595848,7 @@ async function initBridgeCore(params) {
595848
595848
  const rawApi = createBridgeApiClient({
595849
595849
  baseUrl,
595850
595850
  getAccessToken,
595851
- runnerVersion: "0.7.11",
595851
+ runnerVersion: "0.7.12",
595852
595852
  onDebug: logForDebugging,
595853
595853
  onAuth401,
595854
595854
  getTrustedDeviceToken
@@ -601485,7 +601485,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
601485
601485
  setCwd(cwd3);
601486
601486
  const server = new Server({
601487
601487
  name: "claude/tengu",
601488
- version: "0.7.11"
601488
+ version: "0.7.12"
601489
601489
  }, {
601490
601490
  capabilities: {
601491
601491
  tools: {}
@@ -603096,7 +603096,7 @@ __export(exports_update, {
603096
603096
  });
603097
603097
  async function update() {
603098
603098
  logEvent("tengu_update_check", {});
603099
- writeToStdout(`Current version: ${"0.7.11"}
603099
+ writeToStdout(`Current version: ${"0.7.12"}
603100
603100
  `);
603101
603101
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
603102
603102
  writeToStdout(`Checking for updates to ${channel} version...
@@ -603171,8 +603171,8 @@ async function update() {
603171
603171
  writeToStdout(`Cody CLI is managed by Homebrew.
603172
603172
  `);
603173
603173
  const latest = await getLatestVersion(channel);
603174
- if (latest && !gte("0.7.11", latest)) {
603175
- writeToStdout(`Update available: ${"0.7.11"} → ${latest}
603174
+ if (latest && !gte("0.7.12", latest)) {
603175
+ writeToStdout(`Update available: ${"0.7.12"} → ${latest}
603176
603176
  `);
603177
603177
  writeToStdout(`
603178
603178
  `);
@@ -603188,8 +603188,8 @@ async function update() {
603188
603188
  writeToStdout(`Cody CLI is managed by winget.
603189
603189
  `);
603190
603190
  const latest = await getLatestVersion(channel);
603191
- if (latest && !gte("0.7.11", latest)) {
603192
- writeToStdout(`Update available: ${"0.7.11"} → ${latest}
603191
+ if (latest && !gte("0.7.12", latest)) {
603192
+ writeToStdout(`Update available: ${"0.7.12"} → ${latest}
603193
603193
  `);
603194
603194
  writeToStdout(`
603195
603195
  `);
@@ -603205,8 +603205,8 @@ async function update() {
603205
603205
  writeToStdout(`Cody CLI is managed by apk.
603206
603206
  `);
603207
603207
  const latest = await getLatestVersion(channel);
603208
- if (latest && !gte("0.7.11", latest)) {
603209
- writeToStdout(`Update available: ${"0.7.11"} → ${latest}
603208
+ if (latest && !gte("0.7.12", latest)) {
603209
+ writeToStdout(`Update available: ${"0.7.12"} → ${latest}
603210
603210
  `);
603211
603211
  writeToStdout(`
603212
603212
  `);
@@ -603271,11 +603271,11 @@ async function update() {
603271
603271
  `);
603272
603272
  await gracefulShutdown(1);
603273
603273
  }
603274
- if (result.latestVersion === "0.7.11") {
603275
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.11"})`) + `
603274
+ if (result.latestVersion === "0.7.12") {
603275
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.12"})`) + `
603276
603276
  `);
603277
603277
  } else {
603278
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.11"} to version ${result.latestVersion}`) + `
603278
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.12"} to version ${result.latestVersion}`) + `
603279
603279
  `);
603280
603280
  await regenerateCompletionCache();
603281
603281
  }
@@ -603335,12 +603335,12 @@ async function update() {
603335
603335
  `);
603336
603336
  await gracefulShutdown(1);
603337
603337
  }
603338
- if (latestVersion === "0.7.11") {
603339
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.11"})`) + `
603338
+ if (latestVersion === "0.7.12") {
603339
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.12"})`) + `
603340
603340
  `);
603341
603341
  await gracefulShutdown(0);
603342
603342
  }
603343
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.11"})
603343
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.12"})
603344
603344
  `);
603345
603345
  writeToStdout(`Installing update...
603346
603346
  `);
@@ -603385,7 +603385,7 @@ async function update() {
603385
603385
  logForDebugging(`update: Installation status: ${status2}`);
603386
603386
  switch (status2) {
603387
603387
  case "success":
603388
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.11"} to version ${latestVersion}`) + `
603388
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.12"} to version ${latestVersion}`) + `
603389
603389
  `);
603390
603390
  await regenerateCompletionCache();
603391
603391
  break;
@@ -604629,7 +604629,7 @@ ${customInstructions}` : customInstructions;
604629
604629
  }
604630
604630
  }
604631
604631
  logForDiagnosticsNoPII("info", "started", {
604632
- version: "0.7.11",
604632
+ version: "0.7.12",
604633
604633
  is_native_binary: isInBundledMode()
604634
604634
  });
604635
604635
  registerCleanup(async () => {
@@ -605397,7 +605397,7 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605397
605397
  } else {
605398
605398
  const pendingHookMessages = hooksPromise && hookMessages.length === 0 ? hooksPromise : undefined;
605399
605399
  profileCheckpoint("action_after_hooks");
605400
- console.log(getWelcomeMessage("0.7.11"));
605400
+ console.log(getWelcomeMessage("0.7.12"));
605401
605401
  maybeActivateProactive(options);
605402
605402
  maybeActivateBrief(options);
605403
605403
  if (false) {}
@@ -605414,10 +605414,10 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605414
605414
  pendingHookMessages
605415
605415
  }, renderAndRun);
605416
605416
  }
605417
- }).version("0.7.11 (Cody CLI)", "-v, --version", "Output the version number");
605417
+ }).version("0.7.12 (Cody CLI)", "-v, --version", "Output the version number");
605418
605418
  program2.configureOutput({
605419
605419
  writeOut: (str2) => {
605420
- if (str2.includes("0.7.11")) {
605420
+ if (str2.includes("0.7.12")) {
605421
605421
  process.stdout.write(getCodyLogo() + `
605422
605422
  ` + str2);
605423
605423
  } else {
@@ -605949,6 +605949,9 @@ process.env.COREPACK_ENABLE_AUTO_PIN = "0";
605949
605949
  if (!process.env.ANTHROPIC_BASE_URL) {
605950
605950
  process.env.ANTHROPIC_BASE_URL = "https://api.ainative.studio";
605951
605951
  }
605952
+ if (!process.env.CLAUDE_CODE_FORCE_FULL_LOGO) {
605953
+ process.env.CLAUDE_CODE_FORCE_FULL_LOGO = "1";
605954
+ }
605952
605955
  if (process.env.CLAUDE_CODE_REMOTE === "true") {
605953
605956
  const existing = process.env.NODE_OPTIONS || "";
605954
605957
  process.env.NODE_OPTIONS = existing ? `${existing} --max-old-space-size=8192` : "--max-old-space-size=8192";
@@ -605959,7 +605962,7 @@ async function main2() {
605959
605962
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
605960
605963
  const { getCodyLogo: getCodyLogo2 } = await Promise.resolve().then(() => (init_branding(), exports_branding));
605961
605964
  console.log(getCodyLogo2() + `
605962
- 0.7.11 (Cody CLI)`);
605965
+ 0.7.12 (Cody CLI)`);
605963
605966
  return;
605964
605967
  }
605965
605968
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainative/cody-cli",
3
- "version": "0.7.11",
3
+ "version": "0.7.12",
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",