@@ -34,7 +34,7 @@ Keep crate dependencies inside each layer to the smallest set needed.
3434| ---| ---| ---| ---| ---| ---|
3535| 1 | Interfaces and entrypoints | ` src/apps/* ` , ` src/web-ui ` , ` src/mobile-web ` , ` BitFun-Installer ` , ` tests/e2e ` , ` src/crates/interfaces ` | Product hosts, commands, UI entrypoints, protocol interfaces, and cross-surface tests | desktop, CLI, server, relay, Web UI, mobile web, installer, E2E, ` acp ` , ` sdk-host ` | nearest local ` AGENTS.md ` ; [ interfaces] ( src/crates/interfaces/AGENTS.md ) |
3636| 2 | Product assembly | ` src/crates/assembly ` | Compatibility exports, product capability selection, product-full wiring, immutable built-in Agent content, adapter/service registration, and ecosystem-neutral source coordination | ` agent-content ` , ` core ` , ` external-sources ` , ` product-capabilities ` | [ AGENTS.md] ( src/crates/assembly/AGENTS.md ) |
37- | 3 | Adapters | ` src/crates/adapters ` | AI/transport/WebDriver protocol adapters, external AI work source adapters (OpenCode/Claude Code/Codex), and external-provider translation | ` agent-runtime-ipc ` , ` ai-adapters ` , ` opencode-adapter ` , ` claude-code-adapter ` , ` codex-adapter ` , ` static-hook-support ` , ` transport ` , ` webdriver ` | [ AGENTS.md] ( src/crates/adapters/AGENTS.md ) |
37+ | 3 | Adapters | ` src/crates/adapters ` | AI/transport/WebDriver protocol adapters, external AI work source adapters (OpenCode/Claude Code/Codex), and external-provider translation | ` ai-adapters ` , ` opencode-adapter ` , ` claude-code-adapter ` , ` codex-adapter ` , ` static-hook-support ` , ` transport ` , ` webdriver ` | [ AGENTS.md] ( src/crates/adapters/AGENTS.md ) |
3838| 4 | Services | ` src/crates/services ` | Reusable OS, filesystem, terminal, MCP, remote, git, watch, process, LSP plugin registry, session persistence primitives, MiniApp runtime IO, and network implementations | ` services-core ` , ` services-integrations ` , ` miniapp-market-service ` , ` relay-service ` , ` page-function-runtime ` , ` terminal ` | [ AGENTS.md] ( src/crates/services/AGENTS.md ) |
3939| 5 | Execution primitives | ` src/crates/execution ` | Portable agent, harness, stream, DeepReview policy/report, plugin runtime client, typed-service, tool-contract, tool-group, and tool-execution building blocks | ` agent-runtime ` , ` agent-stream ` , ` tool-contracts ` , ` harness ` , ` plugin-runtime-client ` , ` runtime-services ` , ` tool-provider-groups ` , ` tool-execution ` , ` tool-call-jsonrepair ` | [ AGENTS.md] ( src/crates/execution/AGENTS.md ) |
4040| 6 | Stable contracts and product domains | ` src/crates/contracts ` | Shared DTOs, event shapes, runtime ports, LSP protocol/plugin DTOs, and product domain contracts/policies | ` core-types ` , ` events ` , ` runtime-ports ` , ` product-domains ` | [ AGENTS.md] ( src/crates/contracts/AGENTS.md ) |
0 commit comments