@sjawhar/pi-legion-envoy 5.3.5 → 5.3.6

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/envoy.js CHANGED
@@ -34402,7 +34402,7 @@ function subscriptionRemovedTopics(raw, sessionID) {
34402
34402
 
34403
34403
  // ../envoy-client/src/tool-contract.ts
34404
34404
  var DELIVERY_CONTRACT = "Delivery is at-least-once, possibly out of order across topics; use id for dedupe and at for freshness.";
34405
- 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>.";
34405
+ 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>.";
34406
34406
  var URGENCY_VALUES = EnvelopeSchema.shape.urgency.unwrap().options;
34407
34407
  var EXPECTS_REPLY_VALUES = EnvelopeSchema.shape.expects_reply.unwrap().options;
34408
34408
  function messageMetadataShape(schema) {
package/dist/legion.js CHANGED
@@ -16142,7 +16142,7 @@ import { logger } from "@oh-my-pi/pi-utils";
16142
16142
  // package.json
16143
16143
  var package_default = {
16144
16144
  name: "@sjawhar/pi-legion-envoy",
16145
- version: "5.3.5",
16145
+ version: "5.3.6",
16146
16146
  type: "module",
16147
16147
  omp: {
16148
16148
  extensions: [
@@ -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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-legion-envoy",
3
- "version": "5.3.5",
3
+ "version": "5.3.6",
4
4
  "type": "module",
5
5
  "omp": {
6
6
  "extensions": [