@camstack/addon-matter-broker 0.2.131 → 0.2.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/addon.js +496 -141
  2. package/dist/addon.mjs +496 -141
  3. package/package.json +1 -1
package/dist/addon.mjs CHANGED
@@ -5559,7 +5559,7 @@ var ZodIssueCode = {
5559
5559
  var ZodFirstPartyTypeKind;
5560
5560
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5561
5561
  //#endregion
5562
- //#region ../types/dist/sleep-BxjU_fJM.mjs
5562
+ //#region ../types/dist/sleep-BSuCCFjf.mjs
5563
5563
  /**
5564
5564
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5565
5565
  * window to float samples (D455).
@@ -7942,9 +7942,9 @@ function normalizeAddonInitResult(result) {
7942
7942
  return result;
7943
7943
  }
7944
7944
  /**
7945
- * The share-view scope kinds a `csv_*` share token can carry. The hub mints
7946
- * and validates them (`share-token.service.ts` builds its enum from this
7947
- * list); a data plane names the kinds it ACCEPTS in `share`.
7945
+ * The share-view scope kinds a share-link token can carry. The hub mints
7946
+ * and validates them (`ShareViewGrantSchema` builds its
7947
+ * enum from this list); a data plane names the kinds it ACCEPTS in `share`.
7948
7948
  */
7949
7949
  var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
7950
7950
  /** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
@@ -12834,7 +12834,7 @@ var ConvertResultSchema = object({
12834
12834
  * `super_admin` — collapsed onto the single boolean because every
12835
12835
  * non-admin caller is governed by the same scope-check rules; the
12836
12836
  * distinction was only ever used to route role-specific procedures
12837
- * which we no longer have. CLI / webhook integrations are `cst_*` tokens
12837
+ * which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
12838
12838
  * with `isAdmin: false` + an explicit scope list.
12839
12839
  */
12840
12840
  /** Per-method access flavour. Materialised on every cap method via codegen. */
@@ -13023,10 +13023,12 @@ var AddonRoutesScopeSchema = object({
13023
13023
  type: literal("addon-routes"),
13024
13024
  access: array(MethodAccessSchema).min(1)
13025
13025
  });
13026
+ var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
13026
13027
  var CredentialScopeSchema = union([
13027
13028
  literal("*"),
13028
13029
  ShareViewScopeSchema,
13029
13030
  AddonRoutesScopeSchema,
13031
+ PreferencesSelfScopeSchema,
13030
13032
  TokenScopeSchema
13031
13033
  ]);
13032
13034
  object({
@@ -13035,6 +13037,55 @@ object({
13035
13037
  jti: string$2().min(16),
13036
13038
  scopes: array(CredentialScopeSchema).min(1)
13037
13039
  });
13040
+ var PreferenceNamespaceSchema = string$2().regex(/^[a-z][a-z0-9.-]{0,63}$/);
13041
+ /** A namespace's value: a JSON object, opaque to the hub. */
13042
+ var PreferenceValueSchema = record(string$2(), unknown());
13043
+ var PreferenceDeviceIdSchema = string$2().min(1).max(64);
13044
+ /** A stored row, as the owner reads it. */
13045
+ var PreferenceRowSchema = object({
13046
+ namespace: PreferenceNamespaceSchema,
13047
+ value: PreferenceValueSchema,
13048
+ /** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
13049
+ revision: number().int().positive(),
13050
+ updatedAt: number().int(),
13051
+ /** The client id the last writer sent; `null` when it sent none. */
13052
+ updatedByDevice: PreferenceDeviceIdSchema.nullable()
13053
+ });
13054
+ object({
13055
+ /** Absent: every namespace the caller holds. */
13056
+ namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
13057
+ object({ rows: array(PreferenceRowSchema) });
13058
+ object({
13059
+ namespace: PreferenceNamespaceSchema,
13060
+ value: PreferenceValueSchema,
13061
+ /**
13062
+ * The revision the edit was based on. Absent: last write wins. `0`: the
13063
+ * namespace must not exist yet. Any other value that is not the current
13064
+ * revision answers `conflict` and writes nothing.
13065
+ */
13066
+ baseRevision: number().int().nonnegative().optional(),
13067
+ deviceId: PreferenceDeviceIdSchema.optional()
13068
+ });
13069
+ discriminatedUnion("status", [object({
13070
+ status: literal("saved"),
13071
+ row: PreferenceRowSchema
13072
+ }), object({
13073
+ status: literal("conflict"),
13074
+ current: PreferenceRowSchema.nullable()
13075
+ })]);
13076
+ object({ namespace: PreferenceNamespaceSchema });
13077
+ object({
13078
+ /** `false` when the namespace did not exist. */
13079
+ deleted: boolean() });
13080
+ object({
13081
+ /** The revision the client holds per namespace; a namespace it does not list is new to it. */
13082
+ revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
13083
+ object({
13084
+ /** Every row whose revision differs from the client's, and every row it did not list. */
13085
+ rows: array(PreferenceRowSchema),
13086
+ /** Namespaces the client listed that no longer exist. */
13087
+ deleted: array(PreferenceNamespaceSchema)
13088
+ });
13038
13089
  _enum(["new-session", "step-up"]);
13039
13090
  /** The languages the hub's app landing pages are written in (D858). */
13040
13091
  var AppPageLangSchema = _enum(["en", "it"]);
@@ -17337,7 +17388,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
17337
17388
  kind: literal("node"),
17338
17389
  nodeId: string$2().min(1)
17339
17390
  })]);
17391
+ /**
17392
+ * `enum` stores a STATE as the ordinal of its value in the series' value list
17393
+ * (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
17394
+ * meaning); a rollup keeps the time spent in each state (`states`).
17395
+ */
17340
17396
  var DeviceHistoryKindSchema = _enum([
17397
+ "gauge",
17398
+ "counter",
17399
+ "boolean",
17400
+ "enum"
17401
+ ]);
17402
+ /** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
17403
+ var DeviceHistoryProducerKindSchema = _enum([
17341
17404
  "gauge",
17342
17405
  "counter",
17343
17406
  "boolean"
@@ -17374,7 +17437,13 @@ var SeriesInfoSchema = object({
17374
17437
  /** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
17375
17438
  unit: string$2().nullable(),
17376
17439
  displayName: string$2(),
17377
- source: _enum(["cap", "addon"]),
17440
+ source: _enum([
17441
+ "cap",
17442
+ "addon",
17443
+ "derived"
17444
+ ]),
17445
+ /** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
17446
+ values: array(string$2()).readonly().nullable(),
17378
17447
  firstTs: number(),
17379
17448
  lastTs: number()
17380
17449
  });
@@ -17388,17 +17457,31 @@ var QueryPointSchema = object({
17388
17457
  twMean: number().nullable(),
17389
17458
  min: number(),
17390
17459
  max: number(),
17391
- /** `null` is unknown, never zero (D393). */
17392
- last: number().nullable()
17460
+ /** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
17461
+ last: number().nullable(),
17462
+ /**
17463
+ * The increase over the point: a `counter`'s growth since the previous point
17464
+ * or bucket (a drop is a reset, counted from zero), and for
17465
+ * {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
17466
+ * every other kind, and when it cannot be known.
17467
+ */
17468
+ delta: number().nullable(),
17469
+ /** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
17470
+ state: string$2().nullable(),
17471
+ /** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
17472
+ states: record(string$2(), number()).nullable()
17393
17473
  });
17394
17474
  var QuerySeriesSchema = object({
17395
17475
  scope: string$2(),
17396
17476
  /** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
17397
17477
  before: object({
17398
17478
  t: number(),
17399
- value: number().nullable()
17479
+ value: number().nullable(),
17480
+ state: string$2().nullable()
17400
17481
  }).nullable(),
17401
- points: array(QueryPointSchema).readonly()
17482
+ points: array(QueryPointSchema).readonly(),
17483
+ /** A derived key: the stored key its points were computed from; `null` for a stored series. */
17484
+ derivedFrom: string$2().nullable()
17402
17485
  });
17403
17486
  /** The window part of a query, shared by the device and node forms. */
17404
17487
  var QueryWindowShape = {
@@ -17414,6 +17497,23 @@ var QueryResultSchema = object({
17414
17497
  series: array(QuerySeriesSchema).readonly(),
17415
17498
  truncated: boolean()
17416
17499
  });
17500
+ /** One read of a batch: a device's key or a node's key (exactly one subject). */
17501
+ var QueryManyItemSchema = union([object({
17502
+ deviceId: number().int(),
17503
+ key: string$2(),
17504
+ scope: string$2().optional()
17505
+ }), object({
17506
+ forNodeId: string$2().min(1),
17507
+ key: string$2(),
17508
+ scope: string$2().optional()
17509
+ })]);
17510
+ var QueryManyEntrySchema = discriminatedUnion("ok", [object({
17511
+ ok: literal(true),
17512
+ result: QueryResultSchema
17513
+ }), object({
17514
+ ok: literal(false),
17515
+ error: string$2()
17516
+ })]);
17417
17517
  var TierStatusSchema = object({
17418
17518
  tier: DeviceHistoryResolutionSchema,
17419
17519
  /** `null` until the first background count answered. */
@@ -17469,16 +17569,22 @@ var DeviceHistoryStatusSchema = object({
17469
17569
  lastRefreshAt: number().nullable()
17470
17570
  })
17471
17571
  });
17472
- method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ nodeId: string$2().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
17572
+ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string$2().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
17473
17573
  deviceId: number().int(),
17474
17574
  ...QueryWindowShape
17475
17575
  }), QueryResultSchema), method(object({
17476
- nodeId: string$2().min(1),
17576
+ forNodeId: string$2().min(1),
17477
17577
  ...QueryWindowShape
17478
17578
  }), QueryResultSchema, { auth: "admin" }), method(object({
17579
+ items: array(QueryManyItemSchema).min(1).max(24),
17580
+ from: QueryWindowShape.from,
17581
+ to: QueryWindowShape.to,
17582
+ resolution: QueryWindowShape.resolution,
17583
+ maxPoints: QueryWindowShape.maxPoints
17584
+ }), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
17479
17585
  name: string$2().regex(/^[a-z0-9-]+$/),
17480
17586
  subjectKind: _enum(["device", "node"]),
17481
- kind: DeviceHistoryKindSchema,
17587
+ kind: DeviceHistoryProducerKindSchema,
17482
17588
  unit: string$2().optional(),
17483
17589
  displayName: string$2().min(1),
17484
17590
  ingest: _enum(["points", "buckets"])
@@ -40277,38 +40383,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
40277
40383
  auth: "admin",
40278
40384
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
40279
40385
  });
40386
+ var LlmProfileKindSchema = string$2().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
40387
+ /** What a model (or, by default, every model of a kind) can do. */
40388
+ var LlmModelFeaturesSchema = object({
40389
+ vision: boolean(),
40390
+ tools: boolean(),
40391
+ streaming: boolean()
40392
+ });
40393
+ /** One model a provider offers. `features` overrides the kind's defaults, per field. */
40394
+ var LlmModelInfoSchema = object({
40395
+ id: string$2(),
40396
+ label: string$2().optional(),
40397
+ contextLength: number().int().positive().optional(),
40398
+ features: LlmModelFeaturesSchema.partial().optional()
40399
+ });
40280
40400
  /**
40281
- * `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
40282
- * methods concat-fan across providers; single-row methods route to ONE
40283
- * provider by the `addonId` in the call input (the notification-output
40284
- * posture, notification-output.cap.ts:215-250). Provided by `addon-ai`
40285
- * (hub-placed); the cap stays open for future providers.
40286
- *
40287
- * Profiles are ROWS (data), not addons: one row = one usable model endpoint.
40288
- * `apiKey` is a password field — providers REDACT it on read and merge on
40289
- * write; a stored key NEVER round-trips to a client.
40401
+ * The provider-specific part of a profile, validated by the provider that owns
40402
+ * the kind (`upsertProfile` refuses what it does not accept). A field its
40403
+ * `connectionSchema` declares `type: 'password'` is a secret: it is held in the
40404
+ * keychain, never in the row, and reads back as the redaction marker.
40290
40405
  */
40291
- var LlmProfileKindSchema = _enum([
40292
- "openai-compatible",
40293
- "openai",
40294
- "anthropic",
40295
- "google",
40296
- "managed-local",
40297
- "apple-foundation"
40298
- ]);
40406
+ var LlmProviderConfigSchema = record(string$2(), unknown());
40299
40407
  var LlmProfileSchema = object({
40300
40408
  id: string$2(),
40301
40409
  name: string$2(),
40410
+ /** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
40302
40411
  kind: LlmProfileKindSchema,
40303
40412
  /** Stamped by the provider — keeps the fanned catalog routable. */
40304
40413
  addonId: string$2(),
40305
40414
  enabled: boolean(),
40306
40415
  /** Vendor model id, or the managed runtime's loaded model. */
40307
40416
  model: string$2(),
40308
- /** Required for openai-compatible; override for cloud kinds. */
40309
- baseUrl: string$2().optional(),
40310
- /** ConfigUISchema type:'password' — never round-trips (spec §5). */
40311
- apiKey: string$2().optional(),
40312
40417
  /** Vision on/off. A vision call against a `false` profile is REFUSED, never
40313
40418
  * degraded to text — that shipped once and produced a confident answer to a
40314
40419
  * question about a picture nobody sent. */
@@ -40316,15 +40421,11 @@ var LlmProfileSchema = object({
40316
40421
  temperature: number().min(0).max(2).optional(),
40317
40422
  /** Nucleus sampling. Every wire we speak has it. */
40318
40423
  topP: number().min(0).max(1).optional(),
40319
- /** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
40320
- * wire does, and the client drops it there (measured: the request body gets
40321
- * `top_p` and no `top_k`). The profile editor hides the field wherever it
40322
- * would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
40424
+ /** Top-k sampling. Carried only by the wires that have it — a kind offers the
40425
+ * field in its editor only when its descriptor lists it in `profileFields`. */
40323
40426
  topK: number().int().positive().optional(),
40324
40427
  maxTokens: number().int().positive().optional(),
40325
- /** Prompt context window. Advisory for cloud kinds (they enforce their own);
40326
- * for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
40327
- * the model with, so it is the one field that changes a PROCESS. */
40428
+ /** Prompt context window. Advisory for cloud kinds (they enforce their own). */
40328
40429
  contextLength: number().int().positive().optional(),
40329
40430
  /** Default system prompt. A caller's `system` REPLACES it (never appends —
40330
40431
  * two system prompts fighting is worse than either alone). */
@@ -40350,16 +40451,37 @@ var LlmProfileSchema = object({
40350
40451
  * library; the REGISTRY of callable tools is ours and is empty in v1, so a
40351
40452
  * `true` here buys the wiring, not behaviour, until tools are registered. */
40352
40453
  toolsEnabled: boolean().default(false),
40353
- extraHeaders: record(string$2(), string$2()).optional(),
40354
- /** kind === 'managed-local' only (spec §4). */
40355
- runtime: ManagedRuntimeConfigSchema.optional(),
40356
- /**
40357
- * kind === 'apple-foundation' only: WHERE it runs — the only thing there is
40358
- * to configure (no key, no URL, no download; `model` is `apple-system`).
40359
- * `supportsVision` on such a row is stamped by the provider from the node's
40360
- * reported `imageInput`, never taken from the operator (D62).
40361
- */
40362
- appleFoundation: object({ nodeId: string$2() }).optional()
40454
+ /** Everything the kind's provider owns (endpoint, key, node, runtime…). */
40455
+ providerConfig: LlmProviderConfigSchema.default({})
40456
+ });
40457
+ /**
40458
+ * The common profile fields a kind's editor offers. The editor owns how each
40459
+ * one is drawn; the provider says which of them mean something on its wire.
40460
+ */
40461
+ var LlmProfileFieldSchema = _enum([
40462
+ "temperature",
40463
+ "topP",
40464
+ "topK",
40465
+ "maxTokens",
40466
+ "contextLength",
40467
+ "systemPrompt",
40468
+ "timeoutMs",
40469
+ "connectTimeoutMs",
40470
+ "firstTokenTimeoutMs",
40471
+ "idleTimeoutMs",
40472
+ "retry",
40473
+ "toolsEnabled"
40474
+ ]);
40475
+ /**
40476
+ * A provider-drawn part of the editor, by a generic widget id the admin UI
40477
+ * registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
40478
+ * picker: that widget owns the model choice.
40479
+ */
40480
+ var LlmProviderWidgetSchema = object({
40481
+ id: string$2(),
40482
+ placement: _enum(["connection", "model"]),
40483
+ /** `providerConfig` keys this widget must fill before the profile can be saved. */
40484
+ requires: array(string$2()).optional()
40363
40485
  });
40364
40486
  /** ConfigUISchema tree passed through untyped on the wire (the
40365
40487
  * notification-output `ConfigSchemaPassthrough` precedent at
@@ -40368,11 +40490,56 @@ var ConfigSchemaPassthrough$3 = unknown();
40368
40490
  var LlmProfileKindDescriptorSchema = object({
40369
40491
  kind: LlmProfileKindSchema,
40370
40492
  label: string$2(),
40493
+ /** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
40371
40494
  icon: string$2(),
40372
40495
  /** Stamped by each provider so the concat-fanned catalog stays routable. */
40373
40496
  addonId: string$2(),
40374
- configSchema: ConfigSchemaPassthrough$3
40497
+ /** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
40498
+ connectionSchema: ConfigSchemaPassthrough$3,
40499
+ /** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
40500
+ advancedSchema: ConfigSchemaPassthrough$3.optional(),
40501
+ /** The kind's defaults; a model from `listModels` may override any of them. */
40502
+ features: LlmModelFeaturesSchema,
40503
+ /** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
40504
+ visionEditable: boolean(),
40505
+ /** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
40506
+ modelCatalog: _enum([
40507
+ "fetch",
40508
+ "static",
40509
+ "none"
40510
+ ]),
40511
+ staticModels: array(LlmModelInfoSchema).optional(),
40512
+ /** The common fields that mean something on this kind's wire. */
40513
+ profileFields: array(LlmProfileFieldSchema),
40514
+ providerWidgets: array(LlmProviderWidgetSchema).optional()
40375
40515
  });
40516
+ /**
40517
+ * `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
40518
+ * (the editor's form); with `profileId` too, a secret the draft leaves
40519
+ * untouched (absent or the redaction marker) is resolved server-side from the
40520
+ * stored profile — the browser never receives it.
40521
+ */
40522
+ var LlmListModelsInputSchema = object({
40523
+ addonId: string$2(),
40524
+ kind: LlmProfileKindSchema,
40525
+ profileId: string$2().optional(),
40526
+ connection: LlmProviderConfigSchema.optional()
40527
+ });
40528
+ var LlmListModelsErrorCodeSchema = _enum([
40529
+ "auth",
40530
+ "network",
40531
+ "unsupported",
40532
+ "invalid"
40533
+ ]);
40534
+ /** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
40535
+ var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
40536
+ ok: literal(true),
40537
+ models: array(LlmModelInfoSchema)
40538
+ }), object({
40539
+ ok: literal(false),
40540
+ code: LlmListModelsErrorCodeSchema,
40541
+ message: string$2()
40542
+ })]);
40376
40543
  var LlmDefaultSelectorSchema = union([object({ consumer: string$2() }), object({ purpose: _enum(["text", "vision"]) })]);
40377
40544
  var LlmDefaultSchema = object({
40378
40545
  selector: LlmDefaultSelectorSchema,
@@ -40472,7 +40639,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
40472
40639
  kind: "mutation",
40473
40640
  auth: "admin",
40474
40641
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
40475
- }), method(ProfileRefInputSchema, array(string$2())), method(object({}), array(LlmDefaultSchema)), method(object({
40642
+ }), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
40643
+ kind: "mutation",
40644
+ auth: "admin"
40645
+ }), method(object({}), array(LlmDefaultSchema)), method(object({
40476
40646
  selector: LlmDefaultSelectorSchema,
40477
40647
  profileId: string$2().nullable()
40478
40648
  }), _void(), {
@@ -40640,14 +40810,106 @@ var LogEntrySchema = object({
40640
40810
  meta: record(string$2(), unknown()).optional(),
40641
40811
  tags: record(string$2(), string$2()).optional()
40642
40812
  });
40643
- method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
40644
- scope: array(string$2()).optional(),
40813
+ /**
40814
+ * A history READ against one destination (D898).
40815
+ *
40816
+ * Every filter is applied by the PROVIDER, before the limit — a filter the
40817
+ * browser applied after the limit is what made a rare device's lines
40818
+ * unreachable behind a busy one's. `before` / `after` are cursors the provider
40819
+ * minted (opaque to everyone else): a file position for the rotated files, a
40820
+ * nanosecond timestamp for Loki.
40821
+ *
40822
+ * A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
40823
+ * store answers `done: false` with the cursor it reached and the bytes it
40824
+ * scanned, and the caller decides whether to go on. That is what makes a long
40825
+ * scan show progress and stop when asked — `cancelRead` ends the slice in
40826
+ * flight, and not asking for the next slice ends the scan.
40827
+ */
40828
+ var LogReadQuerySchema = object({
40829
+ /** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
40830
+ requestId: string$2().min(1).max(64).optional(),
40831
+ /** The device the line is about (`tags.deviceId`, numeric). */
40832
+ deviceId: number().int().optional(),
40833
+ /**
40834
+ * The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
40835
+ * match. Not `addonId`: a cap router reads that name as "which provider".
40836
+ */
40837
+ fromAddonId: string$2().min(1).max(200).optional(),
40838
+ /**
40839
+ * The emitting node: matches the agent that emitted the line, the node
40840
+ * itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
40841
+ * semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
40842
+ * name as "which node's provider".
40843
+ */
40844
+ fromNodeId: string$2().min(1).max(200).optional(),
40845
+ /** Any other tag, exact match (AND). */
40846
+ tags: record(string$2(), union([string$2(), number()])).optional(),
40847
+ /** Severity FLOOR: this level and above. */
40645
40848
  level: LogLevelSchema.optional(),
40646
- since: date().optional(),
40647
- until: date().optional(),
40648
- limit: number().optional(),
40649
- tags: record(string$2(), string$2()).optional()
40650
- }), array(LogEntrySchema).readonly());
40849
+ /** Case-insensitive substring over message, scope, tag values and meta values. */
40850
+ text: string$2().min(1).max(200).optional(),
40851
+ /** Epoch ms, inclusive. */
40852
+ since: number().optional(),
40853
+ /** Epoch ms, inclusive. */
40854
+ until: number().optional(),
40855
+ /** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
40856
+ before: string$2().min(1).max(1024).optional(),
40857
+ /** Newer than this cursor (exclusive). */
40858
+ after: string$2().min(1).max(1024).optional(),
40859
+ limit: number().int().min(1).max(1e3).optional(),
40860
+ /** Wall-clock bound of this slice. The provider caps it. */
40861
+ budgetMs: number().int().min(50).max(1e4).optional()
40862
+ });
40863
+ var LogReadResultSchema = object({
40864
+ /** Newest first. */
40865
+ entries: array(object({
40866
+ /** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
40867
+ id: string$2().optional(),
40868
+ /** Epoch ms. */
40869
+ timestamp: number(),
40870
+ level: LogLevelSchema,
40871
+ scope: string$2().optional(),
40872
+ message: string$2(),
40873
+ tags: record(string$2(), union([string$2(), number()])).optional(),
40874
+ meta: record(string$2(), unknown()).optional()
40875
+ })),
40876
+ /** Pass as `before` for the next older page; null when nothing older exists. */
40877
+ nextBefore: string$2().nullable(),
40878
+ /** Pass as `after` to read what arrived since; null when unknown. */
40879
+ nextAfter: string$2().nullable(),
40880
+ /** Bytes this slice read (files) or received (remote). Progress, not a promise. */
40881
+ scannedBytes: number().int().nonnegative(),
40882
+ /**
40883
+ * True when the scan in this direction reached the end of the store.
40884
+ * False with fewer than `limit` entries means the budget ran out first —
40885
+ * call again with `nextBefore` to go on.
40886
+ */
40887
+ done: boolean(),
40888
+ /** True when `cancelRead` ended this slice early. */
40889
+ cancelled: boolean().optional()
40890
+ });
40891
+ var LogReadCapabilitiesSchema = object({
40892
+ /** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
40893
+ readable: boolean(),
40894
+ /** Why not, when `readable` is false — rendered next to the source. */
40895
+ reason: string$2().nullable(),
40896
+ /** Filters the provider applies itself. A false one is applied by nobody. */
40897
+ filters: object({
40898
+ deviceId: boolean(),
40899
+ addonId: boolean(),
40900
+ nodeId: boolean(),
40901
+ tags: boolean(),
40902
+ level: boolean(),
40903
+ text: boolean(),
40904
+ timeRange: boolean()
40905
+ }),
40906
+ /** How far back the store reaches, when the provider knows (days). */
40907
+ retentionDays: number().nullable()
40908
+ });
40909
+ method(LogEntrySchema, _void(), { kind: "mutation" }), optionalMethod(_void(), LogReadCapabilitiesSchema, { auth: "admin" }), optionalMethod(LogReadQuerySchema, LogReadResultSchema, { auth: "admin" }), optionalMethod(object({ requestId: string$2().min(1).max(64) }), object({ cancelled: boolean() }), {
40910
+ kind: "mutation",
40911
+ auth: "admin"
40912
+ });
40651
40913
  /**
40652
40914
  * `login-method` — collection cap through which auth addons contribute
40653
40915
  * their pre-auth login surfaces to the login page. This is the SINGLE,
@@ -42365,9 +42627,11 @@ var alarmPanelCapability = {
42365
42627
  */
42366
42628
  durability: "restored",
42367
42629
  /**
42368
- * History (D850): none — enum state; arm/disarm history belongs in the events ledger.
42630
+ * History (D850): the panel's lifecycle state as an `enum` series —
42631
+ * change-only, no floor, so an `arming -> pending -> triggered` sequence of a
42632
+ * few seconds keeps every step. Who armed it stays in the events ledger.
42369
42633
  */
42370
- history: "none",
42634
+ history: { fields: { state: { kind: "enum" } } },
42371
42635
  /** Clock fields: written, but excluded from the compare that decides
42372
42636
  * whether persisting is worth a SQLite commit. */
42373
42637
  volatileStateFields: ["lastChangedAt"]
@@ -43245,6 +43509,33 @@ var NcRuleTargetSchema = object({
43245
43509
  params: record(string$2(), unknown()).optional()
43246
43510
  });
43247
43511
  /**
43512
+ * WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
43513
+ *
43514
+ * Every mode starts from the same CLEAN source frame of the trigger moment
43515
+ * (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
43516
+ * to the zone that fired the rule) and renders it once at send time:
43517
+ * - `scene-boxes` — the whole scene, the subject outlined thick in the accent
43518
+ * colour and every OTHER track visible at that instant outlined thin, each
43519
+ * labelled with class and confidence ("dog 87%").
43520
+ * - `crop` — the subject cut out of that frame around its box at that instant.
43521
+ * - `clean` — the whole scene with nothing drawn on it.
43522
+ * - `none` — no picture.
43523
+ *
43524
+ * A mode that cannot be honoured (no box at that instant, a photograph with no
43525
+ * tracked subject) ships `clean` and names the reason in the log, per camera.
43526
+ * It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
43527
+ * ship a crop on one event and a boxed scene on the next depending on which
43528
+ * stored kind had landed.
43529
+ */
43530
+ var NcMediaImageSchema = _enum([
43531
+ "scene-boxes",
43532
+ "crop",
43533
+ "clean",
43534
+ "none"
43535
+ ]);
43536
+ /**
43537
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
43538
+ *
43248
43539
  * Media attachment policy (P1 still-image subset).
43249
43540
  * - `best` — the best AVAILABLE subject image at dispatch time (D-3).
43250
43541
  * - `best-matching` — the media that explains WHY the rule fired: a rule
@@ -43258,6 +43549,8 @@ var NcRuleTargetSchema = object({
43258
43549
  * - `none` — no attachment.
43259
43550
  */
43260
43551
  /**
43552
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
43553
+ *
43261
43554
  * WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
43262
43555
  * conflate it with the selection strategy and betray the request: asking for
43263
43556
  * the clean scene frame on an object-event owner used to start at
@@ -43286,16 +43579,29 @@ var NcMediaFrameSchema = _enum([
43286
43579
  */
43287
43580
  var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
43288
43581
  var NcMediaPolicySchema = object({
43582
+ /**
43583
+ * The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
43584
+ * saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
43585
+ * triple below, at load and at every write, and the store keeps only this.
43586
+ */
43587
+ image: NcMediaImageSchema.optional(),
43588
+ /**
43589
+ * Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
43590
+ * a `crop` never shows it). Valid only on a rule whose trigger is a zone —
43591
+ * `conditions.zones` or an occupancy zone — and refused on save otherwise.
43592
+ * Replaces `zoneCrop`.
43593
+ */
43594
+ showTriggerZone: boolean().optional(),
43595
+ /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
43289
43596
  attach: _enum([
43290
43597
  "best",
43291
43598
  "best-matching",
43292
43599
  "keyFrame",
43293
43600
  "none"
43294
- ]).default("best"),
43295
- /** What the still shows. Absent = `cropped` (the historical `best` shape). */
43601
+ ]).optional(),
43602
+ /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
43296
43603
  frame: NcMediaFrameSchema.optional(),
43297
- /** Crop the attached still to the rule's condition-zone bbox (padded) —
43298
- * "show me the ZONE", not the whole scene or the subject crop. */
43604
+ /** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
43299
43605
  zoneCrop: boolean().optional(),
43300
43606
  /**
43301
43607
  * Also attach a short GIF cut from the stream broker's clip ring around the
@@ -43467,7 +43773,9 @@ var NcRuleInputSchema = object({
43467
43773
  * targets.
43468
43774
  */
43469
43775
  targetUsers: array(string$2()).optional(),
43470
- media: NcMediaPolicySchema.default({ attach: "best" }),
43776
+ /** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
43777
+ * detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
43778
+ media: NcMediaPolicySchema.default({}),
43471
43779
  throttle: NcThrottleSchema.default({
43472
43780
  cooldownSec: 60,
43473
43781
  scope: "rule-device"
@@ -44404,13 +44712,37 @@ var NcAlarmModeOpeningsSchema = object({
44404
44712
  /** Covered devices whose state could not be read (D49): neither open nor closed. */
44405
44713
  unknown: array(number().int())
44406
44714
  });
44715
+ /**
44716
+ * One alarm INPUT — a (rule, device) pair — the operator bypassed until the
44717
+ * next disarm ("Bypass this input until disarm" on a trigger notification, or
44718
+ * `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
44719
+ * never looks fully armed (D62: off must never look like broken).
44720
+ */
44721
+ var NcAlarmInputBypassViewSchema = object({
44722
+ ruleId: string$2(),
44723
+ /** The rule's current name (its frozen name when the rule is gone). */
44724
+ ruleName: string$2(),
44725
+ /** The input: the sensor of the match, else its camera. */
44726
+ deviceId: number().int(),
44727
+ /** The input's current name. */
44728
+ name: string$2(),
44729
+ /** When it was bypassed (ms epoch). */
44730
+ since: number(),
44731
+ /** Triggers from this input dropped since. */
44732
+ dropped: number().int().min(0)
44733
+ });
44407
44734
  var NcAlarmLiveSchema = object({
44408
44735
  state: AlarmStateSchema,
44409
44736
  /** The mode being armed into (exit delay) or held; null when disarmed. */
44410
44737
  targetMode: AlarmArmModeSchema.nullable(),
44411
44738
  availableModes: array(AlarmArmModeSchema),
44412
44739
  openings: array(NcAlarmModeOpeningsSchema),
44413
- exclusions: array(NcAlarmExclusionViewSchema)
44740
+ exclusions: array(NcAlarmExclusionViewSchema),
44741
+ /**
44742
+ * Inputs bypassed for the rest of this arm session; cleared on disarm.
44743
+ * Defaulted so an older hub answer still parses (as "none known").
44744
+ */
44745
+ bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
44414
44746
  });
44415
44747
  var NcAlarmConfigSchema = object({
44416
44748
  /**
@@ -55146,9 +55478,11 @@ var connectivityCapability = {
55146
55478
  */
55147
55479
  durability: "restored",
55148
55480
  /**
55149
- * History (D850): none — duplicates device-status.online (one authority for availability).
55481
+ * History (D850): `connected` as a boolean series — change-only, no floor. It
55482
+ * is the upstream entity's own link (a HA connectivity sensor), not the
55483
+ * device's reachability, which stays `device-status.online`.
55150
55484
  */
55151
- history: "none",
55485
+ history: { fields: { connected: { kind: "boolean" } } },
55152
55486
  /** Clock fields: written, but excluded from the compare that decides
55153
55487
  * whether persisting is worth a SQLite commit. */
55154
55488
  volatileStateFields: ["lastChangedAt"]
@@ -55972,11 +56306,22 @@ var dishwasherCapability = {
55972
56306
  },
55973
56307
  runtimeState: DishwasherStatusSchema,
55974
56308
  durability: "session",
55975
- history: { fields: { progressPercent: {
55976
- kind: "gauge",
55977
- unit: "%",
55978
- deadband: 2
55979
- } } }
56309
+ history: { fields: {
56310
+ progressPercent: {
56311
+ kind: "gauge",
56312
+ unit: "%",
56313
+ deadband: 2
56314
+ },
56315
+ state: { kind: "enum" },
56316
+ operationState: { kind: "enum" },
56317
+ remainingSeconds: {
56318
+ kind: "gauge",
56319
+ unit: "s",
56320
+ minIntervalMs: 6e4
56321
+ },
56322
+ doorOpen: { kind: "boolean" },
56323
+ powerOn: { kind: "boolean" }
56324
+ } }
55980
56325
  };
55981
56326
  var DoorbellStatusSchema = object({
55982
56327
  /** Ms epoch of the last press. null = never observed since this provider started. */
@@ -56093,9 +56438,15 @@ var enumSensorCapability = {
56093
56438
  */
56094
56439
  durability: "restored",
56095
56440
  /**
56096
- * History (D850): none — text/enum state has no history (non-goal).
56441
+ * History (D850): the value as an `enum` series (an appliance's program or
56442
+ * operation state, an HVAC action). The option set is per device, so the
56443
+ * value list is LEARNED as values are first seen (bounded). A sensor with a
56444
+ * `format` carries a timestamp, not a state, and is not recorded.
56097
56445
  */
56098
- history: "none",
56446
+ history: { fields: { value: {
56447
+ kind: "enum",
56448
+ skipWhenSet: "format"
56449
+ } } },
56099
56450
  /** Clock fields: written, but excluded from the compare that decides
56100
56451
  * whether persisting is worth a SQLite commit. */
56101
56452
  volatileStateFields: ["lastFetchedAt"]
@@ -58069,9 +58420,10 @@ var lockControlCapability = {
58069
58420
  */
58070
58421
  durability: "restored",
58071
58422
  /**
58072
- * History (D850): none — enum state; lock events belong in the events ledger.
58423
+ * History (D850): the lock's state as an `enum` series — change-only, no
58424
+ * floor: a jam or an unlock lasting seconds is the edge an operator looks for.
58073
58425
  */
58074
- history: "none",
58426
+ history: { fields: { state: { kind: "enum" } } },
58075
58427
  /** Clock fields: written, but excluded from the compare that decides
58076
58428
  * whether persisting is worth a SQLite commit. */
58077
58429
  volatileStateFields: ["lastChangedAt"]
@@ -58245,9 +58597,18 @@ var mediaPlayerCapability = {
58245
58597
  */
58246
58598
  durability: "session",
58247
58599
  /**
58248
- * History (D850): none — `positionMs` moves continuously while playing; volume is transient.
58600
+ * History (D850): volume (a level an operator or an automation sets; the
58601
+ * default 10 s floor folds a slider drag into its end value) and mute.
58602
+ * `positionMs` is not recorded: it moves continuously while playing.
58249
58603
  */
58250
- history: "none"
58604
+ history: { fields: {
58605
+ volumeLevel: {
58606
+ kind: "gauge",
58607
+ unit: "%",
58608
+ deadband: 1
58609
+ },
58610
+ isMuted: { kind: "boolean" }
58611
+ } }
58251
58612
  };
58252
58613
  /**
58253
58614
  * mesh-network — collection cap for mesh-VPN providers.
@@ -63540,9 +63901,29 @@ var streamParamsCapability = {
63540
63901
  */
63541
63902
  durability: "restored",
63542
63903
  /**
63543
- * History (D850): none — encoder configuration.
63904
+ * History (D850): the configured bitrate and frame rate of the main and sub
63905
+ * profiles. Configuration, so change-only on the default floor: a point is an
63906
+ * operator's (or a tuner's) edit, which is exactly what a chart of a stream's
63907
+ * quality over time must show.
63544
63908
  */
63545
- history: "none",
63909
+ history: { fields: {
63910
+ "main.bitrate": {
63911
+ kind: "gauge",
63912
+ unit: "kbps"
63913
+ },
63914
+ "main.framerate": {
63915
+ kind: "gauge",
63916
+ unit: "fps"
63917
+ },
63918
+ "sub.bitrate": {
63919
+ kind: "gauge",
63920
+ unit: "kbps"
63921
+ },
63922
+ "sub.framerate": {
63923
+ kind: "gauge",
63924
+ unit: "fps"
63925
+ }
63926
+ } },
63546
63927
  /** Clock fields: written, but excluded from the compare that decides
63547
63928
  * whether persisting is worth a SQLite commit. */
63548
63929
  volatileStateFields: ["lastFetchedAt"]
@@ -64377,26 +64758,6 @@ var ApiKeySummarySchema = object({
64377
64758
  createdAt: number(),
64378
64759
  lastUsedAt: number().optional()
64379
64760
  });
64380
- var ScopedTokenSummarySchema = object({
64381
- id: string$2(),
64382
- userId: string$2(),
64383
- name: string$2(),
64384
- tokenPrefix: string$2(),
64385
- scopes: array(TokenScopeSchema),
64386
- expiresAt: number().nullish(),
64387
- lastUsedAt: number().nullish(),
64388
- createdAt: number()
64389
- });
64390
- var CreateScopedTokenInputSchema = object({
64391
- userId: string$2(),
64392
- name: string$2(),
64393
- scopes: array(TokenScopeSchema),
64394
- expiresAt: number().optional()
64395
- });
64396
- var CreateScopedTokenResultSchema = object({
64397
- token: string$2(),
64398
- record: ScopedTokenSummarySchema
64399
- });
64400
64761
  var OauthSessionSummarySchema = object({
64401
64762
  id: string$2(),
64402
64763
  userId: string$2(),
@@ -64418,11 +64779,11 @@ var TotpStatusSchema = object({
64418
64779
  confirmedAt: number().nullable()
64419
64780
  });
64420
64781
  /**
64421
- * user-management — singleton capability for user accounts, API keys,
64422
- * and scoped tokens.
64782
+ * user-management — singleton capability for user accounts and the
64783
+ * legacy API-key rows.
64423
64784
  *
64424
64785
  * v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
64425
- * — the subset check on `setUserScopes` / `createScopedToken` is moot
64786
+ * — the subset check on `setUserScopes` is moot
64426
64787
  * because non-admins never reach these. If/when we open non-admin
64427
64788
  * delegation, structural caller-scope subset check goes inside the
64428
64789
  * provider.
@@ -64479,15 +64840,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
64479
64840
  kind: "mutation",
64480
64841
  auth: "admin",
64481
64842
  access: "delete"
64482
- }), method(CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, {
64483
- kind: "mutation",
64484
- auth: "admin",
64485
- access: "create"
64486
- }), method(object({ id: string$2() }), object({ success: literal(true) }), {
64487
- kind: "mutation",
64488
- auth: "admin",
64489
- access: "delete"
64490
- }), method(object({ token: string$2() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string$2() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string$2() }), TotpSetupResultSchema, {
64843
+ }), method(object({ userId: string$2() }), TotpSetupResultSchema, {
64491
64844
  kind: "mutation",
64492
64845
  auth: "admin",
64493
64846
  access: "create"
@@ -66748,6 +67101,15 @@ var BaseDevice = class {
66748
67101
  * Drivers can use the `getProbeFlags()` helper to read the flag bag
66749
67102
  * with a typed cast.
66750
67103
  *
67104
+ * Answer what you KNOW. A plain array is read as the complete list only
67105
+ * while this device is `online` and probed; return
67106
+ * `accessoryChildrenUnknown(reason)` whenever you cannot know the list right
67107
+ * now (no credentials, parent not connected, a failed or partial read) —
67108
+ * the kernel then deletes nothing. Return `accessoryChildrenComplete(list)`
67109
+ * to say "connected, and this is the complete list" explicitly. A shrink is
67110
+ * deleted only after a second agreeing complete read on a later probe (D49;
67111
+ * `packages/system/src/kernel/moleculer/accessory-prune-gate.ts`).
67112
+ *
66751
67113
  * Default: no children.
66752
67114
  */
66753
67115
  getAccessoryChildren() {
@@ -70577,7 +70939,7 @@ Object.freeze({
70577
70939
  capName: "llm",
70578
70940
  capScope: "system",
70579
70941
  addonId: null,
70580
- access: "view"
70942
+ access: "create"
70581
70943
  },
70582
70944
  "llm.listNodeModels": {
70583
70945
  capName: "llm",
@@ -70879,7 +71241,19 @@ Object.freeze({
70879
71241
  addonId: null,
70880
71242
  access: "view"
70881
71243
  },
70882
- "logDestination.query": {
71244
+ "logDestination.cancelRead": {
71245
+ capName: "log-destination",
71246
+ capScope: "system",
71247
+ addonId: null,
71248
+ access: "create"
71249
+ },
71250
+ "logDestination.describeRead": {
71251
+ capName: "log-destination",
71252
+ capScope: "system",
71253
+ addonId: null,
71254
+ access: "view"
71255
+ },
71256
+ "logDestination.read": {
70883
71257
  capName: "log-destination",
70884
71258
  capScope: "system",
70885
71259
  addonId: null,
@@ -75241,12 +75615,6 @@ Object.freeze({
75241
75615
  addonId: null,
75242
75616
  access: "create"
75243
75617
  },
75244
- "userManagement.createScopedToken": {
75245
- capName: "user-management",
75246
- capScope: "system",
75247
- addonId: null,
75248
- access: "create"
75249
- },
75250
75618
  "userManagement.createUser": {
75251
75619
  capName: "user-management",
75252
75620
  capScope: "system",
@@ -75295,12 +75663,6 @@ Object.freeze({
75295
75663
  addonId: null,
75296
75664
  access: "view"
75297
75665
  },
75298
- "userManagement.listScopedTokens": {
75299
- capName: "user-management",
75300
- capScope: "system",
75301
- addonId: null,
75302
- access: "view"
75303
- },
75304
75666
  "userManagement.listUsers": {
75305
75667
  capName: "user-management",
75306
75668
  capScope: "system",
@@ -75355,12 +75717,6 @@ Object.freeze({
75355
75717
  addonId: null,
75356
75718
  access: "delete"
75357
75719
  },
75358
- "userManagement.revokeScopedToken": {
75359
- capName: "user-management",
75360
- capScope: "system",
75361
- addonId: null,
75362
- access: "delete"
75363
- },
75364
75720
  "userManagement.setupTotp": {
75365
75721
  capName: "user-management",
75366
75722
  capScope: "system",
@@ -75391,12 +75747,6 @@ Object.freeze({
75391
75747
  addonId: null,
75392
75748
  access: "view"
75393
75749
  },
75394
- "userManagement.validateScopedToken": {
75395
- capName: "user-management",
75396
- capScope: "system",
75397
- addonId: null,
75398
- access: "view"
75399
- },
75400
75750
  "userManagement.verifyTotp": {
75401
75751
  capName: "user-management",
75402
75752
  capScope: "system",
@@ -76910,6 +77260,11 @@ Object.freeze({
76910
77260
  form: "single",
76911
77261
  optional: false
76912
77262
  }],
77263
+ "logDestination.read": [{
77264
+ name: "deviceId",
77265
+ form: "single",
77266
+ optional: true
77267
+ }],
76913
77268
  "mediaPlayer.getStatus": [{
76914
77269
  name: "deviceId",
76915
77270
  form: "single",