byob-cli 0.2.12 → 0.2.14

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "byob-cli",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "description": "Codex connector for BYOB projects, backed by Agent MCP with project context, deployment helpers, and coding tools.",
5
5
  "skills": "./skills/byob_cli/",
6
6
  "mcpServers": "./.mcp.json"
package/README.md CHANGED
@@ -30,7 +30,7 @@ Refresh synced coding skills later without rerunning OAuth or changing MCP confi
30
30
  npx -y byob-cli codex sync-skills --project-id <project_id> --token <agent_access_token>
31
31
  ```
32
32
 
33
- For Local Codex billed project editing, the BYOB Agent MCP returns a workspace handle that the Codex host opens as the active Codex workspace. The host uses `codex ssh-proxy` behind that handle:
33
+ For Local Codex billed project editing, the BYOB Agent MCP returns a workspace handle that the Codex host opens as the active Codex workspace. The native handoff uses Codex's `CODEX_EXEC_SERVER_URL` remote execution support; `codex ssh-proxy` remains the fallback transport:
34
34
 
35
35
  ```bash
36
36
  npx -y byob-cli@latest codex ssh-proxy '{"ssh_endpoint":"wss://..."}'
@@ -207,7 +207,7 @@ When a user chooses **Local Codex billed**, open the BYOB project as the active
207
207
 
208
208
  1. Call `byob_codex_status` for the selected project.
209
209
  2. If `Local Codex billed` is available, call `byob_codex_connection_create` with `mode: "local_codex_billed"`.
210
- 3. Hand the returned `workspace_handle` to the Codex host so `/home/workspace/app_data` becomes the active workspace.
210
+ 3. Hand the returned `workspace_handle` to the Codex host so `/home/workspace/app_data` becomes the active workspace with `CODEX_EXEC_SERVER_URL` set from MCP `_meta`.
211
211
  4. Keep tokens, private keys, and complete proxy commands out of chat.
212
212
  5. Use Codex's normal file, shell, and git workflow inside that active workspace.
213
213
 
package/bin/byob.js CHANGED
@@ -41,7 +41,7 @@ Usage:
41
41
  byob config
42
42
  byob codex install
43
43
  byob codex sync-skills
44
- byob codex ssh-proxy [json_args]
44
+ byob codex ssh-proxy [json_args] # fallback transport only
45
45
 
46
46
  Options:
47
47
  --air-url <url> Default: BYOB_AIR_URL or https://air.api.byob.studio
@@ -71,11 +71,12 @@ Usage:
71
71
  Commands:
72
72
  install Authorize BYOB, configure Codex MCP, and install BYOB skills.
73
73
  sync-skills Refresh BYOB AIR coding skills for an approved project.
74
- ssh-proxy Bridge OpenSSH stdio to a BYOB Local Codex billed workspace.
74
+ ssh-proxy Fallback OpenSSH stdio bridge for Local Codex billed workspaces.
75
75
 
76
76
  Local Codex billed workspaces are normally opened by the Codex host from the
77
- workspace handle returned by BYOB Agent MCP. Agents should not print or manually
78
- handle raw SSH tokens, private keys, or complete proxy commands.
77
+ workspace handle returned by BYOB Agent MCP. The native handoff uses Codex's
78
+ exec-server transport; agents should not print or manually handle raw transport
79
+ tokens, private keys, or complete fallback proxy commands.
79
80
  `;
80
81
  }
81
82
 
@@ -257,6 +258,13 @@ function sanitizePreviewUrls(
257
258
  ...item,
258
259
  byob_local_codex_workspace: {
259
260
  ...item.byob_local_codex_workspace,
261
+ codex_native: {
262
+ ...item.byob_local_codex_workspace.codex_native,
263
+ env: {
264
+ redacted: true,
265
+ reason: "Use the workspace_handle with a Codex host; direct CLI display omits CODEX_EXEC_SERVER_URL credentials.",
266
+ },
267
+ },
260
268
  ssh: {
261
269
  redacted: true,
262
270
  reason: "Use the workspace_handle with a Codex host; direct CLI display omits raw SSH material.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "byob-cli",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "description": "Codex connector for BYOB projects, backed by an Agent MCP stdio bridge.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -73,7 +73,7 @@ When the user selects **Local Codex billed**, open the BYOB project as the activ
73
73
  2. Ensure the project is started and remote editing is available.
74
74
  3. Call `byob_codex_status`.
75
75
  4. Create a Local Codex billed connection with `byob_codex_connection_create` using `mode: "local_codex_billed"`.
76
- 5. Hand the returned Local Codex billed `workspace_handle` to the Codex host; the host uses `byob-cli@latest`'s `codex ssh-proxy` behind that handle.
76
+ 5. Hand the returned Local Codex billed `workspace_handle` to the Codex host; the host uses Codex's `CODEX_EXEC_SERVER_URL` remote execution support behind that handle, with `byob-cli@latest`'s `codex ssh-proxy` only as fallback.
77
77
 
78
78
  Local Codex billed should let Codex inspect and edit the remote project filesystem directly, including protected files such as `src/app.html` when the task requires reading them. Keep all tokens, private keys, and complete proxy commands out of chat and logs. Use user-facing language like "Local Codex billed"; avoid internal enum names unless debugging BYOB itself.
79
79
 
@@ -58,7 +58,7 @@ For **Local Codex billed** project editing, open the BYOB project as the active
58
58
  1. Establish project context with `byob_current_project_context`.
59
59
  2. Call `byob_codex_status` and confirm the Local Codex billed option is available.
60
60
  3. Call `byob_codex_connection_create` with `mode: "local_codex_billed"`.
61
- 4. Hand the returned Local Codex billed `workspace_handle` to the Codex host so Codex edits the remote project container as its active workspace.
61
+ 4. Hand the returned Local Codex billed `workspace_handle` to the Codex host so Codex edits the remote project container as its active workspace through `CODEX_EXEC_SERVER_URL`.
62
62
  5. Do not print tokens, private keys, or full proxy commands in chat.
63
63
 
64
64
  After the workspace is open, use Codex's normal file, shell, git, and verification workflow inside the remote project.
@@ -291,7 +291,7 @@ Use this flow:
291
291
  1. Confirm the project is started and `connectivity.can_remote_edit` is true.
292
292
  2. Call `byob_codex_status`.
293
293
  3. If Local Codex billed is available, call `byob_codex_connection_create` with `mode: "local_codex_billed"`.
294
- 4. Hand the returned Local Codex billed `workspace_handle` to the Codex host; the host uses `byob-cli@latest`'s `codex ssh-proxy` behind that handle.
294
+ 4. Hand the returned Local Codex billed `workspace_handle` to the Codex host; the host uses Codex's `CODEX_EXEC_SERVER_URL` remote execution support behind that handle, with `byob-cli@latest`'s `codex ssh-proxy` only as fallback.
295
295
  5. Keep credentials out of chat, logs, screenshots, and command transcripts.
296
296
 
297
297
  After the workspace is open, use Codex's normal file, shell, git, and verification workflow inside the remote project.