@ainative/cody-cli 0.7.9 → 0.7.11

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 +111 -101
  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.9"}`;
172979
+ return `cody-cli/${"0.7.11"}`;
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.9"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
173001
+ return `claude-cli/${"0.7.11"} (${"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.9"}${suffix}`;
173015
+ return `claude-code/${"0.7.11"}${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.9",
173153
+ appVersion: "0.7.11",
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.9".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
180845
+ const match = "0.7.11".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.9",
180885
+ version: "0.7.11",
180886
180886
  versionBase: getVersionBase(),
180887
- buildTime: "1775372423",
180887
+ buildTime: "1775372855",
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.9"
181505
+ [import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.11"
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.9");
181532
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.11");
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.9"}.${fingerprint}`;
183357
+ const version6 = `${"0.7.11"}.${fingerprint}`;
183358
183358
  const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
183359
183359
  const cch = "";
183360
183360
  const workload = getWorkload();
@@ -239341,8 +239341,12 @@ var init_claudemd = __esm(() => {
239341
239341
  for (const dir of dirs.reverse()) {
239342
239342
  const skipProject = isNestedWorktree && pathInWorkingPath(dir, canonicalRoot) && !pathInWorkingPath(dir, gitRoot);
239343
239343
  if (isSettingSourceEnabled("projectSettings") && !skipProject) {
239344
+ const codyPath = join38(dir, "CODY.md");
239344
239345
  const projectPath = join38(dir, "CLAUDE.md");
239346
+ result.push(...await processMemoryFile(codyPath, "Project", processedPaths, includeExternal));
239345
239347
  result.push(...await processMemoryFile(projectPath, "Project", processedPaths, includeExternal));
239348
+ const dotCodyPath = join38(dir, ".cody", "CODY.md");
239349
+ result.push(...await processMemoryFile(dotCodyPath, "Project", processedPaths, includeExternal));
239346
239350
  const dotClaudePath = join38(dir, ".claude", "CLAUDE.md");
239347
239351
  result.push(...await processMemoryFile(dotClaudePath, "Project", processedPaths, includeExternal));
239348
239352
  const rulesDir = join38(dir, ".claude", "rules");
@@ -247429,7 +247433,7 @@ function getTelemetryAttributes() {
247429
247433
  attributes["session.id"] = sessionId;
247430
247434
  }
247431
247435
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
247432
- attributes["app.version"] = "0.7.9";
247436
+ attributes["app.version"] = "0.7.11";
247433
247437
  }
247434
247438
  const oauthAccount = getOauthAccountInfo();
247435
247439
  if (oauthAccount) {
@@ -278606,7 +278610,7 @@ function getInstallationEnv() {
278606
278610
  return;
278607
278611
  }
278608
278612
  function getClaudeCodeVersion() {
278609
- return "0.7.9";
278613
+ return "0.7.11";
278610
278614
  }
278611
278615
  async function getInstalledVSCodeExtensionVersion(command) {
278612
278616
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -284140,7 +284144,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
284140
284144
  const client4 = new Client({
284141
284145
  name: "claude-code",
284142
284146
  title: "Claude Code",
284143
- version: "0.7.9",
284147
+ version: "0.7.11",
284144
284148
  description: "Anthropic's agentic coding tool",
284145
284149
  websiteUrl: PRODUCT_URL
284146
284150
  }, {
@@ -284494,7 +284498,7 @@ var init_client8 = __esm(() => {
284494
284498
  const client4 = new Client({
284495
284499
  name: "claude-code",
284496
284500
  title: "Claude Code",
284497
- version: "0.7.9",
284501
+ version: "0.7.11",
284498
284502
  description: "Anthropic's agentic coding tool",
284499
284503
  websiteUrl: PRODUCT_URL
284500
284504
  }, {
@@ -332626,7 +332630,7 @@ async function initializeBetaTracing(resource) {
332626
332630
  });
332627
332631
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
332628
332632
  setLoggerProvider(loggerProvider);
332629
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.9");
332633
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.11");
332630
332634
  setEventLogger(eventLogger);
332631
332635
  process.on("beforeExit", async () => {
332632
332636
  await loggerProvider?.forceFlush();
@@ -332666,7 +332670,7 @@ async function initializeTelemetry() {
332666
332670
  const platform5 = getPlatform();
332667
332671
  const baseAttributes = {
332668
332672
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
332669
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.9"
332673
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.11"
332670
332674
  };
332671
332675
  if (platform5 === "wsl") {
332672
332676
  const wslVersion = getWslVersion();
@@ -332711,7 +332715,7 @@ async function initializeTelemetry() {
332711
332715
  } catch {}
332712
332716
  };
332713
332717
  registerCleanup(shutdownTelemetry2);
332714
- return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.9");
332718
+ return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.11");
332715
332719
  }
332716
332720
  const meterProvider = new import_sdk_metrics2.MeterProvider({
332717
332721
  resource,
@@ -332731,7 +332735,7 @@ async function initializeTelemetry() {
332731
332735
  });
332732
332736
  import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
332733
332737
  setLoggerProvider(loggerProvider);
332734
- const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.9");
332738
+ const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.11");
332735
332739
  setEventLogger(eventLogger);
332736
332740
  logForDebugging("[3P telemetry] Event logger set successfully");
332737
332741
  process.on("beforeExit", async () => {
@@ -332793,7 +332797,7 @@ Current timeout: ${timeoutMs}ms
332793
332797
  }
332794
332798
  };
332795
332799
  registerCleanup(shutdownTelemetry);
332796
- return meterProvider.getMeter("com.anthropic.claude_code", "0.7.9");
332800
+ return meterProvider.getMeter("com.anthropic.claude_code", "0.7.11");
332797
332801
  }
332798
332802
  async function flushTelemetry() {
332799
332803
  const meterProvider = getMeterProvider();
@@ -333482,9 +333486,9 @@ async function assertMinVersion() {
333482
333486
  }
333483
333487
  try {
333484
333488
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
333485
- if (versionConfig.minVersion && lt("0.7.9", versionConfig.minVersion)) {
333489
+ if (versionConfig.minVersion && lt("0.7.11", versionConfig.minVersion)) {
333486
333490
  console.error(`
333487
- It looks like your version of Cody CLI (${"0.7.9"}) needs an update.
333491
+ It looks like your version of Cody CLI (${"0.7.11"}) needs an update.
333488
333492
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
333489
333493
 
333490
333494
  To update, please run:
@@ -333721,7 +333725,7 @@ async function installGlobalPackage(specificVersion) {
333721
333725
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
333722
333726
  logEvent("tengu_auto_updater_lock_contention", {
333723
333727
  pid: process.pid,
333724
- currentVersion: "0.7.9"
333728
+ currentVersion: "0.7.11"
333725
333729
  });
333726
333730
  return "in_progress";
333727
333731
  }
@@ -333730,7 +333734,7 @@ async function installGlobalPackage(specificVersion) {
333730
333734
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
333731
333735
  logError2(new Error("Windows NPM detected in WSL environment"));
333732
333736
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
333733
- currentVersion: "0.7.9"
333737
+ currentVersion: "0.7.11"
333734
333738
  });
333735
333739
  console.error(`
333736
333740
  Error: Windows NPM detected in WSL
@@ -334265,7 +334269,7 @@ function detectLinuxGlobPatternWarnings() {
334265
334269
  }
334266
334270
  async function getDoctorDiagnostic() {
334267
334271
  const installationType = await getCurrentInstallationType();
334268
- const version6 = typeof MACRO !== "undefined" ? "0.7.9" : "unknown";
334272
+ const version6 = typeof MACRO !== "undefined" ? "0.7.11" : "unknown";
334269
334273
  const installationPath = await getInstallationPath();
334270
334274
  const invokedBinary = getInvokedBinary();
334271
334275
  const multipleInstallations = await detectMultipleInstallations();
@@ -335100,8 +335104,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
335100
335104
  const maxVersion = await getMaxVersion();
335101
335105
  if (maxVersion && gt(version6, maxVersion)) {
335102
335106
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version6} to ${maxVersion}`);
335103
- if (gte("0.7.9", maxVersion)) {
335104
- logForDebugging(`Native installer: current version ${"0.7.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
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`);
335105
335109
  logEvent("tengu_native_update_skipped_max_version", {
335106
335110
  latency_ms: Date.now() - startTime,
335107
335111
  max_version: maxVersion,
@@ -335112,7 +335116,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
335112
335116
  version6 = maxVersion;
335113
335117
  }
335114
335118
  }
335115
- if (!forceReinstall && version6 === "0.7.9" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
335119
+ if (!forceReinstall && version6 === "0.7.11" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
335116
335120
  logForDebugging(`Found ${version6} at ${executablePath}, skipping install`);
335117
335121
  logEvent("tengu_native_update_complete", {
335118
335122
  latency_ms: Date.now() - startTime,
@@ -418702,7 +418706,7 @@ function getAnthropicEnvMetadata() {
418702
418706
  function getBuildAgeMinutes() {
418703
418707
  if (false)
418704
418708
  ;
418705
- const buildTime = new Date("1775372423").getTime();
418709
+ const buildTime = new Date("1775372855").getTime();
418706
418710
  if (isNaN(buildTime))
418707
418711
  return;
418708
418712
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -437505,7 +437509,8 @@ function isInputModeCharacter(input) {
437505
437509
  // src/projectOnboardingState.ts
437506
437510
  import { join as join97 } from "path";
437507
437511
  function getSteps() {
437508
- const hasClaudeMd = getFsImplementation().existsSync(join97(getCwd(), "CLAUDE.md"));
437512
+ const fs14 = getFsImplementation();
437513
+ const hasClaudeMd = fs14.existsSync(join97(getCwd(), "CODY.md")) || fs14.existsSync(join97(getCwd(), "CLAUDE.md"));
437509
437514
  const isWorkspaceDirEmpty = isDirEmpty(getCwd());
437510
437515
  return [
437511
437516
  {
@@ -437517,7 +437522,7 @@ function getSteps() {
437517
437522
  },
437518
437523
  {
437519
437524
  key: "claudemd",
437520
- text: "Run /init to create a CLAUDE.md file with project instructions for Cody",
437525
+ text: "Run /init to create a CODY.md file with project instructions",
437521
437526
  isComplete: hasClaudeMd,
437522
437527
  isCompletable: true,
437523
437528
  isEnabled: !isWorkspaceDirEmpty
@@ -442214,7 +442219,7 @@ function Feedback({
442214
442219
  platform: env4.platform,
442215
442220
  gitRepo: envInfo.isGit,
442216
442221
  terminal: env4.terminal,
442217
- version: "0.7.9",
442222
+ version: "0.7.11",
442218
442223
  transcript: normalizeMessagesForAPI(messages),
442219
442224
  errors: sanitizedErrors,
442220
442225
  lastApiRequest: getLastAPIRequest(),
@@ -442406,7 +442411,7 @@ function Feedback({
442406
442411
  ", ",
442407
442412
  env4.terminal,
442408
442413
  ", v",
442409
- "0.7.9"
442414
+ "0.7.11"
442410
442415
  ]
442411
442416
  }, undefined, true, undefined, this)
442412
442417
  ]
@@ -442512,7 +442517,7 @@ ${sanitizedDescription}
442512
442517
  ` + `**Environment Info**
442513
442518
  ` + `- Platform: ${env4.platform}
442514
442519
  ` + `- Terminal: ${env4.terminal}
442515
- ` + `- Version: ${"0.7.9"}
442520
+ ` + `- Version: ${"0.7.11"}
442516
442521
  ` + `- Feedback ID: ${feedbackId}
442517
442522
  ` + `
442518
442523
  **Errors**
@@ -445612,7 +445617,7 @@ function buildPrimarySection() {
445612
445617
  }, undefined, false, undefined, this);
445613
445618
  return [{
445614
445619
  label: "Version",
445615
- value: "0.7.9"
445620
+ value: "0.7.11"
445616
445621
  }, {
445617
445622
  label: "Session name",
445618
445623
  value: nameValue
@@ -449363,7 +449368,7 @@ function Config({
449363
449368
  }
449364
449369
  }, undefined, false, undefined, this)
449365
449370
  }, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
449366
- currentVersion: "0.7.9",
449371
+ currentVersion: "0.7.11",
449367
449372
  onChoice: (choice) => {
449368
449373
  setShowSubmenu(null);
449369
449374
  setTabsHidden(false);
@@ -449375,7 +449380,7 @@ function Config({
449375
449380
  autoUpdatesChannel: "stable"
449376
449381
  };
449377
449382
  if (choice === "stay") {
449378
- newSettings.minimumVersion = "0.7.9";
449383
+ newSettings.minimumVersion = "0.7.11";
449379
449384
  }
449380
449385
  updateSettingsForSource("userSettings", newSettings);
449381
449386
  setSettingsData((prev_27) => ({
@@ -457376,7 +457381,7 @@ function HelpV2(t0) {
457376
457381
  let t6;
457377
457382
  if ($3[31] !== tabs) {
457378
457383
  t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
457379
- title: `Cody CLI v${"0.7.9"}`,
457384
+ title: `Cody CLI v${"0.7.11"}`,
457380
457385
  color: "professionalBlue",
457381
457386
  defaultTab: "general",
457382
457387
  children: tabs
@@ -458415,7 +458420,7 @@ var init_ide3 = __esm(() => {
458415
458420
  });
458416
458421
 
458417
458422
  // src/commands/init.ts
458418
- var OLD_INIT_PROMPT = `Please analyze this codebase and create a CLAUDE.md file, which will be given to future instances of Claude Code to operate in this repository.
458423
+ var OLD_INIT_PROMPT = `Please analyze this codebase and create a CODY.md file, which will be given to future instances of Cody CLI to operate in this repository.
458419
458424
 
458420
458425
  What to add:
458421
458426
  1. Commands that will be commonly used, such as how to build, lint, and run tests. Include the necessary commands to develop in this codebase, such as how to run a single test.
@@ -458443,7 +458448,7 @@ var init_init = __esm(() => {
458443
458448
  type: "prompt",
458444
458449
  name: "init",
458445
458450
  get description() {
458446
- return "Initialize a new CLAUDE.md file with codebase documentation";
458451
+ return "Initialize a new CODY.md file with codebase documentation";
458447
458452
  },
458448
458453
  contentLength: 0,
458449
458454
  progressMessage: "analyzing your codebase",
@@ -481566,7 +481571,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
481566
481571
  return [];
481567
481572
  }
481568
481573
  }
481569
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.9") {
481574
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.11") {
481570
481575
  if (false) {}
481571
481576
  const cachedChangelog = await getStoredChangelog();
481572
481577
  if (lastSeenVersion !== currentVersion || !cachedChangelog) {
@@ -481579,7 +481584,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.9") {
481579
481584
  releaseNotes
481580
481585
  };
481581
481586
  }
481582
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.9") {
481587
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.11") {
481583
481588
  if (false) {}
481584
481589
  const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
481585
481590
  return {
@@ -482735,7 +482740,7 @@ function getRecentActivitySync() {
482735
482740
  return cachedActivity;
482736
482741
  }
482737
482742
  function getLogoDisplayData() {
482738
- const version6 = process.env.DEMO_VERSION ?? "0.7.9";
482743
+ const version6 = process.env.DEMO_VERSION ?? "0.7.11";
482739
482744
  const serverUrl = getDirectConnectServerUrl();
482740
482745
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
482741
482746
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -483015,27 +483020,32 @@ function AppleTerminalClawd(t0) {
483015
483020
  t5 = $3[5];
483016
483021
  }
483017
483022
  let t6;
483018
- let t7;
483019
483023
  if ($3[6] === Symbol.for("react.memo_cache_sentinel")) {
483020
483024
  t6 = /* @__PURE__ */ jsx_dev_runtime246.jsxDEV(ThemedText, {
483021
- backgroundColor: "clawd_body",
483022
- children: " ".repeat(7)
483025
+ children: " "
483023
483026
  }, undefined, false, undefined, this);
483027
+ $3[6] = t6;
483028
+ } else {
483029
+ t6 = $3[6];
483030
+ }
483031
+ let t7;
483032
+ if ($3[7] === Symbol.for("react.memo_cache_sentinel")) {
483024
483033
  t7 = /* @__PURE__ */ jsx_dev_runtime246.jsxDEV(ThemedText, {
483025
483034
  color: "clawd_body",
483026
- children: "▘▘ ▝▝"
483027
- }, undefined, false, undefined, this);
483028
- $3[6] = t6;
483035
+ children: [
483036
+ " ",
483037
+ "▘▘ ▝▝",
483038
+ " "
483039
+ ]
483040
+ }, undefined, true, undefined, this);
483029
483041
  $3[7] = t7;
483030
483042
  } else {
483031
- t6 = $3[6];
483032
483043
  t7 = $3[7];
483033
483044
  }
483034
483045
  let t8;
483035
483046
  if ($3[8] !== t5) {
483036
483047
  t8 = /* @__PURE__ */ jsx_dev_runtime246.jsxDEV(ThemedBox_default, {
483037
483048
  flexDirection: "column",
483038
- alignItems: "center",
483039
483049
  children: [
483040
483050
  t5,
483041
483051
  t6,
@@ -484245,7 +484255,7 @@ function LogoV2() {
484245
484255
  if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
484246
484256
  t2 = () => {
484247
484257
  const currentConfig = getGlobalConfig();
484248
- if (currentConfig.lastReleaseNotesSeen === "0.7.9") {
484258
+ if (currentConfig.lastReleaseNotesSeen === "0.7.11") {
484249
484259
  return;
484250
484260
  }
484251
484261
  saveGlobalConfig(_temp329);
@@ -484921,12 +484931,12 @@ function LogoV2() {
484921
484931
  return t41;
484922
484932
  }
484923
484933
  function _temp329(current) {
484924
- if (current.lastReleaseNotesSeen === "0.7.9") {
484934
+ if (current.lastReleaseNotesSeen === "0.7.11") {
484925
484935
  return current;
484926
484936
  }
484927
484937
  return {
484928
484938
  ...current,
484929
- lastReleaseNotesSeen: "0.7.9"
484939
+ lastReleaseNotesSeen: "0.7.11"
484930
484940
  };
484931
484941
  }
484932
484942
  function _temp245(s_0) {
@@ -511264,7 +511274,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
511264
511274
  smapsRollup,
511265
511275
  platform: process.platform,
511266
511276
  nodeVersion: process.version,
511267
- ccVersion: "0.7.9"
511277
+ ccVersion: "0.7.11"
511268
511278
  };
511269
511279
  }
511270
511280
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -511792,7 +511802,7 @@ var init_bridge_kick = __esm(() => {
511792
511802
  var call56 = async () => {
511793
511803
  return {
511794
511804
  type: "text",
511795
- value: `${"0.7.9"} (built ${"1775372423"})`
511805
+ value: `${"0.7.11"} (built ${"1775372855"})`
511796
511806
  };
511797
511807
  }, version6, version_default;
511798
511808
  var init_version = __esm(() => {
@@ -520739,7 +520749,7 @@ function generateHtmlReport(data, insights) {
520739
520749
  </html>`;
520740
520750
  }
520741
520751
  function buildExportData(data, insights, facets, remoteStats) {
520742
- const version7 = typeof MACRO !== "undefined" ? "0.7.9" : "unknown";
520752
+ const version7 = typeof MACRO !== "undefined" ? "0.7.11" : "unknown";
520743
520753
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
520744
520754
  const facets_summary = {
520745
520755
  total: facets.size,
@@ -524685,7 +524695,7 @@ var init_sessionStorage = __esm(() => {
524685
524695
  init_settings2();
524686
524696
  init_slowOperations();
524687
524697
  init_uuid();
524688
- VERSION5 = typeof MACRO !== "undefined" ? "0.7.9" : "unknown";
524698
+ VERSION5 = typeof MACRO !== "undefined" ? "0.7.11" : "unknown";
524689
524699
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
524690
524700
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
524691
524701
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -525890,7 +525900,7 @@ var init_filesystem = __esm(() => {
525890
525900
  });
525891
525901
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
525892
525902
  const nonce = randomBytes19(16).toString("hex");
525893
- return join132(getClaudeTempDir(), "bundled-skills", "0.7.9", nonce);
525903
+ return join132(getClaudeTempDir(), "bundled-skills", "0.7.11", nonce);
525894
525904
  });
525895
525905
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
525896
525906
  });
@@ -531862,7 +531872,7 @@ function computeFingerprint(messageText, version7) {
531862
531872
  }
531863
531873
  function computeFingerprintFromMessages(messages) {
531864
531874
  const firstMessageText = extractFirstMessageText(messages);
531865
- return computeFingerprint(firstMessageText, "0.7.9");
531875
+ return computeFingerprint(firstMessageText, "0.7.11");
531866
531876
  }
531867
531877
  var FINGERPRINT_SALT = "59cf53e54c78";
531868
531878
  var init_fingerprint = () => {};
@@ -533776,7 +533786,7 @@ async function sideQuery(opts) {
533776
533786
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
533777
533787
  }
533778
533788
  const messageText = extractFirstUserMessageText(messages);
533779
- const fingerprint = computeFingerprint(messageText, "0.7.9");
533789
+ const fingerprint = computeFingerprint(messageText, "0.7.11");
533780
533790
  const attributionHeader = getAttributionHeader(fingerprint);
533781
533791
  const systemBlocks = [
533782
533792
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -538300,7 +538310,7 @@ function buildSystemInitMessage(inputs) {
538300
538310
  slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
538301
538311
  apiKeySource: getAnthropicApiKeyWithSource().source,
538302
538312
  betas: getSdkBetas(),
538303
- claude_code_version: "0.7.9",
538313
+ claude_code_version: "0.7.11",
538304
538314
  output_style: outputStyle2,
538305
538315
  agents: inputs.agents.map((agent) => agent.agentType),
538306
538316
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -552852,7 +552862,7 @@ var init_useVoiceEnabled = __esm(() => {
552852
552862
  function getSemverPart(version7) {
552853
552863
  return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
552854
552864
  }
552855
- function useUpdateNotification(updatedVersion, initialVersion = "0.7.9") {
552865
+ function useUpdateNotification(updatedVersion, initialVersion = "0.7.11") {
552856
552866
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
552857
552867
  if (!updatedVersion) {
552858
552868
  return null;
@@ -552892,7 +552902,7 @@ function AutoUpdater({
552892
552902
  return;
552893
552903
  }
552894
552904
  if (false) {}
552895
- const currentVersion = "0.7.9";
552905
+ const currentVersion = "0.7.11";
552896
552906
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
552897
552907
  let latestVersion = await getLatestVersion(channel);
552898
552908
  const isDisabled = isAutoUpdaterDisabled();
@@ -553105,12 +553115,12 @@ function NativeAutoUpdater({
553105
553115
  logEvent("tengu_native_auto_updater_start", {});
553106
553116
  try {
553107
553117
  const maxVersion = await getMaxVersion();
553108
- if (maxVersion && gt("0.7.9", maxVersion)) {
553118
+ if (maxVersion && gt("0.7.11", maxVersion)) {
553109
553119
  const msg = await getMaxVersionMessage();
553110
553120
  setMaxVersionIssue(msg ?? "affects your version");
553111
553121
  }
553112
553122
  const result = await installLatest(channel);
553113
- const currentVersion = "0.7.9";
553123
+ const currentVersion = "0.7.11";
553114
553124
  const latencyMs = Date.now() - startTime;
553115
553125
  if (result.lockFailed) {
553116
553126
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -553247,17 +553257,17 @@ function PackageManagerAutoUpdater(t0) {
553247
553257
  const maxVersion = await getMaxVersion();
553248
553258
  if (maxVersion && latest && gt(latest, maxVersion)) {
553249
553259
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
553250
- if (gte("0.7.9", maxVersion)) {
553251
- logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
553260
+ if (gte("0.7.11", maxVersion)) {
553261
+ logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.11"} is already at or above maxVersion ${maxVersion}, skipping update`);
553252
553262
  setUpdateAvailable(false);
553253
553263
  return;
553254
553264
  }
553255
553265
  latest = maxVersion;
553256
553266
  }
553257
- const hasUpdate = latest && !gte("0.7.9", latest) && !shouldSkipVersion(latest);
553267
+ const hasUpdate = latest && !gte("0.7.11", latest) && !shouldSkipVersion(latest);
553258
553268
  setUpdateAvailable(!!hasUpdate);
553259
553269
  if (hasUpdate) {
553260
- logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.9"} -> ${latest}`);
553270
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.11"} -> ${latest}`);
553261
553271
  }
553262
553272
  };
553263
553273
  $3[0] = t1;
@@ -553291,7 +553301,7 @@ function PackageManagerAutoUpdater(t0) {
553291
553301
  wrap: "truncate",
553292
553302
  children: [
553293
553303
  "currentVersion: ",
553294
- "0.7.9"
553304
+ "0.7.11"
553295
553305
  ]
553296
553306
  }, undefined, true, undefined, this);
553297
553307
  $3[3] = verbose;
@@ -561401,7 +561411,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
561401
561411
  project_dir: getOriginalCwd(),
561402
561412
  added_dirs: addedDirs
561403
561413
  },
561404
- version: "0.7.9",
561414
+ version: "0.7.11",
561405
561415
  output_style: {
561406
561416
  name: outputStyleName
561407
561417
  },
@@ -572775,7 +572785,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
572775
572785
  } catch {}
572776
572786
  const data = {
572777
572787
  trigger,
572778
- version: "0.7.9",
572788
+ version: "0.7.11",
572779
572789
  platform: process.platform,
572780
572790
  transcript,
572781
572791
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -584742,7 +584752,7 @@ function WelcomeV2() {
584742
584752
  dimColor: true,
584743
584753
  children: [
584744
584754
  "v",
584745
- "0.7.9",
584755
+ "0.7.11",
584746
584756
  " "
584747
584757
  ]
584748
584758
  }, undefined, true, undefined, this)
@@ -584942,7 +584952,7 @@ function WelcomeV2() {
584942
584952
  dimColor: true,
584943
584953
  children: [
584944
584954
  "v",
584945
- "0.7.9",
584955
+ "0.7.11",
584946
584956
  " "
584947
584957
  ]
584948
584958
  }, undefined, true, undefined, this)
@@ -585168,7 +585178,7 @@ function AppleTerminalWelcomeV2(t0) {
585168
585178
  dimColor: true,
585169
585179
  children: [
585170
585180
  "v",
585171
- "0.7.9",
585181
+ "0.7.11",
585172
585182
  " "
585173
585183
  ]
585174
585184
  }, undefined, true, undefined, this);
@@ -585422,7 +585432,7 @@ function AppleTerminalWelcomeV2(t0) {
585422
585432
  dimColor: true,
585423
585433
  children: [
585424
585434
  "v",
585425
- "0.7.9",
585435
+ "0.7.11",
585426
585436
  " "
585427
585437
  ]
585428
585438
  }, undefined, true, undefined, this);
@@ -586926,7 +586936,7 @@ function completeOnboarding() {
586926
586936
  saveGlobalConfig((current) => ({
586927
586937
  ...current,
586928
586938
  hasCompletedOnboarding: true,
586929
- lastOnboardingVersion: "0.7.9"
586939
+ lastOnboardingVersion: "0.7.11"
586930
586940
  }));
586931
586941
  }
586932
586942
  function showDialog(root2, renderer) {
@@ -591404,7 +591414,7 @@ function appendToLog(path28, message) {
591404
591414
  cwd: getFsImplementation().cwd(),
591405
591415
  userType: "external",
591406
591416
  sessionId: getSessionId(),
591407
- version: "0.7.9"
591417
+ version: "0.7.11"
591408
591418
  };
591409
591419
  getLogWriter(path28).write(messageWithTimestamp);
591410
591420
  }
@@ -595363,8 +595373,8 @@ async function getEnvLessBridgeConfig() {
595363
595373
  }
595364
595374
  async function checkEnvLessBridgeMinVersion() {
595365
595375
  const cfg = await getEnvLessBridgeConfig();
595366
- if (cfg.min_version && lt("0.7.9", cfg.min_version)) {
595367
- return `Your version of Cody CLI (${"0.7.9"}) is too old for Remote Control.
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.
595368
595378
  Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
595369
595379
  }
595370
595380
  return null;
@@ -595838,7 +595848,7 @@ async function initBridgeCore(params) {
595838
595848
  const rawApi = createBridgeApiClient({
595839
595849
  baseUrl,
595840
595850
  getAccessToken,
595841
- runnerVersion: "0.7.9",
595851
+ runnerVersion: "0.7.11",
595842
595852
  onDebug: logForDebugging,
595843
595853
  onAuth401,
595844
595854
  getTrustedDeviceToken
@@ -601475,7 +601485,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
601475
601485
  setCwd(cwd3);
601476
601486
  const server = new Server({
601477
601487
  name: "claude/tengu",
601478
- version: "0.7.9"
601488
+ version: "0.7.11"
601479
601489
  }, {
601480
601490
  capabilities: {
601481
601491
  tools: {}
@@ -603086,7 +603096,7 @@ __export(exports_update, {
603086
603096
  });
603087
603097
  async function update() {
603088
603098
  logEvent("tengu_update_check", {});
603089
- writeToStdout(`Current version: ${"0.7.9"}
603099
+ writeToStdout(`Current version: ${"0.7.11"}
603090
603100
  `);
603091
603101
  const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
603092
603102
  writeToStdout(`Checking for updates to ${channel} version...
@@ -603161,8 +603171,8 @@ async function update() {
603161
603171
  writeToStdout(`Cody CLI is managed by Homebrew.
603162
603172
  `);
603163
603173
  const latest = await getLatestVersion(channel);
603164
- if (latest && !gte("0.7.9", latest)) {
603165
- writeToStdout(`Update available: ${"0.7.9"} → ${latest}
603174
+ if (latest && !gte("0.7.11", latest)) {
603175
+ writeToStdout(`Update available: ${"0.7.11"} → ${latest}
603166
603176
  `);
603167
603177
  writeToStdout(`
603168
603178
  `);
@@ -603178,8 +603188,8 @@ async function update() {
603178
603188
  writeToStdout(`Cody CLI is managed by winget.
603179
603189
  `);
603180
603190
  const latest = await getLatestVersion(channel);
603181
- if (latest && !gte("0.7.9", latest)) {
603182
- writeToStdout(`Update available: ${"0.7.9"} → ${latest}
603191
+ if (latest && !gte("0.7.11", latest)) {
603192
+ writeToStdout(`Update available: ${"0.7.11"} → ${latest}
603183
603193
  `);
603184
603194
  writeToStdout(`
603185
603195
  `);
@@ -603195,8 +603205,8 @@ async function update() {
603195
603205
  writeToStdout(`Cody CLI is managed by apk.
603196
603206
  `);
603197
603207
  const latest = await getLatestVersion(channel);
603198
- if (latest && !gte("0.7.9", latest)) {
603199
- writeToStdout(`Update available: ${"0.7.9"} → ${latest}
603208
+ if (latest && !gte("0.7.11", latest)) {
603209
+ writeToStdout(`Update available: ${"0.7.11"} → ${latest}
603200
603210
  `);
603201
603211
  writeToStdout(`
603202
603212
  `);
@@ -603261,11 +603271,11 @@ async function update() {
603261
603271
  `);
603262
603272
  await gracefulShutdown(1);
603263
603273
  }
603264
- if (result.latestVersion === "0.7.9") {
603265
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.9"})`) + `
603274
+ if (result.latestVersion === "0.7.11") {
603275
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.11"})`) + `
603266
603276
  `);
603267
603277
  } else {
603268
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.9"} to version ${result.latestVersion}`) + `
603278
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.11"} to version ${result.latestVersion}`) + `
603269
603279
  `);
603270
603280
  await regenerateCompletionCache();
603271
603281
  }
@@ -603325,12 +603335,12 @@ async function update() {
603325
603335
  `);
603326
603336
  await gracefulShutdown(1);
603327
603337
  }
603328
- if (latestVersion === "0.7.9") {
603329
- writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.9"})`) + `
603338
+ if (latestVersion === "0.7.11") {
603339
+ writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.11"})`) + `
603330
603340
  `);
603331
603341
  await gracefulShutdown(0);
603332
603342
  }
603333
- writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.9"})
603343
+ writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.11"})
603334
603344
  `);
603335
603345
  writeToStdout(`Installing update...
603336
603346
  `);
@@ -603375,7 +603385,7 @@ async function update() {
603375
603385
  logForDebugging(`update: Installation status: ${status2}`);
603376
603386
  switch (status2) {
603377
603387
  case "success":
603378
- writeToStdout(source_default.green(`Successfully updated from ${"0.7.9"} to version ${latestVersion}`) + `
603388
+ writeToStdout(source_default.green(`Successfully updated from ${"0.7.11"} to version ${latestVersion}`) + `
603379
603389
  `);
603380
603390
  await regenerateCompletionCache();
603381
603391
  break;
@@ -604619,7 +604629,7 @@ ${customInstructions}` : customInstructions;
604619
604629
  }
604620
604630
  }
604621
604631
  logForDiagnosticsNoPII("info", "started", {
604622
- version: "0.7.9",
604632
+ version: "0.7.11",
604623
604633
  is_native_binary: isInBundledMode()
604624
604634
  });
604625
604635
  registerCleanup(async () => {
@@ -605387,7 +605397,7 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605387
605397
  } else {
605388
605398
  const pendingHookMessages = hooksPromise && hookMessages.length === 0 ? hooksPromise : undefined;
605389
605399
  profileCheckpoint("action_after_hooks");
605390
- console.log(getWelcomeMessage("0.7.9"));
605400
+ console.log(getWelcomeMessage("0.7.11"));
605391
605401
  maybeActivateProactive(options);
605392
605402
  maybeActivateBrief(options);
605393
605403
  if (false) {}
@@ -605404,10 +605414,10 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
605404
605414
  pendingHookMessages
605405
605415
  }, renderAndRun);
605406
605416
  }
605407
- }).version("0.7.9 (Cody CLI)", "-v, --version", "Output the version number");
605417
+ }).version("0.7.11 (Cody CLI)", "-v, --version", "Output the version number");
605408
605418
  program2.configureOutput({
605409
605419
  writeOut: (str2) => {
605410
- if (str2.includes("0.7.9")) {
605420
+ if (str2.includes("0.7.11")) {
605411
605421
  process.stdout.write(getCodyLogo() + `
605412
605422
  ` + str2);
605413
605423
  } else {
@@ -605949,7 +605959,7 @@ async function main2() {
605949
605959
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
605950
605960
  const { getCodyLogo: getCodyLogo2 } = await Promise.resolve().then(() => (init_branding(), exports_branding));
605951
605961
  console.log(getCodyLogo2() + `
605952
- 0.7.9 (Cody CLI)`);
605962
+ 0.7.11 (Cody CLI)`);
605953
605963
  return;
605954
605964
  }
605955
605965
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainative/cody-cli",
3
- "version": "0.7.9",
3
+ "version": "0.7.11",
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",