Crate ctb_runtime

Crate ctb_runtime 

Source
Expand description

Subprocess runtime, job supervisor, and execution environment manager.

Modules§

cli
CLI argument parsing and execution dispatch for ctoolbox run.

Structs§

ExecutionContext
Execution context for document evaluation and capability permission gating.
SystemSupervisorAdmission
Authenticated System supervisor bootstrap admission and compiled local resource counters.
WasmExecutionResult
Result of running a [DcWasmSession] under ExecutionContext.
WasmExecutionTrace
Complete observable execution trace and result of a [DcWasmSession] run, including the active System supervisor revision, dependency snapshot, accounting version, and canonical resource configuration snapshot required for deterministic replay.

Enums§

PermissionDecision
Multi-state capability permission decision.
Privilege
Capability privilege requested by a running document.
RuntimeValue
Native Document Character runtime value.
WasmTraceEvent
Observable execution trace event recorded during a [DcWasmSession] run.

Traits§

StartIpcClientExt
Auto-generated IPC client extension for this method.
TestPrependIpcClientExt
Auto-generated IPC client extension for this method.
TestSimpleNestedDocumentIpcClientExt
Auto-generated IPC client extension for this method.

Functions§

init_ipc_context
Initialize the runtime service’s IPC context.
ipc
post_frame_to_workspace
Post a rendered frame to the workspace.
start
Start a document runtime with the provided document data.
test_prepend
Test method: prepend a string to the document.
test_simple_nested_document
Test function demonstrating nested document runtime spawning via dependency-injected IPC.