@sjawhar/claude-envoy 6.12.0 → 6.12.2

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.
Files changed (32) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.omp-plugin/plugin.json +1 -1
  3. package/README.md +6 -4
  4. package/dist/codex-hook.js +11398 -11401
  5. package/dist/dispatch.js +4598 -4601
  6. package/dist/envoy-channel.js +74 -65
  7. package/dist/session-hook.js +40 -43
  8. package/legion/skills/legion-architect/SKILL.md +2 -2
  9. package/legion/skills/legion-architect/references/acceptance.md +1 -1
  10. package/legion/skills/legion-architect/references/decomposition.md +2 -2
  11. package/legion/skills/legion-architect/references/operations.md +1 -1
  12. package/legion/skills/legion-controller/SKILL.md +5 -5
  13. package/legion/skills/legion-controller/references/backlog-stewardship.md +3 -3
  14. package/legion/skills/legion-controller/references/consolidation.md +1 -1
  15. package/legion/skills/legion-controller/references/daily-report.md +6 -17
  16. package/legion/skills/legion-controller/references/escalation.md +1 -1
  17. package/legion/skills/legion-controller/references/finding-asks-steps.md +4 -4
  18. package/legion/skills/legion-controller/references/finding-asks.md +16 -15
  19. package/legion/skills/legion-controller/references/operations-steps.md +2 -2
  20. package/legion/skills/legion-controller/references/operations.md +5 -5
  21. package/legion/skills/legion-controller/references/park-asks.md +2 -2
  22. package/legion/skills/legion-controller/references/triage.md +1 -1
  23. package/legion/skills/legion-oracle/SKILL.md +1 -1
  24. package/legion/skills/legion-worker/references/conflicts-and-rewrites.md +0 -2
  25. package/legion/skills/legion-worker/references/findings-steps.md +5 -5
  26. package/legion/skills/legion-worker/references/findings.md +13 -22
  27. package/package.json +1 -1
  28. package/skills/dispatch/SKILL.md +7 -3
  29. package/skills/dispatch-first/SKILL.md +1 -1
  30. package/skills/dispatch-writing-specs/SKILL.md +1 -1
  31. package/src/envoy-client.ts +3 -2
  32. package/src/user-turn-router.ts +19 -15
@@ -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": "6.12.0"
5
+ "version": "6.12.2"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "6.12.0",
3
+ "version": "6.12.2",
4
4
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
5
5
  "mcpServers": {}
6
6
  }
package/README.md CHANGED
@@ -186,14 +186,16 @@ message from Dispatch's Agents page as that person's own turn.
186
186
  session's Bash first), with `ENVOY_URL` and `ENVOY_TOKEN_FILE` or `ENVOY_TOKEN` over its `envoy`
187
187
  section. With Envoy off it sends nothing and exits 1, saying why. It sends through envoy-client's
188
188
  own send (`createEnvoyClient().send`), the transport every other client uses: one idempotency key
189
- on every attempt, so the listener stores the message at most once; an attempt with no answer or a
190
- 5xx sent again under that key; and the listener's URL named only as `urlForText` names it, never
191
- its user info. It sends the session its shell names (`ENVOY_SESSION_ID`, else
189
+ on every attempt, so the listener stores the message at most once; an attempt with no answer, a
190
+ 408 or a 5xx sent again under that key; and the listener's URL named only as `urlForText` names
191
+ it, never its user info. It sends the session its shell names (`ENVOY_SESSION_ID`, else
192
192
  `CLAUDE_CODE_SESSION_ID`) as `source_session`, so the listener's limit on each session's sending
193
193
  counts its messages. A send the listener stored without this machine's credential (a listener
194
194
  that asks for none takes one whose broker trade failed) prints its `Sent` line, exits 0, and
195
195
  writes one line to stderr naming why it went without the credential, and where the refusal is
196
- final (a revoked sign-in) that it is, with its remedy. A send that may have arrived is not a
196
+ final (a revoked sign-in) that it is, with its remedy. A send that may have arrived (an attempt
197
+ that got no answer, a 408 or a 5xx: the listener writes no 408, and a hop in front of it can
198
+ answer one after it forwarded the send) is not a
197
199
  failure: it exits 75 (`EX_TEMPFAIL`), names the key, and prints the command that sends it again
198
200
  under that key, which the listener drops as a repeat if the first copy arrived: `cd <dir> &&
199
201
  [ENVOY_CONFIG_FILE=<file>] [ENVOY_URL=…] [ENVOY_TOKEN_FILE=…] [ENVOY_SESSION_ID=…] bun <the