@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 +1 -1
- package/THIRD_PARTY_NOTICES.txt +4 -0
- package/app/codexhost-distribution.json +1 -1
- package/app/desktop-controller.mjs +18 -14
- package/app/host-runtime.mjs +665 -356
- package/app/plugins/antigravity/plugin.mjs +45 -198
- package/app/plugins/claude-code/plugin.mjs +223 -49
- package/app/plugins/codebuddy/assets/icon.svg +1 -0
- package/app/plugins/codebuddy/manifest.json +13 -0
- package/app/plugins/codebuddy/plugin.mjs +23045 -0
- package/app/plugins/cursor-cli/assets/icon.svg +1 -0
- package/app/plugins/cursor-cli/manifest.json +13 -0
- package/app/plugins/cursor-cli/plugin.mjs +22579 -0
- package/app/plugins/enabled.json +3 -1
- package/app/plugins/pi/plugin.mjs +0 -12
- package/app/renderer-extension.js +212 -62
- package/bin/codexhost.exe +0 -0
- package/libexec/codexhost-node-repl.exe +0 -0
- package/libexec/codexhost-shim.exe +0 -0
- package/libexec/codexhost-updater.exe +0 -0
- package/licenses/Agent-Client-Protocol-SDK-LICENSE.txt +191 -0
- package/package.json +1 -1
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.
|
|
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`.
|
package/THIRD_PARTY_NOTICES.txt
CHANGED
|
@@ -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.
|
|
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
|
|
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
|
},
|