@camstack/addon-post-analysis 1.2.276 → 1.2.277

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.
@@ -5390,7 +5390,7 @@ var ZodIssueCode = {
5390
5390
  var ZodFirstPartyTypeKind;
5391
5391
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5392
5392
  //#endregion
5393
- //#region ../types/dist/sleep-pM_J7YnY.mjs
5393
+ //#region ../types/dist/sleep-D_4W7xuQ.mjs
5394
5394
  /**
5395
5395
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5396
5396
  * window to float samples (D455).
@@ -7452,11 +7452,17 @@ var RawStateResultSchema = object({
7452
7452
  method(object({ deviceId: number() }), array(StreamSourceEntrySchema)), method(object({ deviceId: number() }), array(ConfigEntrySchema$1)), method(object({
7453
7453
  deviceId: number(),
7454
7454
  values: record(string(), unknown())
7455
- }), _void(), { kind: "mutation" }), method(object({
7455
+ }), _void(), {
7456
+ kind: "mutation",
7457
+ auth: "admin"
7458
+ }), method(object({
7456
7459
  deviceId: number(),
7457
7460
  action: string().min(1),
7458
7461
  input: unknown()
7459
- }), unknown(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), unknown().nullable()), method(object({ deviceId: number() }), RawStateResultSchema.nullable(), { auth: "protected" });
7462
+ }), unknown(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), {
7463
+ kind: "mutation",
7464
+ auth: "admin"
7465
+ }), method(object({ deviceId: number() }), unknown().nullable()), method(object({ deviceId: number() }), RawStateResultSchema.nullable(), { auth: "protected" });
7460
7466
  /**
7461
7467
  * AUTO-GENERATED by scripts/generate-device-scoped-caps.ts — DO NOT EDIT.
7462
7468
  *
@@ -12190,7 +12196,7 @@ method(ListInputSchema, array(BrokerInfoSchema$1)), method(GetInputSchema, Broke
12190
12196
  }), method(UnsubscribeInputSchema, _void(), {
12191
12197
  kind: "mutation",
12192
12198
  auth: "admin"
12193
- }), method(GetStateInputSchema, unknown().nullable()), method(_void(), RegistryStatusSchema);
12199
+ }), method(GetStateInputSchema, unknown().nullable(), { auth: "admin" }), method(_void(), RegistryStatusSchema);
12194
12200
  DeviceType.Camera;
12195
12201
  /** Stream delivery format. (Relocated from the retired `streaming-engine` cap.) */
12196
12202
  var StreamFormatSchema = _enum([
@@ -13377,17 +13383,20 @@ method(object({
13377
13383
  namespace: string().optional(),
13378
13384
  collection: string(),
13379
13385
  key: string()
13380
- }), unknown()), method(object({
13386
+ }), unknown(), { auth: "admin" }), method(object({
13381
13387
  namespace: string().optional(),
13382
13388
  collection: string(),
13383
13389
  key: string(),
13384
13390
  value: unknown()
13385
- }), _void(), { kind: "mutation" }), method(object({
13391
+ }), _void(), {
13392
+ kind: "mutation",
13393
+ auth: "admin"
13394
+ }), method(object({
13386
13395
  namespace: string().optional(),
13387
13396
  collection: string(),
13388
13397
  filter: QueryFilterSchema.optional(),
13389
13398
  columns: array(string()).readonly().optional()
13390
- }), array(SettingsRecordSchema).readonly()), method(object({
13399
+ }), array(SettingsRecordSchema).readonly(), { auth: "admin" }), method(object({
13391
13400
  namespace: string().optional(),
13392
13401
  collection: string(),
13393
13402
  /** Declared columns identifying the slot; must be covered by a UNIQUE
@@ -13397,7 +13406,10 @@ method(object({
13397
13406
  }), object({
13398
13407
  /** The id the row HAS: assigned by SQLite on an insert, or the existing
13399
13408
  * row's own id on an update. */
13400
- id: union([string(), number()]) }), { kind: "mutation" }), method(object({
13409
+ id: union([string(), number()]) }), {
13410
+ kind: "mutation",
13411
+ auth: "admin"
13412
+ }), method(object({
13401
13413
  namespace: string().optional(),
13402
13414
  collection: string(),
13403
13415
  record: object({
@@ -13410,38 +13422,56 @@ id: union([string(), number()]) }), { kind: "mutation" }), method(object({
13410
13422
  * for an absent one, or the ROWID SQLite assigned on an `INTEGER`
13411
13423
  * primary key — which is the only place an auto key is knowable.
13412
13424
  */
13413
- id: union([string(), number()]) }), { kind: "mutation" }), method(object({
13425
+ id: union([string(), number()]) }), {
13426
+ kind: "mutation",
13427
+ auth: "admin"
13428
+ }), method(object({
13414
13429
  namespace: string().optional(),
13415
13430
  collection: string(),
13416
13431
  records: array(BulkRecordSchema).readonly()
13417
- }), object({ inserted: number().int() }), { kind: "mutation" }), method(object({
13432
+ }), object({ inserted: number().int() }), {
13433
+ kind: "mutation",
13434
+ auth: "admin"
13435
+ }), method(object({
13418
13436
  namespace: string().optional(),
13419
13437
  collection: string(),
13420
13438
  id: string(),
13421
13439
  data: record(string(), unknown())
13422
- }), _void(), { kind: "mutation" }), method(object({
13440
+ }), _void(), {
13441
+ kind: "mutation",
13442
+ auth: "admin"
13443
+ }), method(object({
13423
13444
  namespace: string().optional(),
13424
13445
  collection: string(),
13425
13446
  key: string()
13426
- }), _void(), { kind: "mutation" }), method(object({
13447
+ }), _void(), {
13448
+ kind: "mutation",
13449
+ auth: "admin"
13450
+ }), method(object({
13427
13451
  namespace: string().optional(),
13428
13452
  collection: string(),
13429
13453
  filter: MutationFilterSchema
13430
- }), object({ deleted: number().int() }), { kind: "mutation" }), method(object({
13454
+ }), object({ deleted: number().int() }), {
13455
+ kind: "mutation",
13456
+ auth: "admin"
13457
+ }), method(object({
13431
13458
  namespace: string().optional(),
13432
13459
  collection: string(),
13433
13460
  filter: MutationFilterSchema,
13434
13461
  data: record(string(), unknown())
13435
- }), object({ updated: number().int() }), { kind: "mutation" }), method(object({
13462
+ }), object({ updated: number().int() }), {
13463
+ kind: "mutation",
13464
+ auth: "admin"
13465
+ }), method(object({
13436
13466
  namespace: string().optional(),
13437
13467
  collection: string(),
13438
13468
  filter: QueryFilterSchema.optional()
13439
- }), number()), method(object({
13469
+ }), number(), { auth: "admin" }), method(object({
13440
13470
  namespace: string().optional(),
13441
13471
  collection: string(),
13442
13472
  fields: array(AggregateFieldSchema).readonly(),
13443
13473
  filter: QueryFilterSchema.optional()
13444
- }), AggregateResultSchema), method(object({
13474
+ }), AggregateResultSchema, { auth: "admin" }), method(object({
13445
13475
  namespace: string().optional(),
13446
13476
  collection: string(),
13447
13477
  field: string(),
@@ -13451,15 +13481,18 @@ id: union([string(), number()]) }), { kind: "mutation" }), method(object({
13451
13481
  }), array(object({
13452
13482
  bucket: number().int(),
13453
13483
  count: number().int()
13454
- })).readonly()), method(object({
13484
+ })).readonly(), { auth: "admin" }), method(object({
13455
13485
  namespace: string().optional(),
13456
13486
  collection: string()
13457
- }), boolean()), method(object({
13487
+ }), boolean(), { auth: "admin" }), method(object({
13458
13488
  namespace: string().optional(),
13459
13489
  collection: string(),
13460
13490
  columns: array(CollectionColumnSchema).readonly(),
13461
13491
  indexes: array(CollectionIndexSchema).readonly().optional()
13462
- }), _void(), { kind: "mutation" });
13492
+ }), _void(), {
13493
+ kind: "mutation",
13494
+ auth: "admin"
13495
+ });
13463
13496
  /**
13464
13497
  * What one engine says about itself. The orchestrator uses `kind` to pick
13465
13498
  * a registrant for a collection; `engineId` is what a log line names when
@@ -14250,7 +14283,13 @@ var ExposeInputSchema = object({
14250
14283
  capabilities: array(string()).optional()
14251
14284
  });
14252
14285
  var UnexposeInputSchema = object({ deviceId: string() });
14253
- method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
14286
+ method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), {
14287
+ kind: "mutation",
14288
+ auth: "admin"
14289
+ }), method(UnexposeInputSchema, _void(), {
14290
+ kind: "mutation",
14291
+ auth: "admin"
14292
+ });
14254
14293
  /** Wire/storage schema for one icon id. */
14255
14294
  var LocationIconIdSchema = _enum([
14256
14295
  "map-pin",
@@ -14754,7 +14793,10 @@ method(object({
14754
14793
  kind: "mutation",
14755
14794
  auth: "admin",
14756
14795
  timeoutMs: 12 * 6e4
14757
- }), method(DeviceRegisterPayloadSchema, _void(), { kind: "mutation" }), method(DeviceRemovePayloadSchema, _void(), { kind: "mutation" }), method(DevicePersistConfigPayloadSchema, _void(), { kind: "mutation" }), method(object({ deviceId: number() }), record(string(), unknown())), method(object({ deviceId: number() }), record(string(), unknown())), method(object({ deviceId: number() }), DeviceMetaSchema.nullable()), method(object({
14796
+ }), method(DeviceRegisterPayloadSchema, _void(), { kind: "mutation" }), method(DeviceRemovePayloadSchema, _void(), { kind: "mutation" }), method(DevicePersistConfigPayloadSchema, _void(), {
14797
+ kind: "mutation",
14798
+ auth: "admin"
14799
+ }), method(object({ deviceId: number() }), record(string(), unknown()), { auth: "admin" }), method(object({ deviceId: number() }), record(string(), unknown()), { auth: "admin" }), method(object({ deviceId: number() }), DeviceMetaSchema.nullable()), method(object({
14758
14800
  deviceId: number(),
14759
14801
  name: string()
14760
14802
  }), _void(), {
@@ -16542,7 +16584,22 @@ var StatusSchema = object({
16542
16584
  brokerCount: number(),
16543
16585
  embeddedRunning: boolean()
16544
16586
  });
16545
- method(_void(), array(BrokerInfoSchema)), method(IdInputSchema, BrokerConnectionDetailsSchema), method(AddBrokerInputSchema, AddBrokerResultSchema, { kind: "mutation" }), method(IdInputSchema, _void(), { kind: "mutation" }), method(IdInputSchema, TestResultSchema$1, { kind: "mutation" }), method(StartEmbeddedInputSchema, StartEmbeddedResultSchema, { kind: "mutation" }), method(IdInputSchema, _void(), { kind: "mutation" }), method(_void(), StatusSchema);
16587
+ method(_void(), array(BrokerInfoSchema)), method(IdInputSchema, BrokerConnectionDetailsSchema, { auth: "admin" }), method(AddBrokerInputSchema, AddBrokerResultSchema, {
16588
+ kind: "mutation",
16589
+ auth: "admin"
16590
+ }), method(IdInputSchema, _void(), {
16591
+ kind: "mutation",
16592
+ auth: "admin"
16593
+ }), method(IdInputSchema, TestResultSchema$1, {
16594
+ kind: "mutation",
16595
+ auth: "admin"
16596
+ }), method(StartEmbeddedInputSchema, StartEmbeddedResultSchema, {
16597
+ kind: "mutation",
16598
+ auth: "admin"
16599
+ }), method(IdInputSchema, _void(), {
16600
+ kind: "mutation",
16601
+ auth: "admin"
16602
+ }), method(_void(), StatusSchema);
16546
16603
  var NetworkEndpointSchema = object({
16547
16604
  url: string(),
16548
16605
  hostname: string(),
@@ -16837,6 +16894,18 @@ var TargetKindSchema = object({
16837
16894
  */
16838
16895
  iconMediaType: string().optional(),
16839
16896
  configSchema: ConfigSchemaPassthrough,
16897
+ /**
16898
+ * The config keys that decide WHERE this kind's secrets are sent (server,
16899
+ * base URL, instance, chat, recipient). A save that changes any of them
16900
+ * while leaving a secret redacted is refused by the provider (D634), so an
16901
+ * editor uses this to ask for the secret on exactly those edits instead of
16902
+ * on every edit.
16903
+ *
16904
+ * Optional: absent from a provider that holds no secret (the Home Assistant
16905
+ * kinds) and from a provider older than this field — an editor that finds
16906
+ * it absent must assume ANY edit may need the secret.
16907
+ */
16908
+ destinationKeys: array(string()).optional(),
16840
16909
  supportsDiscovery: boolean(),
16841
16910
  caps: TargetKindCapsSchema
16842
16911
  });
@@ -16875,19 +16944,34 @@ var SendResultSchema = object({
16875
16944
  });
16876
16945
  /** Same shape as SendResult — kept as a distinct name for the test panel. */
16877
16946
  var TestResultSchema = SendResultSchema;
16878
- method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSchema)), method(object({
16947
+ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSchema), { auth: "admin" }), method(object({
16879
16948
  kind: string(),
16880
16949
  config: record(string(), unknown()).optional()
16881
- }), array(DiscoveredTargetSchema)), method(object({
16950
+ }), array(DiscoveredTargetSchema), { auth: "admin" }), method(object({
16882
16951
  targetId: string(),
16883
16952
  notification: NotificationSchema
16884
- }), SendResultSchema, { kind: "mutation" }), method(object({
16953
+ }), SendResultSchema, {
16954
+ kind: "mutation",
16955
+ auth: "admin"
16956
+ }), method(object({
16885
16957
  targetId: string(),
16886
16958
  sample: NotificationSchema.optional()
16887
- }), TestResultSchema, { kind: "mutation" }), method(object({ target: TargetSchema }), TargetSchema, { kind: "mutation" }), method(object({ targetId: string() }), _void(), { kind: "mutation" }), method(object({
16959
+ }), TestResultSchema, {
16960
+ kind: "mutation",
16961
+ auth: "admin"
16962
+ }), method(object({ target: TargetSchema }), TargetSchema, {
16963
+ kind: "mutation",
16964
+ auth: "admin"
16965
+ }), method(object({ targetId: string() }), _void(), {
16966
+ kind: "mutation",
16967
+ auth: "admin"
16968
+ }), method(object({
16888
16969
  targetId: string(),
16889
16970
  enabled: boolean()
16890
- }), _void(), { kind: "mutation" });
16971
+ }), _void(), {
16972
+ kind: "mutation",
16973
+ auth: "admin"
16974
+ });
16891
16975
  /**
16892
16976
  * The class names a per-class COUNT can ever be keyed on — the macro ids, and
16893
16977
  * only those.
@@ -25745,41 +25829,65 @@ var ProviderListEntrySchema = discriminatedUnion("shouldSaveDiskSpace", [object(
25745
25829
  method(object({
25746
25830
  location: StorageLocationRefSchema,
25747
25831
  relativePath: string()
25748
- }), string()), method(object({
25832
+ }), string(), { auth: "admin" }), method(object({
25749
25833
  location: StorageLocationRefSchema,
25750
25834
  relativePath: string(),
25751
25835
  data: _instanceof(Uint8Array)
25752
- }), _void(), { kind: "mutation" }), method(object({
25836
+ }), _void(), {
25837
+ kind: "mutation",
25838
+ auth: "admin"
25839
+ }), method(object({
25753
25840
  location: StorageLocationRefSchema,
25754
25841
  relativePath: string()
25755
- }), _instanceof(Uint8Array)), method(object({
25842
+ }), _instanceof(Uint8Array), { auth: "admin" }), method(object({
25756
25843
  location: StorageLocationRefSchema,
25757
25844
  relativePath: string()
25758
- }), boolean()), method(object({
25845
+ }), boolean(), { auth: "admin" }), method(object({
25759
25846
  location: StorageLocationRefSchema,
25760
25847
  prefix: string().optional()
25761
- }), array(string()).readonly()), method(object({
25848
+ }), array(string()).readonly(), { auth: "admin" }), method(object({
25762
25849
  location: StorageLocationRefSchema,
25763
25850
  relativePath: string()
25764
- }), _void(), { kind: "mutation" }), method(object({ location: StorageLocationRefSchema }), number().nullable()), method(object({
25851
+ }), _void(), {
25852
+ kind: "mutation",
25853
+ auth: "admin"
25854
+ }), method(object({ location: StorageLocationRefSchema }), number().nullable()), method(object({
25765
25855
  location: StorageLocationRefSchema,
25766
25856
  relativePath: string(),
25767
25857
  sizeBytes: number().optional()
25768
- }), object({ uploadId: string() }), { kind: "mutation" }), method(object({
25858
+ }), object({ uploadId: string() }), {
25859
+ kind: "mutation",
25860
+ auth: "admin"
25861
+ }), method(object({
25769
25862
  uploadId: string(),
25770
25863
  offset: number(),
25771
25864
  data: _instanceof(Uint8Array)
25772
- }), _void(), { kind: "mutation" }), method(object({ uploadId: string() }), _void(), { kind: "mutation" }), method(object({ uploadId: string() }), _void(), { kind: "mutation" }), method(object({
25865
+ }), _void(), {
25866
+ kind: "mutation",
25867
+ auth: "admin"
25868
+ }), method(object({ uploadId: string() }), _void(), {
25869
+ kind: "mutation",
25870
+ auth: "admin"
25871
+ }), method(object({ uploadId: string() }), _void(), {
25872
+ kind: "mutation",
25873
+ auth: "admin"
25874
+ }), method(object({
25773
25875
  location: StorageLocationRefSchema,
25774
25876
  relativePath: string()
25775
25877
  }), object({
25776
25878
  downloadId: string(),
25777
25879
  sizeBytes: number()
25778
- }), { kind: "mutation" }), method(object({
25880
+ }), {
25881
+ kind: "mutation",
25882
+ auth: "admin"
25883
+ }), method(object({
25779
25884
  downloadId: string(),
25780
25885
  offset: number(),
25781
25886
  length: number()
25782
- }), _instanceof(Uint8Array)), method(object({ downloadId: string() }), _void(), { kind: "mutation" }), method(object({ type: StorageLocationTypeSchema.optional() }), array(StorageLocationSchema).readonly()), method(_void(), array(StorageLocationDeclarationSchema).readonly()), method(StorageLocationSchema.omit({
25887
+ }), _instanceof(Uint8Array), { auth: "admin" }), method(object({ downloadId: string() }), _void(), {
25888
+ kind: "mutation",
25889
+ auth: "admin"
25890
+ }), method(object({ type: StorageLocationTypeSchema.optional() }), array(StorageLocationSchema).readonly()), method(_void(), array(StorageLocationDeclarationSchema).readonly()), method(StorageLocationSchema.omit({
25783
25891
  createdAt: true,
25784
25892
  updatedAt: true
25785
25893
  }), StorageLocationSchema, {
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-BZaBVEUL.js");
5
+ const require_dist = require("../dist-MPbaDp6L.js");
6
6
  let node_fs = require("node:fs");
7
7
  node_fs = require_dist.__toESM(node_fs);
8
8
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { It as parseProcStatus, Qt as BaseAddon, Tt as hfModelUrl, Ut as resolvePoolMemoryPolicy, Z as PoolMemoryWatchdog, yt as embeddingEncoderCapability } from "../dist-58Om1e5O.mjs";
1
+ import { It as parseProcStatus, Qt as BaseAddon, Tt as hfModelUrl, Ut as resolvePoolMemoryPolicy, Z as PoolMemoryWatchdog, yt as embeddingEncoderCapability } from "../dist-D8G7jV1C.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import * as fs from "node:fs";
4
4
  import * as path$1 from "node:path";
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.250",
21
+ version: "1.2.251",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_pipeline_analytics_widgets",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.250",
39
+ version: "1.2.251",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,