refactor(terminal): move terminal input websocket protocol into terminal domain module (#475)

* refactor(server): move terminal input ws protocol module

* test(server): move terminal input ws protocol test

* refactor(server): add terminal domain entrypoint exports

* refactor(server): switch terminal protocol import to domain index

* docs(server): add terminal module documentation

* docs: register terminal module in documentation map
This commit is contained in:
Nelson Pires
2026-02-22 22:02:31 +02:00
committed by GitHub
parent c840c159c6
commit 107e19a0dd
6 changed files with 132 additions and 2 deletions
+4
View File
@@ -49,6 +49,10 @@ GitHub authentication, OAuth device flow, Octokit client factory, and repository
OpenCode server integration utilities including config management, provider authentication, and UI authentication.
- Module docs: `packages/web/server/lib/opencode/DOCUMENTATION.md`
##### terminal
WebSocket protocol utilities for terminal input handling including message normalization, control frame parsing, and rate limiting.
- Module docs: `packages/web/server/lib/terminal/DOCUMENTATION.md`
## Build / dev commands (verified)
All scripts are in `package.json`.
- Validate: `bun run type-check`, `bun run lint`