@sjawhar/opencode-legion-envoy 6.18.0 → 6.19.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/dist/dispatch.js CHANGED
@@ -13801,7 +13801,10 @@ var AGENT_STREAM_LIMITS = {
13801
13801
  modelChars: 200,
13802
13802
  historyMessages: 200,
13803
13803
  historyBytes: 512 * 1024,
13804
- snapshotIntervalMs: 100
13804
+ snapshotIntervalMs: 100,
13805
+ commands: 500,
13806
+ commandNameChars: 100,
13807
+ commandDescriptionChars: 200
13805
13808
  };
13806
13809
  // ../contracts/src/claim-holds.ts
13807
13810
  function claimHolds(claim, titles) {
@@ -13765,7 +13765,10 @@ var AGENT_STREAM_LIMITS = {
13765
13765
  modelChars: 200,
13766
13766
  historyMessages: 200,
13767
13767
  historyBytes: 512 * 1024,
13768
- snapshotIntervalMs: 100
13768
+ snapshotIntervalMs: 100,
13769
+ commands: 500,
13770
+ commandNameChars: 100,
13771
+ commandDescriptionChars: 200
13769
13772
  };
13770
13773
  // ../contracts/src/dispatch-text-rules.ts
13771
13774
  var SESSION_ID_PATTERN = "[^/?#\\s\\p{Z}\\p{Cc}<>\"'`\\[\\]|]+";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/opencode-legion-envoy",
3
- "version": "6.18.0",
3
+ "version": "6.19.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/src/server.js",
@@ -32,10 +32,19 @@ session with no issue (`POST /api/v1/agents/{session_id}/messages`) stays human-
32
32
  A human can also message you directly from the **Agents** page, with no issue at all. On Oh My
33
33
  Pi, a person's **Send** or **Aside** arrives as their own user message, exactly as if they had
34
34
  typed it at your terminal: your Envoy plugin takes it only once Dispatch accepts it as a person's
35
- own fresh message to you, and injects the text Dispatch stored. Answer it in the conversation as
35
+ own fresh message to you, and runs the text Dispatch stored. Answer it in the conversation as
36
36
  you would anything typed, with no `dispatch message`; the Agents page shows your conversation
37
37
  live, so they read your answer there.
38
38
 
39
+ A Send or Aside that starts with `/` runs as the command it names, as it would at your terminal:
40
+ a prompt template or command file arrives as the user message it expands to, a `/skill:<name>`
41
+ as that skill's prompt, and slash text that names no command as the words themselves; answer each
42
+ as you would typed. A command that runs without reaching you (`/session`, `/compact`), or that
43
+ did not run (one only your own terminal runs, such as `/new`), is answered on Dispatch by your
44
+ plugin, as your reply to that message: what the command printed, or why it did not run. You
45
+ receive nothing for it and write nothing for it. A command that prints and then submits a prompt
46
+ (`/force:<tool> <prompt>`) gets the same reply, and you answer only the prompt it submitted.
47
+
39
48
  Everything else still arrives as a Dispatch frame: a **BTW**, a broadcast, a direct message on a
40
49
  host that takes no user turn from its plugin (Claude Code), and one Dispatch did not accept.
41
50
  That frame names no issue and its `reply_with` hint carries none either; answer it with the