@sjawhar/opencode-legion-envoy 1.17.0 → 1.17.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/dist/src/server.js +10 -0
- package/package.json +1 -1
- package/skills/dispatch/SKILL.md +5 -4
package/dist/src/server.js
CHANGED
|
@@ -13647,6 +13647,16 @@ var MessageEventPayloadSchema = object({
|
|
|
13647
13647
|
reply_body: string2().optional(),
|
|
13648
13648
|
author: object({ kind: string2(), id: string2() }).optional()
|
|
13649
13649
|
});
|
|
13650
|
+
var DispatchTargetedMessagePayloadSchema = MessageEventPayloadSchema.extend({
|
|
13651
|
+
id: string2(),
|
|
13652
|
+
issue_key: string2(),
|
|
13653
|
+
author: object({ kind: string2(), id: string2() }),
|
|
13654
|
+
body: string2(),
|
|
13655
|
+
target: string2(),
|
|
13656
|
+
in_reply_to: string2().nullable(),
|
|
13657
|
+
deliveries: array(unknown()),
|
|
13658
|
+
created_at: string2()
|
|
13659
|
+
});
|
|
13650
13660
|
var MessageDeliveryEventPayloadSchema = object({
|
|
13651
13661
|
message_id: string2().optional(),
|
|
13652
13662
|
attempt: number2().int().positive().optional(),
|
package/package.json
CHANGED
package/skills/dispatch/SKILL.md
CHANGED
|
@@ -50,7 +50,7 @@ rest. Use these headings in this order.
|
|
|
50
50
|
| Section | Required content | Form |
|
|
51
51
|
| --- | --- | --- |
|
|
52
52
|
| **Summary** | The problem, what changes for whom, and how we will know it worked — in plain words. | Three sentences at most. |
|
|
53
|
-
| **Decisions needed** | Only decisions that need human authority, taste, or risk appetite. Each is one plain question, two or three options with what each costs, and your recommendation with its reason — understandable without opening anything else.
|
|
53
|
+
| **Decisions needed** | Only decisions that need human authority, taste, or risk appetite. Each is one plain question, two or three options with what each costs, and your recommendation with its reason — understandable without opening anything else. Each is a `dispatch_ask`; anchor it only when it concerns a document passage. An answered item moves into Requirements with its provenance. If there is nothing to decide, write `None: this records what was agreed.` and do not ask for a review. | One decision per line. |
|
|
54
54
|
| **New since we talked** | Every design point the human did not settle in conversation, marked `inferred:` with the reasoning. Empty is fine. | One plain sentence per point. |
|
|
55
55
|
| **Acceptance** | Each outcome names what a user will observe and the check that proves it (browser scenario, API call, or command). An outcome without a check is not acceptance. | Numbered lines. |
|
|
56
56
|
| **Requirements** | What must hold, and where each came from: a quoted human sentence, or `inferred:` plus the reasoning. Readers treat inferred requirements as hypotheses. | `requirement \| where it comes from` table, or prose if the reader follows it more easily. |
|
|
@@ -132,9 +132,10 @@ containing block while retaining its quote as display text, so rewording the pas
|
|
|
132
132
|
attached; a quote spanning top-level blocks, and existing anchors without a block, stay readable
|
|
133
133
|
against their original document version if their quote disappears.
|
|
134
134
|
|
|
135
|
-
An ask must be answerable from its own text and its anchor alone. Anchor a question about a document
|
|
136
|
-
|
|
137
|
-
reference (see [References](#references)). Never write "see above", "the
|
|
135
|
+
An ask must be answerable from its own text and its anchor alone. Anchor a question about a document
|
|
136
|
+
passage with `anchor`. Follow up on an ask or comment with `dispatch_comment`; cite anything else
|
|
137
|
+
with a `dispatch://` reference (see [References](#references)). Never write "see above", "the
|
|
138
|
+
message above", or "as attached".
|
|
138
139
|
|
|
139
140
|
Before saying you are waiting for human input, call `dispatch_open_asks`. It lists this session's active asks across open issues and project documents, including whether the human or agent owes the next reply.
|
|
140
141
|
|