@sjawhar/claude-envoy 2.13.0 → 2.13.1

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.13.0"
5
+ "version": "2.13.1"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "2.13.0",
3
+ "version": "2.13.1",
4
4
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
5
5
  "mcpServers": {}
6
6
  }
@@ -56199,9 +56199,9 @@ var import_nats2 = __toESM(require_mod4(), 1);
56199
56199
 
56200
56200
  // package.json
56201
56201
  var name = "@sjawhar/claude-envoy";
56202
- var version2 = "2.13.0";
56202
+ var version2 = "2.13.1";
56203
56203
  var legion = {
56204
- daemonApiVersion: 98
56204
+ daemonApiVersion: 104
56205
56205
  };
56206
56206
 
56207
56207
  // ../pi-shared/src/agent-stream.ts
@@ -400,16 +400,31 @@ chain refuses the same work. Either way, `envoy_publish` the key, the role and t
400
400
  issue's architect, which is who can narrow the work. Re-admit nothing and park nothing, because
401
401
  the task is not lost and the session still runs.
402
402
 
403
- One claim that stays stuck after that is yours to act on, and `compact` is the first thing you
404
- reach for: it has the daemon shorten that claim's Oh My Pi session to a text summary and send it
403
+ One claim that stays stuck after that is yours to act on, and which door you use depends on what
404
+ the claim is doing. `compact` is the first thing for a claim whose session the provider keeps
405
+ refusing: it has the daemon shorten that claim's Oh My Pi session to a text summary and send it
405
406
  whatever task it owed again, and the claim keeps its session, its workspace and everything it
406
407
  knows of its issue. The answer says whether the session was compacted and, when it was not, why;
407
- the claim is back either way, and whatever task it owed has gone again. Use `fresh_session` only
408
- when the claim is still refused after a compaction, because a new session loses everything the old
408
+ the claim is back either way, and whatever task it owed has gone again. Use `fresh_session` once
409
+ the claim is still refused after a compaction, because a new session loses everything the old
409
410
  one held — what the worker learned of its issue, and what it had not yet pushed or written down —
410
411
  and cures nothing in a provider outage, where the next session's turns are refused as the last
411
412
  one's were.
412
413
 
414
+ `compact` is the wrong door for a claim no process stands behind, which is a role that died: it
415
+ refuses such a claim `CLAIM_NOT_RUNNING` and names `fresh_session`, because it has no agent to
416
+ ask. Ask for `fresh_session` there. It is the one way back for a dead role, a dead architect of
417
+ your project included: it suspends the claim where your request arrives, leaves the session that
418
+ claim recorded behind, and starts the claim again with the task its dead turn held. Both doors
419
+ read the claim's process at the moment you ask, not the daemon's memory of an older report,
420
+ which a daemon restart forgets. A refusal of `CLAIM_IN_A_TURN` is a claim whose process that
421
+ read found running, or one whose session is being compacted. A claim whose process the runtime
422
+ would not answer for, one that records no process to read, and one that moved under your
423
+ request and that a second read finds no longer working or gone once more are refused
424
+ `CLAIM_UNSETTLED`, each left exactly as your request found it, so ask again once the runtime
425
+ answers; a claim that moved is otherwise answered as that second read finds it. A claim under a relaunch the wake pacing parks is refused
426
+ `CLAIM_UNSETTLED` too.
427
+
413
428
  ## GitHub mentions
414
429
 
415
430
  Read the mention and its artifact. Answer a mention that asks you for triage or for information
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "2.13.0",
3
+ "version": "2.13.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Claude Code plugin for Legion's Envoy bus",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  "AGENTS.md"
20
20
  ],
21
21
  "legion": {
22
- "daemonApiVersion": 98
22
+ "daemonApiVersion": 104
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",