@camstack/types 1.2.20 → 1.2.22

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/dist/index.mjs CHANGED
@@ -963,14 +963,7 @@ var RecordingConfigSchema = z.object({
963
963
  * windows only — existing sheets are immutable, and each window's index
964
964
  * carries its own tile dims so mixed-preset history renders correctly.
965
965
  */
966
- scrubThumbnails: ScrubThumbnailPresetSchema.optional(),
967
- /**
968
- * OPT-IN thumbnail-strip generation for this camera: every keyframe of the
969
- * low recording saved as a JPEG (the fast-drag scrub depth), a derived
970
- * cache that eviction reclaims with the footage. Absent/false = no strips
971
- * are written and scrub reads exact keyframes at every velocity.
972
- */
973
- stripsEnabled: z.boolean().optional()
966
+ scrubThumbnails: ScrubThumbnailPresetSchema.optional()
974
967
  }).strict();
975
968
  /**
976
969
  * Derive the {@link RecordingStorageModeSchema} summary from the authoritative
@@ -1059,7 +1052,7 @@ var OPS_LOG_DEFAULT_LIMIT = 200;
1059
1052
  /**
1060
1053
  * Entity-relocation job state (storage entity-routing spec, Phase 4).
1061
1054
  *
1062
- * One shape shared by the recorder's `relocateFootage` (segments + strips) and
1055
+ * One shape shared by the recorder's `relocateFootage` (segments) and
1063
1056
  * pipeline-analytics' `relocateMedia` (event media blobs) so the admin Data
1064
1057
  * page renders both movers with one component. Jobs are in-RAM (a restart
1065
1058
  * forgets them — re-running is safe by construction: copy-if-absent, delete
@@ -1081,7 +1074,7 @@ var RelocateJobSchema = z.object({
1081
1074
  toLocationId: z.string(),
1082
1075
  /** Scoped device, or null = every device. */
1083
1076
  deviceId: z.number().nullable(),
1084
- /** What the job moves (owner-addon specific: segments/strips or media). */
1077
+ /** What the job moves (owner-addon specific: segments or media). */
1085
1078
  entities: z.array(z.string()),
1086
1079
  filesMoved: z.number().int(),
1087
1080
  bytesMoved: z.number().int(),
@@ -1095,7 +1088,7 @@ var RelocateFootageInputSchema = z.object({
1095
1088
  deviceId: z.number().optional(),
1096
1089
  fromLocationId: z.string(),
1097
1090
  toLocationId: z.string(),
1098
- entities: z.array(z.enum(["segments", "strips"])).optional(),
1091
+ entities: z.array(z.enum(["segments"])).optional(),
1099
1092
  /** Copy throttle in MB/s (default 40) — the drain is a background chore,
1100
1093
  * never allowed to starve live writers. */
1101
1094
  throttleMbps: z.number().min(1).max(1e3).optional()
@@ -14927,6 +14920,8 @@ function createSystemProxy(api) {
14927
14920
  insert: (input) => dispatch("settingsStore", "insert", "mutation", input),
14928
14921
  update: (input) => dispatch("settingsStore", "update", "mutation", input),
14929
14922
  delete: (input) => dispatch("settingsStore", "delete", "mutation", input),
14923
+ deleteWhere: (input) => dispatch("settingsStore", "deleteWhere", "mutation", input),
14924
+ updateWhere: (input) => dispatch("settingsStore", "updateWhere", "mutation", input),
14930
14925
  count: (input) => dispatch("settingsStore", "count", "query", input),
14931
14926
  histogram: (input) => dispatch("settingsStore", "histogram", "query", input),
14932
14927
  isEmpty: (input) => dispatch("settingsStore", "isEmpty", "query", input),
@@ -17430,6 +17425,353 @@ var decoderCapability = {
17430
17425
  }
17431
17426
  };
17432
17427
  //#endregion
17428
+ //#region src/capabilities/settings-store.cap.ts
17429
+ /**
17430
+ * Query filter for settings-store collections.
17431
+ */
17432
+ var QueryFilterSchema = z.object({
17433
+ where: z.record(z.string(), z.unknown()).optional(),
17434
+ whereIn: z.record(z.string(), z.array(z.unknown())).optional(),
17435
+ whereBetween: z.record(z.string(), z.tuple([z.unknown(), z.unknown()])).optional(),
17436
+ orderBy: z.object({
17437
+ field: z.string(),
17438
+ direction: z.enum(["asc", "desc"])
17439
+ }).optional(),
17440
+ limit: z.number().optional(),
17441
+ offset: z.number().optional()
17442
+ });
17443
+ /**
17444
+ * The predicate half of a filter, for BULK MUTATIONS.
17445
+ *
17446
+ * Deliberately not `QueryFilterSchema`: `orderBy` / `limit` / `offset` have no
17447
+ * meaning for a statement that rewrites a set, and accepting them would invite
17448
+ * a caller to believe `limit` bounds the damage. Every field is optional here
17449
+ * only so the shape stays composable — the implementation REJECTS a filter
17450
+ * that compiles to no predicate, because that is the whole collection.
17451
+ */
17452
+ var MutationFilterSchema = z.object({
17453
+ where: z.record(z.string(), z.unknown()).optional(),
17454
+ whereIn: z.record(z.string(), z.array(z.unknown())).optional(),
17455
+ whereBetween: z.record(z.string(), z.tuple([z.unknown(), z.unknown()])).optional()
17456
+ });
17457
+ /** A single stored record: `{ id, data }`. */
17458
+ var SettingsRecordSchema = z.object({
17459
+ id: z.string(),
17460
+ data: z.record(z.string(), z.unknown())
17461
+ });
17462
+ /**
17463
+ * Column declaration for a structured (SQL-backed) collection.
17464
+ *
17465
+ * Logical types — the backend translates each to the matching SQLite
17466
+ * storage class and handles per-type marshaling:
17467
+ * - `TEXT` / `INTEGER` / `REAL` — native SQLite types, pass-through
17468
+ * - `JSON` — TEXT under the hood; serialised on write, parsed on read
17469
+ * - `BOOLEAN` — INTEGER 0/1 under the hood; coerced both directions
17470
+ */
17471
+ var CollectionColumnSchema = z.object({
17472
+ name: z.string(),
17473
+ type: z.enum([
17474
+ "TEXT",
17475
+ "INTEGER",
17476
+ "REAL",
17477
+ "JSON",
17478
+ "BOOLEAN"
17479
+ ]),
17480
+ primaryKey: z.boolean().optional(),
17481
+ notNull: z.boolean().optional(),
17482
+ unique: z.boolean().optional()
17483
+ });
17484
+ var CollectionIndexSchema = z.object({
17485
+ name: z.string(),
17486
+ columns: z.array(z.string()).readonly(),
17487
+ unique: z.boolean().optional()
17488
+ });
17489
+ /**
17490
+ * settings-store — singleton capability for addon-scoped persistence.
17491
+ *
17492
+ * Every method operates within a `collection`. An optional `namespace`
17493
+ * field provides access to additional data spaces beyond the default
17494
+ * addon settings — useful for business data (events, tracks, faces, etc.).
17495
+ *
17496
+ * **Scoping is the CALLER's, and it is opt-in.** The table is
17497
+ * `namespace ? `${namespace}:${collection}` : collection` — nothing
17498
+ * consults the identity of the caller. An earlier version of this comment
17499
+ * claimed the implementation prefixes every collection with the calling
17500
+ * addon's ID and that "addons never see each other's data"; that was never
17501
+ * true, and this same file contradicted it under `declareCollection`. What
17502
+ * exists is `addon-context-factory`, which passes `namespace: addonId` ON
17503
+ * THE ADDON'S BEHALF for the `addon-settings` / `addon-devices` paths only.
17504
+ * Business collections use bare names, and any caller may name any
17505
+ * namespace, or none. Making the door enforce it is tracked separately —
17506
+ * it renames tables, so it needs a migration.
17507
+ *
17508
+ * - `{ collection: 'addon-settings' }` → table `addon-settings`
17509
+ * - `{ namespace: 'my-addon', collection: 'addon-settings' }` →
17510
+ * table `my-addon:addon-settings`
17511
+ *
17512
+ * Served by the **storage-orchestrator** builtin, which dispatches to the
17513
+ * `data-store-provider` engine registered for the collection
17514
+ * (`sqlite-settings`, a SQLite WAL backend, today). One addon owns the
17515
+ * data door; engines sit behind it
17516
+ * ([D44](../../../../docs/decisions/adr-0044.md)).
17517
+ * Addons access it via `ctx.api.settingsStore.*`.
17518
+ */
17519
+ var settingsStoreCapability = {
17520
+ name: "settings-store",
17521
+ scope: "system",
17522
+ mode: "singleton",
17523
+ methods: {
17524
+ /** Get a single value by key from a collection. */
17525
+ get: method(z.object({
17526
+ namespace: z.string().optional(),
17527
+ collection: z.string(),
17528
+ key: z.string()
17529
+ }), z.unknown()),
17530
+ /** Set a value by key in a collection (upsert). */
17531
+ set: method(z.object({
17532
+ namespace: z.string().optional(),
17533
+ collection: z.string(),
17534
+ key: z.string(),
17535
+ value: z.unknown()
17536
+ }), z.void(), { kind: "mutation" }),
17537
+ /** Get all entries matching an optional filter. */
17538
+ query: method(z.object({
17539
+ namespace: z.string().optional(),
17540
+ collection: z.string(),
17541
+ filter: QueryFilterSchema.optional()
17542
+ }), z.array(SettingsRecordSchema).readonly()),
17543
+ /** Insert a new record. */
17544
+ insert: method(z.object({
17545
+ namespace: z.string().optional(),
17546
+ collection: z.string(),
17547
+ record: SettingsRecordSchema
17548
+ }), z.void(), { kind: "mutation" }),
17549
+ /** Update an existing record by ID. */
17550
+ update: method(z.object({
17551
+ namespace: z.string().optional(),
17552
+ collection: z.string(),
17553
+ id: z.string(),
17554
+ data: z.record(z.string(), z.unknown())
17555
+ }), z.void(), { kind: "mutation" }),
17556
+ /** Delete a record by key/ID. */
17557
+ delete: method(z.object({
17558
+ namespace: z.string().optional(),
17559
+ collection: z.string(),
17560
+ key: z.string()
17561
+ }), z.void(), { kind: "mutation" }),
17562
+ /**
17563
+ * Delete every record matching `filter`, in ONE statement, returning how
17564
+ * many rows went. This exists because its absence made every retention
17565
+ * path in the system an N+1 drain loop: `delete` takes a key, so a sweep
17566
+ * had to SELECT a page of full rows — every column, including the fat
17567
+ * ones — purely to learn their ids, then issue one call per row.
17568
+ *
17569
+ * **The filter is required and must resolve.** A predicate naming
17570
+ * something the collection cannot express is an ERROR here, not a
17571
+ * widening as it is on `query`, and a filter with no predicates is an
17572
+ * error rather than "every row". Deleting a whole collection is a
17573
+ * legitimate intent, but it must be asked for by name — not reached by
17574
+ * an empty object.
17575
+ */
17576
+ deleteWhere: method(z.object({
17577
+ namespace: z.string().optional(),
17578
+ collection: z.string(),
17579
+ filter: MutationFilterSchema
17580
+ }), z.object({ deleted: z.number().int() }), { kind: "mutation" }),
17581
+ /**
17582
+ * Apply `data` to every record matching `filter`, in one statement,
17583
+ * returning how many rows changed. Same filter contract as
17584
+ * {@link deleteWhere} — an unresolvable predicate is an error.
17585
+ */
17586
+ updateWhere: method(z.object({
17587
+ namespace: z.string().optional(),
17588
+ collection: z.string(),
17589
+ filter: MutationFilterSchema,
17590
+ data: z.record(z.string(), z.unknown())
17591
+ }), z.object({ updated: z.number().int() }), { kind: "mutation" }),
17592
+ /** Count entries in a collection, optionally filtered. */
17593
+ count: method(z.object({
17594
+ namespace: z.string().optional(),
17595
+ collection: z.string(),
17596
+ filter: QueryFilterSchema.optional()
17597
+ }), z.number()),
17598
+ /** Grouped counts per ((field-origin)/bucketSize) bucket, filtered. */
17599
+ histogram: method(z.object({
17600
+ namespace: z.string().optional(),
17601
+ collection: z.string(),
17602
+ field: z.string(),
17603
+ bucketSize: z.number().int().positive(),
17604
+ origin: z.number().int(),
17605
+ filter: QueryFilterSchema.optional()
17606
+ }), z.array(z.object({
17607
+ bucket: z.number().int(),
17608
+ count: z.number().int()
17609
+ })).readonly()),
17610
+ /** Check if a collection is empty. */
17611
+ isEmpty: method(z.object({
17612
+ namespace: z.string().optional(),
17613
+ collection: z.string()
17614
+ }), z.boolean()),
17615
+ /**
17616
+ * Declare a typed (SQL-backed) collection with explicit columns +
17617
+ * indexes. Idempotent: re-declaring an existing collection with the
17618
+ * same shape is a no-op; shape changes (new columns, new indexes)
17619
+ * are applied additively. Subsequent `insert` / `update` / `delete`
17620
+ * / `query` calls on this collection use typed columns instead of
17621
+ * JSON-blob storage — `record.data` fields are spread across
17622
+ * columns, `query.filter.where` matches real columns (no
17623
+ * `json_extract` overhead), `orderBy` uses column indexes.
17624
+ *
17625
+ * Addons call this in `onInitialize` before their first read/write.
17626
+ * Collection names should be namespaced by addon (e.g.
17627
+ * `pipeline-analytics:object-events`) to avoid cross-addon
17628
+ * clashes — no automatic prefix is added.
17629
+ */
17630
+ declareCollection: method(z.object({
17631
+ namespace: z.string().optional(),
17632
+ collection: z.string(),
17633
+ columns: z.array(CollectionColumnSchema).readonly(),
17634
+ indexes: z.array(CollectionIndexSchema).readonly().optional()
17635
+ }), z.void(), { kind: "mutation" })
17636
+ }
17637
+ };
17638
+ //#endregion
17639
+ //#region src/capabilities/data-store-provider.cap.ts
17640
+ /**
17641
+ * What one engine says about itself. The orchestrator uses `kind` to pick
17642
+ * a registrant for a collection; `engineId` is what a log line names when
17643
+ * a call is routed or refused.
17644
+ */
17645
+ var EngineInfoSchema = z.object({
17646
+ engineId: z.string(),
17647
+ /**
17648
+ * `relational` — rows, columns, indexes, the surface `settings-store`
17649
+ * has always described. `vector` — an embedding store answering
17650
+ * similarity queries. A registrant declares exactly one; an engine that
17651
+ * does both registers twice, because "both" would make the routing
17652
+ * decision ambiguous at exactly the point it must not be.
17653
+ */
17654
+ kind: z.enum(["relational", "vector"]),
17655
+ displayName: z.string()
17656
+ });
17657
+ /**
17658
+ * data-store-provider — the engine contract behind the data door.
17659
+ *
17660
+ * The sibling of `storage-provider`, for rows instead of bytes. The
17661
+ * orchestrator (singleton `settings-store` cap, owned by the
17662
+ * storage-orchestrator builtin) dispatches every call to the registrant
17663
+ * that serves the collection.
17664
+ *
17665
+ * `internal: true` — consumed only by the orchestrator. Public consumers
17666
+ * go through `settings-store`; they never see this cap, and an engine
17667
+ * never sees a caller.
17668
+ *
17669
+ * Design notes:
17670
+ * - **Stateless dispatch.** Every method carries its own
17671
+ * `namespace` + `collection`, so an engine keeps no per-caller state
17672
+ * and the orchestrator forwards the payload verbatim. Scoping is a
17673
+ * property of the input, not of the connection — see the note on
17674
+ * `settings-store` about what that does and does not guarantee.
17675
+ * - **One registrant today** (`sqlite-settings`). The collection shape
17676
+ * exists so a second engine is a registration rather than a second
17677
+ * door ([D44](../../../../docs/decisions/adr-0044.md)).
17678
+ *
17679
+ * The method set is deliberately identical to `settings-store`'s: the
17680
+ * orchestrator is a router, not a translator. A capability the door
17681
+ * gains, an engine must be able to answer.
17682
+ */
17683
+ var dataStoreProviderCapability = {
17684
+ name: "data-store-provider",
17685
+ scope: "system",
17686
+ mode: "collection",
17687
+ internal: true,
17688
+ methods: {
17689
+ /** Self-description — how the orchestrator picks a registrant. */
17690
+ getEngineInfo: method(z.void(), EngineInfoSchema),
17691
+ /** Get a single value by key from a collection. */
17692
+ get: method(z.object({
17693
+ namespace: z.string().optional(),
17694
+ collection: z.string(),
17695
+ key: z.string()
17696
+ }), z.unknown()),
17697
+ /** Set a value by key in a collection (upsert). */
17698
+ set: method(z.object({
17699
+ namespace: z.string().optional(),
17700
+ collection: z.string(),
17701
+ key: z.string(),
17702
+ value: z.unknown()
17703
+ }), z.void(), { kind: "mutation" }),
17704
+ /** Get all entries matching an optional filter. */
17705
+ query: method(z.object({
17706
+ namespace: z.string().optional(),
17707
+ collection: z.string(),
17708
+ filter: QueryFilterSchema.optional()
17709
+ }), z.array(SettingsRecordSchema).readonly()),
17710
+ /** Insert a new record. */
17711
+ insert: method(z.object({
17712
+ namespace: z.string().optional(),
17713
+ collection: z.string(),
17714
+ record: SettingsRecordSchema
17715
+ }), z.void(), { kind: "mutation" }),
17716
+ /** Update an existing record by ID. */
17717
+ update: method(z.object({
17718
+ namespace: z.string().optional(),
17719
+ collection: z.string(),
17720
+ id: z.string(),
17721
+ data: z.record(z.string(), z.unknown())
17722
+ }), z.void(), { kind: "mutation" }),
17723
+ /** Delete a record by key/ID. */
17724
+ delete: method(z.object({
17725
+ namespace: z.string().optional(),
17726
+ collection: z.string(),
17727
+ key: z.string()
17728
+ }), z.void(), { kind: "mutation" }),
17729
+ /** Delete every record matching `filter`, in one statement. */
17730
+ deleteWhere: method(z.object({
17731
+ namespace: z.string().optional(),
17732
+ collection: z.string(),
17733
+ filter: MutationFilterSchema
17734
+ }), z.object({ deleted: z.number().int() }), { kind: "mutation" }),
17735
+ /** Apply `data` to every record matching `filter`, in one statement. */
17736
+ updateWhere: method(z.object({
17737
+ namespace: z.string().optional(),
17738
+ collection: z.string(),
17739
+ filter: MutationFilterSchema,
17740
+ data: z.record(z.string(), z.unknown())
17741
+ }), z.object({ updated: z.number().int() }), { kind: "mutation" }),
17742
+ /** Count entries in a collection, optionally filtered. */
17743
+ count: method(z.object({
17744
+ namespace: z.string().optional(),
17745
+ collection: z.string(),
17746
+ filter: QueryFilterSchema.optional()
17747
+ }), z.number()),
17748
+ /** Grouped counts per ((field-origin)/bucketSize) bucket, filtered. */
17749
+ histogram: method(z.object({
17750
+ namespace: z.string().optional(),
17751
+ collection: z.string(),
17752
+ field: z.string(),
17753
+ bucketSize: z.number().int().positive(),
17754
+ origin: z.number().int(),
17755
+ filter: QueryFilterSchema.optional()
17756
+ }), z.array(z.object({
17757
+ bucket: z.number().int(),
17758
+ count: z.number().int()
17759
+ })).readonly()),
17760
+ /** Check if a collection is empty. */
17761
+ isEmpty: method(z.object({
17762
+ namespace: z.string().optional(),
17763
+ collection: z.string()
17764
+ }), z.boolean()),
17765
+ /** Declare a typed (SQL-backed) collection with columns + indexes. */
17766
+ declareCollection: method(z.object({
17767
+ namespace: z.string().optional(),
17768
+ collection: z.string(),
17769
+ columns: z.array(CollectionColumnSchema).readonly(),
17770
+ indexes: z.array(CollectionIndexSchema).readonly().optional()
17771
+ }), z.void(), { kind: "mutation" })
17772
+ }
17773
+ };
17774
+ //#endregion
17433
17775
  //#region src/capabilities/detection-pipeline.cap.ts
17434
17776
  /**
17435
17777
  * detection-pipeline — device-scoped facade over the system
@@ -21912,6 +22254,52 @@ var ServerUpdateStateSchema = z.enum([
21912
22254
  "pending-restart",
21913
22255
  "awaiting-confirmation"
21914
22256
  ]);
22257
+ /**
22258
+ * Verdict of comparing the node's IMMUTABLE baked seed (the Docker image / the
22259
+ * desktop app bundle) against the release the deployment contract would
22260
+ * deliver today. `applyServerUpdate` swaps the data-root closure and NEVER
22261
+ * touches the image, so `runningVersion` can be perfectly current while the
22262
+ * container is weeks old, from a renamed repository nothing rebuilds — which
22263
+ * is exactly what happened on 2026-08-02 (hub on `camstack-server:intel-1.1.74`
22264
+ * while every existing surface said "up to date"). The seed version is the one
22265
+ * image fingerprint a container can see from inside (no docker socket).
22266
+ *
22267
+ * - `in-sync` — seed equals the current release; the node runs the
22268
+ * contract image.
22269
+ * - `behind-patch` — same release series, older patch: the image predates
22270
+ * the current release. Normal between deliberate image
22271
+ * refreshes, but the starter/entrypoint are still old.
22272
+ * - `behind-series` — the seed's major/minor predates the current release
22273
+ * series. The shape of a pinned tag or a dead image
22274
+ * repository; a `docker pull` may fix nothing.
22275
+ * - `ahead` — seed newer than the best-known release (stale registry
22276
+ * check).
22277
+ * - `unknown` — no seed (dev workspace) or nothing to compare against
22278
+ * yet.
22279
+ */
22280
+ var ImageContractStateSchema = z.enum([
22281
+ "in-sync",
22282
+ "behind-patch",
22283
+ "behind-series",
22284
+ "ahead",
22285
+ "unknown"
22286
+ ]);
22287
+ var ImageContractSchema = z.object({
22288
+ state: ImageContractStateSchema,
22289
+ /** The baked seed closure version — the image/app-bundle fingerprint. */
22290
+ seedVersion: z.string().nullable(),
22291
+ /** Best-known version the deployment contract delivers today. */
22292
+ contractVersion: z.string().nullable(),
22293
+ /**
22294
+ * Where `contractVersion` came from: a real registry check (`registry`), or
22295
+ * the node's own running version (`running` — a node can never run code
22296
+ * newer than the newest release, so `seed < running` proves image staleness
22297
+ * even before any registry check has run).
22298
+ */
22299
+ contractSource: z.enum(["registry", "running"]).nullable(),
22300
+ /** One operator-grade sentence: this node runs image X; the contract says Y. */
22301
+ message: z.string()
22302
+ });
21915
22303
  var ServerRollbackInfoSchema = z.object({
21916
22304
  /** The version that failed (or was manually rolled back). */
21917
22305
  fromVersion: z.string(),
@@ -21948,7 +22336,12 @@ var ServerPackageStatusSchema = z.object({
21948
22336
  * versions are being IGNORED. Surfaced as a warning in the UI.
21949
22337
  */
21950
22338
  stateFileCorrupt: z.boolean(),
21951
- lastCheckedAtMs: z.number().nullable()
22339
+ lastCheckedAtMs: z.number().nullable(),
22340
+ /**
22341
+ * Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
22342
+ * version skew: an older provider's payload simply omits it.
22343
+ */
22344
+ imageContract: ImageContractSchema.optional()
21952
22345
  });
21953
22346
  var ServerUpdateCheckResultSchema = z.object({
21954
22347
  packageName: z.string(),
@@ -22003,160 +22396,6 @@ version: z.string().optional() }), ServerUpdateActionResultSchema, {
22003
22396
  mount: { kind: "server-provided" }
22004
22397
  };
22005
22398
  //#endregion
22006
- //#region src/capabilities/settings-store.cap.ts
22007
- /**
22008
- * Query filter for settings-store collections.
22009
- */
22010
- var QueryFilterSchema = z.object({
22011
- where: z.record(z.string(), z.unknown()).optional(),
22012
- whereIn: z.record(z.string(), z.array(z.unknown())).optional(),
22013
- whereBetween: z.record(z.string(), z.tuple([z.unknown(), z.unknown()])).optional(),
22014
- orderBy: z.object({
22015
- field: z.string(),
22016
- direction: z.enum(["asc", "desc"])
22017
- }).optional(),
22018
- limit: z.number().optional(),
22019
- offset: z.number().optional()
22020
- });
22021
- /** A single stored record: `{ id, data }`. */
22022
- var SettingsRecordSchema = z.object({
22023
- id: z.string(),
22024
- data: z.record(z.string(), z.unknown())
22025
- });
22026
- /**
22027
- * Column declaration for a structured (SQL-backed) collection.
22028
- *
22029
- * Logical types — the backend translates each to the matching SQLite
22030
- * storage class and handles per-type marshaling:
22031
- * - `TEXT` / `INTEGER` / `REAL` — native SQLite types, pass-through
22032
- * - `JSON` — TEXT under the hood; serialised on write, parsed on read
22033
- * - `BOOLEAN` — INTEGER 0/1 under the hood; coerced both directions
22034
- */
22035
- var CollectionColumnSchema = z.object({
22036
- name: z.string(),
22037
- type: z.enum([
22038
- "TEXT",
22039
- "INTEGER",
22040
- "REAL",
22041
- "JSON",
22042
- "BOOLEAN"
22043
- ]),
22044
- primaryKey: z.boolean().optional(),
22045
- notNull: z.boolean().optional(),
22046
- unique: z.boolean().optional()
22047
- });
22048
- var CollectionIndexSchema = z.object({
22049
- name: z.string(),
22050
- columns: z.array(z.string()).readonly(),
22051
- unique: z.boolean().optional()
22052
- });
22053
- /**
22054
- * settings-store — singleton capability for addon-scoped persistence.
22055
- *
22056
- * Every method operates within a `collection`. An optional `namespace`
22057
- * field provides access to additional data spaces beyond the default
22058
- * addon settings — useful for business data (events, tracks, faces, etc.).
22059
- *
22060
- * Scoping: the implementation prefixes every collection with the calling
22061
- * addon's ID automatically. Addons never see each other's data.
22062
- *
22063
- * - No namespace (default): `"addon-settings"` → `"<addonId>:addon-settings"`
22064
- * - With namespace: `{ namespace: 'events', collection: 'detections' }` →
22065
- * `"<addonId>:events:detections"`
22066
- *
22067
- * Implemented by `@camstack/system/builtins/sqlite-settings` (SQLite WAL backend).
22068
- * Addons access it via `ctx.api.settingsStore.*`.
22069
- */
22070
- var settingsStoreCapability = {
22071
- name: "settings-store",
22072
- scope: "system",
22073
- mode: "singleton",
22074
- methods: {
22075
- /** Get a single value by key from a collection. */
22076
- get: method(z.object({
22077
- namespace: z.string().optional(),
22078
- collection: z.string(),
22079
- key: z.string()
22080
- }), z.unknown()),
22081
- /** Set a value by key in a collection (upsert). */
22082
- set: method(z.object({
22083
- namespace: z.string().optional(),
22084
- collection: z.string(),
22085
- key: z.string(),
22086
- value: z.unknown()
22087
- }), z.void(), { kind: "mutation" }),
22088
- /** Get all entries matching an optional filter. */
22089
- query: method(z.object({
22090
- namespace: z.string().optional(),
22091
- collection: z.string(),
22092
- filter: QueryFilterSchema.optional()
22093
- }), z.array(SettingsRecordSchema).readonly()),
22094
- /** Insert a new record. */
22095
- insert: method(z.object({
22096
- namespace: z.string().optional(),
22097
- collection: z.string(),
22098
- record: SettingsRecordSchema
22099
- }), z.void(), { kind: "mutation" }),
22100
- /** Update an existing record by ID. */
22101
- update: method(z.object({
22102
- namespace: z.string().optional(),
22103
- collection: z.string(),
22104
- id: z.string(),
22105
- data: z.record(z.string(), z.unknown())
22106
- }), z.void(), { kind: "mutation" }),
22107
- /** Delete a record by key/ID. */
22108
- delete: method(z.object({
22109
- namespace: z.string().optional(),
22110
- collection: z.string(),
22111
- key: z.string()
22112
- }), z.void(), { kind: "mutation" }),
22113
- /** Count entries in a collection, optionally filtered. */
22114
- count: method(z.object({
22115
- namespace: z.string().optional(),
22116
- collection: z.string(),
22117
- filter: QueryFilterSchema.optional()
22118
- }), z.number()),
22119
- /** Grouped counts per ((field-origin)/bucketSize) bucket, filtered. */
22120
- histogram: method(z.object({
22121
- namespace: z.string().optional(),
22122
- collection: z.string(),
22123
- field: z.string(),
22124
- bucketSize: z.number().int().positive(),
22125
- origin: z.number().int(),
22126
- filter: QueryFilterSchema.optional()
22127
- }), z.array(z.object({
22128
- bucket: z.number().int(),
22129
- count: z.number().int()
22130
- })).readonly()),
22131
- /** Check if a collection is empty. */
22132
- isEmpty: method(z.object({
22133
- namespace: z.string().optional(),
22134
- collection: z.string()
22135
- }), z.boolean()),
22136
- /**
22137
- * Declare a typed (SQL-backed) collection with explicit columns +
22138
- * indexes. Idempotent: re-declaring an existing collection with the
22139
- * same shape is a no-op; shape changes (new columns, new indexes)
22140
- * are applied additively. Subsequent `insert` / `update` / `delete`
22141
- * / `query` calls on this collection use typed columns instead of
22142
- * JSON-blob storage — `record.data` fields are spread across
22143
- * columns, `query.filter.where` matches real columns (no
22144
- * `json_extract` overhead), `orderBy` uses column indexes.
22145
- *
22146
- * Addons call this in `onInitialize` before their first read/write.
22147
- * Collection names should be namespaced by addon (e.g.
22148
- * `pipeline-analytics:object-events`) to avoid cross-addon
22149
- * clashes — no automatic prefix is added.
22150
- */
22151
- declareCollection: method(z.object({
22152
- namespace: z.string().optional(),
22153
- collection: z.string(),
22154
- columns: z.array(CollectionColumnSchema).readonly(),
22155
- indexes: z.array(CollectionIndexSchema).readonly().optional()
22156
- }), z.void(), { kind: "mutation" })
22157
- }
22158
- };
22159
- //#endregion
22160
22399
  //#region src/capabilities/smtp-provider.cap.ts
22161
22400
  /**
22162
22401
  * `smtp-provider` — pluggable email delivery surface.
@@ -25924,7 +26163,7 @@ var recordingCapability = {
25924
26163
  auth: "admin"
25925
26164
  }),
25926
26165
  /**
25927
- * Move footage (segments and/or strips) from one recordings location to
26166
+ * Move footage (recorded segments) from one recordings location to
25928
26167
  * another — the drain workflow's mover (entity-routing spec Phase 4).
25929
26168
  * Throttled copy → size-verify → delete source → index refresh; resumable
25930
26169
  * by construction (copy-if-absent). Single-flight: one job at a time.
@@ -26839,6 +27078,7 @@ var CAPABILITY_NAMES = {
26839
27078
  control: "control",
26840
27079
  cover: "cover",
26841
27080
  customModelRegistry: "custom-model-registry",
27081
+ dataStoreProvider: "data-store-provider",
26842
27082
  dayNight: "day-night",
26843
27083
  decoder: "decoder",
26844
27084
  detectionPipeline: "detection-pipeline",
@@ -27096,6 +27336,10 @@ var CAPABILITY_ROUTER_KEYS = [
27096
27336
  key: "customModelRegistry",
27097
27337
  name: "custom-model-registry"
27098
27338
  },
27339
+ {
27340
+ key: "dataStoreProvider",
27341
+ name: "data-store-provider"
27342
+ },
27099
27343
  {
27100
27344
  key: "dayNight",
27101
27345
  name: "day-night"
@@ -27568,6 +27812,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
27568
27812
  controlCapability,
27569
27813
  coverCapability,
27570
27814
  customModelRegistryCapability,
27815
+ dataStoreProviderCapability,
27571
27816
  dayNightCapability,
27572
27817
  decoderCapability,
27573
27818
  detectionPipelineCapability,
@@ -28577,6 +28822,84 @@ var METHOD_ACCESS_MAP = Object.freeze({
28577
28822
  addonId: null,
28578
28823
  access: "view"
28579
28824
  },
28825
+ "dataStoreProvider.count": {
28826
+ capName: "data-store-provider",
28827
+ capScope: "system",
28828
+ addonId: null,
28829
+ access: "view"
28830
+ },
28831
+ "dataStoreProvider.declareCollection": {
28832
+ capName: "data-store-provider",
28833
+ capScope: "system",
28834
+ addonId: null,
28835
+ access: "create"
28836
+ },
28837
+ "dataStoreProvider.delete": {
28838
+ capName: "data-store-provider",
28839
+ capScope: "system",
28840
+ addonId: null,
28841
+ access: "delete"
28842
+ },
28843
+ "dataStoreProvider.deleteWhere": {
28844
+ capName: "data-store-provider",
28845
+ capScope: "system",
28846
+ addonId: null,
28847
+ access: "delete"
28848
+ },
28849
+ "dataStoreProvider.get": {
28850
+ capName: "data-store-provider",
28851
+ capScope: "system",
28852
+ addonId: null,
28853
+ access: "view"
28854
+ },
28855
+ "dataStoreProvider.getEngineInfo": {
28856
+ capName: "data-store-provider",
28857
+ capScope: "system",
28858
+ addonId: null,
28859
+ access: "view"
28860
+ },
28861
+ "dataStoreProvider.histogram": {
28862
+ capName: "data-store-provider",
28863
+ capScope: "system",
28864
+ addonId: null,
28865
+ access: "view"
28866
+ },
28867
+ "dataStoreProvider.insert": {
28868
+ capName: "data-store-provider",
28869
+ capScope: "system",
28870
+ addonId: null,
28871
+ access: "create"
28872
+ },
28873
+ "dataStoreProvider.isEmpty": {
28874
+ capName: "data-store-provider",
28875
+ capScope: "system",
28876
+ addonId: null,
28877
+ access: "view"
28878
+ },
28879
+ "dataStoreProvider.query": {
28880
+ capName: "data-store-provider",
28881
+ capScope: "system",
28882
+ addonId: null,
28883
+ access: "view"
28884
+ },
28885
+ "dataStoreProvider.set": {
28886
+ capName: "data-store-provider",
28887
+ capScope: "system",
28888
+ addonId: null,
28889
+ access: "create"
28890
+ },
28891
+ "dataStoreProvider.update": {
28892
+ capName: "data-store-provider",
28893
+ capScope: "system",
28894
+ addonId: null,
28895
+ access: "create"
28896
+ },
28897
+ "dataStoreProvider.updateWhere": {
28898
+ capName: "data-store-provider",
28899
+ capScope: "system",
28900
+ addonId: null,
28901
+ access: "create"
28902
+ },
28580
28903
  "dayNight.getOptions": {
28581
28904
  capName: "day-night",
28582
28905
  capScope: "device",
@@ -31655,6 +31978,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
31655
31978
  addonId: null,
31656
31979
  access: "delete"
31657
31980
  },
31981
+ "settingsStore.deleteWhere": {
31982
+ capName: "settings-store",
31983
+ capScope: "system",
31984
+ addonId: null,
31985
+ access: "delete"
31986
+ },
31658
31987
  "settingsStore.get": {
31659
31988
  capName: "settings-store",
31660
31989
  capScope: "system",
@@ -31697,6 +32026,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
31697
32026
  addonId: null,
31698
32027
  access: "create"
31699
32028
  },
32029
+ "settingsStore.updateWhere": {
32030
+ capName: "settings-store",
32031
+ capScope: "system",
32032
+ addonId: null,
32033
+ access: "create"
32034
+ },
31700
32035
  "smtpProvider.getStatus": {
31701
32036
  capName: "smtp-provider",
31702
32037
  capScope: "system",
@@ -32744,6 +33079,7 @@ var KNOWN_CAP_NAMES = [
32744
33079
  "control",
32745
33080
  "cover",
32746
33081
  "custom-model-registry",
33082
+ "data-store-provider",
32747
33083
  "day-night",
32748
33084
  "decoder",
32749
33085
  "device-adoption",
@@ -32906,6 +33242,7 @@ var SYSTEM_CAP_NAMES = [
32906
33242
  "backup",
32907
33243
  "broker",
32908
33244
  "custom-model-registry",
33245
+ "data-store-provider",
32909
33246
  "decoder",
32910
33247
  "device-adoption",
32911
33248
  "device-export",
@@ -33552,4 +33889,4 @@ function enumerateInferenceDevices(hw) {
33552
33889
  return out;
33553
33890
  }
33554
33891
  //#endregion
33555
- export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcCrossingSchema, NcDeliverySchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleInputSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildEventKindDescriptor, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickPreferredRtspEntry, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
33892
+ export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcCrossingSchema, NcDeliverySchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleInputSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildEventKindDescriptor, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickPreferredRtspEntry, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };