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