feat(plugins): isolate device integrations
This commit is contained in:
@@ -36,6 +36,8 @@ The separate SDK v0alpha2 package establishes executable contracts for:
|
||||
- independently revisioned enrollment, connectivity, and acquisition states;
|
||||
- operation policy, request, acknowledgement, progress, completion, failure,
|
||||
timeout, cancellation, secret reference, and idempotency boundaries;
|
||||
- immutable pre-session runtime-action invocation and result envelopes used by
|
||||
the active backend dispatcher;
|
||||
- canonical point cloud, pose, image, encoded video, and device-status streams;
|
||||
- immutable evidence handles, raw transport records, lineage, and store
|
||||
protocol;
|
||||
@@ -49,11 +51,13 @@ compatibility profile and adapter.
|
||||
|
||||
Current host implementation references:
|
||||
|
||||
- `apps/control-station/src/core/device-plugins/` — TypeScript manifest and UI
|
||||
contribution contracts;
|
||||
- `apps/control-station/src/core/device-plugins/frontendSdk.ts` — current
|
||||
public TypeScript/React host surface for statically reviewed UI contributions;
|
||||
- `plugins/xgrids-k1/frontend/` — first physically plugin-owned consumer of
|
||||
that frontend surface;
|
||||
- `apps/control-station/src/core/runtime/` — normalized runtime envelope;
|
||||
- `src/k1link/web/plugin_catalog.py` — strict backend manifest validation;
|
||||
- `src/k1link/web/plugin_runtime.py` — host-owned allowlisted action dispatcher;
|
||||
- `src/k1link/web/plugin_runtime.py` — host-owned allowlisted SDK-envelope action dispatcher;
|
||||
- `src/k1link/web/device_plugin_composition.py` — manifest factory loader and
|
||||
startup parity checks;
|
||||
- `docs/adr/0003-device-plugin-ui-and-runtime-boundary.md` — accepted boundary
|
||||
@@ -66,6 +70,11 @@ milestone. v0alpha2 models secret references and operation policy, but host
|
||||
authorization and the actual secret vault remain separate implementation
|
||||
responsibilities.
|
||||
|
||||
The React surface is not yet an independently published npm package. Its alias
|
||||
is intentionally narrow so plugin source cannot import Control Station
|
||||
implementation paths; packaging and signing it belong to the supervisor/bundle
|
||||
milestone.
|
||||
|
||||
## Version policy
|
||||
|
||||
v0alpha2 may receive additive fields while it remains experimental. A breaking
|
||||
|
||||
Reference in New Issue
Block a user