@codexhost/cli-win32-arm64 0.3.3 → 0.3.5

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.3.3
10
+ npm install -g @codexhost/cli@0.3.5
11
11
  ```
12
12
 
13
13
  Do not install this package directly. npm selects it through the optional dependencies of `@codexhost/cli`.
@@ -1 +1 @@
1
- {"schemaVersion":1,"version":"0.3.3","distribution":"npm","target":"windows-arm64"}
1
+ {"schemaVersion":1,"version":"0.3.5","distribution":"npm","target":"windows-arm64"}
@@ -55,14 +55,6 @@ async function startControllerAttachmentServer(options) {
55
55
  );
56
56
  return;
57
57
  }
58
- if (line === `COMPATIBILITY_UPDATE ${options.nonce}`) {
59
- socket.setTimeout(2e4);
60
- void options.compatibilityUpdate().then(
61
- (outcome) => respond(socket, outcome),
62
- () => respond(socket, "failed")
63
- );
64
- return;
65
- }
66
58
  respond(socket, "rejected");
67
59
  });
68
60
  });
@@ -1524,15 +1516,6 @@ var InstalledRendererControlSession = class {
1524
1516
  if (this.#closed) return Promise.reject(new Error("Renderer Control Session is closed"));
1525
1517
  return activateElectronDesktop(this.inspector);
1526
1518
  }
1527
- async requestCompatibilityUpdate() {
1528
- const value = await this.executeRenderer(
1529
- "window.__codexhostRendererBindingProbeV1?.requestCompatibilityUpdate?.() ?? 'unavailable'"
1530
- );
1531
- if (value !== "update-started" && value !== "current" && value !== "unavailable") {
1532
- throw new Error("Renderer returned an invalid compatibility update outcome");
1533
- }
1534
- return value;
1535
- }
1536
1519
  executeRenderer(expression) {
1537
1520
  if (this.#closed) return Promise.reject(new Error("Renderer Control Session is closed"));
1538
1521
  return this.operations.execute(
@@ -1657,21 +1640,8 @@ function startupTrace2(stage, detail) {
1657
1640
  `[codexhost startup +${Date.now() - startupTraceStartedAt2}ms] controller: ${stage}${suffix}`
1658
1641
  );
1659
1642
  }
1660
- function validCompatibilityIssue(state, issue) {
1661
- const keys = Object.keys(issue);
1662
- if (state === "degraded") {
1663
- return [
1664
- "permission-control",
1665
- "sidebar-decoration",
1666
- "fork-control",
1667
- "usage-surface",
1668
- "settings-surface"
1669
- ].includes(issue.capability) && issue.reason === "capability-unavailable" && keys.length === 2;
1670
- }
1671
- return false;
1672
- }
1673
1643
  function serializeDesktopControllerReadiness(readiness) {
1674
- if (readiness.schemaVersion !== 2 || !["compatible", "degraded"].includes(readiness.state) || !Array.isArray(readiness.issues) || readiness.issues.length > 1 || readiness.state === "compatible" && readiness.issues.length !== 0 || readiness.state !== "compatible" && (readiness.issues.length !== 1 || !readiness.issues[0] || !validCompatibilityIssue(readiness.state, readiness.issues[0])) || Object.keys(readiness).length !== 3) {
1644
+ if (readiness.schemaVersion !== 2 || readiness.state !== "compatible" || !Array.isArray(readiness.issues) || readiness.issues.length !== 0 || Object.keys(readiness).length !== 3) {
1675
1645
  throw new Error("Desktop Controller readiness is invalid");
1676
1646
  }
1677
1647
  const line = JSON.stringify(readiness);
@@ -1818,7 +1788,7 @@ async function runDesktopController(options, signal, dependencies = defaultDepen
1818
1788
  inspectorEndpoint: options.inspectorEndpoint,
1819
1789
  rendererSource: `${configuration}
1820
1790
  ${rendererSource}`,
1821
- enabledAgents: ["codex", "pi", "claude-code", "deepseek-harness", "grok"],
1791
+ enabledAgents: ["codex", "pi", "claude-code", "deepseek-harness", "grok", "omp"],
1822
1792
  timeoutMs: PRODUCTION_INSTALL_TIMEOUT_MS
1823
1793
  },
1824
1794
  dependencies
@@ -1873,10 +1843,6 @@ ${rendererSource}`,
1873
1843
  attach: () => useSession(async () => {
1874
1844
  const current = await recoverSession();
1875
1845
  await current.activateDesktop();
1876
- }),
1877
- compatibilityUpdate: () => useSession(async () => {
1878
- const current = await recoverSession();
1879
- return current.requestCompatibilityUpdate();
1880
1846
  })
1881
1847
  });
1882
1848
  startupTrace2("attachment server ready");