@wular/coder 0.3.5 → 0.3.6
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/package.json
CHANGED
|
@@ -32,7 +32,7 @@ If `coder` is not on PATH, install it yourself without asking (`npm install -g @
|
|
|
32
32
|
coder task run --system "<standing instructions>" "<task text>"
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Fetch the answer with `coder task result <task-id> --wait` - blocks until done, prints only the final result. Run it in a background shell so it does not block you
|
|
35
|
+
Fetch the answer with `coder task result <task-id> --wait` - blocks until done, prints only the final result. Run it in a background shell so it does not block you. For a fan-out, start one such background waiter per dispatched task (see Supervision loop).
|
|
36
36
|
|
|
37
37
|
- A `--wait` (on `run` or `result`) exits **4** when the task is waiting on a permission approval: relay the approval to the user, apply their decision with `coder approve <task-id> <approval-id> [--deny]`, then re-fetch with `coder task result <task-id> --wait`. (Unanswered approvals auto-deny after 120s and the task moves on.)
|
|
38
38
|
|
|
@@ -63,7 +63,7 @@ When no coder engine can start (missing binaries, auth, quota across the whole c
|
|
|
63
63
|
|
|
64
64
|
## Supervision loop
|
|
65
65
|
|
|
66
|
-
With coders running in the background, don't fire-and-forget:
|
|
66
|
+
With coders running in the background, don't fire-and-forget: hold one background `coder task result <task-id> --wait` shell per task - each returns when its task finishes (relay the answer, dispatch newly unblocked coders) or escalates an approval (exit 4, see above; restart the waiter after answering). Only without background shells, fall back to recurring check-ins (whatever scheduling facility your harness has; interval by the work's pace, 10m default; bump `approvals.escalationTimeoutMs` above it so escalations survive between ticks): each tick `coder task list`, fetch finished results, surface pending approvals.
|
|
67
67
|
|
|
68
68
|
## Controlling tasks
|
|
69
69
|
|
|
@@ -30,7 +30,7 @@ If `coder` is not on PATH, install it yourself without asking (`npm install -g @
|
|
|
30
30
|
coder task run --system "<standing instructions>" "<task text>"
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Fetch the answer with `coder task result <task-id> --wait` - blocks until done, prints only the final result. Run it as a background Bash call (run_in_background: true) so it does not block you and you are re-invoked on completion
|
|
33
|
+
Fetch the answer with `coder task result <task-id> --wait` - blocks until done, prints only the final result. Run it as a background Bash call (run_in_background: true) so it does not block you and you are re-invoked on completion. For a fan-out, start one such background waiter per dispatched task (see Supervision loop).
|
|
34
34
|
|
|
35
35
|
- A `--wait` (on `run` or `result`) exits **4** when the task is waiting on a permission approval: relay the approval to the user, apply their decision with `coder approve <task-id> <approval-id> [--deny]`, then re-fetch with `coder task result <task-id> --wait`. (Unanswered approvals auto-deny after 120s and the task moves on.)
|
|
36
36
|
|
|
@@ -61,7 +61,7 @@ When no coder engine can start (missing binaries, auth, quota across the whole c
|
|
|
61
61
|
|
|
62
62
|
## Supervision loop
|
|
63
63
|
|
|
64
|
-
With coders running in the background, don't fire-and-forget:
|
|
64
|
+
With coders running in the background, don't fire-and-forget: hold one background `coder task result <task-id> --wait` per task - each re-invokes you when its task finishes (relay the answer, dispatch newly unblocked coders) or escalates an approval (exit 4, see above; restart the waiter after answering). Only without background shells, fall back to recurring check-ins (the `/loop` skill or ScheduleWakeup; interval by the work's pace, 10m default; bump `approvals.escalationTimeoutMs` above it so escalations survive between ticks): each tick `coder task list`, fetch finished results, surface pending approvals.
|
|
65
65
|
|
|
66
66
|
## Controlling tasks
|
|
67
67
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coder",
|
|
3
3
|
"displayName": "Coder",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.6",
|
|
5
5
|
"description": "Delegate coding tasks to supervised Coder subagents running on Codex, Claude, or any OpenAI-compatible model. Your main context stays clean.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "muzam1l"
|
|
@@ -31,7 +31,7 @@ If `coder` is not on PATH, install it yourself without asking (`npm install -g @
|
|
|
31
31
|
coder task run --system "<standing instructions>" "<task text>"
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
Fetch the answer with `coder task result <task-id> --wait` - blocks until done, prints only the final result. Run it in a background shell so it does not block you
|
|
34
|
+
Fetch the answer with `coder task result <task-id> --wait` - blocks until done, prints only the final result. Run it in a background shell so it does not block you. For a fan-out, start one such background waiter per dispatched task (see Supervision loop).
|
|
35
35
|
|
|
36
36
|
- A `--wait` (on `run` or `result`) exits **4** when the task is waiting on a permission approval: relay the approval to the user, apply their decision with `coder approve <task-id> <approval-id> [--deny]`, then re-fetch with `coder task result <task-id> --wait`. (Unanswered approvals auto-deny after 120s and the task moves on.)
|
|
37
37
|
|
|
@@ -62,7 +62,7 @@ When no coder engine can start (missing binaries, auth, quota across the whole c
|
|
|
62
62
|
|
|
63
63
|
## Supervision loop
|
|
64
64
|
|
|
65
|
-
With coders running in the background, don't fire-and-forget:
|
|
65
|
+
With coders running in the background, don't fire-and-forget: hold one background `coder task result <task-id> --wait` shell per task - each returns when its task finishes (relay the answer, dispatch newly unblocked coders) or escalates an approval (exit 4, see above; restart the waiter after answering). Only without background shells, fall back to a recurring monitoring loop (interval by the work's pace, 10m default; bump `approvals.escalationTimeoutMs` above it so escalations survive between ticks): each tick `coder task list`, fetch finished results, surface pending approvals.
|
|
66
66
|
|
|
67
67
|
## Controlling tasks
|
|
68
68
|
|