@camstack/addon-provider-ecowitt 0.2.130 → 0.2.132

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
@@ -5417,7 +5417,7 @@ var ZodIssueCode$1 = {
5417
5417
  var ZodFirstPartyTypeKind$1;
5418
5418
  ZodFirstPartyTypeKind$1 || (ZodFirstPartyTypeKind$1 = {});
5419
5419
  //#endregion
5420
- //#region ../types/dist/sleep-BxjU_fJM.mjs
5420
+ //#region ../types/dist/sleep-BSuCCFjf.mjs
5421
5421
  /**
5422
5422
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5423
5423
  * window to float samples (D455).
@@ -7800,9 +7800,9 @@ function normalizeAddonInitResult(result) {
7800
7800
  return result;
7801
7801
  }
7802
7802
  /**
7803
- * The share-view scope kinds a `csv_*` share token can carry. The hub mints
7804
- * and validates them (`share-token.service.ts` builds its enum from this
7805
- * list); a data plane names the kinds it ACCEPTS in `share`.
7803
+ * The share-view scope kinds a share-link token can carry. The hub mints
7804
+ * and validates them (`ShareViewGrantSchema` builds its
7805
+ * enum from this list); a data plane names the kinds it ACCEPTS in `share`.
7806
7806
  */
7807
7807
  var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
7808
7808
  /** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
@@ -12506,7 +12506,7 @@ var ConvertResultSchema = object({
12506
12506
  * `super_admin` — collapsed onto the single boolean because every
12507
12507
  * non-admin caller is governed by the same scope-check rules; the
12508
12508
  * distinction was only ever used to route role-specific procedures
12509
- * which we no longer have. CLI / webhook integrations are `cst_*` tokens
12509
+ * which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
12510
12510
  * with `isAdmin: false` + an explicit scope list.
12511
12511
  */
12512
12512
  /** Per-method access flavour. Materialised on every cap method via codegen. */
@@ -12695,10 +12695,12 @@ var AddonRoutesScopeSchema = object({
12695
12695
  type: literal("addon-routes"),
12696
12696
  access: array(MethodAccessSchema).min(1)
12697
12697
  });
12698
+ var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
12698
12699
  var CredentialScopeSchema = union([
12699
12700
  literal("*"),
12700
12701
  ShareViewScopeSchema,
12701
12702
  AddonRoutesScopeSchema,
12703
+ PreferencesSelfScopeSchema,
12702
12704
  TokenScopeSchema
12703
12705
  ]);
12704
12706
  object({
@@ -12707,6 +12709,55 @@ object({
12707
12709
  jti: string().min(16),
12708
12710
  scopes: array(CredentialScopeSchema).min(1)
12709
12711
  });
12712
+ var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
12713
+ /** A namespace's value: a JSON object, opaque to the hub. */
12714
+ var PreferenceValueSchema = record(string(), unknown());
12715
+ var PreferenceDeviceIdSchema = string().min(1).max(64);
12716
+ /** A stored row, as the owner reads it. */
12717
+ var PreferenceRowSchema = object({
12718
+ namespace: PreferenceNamespaceSchema,
12719
+ value: PreferenceValueSchema,
12720
+ /** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
12721
+ revision: number().int().positive(),
12722
+ updatedAt: number().int(),
12723
+ /** The client id the last writer sent; `null` when it sent none. */
12724
+ updatedByDevice: PreferenceDeviceIdSchema.nullable()
12725
+ });
12726
+ object({
12727
+ /** Absent: every namespace the caller holds. */
12728
+ namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
12729
+ object({ rows: array(PreferenceRowSchema) });
12730
+ object({
12731
+ namespace: PreferenceNamespaceSchema,
12732
+ value: PreferenceValueSchema,
12733
+ /**
12734
+ * The revision the edit was based on. Absent: last write wins. `0`: the
12735
+ * namespace must not exist yet. Any other value that is not the current
12736
+ * revision answers `conflict` and writes nothing.
12737
+ */
12738
+ baseRevision: number().int().nonnegative().optional(),
12739
+ deviceId: PreferenceDeviceIdSchema.optional()
12740
+ });
12741
+ discriminatedUnion("status", [object({
12742
+ status: literal("saved"),
12743
+ row: PreferenceRowSchema
12744
+ }), object({
12745
+ status: literal("conflict"),
12746
+ current: PreferenceRowSchema.nullable()
12747
+ })]);
12748
+ object({ namespace: PreferenceNamespaceSchema });
12749
+ object({
12750
+ /** `false` when the namespace did not exist. */
12751
+ deleted: boolean() });
12752
+ object({
12753
+ /** The revision the client holds per namespace; a namespace it does not list is new to it. */
12754
+ revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
12755
+ object({
12756
+ /** Every row whose revision differs from the client's, and every row it did not list. */
12757
+ rows: array(PreferenceRowSchema),
12758
+ /** Namespaces the client listed that no longer exist. */
12759
+ deleted: array(PreferenceNamespaceSchema)
12760
+ });
12710
12761
  _enum(["new-session", "step-up"]);
12711
12762
  /** The languages the hub's app landing pages are written in (D858). */
12712
12763
  var AppPageLangSchema = _enum(["en", "it"]);
@@ -16960,7 +17011,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
16960
17011
  kind: literal("node"),
16961
17012
  nodeId: string().min(1)
16962
17013
  })]);
17014
+ /**
17015
+ * `enum` stores a STATE as the ordinal of its value in the series' value list
17016
+ * (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
17017
+ * meaning); a rollup keeps the time spent in each state (`states`).
17018
+ */
16963
17019
  var DeviceHistoryKindSchema = _enum([
17020
+ "gauge",
17021
+ "counter",
17022
+ "boolean",
17023
+ "enum"
17024
+ ]);
17025
+ /** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
17026
+ var DeviceHistoryProducerKindSchema = _enum([
16964
17027
  "gauge",
16965
17028
  "counter",
16966
17029
  "boolean"
@@ -16997,7 +17060,13 @@ var SeriesInfoSchema = object({
16997
17060
  /** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
16998
17061
  unit: string().nullable(),
16999
17062
  displayName: string(),
17000
- source: _enum(["cap", "addon"]),
17063
+ source: _enum([
17064
+ "cap",
17065
+ "addon",
17066
+ "derived"
17067
+ ]),
17068
+ /** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
17069
+ values: array(string()).readonly().nullable(),
17001
17070
  firstTs: number(),
17002
17071
  lastTs: number()
17003
17072
  });
@@ -17011,17 +17080,31 @@ var QueryPointSchema = object({
17011
17080
  twMean: number().nullable(),
17012
17081
  min: number(),
17013
17082
  max: number(),
17014
- /** `null` is unknown, never zero (D393). */
17015
- last: number().nullable()
17083
+ /** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
17084
+ last: number().nullable(),
17085
+ /**
17086
+ * The increase over the point: a `counter`'s growth since the previous point
17087
+ * or bucket (a drop is a reset, counted from zero), and for
17088
+ * {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
17089
+ * every other kind, and when it cannot be known.
17090
+ */
17091
+ delta: number().nullable(),
17092
+ /** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
17093
+ state: string().nullable(),
17094
+ /** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
17095
+ states: record(string(), number()).nullable()
17016
17096
  });
17017
17097
  var QuerySeriesSchema = object({
17018
17098
  scope: string(),
17019
17099
  /** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
17020
17100
  before: object({
17021
17101
  t: number(),
17022
- value: number().nullable()
17102
+ value: number().nullable(),
17103
+ state: string().nullable()
17023
17104
  }).nullable(),
17024
- points: array(QueryPointSchema).readonly()
17105
+ points: array(QueryPointSchema).readonly(),
17106
+ /** A derived key: the stored key its points were computed from; `null` for a stored series. */
17107
+ derivedFrom: string().nullable()
17025
17108
  });
17026
17109
  /** The window part of a query, shared by the device and node forms. */
17027
17110
  var QueryWindowShape = {
@@ -17037,6 +17120,23 @@ var QueryResultSchema = object({
17037
17120
  series: array(QuerySeriesSchema).readonly(),
17038
17121
  truncated: boolean()
17039
17122
  });
17123
+ /** One read of a batch: a device's key or a node's key (exactly one subject). */
17124
+ var QueryManyItemSchema = union([object({
17125
+ deviceId: number().int(),
17126
+ key: string(),
17127
+ scope: string().optional()
17128
+ }), object({
17129
+ forNodeId: string().min(1),
17130
+ key: string(),
17131
+ scope: string().optional()
17132
+ })]);
17133
+ var QueryManyEntrySchema = discriminatedUnion("ok", [object({
17134
+ ok: literal(true),
17135
+ result: QueryResultSchema
17136
+ }), object({
17137
+ ok: literal(false),
17138
+ error: string()
17139
+ })]);
17040
17140
  var TierStatusSchema = object({
17041
17141
  tier: DeviceHistoryResolutionSchema,
17042
17142
  /** `null` until the first background count answered. */
@@ -17092,16 +17192,22 @@ var DeviceHistoryStatusSchema = object({
17092
17192
  lastRefreshAt: number().nullable()
17093
17193
  })
17094
17194
  });
17095
- method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ nodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
17195
+ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
17096
17196
  deviceId: number().int(),
17097
17197
  ...QueryWindowShape
17098
17198
  }), QueryResultSchema), method(object({
17099
- nodeId: string().min(1),
17199
+ forNodeId: string().min(1),
17100
17200
  ...QueryWindowShape
17101
17201
  }), QueryResultSchema, { auth: "admin" }), method(object({
17202
+ items: array(QueryManyItemSchema).min(1).max(24),
17203
+ from: QueryWindowShape.from,
17204
+ to: QueryWindowShape.to,
17205
+ resolution: QueryWindowShape.resolution,
17206
+ maxPoints: QueryWindowShape.maxPoints
17207
+ }), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
17102
17208
  name: string().regex(/^[a-z0-9-]+$/),
17103
17209
  subjectKind: _enum(["device", "node"]),
17104
- kind: DeviceHistoryKindSchema,
17210
+ kind: DeviceHistoryProducerKindSchema,
17105
17211
  unit: string().optional(),
17106
17212
  displayName: string().min(1),
17107
17213
  ingest: _enum(["points", "buckets"])
@@ -39996,38 +40102,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
39996
40102
  auth: "admin",
39997
40103
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
39998
40104
  });
40105
+ var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
40106
+ /** What a model (or, by default, every model of a kind) can do. */
40107
+ var LlmModelFeaturesSchema = object({
40108
+ vision: boolean(),
40109
+ tools: boolean(),
40110
+ streaming: boolean()
40111
+ });
40112
+ /** One model a provider offers. `features` overrides the kind's defaults, per field. */
40113
+ var LlmModelInfoSchema = object({
40114
+ id: string(),
40115
+ label: string().optional(),
40116
+ contextLength: number().int().positive().optional(),
40117
+ features: LlmModelFeaturesSchema.partial().optional()
40118
+ });
39999
40119
  /**
40000
- * `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
40001
- * methods concat-fan across providers; single-row methods route to ONE
40002
- * provider by the `addonId` in the call input (the notification-output
40003
- * posture, notification-output.cap.ts:215-250). Provided by `addon-ai`
40004
- * (hub-placed); the cap stays open for future providers.
40005
- *
40006
- * Profiles are ROWS (data), not addons: one row = one usable model endpoint.
40007
- * `apiKey` is a password field — providers REDACT it on read and merge on
40008
- * write; a stored key NEVER round-trips to a client.
40120
+ * The provider-specific part of a profile, validated by the provider that owns
40121
+ * the kind (`upsertProfile` refuses what it does not accept). A field its
40122
+ * `connectionSchema` declares `type: 'password'` is a secret: it is held in the
40123
+ * keychain, never in the row, and reads back as the redaction marker.
40009
40124
  */
40010
- var LlmProfileKindSchema = _enum([
40011
- "openai-compatible",
40012
- "openai",
40013
- "anthropic",
40014
- "google",
40015
- "managed-local",
40016
- "apple-foundation"
40017
- ]);
40125
+ var LlmProviderConfigSchema = record(string(), unknown());
40018
40126
  var LlmProfileSchema = object({
40019
40127
  id: string(),
40020
40128
  name: string(),
40129
+ /** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
40021
40130
  kind: LlmProfileKindSchema,
40022
40131
  /** Stamped by the provider — keeps the fanned catalog routable. */
40023
40132
  addonId: string(),
40024
40133
  enabled: boolean(),
40025
40134
  /** Vendor model id, or the managed runtime's loaded model. */
40026
40135
  model: string(),
40027
- /** Required for openai-compatible; override for cloud kinds. */
40028
- baseUrl: string().optional(),
40029
- /** ConfigUISchema type:'password' — never round-trips (spec §5). */
40030
- apiKey: string().optional(),
40031
40136
  /** Vision on/off. A vision call against a `false` profile is REFUSED, never
40032
40137
  * degraded to text — that shipped once and produced a confident answer to a
40033
40138
  * question about a picture nobody sent. */
@@ -40035,15 +40140,11 @@ var LlmProfileSchema = object({
40035
40140
  temperature: number().min(0).max(2).optional(),
40036
40141
  /** Nucleus sampling. Every wire we speak has it. */
40037
40142
  topP: number().min(0).max(1).optional(),
40038
- /** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
40039
- * wire does, and the client drops it there (measured: the request body gets
40040
- * `top_p` and no `top_k`). The profile editor hides the field wherever it
40041
- * would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
40143
+ /** Top-k sampling. Carried only by the wires that have it — a kind offers the
40144
+ * field in its editor only when its descriptor lists it in `profileFields`. */
40042
40145
  topK: number().int().positive().optional(),
40043
40146
  maxTokens: number().int().positive().optional(),
40044
- /** Prompt context window. Advisory for cloud kinds (they enforce their own);
40045
- * for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
40046
- * the model with, so it is the one field that changes a PROCESS. */
40147
+ /** Prompt context window. Advisory for cloud kinds (they enforce their own). */
40047
40148
  contextLength: number().int().positive().optional(),
40048
40149
  /** Default system prompt. A caller's `system` REPLACES it (never appends —
40049
40150
  * two system prompts fighting is worse than either alone). */
@@ -40069,16 +40170,37 @@ var LlmProfileSchema = object({
40069
40170
  * library; the REGISTRY of callable tools is ours and is empty in v1, so a
40070
40171
  * `true` here buys the wiring, not behaviour, until tools are registered. */
40071
40172
  toolsEnabled: boolean().default(false),
40072
- extraHeaders: record(string(), string()).optional(),
40073
- /** kind === 'managed-local' only (spec §4). */
40074
- runtime: ManagedRuntimeConfigSchema.optional(),
40075
- /**
40076
- * kind === 'apple-foundation' only: WHERE it runs — the only thing there is
40077
- * to configure (no key, no URL, no download; `model` is `apple-system`).
40078
- * `supportsVision` on such a row is stamped by the provider from the node's
40079
- * reported `imageInput`, never taken from the operator (D62).
40080
- */
40081
- appleFoundation: object({ nodeId: string() }).optional()
40173
+ /** Everything the kind's provider owns (endpoint, key, node, runtime…). */
40174
+ providerConfig: LlmProviderConfigSchema.default({})
40175
+ });
40176
+ /**
40177
+ * The common profile fields a kind's editor offers. The editor owns how each
40178
+ * one is drawn; the provider says which of them mean something on its wire.
40179
+ */
40180
+ var LlmProfileFieldSchema = _enum([
40181
+ "temperature",
40182
+ "topP",
40183
+ "topK",
40184
+ "maxTokens",
40185
+ "contextLength",
40186
+ "systemPrompt",
40187
+ "timeoutMs",
40188
+ "connectTimeoutMs",
40189
+ "firstTokenTimeoutMs",
40190
+ "idleTimeoutMs",
40191
+ "retry",
40192
+ "toolsEnabled"
40193
+ ]);
40194
+ /**
40195
+ * A provider-drawn part of the editor, by a generic widget id the admin UI
40196
+ * registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
40197
+ * picker: that widget owns the model choice.
40198
+ */
40199
+ var LlmProviderWidgetSchema = object({
40200
+ id: string(),
40201
+ placement: _enum(["connection", "model"]),
40202
+ /** `providerConfig` keys this widget must fill before the profile can be saved. */
40203
+ requires: array(string()).optional()
40082
40204
  });
40083
40205
  /** ConfigUISchema tree passed through untyped on the wire (the
40084
40206
  * notification-output `ConfigSchemaPassthrough` precedent at
@@ -40087,11 +40209,56 @@ var ConfigSchemaPassthrough$3 = unknown();
40087
40209
  var LlmProfileKindDescriptorSchema = object({
40088
40210
  kind: LlmProfileKindSchema,
40089
40211
  label: string(),
40212
+ /** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
40090
40213
  icon: string(),
40091
40214
  /** Stamped by each provider so the concat-fanned catalog stays routable. */
40092
40215
  addonId: string(),
40093
- configSchema: ConfigSchemaPassthrough$3
40216
+ /** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
40217
+ connectionSchema: ConfigSchemaPassthrough$3,
40218
+ /** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
40219
+ advancedSchema: ConfigSchemaPassthrough$3.optional(),
40220
+ /** The kind's defaults; a model from `listModels` may override any of them. */
40221
+ features: LlmModelFeaturesSchema,
40222
+ /** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
40223
+ visionEditable: boolean(),
40224
+ /** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
40225
+ modelCatalog: _enum([
40226
+ "fetch",
40227
+ "static",
40228
+ "none"
40229
+ ]),
40230
+ staticModels: array(LlmModelInfoSchema).optional(),
40231
+ /** The common fields that mean something on this kind's wire. */
40232
+ profileFields: array(LlmProfileFieldSchema),
40233
+ providerWidgets: array(LlmProviderWidgetSchema).optional()
40094
40234
  });
40235
+ /**
40236
+ * `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
40237
+ * (the editor's form); with `profileId` too, a secret the draft leaves
40238
+ * untouched (absent or the redaction marker) is resolved server-side from the
40239
+ * stored profile — the browser never receives it.
40240
+ */
40241
+ var LlmListModelsInputSchema = object({
40242
+ addonId: string(),
40243
+ kind: LlmProfileKindSchema,
40244
+ profileId: string().optional(),
40245
+ connection: LlmProviderConfigSchema.optional()
40246
+ });
40247
+ var LlmListModelsErrorCodeSchema = _enum([
40248
+ "auth",
40249
+ "network",
40250
+ "unsupported",
40251
+ "invalid"
40252
+ ]);
40253
+ /** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
40254
+ var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
40255
+ ok: literal(true),
40256
+ models: array(LlmModelInfoSchema)
40257
+ }), object({
40258
+ ok: literal(false),
40259
+ code: LlmListModelsErrorCodeSchema,
40260
+ message: string()
40261
+ })]);
40095
40262
  var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
40096
40263
  var LlmDefaultSchema = object({
40097
40264
  selector: LlmDefaultSelectorSchema,
@@ -40191,7 +40358,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
40191
40358
  kind: "mutation",
40192
40359
  auth: "admin",
40193
40360
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
40194
- }), method(ProfileRefInputSchema, array(string())), method(object({}), array(LlmDefaultSchema)), method(object({
40361
+ }), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
40362
+ kind: "mutation",
40363
+ auth: "admin"
40364
+ }), method(object({}), array(LlmDefaultSchema)), method(object({
40195
40365
  selector: LlmDefaultSelectorSchema,
40196
40366
  profileId: string().nullable()
40197
40367
  }), _void(), {
@@ -40359,14 +40529,106 @@ var LogEntrySchema = object({
40359
40529
  meta: record(string(), unknown()).optional(),
40360
40530
  tags: record(string(), string()).optional()
40361
40531
  });
40362
- method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
40363
- scope: array(string()).optional(),
40532
+ /**
40533
+ * A history READ against one destination (D898).
40534
+ *
40535
+ * Every filter is applied by the PROVIDER, before the limit — a filter the
40536
+ * browser applied after the limit is what made a rare device's lines
40537
+ * unreachable behind a busy one's. `before` / `after` are cursors the provider
40538
+ * minted (opaque to everyone else): a file position for the rotated files, a
40539
+ * nanosecond timestamp for Loki.
40540
+ *
40541
+ * A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
40542
+ * store answers `done: false` with the cursor it reached and the bytes it
40543
+ * scanned, and the caller decides whether to go on. That is what makes a long
40544
+ * scan show progress and stop when asked — `cancelRead` ends the slice in
40545
+ * flight, and not asking for the next slice ends the scan.
40546
+ */
40547
+ var LogReadQuerySchema = object({
40548
+ /** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
40549
+ requestId: string().min(1).max(64).optional(),
40550
+ /** The device the line is about (`tags.deviceId`, numeric). */
40551
+ deviceId: number().int().optional(),
40552
+ /**
40553
+ * The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
40554
+ * match. Not `addonId`: a cap router reads that name as "which provider".
40555
+ */
40556
+ fromAddonId: string().min(1).max(200).optional(),
40557
+ /**
40558
+ * The emitting node: matches the agent that emitted the line, the node
40559
+ * itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
40560
+ * semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
40561
+ * name as "which node's provider".
40562
+ */
40563
+ fromNodeId: string().min(1).max(200).optional(),
40564
+ /** Any other tag, exact match (AND). */
40565
+ tags: record(string(), union([string(), number()])).optional(),
40566
+ /** Severity FLOOR: this level and above. */
40364
40567
  level: LogLevelSchema.optional(),
40365
- since: date().optional(),
40366
- until: date().optional(),
40367
- limit: number().optional(),
40368
- tags: record(string(), string()).optional()
40369
- }), array(LogEntrySchema).readonly());
40568
+ /** Case-insensitive substring over message, scope, tag values and meta values. */
40569
+ text: string().min(1).max(200).optional(),
40570
+ /** Epoch ms, inclusive. */
40571
+ since: number().optional(),
40572
+ /** Epoch ms, inclusive. */
40573
+ until: number().optional(),
40574
+ /** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
40575
+ before: string().min(1).max(1024).optional(),
40576
+ /** Newer than this cursor (exclusive). */
40577
+ after: string().min(1).max(1024).optional(),
40578
+ limit: number().int().min(1).max(1e3).optional(),
40579
+ /** Wall-clock bound of this slice. The provider caps it. */
40580
+ budgetMs: number().int().min(50).max(1e4).optional()
40581
+ });
40582
+ var LogReadResultSchema = object({
40583
+ /** Newest first. */
40584
+ entries: array(object({
40585
+ /** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
40586
+ id: string().optional(),
40587
+ /** Epoch ms. */
40588
+ timestamp: number(),
40589
+ level: LogLevelSchema,
40590
+ scope: string().optional(),
40591
+ message: string(),
40592
+ tags: record(string(), union([string(), number()])).optional(),
40593
+ meta: record(string(), unknown()).optional()
40594
+ })),
40595
+ /** Pass as `before` for the next older page; null when nothing older exists. */
40596
+ nextBefore: string().nullable(),
40597
+ /** Pass as `after` to read what arrived since; null when unknown. */
40598
+ nextAfter: string().nullable(),
40599
+ /** Bytes this slice read (files) or received (remote). Progress, not a promise. */
40600
+ scannedBytes: number().int().nonnegative(),
40601
+ /**
40602
+ * True when the scan in this direction reached the end of the store.
40603
+ * False with fewer than `limit` entries means the budget ran out first —
40604
+ * call again with `nextBefore` to go on.
40605
+ */
40606
+ done: boolean(),
40607
+ /** True when `cancelRead` ended this slice early. */
40608
+ cancelled: boolean().optional()
40609
+ });
40610
+ var LogReadCapabilitiesSchema = object({
40611
+ /** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
40612
+ readable: boolean(),
40613
+ /** Why not, when `readable` is false — rendered next to the source. */
40614
+ reason: string().nullable(),
40615
+ /** Filters the provider applies itself. A false one is applied by nobody. */
40616
+ filters: object({
40617
+ deviceId: boolean(),
40618
+ addonId: boolean(),
40619
+ nodeId: boolean(),
40620
+ tags: boolean(),
40621
+ level: boolean(),
40622
+ text: boolean(),
40623
+ timeRange: boolean()
40624
+ }),
40625
+ /** How far back the store reaches, when the provider knows (days). */
40626
+ retentionDays: number().nullable()
40627
+ });
40628
+ method(LogEntrySchema, _void(), { kind: "mutation" }), optionalMethod(_void(), LogReadCapabilitiesSchema, { auth: "admin" }), optionalMethod(LogReadQuerySchema, LogReadResultSchema, { auth: "admin" }), optionalMethod(object({ requestId: string().min(1).max(64) }), object({ cancelled: boolean() }), {
40629
+ kind: "mutation",
40630
+ auth: "admin"
40631
+ });
40370
40632
  /**
40371
40633
  * `login-method` — collection cap through which auth addons contribute
40372
40634
  * their pre-auth login surfaces to the login page. This is the SINGLE,
@@ -42084,9 +42346,11 @@ var alarmPanelCapability = {
42084
42346
  */
42085
42347
  durability: "restored",
42086
42348
  /**
42087
- * History (D850): none — enum state; arm/disarm history belongs in the events ledger.
42349
+ * History (D850): the panel's lifecycle state as an `enum` series —
42350
+ * change-only, no floor, so an `arming -> pending -> triggered` sequence of a
42351
+ * few seconds keeps every step. Who armed it stays in the events ledger.
42088
42352
  */
42089
- history: "none",
42353
+ history: { fields: { state: { kind: "enum" } } },
42090
42354
  /** Clock fields: written, but excluded from the compare that decides
42091
42355
  * whether persisting is worth a SQLite commit. */
42092
42356
  volatileStateFields: ["lastChangedAt"]
@@ -42964,6 +43228,33 @@ var NcRuleTargetSchema = object({
42964
43228
  params: record(string(), unknown()).optional()
42965
43229
  });
42966
43230
  /**
43231
+ * WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
43232
+ *
43233
+ * Every mode starts from the same CLEAN source frame of the trigger moment
43234
+ * (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
43235
+ * to the zone that fired the rule) and renders it once at send time:
43236
+ * - `scene-boxes` — the whole scene, the subject outlined thick in the accent
43237
+ * colour and every OTHER track visible at that instant outlined thin, each
43238
+ * labelled with class and confidence ("dog 87%").
43239
+ * - `crop` — the subject cut out of that frame around its box at that instant.
43240
+ * - `clean` — the whole scene with nothing drawn on it.
43241
+ * - `none` — no picture.
43242
+ *
43243
+ * A mode that cannot be honoured (no box at that instant, a photograph with no
43244
+ * tracked subject) ships `clean` and names the reason in the log, per camera.
43245
+ * It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
43246
+ * ship a crop on one event and a boxed scene on the next depending on which
43247
+ * stored kind had landed.
43248
+ */
43249
+ var NcMediaImageSchema = _enum([
43250
+ "scene-boxes",
43251
+ "crop",
43252
+ "clean",
43253
+ "none"
43254
+ ]);
43255
+ /**
43256
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
43257
+ *
42967
43258
  * Media attachment policy (P1 still-image subset).
42968
43259
  * - `best` — the best AVAILABLE subject image at dispatch time (D-3).
42969
43260
  * - `best-matching` — the media that explains WHY the rule fired: a rule
@@ -42977,6 +43268,8 @@ var NcRuleTargetSchema = object({
42977
43268
  * - `none` — no attachment.
42978
43269
  */
42979
43270
  /**
43271
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
43272
+ *
42980
43273
  * WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
42981
43274
  * conflate it with the selection strategy and betray the request: asking for
42982
43275
  * the clean scene frame on an object-event owner used to start at
@@ -43005,16 +43298,29 @@ var NcMediaFrameSchema = _enum([
43005
43298
  */
43006
43299
  var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
43007
43300
  var NcMediaPolicySchema = object({
43301
+ /**
43302
+ * The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
43303
+ * saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
43304
+ * triple below, at load and at every write, and the store keeps only this.
43305
+ */
43306
+ image: NcMediaImageSchema.optional(),
43307
+ /**
43308
+ * Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
43309
+ * a `crop` never shows it). Valid only on a rule whose trigger is a zone —
43310
+ * `conditions.zones` or an occupancy zone — and refused on save otherwise.
43311
+ * Replaces `zoneCrop`.
43312
+ */
43313
+ showTriggerZone: boolean().optional(),
43314
+ /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
43008
43315
  attach: _enum([
43009
43316
  "best",
43010
43317
  "best-matching",
43011
43318
  "keyFrame",
43012
43319
  "none"
43013
- ]).default("best"),
43014
- /** What the still shows. Absent = `cropped` (the historical `best` shape). */
43320
+ ]).optional(),
43321
+ /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
43015
43322
  frame: NcMediaFrameSchema.optional(),
43016
- /** Crop the attached still to the rule's condition-zone bbox (padded) —
43017
- * "show me the ZONE", not the whole scene or the subject crop. */
43323
+ /** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
43018
43324
  zoneCrop: boolean().optional(),
43019
43325
  /**
43020
43326
  * Also attach a short GIF cut from the stream broker's clip ring around the
@@ -43186,7 +43492,9 @@ var NcRuleInputSchema = object({
43186
43492
  * targets.
43187
43493
  */
43188
43494
  targetUsers: array(string()).optional(),
43189
- media: NcMediaPolicySchema.default({ attach: "best" }),
43495
+ /** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
43496
+ * detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
43497
+ media: NcMediaPolicySchema.default({}),
43190
43498
  throttle: NcThrottleSchema.default({
43191
43499
  cooldownSec: 60,
43192
43500
  scope: "rule-device"
@@ -44123,13 +44431,37 @@ var NcAlarmModeOpeningsSchema = object({
44123
44431
  /** Covered devices whose state could not be read (D49): neither open nor closed. */
44124
44432
  unknown: array(number().int())
44125
44433
  });
44434
+ /**
44435
+ * One alarm INPUT — a (rule, device) pair — the operator bypassed until the
44436
+ * next disarm ("Bypass this input until disarm" on a trigger notification, or
44437
+ * `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
44438
+ * never looks fully armed (D62: off must never look like broken).
44439
+ */
44440
+ var NcAlarmInputBypassViewSchema = object({
44441
+ ruleId: string(),
44442
+ /** The rule's current name (its frozen name when the rule is gone). */
44443
+ ruleName: string(),
44444
+ /** The input: the sensor of the match, else its camera. */
44445
+ deviceId: number().int(),
44446
+ /** The input's current name. */
44447
+ name: string(),
44448
+ /** When it was bypassed (ms epoch). */
44449
+ since: number(),
44450
+ /** Triggers from this input dropped since. */
44451
+ dropped: number().int().min(0)
44452
+ });
44126
44453
  var NcAlarmLiveSchema = object({
44127
44454
  state: AlarmStateSchema,
44128
44455
  /** The mode being armed into (exit delay) or held; null when disarmed. */
44129
44456
  targetMode: AlarmArmModeSchema.nullable(),
44130
44457
  availableModes: array(AlarmArmModeSchema),
44131
44458
  openings: array(NcAlarmModeOpeningsSchema),
44132
- exclusions: array(NcAlarmExclusionViewSchema)
44459
+ exclusions: array(NcAlarmExclusionViewSchema),
44460
+ /**
44461
+ * Inputs bypassed for the rest of this arm session; cleared on disarm.
44462
+ * Defaulted so an older hub answer still parses (as "none known").
44463
+ */
44464
+ bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
44133
44465
  });
44134
44466
  var NcAlarmConfigSchema = object({
44135
44467
  /**
@@ -54848,9 +55180,11 @@ var connectivityCapability = {
54848
55180
  */
54849
55181
  durability: "restored",
54850
55182
  /**
54851
- * History (D850): none — duplicates device-status.online (one authority for availability).
55183
+ * History (D850): `connected` as a boolean series — change-only, no floor. It
55184
+ * is the upstream entity's own link (a HA connectivity sensor), not the
55185
+ * device's reachability, which stays `device-status.online`.
54852
55186
  */
54853
- history: "none",
55187
+ history: { fields: { connected: { kind: "boolean" } } },
54854
55188
  /** Clock fields: written, but excluded from the compare that decides
54855
55189
  * whether persisting is worth a SQLite commit. */
54856
55190
  volatileStateFields: ["lastChangedAt"]
@@ -55674,11 +56008,22 @@ var dishwasherCapability = {
55674
56008
  },
55675
56009
  runtimeState: DishwasherStatusSchema,
55676
56010
  durability: "session",
55677
- history: { fields: { progressPercent: {
55678
- kind: "gauge",
55679
- unit: "%",
55680
- deadband: 2
55681
- } } }
56011
+ history: { fields: {
56012
+ progressPercent: {
56013
+ kind: "gauge",
56014
+ unit: "%",
56015
+ deadband: 2
56016
+ },
56017
+ state: { kind: "enum" },
56018
+ operationState: { kind: "enum" },
56019
+ remainingSeconds: {
56020
+ kind: "gauge",
56021
+ unit: "s",
56022
+ minIntervalMs: 6e4
56023
+ },
56024
+ doorOpen: { kind: "boolean" },
56025
+ powerOn: { kind: "boolean" }
56026
+ } }
55682
56027
  };
55683
56028
  var DoorbellStatusSchema = object({
55684
56029
  /** Ms epoch of the last press. null = never observed since this provider started. */
@@ -55795,9 +56140,15 @@ var enumSensorCapability = {
55795
56140
  */
55796
56141
  durability: "restored",
55797
56142
  /**
55798
- * History (D850): none — text/enum state has no history (non-goal).
56143
+ * History (D850): the value as an `enum` series (an appliance's program or
56144
+ * operation state, an HVAC action). The option set is per device, so the
56145
+ * value list is LEARNED as values are first seen (bounded). A sensor with a
56146
+ * `format` carries a timestamp, not a state, and is not recorded.
55799
56147
  */
55800
- history: "none",
56148
+ history: { fields: { value: {
56149
+ kind: "enum",
56150
+ skipWhenSet: "format"
56151
+ } } },
55801
56152
  /** Clock fields: written, but excluded from the compare that decides
55802
56153
  * whether persisting is worth a SQLite commit. */
55803
56154
  volatileStateFields: ["lastFetchedAt"]
@@ -57771,9 +58122,10 @@ var lockControlCapability = {
57771
58122
  */
57772
58123
  durability: "restored",
57773
58124
  /**
57774
- * History (D850): none — enum state; lock events belong in the events ledger.
58125
+ * History (D850): the lock's state as an `enum` series — change-only, no
58126
+ * floor: a jam or an unlock lasting seconds is the edge an operator looks for.
57775
58127
  */
57776
- history: "none",
58128
+ history: { fields: { state: { kind: "enum" } } },
57777
58129
  /** Clock fields: written, but excluded from the compare that decides
57778
58130
  * whether persisting is worth a SQLite commit. */
57779
58131
  volatileStateFields: ["lastChangedAt"]
@@ -57947,9 +58299,18 @@ var mediaPlayerCapability = {
57947
58299
  */
57948
58300
  durability: "session",
57949
58301
  /**
57950
- * History (D850): none — `positionMs` moves continuously while playing; volume is transient.
58302
+ * History (D850): volume (a level an operator or an automation sets; the
58303
+ * default 10 s floor folds a slider drag into its end value) and mute.
58304
+ * `positionMs` is not recorded: it moves continuously while playing.
57951
58305
  */
57952
- history: "none"
58306
+ history: { fields: {
58307
+ volumeLevel: {
58308
+ kind: "gauge",
58309
+ unit: "%",
58310
+ deadband: 1
58311
+ },
58312
+ isMuted: { kind: "boolean" }
58313
+ } }
57953
58314
  };
57954
58315
  /**
57955
58316
  * mesh-network — collection cap for mesh-VPN providers.
@@ -63242,9 +63603,29 @@ var streamParamsCapability = {
63242
63603
  */
63243
63604
  durability: "restored",
63244
63605
  /**
63245
- * History (D850): none — encoder configuration.
63606
+ * History (D850): the configured bitrate and frame rate of the main and sub
63607
+ * profiles. Configuration, so change-only on the default floor: a point is an
63608
+ * operator's (or a tuner's) edit, which is exactly what a chart of a stream's
63609
+ * quality over time must show.
63246
63610
  */
63247
- history: "none",
63611
+ history: { fields: {
63612
+ "main.bitrate": {
63613
+ kind: "gauge",
63614
+ unit: "kbps"
63615
+ },
63616
+ "main.framerate": {
63617
+ kind: "gauge",
63618
+ unit: "fps"
63619
+ },
63620
+ "sub.bitrate": {
63621
+ kind: "gauge",
63622
+ unit: "kbps"
63623
+ },
63624
+ "sub.framerate": {
63625
+ kind: "gauge",
63626
+ unit: "fps"
63627
+ }
63628
+ } },
63248
63629
  /** Clock fields: written, but excluded from the compare that decides
63249
63630
  * whether persisting is worth a SQLite commit. */
63250
63631
  volatileStateFields: ["lastFetchedAt"]
@@ -64079,26 +64460,6 @@ var ApiKeySummarySchema = object({
64079
64460
  createdAt: number(),
64080
64461
  lastUsedAt: number().optional()
64081
64462
  });
64082
- var ScopedTokenSummarySchema = object({
64083
- id: string(),
64084
- userId: string(),
64085
- name: string(),
64086
- tokenPrefix: string(),
64087
- scopes: array(TokenScopeSchema),
64088
- expiresAt: number().nullish(),
64089
- lastUsedAt: number().nullish(),
64090
- createdAt: number()
64091
- });
64092
- var CreateScopedTokenInputSchema = object({
64093
- userId: string(),
64094
- name: string(),
64095
- scopes: array(TokenScopeSchema),
64096
- expiresAt: number().optional()
64097
- });
64098
- var CreateScopedTokenResultSchema = object({
64099
- token: string(),
64100
- record: ScopedTokenSummarySchema
64101
- });
64102
64463
  var OauthSessionSummarySchema = object({
64103
64464
  id: string(),
64104
64465
  userId: string(),
@@ -64120,11 +64481,11 @@ var TotpStatusSchema = object({
64120
64481
  confirmedAt: number().nullable()
64121
64482
  });
64122
64483
  /**
64123
- * user-management — singleton capability for user accounts, API keys,
64124
- * and scoped tokens.
64484
+ * user-management — singleton capability for user accounts and the
64485
+ * legacy API-key rows.
64125
64486
  *
64126
64487
  * v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
64127
- * — the subset check on `setUserScopes` / `createScopedToken` is moot
64488
+ * — the subset check on `setUserScopes` is moot
64128
64489
  * because non-admins never reach these. If/when we open non-admin
64129
64490
  * delegation, structural caller-scope subset check goes inside the
64130
64491
  * provider.
@@ -64181,15 +64542,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
64181
64542
  kind: "mutation",
64182
64543
  auth: "admin",
64183
64544
  access: "delete"
64184
- }), method(CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, {
64185
- kind: "mutation",
64186
- auth: "admin",
64187
- access: "create"
64188
- }), method(object({ id: string() }), object({ success: literal(true) }), {
64189
- kind: "mutation",
64190
- auth: "admin",
64191
- access: "delete"
64192
- }), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
64545
+ }), method(object({ userId: string() }), TotpSetupResultSchema, {
64193
64546
  kind: "mutation",
64194
64547
  auth: "admin",
64195
64548
  access: "create"
@@ -66450,6 +66803,15 @@ var BaseDevice = class {
66450
66803
  * Drivers can use the `getProbeFlags()` helper to read the flag bag
66451
66804
  * with a typed cast.
66452
66805
  *
66806
+ * Answer what you KNOW. A plain array is read as the complete list only
66807
+ * while this device is `online` and probed; return
66808
+ * `accessoryChildrenUnknown(reason)` whenever you cannot know the list right
66809
+ * now (no credentials, parent not connected, a failed or partial read) —
66810
+ * the kernel then deletes nothing. Return `accessoryChildrenComplete(list)`
66811
+ * to say "connected, and this is the complete list" explicitly. A shrink is
66812
+ * deleted only after a second agreeing complete read on a later probe (D49;
66813
+ * `packages/system/src/kernel/moleculer/accessory-prune-gate.ts`).
66814
+ *
66453
66815
  * Default: no children.
66454
66816
  */
66455
66817
  getAccessoryChildren() {
@@ -70279,7 +70641,7 @@ Object.freeze({
70279
70641
  capName: "llm",
70280
70642
  capScope: "system",
70281
70643
  addonId: null,
70282
- access: "view"
70644
+ access: "create"
70283
70645
  },
70284
70646
  "llm.listNodeModels": {
70285
70647
  capName: "llm",
@@ -70581,7 +70943,19 @@ Object.freeze({
70581
70943
  addonId: null,
70582
70944
  access: "view"
70583
70945
  },
70584
- "logDestination.query": {
70946
+ "logDestination.cancelRead": {
70947
+ capName: "log-destination",
70948
+ capScope: "system",
70949
+ addonId: null,
70950
+ access: "create"
70951
+ },
70952
+ "logDestination.describeRead": {
70953
+ capName: "log-destination",
70954
+ capScope: "system",
70955
+ addonId: null,
70956
+ access: "view"
70957
+ },
70958
+ "logDestination.read": {
70585
70959
  capName: "log-destination",
70586
70960
  capScope: "system",
70587
70961
  addonId: null,
@@ -74943,12 +75317,6 @@ Object.freeze({
74943
75317
  addonId: null,
74944
75318
  access: "create"
74945
75319
  },
74946
- "userManagement.createScopedToken": {
74947
- capName: "user-management",
74948
- capScope: "system",
74949
- addonId: null,
74950
- access: "create"
74951
- },
74952
75320
  "userManagement.createUser": {
74953
75321
  capName: "user-management",
74954
75322
  capScope: "system",
@@ -74997,12 +75365,6 @@ Object.freeze({
74997
75365
  addonId: null,
74998
75366
  access: "view"
74999
75367
  },
75000
- "userManagement.listScopedTokens": {
75001
- capName: "user-management",
75002
- capScope: "system",
75003
- addonId: null,
75004
- access: "view"
75005
- },
75006
75368
  "userManagement.listUsers": {
75007
75369
  capName: "user-management",
75008
75370
  capScope: "system",
@@ -75057,12 +75419,6 @@ Object.freeze({
75057
75419
  addonId: null,
75058
75420
  access: "delete"
75059
75421
  },
75060
- "userManagement.revokeScopedToken": {
75061
- capName: "user-management",
75062
- capScope: "system",
75063
- addonId: null,
75064
- access: "delete"
75065
- },
75066
75422
  "userManagement.setupTotp": {
75067
75423
  capName: "user-management",
75068
75424
  capScope: "system",
@@ -75093,12 +75449,6 @@ Object.freeze({
75093
75449
  addonId: null,
75094
75450
  access: "view"
75095
75451
  },
75096
- "userManagement.validateScopedToken": {
75097
- capName: "user-management",
75098
- capScope: "system",
75099
- addonId: null,
75100
- access: "view"
75101
- },
75102
75452
  "userManagement.verifyTotp": {
75103
75453
  capName: "user-management",
75104
75454
  capScope: "system",
@@ -76612,6 +76962,11 @@ Object.freeze({
76612
76962
  form: "single",
76613
76963
  optional: false
76614
76964
  }],
76965
+ "logDestination.read": [{
76966
+ name: "deviceId",
76967
+ form: "single",
76968
+ optional: true
76969
+ }],
76615
76970
  "mediaPlayer.getStatus": [{
76616
76971
  name: "deviceId",
76617
76972
  form: "single",