@sjawhar/pi-envoy 17.14.0 → 17.16.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/envoy.js CHANGED
@@ -46542,7 +46542,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
46542
46542
 
46543
46543
  // package.json
46544
46544
  var name = "@sjawhar/pi-envoy";
46545
- var version2 = "17.14.0";
46545
+ var version2 = "17.16.0";
46546
46546
  var package_default = {
46547
46547
  name,
46548
46548
  version: version2,
@@ -137,6 +137,7 @@ Every topic starts with `notifications.`.
137
137
  No error releases the role's claim: a holder whose `holder_state` is `unresponsive` keeps its role.
138
138
  `envoy_role_get(role=...)` finds the holder first.
139
139
  The forward is kept on the holder's inbox, so the holder's session gets it once from its own durable consumer, also after a restart, a reconnect, or while it was not running.
140
+ From a shell with no tool device, read the holder with `envoy role <role>` where sjawhar/dotfiles' `scripts/envoy` is on the PATH, and in a Legion pod, which has no `envoy` command, with `curl -sS -H "Authorization: Bearer $(cat "$ENVOY_TOKEN_FILE")" "$ENVOY_URL/v1/roles/<role>" | jq -r '.holder // .reason // .error'`, which prints the holder's session id, `unclaimed` for a role nobody holds, or the error of a refused read, such as `unauthorized` for a bad token.
140
141
 
141
142
  - A message that must reach more than 4 role topics is the project controller's to send, not yours.
142
143
  Each publish wakes a session, and a woken session reads its whole context again, which the provider charges as uncached input: a mean of 576,083 tokens a wake, a median of 493,636 and a ninetieth percentile of 1,327,888.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-envoy",
3
- "version": "17.14.0",
3
+ "version": "17.16.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "omp": {