@camstack/addon-provider-unraid 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()
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()
40090
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
  /**
@@ -54861,9 +55193,11 @@ var connectivityCapability = {
54861
55193
  */
54862
55194
  durability: "restored",
54863
55195
  /**
54864
- * History (D850): none — duplicates device-status.online (one authority for availability).
55196
+ * History (D850): `connected` as a boolean series — change-only, no floor. It
55197
+ * is the upstream entity's own link (a HA connectivity sensor), not the
55198
+ * device's reachability, which stays `device-status.online`.
54865
55199
  */
54866
- history: "none",
55200
+ history: { fields: { connected: { kind: "boolean" } } },
54867
55201
  /** Clock fields: written, but excluded from the compare that decides
54868
55202
  * whether persisting is worth a SQLite commit. */
54869
55203
  volatileStateFields: ["lastChangedAt"]
@@ -55687,11 +56021,22 @@ var dishwasherCapability = {
55687
56021
  },
55688
56022
  runtimeState: DishwasherStatusSchema,
55689
56023
  durability: "session",
55690
- history: { fields: { progressPercent: {
55691
- kind: "gauge",
55692
- unit: "%",
55693
- deadband: 2
55694
- } } }
56024
+ history: { fields: {
56025
+ progressPercent: {
56026
+ kind: "gauge",
56027
+ unit: "%",
56028
+ deadband: 2
56029
+ },
56030
+ state: { kind: "enum" },
56031
+ operationState: { kind: "enum" },
56032
+ remainingSeconds: {
56033
+ kind: "gauge",
56034
+ unit: "s",
56035
+ minIntervalMs: 6e4
56036
+ },
56037
+ doorOpen: { kind: "boolean" },
56038
+ powerOn: { kind: "boolean" }
56039
+ } }
55695
56040
  };
55696
56041
  var DoorbellStatusSchema = object({
55697
56042
  /** Ms epoch of the last press. null = never observed since this provider started. */
@@ -55808,9 +56153,15 @@ var enumSensorCapability = {
55808
56153
  */
55809
56154
  durability: "restored",
55810
56155
  /**
55811
- * History (D850): none — text/enum state has no history (non-goal).
56156
+ * History (D850): the value as an `enum` series (an appliance's program or
56157
+ * operation state, an HVAC action). The option set is per device, so the
56158
+ * value list is LEARNED as values are first seen (bounded). A sensor with a
56159
+ * `format` carries a timestamp, not a state, and is not recorded.
55812
56160
  */
55813
- history: "none",
56161
+ history: { fields: { value: {
56162
+ kind: "enum",
56163
+ skipWhenSet: "format"
56164
+ } } },
55814
56165
  /** Clock fields: written, but excluded from the compare that decides
55815
56166
  * whether persisting is worth a SQLite commit. */
55816
56167
  volatileStateFields: ["lastFetchedAt"]
@@ -57784,9 +58135,10 @@ var lockControlCapability = {
57784
58135
  */
57785
58136
  durability: "restored",
57786
58137
  /**
57787
- * History (D850): none — enum state; lock events belong in the events ledger.
58138
+ * History (D850): the lock's state as an `enum` series — change-only, no
58139
+ * floor: a jam or an unlock lasting seconds is the edge an operator looks for.
57788
58140
  */
57789
- history: "none",
58141
+ history: { fields: { state: { kind: "enum" } } },
57790
58142
  /** Clock fields: written, but excluded from the compare that decides
57791
58143
  * whether persisting is worth a SQLite commit. */
57792
58144
  volatileStateFields: ["lastChangedAt"]
@@ -57960,9 +58312,18 @@ var mediaPlayerCapability = {
57960
58312
  */
57961
58313
  durability: "session",
57962
58314
  /**
57963
- * History (D850): none — `positionMs` moves continuously while playing; volume is transient.
58315
+ * History (D850): volume (a level an operator or an automation sets; the
58316
+ * default 10 s floor folds a slider drag into its end value) and mute.
58317
+ * `positionMs` is not recorded: it moves continuously while playing.
57964
58318
  */
57965
- history: "none"
58319
+ history: { fields: {
58320
+ volumeLevel: {
58321
+ kind: "gauge",
58322
+ unit: "%",
58323
+ deadband: 1
58324
+ },
58325
+ isMuted: { kind: "boolean" }
58326
+ } }
57966
58327
  };
57967
58328
  /**
57968
58329
  * mesh-network — collection cap for mesh-VPN providers.
@@ -63255,9 +63616,29 @@ var streamParamsCapability = {
63255
63616
  */
63256
63617
  durability: "restored",
63257
63618
  /**
63258
- * History (D850): none — encoder configuration.
63619
+ * History (D850): the configured bitrate and frame rate of the main and sub
63620
+ * profiles. Configuration, so change-only on the default floor: a point is an
63621
+ * operator's (or a tuner's) edit, which is exactly what a chart of a stream's
63622
+ * quality over time must show.
63259
63623
  */
63260
- history: "none",
63624
+ history: { fields: {
63625
+ "main.bitrate": {
63626
+ kind: "gauge",
63627
+ unit: "kbps"
63628
+ },
63629
+ "main.framerate": {
63630
+ kind: "gauge",
63631
+ unit: "fps"
63632
+ },
63633
+ "sub.bitrate": {
63634
+ kind: "gauge",
63635
+ unit: "kbps"
63636
+ },
63637
+ "sub.framerate": {
63638
+ kind: "gauge",
63639
+ unit: "fps"
63640
+ }
63641
+ } },
63261
63642
  /** Clock fields: written, but excluded from the compare that decides
63262
63643
  * whether persisting is worth a SQLite commit. */
63263
63644
  volatileStateFields: ["lastFetchedAt"]
@@ -64092,26 +64473,6 @@ var ApiKeySummarySchema = object({
64092
64473
  createdAt: number(),
64093
64474
  lastUsedAt: number().optional()
64094
64475
  });
64095
- var ScopedTokenSummarySchema = object({
64096
- id: string(),
64097
- userId: string(),
64098
- name: string(),
64099
- tokenPrefix: string(),
64100
- scopes: array(TokenScopeSchema),
64101
- expiresAt: number().nullish(),
64102
- lastUsedAt: number().nullish(),
64103
- createdAt: number()
64104
- });
64105
- var CreateScopedTokenInputSchema = object({
64106
- userId: string(),
64107
- name: string(),
64108
- scopes: array(TokenScopeSchema),
64109
- expiresAt: number().optional()
64110
- });
64111
- var CreateScopedTokenResultSchema = object({
64112
- token: string(),
64113
- record: ScopedTokenSummarySchema
64114
- });
64115
64476
  var OauthSessionSummarySchema = object({
64116
64477
  id: string(),
64117
64478
  userId: string(),
@@ -64133,11 +64494,11 @@ var TotpStatusSchema = object({
64133
64494
  confirmedAt: number().nullable()
64134
64495
  });
64135
64496
  /**
64136
- * user-management — singleton capability for user accounts, API keys,
64137
- * and scoped tokens.
64497
+ * user-management — singleton capability for user accounts and the
64498
+ * legacy API-key rows.
64138
64499
  *
64139
64500
  * v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
64140
- * — the subset check on `setUserScopes` / `createScopedToken` is moot
64501
+ * — the subset check on `setUserScopes` is moot
64141
64502
  * because non-admins never reach these. If/when we open non-admin
64142
64503
  * delegation, structural caller-scope subset check goes inside the
64143
64504
  * provider.
@@ -64194,15 +64555,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
64194
64555
  kind: "mutation",
64195
64556
  auth: "admin",
64196
64557
  access: "delete"
64197
- }), method(CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, {
64198
- kind: "mutation",
64199
- auth: "admin",
64200
- access: "create"
64201
- }), method(object({ id: string() }), object({ success: literal(true) }), {
64202
- kind: "mutation",
64203
- auth: "admin",
64204
- access: "delete"
64205
- }), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
64558
+ }), method(object({ userId: string() }), TotpSetupResultSchema, {
64206
64559
  kind: "mutation",
64207
64560
  auth: "admin",
64208
64561
  access: "create"
@@ -66463,6 +66816,15 @@ var BaseDevice = class {
66463
66816
  * Drivers can use the `getProbeFlags()` helper to read the flag bag
66464
66817
  * with a typed cast.
66465
66818
  *
66819
+ * Answer what you KNOW. A plain array is read as the complete list only
66820
+ * while this device is `online` and probed; return
66821
+ * `accessoryChildrenUnknown(reason)` whenever you cannot know the list right
66822
+ * now (no credentials, parent not connected, a failed or partial read) —
66823
+ * the kernel then deletes nothing. Return `accessoryChildrenComplete(list)`
66824
+ * to say "connected, and this is the complete list" explicitly. A shrink is
66825
+ * deleted only after a second agreeing complete read on a later probe (D49;
66826
+ * `packages/system/src/kernel/moleculer/accessory-prune-gate.ts`).
66827
+ *
66466
66828
  * Default: no children.
66467
66829
  */
66468
66830
  getAccessoryChildren() {
@@ -70292,7 +70654,7 @@ Object.freeze({
70292
70654
  capName: "llm",
70293
70655
  capScope: "system",
70294
70656
  addonId: null,
70295
- access: "view"
70657
+ access: "create"
70296
70658
  },
70297
70659
  "llm.listNodeModels": {
70298
70660
  capName: "llm",
@@ -70594,7 +70956,19 @@ Object.freeze({
70594
70956
  addonId: null,
70595
70957
  access: "view"
70596
70958
  },
70597
- "logDestination.query": {
70959
+ "logDestination.cancelRead": {
70960
+ capName: "log-destination",
70961
+ capScope: "system",
70962
+ addonId: null,
70963
+ access: "create"
70964
+ },
70965
+ "logDestination.describeRead": {
70966
+ capName: "log-destination",
70967
+ capScope: "system",
70968
+ addonId: null,
70969
+ access: "view"
70970
+ },
70971
+ "logDestination.read": {
70598
70972
  capName: "log-destination",
70599
70973
  capScope: "system",
70600
70974
  addonId: null,
@@ -74956,12 +75330,6 @@ Object.freeze({
74956
75330
  addonId: null,
74957
75331
  access: "create"
74958
75332
  },
74959
- "userManagement.createScopedToken": {
74960
- capName: "user-management",
74961
- capScope: "system",
74962
- addonId: null,
74963
- access: "create"
74964
- },
74965
75333
  "userManagement.createUser": {
74966
75334
  capName: "user-management",
74967
75335
  capScope: "system",
@@ -75010,12 +75378,6 @@ Object.freeze({
75010
75378
  addonId: null,
75011
75379
  access: "view"
75012
75380
  },
75013
- "userManagement.listScopedTokens": {
75014
- capName: "user-management",
75015
- capScope: "system",
75016
- addonId: null,
75017
- access: "view"
75018
- },
75019
75381
  "userManagement.listUsers": {
75020
75382
  capName: "user-management",
75021
75383
  capScope: "system",
@@ -75070,12 +75432,6 @@ Object.freeze({
75070
75432
  addonId: null,
75071
75433
  access: "delete"
75072
75434
  },
75073
- "userManagement.revokeScopedToken": {
75074
- capName: "user-management",
75075
- capScope: "system",
75076
- addonId: null,
75077
- access: "delete"
75078
- },
75079
75435
  "userManagement.setupTotp": {
75080
75436
  capName: "user-management",
75081
75437
  capScope: "system",
@@ -75106,12 +75462,6 @@ Object.freeze({
75106
75462
  addonId: null,
75107
75463
  access: "view"
75108
75464
  },
75109
- "userManagement.validateScopedToken": {
75110
- capName: "user-management",
75111
- capScope: "system",
75112
- addonId: null,
75113
- access: "view"
75114
- },
75115
75465
  "userManagement.verifyTotp": {
75116
75466
  capName: "user-management",
75117
75467
  capScope: "system",
@@ -76625,6 +76975,11 @@ Object.freeze({
76625
76975
  form: "single",
76626
76976
  optional: false
76627
76977
  }],
76978
+ "logDestination.read": [{
76979
+ name: "deviceId",
76980
+ form: "single",
76981
+ optional: true
76982
+ }],
76628
76983
  "mediaPlayer.getStatus": [{
76629
76984
  name: "deviceId",
76630
76985
  form: "single",