@karlorz/codexhost-cli-linux-x64 0.14.0-1 → 0.14.0-2

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 @karlorz/codexhost-cli@0.14.0-1
10
+ npm install -g @karlorz/codexhost-cli@0.14.0-2
11
11
  ```
12
12
 
13
13
  Do not install this package directly. npm selects it through the optional dependencies of `@karlorz/codexhost-cli`.
@@ -1 +1 @@
1
- {"schemaVersion":1,"version":"0.14.0-1","distribution":"npm","target":"linux-x64"}
1
+ {"schemaVersion":1,"version":"0.14.0-2","distribution":"npm","target":"linux-x64"}
@@ -16405,11 +16405,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16405
16405
  function visibleWorkComposer(owner) {
16406
16406
  const document = owner.document;
16407
16407
  if (!document?.querySelectorAll) return false;
16408
- const work = [...document.querySelectorAll("[data-codex-composer-root]")].some((element) => {
16408
+ const visible = (element) => {
16409
16409
  const box = element.getBoundingClientRect?.() ?? { width: 0 };
16410
16410
  return box.width > 0 && !element.closest?.("[hidden], [inert]");
16411
- });
16412
- return work && document.querySelectorAll("[data-chatgpt-composer]").length === 0;
16411
+ };
16412
+ return [...document.querySelectorAll("[data-codex-composer-root]")].some(visible) && ![...document.querySelectorAll("[data-chatgpt-composer]")].some(visible);
16413
16413
  }
16414
16414
  function selectedWorkTab(owner) {
16415
16415
  const document = owner.document;
@@ -17517,11 +17517,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17517
17517
  function visibleWorkComposer(owner) {
17518
17518
  const document2 = owner.document;
17519
17519
  if (!document2?.querySelectorAll) return false;
17520
- const work = [...document2.querySelectorAll("[data-codex-composer-root]")].some((element) => {
17520
+ const visible = (element) => {
17521
17521
  const box = element.getBoundingClientRect?.() ?? { width: 0 };
17522
17522
  return box.width > 0 && !element.closest?.("[hidden], [inert]");
17523
- });
17524
- return work && document2.querySelectorAll("[data-chatgpt-composer]").length === 0;
17523
+ };
17524
+ return [...document2.querySelectorAll("[data-codex-composer-root]")].some(visible) && ![...document2.querySelectorAll("[data-chatgpt-composer]")].some(visible);
17525
17525
  }
17526
17526
  function selectedWorkTab(owner) {
17527
17527
  const document2 = owner.document;
package/bin/codexhost CHANGED
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karlorz/codexhost-cli-linux-x64",
3
- "version": "0.14.0-1",
3
+ "version": "0.14.0-2",
4
4
  "description": "Run Pi and Claude Code as first-class external harnesses inside Codex Desktop.",
5
5
  "type": "module",
6
6
  "files": [