cc-codex-run 0.1.1 → 0.1.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2 — 2026-11-04
|
|
4
|
+
|
|
5
|
+
- The `codex` skill calls its script as `node <path>`, so it works when an installer drops the executable bit (cc-switch installs from GitHub did, giving "Permission denied").
|
|
6
|
+
|
|
3
7
|
## 0.1.1 — 2026-11-04
|
|
4
8
|
|
|
5
9
|
- Published to npm as `cc-codex-run`. No code changes.
|
package/README.md
CHANGED
|
@@ -34,6 +34,14 @@ npm install -g cc-codex-run
|
|
|
34
34
|
codex-run --install-skills # add --force to move existing codex/codex-delegate skills aside
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
+
With the [skills CLI](https://github.com/vercel-labs/skills), into the current project (`.claude/skills/`), or user-wide with `-g`:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npx skills@latest add kcng0/cc-codex-run -a claude-code -s '*'
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
The plugin namespaces its skills (`codex-run:codex`). The other two methods install plain `codex` and `codex-delegate` skills. If you already have a personal skill with one of those names in `~/.claude/skills`, it takes precedence over a project-level install, and a user-level install may replace it.
|
|
44
|
+
|
|
37
45
|
## Skills
|
|
38
46
|
|
|
39
47
|
- **`codex`** teaches Claude how to dispatch, answer, resume, attach to, stop and review with `codex-run`.
|
package/README.zh-CN.md
CHANGED
|
@@ -34,6 +34,14 @@ npm install -g cc-codex-run
|
|
|
34
34
|
codex-run --install-skills # 已有同名 codex / codex-delegate skill 时,加 --force 会先把它们改名备份
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
+
也可以用 [skills CLI](https://github.com/vercel-labs/skills) 安装到当前项目(`.claude/skills/`),加 `-g` 则装到用户目录:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npx skills@latest add kcng0/cc-codex-run -a claude-code -s '*'
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
插件安装的 skill 带命名空间(`codex-run:codex`)。另外两种方式装的是不带命名空间的 `codex` 和 `codex-delegate`:如果 `~/.claude/skills` 里已有同名的个人 skill,它会优先于项目级安装的 skill 生效;用户级安装则可能把它覆盖掉。
|
|
44
|
+
|
|
37
45
|
## Skills
|
|
38
46
|
|
|
39
47
|
- **`codex`**:教 Claude 用 `codex-run` 派发任务、答复提问、续接、重新跟随、停止和 review。
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: codex
|
|
3
3
|
description: Run tasks on OpenAI Codex through the local Codex app-server daemon — pick a role or model, run several in the background, answer Codex's questions, resume a thread by id, or run Codex's built-in review. Use whenever you need to call Codex.
|
|
4
|
-
allowed-tools: Bash(${CLAUDE_SKILL_DIR}/scripts/codex-run.mjs *)
|
|
4
|
+
allowed-tools: Bash(node ${CLAUDE_SKILL_DIR}/scripts/codex-run.mjs *)
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Calling Codex
|
|
8
8
|
|
|
9
|
-
Script:
|
|
9
|
+
Script: `node ${CLAUDE_SKILL_DIR}/scripts/codex-run.mjs` (always call it with `node` and this full path, since some installers drop the executable bit; `-h` lists options). Tasks run on the local Codex app-server daemon (started automatically). Thread names start with `[codex-run·<role>]`, and the user can watch or take over them in the Codex app.
|
|
10
10
|
|
|
11
11
|
## Dispatching
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Script: `${CLAUDE_SKILL_DIR}/scripts/codex-run.mjs` (always call it by this full
|
|
|
14
14
|
2. Run it with Bash `run_in_background: true`:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
${CLAUDE_SKILL_DIR}/scripts/codex-run.mjs --role <role> -C <workdir> <task file>
|
|
17
|
+
node ${CLAUDE_SKILL_DIR}/scripts/codex-run.mjs --role <role> -C <workdir> <task file>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
- **Roles** set the responsibilities and the default model, effort and sandbox. `--roles` lists them; roles in `$CODEX_HOME/agents/` shadow the bundled examples. If the task is clearly lighter or harder than the role's default, override with `-m`/`-e` (pick from `--models`). If results are weak, first tighten the task (definition of done, verification), then start a new thread with higher effort.
|
|
@@ -65,7 +65,7 @@ Start a new thread, and hand over the needed conclusions in the task file, when:
|
|
|
65
65
|
When unsure, start a new thread.
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
|
-
${CLAUDE_SKILL_DIR}/scripts/codex-run.mjs --resume <thread> --role <same role> -C <same dir> <follow-up file>
|
|
68
|
+
node ${CLAUDE_SKILL_DIR}/scripts/codex-run.mjs --resume <thread> --role <same role> -C <same dir> <follow-up file>
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
Resume by thread id (parallel runs make "last thread" ambiguous). The follow-up file holds only the new instructions.
|
|
@@ -75,7 +75,7 @@ A resumed thread keeps its model and effort and does not accept `-m`/`-e`. `--ro
|
|
|
75
75
|
## Review
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
|
-
${CLAUDE_SKILL_DIR}/scripts/codex-run.mjs --review [--base <branch> | --commit <sha>] -C <repo> [focus file]
|
|
78
|
+
node ${CLAUDE_SKILL_DIR}/scripts/codex-run.mjs --review [--base <branch> | --commit <sha>] -C <repo> [focus file]
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
Runs Codex's built-in read-only review of git changes; uncommitted changes (including untracked files) by default. The optional focus file names the risks to look at. `--review` takes no `--role`, `--resume`, `-s` or `--schema`.
|
|
@@ -12290,7 +12290,7 @@ async function run(a, { role, schema, validate, version }) {
|
|
|
12290
12290
|
}
|
|
12291
12291
|
|
|
12292
12292
|
// src/cli.mjs
|
|
12293
|
-
var VERSION = true ? "0.1.
|
|
12293
|
+
var VERSION = true ? "0.1.2" : "dev";
|
|
12294
12294
|
var HELP = `usage: codex-run [--role ROLE] [-m MODEL] [-e EFFORT] [-s SANDBOX] [-t SECONDS] [--allow-subagents]
|
|
12295
12295
|
-C DIR [--schema FILE] [--json] TASK_FILE
|
|
12296
12296
|
codex-run --resume THREAD -C DIR [--role ROLE] [-s SANDBOX] [--schema FILE] FOLLOW_UP_FILE
|