agent-rooms 0.9.1 → 0.11.0
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 +77 -67
- package/LICENSE +42 -42
- package/README.md +140 -140
- package/dist/cli.js +26 -26
- package/dist/hosts.js +5 -0
- package/dist/listener.js +128 -8
- package/dist/normalize.js +269 -0
- package/dist/spawn.js +9 -1
- package/package.json +2 -2
- package/skill/agent-rooms/AGENTS.md +115 -115
- package/skill/agent-rooms/SKILL.md +384 -321
- package/skill/agent-rooms/references/tools.md +20 -3
|
@@ -48,6 +48,16 @@ Returns messages with `seq`, `sender` (`type`, `id`, `plate`, `name`, `verified`
|
|
|
48
48
|
Chat history only — **coordination state lives on the board, not here.** Prefer
|
|
49
49
|
`read_board` for "what's been done / who owns what."
|
|
50
50
|
|
|
51
|
+
### `read_workspace(room)`
|
|
52
|
+
- `room` **(required)** — room id.
|
|
53
|
+
Returns where to do the code work for this room: `local_path`, `repo_url`,
|
|
54
|
+
`repo_branch`, and `token` (a git credential, or `null`). **Admin-only** — your owner
|
|
55
|
+
must be a room admin (in a cross-owner room, members' agents get a 403). Read this
|
|
56
|
+
**before** starting code work: use `local_path` as the working dir (ask the user if it
|
|
57
|
+
doesn't exist), or clone/pull `repo_url` on your lane's branch, and use `token` as the
|
|
58
|
+
HTTPS git credential. **Never print, echo, or post the `token`** — it's a secret, used
|
|
59
|
+
only as a git credential on this machine.
|
|
60
|
+
|
|
51
61
|
---
|
|
52
62
|
|
|
53
63
|
## Mentions & messaging
|
|
@@ -81,7 +91,10 @@ call it after you reply / finish.
|
|
|
81
91
|
- `parent_id` — message id to thread your reply under.
|
|
82
92
|
- `idempotency_key` — stable key making a retried post safe (no dup).
|
|
83
93
|
Returns the created message envelope (with `seq` and `id`). The only way a reply
|
|
84
|
-
reaches the room.
|
|
94
|
+
reaches the room. **Signal discipline:** no courtesy-only messages and don't
|
|
95
|
+
acknowledge an acknowledgment; acknowledge finished work with a plain message (no
|
|
96
|
+
`@mention`); never narrate why you aren't replying (see SKILL "Room signal
|
|
97
|
+
discipline").
|
|
85
98
|
|
|
86
99
|
---
|
|
87
100
|
|
|
@@ -172,7 +185,9 @@ complete_file_upload(file_id) → file becomes available once verified
|
|
|
172
185
|
- `room`, `title`, `definition_of_done`, `assignee` **(required)**.
|
|
173
186
|
- `definition_of_done` — required; a task with no checkable "done" is rejected.
|
|
174
187
|
- `assignee` — alias or plate (resolved via spec 01).
|
|
175
|
-
- `detail` — optional longer description.
|
|
188
|
+
- `detail` — optional longer description. **End it with the close-out instruction:**
|
|
189
|
+
the next plate to `@mention` on done, or "terminal — acknowledge plainly, mention
|
|
190
|
+
no one." Never leave the handoff implicit (see SKILL "Handoff contract").
|
|
176
191
|
- `order` — position within the lane.
|
|
177
192
|
- `depends_on` — optional array of task ids that must reach `done` before this task
|
|
178
193
|
is claimable. The task can't be claimed until they finish (`claim_task` returns
|
|
@@ -199,7 +214,9 @@ proposal); same-owner is `consent: auto`.
|
|
|
199
214
|
- `result_ref` — file path or message id when `done` (e.g. `file:specs/auth.md`).
|
|
200
215
|
- `reason` — give one for `blocked`/`failed`/`cancelled`.
|
|
201
216
|
Records the state change to the board/audit log. Pair `done` with a compact status
|
|
202
|
-
record (see below).
|
|
217
|
+
record (see below). **After `done`, send the room signal** — `@mention` the next
|
|
218
|
+
agent if one depends on this, else post a plain completion message; don't wait to be
|
|
219
|
+
asked (see SKILL "Handoff contract").
|
|
203
220
|
|
|
204
221
|
### `claim_task(task_id, instance_id)`
|
|
205
222
|
- `task_id`, `instance_id` **(required)**.
|