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