@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.
- package/CHANGELOG.md +25 -0
- package/dist/addon.d.ts +5 -1
- package/dist/addon.js +21 -5
- package/dist/addon.mjs +17 -6
- package/dist/automation/export-entities.d.ts +98 -0
- package/dist/capabilities/capability-definition.d.ts +1 -1
- package/dist/capabilities/composer.cap.d.ts +34 -0
- package/dist/capabilities/consumables.cap.d.ts +4 -5
- package/dist/capabilities/core-blocks.cap.d.ts +244 -0
- package/dist/capabilities/device-export.cap.d.ts +111 -1
- package/dist/capabilities/index.d.ts +8 -3
- package/dist/capabilities/metrics-provider.cap.d.ts +16 -16
- package/dist/capabilities/node-removal-hook.cap.d.ts +67 -0
- package/dist/capabilities/nodes.cap.d.ts +2 -2
- package/dist/capabilities/pet-fountain.cap.d.ts +138 -0
- package/dist/capabilities/pipeline-executor.cap.d.ts +6 -22
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +3 -4
- package/dist/capabilities/pipeline-runner.cap.d.ts +2 -2
- package/dist/capabilities/pipeline-step-input.d.ts +33 -0
- package/dist/client.js +817 -798
- package/dist/client.mjs +817 -798
- package/dist/composition/composition-items.d.ts +3 -3
- package/dist/composition/composition-report.d.ts +17 -0
- package/dist/composition/composition.d.ts +68 -1
- package/dist/composition/index.d.ts +2 -0
- package/dist/composition/presets/pet-fountain.d.ts +36 -0
- package/dist/composition/validate-forward.d.ts +31 -0
- package/dist/{composition-C0dlyG9U.js → composition-CO6Sak-s.js} +49 -5
- package/dist/{composition-bIBW5_13.mjs → composition-kSuOifuG.mjs} +32 -6
- package/dist/device/cap-vocabulary/entries/appliances.d.ts +1 -1
- package/dist/device/device-control-resolution.d.ts +1 -1
- package/dist/device/device-type.d.ts +4 -0
- package/dist/{err-msg-BCdlR2Li.mjs → err-msg-DWXWc0Di.mjs} +4 -0
- package/dist/{err-msg-COHgq7Mb.js → err-msg-EJhsFHqa.js} +4 -0
- package/dist/generated/addon-api.d.ts +149 -32
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/cap-status-types.d.ts +3 -1
- package/dist/generated/capability-router-map.d.ts +10 -4
- package/dist/generated/collection-array-methods.d.ts +2 -2
- package/dist/generated/customize-catalog.d.ts +1 -1
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +3 -0
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/history-catalog.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1616 -607
- package/dist/index.mjs +1581 -596
- package/dist/interfaces/agent.d.ts +6 -2
- package/dist/interfaces/event-bus.d.ts +1 -1
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/dist/{sleep-DJws6ho7.mjs → sleep-6eG9C8Xl.mjs} +224 -72
- package/dist/{sleep-BpwNJ1Su.js → sleep-UXDHn-oJ.js} +247 -71
- package/dist/types/agent-pipeline-settings.d.ts +2 -2
- package/dist/utils/oauth-landing.d.ts +1 -1
- package/dist/vendor-login-proxy/flow-trace.d.ts +29 -0
- 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>;
|