@camstack/types 1.2.403 → 1.2.405

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 (47) hide show
  1. package/dist/addon.js +2 -2
  2. package/dist/addon.mjs +2 -2
  3. package/dist/capabilities/index.d.ts +4 -3
  4. package/dist/capabilities/pipeline-analytics.cap.d.ts +27 -0
  5. package/dist/capabilities/pipeline-executor.cap.d.ts +0 -64
  6. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +68 -124
  7. package/dist/capabilities/platform-probe.cap.d.ts +34 -0
  8. package/dist/capabilities/schemas/package-llm-verdict.d.ts +14 -0
  9. package/dist/capabilities/schemas/zone-rule.d.ts +4 -0
  10. package/dist/capabilities/training.cap.d.ts +91 -71
  11. package/dist/capabilities/zone-rules.cap.d.ts +10 -0
  12. package/dist/client.js +2 -8
  13. package/dist/client.mjs +2 -8
  14. package/dist/enums/event-category.d.ts +2 -3
  15. package/dist/enums.js +1 -1
  16. package/dist/enums.mjs +1 -1
  17. package/dist/{event-category-7AwNbPjm.js → event-category-CXrwjC3e.js} +2 -3
  18. package/dist/{event-category-BfJwUd2S.mjs → event-category-fDPduoeC.mjs} +2 -3
  19. package/dist/generated/addon-api.d.ts +14 -56
  20. package/dist/generated/device-proxy.d.ts +1 -1
  21. package/dist/generated/method-access-map.d.ts +1 -1
  22. package/dist/generated/method-device-selectors.d.ts +2 -2
  23. package/dist/generated/system-proxy.d.ts +3 -3
  24. package/dist/index.d.ts +3 -1
  25. package/dist/index.js +2250 -1529
  26. package/dist/index.mjs +2197 -1528
  27. package/dist/interfaces/birth-decision-ledger.d.ts +3 -0
  28. package/dist/interfaces/pipeline-executor-capability.d.ts +2 -8
  29. package/dist/interfaces/platform.d.ts +7 -0
  30. package/dist/node-color.d.ts +1 -1
  31. package/dist/pipeline/auto-tune/accelerator-compute.d.ts +116 -0
  32. package/dist/pipeline/auto-tune/detector-performance.d.ts +5 -0
  33. package/dist/pipeline/auto-tune/hardware-class.d.ts +5 -4
  34. package/dist/pipeline/auto-tune/index.d.ts +1 -0
  35. package/dist/pipeline/auto-tune/plan-schemas.d.ts +108 -80
  36. package/dist/pipeline/auto-tune/recommend.d.ts +31 -9
  37. package/dist/pipeline/second-pass/index.d.ts +2 -0
  38. package/dist/pipeline/second-pass/motion-crop-plan.d.ts +183 -0
  39. package/dist/pipeline/second-pass/small-subject-recovery.d.ts +216 -0
  40. package/dist/pipeline/step-settings-layers.d.ts +7 -8
  41. package/dist/{sleep-Ch67uumJ.js → sleep-BKS4OPMo.js} +1 -4
  42. package/dist/{sleep-6AqUnQIT.mjs → sleep-CHIEEJkY.mjs} +1 -4
  43. package/dist/types/agent-pipeline-settings.d.ts +37 -70
  44. package/dist/types/camera-pipeline.d.ts +2 -2
  45. package/dist/types/detection.d.ts +15 -5
  46. package/dist/types/pipeline-step.d.ts +0 -16
  47. package/package.json +1 -1
@@ -545,13 +545,23 @@ 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;
548
556
  /**
549
557
  * The inference DEVICE the root ran on (`openvino:npu`, `edgetpu:pci`,
550
- * `onnx:webgpu` …) — the pool the dispatch actually used, stamped beside
551
- * {@link rootModelId}. A session can hop node or device between on-motion
552
- * sessions (D916), so a stored track keeps the device of the frame that
553
- * opened it and of the sighting that closed it. Absent on a frame no
554
- * pipeline root produced, and from a runner older than the field.
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.
555
565
  */
556
566
  readonly rootDeviceKey?: string;
557
567
  /**
@@ -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.403",
3
+ "version": "1.2.405",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",