Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion plugins/codex/commands/cancel.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ disable-model-invocation: true
allowed-tools: Bash(node:*)
---

!`node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" cancel "$ARGUMENTS"`
Cancel the requested background Codex job by running the Bash command below.

```bash
node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" cancel "$ARGUMENTS"
```
6 changes: 5 additions & 1 deletion plugins/codex/commands/result.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ disable-model-invocation: true
allowed-tools: Bash(node:*)
---

!`node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" result "$ARGUMENTS"`
Show the stored final output for a finished Codex job by running the Bash command below, then present the full output.

```bash
node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" result "$ARGUMENTS"
```

Present the full command output to the user. Do not summarize or condense it. Preserve all details including:
- Job ID and status
Expand Down
6 changes: 5 additions & 1 deletion plugins/codex/commands/status.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ disable-model-invocation: true
allowed-tools: Bash(node:*)
---

!`node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" status "$ARGUMENTS"`
Run the Codex status command with the Bash tool (the `allowed-tools` frontmatter above permits it), then format the output as described below:

```bash
node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" status "$ARGUMENTS"
```

If the user did not pass a job ID:
- Render the command output as a single Markdown table for the current and past runs in this session.
Expand Down
6 changes: 5 additions & 1 deletion plugins/codex/commands/transfer.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ disable-model-invocation: true
allowed-tools: Bash(node:*)
---

!`node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" transfer "$ARGUMENTS"`
Transfer the current Claude Code session into a resumable Codex thread by running the Bash command below, then present the output to the user.

```bash
node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" transfer "$ARGUMENTS"
```

Present the command output to the user exactly as returned. Preserve the Codex session ID and the `codex resume <session-id>` command.