@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 +3 -3
- package/package.json +1 -1
- package/src/index.ts +1 -1
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
|
|
4
|
-
|
|
5
|
-
|
|
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
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
|
|
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";
|