@sjawhar/claude-envoy 4.15.1 → 4.15.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 +8 -0
- package/dist/envoy-channel.js +771 -347
- package/package.json +1 -1
- package/src/agent-stream-runner.ts +83 -95
- package/src/channel-connection.ts +306 -0
- package/src/channel-topics.ts +17 -10
- package/src/codex/codex-agent-stream.ts +43 -64
- package/src/codex/codex-server.ts +57 -17
- package/src/control-subscription.ts +166 -0
- package/src/envoy-channel-server.ts +447 -222
package/.omp-plugin/plugin.json
CHANGED
package/README.md
CHANGED
|
@@ -96,6 +96,14 @@ message from Dispatch's Agents page as that person's own turn.
|
|
|
96
96
|
The server pings NATS every 10 seconds and drops a connection that leaves two pings unanswered,
|
|
97
97
|
so a connection that stops answering without closing is left within 30 seconds and redialed,
|
|
98
98
|
and the listener restarts the relay at the consumer's ack floor.
|
|
99
|
+
A connection nats.js closes for good is replaced too. nats.js gives up after a repeated
|
|
100
|
+
authorization refusal under an nkey seed or no credential, and when the session's broker token
|
|
101
|
+
cannot sign the hub's greeting (a hub that sends no nonce). The server dials a new connection
|
|
102
|
+
as it dialed at start, warning of each redial on stderr, subscribes the relay subject on it and
|
|
103
|
+
registers a new epoch, so the listener restarts the relay at the ack floor. Until then the
|
|
104
|
+
session is told once that it receives nothing, naming why, and once that it receives again. A
|
|
105
|
+
dial that fails for good (an authorization refusal under a seed) is dialed again at the next
|
|
106
|
+
heartbeat, and a `/clear` made meanwhile completes on the new connection.
|
|
99
107
|
What the consumer does not hold: anything older than 72 hours, anything from before the session
|
|
100
108
|
followed the topic, and anything from before it first registered; a `/clear` starts afresh, as a
|
|
101
109
|
new session does. What the session was delivered, and where it read to, are kept in
|