bookclerk_workerd
Library surface for the pinned Cloudflare workerd helper and egress policy.
The bookclerk-workerd launcher binary and host packaging (cargo ensure-workerd).
Guest authors do not link this crate; they run inside the isolate it configures.
See docs/plugins/README.md for jail / workerd isolation requirements.
bridge_http::generate_bridge_tokenconfig::adapter_binding_planconfig::generated_backend_proxy_planconfig::materialize_native_backendconfig::BindingSpecconfig::BindingTargetconfig::EntrypointSourceconfig::GeneratedConfigconfig::ListenSpecconfig::WORKERD_SERVE_EXPERIMENTALegress::EgressProxyensure::ensure_pyodide_bundleensure::ensure_workerdensure::pyodide_bundle_dirensure::workerd_bin_pathgrant::OperatorGrantEnvpin::binary_namepin::pyodide_bundle_urlpin::BUNDLED_WORKERD_COMPAT_DATEpin::PYODIDE_BUNDLE_DIRpin::PYODIDE_BUNDLE_FILEpin::PYODIDE_BUNDLE_SHA256_HEXpin::WORKERD_RELEASE_TAGpin::WORKERD_VERSION_STAMP
bridge_addr: Where the launcher reaches workerd's bridge RPC socket, and the stream it gets.bridge_http: Minimal HTTP/1.1 client for the workerd bridge (JSON control plane, Cap'n Proto/invokebodies, and streamed object bodies).bridge_stdio: Bookclerk Cap'n Proto stdio adapter over the workerd HTTP bridge.config: Generate a real workerd Cap'n Proto config for one plugin isolate.control: Control messages workerd writes on--control-fd: the port each socket bound.egress: Host egress policy for workerd guests (wraps sharedEgressPolicy).egress_relay: The launcher's egress relay: a workerd isolate's only way out of its jail.ensure: Download / refresh the pinned Cloudflareworkerdbinary.grant: Operator consent grant overrides delivered tobookclerk-workerdvia env.granted: Host-granted HTTP reverse channel for workerd isolates:JobRunner.jobstreams (Source/Destination/ProgressSink), the job'sCancellationlong poll (/cancel), named database sessions (/db/execute,/db/execute-streamed), and theEVENTSoutbox binding (/events/publish,/events/read), theNOTIFYbinding (/notify/raise), theAIbinding (/ai/run), and theSOCKETSbroker binding (/sockets/*, parsed incrate::granted_sockets).granted_http: Sans-IO HTTP/1.1 parsing for the granted reverse channel.granted_sockets:POST /sockets/<op>on the granted reverse channel: a workerd isolate'senv.SOCKETScalls, parsed and answered over plain byte slices.granted_webhooks:POST /webhooks/<op>on the granted reverse channel: a workerd isolate'senv.WEBHOOKScalls, parsed and answered over plain byte slices.inherited_link: Open a host-inherited sibling link (fd:<n>/handle:<n>) as a Tokio stream.invoke:POST /invoke: the Cap'n Proto data plane between the launcher and the adapter isolate.pin: Pinned Cloudflareworkerdrelease metadata shared withbookclerk-dev.python_snapshot: Python start-up snapshots for workerd isolates.socket_broker: The socket broker: holds a plugin instance's WebSockets while its guest sleeps.socket_proxy: Host-mediated TCP proxy for native-behind-workerd guests.socket_table: The socket broker's bookkeeping, without I/O.state_sweep: Removes isolate state directories that a killed launcher left behind.unix_bind: Unix-domain listeners that stay undersockaddr_unlimits.webhook_request: Sans-IO checks for one request on the public webhook route (POST /hooks/<token>/<name>), in the order the route applies them.
Generated from crates/bookclerk-workerd at main · View as Markdown