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
+12
View File
@@ -0,0 +1,12 @@
export {
TERMINAL_INPUT_WS_PATH,
TERMINAL_INPUT_WS_CONTROL_TAG_JSON,
TERMINAL_INPUT_WS_MAX_PAYLOAD_BYTES,
parseRequestPathname,
normalizeTerminalInputWsMessageToBuffer,
normalizeTerminalInputWsMessageToText,
readTerminalInputWsControlFrame,
createTerminalInputWsControlFrame,
pruneRebindTimestamps,
isRebindRateLimited,
} from './input-ws-protocol.js';