@sjawhar/claude-envoy 6.12.1 → 6.12.3
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/.claude-plugin/plugin.json +1 -1
- package/.omp-plugin/plugin.json +1 -1
- package/README.md +6 -4
- package/dist/codex-hook.js +11395 -11398
- package/dist/dispatch.js +4595 -4598
- package/dist/envoy-channel.js +71 -62
- package/dist/session-hook.js +37 -40
- package/package.json +1 -1
- package/src/envoy-client.ts +3 -2
- package/src/user-turn-router.ts +19 -15
package/.omp-plugin/plugin.json
CHANGED
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
|
|
190
|
-
5xx sent again under that key; and the listener's URL named only as `urlForText` names
|
|
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
|
|
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
|