@camstack/addon-provider-mqtt-ha 0.1.8 → 0.1.10

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
@@ -5448,7 +5448,7 @@ var ZodIssueCode = {
5448
5448
  var ZodFirstPartyTypeKind;
5449
5449
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5450
5450
  //#endregion
5451
- //#region ../types/dist/sleep-BxjU_fJM.mjs
5451
+ //#region ../types/dist/sleep-BSuCCFjf.mjs
5452
5452
  /**
5453
5453
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5454
5454
  * window to float samples (D455).
@@ -7831,9 +7831,9 @@ function normalizeAddonInitResult(result) {
7831
7831
  return result;
7832
7832
  }
7833
7833
  /**
7834
- * The share-view scope kinds a `csv_*` share token can carry. The hub mints
7835
- * and validates them (`share-token.service.ts` builds its enum from this
7836
- * list); a data plane names the kinds it ACCEPTS in `share`.
7834
+ * The share-view scope kinds a share-link token can carry. The hub mints
7835
+ * and validates them (`ShareViewGrantSchema` builds its
7836
+ * enum from this list); a data plane names the kinds it ACCEPTS in `share`.
7837
7837
  */
7838
7838
  var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
7839
7839
  /** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
@@ -12523,7 +12523,7 @@ var ConvertResultSchema = object({
12523
12523
  * `super_admin` — collapsed onto the single boolean because every
12524
12524
  * non-admin caller is governed by the same scope-check rules; the
12525
12525
  * distinction was only ever used to route role-specific procedures
12526
- * which we no longer have. CLI / webhook integrations are `cst_*` tokens
12526
+ * which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
12527
12527
  * with `isAdmin: false` + an explicit scope list.
12528
12528
  */
12529
12529
  /** Per-method access flavour. Materialised on every cap method via codegen. */
@@ -12712,10 +12712,12 @@ var AddonRoutesScopeSchema = object({
12712
12712
  type: literal("addon-routes"),
12713
12713
  access: array(MethodAccessSchema).min(1)
12714
12714
  });
12715
+ var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
12715
12716
  var CredentialScopeSchema = union([
12716
12717
  literal("*"),
12717
12718
  ShareViewScopeSchema,
12718
12719
  AddonRoutesScopeSchema,
12720
+ PreferencesSelfScopeSchema,
12719
12721
  TokenScopeSchema
12720
12722
  ]);
12721
12723
  object({
@@ -12724,6 +12726,55 @@ object({
12724
12726
  jti: string().min(16),
12725
12727
  scopes: array(CredentialScopeSchema).min(1)
12726
12728
  });
12729
+ var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
12730
+ /** A namespace's value: a JSON object, opaque to the hub. */
12731
+ var PreferenceValueSchema = record(string(), unknown());
12732
+ var PreferenceDeviceIdSchema = string().min(1).max(64);
12733
+ /** A stored row, as the owner reads it. */
12734
+ var PreferenceRowSchema = object({
12735
+ namespace: PreferenceNamespaceSchema,
12736
+ value: PreferenceValueSchema,
12737
+ /** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
12738
+ revision: number().int().positive(),
12739
+ updatedAt: number().int(),
12740
+ /** The client id the last writer sent; `null` when it sent none. */
12741
+ updatedByDevice: PreferenceDeviceIdSchema.nullable()
12742
+ });
12743
+ object({
12744
+ /** Absent: every namespace the caller holds. */
12745
+ namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
12746
+ object({ rows: array(PreferenceRowSchema) });
12747
+ object({
12748
+ namespace: PreferenceNamespaceSchema,
12749
+ value: PreferenceValueSchema,
12750
+ /**
12751
+ * The revision the edit was based on. Absent: last write wins. `0`: the
12752
+ * namespace must not exist yet. Any other value that is not the current
12753
+ * revision answers `conflict` and writes nothing.
12754
+ */
12755
+ baseRevision: number().int().nonnegative().optional(),
12756
+ deviceId: PreferenceDeviceIdSchema.optional()
12757
+ });
12758
+ discriminatedUnion("status", [object({
12759
+ status: literal("saved"),
12760
+ row: PreferenceRowSchema
12761
+ }), object({
12762
+ status: literal("conflict"),
12763
+ current: PreferenceRowSchema.nullable()
12764
+ })]);
12765
+ object({ namespace: PreferenceNamespaceSchema });
12766
+ object({
12767
+ /** `false` when the namespace did not exist. */
12768
+ deleted: boolean() });
12769
+ object({
12770
+ /** The revision the client holds per namespace; a namespace it does not list is new to it. */
12771
+ revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
12772
+ object({
12773
+ /** Every row whose revision differs from the client's, and every row it did not list. */
12774
+ rows: array(PreferenceRowSchema),
12775
+ /** Namespaces the client listed that no longer exist. */
12776
+ deleted: array(PreferenceNamespaceSchema)
12777
+ });
12727
12778
  _enum(["new-session", "step-up"]);
12728
12779
  /** The languages the hub's app landing pages are written in (D858). */
12729
12780
  var AppPageLangSchema = _enum(["en", "it"]);
@@ -16977,7 +17028,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
16977
17028
  kind: literal("node"),
16978
17029
  nodeId: string().min(1)
16979
17030
  })]);
17031
+ /**
17032
+ * `enum` stores a STATE as the ordinal of its value in the series' value list
17033
+ * (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
17034
+ * meaning); a rollup keeps the time spent in each state (`states`).
17035
+ */
16980
17036
  var DeviceHistoryKindSchema = _enum([
17037
+ "gauge",
17038
+ "counter",
17039
+ "boolean",
17040
+ "enum"
17041
+ ]);
17042
+ /** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
17043
+ var DeviceHistoryProducerKindSchema = _enum([
16981
17044
  "gauge",
16982
17045
  "counter",
16983
17046
  "boolean"
@@ -17014,7 +17077,13 @@ var SeriesInfoSchema = object({
17014
17077
  /** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
17015
17078
  unit: string().nullable(),
17016
17079
  displayName: string(),
17017
- source: _enum(["cap", "addon"]),
17080
+ source: _enum([
17081
+ "cap",
17082
+ "addon",
17083
+ "derived"
17084
+ ]),
17085
+ /** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
17086
+ values: array(string()).readonly().nullable(),
17018
17087
  firstTs: number(),
17019
17088
  lastTs: number()
17020
17089
  });
@@ -17028,17 +17097,31 @@ var QueryPointSchema = object({
17028
17097
  twMean: number().nullable(),
17029
17098
  min: number(),
17030
17099
  max: number(),
17031
- /** `null` is unknown, never zero (D393). */
17032
- last: number().nullable()
17100
+ /** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
17101
+ last: number().nullable(),
17102
+ /**
17103
+ * The increase over the point: a `counter`'s growth since the previous point
17104
+ * or bucket (a drop is a reset, counted from zero), and for
17105
+ * {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
17106
+ * every other kind, and when it cannot be known.
17107
+ */
17108
+ delta: number().nullable(),
17109
+ /** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
17110
+ state: string().nullable(),
17111
+ /** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
17112
+ states: record(string(), number()).nullable()
17033
17113
  });
17034
17114
  var QuerySeriesSchema = object({
17035
17115
  scope: string(),
17036
17116
  /** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
17037
17117
  before: object({
17038
17118
  t: number(),
17039
- value: number().nullable()
17119
+ value: number().nullable(),
17120
+ state: string().nullable()
17040
17121
  }).nullable(),
17041
- points: array(QueryPointSchema).readonly()
17122
+ points: array(QueryPointSchema).readonly(),
17123
+ /** A derived key: the stored key its points were computed from; `null` for a stored series. */
17124
+ derivedFrom: string().nullable()
17042
17125
  });
17043
17126
  /** The window part of a query, shared by the device and node forms. */
17044
17127
  var QueryWindowShape = {
@@ -17054,6 +17137,23 @@ var QueryResultSchema = object({
17054
17137
  series: array(QuerySeriesSchema).readonly(),
17055
17138
  truncated: boolean()
17056
17139
  });
17140
+ /** One read of a batch: a device's key or a node's key (exactly one subject). */
17141
+ var QueryManyItemSchema = union([object({
17142
+ deviceId: number().int(),
17143
+ key: string(),
17144
+ scope: string().optional()
17145
+ }), object({
17146
+ forNodeId: string().min(1),
17147
+ key: string(),
17148
+ scope: string().optional()
17149
+ })]);
17150
+ var QueryManyEntrySchema = discriminatedUnion("ok", [object({
17151
+ ok: literal(true),
17152
+ result: QueryResultSchema
17153
+ }), object({
17154
+ ok: literal(false),
17155
+ error: string()
17156
+ })]);
17057
17157
  var TierStatusSchema = object({
17058
17158
  tier: DeviceHistoryResolutionSchema,
17059
17159
  /** `null` until the first background count answered. */
@@ -17109,16 +17209,22 @@ var DeviceHistoryStatusSchema = object({
17109
17209
  lastRefreshAt: number().nullable()
17110
17210
  })
17111
17211
  });
17112
- method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ nodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
17212
+ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
17113
17213
  deviceId: number().int(),
17114
17214
  ...QueryWindowShape
17115
17215
  }), QueryResultSchema), method(object({
17116
- nodeId: string().min(1),
17216
+ forNodeId: string().min(1),
17117
17217
  ...QueryWindowShape
17118
17218
  }), QueryResultSchema, { auth: "admin" }), method(object({
17219
+ items: array(QueryManyItemSchema).min(1).max(24),
17220
+ from: QueryWindowShape.from,
17221
+ to: QueryWindowShape.to,
17222
+ resolution: QueryWindowShape.resolution,
17223
+ maxPoints: QueryWindowShape.maxPoints
17224
+ }), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
17119
17225
  name: string().regex(/^[a-z0-9-]+$/),
17120
17226
  subjectKind: _enum(["device", "node"]),
17121
- kind: DeviceHistoryKindSchema,
17227
+ kind: DeviceHistoryProducerKindSchema,
17122
17228
  unit: string().optional(),
17123
17229
  displayName: string().min(1),
17124
17230
  ingest: _enum(["points", "buckets"])
@@ -39917,38 +40023,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
39917
40023
  auth: "admin",
39918
40024
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
39919
40025
  });
40026
+ var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
40027
+ /** What a model (or, by default, every model of a kind) can do. */
40028
+ var LlmModelFeaturesSchema = object({
40029
+ vision: boolean(),
40030
+ tools: boolean(),
40031
+ streaming: boolean()
40032
+ });
40033
+ /** One model a provider offers. `features` overrides the kind's defaults, per field. */
40034
+ var LlmModelInfoSchema = object({
40035
+ id: string(),
40036
+ label: string().optional(),
40037
+ contextLength: number().int().positive().optional(),
40038
+ features: LlmModelFeaturesSchema.partial().optional()
40039
+ });
39920
40040
  /**
39921
- * `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
39922
- * methods concat-fan across providers; single-row methods route to ONE
39923
- * provider by the `addonId` in the call input (the notification-output
39924
- * posture, notification-output.cap.ts:215-250). Provided by `addon-ai`
39925
- * (hub-placed); the cap stays open for future providers.
39926
- *
39927
- * Profiles are ROWS (data), not addons: one row = one usable model endpoint.
39928
- * `apiKey` is a password field — providers REDACT it on read and merge on
39929
- * write; a stored key NEVER round-trips to a client.
40041
+ * The provider-specific part of a profile, validated by the provider that owns
40042
+ * the kind (`upsertProfile` refuses what it does not accept). A field its
40043
+ * `connectionSchema` declares `type: 'password'` is a secret: it is held in the
40044
+ * keychain, never in the row, and reads back as the redaction marker.
39930
40045
  */
39931
- var LlmProfileKindSchema = _enum([
39932
- "openai-compatible",
39933
- "openai",
39934
- "anthropic",
39935
- "google",
39936
- "managed-local",
39937
- "apple-foundation"
39938
- ]);
40046
+ var LlmProviderConfigSchema = record(string(), unknown());
39939
40047
  var LlmProfileSchema = object({
39940
40048
  id: string(),
39941
40049
  name: string(),
40050
+ /** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
39942
40051
  kind: LlmProfileKindSchema,
39943
40052
  /** Stamped by the provider — keeps the fanned catalog routable. */
39944
40053
  addonId: string(),
39945
40054
  enabled: boolean(),
39946
40055
  /** Vendor model id, or the managed runtime's loaded model. */
39947
40056
  model: string(),
39948
- /** Required for openai-compatible; override for cloud kinds. */
39949
- baseUrl: string().optional(),
39950
- /** ConfigUISchema type:'password' — never round-trips (spec §5). */
39951
- apiKey: string().optional(),
39952
40057
  /** Vision on/off. A vision call against a `false` profile is REFUSED, never
39953
40058
  * degraded to text — that shipped once and produced a confident answer to a
39954
40059
  * question about a picture nobody sent. */
@@ -39956,15 +40061,11 @@ var LlmProfileSchema = object({
39956
40061
  temperature: number().min(0).max(2).optional(),
39957
40062
  /** Nucleus sampling. Every wire we speak has it. */
39958
40063
  topP: number().min(0).max(1).optional(),
39959
- /** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
39960
- * wire does, and the client drops it there (measured: the request body gets
39961
- * `top_p` and no `top_k`). The profile editor hides the field wherever it
39962
- * would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
40064
+ /** Top-k sampling. Carried only by the wires that have it — a kind offers the
40065
+ * field in its editor only when its descriptor lists it in `profileFields`. */
39963
40066
  topK: number().int().positive().optional(),
39964
40067
  maxTokens: number().int().positive().optional(),
39965
- /** Prompt context window. Advisory for cloud kinds (they enforce their own);
39966
- * for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
39967
- * the model with, so it is the one field that changes a PROCESS. */
40068
+ /** Prompt context window. Advisory for cloud kinds (they enforce their own). */
39968
40069
  contextLength: number().int().positive().optional(),
39969
40070
  /** Default system prompt. A caller's `system` REPLACES it (never appends —
39970
40071
  * two system prompts fighting is worse than either alone). */
@@ -39990,16 +40091,37 @@ var LlmProfileSchema = object({
39990
40091
  * library; the REGISTRY of callable tools is ours and is empty in v1, so a
39991
40092
  * `true` here buys the wiring, not behaviour, until tools are registered. */
39992
40093
  toolsEnabled: boolean().default(false),
39993
- extraHeaders: record(string(), string()).optional(),
39994
- /** kind === 'managed-local' only (spec §4). */
39995
- runtime: ManagedRuntimeConfigSchema.optional(),
39996
- /**
39997
- * kind === 'apple-foundation' only: WHERE it runs — the only thing there is
39998
- * to configure (no key, no URL, no download; `model` is `apple-system`).
39999
- * `supportsVision` on such a row is stamped by the provider from the node's
40000
- * reported `imageInput`, never taken from the operator (D62).
40001
- */
40002
- appleFoundation: object({ nodeId: string() }).optional()
40094
+ /** Everything the kind's provider owns (endpoint, key, node, runtime…). */
40095
+ providerConfig: LlmProviderConfigSchema.default({})
40096
+ });
40097
+ /**
40098
+ * The common profile fields a kind's editor offers. The editor owns how each
40099
+ * one is drawn; the provider says which of them mean something on its wire.
40100
+ */
40101
+ var LlmProfileFieldSchema = _enum([
40102
+ "temperature",
40103
+ "topP",
40104
+ "topK",
40105
+ "maxTokens",
40106
+ "contextLength",
40107
+ "systemPrompt",
40108
+ "timeoutMs",
40109
+ "connectTimeoutMs",
40110
+ "firstTokenTimeoutMs",
40111
+ "idleTimeoutMs",
40112
+ "retry",
40113
+ "toolsEnabled"
40114
+ ]);
40115
+ /**
40116
+ * A provider-drawn part of the editor, by a generic widget id the admin UI
40117
+ * registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
40118
+ * picker: that widget owns the model choice.
40119
+ */
40120
+ var LlmProviderWidgetSchema = object({
40121
+ id: string(),
40122
+ placement: _enum(["connection", "model"]),
40123
+ /** `providerConfig` keys this widget must fill before the profile can be saved. */
40124
+ requires: array(string()).optional()
40003
40125
  });
40004
40126
  /** ConfigUISchema tree passed through untyped on the wire (the
40005
40127
  * notification-output `ConfigSchemaPassthrough` precedent at
@@ -40008,11 +40130,56 @@ var ConfigSchemaPassthrough$3 = unknown();
40008
40130
  var LlmProfileKindDescriptorSchema = object({
40009
40131
  kind: LlmProfileKindSchema,
40010
40132
  label: string(),
40133
+ /** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
40011
40134
  icon: string(),
40012
40135
  /** Stamped by each provider so the concat-fanned catalog stays routable. */
40013
40136
  addonId: string(),
40014
- configSchema: ConfigSchemaPassthrough$3
40137
+ /** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
40138
+ connectionSchema: ConfigSchemaPassthrough$3,
40139
+ /** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
40140
+ advancedSchema: ConfigSchemaPassthrough$3.optional(),
40141
+ /** The kind's defaults; a model from `listModels` may override any of them. */
40142
+ features: LlmModelFeaturesSchema,
40143
+ /** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
40144
+ visionEditable: boolean(),
40145
+ /** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
40146
+ modelCatalog: _enum([
40147
+ "fetch",
40148
+ "static",
40149
+ "none"
40150
+ ]),
40151
+ staticModels: array(LlmModelInfoSchema).optional(),
40152
+ /** The common fields that mean something on this kind's wire. */
40153
+ profileFields: array(LlmProfileFieldSchema),
40154
+ providerWidgets: array(LlmProviderWidgetSchema).optional()
40015
40155
  });
40156
+ /**
40157
+ * `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
40158
+ * (the editor's form); with `profileId` too, a secret the draft leaves
40159
+ * untouched (absent or the redaction marker) is resolved server-side from the
40160
+ * stored profile — the browser never receives it.
40161
+ */
40162
+ var LlmListModelsInputSchema = object({
40163
+ addonId: string(),
40164
+ kind: LlmProfileKindSchema,
40165
+ profileId: string().optional(),
40166
+ connection: LlmProviderConfigSchema.optional()
40167
+ });
40168
+ var LlmListModelsErrorCodeSchema = _enum([
40169
+ "auth",
40170
+ "network",
40171
+ "unsupported",
40172
+ "invalid"
40173
+ ]);
40174
+ /** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
40175
+ var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
40176
+ ok: literal(true),
40177
+ models: array(LlmModelInfoSchema)
40178
+ }), object({
40179
+ ok: literal(false),
40180
+ code: LlmListModelsErrorCodeSchema,
40181
+ message: string()
40182
+ })]);
40016
40183
  var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
40017
40184
  var LlmDefaultSchema = object({
40018
40185
  selector: LlmDefaultSelectorSchema,
@@ -40112,7 +40279,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
40112
40279
  kind: "mutation",
40113
40280
  auth: "admin",
40114
40281
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
40115
- }), method(ProfileRefInputSchema, array(string())), method(object({}), array(LlmDefaultSchema)), method(object({
40282
+ }), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
40283
+ kind: "mutation",
40284
+ auth: "admin"
40285
+ }), method(object({}), array(LlmDefaultSchema)), method(object({
40116
40286
  selector: LlmDefaultSelectorSchema,
40117
40287
  profileId: string().nullable()
40118
40288
  }), _void(), {
@@ -40280,14 +40450,106 @@ var LogEntrySchema = object({
40280
40450
  meta: record(string(), unknown()).optional(),
40281
40451
  tags: record(string(), string()).optional()
40282
40452
  });
40283
- method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
40284
- scope: array(string()).optional(),
40453
+ /**
40454
+ * A history READ against one destination (D898).
40455
+ *
40456
+ * Every filter is applied by the PROVIDER, before the limit — a filter the
40457
+ * browser applied after the limit is what made a rare device's lines
40458
+ * unreachable behind a busy one's. `before` / `after` are cursors the provider
40459
+ * minted (opaque to everyone else): a file position for the rotated files, a
40460
+ * nanosecond timestamp for Loki.
40461
+ *
40462
+ * A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
40463
+ * store answers `done: false` with the cursor it reached and the bytes it
40464
+ * scanned, and the caller decides whether to go on. That is what makes a long
40465
+ * scan show progress and stop when asked — `cancelRead` ends the slice in
40466
+ * flight, and not asking for the next slice ends the scan.
40467
+ */
40468
+ var LogReadQuerySchema = object({
40469
+ /** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
40470
+ requestId: string().min(1).max(64).optional(),
40471
+ /** The device the line is about (`tags.deviceId`, numeric). */
40472
+ deviceId: number().int().optional(),
40473
+ /**
40474
+ * The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
40475
+ * match. Not `addonId`: a cap router reads that name as "which provider".
40476
+ */
40477
+ fromAddonId: string().min(1).max(200).optional(),
40478
+ /**
40479
+ * The emitting node: matches the agent that emitted the line, the node
40480
+ * itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
40481
+ * semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
40482
+ * name as "which node's provider".
40483
+ */
40484
+ fromNodeId: string().min(1).max(200).optional(),
40485
+ /** Any other tag, exact match (AND). */
40486
+ tags: record(string(), union([string(), number()])).optional(),
40487
+ /** Severity FLOOR: this level and above. */
40285
40488
  level: LogLevelSchema.optional(),
40286
- since: date().optional(),
40287
- until: date().optional(),
40288
- limit: number().optional(),
40289
- tags: record(string(), string()).optional()
40290
- }), array(LogEntrySchema).readonly());
40489
+ /** Case-insensitive substring over message, scope, tag values and meta values. */
40490
+ text: string().min(1).max(200).optional(),
40491
+ /** Epoch ms, inclusive. */
40492
+ since: number().optional(),
40493
+ /** Epoch ms, inclusive. */
40494
+ until: number().optional(),
40495
+ /** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
40496
+ before: string().min(1).max(1024).optional(),
40497
+ /** Newer than this cursor (exclusive). */
40498
+ after: string().min(1).max(1024).optional(),
40499
+ limit: number().int().min(1).max(1e3).optional(),
40500
+ /** Wall-clock bound of this slice. The provider caps it. */
40501
+ budgetMs: number().int().min(50).max(1e4).optional()
40502
+ });
40503
+ var LogReadResultSchema = object({
40504
+ /** Newest first. */
40505
+ entries: array(object({
40506
+ /** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
40507
+ id: string().optional(),
40508
+ /** Epoch ms. */
40509
+ timestamp: number(),
40510
+ level: LogLevelSchema,
40511
+ scope: string().optional(),
40512
+ message: string(),
40513
+ tags: record(string(), union([string(), number()])).optional(),
40514
+ meta: record(string(), unknown()).optional()
40515
+ })),
40516
+ /** Pass as `before` for the next older page; null when nothing older exists. */
40517
+ nextBefore: string().nullable(),
40518
+ /** Pass as `after` to read what arrived since; null when unknown. */
40519
+ nextAfter: string().nullable(),
40520
+ /** Bytes this slice read (files) or received (remote). Progress, not a promise. */
40521
+ scannedBytes: number().int().nonnegative(),
40522
+ /**
40523
+ * True when the scan in this direction reached the end of the store.
40524
+ * False with fewer than `limit` entries means the budget ran out first —
40525
+ * call again with `nextBefore` to go on.
40526
+ */
40527
+ done: boolean(),
40528
+ /** True when `cancelRead` ended this slice early. */
40529
+ cancelled: boolean().optional()
40530
+ });
40531
+ var LogReadCapabilitiesSchema = object({
40532
+ /** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
40533
+ readable: boolean(),
40534
+ /** Why not, when `readable` is false — rendered next to the source. */
40535
+ reason: string().nullable(),
40536
+ /** Filters the provider applies itself. A false one is applied by nobody. */
40537
+ filters: object({
40538
+ deviceId: boolean(),
40539
+ addonId: boolean(),
40540
+ nodeId: boolean(),
40541
+ tags: boolean(),
40542
+ level: boolean(),
40543
+ text: boolean(),
40544
+ timeRange: boolean()
40545
+ }),
40546
+ /** How far back the store reaches, when the provider knows (days). */
40547
+ retentionDays: number().nullable()
40548
+ });
40549
+ 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() }), {
40550
+ kind: "mutation",
40551
+ auth: "admin"
40552
+ });
40291
40553
  /**
40292
40554
  * `login-method` — collection cap through which auth addons contribute
40293
40555
  * their pre-auth login surfaces to the login page. This is the SINGLE,
@@ -42005,9 +42267,11 @@ var alarmPanelCapability = {
42005
42267
  */
42006
42268
  durability: "restored",
42007
42269
  /**
42008
- * History (D850): none — enum state; arm/disarm history belongs in the events ledger.
42270
+ * History (D850): the panel's lifecycle state as an `enum` series —
42271
+ * change-only, no floor, so an `arming -> pending -> triggered` sequence of a
42272
+ * few seconds keeps every step. Who armed it stays in the events ledger.
42009
42273
  */
42010
- history: "none",
42274
+ history: { fields: { state: { kind: "enum" } } },
42011
42275
  /** Clock fields: written, but excluded from the compare that decides
42012
42276
  * whether persisting is worth a SQLite commit. */
42013
42277
  volatileStateFields: ["lastChangedAt"]
@@ -42885,6 +43149,33 @@ var NcRuleTargetSchema = object({
42885
43149
  params: record(string(), unknown()).optional()
42886
43150
  });
42887
43151
  /**
43152
+ * WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
43153
+ *
43154
+ * Every mode starts from the same CLEAN source frame of the trigger moment
43155
+ * (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
43156
+ * to the zone that fired the rule) and renders it once at send time:
43157
+ * - `scene-boxes` — the whole scene, the subject outlined thick in the accent
43158
+ * colour and every OTHER track visible at that instant outlined thin, each
43159
+ * labelled with class and confidence ("dog 87%").
43160
+ * - `crop` — the subject cut out of that frame around its box at that instant.
43161
+ * - `clean` — the whole scene with nothing drawn on it.
43162
+ * - `none` — no picture.
43163
+ *
43164
+ * A mode that cannot be honoured (no box at that instant, a photograph with no
43165
+ * tracked subject) ships `clean` and names the reason in the log, per camera.
43166
+ * It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
43167
+ * ship a crop on one event and a boxed scene on the next depending on which
43168
+ * stored kind had landed.
43169
+ */
43170
+ var NcMediaImageSchema = _enum([
43171
+ "scene-boxes",
43172
+ "crop",
43173
+ "clean",
43174
+ "none"
43175
+ ]);
43176
+ /**
43177
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
43178
+ *
42888
43179
  * Media attachment policy (P1 still-image subset).
42889
43180
  * - `best` — the best AVAILABLE subject image at dispatch time (D-3).
42890
43181
  * - `best-matching` — the media that explains WHY the rule fired: a rule
@@ -42898,6 +43189,8 @@ var NcRuleTargetSchema = object({
42898
43189
  * - `none` — no attachment.
42899
43190
  */
42900
43191
  /**
43192
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
43193
+ *
42901
43194
  * WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
42902
43195
  * conflate it with the selection strategy and betray the request: asking for
42903
43196
  * the clean scene frame on an object-event owner used to start at
@@ -42926,16 +43219,29 @@ var NcMediaFrameSchema = _enum([
42926
43219
  */
42927
43220
  var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
42928
43221
  var NcMediaPolicySchema = object({
43222
+ /**
43223
+ * The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
43224
+ * saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
43225
+ * triple below, at load and at every write, and the store keeps only this.
43226
+ */
43227
+ image: NcMediaImageSchema.optional(),
43228
+ /**
43229
+ * Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
43230
+ * a `crop` never shows it). Valid only on a rule whose trigger is a zone —
43231
+ * `conditions.zones` or an occupancy zone — and refused on save otherwise.
43232
+ * Replaces `zoneCrop`.
43233
+ */
43234
+ showTriggerZone: boolean().optional(),
43235
+ /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
42929
43236
  attach: _enum([
42930
43237
  "best",
42931
43238
  "best-matching",
42932
43239
  "keyFrame",
42933
43240
  "none"
42934
- ]).default("best"),
42935
- /** What the still shows. Absent = `cropped` (the historical `best` shape). */
43241
+ ]).optional(),
43242
+ /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
42936
43243
  frame: NcMediaFrameSchema.optional(),
42937
- /** Crop the attached still to the rule's condition-zone bbox (padded) —
42938
- * "show me the ZONE", not the whole scene or the subject crop. */
43244
+ /** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
42939
43245
  zoneCrop: boolean().optional(),
42940
43246
  /**
42941
43247
  * Also attach a short GIF cut from the stream broker's clip ring around the
@@ -43107,7 +43413,9 @@ var NcRuleInputSchema = object({
43107
43413
  * targets.
43108
43414
  */
43109
43415
  targetUsers: array(string()).optional(),
43110
- media: NcMediaPolicySchema.default({ attach: "best" }),
43416
+ /** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
43417
+ * detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
43418
+ media: NcMediaPolicySchema.default({}),
43111
43419
  throttle: NcThrottleSchema.default({
43112
43420
  cooldownSec: 60,
43113
43421
  scope: "rule-device"
@@ -44044,13 +44352,37 @@ var NcAlarmModeOpeningsSchema = object({
44044
44352
  /** Covered devices whose state could not be read (D49): neither open nor closed. */
44045
44353
  unknown: array(number().int())
44046
44354
  });
44355
+ /**
44356
+ * One alarm INPUT — a (rule, device) pair — the operator bypassed until the
44357
+ * next disarm ("Bypass this input until disarm" on a trigger notification, or
44358
+ * `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
44359
+ * never looks fully armed (D62: off must never look like broken).
44360
+ */
44361
+ var NcAlarmInputBypassViewSchema = object({
44362
+ ruleId: string(),
44363
+ /** The rule's current name (its frozen name when the rule is gone). */
44364
+ ruleName: string(),
44365
+ /** The input: the sensor of the match, else its camera. */
44366
+ deviceId: number().int(),
44367
+ /** The input's current name. */
44368
+ name: string(),
44369
+ /** When it was bypassed (ms epoch). */
44370
+ since: number(),
44371
+ /** Triggers from this input dropped since. */
44372
+ dropped: number().int().min(0)
44373
+ });
44047
44374
  var NcAlarmLiveSchema = object({
44048
44375
  state: AlarmStateSchema,
44049
44376
  /** The mode being armed into (exit delay) or held; null when disarmed. */
44050
44377
  targetMode: AlarmArmModeSchema.nullable(),
44051
44378
  availableModes: array(AlarmArmModeSchema),
44052
44379
  openings: array(NcAlarmModeOpeningsSchema),
44053
- exclusions: array(NcAlarmExclusionViewSchema)
44380
+ exclusions: array(NcAlarmExclusionViewSchema),
44381
+ /**
44382
+ * Inputs bypassed for the rest of this arm session; cleared on disarm.
44383
+ * Defaulted so an older hub answer still parses (as "none known").
44384
+ */
44385
+ bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
44054
44386
  });
44055
44387
  var NcAlarmConfigSchema = object({
44056
44388
  /**
@@ -54769,9 +55101,11 @@ var connectivityCapability = {
54769
55101
  */
54770
55102
  durability: "restored",
54771
55103
  /**
54772
- * History (D850): none — duplicates device-status.online (one authority for availability).
55104
+ * History (D850): `connected` as a boolean series — change-only, no floor. It
55105
+ * is the upstream entity's own link (a HA connectivity sensor), not the
55106
+ * device's reachability, which stays `device-status.online`.
54773
55107
  */
54774
- history: "none",
55108
+ history: { fields: { connected: { kind: "boolean" } } },
54775
55109
  /** Clock fields: written, but excluded from the compare that decides
54776
55110
  * whether persisting is worth a SQLite commit. */
54777
55111
  volatileStateFields: ["lastChangedAt"]
@@ -55595,11 +55929,22 @@ var dishwasherCapability = {
55595
55929
  },
55596
55930
  runtimeState: DishwasherStatusSchema,
55597
55931
  durability: "session",
55598
- history: { fields: { progressPercent: {
55599
- kind: "gauge",
55600
- unit: "%",
55601
- deadband: 2
55602
- } } }
55932
+ history: { fields: {
55933
+ progressPercent: {
55934
+ kind: "gauge",
55935
+ unit: "%",
55936
+ deadband: 2
55937
+ },
55938
+ state: { kind: "enum" },
55939
+ operationState: { kind: "enum" },
55940
+ remainingSeconds: {
55941
+ kind: "gauge",
55942
+ unit: "s",
55943
+ minIntervalMs: 6e4
55944
+ },
55945
+ doorOpen: { kind: "boolean" },
55946
+ powerOn: { kind: "boolean" }
55947
+ } }
55603
55948
  };
55604
55949
  var DoorbellStatusSchema = object({
55605
55950
  /** Ms epoch of the last press. null = never observed since this provider started. */
@@ -55716,9 +56061,15 @@ var enumSensorCapability = {
55716
56061
  */
55717
56062
  durability: "restored",
55718
56063
  /**
55719
- * History (D850): none — text/enum state has no history (non-goal).
56064
+ * History (D850): the value as an `enum` series (an appliance's program or
56065
+ * operation state, an HVAC action). The option set is per device, so the
56066
+ * value list is LEARNED as values are first seen (bounded). A sensor with a
56067
+ * `format` carries a timestamp, not a state, and is not recorded.
55720
56068
  */
55721
- history: "none",
56069
+ history: { fields: { value: {
56070
+ kind: "enum",
56071
+ skipWhenSet: "format"
56072
+ } } },
55722
56073
  /** Clock fields: written, but excluded from the compare that decides
55723
56074
  * whether persisting is worth a SQLite commit. */
55724
56075
  volatileStateFields: ["lastFetchedAt"]
@@ -57692,9 +58043,10 @@ var lockControlCapability = {
57692
58043
  */
57693
58044
  durability: "restored",
57694
58045
  /**
57695
- * History (D850): none — enum state; lock events belong in the events ledger.
58046
+ * History (D850): the lock's state as an `enum` series — change-only, no
58047
+ * floor: a jam or an unlock lasting seconds is the edge an operator looks for.
57696
58048
  */
57697
- history: "none",
58049
+ history: { fields: { state: { kind: "enum" } } },
57698
58050
  /** Clock fields: written, but excluded from the compare that decides
57699
58051
  * whether persisting is worth a SQLite commit. */
57700
58052
  volatileStateFields: ["lastChangedAt"]
@@ -57868,9 +58220,18 @@ var mediaPlayerCapability = {
57868
58220
  */
57869
58221
  durability: "session",
57870
58222
  /**
57871
- * History (D850): none — `positionMs` moves continuously while playing; volume is transient.
58223
+ * History (D850): volume (a level an operator or an automation sets; the
58224
+ * default 10 s floor folds a slider drag into its end value) and mute.
58225
+ * `positionMs` is not recorded: it moves continuously while playing.
57872
58226
  */
57873
- history: "none"
58227
+ history: { fields: {
58228
+ volumeLevel: {
58229
+ kind: "gauge",
58230
+ unit: "%",
58231
+ deadband: 1
58232
+ },
58233
+ isMuted: { kind: "boolean" }
58234
+ } }
57874
58235
  };
57875
58236
  /**
57876
58237
  * mesh-network — collection cap for mesh-VPN providers.
@@ -63163,9 +63524,29 @@ var streamParamsCapability = {
63163
63524
  */
63164
63525
  durability: "restored",
63165
63526
  /**
63166
- * History (D850): none — encoder configuration.
63527
+ * History (D850): the configured bitrate and frame rate of the main and sub
63528
+ * profiles. Configuration, so change-only on the default floor: a point is an
63529
+ * operator's (or a tuner's) edit, which is exactly what a chart of a stream's
63530
+ * quality over time must show.
63167
63531
  */
63168
- history: "none",
63532
+ history: { fields: {
63533
+ "main.bitrate": {
63534
+ kind: "gauge",
63535
+ unit: "kbps"
63536
+ },
63537
+ "main.framerate": {
63538
+ kind: "gauge",
63539
+ unit: "fps"
63540
+ },
63541
+ "sub.bitrate": {
63542
+ kind: "gauge",
63543
+ unit: "kbps"
63544
+ },
63545
+ "sub.framerate": {
63546
+ kind: "gauge",
63547
+ unit: "fps"
63548
+ }
63549
+ } },
63169
63550
  /** Clock fields: written, but excluded from the compare that decides
63170
63551
  * whether persisting is worth a SQLite commit. */
63171
63552
  volatileStateFields: ["lastFetchedAt"]
@@ -64000,26 +64381,6 @@ var ApiKeySummarySchema = object({
64000
64381
  createdAt: number(),
64001
64382
  lastUsedAt: number().optional()
64002
64383
  });
64003
- var ScopedTokenSummarySchema = object({
64004
- id: string(),
64005
- userId: string(),
64006
- name: string(),
64007
- tokenPrefix: string(),
64008
- scopes: array(TokenScopeSchema),
64009
- expiresAt: number().nullish(),
64010
- lastUsedAt: number().nullish(),
64011
- createdAt: number()
64012
- });
64013
- var CreateScopedTokenInputSchema = object({
64014
- userId: string(),
64015
- name: string(),
64016
- scopes: array(TokenScopeSchema),
64017
- expiresAt: number().optional()
64018
- });
64019
- var CreateScopedTokenResultSchema = object({
64020
- token: string(),
64021
- record: ScopedTokenSummarySchema
64022
- });
64023
64384
  var OauthSessionSummarySchema = object({
64024
64385
  id: string(),
64025
64386
  userId: string(),
@@ -64041,11 +64402,11 @@ var TotpStatusSchema = object({
64041
64402
  confirmedAt: number().nullable()
64042
64403
  });
64043
64404
  /**
64044
- * user-management — singleton capability for user accounts, API keys,
64045
- * and scoped tokens.
64405
+ * user-management — singleton capability for user accounts and the
64406
+ * legacy API-key rows.
64046
64407
  *
64047
64408
  * v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
64048
- * — the subset check on `setUserScopes` / `createScopedToken` is moot
64409
+ * — the subset check on `setUserScopes` is moot
64049
64410
  * because non-admins never reach these. If/when we open non-admin
64050
64411
  * delegation, structural caller-scope subset check goes inside the
64051
64412
  * provider.
@@ -64102,15 +64463,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
64102
64463
  kind: "mutation",
64103
64464
  auth: "admin",
64104
64465
  access: "delete"
64105
- }), method(CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, {
64106
- kind: "mutation",
64107
- auth: "admin",
64108
- access: "create"
64109
- }), method(object({ id: string() }), object({ success: literal(true) }), {
64110
- kind: "mutation",
64111
- auth: "admin",
64112
- access: "delete"
64113
- }), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
64466
+ }), method(object({ userId: string() }), TotpSetupResultSchema, {
64114
64467
  kind: "mutation",
64115
64468
  auth: "admin",
64116
64469
  access: "create"
@@ -66371,6 +66724,15 @@ var BaseDevice = class {
66371
66724
  * Drivers can use the `getProbeFlags()` helper to read the flag bag
66372
66725
  * with a typed cast.
66373
66726
  *
66727
+ * Answer what you KNOW. A plain array is read as the complete list only
66728
+ * while this device is `online` and probed; return
66729
+ * `accessoryChildrenUnknown(reason)` whenever you cannot know the list right
66730
+ * now (no credentials, parent not connected, a failed or partial read) —
66731
+ * the kernel then deletes nothing. Return `accessoryChildrenComplete(list)`
66732
+ * to say "connected, and this is the complete list" explicitly. A shrink is
66733
+ * deleted only after a second agreeing complete read on a later probe (D49;
66734
+ * `packages/system/src/kernel/moleculer/accessory-prune-gate.ts`).
66735
+ *
66374
66736
  * Default: no children.
66375
66737
  */
66376
66738
  getAccessoryChildren() {
@@ -70200,7 +70562,7 @@ Object.freeze({
70200
70562
  capName: "llm",
70201
70563
  capScope: "system",
70202
70564
  addonId: null,
70203
- access: "view"
70565
+ access: "create"
70204
70566
  },
70205
70567
  "llm.listNodeModels": {
70206
70568
  capName: "llm",
@@ -70502,7 +70864,19 @@ Object.freeze({
70502
70864
  addonId: null,
70503
70865
  access: "view"
70504
70866
  },
70505
- "logDestination.query": {
70867
+ "logDestination.cancelRead": {
70868
+ capName: "log-destination",
70869
+ capScope: "system",
70870
+ addonId: null,
70871
+ access: "create"
70872
+ },
70873
+ "logDestination.describeRead": {
70874
+ capName: "log-destination",
70875
+ capScope: "system",
70876
+ addonId: null,
70877
+ access: "view"
70878
+ },
70879
+ "logDestination.read": {
70506
70880
  capName: "log-destination",
70507
70881
  capScope: "system",
70508
70882
  addonId: null,
@@ -74864,12 +75238,6 @@ Object.freeze({
74864
75238
  addonId: null,
74865
75239
  access: "create"
74866
75240
  },
74867
- "userManagement.createScopedToken": {
74868
- capName: "user-management",
74869
- capScope: "system",
74870
- addonId: null,
74871
- access: "create"
74872
- },
74873
75241
  "userManagement.createUser": {
74874
75242
  capName: "user-management",
74875
75243
  capScope: "system",
@@ -74918,12 +75286,6 @@ Object.freeze({
74918
75286
  addonId: null,
74919
75287
  access: "view"
74920
75288
  },
74921
- "userManagement.listScopedTokens": {
74922
- capName: "user-management",
74923
- capScope: "system",
74924
- addonId: null,
74925
- access: "view"
74926
- },
74927
75289
  "userManagement.listUsers": {
74928
75290
  capName: "user-management",
74929
75291
  capScope: "system",
@@ -74978,12 +75340,6 @@ Object.freeze({
74978
75340
  addonId: null,
74979
75341
  access: "delete"
74980
75342
  },
74981
- "userManagement.revokeScopedToken": {
74982
- capName: "user-management",
74983
- capScope: "system",
74984
- addonId: null,
74985
- access: "delete"
74986
- },
74987
75343
  "userManagement.setupTotp": {
74988
75344
  capName: "user-management",
74989
75345
  capScope: "system",
@@ -75014,12 +75370,6 @@ Object.freeze({
75014
75370
  addonId: null,
75015
75371
  access: "view"
75016
75372
  },
75017
- "userManagement.validateScopedToken": {
75018
- capName: "user-management",
75019
- capScope: "system",
75020
- addonId: null,
75021
- access: "view"
75022
- },
75023
75373
  "userManagement.verifyTotp": {
75024
75374
  capName: "user-management",
75025
75375
  capScope: "system",
@@ -76533,6 +76883,11 @@ Object.freeze({
76533
76883
  form: "single",
76534
76884
  optional: false
76535
76885
  }],
76886
+ "logDestination.read": [{
76887
+ name: "deviceId",
76888
+ form: "single",
76889
+ optional: true
76890
+ }],
76536
76891
  "mediaPlayer.getStatus": [{
76537
76892
  name: "deviceId",
76538
76893
  form: "single",