@camstack/types 1.2.442 → 1.2.444

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 (61) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/addon.d.ts +5 -1
  3. package/dist/addon.js +21 -5
  4. package/dist/addon.mjs +17 -6
  5. package/dist/automation/export-entities.d.ts +98 -0
  6. package/dist/capabilities/capability-definition.d.ts +1 -1
  7. package/dist/capabilities/composer.cap.d.ts +34 -0
  8. package/dist/capabilities/consumables.cap.d.ts +4 -5
  9. package/dist/capabilities/core-blocks.cap.d.ts +244 -0
  10. package/dist/capabilities/device-export.cap.d.ts +111 -1
  11. package/dist/capabilities/index.d.ts +8 -3
  12. package/dist/capabilities/metrics-provider.cap.d.ts +16 -16
  13. package/dist/capabilities/node-removal-hook.cap.d.ts +67 -0
  14. package/dist/capabilities/nodes.cap.d.ts +2 -2
  15. package/dist/capabilities/pet-fountain.cap.d.ts +138 -0
  16. package/dist/capabilities/pipeline-executor.cap.d.ts +6 -22
  17. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +3 -4
  18. package/dist/capabilities/pipeline-runner.cap.d.ts +2 -2
  19. package/dist/capabilities/pipeline-step-input.d.ts +33 -0
  20. package/dist/client.js +817 -798
  21. package/dist/client.mjs +817 -798
  22. package/dist/composition/composition-items.d.ts +3 -3
  23. package/dist/composition/composition-report.d.ts +17 -0
  24. package/dist/composition/composition.d.ts +68 -1
  25. package/dist/composition/index.d.ts +2 -0
  26. package/dist/composition/presets/pet-fountain.d.ts +36 -0
  27. package/dist/composition/validate-forward.d.ts +31 -0
  28. package/dist/{composition-C0dlyG9U.js → composition-CO6Sak-s.js} +49 -5
  29. package/dist/{composition-bIBW5_13.mjs → composition-kSuOifuG.mjs} +32 -6
  30. package/dist/device/cap-vocabulary/entries/appliances.d.ts +1 -1
  31. package/dist/device/device-control-resolution.d.ts +1 -1
  32. package/dist/device/device-type.d.ts +4 -0
  33. package/dist/{err-msg-BCdlR2Li.mjs → err-msg-DWXWc0Di.mjs} +4 -0
  34. package/dist/{err-msg-COHgq7Mb.js → err-msg-EJhsFHqa.js} +4 -0
  35. package/dist/generated/addon-api.d.ts +149 -32
  36. package/dist/generated/addon-cap-facts.d.ts +1 -1
  37. package/dist/generated/cap-status-types.d.ts +3 -1
  38. package/dist/generated/capability-router-map.d.ts +10 -4
  39. package/dist/generated/collection-array-methods.d.ts +2 -2
  40. package/dist/generated/customize-catalog.d.ts +1 -1
  41. package/dist/generated/device-local-state.d.ts +3 -0
  42. package/dist/generated/device-proxy.d.ts +3 -0
  43. package/dist/generated/device-scoped-caps.d.ts +1 -1
  44. package/dist/generated/history-catalog.d.ts +1 -1
  45. package/dist/generated/method-access-map.d.ts +1 -1
  46. package/dist/generated/method-device-selectors.d.ts +1 -1
  47. package/dist/generated/runtime-state-durability.d.ts +1 -1
  48. package/dist/generated/system-proxy.d.ts +1 -1
  49. package/dist/index.d.ts +1 -0
  50. package/dist/index.js +1616 -607
  51. package/dist/index.mjs +1581 -596
  52. package/dist/interfaces/agent.d.ts +6 -2
  53. package/dist/interfaces/event-bus.d.ts +1 -1
  54. package/dist/node.js +2 -2
  55. package/dist/node.mjs +2 -2
  56. package/dist/{sleep-DJws6ho7.mjs → sleep-6eG9C8Xl.mjs} +224 -72
  57. package/dist/{sleep-BpwNJ1Su.js → sleep-UXDHn-oJ.js} +247 -71
  58. package/dist/types/agent-pipeline-settings.d.ts +2 -2
  59. package/dist/utils/oauth-landing.d.ts +1 -1
  60. package/dist/vendor-login-proxy/flow-trace.d.ts +29 -0
  61. package/package.json +1 -1
@@ -0,0 +1,33 @@
1
+ /**
2
+ * The pipeline step-input shape and the run-result bridge, in a module that
3
+ * imports nothing but zod and types.
4
+ *
5
+ * WHY A SEPARATE FILE (addon footprint, D28): both were declared in
6
+ * `pipeline-executor.cap.ts`, whose import evaluates the whole executor schema
7
+ * graph. An addon that only needs these two (the benchmark's `runPipelineTest`
8
+ * action) paid ~130 MB of heap at load. `pipeline-executor.cap.ts` re-exports
9
+ * them, so every existing import keeps working; addon server code takes them
10
+ * from `@camstack/types/addon`.
11
+ */
12
+ import { z } from 'zod';
13
+ import type { FrameResult } from '../types/detection.js';
14
+ export type PipelineStepInputOutput = {
15
+ readonly addonId: string;
16
+ readonly modelId?: string;
17
+ readonly enabled: boolean;
18
+ readonly children?: readonly PipelineStepInputOutput[];
19
+ readonly settings?: Readonly<Record<string, unknown>>;
20
+ /**
21
+ * Step-tree device jump (same-node, phase 1). Operator manual override
22
+ * carried from the per-(node,device) BASE
23
+ * (`inferenceDevices[node][deviceKey].steps[step].jumpDeviceKey`): run THIS
24
+ * enrichment step (and its inherited children) on a DIFFERENT enabled device
25
+ * of the SAME node — `<backend>:<device>` (e.g. `openvino:npu`). Absent ⇒ the
26
+ * runner AUTO-jumps only when the effective device's format cannot run the
27
+ * step's model, else the step inherits the effective device. Same-node only.
28
+ */
29
+ readonly jumpDeviceKey?: string;
30
+ };
31
+ export declare const PipelineStepInputSchema: z.ZodType<PipelineStepInputOutput>;
32
+ /** Typed bridge to the recursive `FrameResult` graph; validation is structural. */
33
+ export declare const PipelineRunResultBridge: z.ZodCustom<FrameResult, FrameResult>;