@codexhost/cli-win32-arm64 0.6.2 → 0.7.1

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.
package/README.md CHANGED
@@ -7,7 +7,7 @@ Run Pi and Claude Code as first-class external harnesses inside Codex Desktop.
7
7
  ## Install
8
8
 
9
9
  ```bash
10
- npm install -g @codexhost/cli@0.6.2
10
+ npm install -g @codexhost/cli@0.7.1
11
11
  ```
12
12
 
13
13
  Do not install this package directly. npm selects it through the optional dependencies of `@codexhost/cli`.
@@ -1,5 +1,9 @@
1
1
  codexhost npm package third-party notices
2
2
 
3
+ @agentclientprotocol/sdk 1.3.0
4
+ License: Apache-2.0
5
+ License text: licenses/Agent-Client-Protocol-SDK-LICENSE.txt
6
+
3
7
  @anthropic-ai/claude-agent-sdk 0.3.220
4
8
  License: SEE LICENSE IN README.md
5
9
  License text: licenses/Claude-Agent-SDK-LICENSE.md
@@ -1 +1 @@
1
- {"schemaVersion":1,"version":"0.6.2","distribution":"npm","target":"windows-arm64"}
1
+ {"schemaVersion":1,"version":"0.7.1","distribution":"npm","target":"windows-arm64"}
@@ -808,10 +808,23 @@ function selectRendererRequestManager(candidates, activeHostIds) {
808
808
  );
809
809
  return eligible.length === 1 ? eligible[0] ?? null : null;
810
810
  }
811
+ function requestManagerFromHookState(value) {
812
+ const matchesRequestManager = (candidate) => {
813
+ if (candidate == null || typeof candidate !== "object") return false;
814
+ const value2 = candidate;
815
+ return value2.requestClient != null && typeof value2.requestClient.prewarmThreadStart === "function" && typeof value2.requestClient.sendRequest === "function" && typeof value2.requestClient.enqueueRequest === "function" && typeof value2.prewarmedThreadManager?.discardAllPrewarmedThreads === "function" && typeof value2.sendRequest === "function";
816
+ };
817
+ if (matchesRequestManager(value)) return value;
818
+ if (value != null && typeof value === "object" && matchesRequestManager(value.manager)) {
819
+ return value.manager;
820
+ }
821
+ return null;
822
+ }
811
823
  function isRecord2(value) {
812
824
  return typeof value === "object" && value !== null && !Array.isArray(value);
813
825
  }
814
826
  var FIND_REQUEST_MANAGER_EXPRESSION = `(() => {
827
+ const requestManagerFromHookState = ${requestManagerFromHookState.toString()};
815
828
  const editors = [...document.querySelectorAll(
816
829
  '[data-codex-composer], [contenteditable="true"][role="textbox"]',
817
830
  )];
@@ -839,19 +852,8 @@ var FIND_REQUEST_MANAGER_EXPRESSION = `(() => {
839
852
  }
840
853
  let hook = fiber.memoizedState;
841
854
  for (let index = 0; hook != null && index < 120; index += 1, hook = hook.next) {
842
- const value = hook.memoizedState;
843
- if (
844
- value != null &&
845
- typeof value === 'object' &&
846
- value.requestClient != null &&
847
- typeof value.requestClient.prewarmThreadStart === 'function' &&
848
- typeof value.requestClient.sendRequest === 'function' &&
849
- typeof value.requestClient.enqueueRequest === 'function' &&
850
- typeof value.prewarmedThreadManager?.discardAllPrewarmedThreads === 'function' &&
851
- typeof value.sendRequest === 'function'
852
- ) {
853
- managers.add(value);
854
- }
855
+ const manager = requestManagerFromHookState(hook.memoizedState);
856
+ if (manager != null) managers.add(manager);
855
857
  }
856
858
  }
857
859
  const candidates = [...managers].map((manager) => {
@@ -1353,7 +1355,9 @@ ${rendererSource}`,
1353
1355
  "grok",
1354
1356
  "omp",
1355
1357
  "antigravity",
1356
- "kiro-cli"
1358
+ "kiro-cli",
1359
+ "codebuddy",
1360
+ "cursor-cli"
1357
1361
  ],
1358
1362
  timeoutMs: PRODUCTION_INSTALL_TIMEOUT_MS
1359
1363
  },