@sjawhar/opencode-legion-envoy 3.1.4 → 3.1.5

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.
@@ -17160,7 +17160,7 @@ function asObject(value) {
17160
17160
 
17161
17161
  // ../envoy-client/src/tool-contract.ts
17162
17162
  var DELIVERY_CONTRACT = "Delivery is at-least-once, possibly out of order across topics; use id for dedupe and at for freshness.";
17163
- var TOPIC_GUIDE = "Topic guide (all are under notifications.): agent.<session_id> (subscribe: own inbox); role.<role> " + "(publish-to; holders claim via envoy_role_set). > matches one or more trailing tokens and does not " + "match the base subject. Envoy registers the concrete base when you subscribe to <subject>.>, so " + "the recommended default remains github.<owner>.<repo>.pr.<n>.>. Default PR subscription: " + "github.<owner>.<repo>.pr.<n>.> (it receives the quiet PR family): pr.<n> (lifecycle: " + "opened/synchronize/closed; closed carries merged, merge_commit_sha, merged_by, head_sha), " + "pr.<n>.comment, pr.<n>.review, pr.<n>.mention, pr.<n>.checks (one head-checks settlement event: " + 'passed/failed/cancelled/skipped with failing names and URLs; re-fires with superseded_settlement: "true" ' + "when new runs appear for the same head). Other GitHub: issue.<n>, issue.<n>.comment, " + "issue.<n>.mention, mention, push.branch.<name>, push.tag.<name>, workflow.<file>.<action> (only " + "runs without an associated PR); slack.<team>.<channel>.message|mention and " + "slack.<team>.<channel>.thread.<ts>.message|mention; ghostwispr.<session>.<kind>; " + "whatsapp.<phone>.<jid>.<kind>; envoy.exceptions.<original-topic>.";
17163
+ var TOPIC_GUIDE = "Topic guide (all are under notifications.): agent.<session_id> (subscribe: own inbox); role.<role> " + "(publish-to; holders claim via envoy_role_set). > matches one or more trailing tokens and does not " + "match the base subject. Envoy registers the concrete base when you subscribe to <subject>.>, so " + "the recommended default remains github.<owner>.<repo>.pr.<n>.>. <owner> and <repo> are one token " + "each, with every dot in the name written _ (sjawhar/.github is github.sjawhar._github; " + "acme/site.io is github.acme.site_io), and a topic spelled with the dot receives nothing. " + "Default PR subscription: " + "github.<owner>.<repo>.pr.<n>.> (it receives the quiet PR family): pr.<n> (lifecycle: " + "opened/synchronize/closed; closed carries merged, merge_commit_sha, merged_by, head_sha), " + "pr.<n>.comment, pr.<n>.review, pr.<n>.mention, pr.<n>.checks (one head-checks settlement event: " + 'passed/failed/cancelled/skipped with failing names and URLs; re-fires with superseded_settlement: "true" ' + "when new runs appear for the same head). Other GitHub: issue.<n>, issue.<n>.comment, " + "issue.<n>.mention, mention, push.branch.<name>, push.tag.<name>, workflow.<file>.<action> (only " + "runs without an associated PR); slack.<team>.<channel>.message|mention and " + "slack.<team>.<channel>.thread.<ts>.message|mention; ghostwispr.<session>.<kind>; " + "whatsapp.<phone>.<jid>.<kind>; envoy.exceptions.<original-topic>.";
17164
17164
  var URGENCY_VALUES = EnvelopeSchema.shape.urgency.unwrap().options;
17165
17165
  var EXPECTS_REPLY_VALUES = EnvelopeSchema.shape.expects_reply.unwrap().options;
17166
17166
  function messageMetadataShape(schema) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/opencode-legion-envoy",
3
- "version": "3.1.4",
3
+ "version": "3.1.5",
4
4
  "type": "module",
5
5
  "main": "dist/src/server.js",
6
6
  "exports": {
@@ -18,6 +18,10 @@ envoy_subscribe([
18
18
  ])
19
19
  ```
20
20
 
21
+ The owner and the repository are one token each, with every dot in the name written `_`:
22
+ `acme/site.io`'s PR family is `notifications.github.acme.site_io.pr.42.>`, and a topic spelled
23
+ `acme.site.io` receives nothing.
24
+
21
25
  NATS `>` matches **one or more** trailing tokens, so it does not match the lifecycle base
22
26
  `pr.42` itself. Envoy registers that concrete base automatically when you subscribe to
23
27
  `<subject>.>`, making `pr.<n>.>` the recommended default: one call receives both the lifecycle
@@ -137,7 +141,10 @@ envoy_subscribe([
137
141
 
138
142
  A warning says no GitHub event for that repository occurred within the stream's 72-hour retention
139
143
  window; it does not mean the repository was never seen. Verify the GitHub App is installed before
140
- relying on a wakeup.
144
+ relying on a wakeup. A topic that spells a repository name with its dot, followed by a kind, draws
145
+ a warning naming the spelling Envoy publishes (`acme.site_io` for `acme/site.io`); subscribe to
146
+ that one instead. A token after the repository that is not a GitHub topic kind (`checks` in
147
+ `acme.widgets.checks.>`) draws a warning naming the kinds.
141
148
 
142
149
  ## Roles
143
150