@camstack/types 1.0.4 → 1.0.6

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 (59) hide show
  1. package/dist/addon.d.ts +34 -0
  2. package/dist/addon.js +22 -0
  3. package/dist/addon.mjs +3 -0
  4. package/dist/capabilities/addons.cap.d.ts +10 -10
  5. package/dist/capabilities/advanced-notifier.cap.d.ts +4 -4
  6. package/dist/capabilities/alerts.cap.d.ts +10 -10
  7. package/dist/capabilities/audio-codec.cap.d.ts +2 -2
  8. package/dist/capabilities/camera-streams.cap.d.ts +15 -15
  9. package/dist/capabilities/consumables.cap.d.ts +4 -4
  10. package/dist/capabilities/cover.cap.d.ts +4 -4
  11. package/dist/capabilities/decoder.cap.d.ts +1 -1
  12. package/dist/capabilities/index.d.ts +2 -1
  13. package/dist/capabilities/local-network.cap.d.ts +6 -6
  14. package/dist/capabilities/log-destination.cap.d.ts +5 -5
  15. package/dist/capabilities/media-player.cap.d.ts +4 -4
  16. package/dist/capabilities/mesh-network.cap.d.ts +3 -3
  17. package/dist/capabilities/metrics-provider.cap.d.ts +33 -3
  18. package/dist/capabilities/network-access.cap.d.ts +7 -7
  19. package/dist/capabilities/oauth-integration.cap.d.ts +2 -2
  20. package/dist/capabilities/pipeline-executor.cap.d.ts +48 -1
  21. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +524 -4
  22. package/dist/capabilities/platform-probe.cap.d.ts +1 -1
  23. package/dist/capabilities/restreamer.cap.d.ts +2 -2
  24. package/dist/capabilities/schemas/streaming-shared.d.ts +9 -9
  25. package/dist/capabilities/sso-bridge.cap.d.ts +3 -3
  26. package/dist/capabilities/storage.cap.d.ts +1 -1
  27. package/dist/capabilities/stream-broker.cap.d.ts +28 -28
  28. package/dist/capabilities/stream-params.cap.d.ts +14 -14
  29. package/dist/capabilities/user-management.cap.d.ts +20 -20
  30. package/dist/capabilities/vacuum-control.cap.d.ts +13 -13
  31. package/dist/capabilities/valve.cap.d.ts +4 -4
  32. package/dist/capabilities/webrtc-session.cap.d.ts +12 -12
  33. package/dist/deps/binary-downloader.d.ts +1 -1
  34. package/dist/deps/ffmpeg-downloader.d.ts +1 -1
  35. package/dist/deps/python-downloader.d.ts +1 -1
  36. package/dist/device/base-device-provider.d.ts +4 -1
  37. package/dist/encode-profile.d.ts +2 -2
  38. package/dist/enums/event-category.d.ts +12 -0
  39. package/dist/err-msg-COpsHMw2.js +18 -0
  40. package/dist/err-msg-IQTHeDzc.mjs +13 -0
  41. package/dist/generated/addon-api.d.ts +438 -12
  42. package/dist/generated/device-proxy.d.ts +1 -1
  43. package/dist/generated/method-access-map.d.ts +1 -1
  44. package/dist/generated/system-proxy.d.ts +3 -3
  45. package/dist/health/wiring-health.d.ts +16 -16
  46. package/dist/index.js +1435 -4646
  47. package/dist/index.mjs +485 -3711
  48. package/dist/interfaces/event-bus.d.ts +15 -0
  49. package/dist/interfaces/metrics-provider.d.ts +3 -1
  50. package/dist/interfaces/pipeline-executor-capability.d.ts +8 -0
  51. package/dist/lifecycle/job.d.ts +6 -6
  52. package/dist/node.js +3 -3
  53. package/dist/node.mjs +1 -1
  54. package/dist/schemas/auth-records.d.ts +4 -4
  55. package/dist/sleep-D7JeS58T.mjs +3507 -0
  56. package/dist/sleep-DnS0eJh_.js +3920 -0
  57. package/dist/storage/filesystem-storage-provider.d.ts +2 -1
  58. package/dist/types/agent-pipeline-settings.d.ts +7 -0
  59. package/package.json +6 -1
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Lightweight addon-authoring + addon-runner entry point.
3
+ *
4
+ * Importing the root barrel (`@camstack/types`) eagerly constructs the entire
5
+ * schema graph (~1963 `z.object/enum/union(...)` builders across 378 files),
6
+ * costing ~47MB of V8 heap PER process. Every forked addon-runner paid that
7
+ * even though it only needs a handful of runtime helpers — 8 runners ≈ 1.4GB
8
+ * on the agent. There is no runtime tree-shaking in Node, and the package is
9
+ * externalized (loaded as the prebuilt barrel), so the bundler cannot drop the
10
+ * unused schemas. This subpath is the manual fix: it pulls ONLY the light,
11
+ * schema-free modules the runner + addons actually need at runtime.
12
+ *
13
+ * Each symbol below is imported from its DEEP source module (not the barrel and
14
+ * not `generated/capability-router-map`, which re-exports all 266 capabilities)
15
+ * so this entry's runtime graph stays small.
16
+ *
17
+ * See memory: camstack_runner_ram_and_build_rootcause.
18
+ */
19
+ export { errMsg } from './utils/err-msg.js';
20
+ export { asJsonObject, asString, parseJsonUnknown } from './utils/json-safe.js';
21
+ export { sleep } from './utils/sleep.js';
22
+ export { EventCategory } from './enums/event-category.js';
23
+ export { DeviceType } from './device/device-type.js';
24
+ export { emitReadiness } from './interfaces/event-bus.js';
25
+ export { DisposerChain } from './disposer-chain.js';
26
+ export { ReadinessRegistry, ReadinessTimeoutError, scopeKey, } from './readiness/readiness-registry.js';
27
+ export { DATAPLANE_SECRET_HEADER } from './interfaces/addon-data-plane.js';
28
+ export { expandCapMethods } from './capabilities/capability-definition.js';
29
+ export { deviceOpsCapability } from './capabilities/device-ops.cap.js';
30
+ export { createDeviceProxy } from './generated/device-proxy.js';
31
+ export { BaseAddon, normalizeAddonInitResult } from './addon/base-addon.js';
32
+ export { adminUiCapability } from './capabilities/admin-ui.cap.js';
33
+ export type { IAdminUiProvider } from './capabilities/admin-ui.cap.js';
34
+ export type { ICamstackAddon, AddonDeclaration, AddonInitResult, ProviderRegistration, } from './interfaces/addon.js';
package/dist/addon.js ADDED
@@ -0,0 +1,22 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_sleep = require("./sleep-DnS0eJh_.js");
3
+ const require_err_msg = require("./err-msg-COpsHMw2.js");
4
+ exports.BaseAddon = require_sleep.BaseAddon;
5
+ exports.DATAPLANE_SECRET_HEADER = require_sleep.DATAPLANE_SECRET_HEADER;
6
+ exports.DeviceType = require_sleep.DeviceType;
7
+ exports.DisposerChain = require_sleep.DisposerChain;
8
+ exports.EventCategory = require_sleep.EventCategory;
9
+ exports.ReadinessRegistry = require_sleep.ReadinessRegistry;
10
+ exports.ReadinessTimeoutError = require_sleep.ReadinessTimeoutError;
11
+ exports.adminUiCapability = require_sleep.adminUiCapability;
12
+ exports.asJsonObject = require_sleep.asJsonObject;
13
+ exports.asString = require_sleep.asString;
14
+ exports.createDeviceProxy = require_sleep.createDeviceProxy;
15
+ exports.deviceOpsCapability = require_sleep.deviceOpsCapability;
16
+ exports.emitReadiness = require_sleep.emitReadiness;
17
+ exports.errMsg = require_err_msg.errMsg;
18
+ exports.expandCapMethods = require_sleep.expandCapMethods;
19
+ exports.normalizeAddonInitResult = require_sleep.normalizeAddonInitResult;
20
+ exports.parseJsonUnknown = require_sleep.parseJsonUnknown;
21
+ exports.scopeKey = require_sleep.scopeKey;
22
+ exports.sleep = require_sleep.sleep;
package/dist/addon.mjs ADDED
@@ -0,0 +1,3 @@
1
+ import { A as ReadinessTimeoutError, D as parseJsonUnknown, N as scopeKey, O as DATAPLANE_SECRET_HEADER, S as asJsonObject, a as adminUiCapability, at as BaseAddon, ht as DisposerChain, i as deviceOpsCapability, k as ReadinessRegistry, lt as emitReadiness, mt as EventCategory, o as createDeviceProxy, ot as normalizeAddonInitResult, p as expandCapMethods, t as sleep, w as asString, y as DeviceType } from "./sleep-D7JeS58T.mjs";
2
+ import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
3
+ export { BaseAddon, DATAPLANE_SECRET_HEADER, DeviceType, DisposerChain, EventCategory, ReadinessRegistry, ReadinessTimeoutError, adminUiCapability, asJsonObject, asString, createDeviceProxy, deviceOpsCapability, emitReadiness, errMsg, expandCapMethods, normalizeAddonInitResult, parseJsonUnknown, scopeKey, sleep };
@@ -16,9 +16,9 @@ import { type InferProvider } from './capability-definition.js';
16
16
  * as every other cap.
17
17
  */
18
18
  declare const LogLevelSchema: z.ZodEnum<{
19
- info: "info";
20
19
  error: "error";
21
20
  debug: "debug";
21
+ info: "info";
22
22
  warn: "warn";
23
23
  }>;
24
24
  declare const ChannelSchema: z.ZodEnum<{
@@ -143,9 +143,9 @@ declare const UpdateFrameworkPackageResultSchema: z.ZodObject<{
143
143
  restartingAt: z.ZodNumber;
144
144
  }, z.core.$strip>;
145
145
  declare const BulkUpdateItemStatusSchema: z.ZodEnum<{
146
+ failed: "failed";
146
147
  queued: "queued";
147
148
  done: "done";
148
- failed: "failed";
149
149
  updating: "updating";
150
150
  "done-pending-restart": "done-pending-restart";
151
151
  }>;
@@ -155,9 +155,9 @@ declare const BulkUpdateItemSchema: z.ZodObject<{
155
155
  fromVersion: z.ZodString;
156
156
  toVersion: z.ZodString;
157
157
  status: z.ZodEnum<{
158
+ failed: "failed";
158
159
  queued: "queued";
159
160
  done: "done";
160
- failed: "failed";
161
161
  updating: "updating";
162
162
  "done-pending-restart": "done-pending-restart";
163
163
  }>;
@@ -193,9 +193,9 @@ declare const BulkUpdateStateSchema: z.ZodObject<{
193
193
  fromVersion: z.ZodString;
194
194
  toVersion: z.ZodString;
195
195
  status: z.ZodEnum<{
196
+ failed: "failed";
196
197
  queued: "queued";
197
198
  done: "done";
198
- failed: "failed";
199
199
  updating: "updating";
200
200
  "done-pending-restart": "done-pending-restart";
201
201
  }>;
@@ -302,9 +302,9 @@ export declare const addonsCapability: {
302
302
  addonId: z.ZodString;
303
303
  limit: z.ZodDefault<z.ZodNumber>;
304
304
  level: z.ZodOptional<z.ZodEnum<{
305
- info: "info";
306
305
  error: "error";
307
306
  debug: "debug";
307
+ info: "info";
308
308
  warn: "warn";
309
309
  }>>;
310
310
  }, z.core.$strip>, z.ZodArray<z.ZodUnknown>, import("./capability-definition.js").CapabilityMethodKind>;
@@ -635,6 +635,7 @@ export declare const addonsCapability: {
635
635
  framework: "framework";
636
636
  }>;
637
637
  phase: z.ZodEnum<{
638
+ failed: "failed";
638
639
  queued: "queued";
639
640
  fetching: "fetching";
640
641
  staged: "staged";
@@ -643,7 +644,6 @@ export declare const addonsCapability: {
643
644
  restarting: "restarting";
644
645
  applied: "applied";
645
646
  done: "done";
646
- failed: "failed";
647
647
  skipped: "skipped";
648
648
  }>;
649
649
  stagedPath: z.ZodNullable<z.ZodString>;
@@ -653,6 +653,7 @@ export declare const addonsCapability: {
653
653
  nodeId: z.ZodString;
654
654
  packageName: z.ZodString;
655
655
  phase: z.ZodEnum<{
656
+ failed: "failed";
656
657
  queued: "queued";
657
658
  fetching: "fetching";
658
659
  staged: "staged";
@@ -661,7 +662,6 @@ export declare const addonsCapability: {
661
662
  restarting: "restarting";
662
663
  applied: "applied";
663
664
  done: "done";
664
- failed: "failed";
665
665
  skipped: "skipped";
666
666
  }>;
667
667
  message: z.ZodString;
@@ -711,6 +711,7 @@ export declare const addonsCapability: {
711
711
  framework: "framework";
712
712
  }>;
713
713
  phase: z.ZodEnum<{
714
+ failed: "failed";
714
715
  queued: "queued";
715
716
  fetching: "fetching";
716
717
  staged: "staged";
@@ -719,7 +720,6 @@ export declare const addonsCapability: {
719
720
  restarting: "restarting";
720
721
  applied: "applied";
721
722
  done: "done";
722
- failed: "failed";
723
723
  skipped: "skipped";
724
724
  }>;
725
725
  stagedPath: z.ZodNullable<z.ZodString>;
@@ -729,6 +729,7 @@ export declare const addonsCapability: {
729
729
  nodeId: z.ZodString;
730
730
  packageName: z.ZodString;
731
731
  phase: z.ZodEnum<{
732
+ failed: "failed";
732
733
  queued: "queued";
733
734
  fetching: "fetching";
734
735
  staged: "staged";
@@ -737,7 +738,6 @@ export declare const addonsCapability: {
737
738
  restarting: "restarting";
738
739
  applied: "applied";
739
740
  done: "done";
740
- failed: "failed";
741
741
  skipped: "skipped";
742
742
  }>;
743
743
  message: z.ZodString;
@@ -768,9 +768,9 @@ export declare const addonsCapability: {
768
768
  readonly onAddonLogs: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
769
769
  addonId: z.ZodString;
770
770
  level: z.ZodOptional<z.ZodEnum<{
771
- info: "info";
772
771
  error: "error";
773
772
  debug: "debug";
773
+ info: "info";
774
774
  warn: "warn";
775
775
  }>>;
776
776
  }, z.core.$strip>, z.ZodObject<{
@@ -24,9 +24,9 @@ declare const NotificationRuleTemplateSchema: z.ZodObject<{
24
24
  body: z.ZodString;
25
25
  imageMode: z.ZodEnum<{
26
26
  none: "none";
27
- full: "full";
28
27
  crop: "crop";
29
28
  annotated: "annotated";
29
+ full: "full";
30
30
  }>;
31
31
  }, z.core.$strip>;
32
32
  declare const NotificationRuleSchema: z.ZodObject<{
@@ -59,9 +59,9 @@ declare const NotificationRuleSchema: z.ZodObject<{
59
59
  body: z.ZodString;
60
60
  imageMode: z.ZodEnum<{
61
61
  none: "none";
62
- full: "full";
63
62
  crop: "crop";
64
63
  annotated: "annotated";
64
+ full: "full";
65
65
  }>;
66
66
  }, z.core.$strip>>;
67
67
  priority: z.ZodEnum<{
@@ -133,9 +133,9 @@ export declare const advancedNotifierCapability: {
133
133
  body: z.ZodString;
134
134
  imageMode: z.ZodEnum<{
135
135
  none: "none";
136
- full: "full";
137
136
  crop: "crop";
138
137
  annotated: "annotated";
138
+ full: "full";
139
139
  }>;
140
140
  }, z.core.$strip>>;
141
141
  priority: z.ZodEnum<{
@@ -177,9 +177,9 @@ export declare const advancedNotifierCapability: {
177
177
  body: z.ZodString;
178
178
  imageMode: z.ZodEnum<{
179
179
  none: "none";
180
- full: "full";
181
180
  crop: "crop";
182
181
  annotated: "annotated";
182
+ full: "full";
183
183
  }>;
184
184
  }, z.core.$strip>>;
185
185
  priority: z.ZodEnum<{
@@ -8,14 +8,14 @@
8
8
  import { z } from 'zod';
9
9
  import { type InferProvider } from './capability-definition.js';
10
10
  export declare const AlertSeveritySchema: z.ZodEnum<{
11
- info: "info";
12
11
  error: "error";
13
12
  success: "success";
13
+ info: "info";
14
14
  warning: "warning";
15
15
  }>;
16
16
  export declare const AlertStatusSchema: z.ZodEnum<{
17
- active: "active";
18
17
  failed: "failed";
18
+ active: "active";
19
19
  completed: "completed";
20
20
  "in-progress": "in-progress";
21
21
  dismissed: "dismissed";
@@ -28,16 +28,16 @@ export declare const AlertSchema: z.ZodObject<{
28
28
  id: z.ZodString;
29
29
  category: z.ZodString;
30
30
  severity: z.ZodEnum<{
31
- info: "info";
32
31
  error: "error";
33
32
  success: "success";
33
+ info: "info";
34
34
  warning: "warning";
35
35
  }>;
36
36
  title: z.ZodString;
37
37
  message: z.ZodString;
38
38
  status: z.ZodEnum<{
39
- active: "active";
40
39
  failed: "failed";
40
+ active: "active";
41
41
  completed: "completed";
42
42
  "in-progress": "in-progress";
43
43
  dismissed: "dismissed";
@@ -64,16 +64,16 @@ export declare const alertsCapability: {
64
64
  id: z.ZodString;
65
65
  category: z.ZodString;
66
66
  severity: z.ZodEnum<{
67
- info: "info";
68
67
  error: "error";
69
68
  success: "success";
69
+ info: "info";
70
70
  warning: "warning";
71
71
  }>;
72
72
  title: z.ZodString;
73
73
  message: z.ZodString;
74
74
  status: z.ZodEnum<{
75
- active: "active";
76
75
  failed: "failed";
76
+ active: "active";
77
77
  completed: "completed";
78
78
  "in-progress": "in-progress";
79
79
  dismissed: "dismissed";
@@ -94,16 +94,16 @@ export declare const alertsCapability: {
94
94
  id: z.ZodOptional<z.ZodString>;
95
95
  category: z.ZodOptional<z.ZodString>;
96
96
  severity: z.ZodOptional<z.ZodEnum<{
97
- info: "info";
98
97
  error: "error";
99
98
  success: "success";
99
+ info: "info";
100
100
  warning: "warning";
101
101
  }>>;
102
102
  title: z.ZodOptional<z.ZodString>;
103
103
  message: z.ZodOptional<z.ZodString>;
104
104
  status: z.ZodOptional<z.ZodEnum<{
105
- active: "active";
106
105
  failed: "failed";
106
+ active: "active";
107
107
  completed: "completed";
108
108
  "in-progress": "in-progress";
109
109
  dismissed: "dismissed";
@@ -126,16 +126,16 @@ export declare const alertsCapability: {
126
126
  id: z.ZodString;
127
127
  category: z.ZodString;
128
128
  severity: z.ZodEnum<{
129
- info: "info";
130
129
  error: "error";
131
130
  success: "success";
131
+ info: "info";
132
132
  warning: "warning";
133
133
  }>;
134
134
  title: z.ZodString;
135
135
  message: z.ZodString;
136
136
  status: z.ZodEnum<{
137
- active: "active";
138
137
  failed: "failed";
138
+ active: "active";
139
139
  completed: "completed";
140
140
  "in-progress": "in-progress";
141
141
  dismissed: "dismissed";
@@ -82,8 +82,8 @@ export declare const audioCodecCapability: {
82
82
  readonly canHandle: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
83
83
  codec: z.ZodString;
84
84
  kind: z.ZodEnum<{
85
- encode: "encode";
86
85
  decode: "decode";
86
+ encode: "encode";
87
87
  }>;
88
88
  }, z.core.$strip>, z.ZodBoolean, import("./capability-definition.js").CapabilityMethodKind>;
89
89
  readonly createDecodeSession: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
@@ -177,8 +177,8 @@ export declare const audioCodecCapability: {
177
177
  readonly listActiveSessions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
178
178
  sessionId: z.ZodString;
179
179
  kind: z.ZodEnum<{
180
- encode: "encode";
181
180
  decode: "decode";
181
+ encode: "encode";
182
182
  }>;
183
183
  codec: z.ZodString;
184
184
  sourceSampleRate: z.ZodNumber;
@@ -2,10 +2,10 @@ import { z } from 'zod';
2
2
  import { type InferProvider } from './capability-definition.js';
3
3
  import { DeviceType } from '../device/device-type.js';
4
4
  export declare const StreamCodecSchema: z.ZodEnum<{
5
+ mjpeg: "mjpeg";
5
6
  h264: "h264";
6
7
  h265: "h265";
7
8
  hevc: "hevc";
8
- mjpeg: "mjpeg";
9
9
  av1: "av1";
10
10
  vp8: "vp8";
11
11
  vp9: "vp9";
@@ -13,10 +13,10 @@ export declare const StreamCodecSchema: z.ZodEnum<{
13
13
  export type StreamCodec = z.infer<typeof StreamCodecSchema>;
14
14
  export declare const PickStreamRequirementsSchema: z.ZodReadonly<z.ZodObject<{
15
15
  acceptCodecs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
16
+ mjpeg: "mjpeg";
16
17
  h264: "h264";
17
18
  h265: "h265";
18
19
  hevc: "hevc";
19
- mjpeg: "mjpeg";
20
20
  av1: "av1";
21
21
  vp8: "vp8";
22
22
  vp9: "vp9";
@@ -25,10 +25,10 @@ export declare const PickStreamRequirementsSchema: z.ZodReadonly<z.ZodObject<{
25
25
  minWidth: z.ZodOptional<z.ZodNumber>;
26
26
  excludeDerived: z.ZodOptional<z.ZodBoolean>;
27
27
  requireSiblingCodec: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
28
+ mjpeg: "mjpeg";
28
29
  h264: "h264";
29
30
  h265: "h265";
30
31
  hevc: "hevc";
31
- mjpeg: "mjpeg";
32
32
  av1: "av1";
33
33
  vp8: "vp8";
34
34
  vp9: "vp9";
@@ -115,10 +115,10 @@ export declare const cameraStreamsCapability: {
115
115
  sourceCamStreamId: z.ZodNullable<z.ZodString>;
116
116
  status: z.ZodEnum<{
117
117
  error: "error";
118
- streaming: "streaming";
119
- unassigned: "unassigned";
120
118
  idle: "idle";
119
+ unassigned: "unassigned";
121
120
  connecting: "connecting";
121
+ streaming: "streaming";
122
122
  }>;
123
123
  resolution: z.ZodOptional<z.ZodObject<{
124
124
  width: z.ZodNumber;
@@ -198,10 +198,10 @@ export declare const cameraStreamsCapability: {
198
198
  deviceId: z.ZodNumber;
199
199
  requirements: z.ZodReadonly<z.ZodObject<{
200
200
  acceptCodecs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
201
+ mjpeg: "mjpeg";
201
202
  h264: "h264";
202
203
  h265: "h265";
203
204
  hevc: "hevc";
204
- mjpeg: "mjpeg";
205
205
  av1: "av1";
206
206
  vp8: "vp8";
207
207
  vp9: "vp9";
@@ -210,10 +210,10 @@ export declare const cameraStreamsCapability: {
210
210
  minWidth: z.ZodOptional<z.ZodNumber>;
211
211
  excludeDerived: z.ZodOptional<z.ZodBoolean>;
212
212
  requireSiblingCodec: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
213
+ mjpeg: "mjpeg";
213
214
  h264: "h264";
214
215
  h265: "h265";
215
216
  hevc: "hevc";
216
- mjpeg: "mjpeg";
217
217
  av1: "av1";
218
218
  vp8: "vp8";
219
219
  vp9: "vp9";
@@ -278,10 +278,10 @@ export declare const cameraStreamsCapability: {
278
278
  sourceCamStreamId: z.ZodNullable<z.ZodString>;
279
279
  status: z.ZodEnum<{
280
280
  error: "error";
281
- streaming: "streaming";
282
- unassigned: "unassigned";
283
281
  idle: "idle";
282
+ unassigned: "unassigned";
284
283
  connecting: "connecting";
284
+ streaming: "streaming";
285
285
  }>;
286
286
  resolution: z.ZodOptional<z.ZodObject<{
287
287
  width: z.ZodNumber;
@@ -321,24 +321,24 @@ export declare const cameraStreamsCapability: {
321
321
  slotStatuses: z.ZodObject<{
322
322
  high: z.ZodOptional<z.ZodEnum<{
323
323
  error: "error";
324
- streaming: "streaming";
325
- unassigned: "unassigned";
326
324
  idle: "idle";
325
+ unassigned: "unassigned";
327
326
  connecting: "connecting";
327
+ streaming: "streaming";
328
328
  }>>;
329
329
  mid: z.ZodOptional<z.ZodEnum<{
330
330
  error: "error";
331
- streaming: "streaming";
332
- unassigned: "unassigned";
333
331
  idle: "idle";
332
+ unassigned: "unassigned";
334
333
  connecting: "connecting";
334
+ streaming: "streaming";
335
335
  }>>;
336
336
  low: z.ZodOptional<z.ZodEnum<{
337
337
  error: "error";
338
- streaming: "streaming";
339
- unassigned: "unassigned";
340
338
  idle: "idle";
339
+ unassigned: "unassigned";
341
340
  connecting: "connecting";
341
+ streaming: "streaming";
342
342
  }>>;
343
343
  }, z.core.$strip>;
344
344
  slotErrors: z.ZodObject<{
@@ -22,8 +22,8 @@ export declare const ConsumableItemSchema: z.ZodObject<{
22
22
  label: z.ZodString;
23
23
  level: z.ZodNullable<z.ZodNumber>;
24
24
  status: z.ZodNullable<z.ZodEnum<{
25
- ok: "ok";
26
25
  replace: "replace";
26
+ ok: "ok";
27
27
  }>>;
28
28
  lastResetAt: z.ZodNullable<z.ZodNumber>;
29
29
  resettable: z.ZodBoolean;
@@ -34,8 +34,8 @@ export declare const ConsumablesStatusSchema: z.ZodObject<{
34
34
  label: z.ZodString;
35
35
  level: z.ZodNullable<z.ZodNumber>;
36
36
  status: z.ZodNullable<z.ZodEnum<{
37
- ok: "ok";
38
37
  replace: "replace";
38
+ ok: "ok";
39
39
  }>>;
40
40
  lastResetAt: z.ZodNullable<z.ZodNumber>;
41
41
  resettable: z.ZodBoolean;
@@ -75,8 +75,8 @@ export declare const consumablesCapability: {
75
75
  label: z.ZodString;
76
76
  level: z.ZodNullable<z.ZodNumber>;
77
77
  status: z.ZodNullable<z.ZodEnum<{
78
- ok: "ok";
79
78
  replace: "replace";
79
+ ok: "ok";
80
80
  }>>;
81
81
  lastResetAt: z.ZodNullable<z.ZodNumber>;
82
82
  resettable: z.ZodBoolean;
@@ -91,8 +91,8 @@ export declare const consumablesCapability: {
91
91
  label: z.ZodString;
92
92
  level: z.ZodNullable<z.ZodNumber>;
93
93
  status: z.ZodNullable<z.ZodEnum<{
94
- ok: "ok";
95
94
  replace: "replace";
95
+ ok: "ok";
96
96
  }>>;
97
97
  lastResetAt: z.ZodNullable<z.ZodNumber>;
98
98
  resettable: z.ZodBoolean;
@@ -23,8 +23,8 @@ import { DeviceType } from '../device/device-type.js';
23
23
  * - `CoverTilt` — slat-tilt slider
24
24
  */
25
25
  export declare const CoverStateSchema: z.ZodEnum<{
26
- open: "open";
27
26
  stopped: "stopped";
27
+ open: "open";
28
28
  opening: "opening";
29
29
  closing: "closing";
30
30
  closed: "closed";
@@ -32,8 +32,8 @@ export declare const CoverStateSchema: z.ZodEnum<{
32
32
  export type CoverState = z.infer<typeof CoverStateSchema>;
33
33
  export declare const CoverStatusSchema: z.ZodObject<{
34
34
  state: z.ZodEnum<{
35
- open: "open";
36
35
  stopped: "stopped";
36
+ open: "open";
37
37
  opening: "opening";
38
38
  closing: "closing";
39
39
  closed: "closed";
@@ -71,8 +71,8 @@ export declare const coverCapability: {
71
71
  readonly status: {
72
72
  readonly schema: z.ZodObject<{
73
73
  state: z.ZodEnum<{
74
- open: "open";
75
74
  stopped: "stopped";
75
+ open: "open";
76
76
  opening: "opening";
77
77
  closing: "closing";
78
78
  closed: "closed";
@@ -89,8 +89,8 @@ export declare const coverCapability: {
89
89
  */
90
90
  readonly runtimeState: z.ZodObject<{
91
91
  state: z.ZodEnum<{
92
- open: "open";
93
92
  stopped: "stopped";
93
+ open: "open";
94
94
  opening: "opening";
95
95
  closing: "closing";
96
96
  closed: "closed";
@@ -91,8 +91,8 @@ export declare const decoderCapability: {
91
91
  sessionId: z.ZodString;
92
92
  packet: z.ZodObject<{
93
93
  type: z.ZodEnum<{
94
- video: "video";
95
94
  audio: "audio";
95
+ video: "video";
96
96
  }>;
97
97
  data: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
98
98
  pts: z.ZodNumber;
@@ -70,7 +70,8 @@ export { pipelineExecutorCapability, PipelineEngineChoiceSchema, PipelineDefault
70
70
  export type { PipelineStepInputOutput } from './pipeline-executor.cap.js';
71
71
  export { pipelineRunnerCapability, RunnerCameraConfigSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, MotionSourceEnum, MotionSourcesSchema, ReportMotionInputSchema, RunnerCameraDeviceUIFields, } from './pipeline-runner.cap.js';
72
72
  export type { MotionSource, MotionSources, ReportMotionInput } from './pipeline-runner.cap.js';
73
- export { pipelineOrchestratorCapability, PipelineAssignmentSchema, DecoderAssignmentSchema, AgentLoadSummarySchema, GlobalMetricsSchema, CapabilityBindingsSchema, } from './pipeline-orchestrator.cap.js';
73
+ export { pipelineOrchestratorCapability, PipelineAssignmentSchema, DecoderAssignmentSchema, AgentLoadSummarySchema, GlobalMetricsSchema, CapabilityBindingsSchema, CameraStatusSchema, CameraAssignmentStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraBrokerStatusSchema, CameraBrokerProfileSchema, CameraDecoderStatusSchema, CameraDecoderShmSchema, CameraMotionStatusSchema, CameraDetectionStatusSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionPhaseSchema, CameraAudioStatusSchema, CameraRecordingStatusSchema, CameraRecordingModeSchema, } from './pipeline-orchestrator.cap.js';
74
+ export type { CameraStatus, CameraAssignmentStatus, CameraSourceStatus, CameraSourceStream, CameraBrokerStatus, CameraBrokerProfile, CameraDecoderStatus, CameraDecoderShm, CameraMotionStatus, CameraDetectionStatus, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionPhase, CameraAudioStatus, CameraRecordingStatus, CameraRecordingMode, } from './pipeline-orchestrator.cap.js';
74
75
  export { OrchestratorMetricsSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, } from './schemas/orchestrator-metrics.js';
75
76
  export { audioAnalyzerCapability, AUDIO_BACKEND_CHOICES, DEFAULT_AUDIO_ANALYZER_CONFIG, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioClassificationResultSchema, } from './audio-analyzer.cap.js';
76
77
  export type { IAudioAnalyzerProvider, AudioBackendChoice, AudioAnalyzerGlobalConfig, } from './audio-analyzer.cap.js';
@@ -36,12 +36,12 @@ declare const LocalInterfaceSchema: z.ZodObject<{
36
36
  internal: z.ZodBoolean;
37
37
  mac: z.ZodString;
38
38
  kind: z.ZodEnum<{
39
- other: "other";
40
39
  lan: "lan";
41
40
  wifi: "wifi";
42
41
  docker: "docker";
43
42
  vpn: "vpn";
44
43
  loopback: "loopback";
44
+ other: "other";
45
45
  }>;
46
46
  preferred: z.ZodBoolean;
47
47
  plausible: z.ZodBoolean;
@@ -63,12 +63,12 @@ declare const ConnectionEndpointSchema: z.ZodObject<{
63
63
  }>;
64
64
  interfaceKind: z.ZodEnum<{
65
65
  public: "public";
66
- other: "other";
67
66
  lan: "lan";
68
67
  wifi: "wifi";
69
68
  docker: "docker";
70
69
  vpn: "vpn";
71
70
  loopback: "loopback";
71
+ other: "other";
72
72
  }>;
73
73
  plausible: z.ZodBoolean;
74
74
  plausibleReason: z.ZodString;
@@ -93,12 +93,12 @@ export declare const localNetworkCapability: {
93
93
  internal: z.ZodBoolean;
94
94
  mac: z.ZodString;
95
95
  kind: z.ZodEnum<{
96
- other: "other";
97
96
  lan: "lan";
98
97
  wifi: "wifi";
99
98
  docker: "docker";
100
99
  vpn: "vpn";
101
100
  loopback: "loopback";
101
+ other: "other";
102
102
  }>;
103
103
  preferred: z.ZodBoolean;
104
104
  plausible: z.ZodBoolean;
@@ -128,12 +128,12 @@ export declare const localNetworkCapability: {
128
128
  internal: z.ZodBoolean;
129
129
  mac: z.ZodString;
130
130
  kind: z.ZodEnum<{
131
- other: "other";
132
131
  lan: "lan";
133
132
  wifi: "wifi";
134
133
  docker: "docker";
135
134
  vpn: "vpn";
136
135
  loopback: "loopback";
136
+ other: "other";
137
137
  }>;
138
138
  preferred: z.ZodBoolean;
139
139
  plausible: z.ZodBoolean;
@@ -153,8 +153,8 @@ export declare const localNetworkCapability: {
153
153
  includeLoopback: z.ZodOptional<z.ZodBoolean>;
154
154
  ipv4Only: z.ZodOptional<z.ZodBoolean>;
155
155
  scheme: z.ZodOptional<z.ZodEnum<{
156
- https: "https";
157
156
  http: "http";
157
+ https: "https";
158
158
  }>>;
159
159
  }, z.core.$strip>, z.ZodObject<{
160
160
  endpoints: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -168,12 +168,12 @@ export declare const localNetworkCapability: {
168
168
  }>;
169
169
  interfaceKind: z.ZodEnum<{
170
170
  public: "public";
171
- other: "other";
172
171
  lan: "lan";
173
172
  wifi: "wifi";
174
173
  docker: "docker";
175
174
  vpn: "vpn";
176
175
  loopback: "loopback";
176
+ other: "other";
177
177
  }>;
178
178
  plausible: z.ZodBoolean;
179
179
  plausibleReason: z.ZodString;