provide-terminal
2026-03-04
Cloudflare Worker package added with JWT auth, capability-based authorization, and pre-commit profile aligned with bbsbot strictness
213 files · 17,463+ · 1,949-
Cloudflare Worker Package
19 files changed
__init__.pyCloudflare package init__main__.pyPackage entry pointentry.pyCloudflare Worker entry pointhttp_routes.pyHTTP routes for the CF Workerws_routes.pyWebSocket routes for the CF Workerhijack.pyHijack bridge for CF Workerupstream_ws.pyUpstream WS bridgecf_types.pyCloudflare type definitionscli.pyCF Worker CLIconfig.pyCF Worker configurationcontracts.pyAPI contract definitions__init__.pyDurable Object package initsession_runtime.pyDurable Object session runtime__init__.pyState package initstore.pyState store__init__.pyUI package initassets.pyUI static asset servingwrangler.tomlWrangler deployment configurationpyproject.tomlCloudflare package metadata
- Cloudflare Worker package added with raw WebSocket bridge supporting SSH and telnet proxy connections through CF Workers.
interface
behavioral
3 files
entry.pyupstream_ws.pyws_routes.py
- Merge conflicts resolved during Cloudflare worker package integration.
remediate
internal
1 file
pyproject.toml
JWT Auth
4 files changed
jwt.pyJWT verification and capability-based authorizationconfig.pyJWT deployment configurationauth.pyServer-side auth hardeningauthorization.pyCapability-based server authorization
- Production JWT deployment config added with live JWT E2E test coverage.
qualify
internal
2 files
config.pytest_auth_jwt.py
- JWT auth enforced with capability-based server authorization in the Cloudflare Worker.
harden
behavioral
2 files
jwt.pyauthorization.py
- Server auth and runtime hardened; handoff checklist added.
harden
internal
2 files
auth.pyruntime.py
Pre-Commit and Lint
2 files changed
.pre-commit-config.yamlPre-commit config aligned with bbsbot strictness: ty, mypy, codespell, Ruff Spyproject.tomlRuff S rules and lint profile updates
- Lint and type gate profile aligned with bbsbot strictness (ty, mypy, codespell).
baseline
errata
1 file
.pre-commit-config.yaml
- Strict pre-commit profile made fully green.
streamline
internal
2 files
.pre-commit-config.yamlpyproject.toml
- Lint profile tightened (RUF/ARG rules); hooks kept green.
streamline
errata
1 file
pyproject.toml
- Ruff S (security) rules enabled with pragmatic noise controls.
baseline
behavioral
2 files
pyproject.toml.pre-commit-config.yaml
Type Fixes
6 files changed
ssh.pyty diagnostics fixed for SSH transportwebsocket.pyty diagnostics fixed for WebSocket transportgateway.pyty diagnostics fixed for gatewaywebsockets.pyty diagnostics fixed for hijack WS routesrest.pyty diagnostics fixed for hijack REST routestelnet.pyty diagnostics fixed for telnet transport
- ty diagnostics resolved for SSH transport, gateway, and session logger tests after merge conflict resolution.
qualify
internal
2 files
ssh.pygateway.py
- ty diagnostics resolved for WebSocket transport, telnet transport, and Playwright tests.
qualify
internal
2 files
websocket.pytelnet.py
- ty diagnostics resolved for hijack module tests.
qualify
internal
2 files
websockets.pyrest.py
SessionRuntime Export
1 file changed
entry.pySessionRuntime kept exported from Cloudflare entry point
Recording
5 files changed
test_auth_jwt.pyJWT auth teststest_contracts.pyContract teststest_entry.pyEntry point teststest_hijack.pyCF hijack teststest_store.pyState store tests