@camstack/types 1.2.259 → 1.2.261

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 (73) hide show
  1. package/dist/addon/base-addon.d.ts +9 -1
  2. package/dist/addon.js +15 -7
  3. package/dist/addon.mjs +15 -7
  4. package/dist/capabilities/camera-streams.cap.d.ts +5 -5
  5. package/dist/capabilities/capability-definition.d.ts +9 -0
  6. package/dist/capabilities/custom-model-registry.cap.d.ts +18 -12
  7. package/dist/capabilities/decoder.cap.d.ts +12 -12
  8. package/dist/capabilities/device-extension.cap.d.ts +370 -0
  9. package/dist/capabilities/device-manager.cap.d.ts +45 -5
  10. package/dist/capabilities/doorbell.cap.d.ts +41 -0
  11. package/dist/capabilities/embedding-encoder.cap.d.ts +175 -0
  12. package/dist/capabilities/index.d.ts +17 -14
  13. package/dist/capabilities/llm-runtime.cap.d.ts +4 -4
  14. package/dist/capabilities/llm-shared.d.ts +6 -6
  15. package/dist/capabilities/llm.cap.d.ts +6 -6
  16. package/dist/capabilities/load-contribution.cap.d.ts +2 -2
  17. package/dist/capabilities/model-convert.cap.d.ts +9 -6
  18. package/dist/capabilities/model-distributor.cap.d.ts +18 -12
  19. package/dist/capabilities/motion-detection.cap.d.ts +4 -4
  20. package/dist/capabilities/notification-rules.cap.d.ts +603 -31
  21. package/dist/capabilities/osd-manager.cap.d.ts +7 -7
  22. package/dist/capabilities/pipeline-analytics.cap.d.ts +130 -129
  23. package/dist/capabilities/pipeline-executor.cap.d.ts +78 -120
  24. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +78 -65
  25. package/dist/capabilities/pipeline-runner.cap.d.ts +30 -6
  26. package/dist/capabilities/platform-probe.cap.d.ts +4 -13
  27. package/dist/capabilities/recording-export.cap.d.ts +7 -7
  28. package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
  29. package/dist/capabilities/schemas/streaming-shared.d.ts +8 -8
  30. package/dist/capabilities/stream-broker.cap.d.ts +9 -9
  31. package/dist/capabilities/system.cap.d.ts +2 -2
  32. package/dist/capabilities/vacuum-control.cap.d.ts +13 -13
  33. package/dist/capabilities/vector-store.cap.d.ts +14 -0
  34. package/dist/capabilities/videoclips.cap.d.ts +5 -5
  35. package/dist/capabilities/webrtc-session.cap.d.ts +2 -2
  36. package/dist/device-extension/index.d.ts +3 -0
  37. package/dist/device-extension/slot-descriptor.d.ts +62 -0
  38. package/dist/device-extension/slot-provider.d.ts +68 -0
  39. package/dist/generated/addon-api.d.ts +59 -9
  40. package/dist/generated/cap-input-defaults.d.ts +1 -1
  41. package/dist/generated/capability-router-map.d.ts +5 -2
  42. package/dist/generated/collection-array-methods.d.ts +1 -1
  43. package/dist/generated/device-proxy.d.ts +7 -7
  44. package/dist/generated/device-scoped-caps.d.ts +1 -1
  45. package/dist/generated/extension-slots.d.ts +39 -0
  46. package/dist/generated/method-access-map.d.ts +1 -1
  47. package/dist/generated/method-device-selectors.d.ts +1 -1
  48. package/dist/generated/system-proxy.d.ts +4 -2
  49. package/dist/index.d.ts +8 -3
  50. package/dist/index.js +3125 -1792
  51. package/dist/index.mjs +3049 -1788
  52. package/dist/interfaces/addon.d.ts +41 -0
  53. package/dist/interfaces/event-bus.d.ts +11 -1
  54. package/dist/interfaces/pipeline-executor-capability.d.ts +15 -6
  55. package/dist/interfaces/platform.d.ts +2 -2
  56. package/dist/interfaces/stream-broker.d.ts +2 -2
  57. package/dist/node.d.ts +1 -0
  58. package/dist/node.js +73 -7
  59. package/dist/node.mjs +73 -8
  60. package/dist/notification/system-event-summary.d.ts +83 -0
  61. package/dist/notification/template-vars.d.ts +15 -0
  62. package/dist/pipeline/cluster-model-scope.d.ts +59 -3
  63. package/dist/{sleep-DU7mu4wb.mjs → sleep-BXv0ZcRa.mjs} +49 -33
  64. package/dist/{sleep-DtomDrRW.js → sleep-QxyLiUId.js} +54 -32
  65. package/dist/storage/atomic-write.d.ts +25 -0
  66. package/dist/types/clip-model.d.ts +64 -0
  67. package/dist/types/detection.d.ts +9 -0
  68. package/dist/types/models.d.ts +18 -19
  69. package/dist/types/pipeline-step.d.ts +9 -1
  70. package/dist/types/pipeline.d.ts +2 -1
  71. package/dist/utils/background-run-registry.d.ts +69 -0
  72. package/dist/utils/runtime-mapping.d.ts +9 -54
  73. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import type { ZodType } from 'zod';
2
- import type { AddonContext, AddonInitResult, CapabilitiesAccess, ProviderRegistration } from '../interfaces/addon.js';
2
+ import type { AddonContext, AddonInitResult, CapabilitiesAccess, ProviderRegistration, StoredKeyRead } from '../interfaces/addon.js';
3
3
  import type { ConfigField, ConfigSection, ConfigUISchema, ConfigUISchemaWithValues } from '../interfaces/config-ui.js';
4
4
  import { type DurableState } from './durable-state.js';
5
5
  export type { CapabilitiesAccess };
@@ -261,6 +261,14 @@ export declare abstract class BaseAddon<TConfig extends object = Record<string,
261
261
  * `nodeId` omitted ⇒ the local node (node-blind injection from ctx).
262
262
  */
263
263
  protected resolveGlobalStore(nodeId?: string, cap?: string): Promise<Record<string, unknown>>;
264
+ /**
265
+ * Whether ONE global key of this addon's store was written, read three-way
266
+ * (D651). For a question a hydrated view cannot answer: `getGlobalSettings`
267
+ * reports `value ?? default`, so "the operator chose the default" and "nobody
268
+ * chose" look the same, and a failed read looks like both. A `perNode` key is
269
+ * not supported here: its stored name is scoped.
270
+ */
271
+ protected readStoredGlobalKey(key: string): Promise<StoredKeyRead>;
264
272
  updateGlobalSettings(patch: Partial<TConfig>, nodeId?: string): Promise<void>;
265
273
  /**
266
274
  * The set of field keys the global settings schema declares `perNode: true`
package/dist/addon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-DtomDrRW.js");
2
+ const require_sleep = require("./sleep-QxyLiUId.js");
3
3
  const require_event_category = require("./event-category-BVfsrBYA.js");
4
4
  const require_err_msg = require("./err-msg-COpsHMw2.js");
5
5
  //#region src/generated/cap-input-defaults.ts
@@ -16,7 +16,7 @@ const require_err_msg = require("./err-msg-COpsHMw2.js");
16
16
  * Plain data, zero Zod: a forked runner must not import the schema barrel
17
17
  * (~144MB RSS per runner — D28).
18
18
  *
19
- * Coverage: 24 caps, 58 methods with defaults.
19
+ * Coverage: 24 caps, 59 methods with defaults.
20
20
  */
21
21
  var CAP_INPUT_DEFAULTS = Object.freeze({
22
22
  "addons": { "getLogs": { "limit": 100 } },
@@ -109,6 +109,16 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
109
109
  "priority": 3
110
110
  } } },
111
111
  "getHistory": { "filter": { "limit": 100 } },
112
+ "previewStateSummary": { "rule": { "__nested__": {
113
+ "enabled": true,
114
+ "conditions": {},
115
+ "media": { "attach": "best" },
116
+ "throttle": {
117
+ "cooldownSec": 60,
118
+ "scope": "rule-device"
119
+ },
120
+ "priority": 3
121
+ } } },
112
122
  "testRule": {
113
123
  "rule": { "__nested__": {
114
124
  "enabled": true,
@@ -140,10 +150,7 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
140
150
  "listRecentTracks": { "limit": 200 },
141
151
  "listSummaries": { "limit": 50 },
142
152
  "reclaimDebugMedia": { "mode": "report" },
143
- "searchObjectEvents": {
144
- "limit": 50,
145
- "minScore": .2
146
- }
153
+ "searchObjectEvents": { "limit": 50 }
147
154
  },
148
155
  "pipeline-runner": {
149
156
  "attachCamera": {
@@ -297,7 +304,7 @@ function materialise(defaults) {
297
304
  * barrel (`ALL_CAPABILITY_DEFINITIONS`), which would cost ~144MB RSS per
298
305
  * forked runner. See docs/decisions/adr-0028.md.
299
306
  *
300
- * Coverage: 23 collection caps, 37 array methods.
307
+ * Coverage: 24 collection caps, 39 array methods.
301
308
  */
302
309
  var COLLECTION_ARRAY_METHODS = Object.freeze({
303
310
  "addon-pages-source": ["listPages"],
@@ -307,6 +314,7 @@ var COLLECTION_ARRAY_METHODS = Object.freeze({
307
314
  "custom-model-registry": ["listModels"],
308
315
  "data-store-provider": ["histogram", "query"],
309
316
  "device-export": ["listExposedDevices", "listSupportedDeviceKinds"],
317
+ "device-extension": ["listSlots", "listSources"],
310
318
  "device-provider": ["discoverDevices", "getDevices"],
311
319
  "failure-contribution": ["list"],
312
320
  "llm": [
package/dist/addon.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as DeviceType, At as DATAPLANE_SECRET_HEADER, Dt as PEER_BYTES_STALL_MS, Et as PEER_BYTES_MAX_OUTSTANDING, G as readNodePin, J as ReadinessTimeoutError, L as expandCapMethods, Lt as emitReadiness, Mt as DisposerChain, Nt as BaseAddon, Ot as PEER_BYTES_TICKET_TTL_MS, Pt as normalizeAddonInitResult, S as DEVICE_CHILDREN_BATCH_MAX, T as describeCustomActions, Tt as PEER_BYTES_CHUNK_BYTES, W as nodePin, Z as scopeKey, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, j as adminUiCapability, m as createDeviceProxy, p as isDeviceScopedCap, q as ReadinessRegistry, s as asString, t as sleep, u as parseJsonUnknown, x as viewerUiCapability } from "./sleep-DU7mu4wb.mjs";
1
+ import { A as DeviceType, At as DATAPLANE_SECRET_HEADER, Dt as PEER_BYTES_STALL_MS, Et as PEER_BYTES_MAX_OUTSTANDING, G as readNodePin, J as ReadinessTimeoutError, L as expandCapMethods, Mt as DisposerChain, Nt as BaseAddon, Ot as PEER_BYTES_TICKET_TTL_MS, Pt as normalizeAddonInitResult, Rt as emitReadiness, S as DEVICE_CHILDREN_BATCH_MAX, T as describeCustomActions, Tt as PEER_BYTES_CHUNK_BYTES, W as nodePin, Z as scopeKey, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, j as adminUiCapability, m as createDeviceProxy, p as isDeviceScopedCap, q as ReadinessRegistry, s as asString, t as sleep, u as parseJsonUnknown, x as viewerUiCapability } from "./sleep-BXv0ZcRa.mjs";
2
2
  import { t as EventCategory } from "./event-category-BVDXG4tB.mjs";
3
3
  import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
4
4
  //#region src/generated/cap-input-defaults.ts
@@ -15,7 +15,7 @@ import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
15
15
  * Plain data, zero Zod: a forked runner must not import the schema barrel
16
16
  * (~144MB RSS per runner — D28).
17
17
  *
18
- * Coverage: 24 caps, 58 methods with defaults.
18
+ * Coverage: 24 caps, 59 methods with defaults.
19
19
  */
20
20
  var CAP_INPUT_DEFAULTS = Object.freeze({
21
21
  "addons": { "getLogs": { "limit": 100 } },
@@ -108,6 +108,16 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
108
108
  "priority": 3
109
109
  } } },
110
110
  "getHistory": { "filter": { "limit": 100 } },
111
+ "previewStateSummary": { "rule": { "__nested__": {
112
+ "enabled": true,
113
+ "conditions": {},
114
+ "media": { "attach": "best" },
115
+ "throttle": {
116
+ "cooldownSec": 60,
117
+ "scope": "rule-device"
118
+ },
119
+ "priority": 3
120
+ } } },
111
121
  "testRule": {
112
122
  "rule": { "__nested__": {
113
123
  "enabled": true,
@@ -139,10 +149,7 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
139
149
  "listRecentTracks": { "limit": 200 },
140
150
  "listSummaries": { "limit": 50 },
141
151
  "reclaimDebugMedia": { "mode": "report" },
142
- "searchObjectEvents": {
143
- "limit": 50,
144
- "minScore": .2
145
- }
152
+ "searchObjectEvents": { "limit": 50 }
146
153
  },
147
154
  "pipeline-runner": {
148
155
  "attachCamera": {
@@ -296,7 +303,7 @@ function materialise(defaults) {
296
303
  * barrel (`ALL_CAPABILITY_DEFINITIONS`), which would cost ~144MB RSS per
297
304
  * forked runner. See docs/decisions/adr-0028.md.
298
305
  *
299
- * Coverage: 23 collection caps, 37 array methods.
306
+ * Coverage: 24 collection caps, 39 array methods.
300
307
  */
301
308
  var COLLECTION_ARRAY_METHODS = Object.freeze({
302
309
  "addon-pages-source": ["listPages"],
@@ -306,6 +313,7 @@ var COLLECTION_ARRAY_METHODS = Object.freeze({
306
313
  "custom-model-registry": ["listModels"],
307
314
  "data-store-provider": ["histogram", "query"],
308
315
  "device-export": ["listExposedDevices", "listSupportedDeviceKinds"],
316
+ "device-extension": ["listSlots", "listSources"],
309
317
  "device-provider": ["discoverDevices", "getDevices"],
310
318
  "failure-contribution": ["list"],
311
319
  "llm": [
@@ -140,8 +140,8 @@ export declare const cameraStreamsCapability: {
140
140
  sourceCamStreamId: z.ZodNullable<z.ZodString>;
141
141
  status: z.ZodEnum<{
142
142
  error: "error";
143
- unassigned: "unassigned";
144
143
  idle: "idle";
144
+ unassigned: "unassigned";
145
145
  connecting: "connecting";
146
146
  streaming: "streaming";
147
147
  }>;
@@ -326,8 +326,8 @@ export declare const cameraStreamsCapability: {
326
326
  sourceCamStreamId: z.ZodNullable<z.ZodString>;
327
327
  status: z.ZodEnum<{
328
328
  error: "error";
329
- unassigned: "unassigned";
330
329
  idle: "idle";
330
+ unassigned: "unassigned";
331
331
  connecting: "connecting";
332
332
  streaming: "streaming";
333
333
  }>;
@@ -369,22 +369,22 @@ export declare const cameraStreamsCapability: {
369
369
  slotStatuses: z.ZodObject<{
370
370
  high: z.ZodOptional<z.ZodEnum<{
371
371
  error: "error";
372
- unassigned: "unassigned";
373
372
  idle: "idle";
373
+ unassigned: "unassigned";
374
374
  connecting: "connecting";
375
375
  streaming: "streaming";
376
376
  }>>;
377
377
  mid: z.ZodOptional<z.ZodEnum<{
378
378
  error: "error";
379
- unassigned: "unassigned";
380
379
  idle: "idle";
380
+ unassigned: "unassigned";
381
381
  connecting: "connecting";
382
382
  streaming: "streaming";
383
383
  }>>;
384
384
  low: z.ZodOptional<z.ZodEnum<{
385
385
  error: "error";
386
- unassigned: "unassigned";
387
386
  idle: "idle";
387
+ unassigned: "unassigned";
388
388
  connecting: "connecting";
389
389
  streaming: "streaming";
390
390
  }>>;
@@ -14,6 +14,7 @@
14
14
  import { z } from 'zod';
15
15
  import { DeviceType } from '../device/device-type.js';
16
16
  import type { ConfigUISchemaWithValues } from '../interfaces/config-ui.js';
17
+ import type { ExtensionSlotDescriptor } from '../device-extension/slot-descriptor.js';
17
18
  /**
18
19
  * tRPC procedure kind.
19
20
  * - 'query': read-only, no side effects
@@ -503,6 +504,14 @@ export interface CapabilityDefinition<TName extends string = string, TMethods ex
503
504
  readonly deviceConfig?: DeviceConfigSpec;
504
505
  /** For `scope: 'device'` caps — allowed device types. Omit → applies to every type. */
505
506
  readonly deviceTypes?: readonly DeviceType[];
507
+ /**
508
+ * Extension slots this capability OWNS (D648): the ways a device of this
509
+ * kind can be extended by other devices, served by this cap's owner over
510
+ * the store it already has. Folded by `npm run codegen` into
511
+ * `generated/extension-slots.ts` and listed by `device-extension`.
512
+ * Behavioural metadata, so it lives here and only here (D4).
513
+ */
514
+ readonly extensionSlots?: readonly ExtensionSlotDescriptor[];
506
515
  /**
507
516
  * When `true`, every provider of this capability MUST implement the
508
517
  * device-settings contribution surface — three extra methods appearing
@@ -30,7 +30,6 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
30
30
  isDirectory: z.ZodOptional<z.ZodBoolean>;
31
31
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
32
32
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
33
- node: "node";
34
33
  python: "python";
35
34
  }>>>>;
36
35
  }, z.core.$strip>>;
@@ -40,7 +39,6 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
40
39
  isDirectory: z.ZodOptional<z.ZodBoolean>;
41
40
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
42
41
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
43
- node: "node";
44
42
  python: "python";
45
43
  }>>>>;
46
44
  }, z.core.$strip>>;
@@ -50,7 +48,6 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
50
48
  isDirectory: z.ZodOptional<z.ZodBoolean>;
51
49
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
52
50
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
53
- node: "node";
54
51
  python: "python";
55
52
  }>>>>;
56
53
  }, z.core.$strip>>;
@@ -60,7 +57,6 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
60
57
  isDirectory: z.ZodOptional<z.ZodBoolean>;
61
58
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
62
59
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
63
- node: "node";
64
60
  python: "python";
65
61
  }>>>>;
66
62
  }, z.core.$strip>>;
@@ -70,7 +66,6 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
70
66
  isDirectory: z.ZodOptional<z.ZodBoolean>;
71
67
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
72
68
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
73
- node: "node";
74
69
  python: "python";
75
70
  }>>>>;
76
71
  }, z.core.$strip>>;
@@ -80,7 +75,6 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
80
75
  isDirectory: z.ZodOptional<z.ZodBoolean>;
81
76
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
82
77
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
83
- node: "node";
84
78
  python: "python";
85
79
  }>>>>;
86
80
  }, z.core.$strip>>;
@@ -153,6 +147,15 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
153
147
  }>>;
154
148
  preserveOriginal: z.ZodBoolean;
155
149
  }, z.core.$strip>>;
150
+ clip: z.ZodOptional<z.ZodObject<{
151
+ textModelId: z.ZodString;
152
+ embeddingDim: z.ZodNumber;
153
+ vectorIndex: z.ZodString;
154
+ tokenizerFile: z.ZodString;
155
+ contextLength: z.ZodNumber;
156
+ padId: z.ZodNumber;
157
+ searchMinScore: z.ZodNumber;
158
+ }, z.core.$strip>>;
156
159
  }, z.core.$strip>;
157
160
  }, z.core.$strip>;
158
161
  export type CustomModelDescriptor = z.infer<typeof CustomModelDescriptorSchema>;
@@ -184,7 +187,6 @@ export declare const customModelRegistryCapability: {
184
187
  isDirectory: z.ZodOptional<z.ZodBoolean>;
185
188
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
186
189
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
187
- node: "node";
188
190
  python: "python";
189
191
  }>>>>;
190
192
  }, z.core.$strip>>;
@@ -194,7 +196,6 @@ export declare const customModelRegistryCapability: {
194
196
  isDirectory: z.ZodOptional<z.ZodBoolean>;
195
197
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
196
198
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
197
- node: "node";
198
199
  python: "python";
199
200
  }>>>>;
200
201
  }, z.core.$strip>>;
@@ -204,7 +205,6 @@ export declare const customModelRegistryCapability: {
204
205
  isDirectory: z.ZodOptional<z.ZodBoolean>;
205
206
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
206
207
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
207
- node: "node";
208
208
  python: "python";
209
209
  }>>>>;
210
210
  }, z.core.$strip>>;
@@ -214,7 +214,6 @@ export declare const customModelRegistryCapability: {
214
214
  isDirectory: z.ZodOptional<z.ZodBoolean>;
215
215
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
216
216
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
217
- node: "node";
218
217
  python: "python";
219
218
  }>>>>;
220
219
  }, z.core.$strip>>;
@@ -224,7 +223,6 @@ export declare const customModelRegistryCapability: {
224
223
  isDirectory: z.ZodOptional<z.ZodBoolean>;
225
224
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
226
225
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
227
- node: "node";
228
226
  python: "python";
229
227
  }>>>>;
230
228
  }, z.core.$strip>>;
@@ -234,7 +232,6 @@ export declare const customModelRegistryCapability: {
234
232
  isDirectory: z.ZodOptional<z.ZodBoolean>;
235
233
  files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
236
234
  runtimes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
237
- node: "node";
238
235
  python: "python";
239
236
  }>>>>;
240
237
  }, z.core.$strip>>;
@@ -307,6 +304,15 @@ export declare const customModelRegistryCapability: {
307
304
  }>>;
308
305
  preserveOriginal: z.ZodBoolean;
309
306
  }, z.core.$strip>>;
307
+ clip: z.ZodOptional<z.ZodObject<{
308
+ textModelId: z.ZodString;
309
+ embeddingDim: z.ZodNumber;
310
+ vectorIndex: z.ZodString;
311
+ tokenizerFile: z.ZodString;
312
+ contextLength: z.ZodNumber;
313
+ padId: z.ZodNumber;
314
+ searchMinScore: z.ZodNumber;
315
+ }, z.core.$strip>>;
310
316
  }, z.core.$strip>;
311
317
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
312
318
  };
@@ -68,11 +68,11 @@ export declare const decoderCapability: {
68
68
  codec: z.ZodString;
69
69
  maxFps: z.ZodDefault<z.ZodNumber>;
70
70
  outputFormat: z.ZodDefault<z.ZodEnum<{
71
- rgb: "rgb";
72
- gray: "gray";
73
71
  jpeg: "jpeg";
72
+ rgb: "rgb";
74
73
  bgr: "bgr";
75
74
  yuv420: "yuv420";
75
+ gray: "gray";
76
76
  }>>;
77
77
  scale: z.ZodDefault<z.ZodNumber>;
78
78
  width: z.ZodOptional<z.ZodNumber>;
@@ -118,11 +118,11 @@ export declare const decoderCapability: {
118
118
  width: z.ZodNumber;
119
119
  height: z.ZodNumber;
120
120
  format: z.ZodEnum<{
121
- rgb: "rgb";
122
- gray: "gray";
123
121
  jpeg: "jpeg";
122
+ rgb: "rgb";
124
123
  bgr: "bgr";
125
124
  yuv420: "yuv420";
125
+ gray: "gray";
126
126
  }>;
127
127
  timestamp: z.ZodNumber;
128
128
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
@@ -137,11 +137,11 @@ export declare const decoderCapability: {
137
137
  width: z.ZodNumber;
138
138
  height: z.ZodNumber;
139
139
  format: z.ZodEnum<{
140
- rgb: "rgb";
141
- gray: "gray";
142
140
  jpeg: "jpeg";
141
+ rgb: "rgb";
143
142
  bgr: "bgr";
144
143
  yuv420: "yuv420";
144
+ gray: "gray";
145
145
  }>;
146
146
  pts: z.ZodNumber;
147
147
  byteLength: z.ZodNumber;
@@ -156,11 +156,11 @@ export declare const decoderCapability: {
156
156
  width: z.ZodNumber;
157
157
  height: z.ZodNumber;
158
158
  format: z.ZodEnum<{
159
- rgb: "rgb";
160
- gray: "gray";
161
159
  jpeg: "jpeg";
160
+ rgb: "rgb";
162
161
  bgr: "bgr";
163
162
  yuv420: "yuv420";
163
+ gray: "gray";
164
164
  }>;
165
165
  pts: z.ZodNumber;
166
166
  byteLength: z.ZodNumber;
@@ -172,11 +172,11 @@ export declare const decoderCapability: {
172
172
  width: z.ZodNumber;
173
173
  height: z.ZodNumber;
174
174
  format: z.ZodEnum<{
175
- rgb: "rgb";
176
- gray: "gray";
177
175
  jpeg: "jpeg";
176
+ rgb: "rgb";
178
177
  bgr: "bgr";
179
178
  yuv420: "yuv420";
179
+ gray: "gray";
180
180
  }>;
181
181
  timestamp: z.ZodNumber;
182
182
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
@@ -198,11 +198,11 @@ export declare const decoderCapability: {
198
198
  codec: z.ZodOptional<z.ZodString>;
199
199
  maxFps: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
200
200
  outputFormat: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
201
- rgb: "rgb";
202
- gray: "gray";
203
201
  jpeg: "jpeg";
202
+ rgb: "rgb";
204
203
  bgr: "bgr";
205
204
  yuv420: "yuv420";
205
+ gray: "gray";
206
206
  }>>>;
207
207
  scale: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
208
208
  width: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;