@echothink-ui/workbench-runtime
v0.1.0
Published
Generic bundle + runtime-driven workbench logic (process registry, view binding, work-item projection, execution-form derivation, inspection host) shared by EchoThink workspace apps.
Readme
@echothink-ui/workbench-runtime
Generic, bundle + runtime-driven workbench logic shared by EchoThink workspace apps (dataset-collection, voice-collection, …). It owns the pieces that were previously duplicated per app and had real bugs.
This package is part of the EchoThink-UI app-domain library. It is designed for normal website app domains rendered inside EchoThink Studio's Chromium shell.
What it provides
- Process registry + view binding (
buildProcessRegistry,specFor,executionViewFor,inspectionViewFor) — binds each process to its OWN execution/inspection object_view using the compiler-emittedexecutionViewRef/inspectionViewRefs, with an entity heuristic fallback for older bundles. - Execution-form derivation (
execFieldsFor,controlFor,enumOptions,buildExternalInput) +ExecutionHost— generic schema-driven form with an app-injected bespoke-view registry; artifact fields use the shared@echothink-ui/formsArtifactUpload. - Work-item projection (
listWorkItems,ClaimLockStore,groupByBatch) — filters to the identity's group AND non-automatic processes, with direct assignment, claim-locks, batch grouping, routine/action rows and SLA pass-through. InspectionHost— read-only entity detail + group aggregate + lazy-stream summary panel.
Injection
The package never imports @echothink/runtime. Apps inject a RuntimeReads
(read surface over the in-browser VM) and a RunProcess driver from their bridge.
