@sjawhar/pi-legion-envoy 0.40.0 → 0.41.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/README.md +10 -11
- package/dist/envoy.js +327 -111
- package/dist/legion.js +327 -111
- package/dist/skills/dispatch/SKILL.md +51 -43
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -110,18 +110,17 @@ The user file is `~/.config/opencode/envoy.json`; a
|
|
|
110
110
|
an invalid URL, or an empty token leaves the twelve tools unavailable and reports
|
|
111
111
|
the source of the error.
|
|
112
112
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
`
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
`notifications.dispatch.
|
|
122
|
-
`notifications.dispatch.document.<PROJECT>.<SLUG>.>` topic. The extension's `tool_result` hook
|
|
113
|
+
Owner-scoped calls use either an issue (a native `KEY` or external `owner/repo#n` reference) or
|
|
114
|
+
an unlinked project document (`project` plus its `artifact` slug). A Legion session may omit
|
|
115
|
+
`issue` when `LEGION_ISSUE` identifies its root issue and its working directory resolves to a
|
|
116
|
+
repository. `dispatch_doc_read` and `dispatch_read` also accept `dispatch://` references,
|
|
117
|
+
including `dispatch://PROJECT/artifact/<slug>`. `dispatch_search` needs only its query and
|
|
118
|
+
returns no subscription topic. `dispatch_edit_ask` and `dispatch_resolve_ask` instead identify
|
|
119
|
+
an existing ask with `ask`. Every mutation result carries `details.topic`: issue writes use
|
|
120
|
+
`notifications.dispatch.issue.<KEY>.>` and project-document writes use
|
|
121
|
+
`notifications.dispatch.document.<PROJECT>.<SLUG>.>`. The extension's `tool_result` hook
|
|
123
122
|
subscribes to that exact topic, then registers the session so retained events arrive as Pi
|
|
124
|
-
steering. `dispatch_doc_read` and `dispatch_read` return
|
|
123
|
+
steering. `dispatch_doc_read` and `dispatch_read` return owner details without a subscription
|
|
125
124
|
topic.
|
|
126
125
|
|
|
127
126
|
The shared contract supplies the model-facing schemas and descriptions. The
|