@yesod/openclaw 0.0.1 → 0.1.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 ADDED
@@ -0,0 +1,32 @@
1
+ # @yesod/openclaw
2
+
3
+ OpenClaw runtime adapter for [Yesod](https://github.com/eryv-ai/yesod) — orchestration toolkit that makes AI agents delegate better and lets humans see why.
4
+
5
+ Translates Yesod's orchestration primitives into OpenClaw gateway calls via WebSocket, handles device identity authentication, event translation, result parsing, and exposes an MCP server for agent-facing tools.
6
+
7
+ ## Key Components
8
+
9
+ - **OpenClawAdapter** — full `RuntimeAdapter` implementation: spawn, send, kill, status, event translation
10
+ - **GatewayWebSocketClient** — WebSocket client with Ed25519 device identity, challenge-response auth, request correlation, and auto-reconnect
11
+ - **MCP Server** — exposes `yesod_create_workflow`, `yesod_workflow_status`, `yesod_cancel_workflow`, `yesod_cost_summary` over stdio
12
+ - **Prompt enrichment** — injects ResultSpec formatting instructions and prior step context into child agent instructions
13
+ - **Output parser** — parses child agent output into typed StructuredOutput (summary, diff, review, test, structured)
14
+
15
+ ## Supported Runtimes
16
+
17
+ - **Claude Code** — `sessions_spawn({ runtime: "acp", agentId: "claude-code" })`
18
+ - **Codex** — `sessions_spawn({ runtime: "acp", agentId: "codex" })`
19
+ - **Subagent** — `sessions_spawn({ runtime: "subagent" })`
20
+
21
+ ## Status
22
+
23
+ Phase 0 complete. Full adapter and MCP server implemented and tested (39 tests).
24
+
25
+ ## Links
26
+
27
+ - [GitHub](https://github.com/eryv-ai/yesod)
28
+ - [Adapter Design](https://github.com/eryv-ai/yesod/blob/main/docs/concept/06-openclaw-adapter.md)
29
+
30
+ ## License
31
+
32
+ MIT