yoi/crates/worker-runtime
2026-07-11 03:55:44 +09:00
..
src runtime: remove worker transcript projection 2026-07-11 03:55:44 +09:00
Cargo.toml feat: add backend resource fetch api 2026-07-08 20:18:38 +09:00
README.md fix: refine workspace runtime UI 2026-07-06 22:51:25 +09:00

worker-runtime

worker-runtime owns the Runtime authority surface for Worker management. A Runtime process bundles Worker lifecycle management, the HTTP/WebSocket control API, and the Worker execution backend.

Run the local Runtime server

From the repository root:

cargo run -p worker-runtime \
  --features ws-server,fs-store \
  --bin worker-runtime-rest-server \
  -- --workspace .

By default the server listens on:

127.0.0.1:38800

To bind another address explicitly:

cargo run -p worker-runtime \
  --features ws-server,fs-store \
  --bin worker-runtime-rest-server \
  -- --workspace . --bind 127.0.0.1:38800

--workspace is currently a legacy bootstrap input for the v0 local materializer / Worker profile resolution path. It is not intended to be the long-term Runtime identity or a single-workspace binding. Future Runtime launches should receive Workspace / Repository context through Worker launch requests and config bundles instead.

The REST server is intended for a trusted Backend/proxy, not direct browser access.