@camstack/types 1.2.402 → 1.2.404

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/addon.js +2 -2
  2. package/dist/addon.mjs +2 -2
  3. package/dist/auth/credential-scope.d.ts +23 -3
  4. package/dist/auth/viewer-access.d.ts +112 -0
  5. package/dist/capabilities/capability-definition.d.ts +14 -0
  6. package/dist/capabilities/face-gallery.cap.d.ts +3 -0
  7. package/dist/capabilities/index.d.ts +3 -3
  8. package/dist/capabilities/pipeline-analytics.cap.d.ts +82 -0
  9. package/dist/capabilities/pipeline-executor.cap.d.ts +0 -64
  10. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +32 -124
  11. package/dist/capabilities/plate-gallery.cap.d.ts +3 -0
  12. package/dist/capabilities/scene-monitor.cap.d.ts +3 -0
  13. package/dist/capabilities/training.cap.d.ts +91 -71
  14. package/dist/capabilities/user-management.cap.d.ts +108 -18
  15. package/dist/client.js +9 -8
  16. package/dist/client.mjs +9 -8
  17. package/dist/clips/clip-event-labels.d.ts +96 -0
  18. package/dist/device/cap-vocabulary/entries/actuators.d.ts +5 -0
  19. package/dist/device/cap-vocabulary/entries/appliances.d.ts +5 -0
  20. package/dist/device/cap-vocabulary/entries/camera.d.ts +5 -0
  21. package/dist/device/cap-vocabulary/entries/sensors.d.ts +5 -0
  22. package/dist/device/cap-vocabulary/entries/system.d.ts +8 -0
  23. package/dist/device/cap-vocabulary/index.d.ts +9 -0
  24. package/dist/device/cap-vocabulary/l10n.d.ts +7 -0
  25. package/dist/device/cap-vocabulary/resolve.d.ts +100 -0
  26. package/dist/device/cap-vocabulary/templates.d.ts +11 -0
  27. package/dist/device/cap-vocabulary/types.d.ts +398 -0
  28. package/dist/device/cap-vocabulary/vocabulary.d.ts +5 -0
  29. package/dist/device/device-do-actions.d.ts +8 -2
  30. package/dist/enums/event-category.d.ts +2 -3
  31. package/dist/enums.js +1 -1
  32. package/dist/enums.mjs +1 -1
  33. package/dist/{event-category-7AwNbPjm.js → event-category-CXrwjC3e.js} +2 -3
  34. package/dist/{event-category-BfJwUd2S.mjs → event-category-fDPduoeC.mjs} +2 -3
  35. package/dist/generated/addon-api.d.ts +52 -56
  36. package/dist/generated/device-proxy.d.ts +1 -1
  37. package/dist/generated/method-access-map.d.ts +4 -1
  38. package/dist/generated/method-device-selectors.d.ts +2 -2
  39. package/dist/generated/system-proxy.d.ts +3 -3
  40. package/dist/index.d.ts +8 -3
  41. package/dist/index.js +7406 -2133
  42. package/dist/index.mjs +7372 -2132
  43. package/dist/interfaces/api-responses.d.ts +1 -1
  44. package/dist/interfaces/auth.d.ts +2 -2
  45. package/dist/interfaces/birth-decision-ledger.d.ts +20 -0
  46. package/dist/interfaces/pipeline-executor-capability.d.ts +2 -8
  47. package/dist/pipeline/auto-tune/plan-schemas.d.ts +8 -80
  48. package/dist/pipeline/step-settings-layers.d.ts +7 -8
  49. package/dist/schemas/auth-records.d.ts +77 -13
  50. package/dist/schemas/device-selector.d.ts +23 -4
  51. package/dist/{sleep-DVovpDRU.js → sleep-BKS4OPMo.js} +2 -4
  52. package/dist/{sleep-CUp20JkO.mjs → sleep-CHIEEJkY.mjs} +2 -4
  53. package/dist/types/agent-pipeline-settings.d.ts +37 -70
  54. package/dist/types/camera-pipeline.d.ts +2 -2
  55. package/dist/types/detection.d.ts +19 -0
  56. package/dist/types/pipeline-step.d.ts +0 -16
  57. package/package.json +1 -1
@@ -37,8 +37,8 @@ export interface CameraPipelineConfig {
37
37
  /**
38
38
  * Present ONLY when the operator explicitly chose an audio model;
39
39
  * absent = use this node's format default (resolved on-the-fly by
40
- * the provider). Mirrors `AgentAddonConfig.modelId` (Task 4/5 of the
41
- * engine-node-local refactor — model selection is data only).
40
+ * the provider). Model selection is data only (the engine-node-local
41
+ * refactor).
42
42
  */
43
43
  readonly modelId?: string;
44
44
  readonly enabled: boolean;
@@ -545,6 +545,25 @@ export interface FrameResult {
545
545
  * track keeps it so a later replay can name the original model (D646).
546
546
  */
547
547
  readonly rootModelId?: string;
548
+ /**
549
+ * The step (addon id) of the root {@link rootModelId} names — the detector
550
+ * whose boxes this frame's tracks are born from. Stamped beside it, same
551
+ * absence rule. With {@link rootModelId} and {@link rootDeviceKey} it is the
552
+ * session's detector, which the birth confirmation gate re-judges a birth
553
+ * with (D925).
554
+ */
555
+ readonly rootStepId?: string;
556
+ /**
557
+ * The inference DEVICE the root ran on (`openvino:npu`, `edgetpu:pci`,
558
+ * `onnx:webgpu` …) — the pool the dispatch actually used, after re-election
559
+ * and the capability fallback, stamped beside {@link rootModelId}. A session
560
+ * can hop node or device between on-motion sessions (D916), so a stored
561
+ * track keeps the device of the frame that opened it and of the sighting
562
+ * that closed it (D924); the confirmation gate re-judges a birth on this
563
+ * pool (D925). Absent on a frame no pipeline root produced, and from a
564
+ * runner older than the field.
565
+ */
566
+ readonly rootDeviceKey?: string;
548
567
  /**
549
568
  * The `package-detection` root RAN on this frame and was not shed — the
550
569
  * motion-settle governor dispatched it. The only way a consumer can tell
@@ -111,22 +111,6 @@ export interface StepDefinition {
111
111
  * rather than out).
112
112
  */
113
113
  readonly enabledByDefault?: boolean;
114
- /**
115
- * Opt-in: when `true`, this step is BACK-FILLED into a camera's stored
116
- * wholesale pipeline override (`cameraSettings.pipelineByAgent`) at resolve
117
- * time if it is absent from that snapshot — see
118
- * `mergeEnabledByDefaultSteps`. Set this ONLY on a genuinely-NEW default
119
- * step that shipped AFTER existing snapshots were captured and must reach
120
- * them (e.g. `clip-embedding` for object semantic search).
121
- *
122
- * It exists because absence-from-a-snapshot is ambiguous: it can mean
123
- * "predates this step" OR "operator deliberately pruned it". A broad
124
- * "back-fill every default" would resurrect deliberate removals of
125
- * long-existing steps (face-detection, etc.). This flag makes back-fill
126
- * strictly opt-in so only a new step re-enters existing overrides; absent
127
- * (the default) preserves operator intent verbatim. Absent = `false`.
128
- */
129
- readonly backfillIntoExistingOverrides?: boolean;
130
114
  /** Default confidence threshold */
131
115
  readonly defaultConfidence: number;
132
116
  /** Runtime label lookup (e.g., class name arrays for softmax, charset for CTC) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.402",
3
+ "version": "1.2.404",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",