@wular/coder 0.1.15 → 0.1.17

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
@@ -6,7 +6,7 @@
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 job while it works.
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
10
 
11
11
  Plugs into Claude Code or Codex to enable the harness with Coder instances.
12
12
 
@@ -15,7 +15,7 @@ Plugs into Claude Code or Codex to enable the harness with Coder instances.
15
15
  - **A clean main thread.** Installed in Claude Code or Codex, dispatch is a single command from your session; the actual coding runs in a Coder subagent. File dumps, test output, and retries stay there; only the outcome returns to your conversation.
16
16
  - **Fast dispatch.** Coder keeps a single Codex engine warm in the background and hands tasks to it directly, instead of booting the CLI for every request. A handoff starts in seconds.
17
17
  - **Unified permissions.** One permission model across agents, with three modes: **Read-only**, **Workspace-write**, and **Auto**. Auto is the default: safe commands run, dangerous ones are blocked, and anything in between is brought to you for a yes/no.
18
- - **Jobs you can steer.** Every task is a job. Check on it, read its result, give it follow-up instructions, or stop it, all by id, while it keeps working in the background.
18
+ - **Tasks you can steer.** Every dispatch is a task. Check on it, read its result, give it follow-up instructions, or stop it, all by id, while it keeps working in the background.
19
19
  - **Graceful fallback.** If Codex can't start (auth, usage limits, not installed), the task flows to a Claude subagent with the same instructions. You configure the chain and the default model and effort for each agent.
20
20
 
21
21
  ## Get started
@@ -36,7 +36,7 @@ Or from the shell:
36
36
 
37
37
  ```
38
38
  npm install -g @wular/coder
39
- coder setup --claude
39
+ coder host-setup --claude
40
40
  ```
41
41
 
42
42
  Then you can ask like:
@@ -60,7 +60,7 @@ Or from the npm directly:
60
60
 
61
61
  ```
62
62
  npm install -g @wular/coder
63
- coder setup --codex
63
+ coder host-setup --codex
64
64
  ```
65
65
 
66
66
  Then ask like:
@@ -95,24 +95,20 @@ Machine defaults live in `~/.coder/config.json`; drop a `coder.config.json` in a
95
95
 
96
96
  ## Advanced usage
97
97
 
98
- You rarely need these: the agent creates and controls jobs on its own. But you can ask it explicitly ("steer that job", "approve that command", "stop it"), or run the commands yourself:
98
+ You rarely need these - the agent drives tasks itself - but you can run them. Task commands live under `coder task <sub>`; the common ones have a top-level shortcut. Full docs: `coder --help`, `coder task <sub> --help`.
99
99
 
100
100
  ```bash
101
- coder task "<text>" # run a task in the background (--wait to block)
102
- coder status [job] # progress and pending approvals
103
- coder result [job] # the final answer
104
- coder steer <job> "<follow-up>" # continue a job with new instructions
105
- coder stop <job> # interrupt it
106
- coder approve <job> <id> # answer an escalated permission (--deny)
101
+ coder run "<text>" # dispatch a task (--wait to block for the answer)
102
+ coder result [task-id] # status + final answer (--wait blocks until done)
103
+ coder list [--all|--stopped] # list tasks (running by default)
104
+ coder task steer <id> "<text>" # continue a task with new instructions
105
+ coder task stop <id> # interrupt it
106
+ coder task stream [id] # watch the live progress log (you/debugging)
107
+ coder task archive <id> # archive a session (--all-stopped for all finished)
108
+ coder task delete <id> # delete a session (--all-archived for all archived)
109
+ coder task approve <id> <appr> # answer an escalated permission (--deny)
107
110
  ```
108
111
 
109
- Common flags:
112
+ `run`/`list`/`result`/`stream` are shortcuts for the `task` subcommand. Any `[task-id]` defaults to the most recent task and accepts a unique prefix.
110
113
 
111
- | Flag | Values | Default |
112
- | ------------------ | ------------------------------------------------------------------------- | ----------------- |
113
- | `--wait` | run in the foreground and print the answer | background |
114
- | `--agent` | `codex`, `claude` | first in`chain` |
115
- | `--model` | `spark`, `luna`, `terra`, `sol`, `opus`, `sonnet`, `fable` or any raw model slug | from config |
116
- | `--effort` | `low`, `medium`, `high` | from config |
117
- | `--permissions` | `read-only`, `workspace-write`, `auto` | `auto` |
118
- | `--resume <job>` | continue that job's thread instead of starting fresh | fresh run |
114
+ Run flags (`run`/`steer`): `--wait` (foreground), `--agent codex|claude`, `--model spark|luna|terra|sol|opus|sonnet|fable`, `--effort low|medium|high`, `--permissions read-only|workspace-write|auto`, `--resume <task-id>`, `--json`.