provide-terminal
2026-03-19
Control-stream framing, TypeScript hijack client, generic LineEditor, and mutant test reorganization
312 files · 56,663+ · 8,816-
Control-stream framing and session resumption protocol
17 files changed
control_stream.pyControl-stream framing layer with inline protocol encodingframes.pyHijack frame definitions for control-stream protocolcore.pyHub core updated for control-stream framingpolling.pyPolling updated for control-streamresume.pySession resumption through new framing protocolbrowser_handlers.pyBrowser handlers updated for framingrest.pyREST helpers updatedwebsockets.pyWebSocket routes with control-stream framingrest_helpers.pyREST helper utilitiesmodels.pyHijack data models updatedcontrol_ws.pyControl-stream WebSocket client__init__.pyClient package updatedhttp_routes.pyCF HTTP routes updated for framingws_routes.pyCF WS routes updated for framingsession_runtime.pyDO session runtime updated for framing_session_runtime_io.pySession runtime I/O extractedws_helpers.pyWS helpers updated
- Added control-stream framing layer for WebSocket sessions with inline protocol encoding. Session resumption now works through the new framing protocol.
interface
behavioral
4 files
control_stream.pyframes.pywebsockets.pycontrol_ws.py
- Refactored hijack.py into a package with REST helpers and manager process improvements.
decouple
internal
2 files
rest_helpers.pymodels.py
Convert hijack.js to TypeScript
8 files changed
hijack.tsTypeScript hijack client (replaces hijack.js)hijack.test.tsVitest test suite for the TypeScript hijack clienthijack-codec.tsTypeScript hijack codechijack-codec.test.tsVitest tests for hijack codectsconfig.jsonTypeScript config for frontend packagevitest.config.tsVitest configurationhijack-codec.jsCompiled hijack codechijack.jsCompiled hijack JS from TypeScript source
Generic LineEditor for readline-style editing
2 files changed
line_editor.pyLineEditor: history, cursor movement, backspace readline-style editingtest_line_editor.pyLineEditor test suite
- Added a generic
LineEditorcomponent toundef.terminalsupporting readline-style line editing (history, cursor movement, backspace). instantiate behavioral2 files
line_editor.pytest_line_editor.py
Memory optimization in ANSI and control-stream hot paths
9 files changed
ansi.pyANSI parser memory allocation optimizedcontrol_stream.pyControl-stream encoder memory allocation optimizedmemray_ansi_stress.pymemray ANSI stress test scriptmemray_gateway_stress.pymemray gateway stress test scriptmemray_hub_stress.pymemray hub stress test scriptrun_memray_stress.pymemray stress test runnertest_ansi_stress.pyANSI memory stress teststest_gateway_stress.pyGateway memory stress teststest_hub_stress.pyHub memory stress tests
- Optimized memory allocation in ANSI parser and control-stream hot paths. memray stress test infrastructure added for ANSI, gateway, and hub.
streamline
internal
4 files
ansi.pycontrol_stream.pytest_ansi_stress.pytest_hub_stress.py
Mutation test reorganization into tests_mutation package
9 files changed
__init__.pyDedicated mutation tests package rootconftest.pyMutation tests conftest__init__.pyClient mutation tests__init__.pyHijack mutation tests__init__.pyManager mutation tests__init__.pyMCP mutation tests__init__.pyServer mutation tests__init__.pyTerminal mutation tests__init__.pyTransports mutation tests
CI and test infrastructure fixes
7 files changed
ci.ymlCI workflow updates.pre-commit-config.yamlPre-commit config updatesmax-loc-baseline.jsonLOC baseline updated.pymutant-quarantine.jsonMutant quarantine listtest_coverage_process_windows.pyWindows process-tree smoke test for the manager CItest_reconnect_spinner.pyPlaywright reconnect spinner testconftest.pyRoot conftest updated
- Added Windows process-tree smoke test for the manager CI.
qualify
internal
1 file
test_coverage_process_windows.py
- Fixed
taskkill /T /Fon Windows to kill the full process tree immediately (was using graceful kill first). remediate internal1 file
ci.yml
- Fixed dashboard link locators using
.firstto handle multiple sessions. remediate behavioral1 file
test_reconnect_spinner.py
- Resolved undef-telemetry dependency from PyPI instead of local path in CI. Split oversized test files and restored 100% coverage.
remediate
behavioral
2 files
ci.yml.pre-commit-config.yaml
ARD documents and updated docs
8 files changed
ard-command-approval-workflows.mdARD: command approval workflowsard-multi-session-fanout.mdARD: multi-session fanoutard-presence-collaboration-layer.mdARD: presence collaboration layerard-realtime-anomaly-detection.mdARD: realtime anomaly detectionard-session-audit-compliance-recording.mdARD: session audit compliance recordingTESTING.mdTesting documentationprocess-tree-hijack-typing-note.mdProcess tree hijack typing noteMEMRAY_ANALYSIS.mdmemray analysis documentation
- Five new ARD (Architecture Reference Documents) covering command approval, multi-session fanout, presence collaboration, realtime anomaly detection, and session audit compliance.
specify
internal
5 files
ard-command-approval-workflows.mdard-multi-session-fanout.mdard-presence-collaboration-layer.mdard-realtime-anomaly-detection.mdard-session-audit-compliance-recording.md