mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-25 04:35:37 -04:00
docs: track simulation phase 1 tasks
This commit is contained in:
@@ -10,6 +10,18 @@ Goal: start the normal app in simulation mode and inspect/drive the TUI through
|
||||
|
||||
This phase proves the core shape without swapping every foundational layer yet.
|
||||
|
||||
Implementation checklist:
|
||||
|
||||
- [ ] Add `OPENCODE_SIMULATION=1` activation in TUI startup.
|
||||
- [ ] Add simulation trace service with in-memory append-only records.
|
||||
- [ ] Add OpenTUI UI state extraction for screen, focus, elements, and generated actions.
|
||||
- [ ] Add OpenTUI UI action execution for typing, keys, enter, arrows, focus, and click.
|
||||
- [ ] Add TUI-owned JSON-RPC WebSocket server on `127.0.0.1:40900+`.
|
||||
- [ ] Expose `ui.state`, `ui.action`, `ui.render`.
|
||||
- [ ] Expose `trace.list`, `trace.clear`, `trace.export`.
|
||||
- [ ] Ensure fake and visible renderer paths share the same action protocol.
|
||||
- [ ] Verify a local driver can inspect state and execute a real TUI input.
|
||||
|
||||
Scope:
|
||||
|
||||
- Add `OPENCODE_SIMULATION=1` activation.
|
||||
|
||||
Reference in New Issue
Block a user