@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 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
- Issue-scoped calls use a native `KEY` or an external `owner/repo#n` reference. A Legion
114
- session may omit `issue` when `LEGION_ISSUE` identifies its root issue and its working
115
- directory resolves to a repository. `dispatch_doc_read` and `dispatch_read` also accept
116
- `dispatch://` references. `dispatch_search` needs only its query and returns no subscription
117
- topic. `dispatch_edit_ask` and `dispatch_resolve_ask` instead identify an existing ask with
118
- `ask`.
119
-
120
- Every mutation result carries `details.topic`. Issue writes use
121
- `notifications.dispatch.issue.<KEY>.>`; mutations of a document ask use its
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 issue details without a subscription
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