@jr2/agent-protocol 0.2.0 → 0.3.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/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # @jr2/agent-protocol
2
2
 
3
- The Orchestrator↔Agent wire for jr2: `defineEvent` and nothing else — a pure leaf both `@jr2/orchestrator` and the
4
- Adapter that serves an Agent its Menu depend on, so an event an Agent can deliver is typed once and read the same way on
5
- both ends.
3
+ The Orchestrator↔Agent wire for jr2: `defineEvent` and nothing else — a pure leaf `@jr2/orchestrator` depends on, so an
4
+ event an Agent can deliver is typed once. The Harness reads the same definition off the wire, as the JSON Schema the
5
+ Menu offers its model.
6
6
 
7
7
  You rarely depend on this directly; a Workflow imports what it needs from `@jr2/orchestrator`. Docs, glossary, and
8
8
  architecture decisions: [github.com/snapwich/jr2](https://github.com/snapwich/jr2).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jr2/agent-protocol",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "The jr2 Orchestrator↔Agent wire: defineEvent and nothing else.",
5
5
  "license": "MIT",
6
6
  "private": false,
package/src/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // The minimal shared vocabulary both sides must agree on to talk: the `defineEvent` mechanism
4
4
  // (workflows declare their own control events — jr2 ships none, ADR-0011) and an example event
5
5
  // set. A pure leaf — no MCP server, no flue, no xstate. (The old `mcpPath` addressing rule died
6
- // with ADR-0013: the MCP surface lives in the Sandbox's Adapter, which builds its own paths.)
6
+ // with ADR-0013: the Harness reads its Menu at `/agents/<iid>/surface` and builds its own paths.)
7
7
 
8
8
  export * from "./define-event.ts";
9
9
  export * from "./examples.ts";