@sjawhar/opencode-legion-envoy 0.43.0 → 0.44.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/dist/src/server.js +5 -0
- package/package.json +1 -1
- package/skills/dispatch/SKILL.md +4 -2
package/dist/src/server.js
CHANGED
|
@@ -13628,6 +13628,11 @@ var ChildStatusEventPayloadSchema = object({
|
|
|
13628
13628
|
from: string2().optional(),
|
|
13629
13629
|
to: string2().optional()
|
|
13630
13630
|
});
|
|
13631
|
+
var SubscriptionRemovedEventPayloadSchema = object({
|
|
13632
|
+
session_id: string2().optional(),
|
|
13633
|
+
by: object({ kind: string2(), id: string2().optional() }).passthrough().optional(),
|
|
13634
|
+
topics: array(string2()).optional()
|
|
13635
|
+
});
|
|
13631
13636
|
// ../contracts/src/dispatch-snippet.ts
|
|
13632
13637
|
var HTML_ENTITIES = [
|
|
13633
13638
|
["<", "<"],
|
package/package.json
CHANGED
package/skills/dispatch/SKILL.md
CHANGED
|
@@ -226,9 +226,11 @@ It returns `details` `{ issue, topic, message }`. `body` is capped at 2,000 char
|
|
|
226
226
|
|
|
227
227
|
## What comes back
|
|
228
228
|
|
|
229
|
-
A write result's `details.topic` subscribes the host to its owner
|
|
229
|
+
A write result's `details.topic` subscribes the host to its owner, and the first such subscription on an issue or document also tells
|
|
230
|
+
you so (an already-subscribed write stays quiet — no repeat notice). Issue writes use `notifications.dispatch.issue.<KEY>.>`;
|
|
230
231
|
project-document writes use `notifications.dispatch.document.<PROJECT>.<SLUG>.>`. The owner topic carries every Dispatch event; `notify`
|
|
231
|
-
only controls agent wake and routed delivery.
|
|
232
|
+
only controls agent wake and routed delivery. A human may unsubscribe you from the issue or document header; you are told with a
|
|
233
|
+
`subscription.removed` notice when that happens. After a restart, catch up with:
|
|
232
234
|
|
|
233
235
|
```ts
|
|
234
236
|
dispatch_read({ issue?, project?, artifact?, ref? })
|