@sjawhar/claude-envoy 2.16.1 → 2.17.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.
@@ -2,5 +2,5 @@
2
2
  "name": "claude-envoy",
3
3
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
4
4
  "mcpServers": "./.mcp.json",
5
- "version": "2.16.1"
5
+ "version": "2.17.0"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "2.16.1",
3
+ "version": "2.17.0",
4
4
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
5
5
  "mcpServers": {}
6
6
  }
@@ -56227,7 +56227,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
56227
56227
 
56228
56228
  // package.json
56229
56229
  var name = "@sjawhar/claude-envoy";
56230
- var version2 = "2.16.1";
56230
+ var version2 = "2.17.0";
56231
56231
  var legion = {
56232
56232
  daemonApiVersion: 111
56233
56233
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "2.16.1",
3
+ "version": "2.17.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Claude Code plugin for Legion's Envoy bus",
6
6
  "type": "module",
@@ -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.