ReCursor — A Flutter mobile app providing OpenCode-like UI/UX for AI coding agents, with events sourced from Claude Code via supported integration mechanisms (Hooks/Agent SDK).
| Document | Description |
|---|---|
| idea.md | Project vision and core concept |
| PLAN.md | Implementation roadmap and phases |
| Document | Description |
|---|---|
| architecture/overview.md | System architecture and component diagram |
| architecture/data-flow.md | Message flow between mobile app, bridge, and agent |
| project-structure.md | Flutter directory layout and module organization |
| data-models.md | Drift schemas, Hive models, and domain entities |
| Document | Description |
|---|---|
| integration/claude-code-hooks.md | Claude Code Hooks integration (event observation) |
| integration/agent-sdk.md | Agent SDK for parallel agent sessions |
| integration/opencode-ui-patterns.md | OpenCode UI component patterns for Flutter |
| bridge-protocol.md | WebSocket message protocol between app and bridge |
| Document | Description |
|---|---|
| security-architecture.md | Network security, auth, cert pinning, bridge authorization |
| offline-architecture.md | Drift/Hive storage, sync queue, conflict resolution |
| push-notifications.md | WebSocket-based notifications and local alerts |
| Document | Description |
|---|---|
| ci-cd.md | GitHub Actions + Fastlane pipeline |
| testing-strategy.md | Testing pyramid and CI integration |
| Document | Description |
|---|---|
| research/claude-remote-control-2026-03-17.md | Claude Code Remote Control protocol research |
| research/claude-code-integration-feasibility-2026-03-17.md | Integration options analysis |
| research.md | Ecosystem research — agents, Flutter clients, references |
| Document | Description |
|---|---|
| wireframes/README.md | All screen wireframes organized by feature module |
flowchart TB
subgraph Mobile["📱 ReCursor Flutter App"]
UI["OpenCode-like UI\n(Tool Cards, Diff Viewer, Timeline)"]
State["Riverpod State Management"]
WSClient["WebSocket Client"]
end
subgraph Desktop["💻 Development Machine"]
Bridge["ReCursor Bridge Server\n(TypeScript)"]
Hooks["Claude Code Hooks\n(HTTP Event Observer)"]
AgentSDK["Agent SDK Session\n(Parallel, Optional)"]
CC["Claude Code CLI"]
end
subgraph Anthropic["☁️ Anthropic API"]
API["Claude API"]
end
UI <--> State
State <--> WSClient
WSClient <-->|wss:// (Tailscale/WireGuard)| Bridge
Bridge <-->|HTTP POST| Hooks
Hooks -->|Observes| CC
Bridge <-->|Optional| AgentSDK
AgentSDK <-->|API Calls| API
CC <-->|Internal| API
Key Constraint: Claude Code Remote Control is first-party only (claude.ai/code, official mobile apps). Third-party clients must use Hooks for event observation and Agent SDK for parallel sessions.
⚠️ Claude Code Remote Control Protocol: The Remote Control feature is designed exclusively for first-party Anthropic clients. There is no public API for third-party clients to join or mirror existing Claude Code sessions.Supported Integration Path:
- Claude Code Hooks — HTTP-based event observation (one-way)
- Agent SDK — Parallel agent sessions (not mirroring)
- MCP (Model Context Protocol) — Tool interoperability
This documentation is a living document. When making changes:
- Update the relevant
.mdfile in the appropriate section - Ensure cross-references use relative paths
- Add Mermaid diagrams for complex flows
- Update this README index if adding new documents
Last updated: 2026-03-17