You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c65a7d5
Browse filesBrowse the repository at this point in the historyBrowse files
- This package is the V2 CLI adapter. Run its `dev` script when testing the TUI; do not use the repository-root `bun dev`, which launches the legacy `packages/opencode` CLI.
26
-
- Run commands from `packages/cli`. Use `bun dev --standalone` for most debugging so the TUI starts with a private V2 server instead of depending on the background service.
26
+
- Run commands from `packages/cli`. Use `bun dev` for most debugging so the TUI starts with a private V2 server.
27
27
- Use `termctrl` for interactive checks instead of starting the TUI as a blocking foreground process. It provides a real PTY, handles OpenTUI's host handshake, and can save reviewable screenshots.
28
28
- Use a dedicated session name and do not reuse or kill an unrelated session.
29
29
30
30
```bash
31
-
termctrl start opencode-v2-dev --host opentui --cols 112 --rows 34 -- bun dev --standalone
31
+
termctrl start opencode-v2-dev --host opentui --cols 112 --rows 34 -- bun dev
- Source changes may require restarting the process. Use `termctrl restart opencode-v2-dev` rather than assuming the running TUI reloaded the change.
59
-
- To exercise background-service behavior, omit `--standalone`. Service lifecycle commands are available through`bun dev service start`, `bun dev service status`, and `bun dev service stop`.
59
+
- To exercise background-service behavior, use`bun dev service start`, `bun dev service status`, and `bun dev service stop`.
60
60
- Always clean up the Terminal Control session when the check is complete:
61
61
62
62
```bash
@@ -85,7 +85,7 @@ bun dev api <operationId> --param key=value
0 commit comments