provide-terminal
2026-03-30
DeckMux collaborative presence, undef-terminal-pty package, security headers, OTel tracing
226 files · 20,043+ · 1,369-
undef-deckmux: collaborative terminal presence
7 files changed
hub.pyDeckMux TermHub: multi-session presence hub with control_request grant/release mixinghost.pyGhost overlay: read-only view for non-controlling observerspresence.pyCols/rows presence tracking across concurrent sessionsapp.pyDeckMux injected into HijackHost via hub_class param in create_server_appHijackHost.tsxFrontend: DeckMux collaborative terminal presence componentssession_runtime.pyDeckMux presence routing in CF Durable Object2026-03-30-deckmux-design.md464-line DeckMux design spec: collaborative terminal presence
- undef-deckmux adds collaborative terminal presence: TermHub manages concurrent session connections, ghost overlay gives non-controlling observers a read-only view, and cols/rows presence tracks each participant’s terminal dimensions. control_request grant/release coordinates who has keyboard control. E2E Playwright proof verifies collaborative presence across browser sessions.
instantiate
behavioral
2 files
hub.pyapp.py
undef-terminal-pty: PTYConnector and pam_uterm PAM module
7 files changed
connector.pyPTYConnector registered as connector_type='pty' with input validation and nosec annotationspam_session.pyPamSession: PAM lifecycle (authenticate, open_session, close_session) with input validationcapture_socket.pyCaptureSocket: Unix domain socket with path validationuid_map.pyUidMap: username to ResolvedUser mapping with validationvalidators.pyInput validators for command, username, service name, and env varspam_uterm.cpam_uterm PAM module: sshd daemon bridge for Phase 2 PAM integration_build.pylibuterm_capture C library locator
- undef-terminal-pty adds PTY support as a first-class connector type. PTYConnector registered as connector_type=‘pty’. PamSession handles PAM authentication lifecycle. pam_uterm.c is a PAM module for Phase 2 sshd daemon bridge integration in notify and capture modes. All inputs validated before use in C library calls. 100% coverage achieved in Docker.
instantiate
behavioral
2 files
connector.pypam_uterm.c
Configurable security headers and SRI for CDN resources
4 files changed
security_headers.pyConfigurable security headers middleware (CSP, HSTS, X-Frame-Options, etc.)entry.pyConfigurable security headers added to CF Workerindex.htmlSRI hashes added to all CDN resources2026-03-30-security-headers-design.mdSecurity headers design spec
- Configurable security headers middleware added to FastAPI and CF Worker: CSP, HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy. SRI (Subresource Integrity) hashes added to all CDN resources in HTML files to prevent CDN compromise attacks.
harden
behavioral
2 files
security_headers.pyentry.py
OTel distributed tracing integration and session management API
2 files changed
app.pyOpenTelemetry distributed tracing wired via undef.telemetrysessions.pySession search/filter API, inactivity timeout, retention sweep, bulk delete, and structured audit logging
- OpenTelemetry distributed tracing integrated via undef.telemetry, adding trace context to all server request spans. Session management API extended with search/filter, configurable inactivity timeout, retention sweep for expired sessions, and bulk delete. Structured audit logging added for security-relevant API operations.
instantiate
behavioral
2 files
app.pysessions.py
Package namespace rename to undef-terminal-*
2 files changed
pyproject.tomlPackage renamed from undef-render to undef-terminal-renderpyproject.tomlPackage renamed from undef-shell to undef-terminal-shell
- All monorepo packages renamed to undef-terminal-* namespace for consistency: undef-shell → undef-terminal-shell, undef-render → undef-terminal-render. undef-deckmux added as new package. Shell render module moved from undef-shell to undef-terminal-shell.
baseline
internal
2 files
pyproject.tomlpyproject.toml
Release pipeline standardization: TestPyPI, Sigstore, auto-publish
1 file changed
release.ymlStandardized release pipeline: TestPyPI staging with verification, auto PyPI publish on release tag, Sigstore artifact signing