@wular/coder 0.1.27 → 0.2.1
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 +44 -45
- package/dist/cli.js +158 -123
- package/docs/custom-models.md +45 -0
- package/package.json +3 -2
- package/plugins/agents/skills/coder/SKILL.md +53 -0
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/setup.md +3 -3
- package/plugins/claude/skills/handle/SKILL.md +6 -5
- package/plugins/codex/.codex-plugin/plugin.json +1 -1
- package/plugins/codex/skills/handle/SKILL.md +14 -12
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/README.md +44 -69
- package/plugins/cursor/skills/coder/SKILL.md +53 -0
- package/plugins/cursor/skills/handle/SKILL.md +0 -50
package/README.md
CHANGED
|
@@ -2,28 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
# Coder
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**Delegate coding to subagents of any model from your favorite harness.**
|
|
6
6
|
|
|
7
7
|
</div>
|
|
8
8
|
|
|
9
|
-
One runtime that hands your coding tasks to the best engine available and lets you steer, inspect, or stop any task while it works.
|
|
10
|
-
|
|
11
|
-
Plugs into Claude Code or Codex to enable the harness with Coder instances.
|
|
12
|
-
|
|
13
9
|
## Why Coder
|
|
14
10
|
|
|
15
|
-
- **
|
|
16
|
-
- **
|
|
17
|
-
- **
|
|
18
|
-
- **
|
|
19
|
-
- **
|
|
20
|
-
- **
|
|
11
|
+
- **Cross-harness.** One runtime, every host. The same subagents and models from Claude Code, Codex and more.
|
|
12
|
+
- **Cross-model.** Codex, Claude, any OpenAI-compatible endpoint, or local models. Pick per task.
|
|
13
|
+
- **Clean context.** Your conversation stays about intent and orchestration; implementation details live in the subagents.
|
|
14
|
+
- **Fast dispatch.** Handoffs are instant, and light enough to spin up a large number of subagents at once.
|
|
15
|
+
- **Steerable tasks.** Full visibility into every task, from live progress to mid-run course corrections.
|
|
16
|
+
- **Unified permissions.** Three modes across all engines: _Read-only_, _Workspace-write_, and _Auto_.
|
|
21
17
|
|
|
22
18
|
## Get started
|
|
23
19
|
|
|
24
|
-
**1. Install a host plugin
|
|
25
|
-
|
|
26
|
-
Pick the host you use (or both):
|
|
20
|
+
**1. Install a host plugin** (pick your host, or both):
|
|
27
21
|
|
|
28
22
|
<table>
|
|
29
23
|
<tr><th>Claude Code</th><th>Codex</th></tr>
|
|
@@ -49,14 +43,24 @@ codex plugin add coder@coder-plugins
|
|
|
49
43
|
</tr>
|
|
50
44
|
</table>
|
|
51
45
|
|
|
52
|
-
Or
|
|
46
|
+
Or from the shell (installs the same plugin):
|
|
53
47
|
|
|
54
48
|
```bash
|
|
55
49
|
npm install -g @wular/coder
|
|
56
|
-
coder host
|
|
50
|
+
coder setup-host claude # or codex
|
|
57
51
|
```
|
|
58
52
|
|
|
59
|
-
|
|
53
|
+
Other harnesses - Pi, OpenCode, and anything else that reads the Agent Skills standard dir (`~/.agents/skills`) - use `coder setup-host agents`.
|
|
54
|
+
|
|
55
|
+
**2. Connect at least one engine.** Either an engine CLI, logged in, to use that subscription:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npm install -g @openai/codex && codex login
|
|
59
|
+
# and/or
|
|
60
|
+
npm install -g @anthropic-ai/claude-code && claude auth login
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Or a local/provider model of your own (see [Bring your own model](docs/custom-models.md)). `coder setup-host` checks what's ready.
|
|
60
64
|
|
|
61
65
|
**3. Ask your host to use it:**
|
|
62
66
|
|
|
@@ -66,25 +70,11 @@ Or make it the default in AGENTS.md/CLAUDE.md:
|
|
|
66
70
|
|
|
67
71
|
> Always use Coder for all implementation and system exploring tasks.
|
|
68
72
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
_Recommended setup: Claude Code as host (fable model preferably), Codex as engine - best for performance and cost distribution._
|
|
72
|
-
|
|
73
|
-
Note: with Codex as host, use "Ask for approval"/"Full Access", not "Approve for me" - the latter disables invoking CLI agents.
|
|
74
|
-
|
|
75
|
-
## Staying up to date
|
|
76
|
-
|
|
77
|
-
```bash
|
|
78
|
-
coder upgrade
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
It updates the CLI through whichever package manager installed it (npm, pnpm, yarn, or bun, auto-detected) and refreshes the host plugins to match. Narrow it with `--cli-only`, `--plugins-only`, `--codex`, `--claude`, or force a manager with `--pm <npm|pnpm|yarn|bun>`.
|
|
82
|
-
|
|
83
|
-
Set `CODER_NO_UPDATE_CHECK=1` to silence the update notice.
|
|
73
|
+
Recommended setup: Claude Code as host (fable low/medium) and Codex (terra) as engine - best for performance and cost distribution.
|
|
84
74
|
|
|
85
75
|
## Configuration
|
|
86
76
|
|
|
87
|
-
Machine defaults live in `~/.coder/config.json`;
|
|
77
|
+
Machine defaults live in `~/.coder/config.json`; a `coder.config.json` in a repo overrides per project.
|
|
88
78
|
|
|
89
79
|
```json
|
|
90
80
|
{
|
|
@@ -92,26 +82,35 @@ Machine defaults live in `~/.coder/config.json`; drop a `coder.config.json` in a
|
|
|
92
82
|
"agents": {
|
|
93
83
|
"codex": { "model": "terra", "effort": "high", "permissions": "auto" },
|
|
94
84
|
"claude": { "model": "opus", "effort": "medium", "permissions": "auto" }
|
|
85
|
+
},
|
|
86
|
+
"models": {
|
|
87
|
+
"qwen": { "baseUrl": "http://localhost:11434/v1", "model": "qwen2.5-coder:32b" }
|
|
95
88
|
}
|
|
96
89
|
}
|
|
97
90
|
```
|
|
98
91
|
|
|
92
|
+
## Staying up to date
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
coder upgrade
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Updates the CLI through whichever package manager installed it and refreshes the host plugins to match. See `coder upgrade --help` for narrowing flags. Set `CODER_NO_UPDATE_CHECK=1` to silence the update notice.
|
|
99
|
+
|
|
99
100
|
## Advanced usage
|
|
100
101
|
|
|
101
|
-
You rarely need these - the agent drives tasks itself - but
|
|
102
|
+
You rarely need these - the host agent drives tasks itself - but everything is scriptable:
|
|
102
103
|
|
|
103
104
|
```bash
|
|
104
|
-
coder run "<text>"
|
|
105
|
-
coder
|
|
106
|
-
coder
|
|
107
|
-
coder task steer <id> "<text>" # continue a task with new instructions
|
|
108
|
-
coder task stop <id> # interrupt it
|
|
109
|
-
coder task stream [id] # watch the live progress log
|
|
110
|
-
coder task
|
|
111
|
-
coder task delete <id> # delete a session (--all-archived for all archived)
|
|
112
|
-
coder task approve <id> <appr> # answer an escalated permission (--deny)
|
|
105
|
+
coder run "<text>" # dispatch a task (--wait to block for the answer)
|
|
106
|
+
coder list # list running tasks (--all for running & stopped)
|
|
107
|
+
coder result [task-id] # status + final answer (--wait blocks until done)
|
|
108
|
+
coder task steer <task-id> "<text>" # continue a task with new instructions
|
|
109
|
+
coder task stop <task-id> # interrupt it
|
|
110
|
+
coder task stream [task-id] # watch the live progress log
|
|
111
|
+
coder task approve <task-id> <appr-id> # answer an escalated permission (--deny)
|
|
113
112
|
```
|
|
114
113
|
|
|
115
|
-
|
|
114
|
+
Any `[task-id]` defaults to the most recent task.
|
|
116
115
|
|
|
117
|
-
|
|
116
|
+
Full docs: `coder --help`.
|