@sjawhar/claude-envoy 6.5.0 → 6.6.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.
- package/.claude-plugin/plugin.json +1 -1
- package/.omp-plugin/plugin.json +1 -1
- package/README.md +6 -3
- package/dist/codex-hook.js +337 -126
- package/dist/dispatch.js +804 -156
- package/dist/envoy-channel.js +341 -130
- package/dist/session-hook.js +337 -126
- package/dist/session-title-hook.js +0 -3
- package/package.json +1 -1
- package/src/codex/codex-server.ts +1 -1
package/.omp-plugin/plugin.json
CHANGED
package/README.md
CHANGED
|
@@ -36,7 +36,8 @@ message from Dispatch's Agents page as that person's own turn.
|
|
|
36
36
|
Dispatch is on or off, a checkout's
|
|
37
37
|
`.opencode/envoy.json`, which is not read, is one `envoy: <file> is not read: mkdir -p … && mv …`
|
|
38
38
|
line while the checkout has no `.envoy/envoy.json`. The `dispatch` command reads the file
|
|
39
|
-
`ENVOY_CONFIG_FILE` names whenever `DISPATCH_HOST` is set
|
|
39
|
+
`ENVOY_CONFIG_FILE` names whenever `DISPATCH_HOST` is set (`dispatch login` reads none, and
|
|
40
|
+
`dispatch proxy` none without `DISPATCH_TOKEN_BROKER=1`). A subagent's Bash can lack what the
|
|
40
41
|
hook writes there (Claude Code issue 46696); its `dispatch` command, finding no
|
|
41
42
|
`DISPATCH_HOST`, then takes host `claude` from the `CLAUDE_CODE_CHILD_SESSION=1` Claude Code sets
|
|
42
43
|
in every Bash, and reads `CLAUDE_CONFIG_DIR` itself. With Dispatch configured,
|
|
@@ -248,7 +249,8 @@ which Claude Code sets fresh in every Bash command and moves to the new id on `/
|
|
|
248
249
|
`DISPATCH_SESSION_ID` inherited from a parent session is ignored. A write that makes the session
|
|
249
250
|
follow an ask prints `Following ask <id> on <issue>: …` once per ask, after its result; a result
|
|
250
251
|
longer than 25,000 characters is written to a file the output names. It reads the envoy.json
|
|
251
|
-
below on every call.
|
|
252
|
+
below on every call. `dispatch login` acts as no session and reads no envoy.json, and
|
|
253
|
+
`dispatch proxy` reads it only under `DISPATCH_TOKEN_BROKER=1`.
|
|
252
254
|
|
|
253
255
|
Dispatch asks remain on native Dispatch.
|
|
254
256
|
An Envoy delivery is one-way ingress, not a remote
|
|
@@ -573,7 +575,8 @@ socket carries no agent stream, so neither live view
|
|
|
573
575
|
takes its control subject and the Agents page shows nothing of the session's turns, which the
|
|
574
576
|
start notice says. The `open-asks` hook
|
|
575
577
|
hands the file on to the session's Bash as `ENVOY_CONFIG_FILE` beside `DISPATCH_HOST=claude`, and
|
|
576
|
-
the `dispatch` command reads the file `ENVOY_CONFIG_FILE` names whenever `DISPATCH_HOST` is set
|
|
578
|
+
the `dispatch` command reads the file `ENVOY_CONFIG_FILE` names whenever `DISPATCH_HOST` is set
|
|
579
|
+
(but for `dispatch login`, and for `dispatch proxy` without `DISPATCH_TOKEN_BROKER=1`); a
|
|
577
580
|
Bash with neither, as a subagent's can be, has `CLAUDE_CODE_CHILD_SESSION=1` and takes this plugin's
|
|
578
581
|
rule. With Envoy off the channel server lists no tool, refuses every call with
|
|
579
582
|
`Envoy is off for this session: <why>` (the section's notice or error), subscribes nothing, and
|