@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 +32 -0
- package/dist/chunk-XNL6KP5G.js +861 -0
- package/dist/chunk-XNL6KP5G.js.map +1 -0
- package/dist/index.cjs +850 -36
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +152 -32
- package/dist/index.d.ts +152 -32
- package/dist/index.js +23 -55
- package/dist/index.js.map +1 -1
- package/dist/mcp-entry.cjs +886 -0
- package/dist/mcp-entry.cjs.map +1 -0
- package/dist/mcp-entry.d.cts +1 -0
- package/dist/mcp-entry.d.ts +1 -0
- package/dist/mcp-entry.js +47 -0
- package/dist/mcp-entry.js.map +1 -0
- package/package.json +9 -4
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
|