@sjawhar/claude-envoy 5.20.0 → 5.21.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.
@@ -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": "5.20.0"
5
+ "version": "5.21.0"
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-envoy",
3
- "version": "5.20.0",
3
+ "version": "5.21.0",
4
4
  "description": "Put Envoy events into the Claude Code session's own conversation and expose Envoy MCP tools.",
5
5
  "mcpServers": {}
6
6
  }
@@ -14321,7 +14321,7 @@ function handoffProblem(value) {
14321
14321
  if (typeof body !== "string")
14322
14322
  return;
14323
14323
  if (!isJsonObjectText(body)) {
14324
- return 'body is not one JSON object: a handoff body is a JSON object such as {"schemaVersion":1}';
14324
+ return 'body is not one JSON object: a handoff body is a JSON object such as {"head":"<the commit your phase ended at>","note":"<one paragraph for the next role>"}';
14325
14325
  }
14326
14326
  return;
14327
14327
  }
@@ -14994,7 +14994,7 @@ var dispatchToolSpecs = [
14994
14994
  example: {
14995
14995
  issue: "DSP-1",
14996
14996
  phase: "implement",
14997
- body: '{"schemaVersion":1,"phase":"implement","issue":"DSP-1"}'
14997
+ body: '{"head":"0123456789abcdef0123456789abcdef01234567","note":"Run the checks with bun test src/x.test.ts in packages/x."}'
14998
14998
  },
14999
14999
  description: "Record this session's handoff for one phase of an issue: the body, one JSON object, is " + "stored on the issue exactly as sent, under this session, and read back byte for byte. Each " + "write is the next version (1, 2, ...) of that phase's handoff; earlier versions stay. Write " + "the body to a file outside your workspace and pass it with --body-file (- reads stdin). A " + "closed issue refuses it with 409 ISSUE_CLOSED, and a body over " + `${DISPATCH_HANDOFF_BODY_MAX} bytes with 413 CAP_EXCEEDED. Read it back with dispatch ` + `handoff-read. ${ISSUE_REFERENCE}`,
15000
15000
  arguments: (z) => ({
package/dist/dispatch.js CHANGED
@@ -14925,7 +14925,7 @@ function handoffProblem(value) {
14925
14925
  if (typeof body !== "string")
14926
14926
  return;
14927
14927
  if (!isJsonObjectText(body)) {
14928
- return 'body is not one JSON object: a handoff body is a JSON object such as {"schemaVersion":1}';
14928
+ return 'body is not one JSON object: a handoff body is a JSON object such as {"head":"<the commit your phase ended at>","note":"<one paragraph for the next role>"}';
14929
14929
  }
14930
14930
  return;
14931
14931
  }
@@ -15598,7 +15598,7 @@ var dispatchToolSpecs = [
15598
15598
  example: {
15599
15599
  issue: "DSP-1",
15600
15600
  phase: "implement",
15601
- body: '{"schemaVersion":1,"phase":"implement","issue":"DSP-1"}'
15601
+ body: '{"head":"0123456789abcdef0123456789abcdef01234567","note":"Run the checks with bun test src/x.test.ts in packages/x."}'
15602
15602
  },
15603
15603
  description: "Record this session's handoff for one phase of an issue: the body, one JSON object, is " + "stored on the issue exactly as sent, under this session, and read back byte for byte. Each " + "write is the next version (1, 2, ...) of that phase's handoff; earlier versions stay. Write " + "the body to a file outside your workspace and pass it with --body-file (- reads stdin). A " + "closed issue refuses it with 409 ISSUE_CLOSED, and a body over " + `${DISPATCH_HANDOFF_BODY_MAX} bytes with 413 CAP_EXCEEDED. Read it back with dispatch ` + `handoff-read. ${ISSUE_REFERENCE}`,
15604
15604
  arguments: (z) => ({
@@ -37121,7 +37121,7 @@ function handoffProblem(value) {
37121
37121
  if (typeof body !== "string")
37122
37122
  return;
37123
37123
  if (!isJsonObjectText(body)) {
37124
- return 'body is not one JSON object: a handoff body is a JSON object such as {"schemaVersion":1}';
37124
+ return 'body is not one JSON object: a handoff body is a JSON object such as {"head":"<the commit your phase ended at>","note":"<one paragraph for the next role>"}';
37125
37125
  }
37126
37126
  return;
37127
37127
  }
@@ -37794,7 +37794,7 @@ var dispatchToolSpecs = [
37794
37794
  example: {
37795
37795
  issue: "DSP-1",
37796
37796
  phase: "implement",
37797
- body: '{"schemaVersion":1,"phase":"implement","issue":"DSP-1"}'
37797
+ body: '{"head":"0123456789abcdef0123456789abcdef01234567","note":"Run the checks with bun test src/x.test.ts in packages/x."}'
37798
37798
  },
37799
37799
  description: "Record this session's handoff for one phase of an issue: the body, one JSON object, is " + "stored on the issue exactly as sent, under this session, and read back byte for byte. Each " + "write is the next version (1, 2, ...) of that phase's handoff; earlier versions stay. Write " + "the body to a file outside your workspace and pass it with --body-file (- reads stdin). A " + "closed issue refuses it with 409 ISSUE_CLOSED, and a body over " + `${DISPATCH_HANDOFF_BODY_MAX} bytes with 413 CAP_EXCEEDED. Read it back with dispatch ` + `handoff-read. ${ISSUE_REFERENCE}`,
37800
37800
  arguments: (z) => ({
@@ -62783,7 +62783,7 @@ var import_nats5 = __toESM(require_mod4(), 1);
62783
62783
 
62784
62784
  // package.json
62785
62785
  var name2 = "@sjawhar/claude-envoy";
62786
- var version2 = "5.20.0";
62786
+ var version2 = "5.21.0";
62787
62787
  var legion = {
62788
62788
  daemonApiVersion: 232
62789
62789
  };
@@ -17771,7 +17771,7 @@ function handoffProblem(value) {
17771
17771
  if (typeof body !== "string")
17772
17772
  return;
17773
17773
  if (!isJsonObjectText(body)) {
17774
- return 'body is not one JSON object: a handoff body is a JSON object such as {"schemaVersion":1}';
17774
+ return 'body is not one JSON object: a handoff body is a JSON object such as {"head":"<the commit your phase ended at>","note":"<one paragraph for the next role>"}';
17775
17775
  }
17776
17776
  return;
17777
17777
  }
@@ -18444,7 +18444,7 @@ var dispatchToolSpecs = [
18444
18444
  example: {
18445
18445
  issue: "DSP-1",
18446
18446
  phase: "implement",
18447
- body: '{"schemaVersion":1,"phase":"implement","issue":"DSP-1"}'
18447
+ body: '{"head":"0123456789abcdef0123456789abcdef01234567","note":"Run the checks with bun test src/x.test.ts in packages/x."}'
18448
18448
  },
18449
18449
  description: "Record this session's handoff for one phase of an issue: the body, one JSON object, is " + "stored on the issue exactly as sent, under this session, and read back byte for byte. Each " + "write is the next version (1, 2, ...) of that phase's handoff; earlier versions stay. Write " + "the body to a file outside your workspace and pass it with --body-file (- reads stdin). A " + "closed issue refuses it with 409 ISSUE_CLOSED, and a body over " + `${DISPATCH_HANDOFF_BODY_MAX} bytes with 413 CAP_EXCEEDED. Read it back with dispatch ` + `handoff-read. ${ISSUE_REFERENCE}`,
18450
18450
  arguments: (z) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "5.20.0",
3
+ "version": "5.21.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Claude Code plugin for Legion's Envoy bus",
6
6
  "type": "module",