@camstack/addon-provider-hikvision 1.2.156 → 1.2.158

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
@@ -5449,7 +5449,7 @@ var ZodIssueCode = {
5449
5449
  var ZodFirstPartyTypeKind;
5450
5450
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5451
5451
  //#endregion
5452
- //#region ../types/dist/sleep-BxjU_fJM.mjs
5452
+ //#region ../types/dist/sleep-BSuCCFjf.mjs
5453
5453
  /**
5454
5454
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5455
5455
  * window to float samples (D455).
@@ -7832,9 +7832,9 @@ function normalizeAddonInitResult(result) {
7832
7832
  return result;
7833
7833
  }
7834
7834
  /**
7835
- * The share-view scope kinds a `csv_*` share token can carry. The hub mints
7836
- * and validates them (`share-token.service.ts` builds its enum from this
7837
- * list); a data plane names the kinds it ACCEPTS in `share`.
7835
+ * The share-view scope kinds a share-link token can carry. The hub mints
7836
+ * and validates them (`ShareViewGrantSchema` builds its
7837
+ * enum from this list); a data plane names the kinds it ACCEPTS in `share`.
7838
7838
  */
7839
7839
  var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
7840
7840
  /** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
@@ -12841,7 +12841,7 @@ var ConvertResultSchema = object({
12841
12841
  * `super_admin` — collapsed onto the single boolean because every
12842
12842
  * non-admin caller is governed by the same scope-check rules; the
12843
12843
  * distinction was only ever used to route role-specific procedures
12844
- * which we no longer have. CLI / webhook integrations are `cst_*` tokens
12844
+ * which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
12845
12845
  * with `isAdmin: false` + an explicit scope list.
12846
12846
  */
12847
12847
  /** Per-method access flavour. Materialised on every cap method via codegen. */
@@ -13030,10 +13030,12 @@ var AddonRoutesScopeSchema = object({
13030
13030
  type: literal("addon-routes"),
13031
13031
  access: array(MethodAccessSchema).min(1)
13032
13032
  });
13033
+ var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
13033
13034
  var CredentialScopeSchema = union([
13034
13035
  literal("*"),
13035
13036
  ShareViewScopeSchema,
13036
13037
  AddonRoutesScopeSchema,
13038
+ PreferencesSelfScopeSchema,
13037
13039
  TokenScopeSchema
13038
13040
  ]);
13039
13041
  object({
@@ -13042,6 +13044,55 @@ object({
13042
13044
  jti: string().min(16),
13043
13045
  scopes: array(CredentialScopeSchema).min(1)
13044
13046
  });
13047
+ var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
13048
+ /** A namespace's value: a JSON object, opaque to the hub. */
13049
+ var PreferenceValueSchema = record(string(), unknown());
13050
+ var PreferenceDeviceIdSchema = string().min(1).max(64);
13051
+ /** A stored row, as the owner reads it. */
13052
+ var PreferenceRowSchema = object({
13053
+ namespace: PreferenceNamespaceSchema,
13054
+ value: PreferenceValueSchema,
13055
+ /** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
13056
+ revision: number().int().positive(),
13057
+ updatedAt: number().int(),
13058
+ /** The client id the last writer sent; `null` when it sent none. */
13059
+ updatedByDevice: PreferenceDeviceIdSchema.nullable()
13060
+ });
13061
+ object({
13062
+ /** Absent: every namespace the caller holds. */
13063
+ namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
13064
+ object({ rows: array(PreferenceRowSchema) });
13065
+ object({
13066
+ namespace: PreferenceNamespaceSchema,
13067
+ value: PreferenceValueSchema,
13068
+ /**
13069
+ * The revision the edit was based on. Absent: last write wins. `0`: the
13070
+ * namespace must not exist yet. Any other value that is not the current
13071
+ * revision answers `conflict` and writes nothing.
13072
+ */
13073
+ baseRevision: number().int().nonnegative().optional(),
13074
+ deviceId: PreferenceDeviceIdSchema.optional()
13075
+ });
13076
+ discriminatedUnion("status", [object({
13077
+ status: literal("saved"),
13078
+ row: PreferenceRowSchema
13079
+ }), object({
13080
+ status: literal("conflict"),
13081
+ current: PreferenceRowSchema.nullable()
13082
+ })]);
13083
+ object({ namespace: PreferenceNamespaceSchema });
13084
+ object({
13085
+ /** `false` when the namespace did not exist. */
13086
+ deleted: boolean() });
13087
+ object({
13088
+ /** The revision the client holds per namespace; a namespace it does not list is new to it. */
13089
+ revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
13090
+ object({
13091
+ /** Every row whose revision differs from the client's, and every row it did not list. */
13092
+ rows: array(PreferenceRowSchema),
13093
+ /** Namespaces the client listed that no longer exist. */
13094
+ deleted: array(PreferenceNamespaceSchema)
13095
+ });
13045
13096
  _enum(["new-session", "step-up"]);
13046
13097
  /** The languages the hub's app landing pages are written in (D858). */
13047
13098
  var AppPageLangSchema = _enum(["en", "it"]);
@@ -17295,7 +17346,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
17295
17346
  kind: literal("node"),
17296
17347
  nodeId: string().min(1)
17297
17348
  })]);
17349
+ /**
17350
+ * `enum` stores a STATE as the ordinal of its value in the series' value list
17351
+ * (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
17352
+ * meaning); a rollup keeps the time spent in each state (`states`).
17353
+ */
17298
17354
  var DeviceHistoryKindSchema = _enum([
17355
+ "gauge",
17356
+ "counter",
17357
+ "boolean",
17358
+ "enum"
17359
+ ]);
17360
+ /** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
17361
+ var DeviceHistoryProducerKindSchema = _enum([
17299
17362
  "gauge",
17300
17363
  "counter",
17301
17364
  "boolean"
@@ -17332,7 +17395,13 @@ var SeriesInfoSchema = object({
17332
17395
  /** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
17333
17396
  unit: string().nullable(),
17334
17397
  displayName: string(),
17335
- source: _enum(["cap", "addon"]),
17398
+ source: _enum([
17399
+ "cap",
17400
+ "addon",
17401
+ "derived"
17402
+ ]),
17403
+ /** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
17404
+ values: array(string()).readonly().nullable(),
17336
17405
  firstTs: number(),
17337
17406
  lastTs: number()
17338
17407
  });
@@ -17346,17 +17415,31 @@ var QueryPointSchema = object({
17346
17415
  twMean: number().nullable(),
17347
17416
  min: number(),
17348
17417
  max: number(),
17349
- /** `null` is unknown, never zero (D393). */
17350
- last: number().nullable()
17418
+ /** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
17419
+ last: number().nullable(),
17420
+ /**
17421
+ * The increase over the point: a `counter`'s growth since the previous point
17422
+ * or bucket (a drop is a reset, counted from zero), and for
17423
+ * {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
17424
+ * every other kind, and when it cannot be known.
17425
+ */
17426
+ delta: number().nullable(),
17427
+ /** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
17428
+ state: string().nullable(),
17429
+ /** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
17430
+ states: record(string(), number()).nullable()
17351
17431
  });
17352
17432
  var QuerySeriesSchema = object({
17353
17433
  scope: string(),
17354
17434
  /** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
17355
17435
  before: object({
17356
17436
  t: number(),
17357
- value: number().nullable()
17437
+ value: number().nullable(),
17438
+ state: string().nullable()
17358
17439
  }).nullable(),
17359
- points: array(QueryPointSchema).readonly()
17440
+ points: array(QueryPointSchema).readonly(),
17441
+ /** A derived key: the stored key its points were computed from; `null` for a stored series. */
17442
+ derivedFrom: string().nullable()
17360
17443
  });
17361
17444
  /** The window part of a query, shared by the device and node forms. */
17362
17445
  var QueryWindowShape = {
@@ -17372,6 +17455,23 @@ var QueryResultSchema = object({
17372
17455
  series: array(QuerySeriesSchema).readonly(),
17373
17456
  truncated: boolean()
17374
17457
  });
17458
+ /** One read of a batch: a device's key or a node's key (exactly one subject). */
17459
+ var QueryManyItemSchema = union([object({
17460
+ deviceId: number().int(),
17461
+ key: string(),
17462
+ scope: string().optional()
17463
+ }), object({
17464
+ forNodeId: string().min(1),
17465
+ key: string(),
17466
+ scope: string().optional()
17467
+ })]);
17468
+ var QueryManyEntrySchema = discriminatedUnion("ok", [object({
17469
+ ok: literal(true),
17470
+ result: QueryResultSchema
17471
+ }), object({
17472
+ ok: literal(false),
17473
+ error: string()
17474
+ })]);
17375
17475
  var TierStatusSchema = object({
17376
17476
  tier: DeviceHistoryResolutionSchema,
17377
17477
  /** `null` until the first background count answered. */
@@ -17427,16 +17527,22 @@ var DeviceHistoryStatusSchema = object({
17427
17527
  lastRefreshAt: number().nullable()
17428
17528
  })
17429
17529
  });
17430
- method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ nodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
17530
+ method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
17431
17531
  deviceId: number().int(),
17432
17532
  ...QueryWindowShape
17433
17533
  }), QueryResultSchema), method(object({
17434
- nodeId: string().min(1),
17534
+ forNodeId: string().min(1),
17435
17535
  ...QueryWindowShape
17436
17536
  }), QueryResultSchema, { auth: "admin" }), method(object({
17537
+ items: array(QueryManyItemSchema).min(1).max(24),
17538
+ from: QueryWindowShape.from,
17539
+ to: QueryWindowShape.to,
17540
+ resolution: QueryWindowShape.resolution,
17541
+ maxPoints: QueryWindowShape.maxPoints
17542
+ }), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
17437
17543
  name: string().regex(/^[a-z0-9-]+$/),
17438
17544
  subjectKind: _enum(["device", "node"]),
17439
- kind: DeviceHistoryKindSchema,
17545
+ kind: DeviceHistoryProducerKindSchema,
17440
17546
  unit: string().optional(),
17441
17547
  displayName: string().min(1),
17442
17548
  ingest: _enum(["points", "buckets"])
@@ -40350,38 +40456,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
40350
40456
  auth: "admin",
40351
40457
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
40352
40458
  });
40459
+ var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
40460
+ /** What a model (or, by default, every model of a kind) can do. */
40461
+ var LlmModelFeaturesSchema = object({
40462
+ vision: boolean(),
40463
+ tools: boolean(),
40464
+ streaming: boolean()
40465
+ });
40466
+ /** One model a provider offers. `features` overrides the kind's defaults, per field. */
40467
+ var LlmModelInfoSchema = object({
40468
+ id: string(),
40469
+ label: string().optional(),
40470
+ contextLength: number().int().positive().optional(),
40471
+ features: LlmModelFeaturesSchema.partial().optional()
40472
+ });
40353
40473
  /**
40354
- * `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
40355
- * methods concat-fan across providers; single-row methods route to ONE
40356
- * provider by the `addonId` in the call input (the notification-output
40357
- * posture, notification-output.cap.ts:215-250). Provided by `addon-ai`
40358
- * (hub-placed); the cap stays open for future providers.
40359
- *
40360
- * Profiles are ROWS (data), not addons: one row = one usable model endpoint.
40361
- * `apiKey` is a password field — providers REDACT it on read and merge on
40362
- * write; a stored key NEVER round-trips to a client.
40474
+ * The provider-specific part of a profile, validated by the provider that owns
40475
+ * the kind (`upsertProfile` refuses what it does not accept). A field its
40476
+ * `connectionSchema` declares `type: 'password'` is a secret: it is held in the
40477
+ * keychain, never in the row, and reads back as the redaction marker.
40363
40478
  */
40364
- var LlmProfileKindSchema = _enum([
40365
- "openai-compatible",
40366
- "openai",
40367
- "anthropic",
40368
- "google",
40369
- "managed-local",
40370
- "apple-foundation"
40371
- ]);
40479
+ var LlmProviderConfigSchema = record(string(), unknown());
40372
40480
  var LlmProfileSchema = object({
40373
40481
  id: string(),
40374
40482
  name: string(),
40483
+ /** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
40375
40484
  kind: LlmProfileKindSchema,
40376
40485
  /** Stamped by the provider — keeps the fanned catalog routable. */
40377
40486
  addonId: string(),
40378
40487
  enabled: boolean(),
40379
40488
  /** Vendor model id, or the managed runtime's loaded model. */
40380
40489
  model: string(),
40381
- /** Required for openai-compatible; override for cloud kinds. */
40382
- baseUrl: string().optional(),
40383
- /** ConfigUISchema type:'password' — never round-trips (spec §5). */
40384
- apiKey: string().optional(),
40385
40490
  /** Vision on/off. A vision call against a `false` profile is REFUSED, never
40386
40491
  * degraded to text — that shipped once and produced a confident answer to a
40387
40492
  * question about a picture nobody sent. */
@@ -40389,15 +40494,11 @@ var LlmProfileSchema = object({
40389
40494
  temperature: number().min(0).max(2).optional(),
40390
40495
  /** Nucleus sampling. Every wire we speak has it. */
40391
40496
  topP: number().min(0).max(1).optional(),
40392
- /** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
40393
- * wire does, and the client drops it there (measured: the request body gets
40394
- * `top_p` and no `top_k`). The profile editor hides the field wherever it
40395
- * would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
40497
+ /** Top-k sampling. Carried only by the wires that have it — a kind offers the
40498
+ * field in its editor only when its descriptor lists it in `profileFields`. */
40396
40499
  topK: number().int().positive().optional(),
40397
40500
  maxTokens: number().int().positive().optional(),
40398
- /** Prompt context window. Advisory for cloud kinds (they enforce their own);
40399
- * for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
40400
- * the model with, so it is the one field that changes a PROCESS. */
40501
+ /** Prompt context window. Advisory for cloud kinds (they enforce their own). */
40401
40502
  contextLength: number().int().positive().optional(),
40402
40503
  /** Default system prompt. A caller's `system` REPLACES it (never appends —
40403
40504
  * two system prompts fighting is worse than either alone). */
@@ -40423,16 +40524,37 @@ var LlmProfileSchema = object({
40423
40524
  * library; the REGISTRY of callable tools is ours and is empty in v1, so a
40424
40525
  * `true` here buys the wiring, not behaviour, until tools are registered. */
40425
40526
  toolsEnabled: boolean().default(false),
40426
- extraHeaders: record(string(), string()).optional(),
40427
- /** kind === 'managed-local' only (spec §4). */
40428
- runtime: ManagedRuntimeConfigSchema.optional(),
40429
- /**
40430
- * kind === 'apple-foundation' only: WHERE it runs — the only thing there is
40431
- * to configure (no key, no URL, no download; `model` is `apple-system`).
40432
- * `supportsVision` on such a row is stamped by the provider from the node's
40433
- * reported `imageInput`, never taken from the operator (D62).
40434
- */
40435
- appleFoundation: object({ nodeId: string() }).optional()
40527
+ /** Everything the kind's provider owns (endpoint, key, node, runtime…). */
40528
+ providerConfig: LlmProviderConfigSchema.default({})
40529
+ });
40530
+ /**
40531
+ * The common profile fields a kind's editor offers. The editor owns how each
40532
+ * one is drawn; the provider says which of them mean something on its wire.
40533
+ */
40534
+ var LlmProfileFieldSchema = _enum([
40535
+ "temperature",
40536
+ "topP",
40537
+ "topK",
40538
+ "maxTokens",
40539
+ "contextLength",
40540
+ "systemPrompt",
40541
+ "timeoutMs",
40542
+ "connectTimeoutMs",
40543
+ "firstTokenTimeoutMs",
40544
+ "idleTimeoutMs",
40545
+ "retry",
40546
+ "toolsEnabled"
40547
+ ]);
40548
+ /**
40549
+ * A provider-drawn part of the editor, by a generic widget id the admin UI
40550
+ * registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
40551
+ * picker: that widget owns the model choice.
40552
+ */
40553
+ var LlmProviderWidgetSchema = object({
40554
+ id: string(),
40555
+ placement: _enum(["connection", "model"]),
40556
+ /** `providerConfig` keys this widget must fill before the profile can be saved. */
40557
+ requires: array(string()).optional()
40436
40558
  });
40437
40559
  /** ConfigUISchema tree passed through untyped on the wire (the
40438
40560
  * notification-output `ConfigSchemaPassthrough` precedent at
@@ -40441,11 +40563,56 @@ var ConfigSchemaPassthrough$3 = unknown();
40441
40563
  var LlmProfileKindDescriptorSchema = object({
40442
40564
  kind: LlmProfileKindSchema,
40443
40565
  label: string(),
40566
+ /** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
40444
40567
  icon: string(),
40445
40568
  /** Stamped by each provider so the concat-fanned catalog stays routable. */
40446
40569
  addonId: string(),
40447
- configSchema: ConfigSchemaPassthrough$3
40570
+ /** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
40571
+ connectionSchema: ConfigSchemaPassthrough$3,
40572
+ /** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
40573
+ advancedSchema: ConfigSchemaPassthrough$3.optional(),
40574
+ /** The kind's defaults; a model from `listModels` may override any of them. */
40575
+ features: LlmModelFeaturesSchema,
40576
+ /** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
40577
+ visionEditable: boolean(),
40578
+ /** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
40579
+ modelCatalog: _enum([
40580
+ "fetch",
40581
+ "static",
40582
+ "none"
40583
+ ]),
40584
+ staticModels: array(LlmModelInfoSchema).optional(),
40585
+ /** The common fields that mean something on this kind's wire. */
40586
+ profileFields: array(LlmProfileFieldSchema),
40587
+ providerWidgets: array(LlmProviderWidgetSchema).optional()
40588
+ });
40589
+ /**
40590
+ * `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
40591
+ * (the editor's form); with `profileId` too, a secret the draft leaves
40592
+ * untouched (absent or the redaction marker) is resolved server-side from the
40593
+ * stored profile — the browser never receives it.
40594
+ */
40595
+ var LlmListModelsInputSchema = object({
40596
+ addonId: string(),
40597
+ kind: LlmProfileKindSchema,
40598
+ profileId: string().optional(),
40599
+ connection: LlmProviderConfigSchema.optional()
40448
40600
  });
40601
+ var LlmListModelsErrorCodeSchema = _enum([
40602
+ "auth",
40603
+ "network",
40604
+ "unsupported",
40605
+ "invalid"
40606
+ ]);
40607
+ /** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
40608
+ var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
40609
+ ok: literal(true),
40610
+ models: array(LlmModelInfoSchema)
40611
+ }), object({
40612
+ ok: literal(false),
40613
+ code: LlmListModelsErrorCodeSchema,
40614
+ message: string()
40615
+ })]);
40449
40616
  var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
40450
40617
  var LlmDefaultSchema = object({
40451
40618
  selector: LlmDefaultSelectorSchema,
@@ -40545,7 +40712,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
40545
40712
  kind: "mutation",
40546
40713
  auth: "admin",
40547
40714
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
40548
- }), method(ProfileRefInputSchema, array(string())), method(object({}), array(LlmDefaultSchema)), method(object({
40715
+ }), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
40716
+ kind: "mutation",
40717
+ auth: "admin"
40718
+ }), method(object({}), array(LlmDefaultSchema)), method(object({
40549
40719
  selector: LlmDefaultSelectorSchema,
40550
40720
  profileId: string().nullable()
40551
40721
  }), _void(), {
@@ -40713,14 +40883,106 @@ var LogEntrySchema = object({
40713
40883
  meta: record(string(), unknown()).optional(),
40714
40884
  tags: record(string(), string()).optional()
40715
40885
  });
40716
- method(LogEntrySchema, _void(), { kind: "mutation" }), method(object({
40717
- scope: array(string()).optional(),
40886
+ /**
40887
+ * A history READ against one destination (D898).
40888
+ *
40889
+ * Every filter is applied by the PROVIDER, before the limit — a filter the
40890
+ * browser applied after the limit is what made a rare device's lines
40891
+ * unreachable behind a busy one's. `before` / `after` are cursors the provider
40892
+ * minted (opaque to everyone else): a file position for the rotated files, a
40893
+ * nanosecond timestamp for Loki.
40894
+ *
40895
+ * A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
40896
+ * store answers `done: false` with the cursor it reached and the bytes it
40897
+ * scanned, and the caller decides whether to go on. That is what makes a long
40898
+ * scan show progress and stop when asked — `cancelRead` ends the slice in
40899
+ * flight, and not asking for the next slice ends the scan.
40900
+ */
40901
+ var LogReadQuerySchema = object({
40902
+ /** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
40903
+ requestId: string().min(1).max(64).optional(),
40904
+ /** The device the line is about (`tags.deviceId`, numeric). */
40905
+ deviceId: number().int().optional(),
40906
+ /**
40907
+ * The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
40908
+ * match. Not `addonId`: a cap router reads that name as "which provider".
40909
+ */
40910
+ fromAddonId: string().min(1).max(200).optional(),
40911
+ /**
40912
+ * The emitting node: matches the agent that emitted the line, the node
40913
+ * itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
40914
+ * semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
40915
+ * name as "which node's provider".
40916
+ */
40917
+ fromNodeId: string().min(1).max(200).optional(),
40918
+ /** Any other tag, exact match (AND). */
40919
+ tags: record(string(), union([string(), number()])).optional(),
40920
+ /** Severity FLOOR: this level and above. */
40718
40921
  level: LogLevelSchema.optional(),
40719
- since: date().optional(),
40720
- until: date().optional(),
40721
- limit: number().optional(),
40722
- tags: record(string(), string()).optional()
40723
- }), array(LogEntrySchema).readonly());
40922
+ /** Case-insensitive substring over message, scope, tag values and meta values. */
40923
+ text: string().min(1).max(200).optional(),
40924
+ /** Epoch ms, inclusive. */
40925
+ since: number().optional(),
40926
+ /** Epoch ms, inclusive. */
40927
+ until: number().optional(),
40928
+ /** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
40929
+ before: string().min(1).max(1024).optional(),
40930
+ /** Newer than this cursor (exclusive). */
40931
+ after: string().min(1).max(1024).optional(),
40932
+ limit: number().int().min(1).max(1e3).optional(),
40933
+ /** Wall-clock bound of this slice. The provider caps it. */
40934
+ budgetMs: number().int().min(50).max(1e4).optional()
40935
+ });
40936
+ var LogReadResultSchema = object({
40937
+ /** Newest first. */
40938
+ entries: array(object({
40939
+ /** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
40940
+ id: string().optional(),
40941
+ /** Epoch ms. */
40942
+ timestamp: number(),
40943
+ level: LogLevelSchema,
40944
+ scope: string().optional(),
40945
+ message: string(),
40946
+ tags: record(string(), union([string(), number()])).optional(),
40947
+ meta: record(string(), unknown()).optional()
40948
+ })),
40949
+ /** Pass as `before` for the next older page; null when nothing older exists. */
40950
+ nextBefore: string().nullable(),
40951
+ /** Pass as `after` to read what arrived since; null when unknown. */
40952
+ nextAfter: string().nullable(),
40953
+ /** Bytes this slice read (files) or received (remote). Progress, not a promise. */
40954
+ scannedBytes: number().int().nonnegative(),
40955
+ /**
40956
+ * True when the scan in this direction reached the end of the store.
40957
+ * False with fewer than `limit` entries means the budget ran out first —
40958
+ * call again with `nextBefore` to go on.
40959
+ */
40960
+ done: boolean(),
40961
+ /** True when `cancelRead` ended this slice early. */
40962
+ cancelled: boolean().optional()
40963
+ });
40964
+ var LogReadCapabilitiesSchema = object({
40965
+ /** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
40966
+ readable: boolean(),
40967
+ /** Why not, when `readable` is false — rendered next to the source. */
40968
+ reason: string().nullable(),
40969
+ /** Filters the provider applies itself. A false one is applied by nobody. */
40970
+ filters: object({
40971
+ deviceId: boolean(),
40972
+ addonId: boolean(),
40973
+ nodeId: boolean(),
40974
+ tags: boolean(),
40975
+ level: boolean(),
40976
+ text: boolean(),
40977
+ timeRange: boolean()
40978
+ }),
40979
+ /** How far back the store reaches, when the provider knows (days). */
40980
+ retentionDays: number().nullable()
40981
+ });
40982
+ 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() }), {
40983
+ kind: "mutation",
40984
+ auth: "admin"
40985
+ });
40724
40986
  /**
40725
40987
  * `login-method` — collection cap through which auth addons contribute
40726
40988
  * their pre-auth login surfaces to the login page. This is the SINGLE,
@@ -42438,9 +42700,11 @@ var alarmPanelCapability = {
42438
42700
  */
42439
42701
  durability: "restored",
42440
42702
  /**
42441
- * History (D850): none — enum state; arm/disarm history belongs in the events ledger.
42703
+ * History (D850): the panel's lifecycle state as an `enum` series —
42704
+ * change-only, no floor, so an `arming -> pending -> triggered` sequence of a
42705
+ * few seconds keeps every step. Who armed it stays in the events ledger.
42442
42706
  */
42443
- history: "none",
42707
+ history: { fields: { state: { kind: "enum" } } },
42444
42708
  /** Clock fields: written, but excluded from the compare that decides
42445
42709
  * whether persisting is worth a SQLite commit. */
42446
42710
  volatileStateFields: ["lastChangedAt"]
@@ -43318,6 +43582,33 @@ var NcRuleTargetSchema = object({
43318
43582
  params: record(string(), unknown()).optional()
43319
43583
  });
43320
43584
  /**
43585
+ * WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
43586
+ *
43587
+ * Every mode starts from the same CLEAN source frame of the trigger moment
43588
+ * (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
43589
+ * to the zone that fired the rule) and renders it once at send time:
43590
+ * - `scene-boxes` — the whole scene, the subject outlined thick in the accent
43591
+ * colour and every OTHER track visible at that instant outlined thin, each
43592
+ * labelled with class and confidence ("dog 87%").
43593
+ * - `crop` — the subject cut out of that frame around its box at that instant.
43594
+ * - `clean` — the whole scene with nothing drawn on it.
43595
+ * - `none` — no picture.
43596
+ *
43597
+ * A mode that cannot be honoured (no box at that instant, a photograph with no
43598
+ * tracked subject) ships `clean` and names the reason in the log, per camera.
43599
+ * It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
43600
+ * ship a crop on one event and a boxed scene on the next depending on which
43601
+ * stored kind had landed.
43602
+ */
43603
+ var NcMediaImageSchema = _enum([
43604
+ "scene-boxes",
43605
+ "crop",
43606
+ "clean",
43607
+ "none"
43608
+ ]);
43609
+ /**
43610
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
43611
+ *
43321
43612
  * Media attachment policy (P1 still-image subset).
43322
43613
  * - `best` — the best AVAILABLE subject image at dispatch time (D-3).
43323
43614
  * - `best-matching` — the media that explains WHY the rule fired: a rule
@@ -43331,6 +43622,8 @@ var NcRuleTargetSchema = object({
43331
43622
  * - `none` — no attachment.
43332
43623
  */
43333
43624
  /**
43625
+ * @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
43626
+ *
43334
43627
  * WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
43335
43628
  * conflate it with the selection strategy and betray the request: asking for
43336
43629
  * the clean scene frame on an object-event owner used to start at
@@ -43359,16 +43652,29 @@ var NcMediaFrameSchema = _enum([
43359
43652
  */
43360
43653
  var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
43361
43654
  var NcMediaPolicySchema = object({
43655
+ /**
43656
+ * The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
43657
+ * saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
43658
+ * triple below, at load and at every write, and the store keeps only this.
43659
+ */
43660
+ image: NcMediaImageSchema.optional(),
43661
+ /**
43662
+ * Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
43663
+ * a `crop` never shows it). Valid only on a rule whose trigger is a zone —
43664
+ * `conditions.zones` or an occupancy zone — and refused on save otherwise.
43665
+ * Replaces `zoneCrop`.
43666
+ */
43667
+ showTriggerZone: boolean().optional(),
43668
+ /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
43362
43669
  attach: _enum([
43363
43670
  "best",
43364
43671
  "best-matching",
43365
43672
  "keyFrame",
43366
43673
  "none"
43367
- ]).default("best"),
43368
- /** What the still shows. Absent = `cropped` (the historical `best` shape). */
43674
+ ]).optional(),
43675
+ /** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
43369
43676
  frame: NcMediaFrameSchema.optional(),
43370
- /** Crop the attached still to the rule's condition-zone bbox (padded) —
43371
- * "show me the ZONE", not the whole scene or the subject crop. */
43677
+ /** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
43372
43678
  zoneCrop: boolean().optional(),
43373
43679
  /**
43374
43680
  * Also attach a short GIF cut from the stream broker's clip ring around the
@@ -43540,7 +43846,9 @@ var NcRuleInputSchema = object({
43540
43846
  * targets.
43541
43847
  */
43542
43848
  targetUsers: array(string()).optional(),
43543
- media: NcMediaPolicySchema.default({ attach: "best" }),
43849
+ /** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
43850
+ * detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
43851
+ media: NcMediaPolicySchema.default({}),
43544
43852
  throttle: NcThrottleSchema.default({
43545
43853
  cooldownSec: 60,
43546
43854
  scope: "rule-device"
@@ -44477,13 +44785,37 @@ var NcAlarmModeOpeningsSchema = object({
44477
44785
  /** Covered devices whose state could not be read (D49): neither open nor closed. */
44478
44786
  unknown: array(number().int())
44479
44787
  });
44788
+ /**
44789
+ * One alarm INPUT — a (rule, device) pair — the operator bypassed until the
44790
+ * next disarm ("Bypass this input until disarm" on a trigger notification, or
44791
+ * `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
44792
+ * never looks fully armed (D62: off must never look like broken).
44793
+ */
44794
+ var NcAlarmInputBypassViewSchema = object({
44795
+ ruleId: string(),
44796
+ /** The rule's current name (its frozen name when the rule is gone). */
44797
+ ruleName: string(),
44798
+ /** The input: the sensor of the match, else its camera. */
44799
+ deviceId: number().int(),
44800
+ /** The input's current name. */
44801
+ name: string(),
44802
+ /** When it was bypassed (ms epoch). */
44803
+ since: number(),
44804
+ /** Triggers from this input dropped since. */
44805
+ dropped: number().int().min(0)
44806
+ });
44480
44807
  var NcAlarmLiveSchema = object({
44481
44808
  state: AlarmStateSchema,
44482
44809
  /** The mode being armed into (exit delay) or held; null when disarmed. */
44483
44810
  targetMode: AlarmArmModeSchema.nullable(),
44484
44811
  availableModes: array(AlarmArmModeSchema),
44485
44812
  openings: array(NcAlarmModeOpeningsSchema),
44486
- exclusions: array(NcAlarmExclusionViewSchema)
44813
+ exclusions: array(NcAlarmExclusionViewSchema),
44814
+ /**
44815
+ * Inputs bypassed for the rest of this arm session; cleared on disarm.
44816
+ * Defaulted so an older hub answer still parses (as "none known").
44817
+ */
44818
+ bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
44487
44819
  });
44488
44820
  var NcAlarmConfigSchema = object({
44489
44821
  /**
@@ -55724,9 +56056,11 @@ var connectivityCapability = {
55724
56056
  */
55725
56057
  durability: "restored",
55726
56058
  /**
55727
- * History (D850): none — duplicates device-status.online (one authority for availability).
56059
+ * History (D850): `connected` as a boolean series — change-only, no floor. It
56060
+ * is the upstream entity's own link (a HA connectivity sensor), not the
56061
+ * device's reachability, which stays `device-status.online`.
55728
56062
  */
55729
- history: "none",
56063
+ history: { fields: { connected: { kind: "boolean" } } },
55730
56064
  /** Clock fields: written, but excluded from the compare that decides
55731
56065
  * whether persisting is worth a SQLite commit. */
55732
56066
  volatileStateFields: ["lastChangedAt"]
@@ -56550,11 +56884,22 @@ var dishwasherCapability = {
56550
56884
  },
56551
56885
  runtimeState: DishwasherStatusSchema,
56552
56886
  durability: "session",
56553
- history: { fields: { progressPercent: {
56554
- kind: "gauge",
56555
- unit: "%",
56556
- deadband: 2
56557
- } } }
56887
+ history: { fields: {
56888
+ progressPercent: {
56889
+ kind: "gauge",
56890
+ unit: "%",
56891
+ deadband: 2
56892
+ },
56893
+ state: { kind: "enum" },
56894
+ operationState: { kind: "enum" },
56895
+ remainingSeconds: {
56896
+ kind: "gauge",
56897
+ unit: "s",
56898
+ minIntervalMs: 6e4
56899
+ },
56900
+ doorOpen: { kind: "boolean" },
56901
+ powerOn: { kind: "boolean" }
56902
+ } }
56558
56903
  };
56559
56904
  var DoorbellStatusSchema = object({
56560
56905
  /** Ms epoch of the last press. null = never observed since this provider started. */
@@ -56671,9 +57016,15 @@ var enumSensorCapability = {
56671
57016
  */
56672
57017
  durability: "restored",
56673
57018
  /**
56674
- * History (D850): none — text/enum state has no history (non-goal).
57019
+ * History (D850): the value as an `enum` series (an appliance's program or
57020
+ * operation state, an HVAC action). The option set is per device, so the
57021
+ * value list is LEARNED as values are first seen (bounded). A sensor with a
57022
+ * `format` carries a timestamp, not a state, and is not recorded.
56675
57023
  */
56676
- history: "none",
57024
+ history: { fields: { value: {
57025
+ kind: "enum",
57026
+ skipWhenSet: "format"
57027
+ } } },
56677
57028
  /** Clock fields: written, but excluded from the compare that decides
56678
57029
  * whether persisting is worth a SQLite commit. */
56679
57030
  volatileStateFields: ["lastFetchedAt"]
@@ -58647,9 +58998,10 @@ var lockControlCapability = {
58647
58998
  */
58648
58999
  durability: "restored",
58649
59000
  /**
58650
- * History (D850): none — enum state; lock events belong in the events ledger.
59001
+ * History (D850): the lock's state as an `enum` series — change-only, no
59002
+ * floor: a jam or an unlock lasting seconds is the edge an operator looks for.
58651
59003
  */
58652
- history: "none",
59004
+ history: { fields: { state: { kind: "enum" } } },
58653
59005
  /** Clock fields: written, but excluded from the compare that decides
58654
59006
  * whether persisting is worth a SQLite commit. */
58655
59007
  volatileStateFields: ["lastChangedAt"]
@@ -58823,9 +59175,18 @@ var mediaPlayerCapability = {
58823
59175
  */
58824
59176
  durability: "session",
58825
59177
  /**
58826
- * History (D850): none — `positionMs` moves continuously while playing; volume is transient.
59178
+ * History (D850): volume (a level an operator or an automation sets; the
59179
+ * default 10 s floor folds a slider drag into its end value) and mute.
59180
+ * `positionMs` is not recorded: it moves continuously while playing.
58827
59181
  */
58828
- history: "none"
59182
+ history: { fields: {
59183
+ volumeLevel: {
59184
+ kind: "gauge",
59185
+ unit: "%",
59186
+ deadband: 1
59187
+ },
59188
+ isMuted: { kind: "boolean" }
59189
+ } }
58829
59190
  };
58830
59191
  /**
58831
59192
  * mesh-network — collection cap for mesh-VPN providers.
@@ -64481,9 +64842,29 @@ var streamParamsCapability = {
64481
64842
  */
64482
64843
  durability: "restored",
64483
64844
  /**
64484
- * History (D850): none — encoder configuration.
64845
+ * History (D850): the configured bitrate and frame rate of the main and sub
64846
+ * profiles. Configuration, so change-only on the default floor: a point is an
64847
+ * operator's (or a tuner's) edit, which is exactly what a chart of a stream's
64848
+ * quality over time must show.
64485
64849
  */
64486
- history: "none",
64850
+ history: { fields: {
64851
+ "main.bitrate": {
64852
+ kind: "gauge",
64853
+ unit: "kbps"
64854
+ },
64855
+ "main.framerate": {
64856
+ kind: "gauge",
64857
+ unit: "fps"
64858
+ },
64859
+ "sub.bitrate": {
64860
+ kind: "gauge",
64861
+ unit: "kbps"
64862
+ },
64863
+ "sub.framerate": {
64864
+ kind: "gauge",
64865
+ unit: "fps"
64866
+ }
64867
+ } },
64487
64868
  /** Clock fields: written, but excluded from the compare that decides
64488
64869
  * whether persisting is worth a SQLite commit. */
64489
64870
  volatileStateFields: ["lastFetchedAt"]
@@ -65516,26 +65897,6 @@ var ApiKeySummarySchema = object({
65516
65897
  createdAt: number(),
65517
65898
  lastUsedAt: number().optional()
65518
65899
  });
65519
- var ScopedTokenSummarySchema = object({
65520
- id: string(),
65521
- userId: string(),
65522
- name: string(),
65523
- tokenPrefix: string(),
65524
- scopes: array(TokenScopeSchema),
65525
- expiresAt: number().nullish(),
65526
- lastUsedAt: number().nullish(),
65527
- createdAt: number()
65528
- });
65529
- var CreateScopedTokenInputSchema = object({
65530
- userId: string(),
65531
- name: string(),
65532
- scopes: array(TokenScopeSchema),
65533
- expiresAt: number().optional()
65534
- });
65535
- var CreateScopedTokenResultSchema = object({
65536
- token: string(),
65537
- record: ScopedTokenSummarySchema
65538
- });
65539
65900
  var OauthSessionSummarySchema = object({
65540
65901
  id: string(),
65541
65902
  userId: string(),
@@ -65557,11 +65918,11 @@ var TotpStatusSchema = object({
65557
65918
  confirmedAt: number().nullable()
65558
65919
  });
65559
65920
  /**
65560
- * user-management — singleton capability for user accounts, API keys,
65561
- * and scoped tokens.
65921
+ * user-management — singleton capability for user accounts and the
65922
+ * legacy API-key rows.
65562
65923
  *
65563
65924
  * v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
65564
- * — the subset check on `setUserScopes` / `createScopedToken` is moot
65925
+ * — the subset check on `setUserScopes` is moot
65565
65926
  * because non-admins never reach these. If/when we open non-admin
65566
65927
  * delegation, structural caller-scope subset check goes inside the
65567
65928
  * provider.
@@ -65618,15 +65979,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
65618
65979
  kind: "mutation",
65619
65980
  auth: "admin",
65620
65981
  access: "delete"
65621
- }), method(CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, {
65622
- kind: "mutation",
65623
- auth: "admin",
65624
- access: "create"
65625
- }), method(object({ id: string() }), object({ success: literal(true) }), {
65626
- kind: "mutation",
65627
- auth: "admin",
65628
- access: "delete"
65629
- }), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
65982
+ }), method(object({ userId: string() }), TotpSetupResultSchema, {
65630
65983
  kind: "mutation",
65631
65984
  auth: "admin",
65632
65985
  access: "create"
@@ -67902,6 +68255,15 @@ var BaseDevice = class {
67902
68255
  * Drivers can use the `getProbeFlags()` helper to read the flag bag
67903
68256
  * with a typed cast.
67904
68257
  *
68258
+ * Answer what you KNOW. A plain array is read as the complete list only
68259
+ * while this device is `online` and probed; return
68260
+ * `accessoryChildrenUnknown(reason)` whenever you cannot know the list right
68261
+ * now (no credentials, parent not connected, a failed or partial read) —
68262
+ * the kernel then deletes nothing. Return `accessoryChildrenComplete(list)`
68263
+ * to say "connected, and this is the complete list" explicitly. A shrink is
68264
+ * deleted only after a second agreeing complete read on a later probe (D49;
68265
+ * `packages/system/src/kernel/moleculer/accessory-prune-gate.ts`).
68266
+ *
67905
68267
  * Default: no children.
67906
68268
  */
67907
68269
  getAccessoryChildren() {
@@ -71735,7 +72097,7 @@ Object.freeze({
71735
72097
  capName: "llm",
71736
72098
  capScope: "system",
71737
72099
  addonId: null,
71738
- access: "view"
72100
+ access: "create"
71739
72101
  },
71740
72102
  "llm.listNodeModels": {
71741
72103
  capName: "llm",
@@ -72037,7 +72399,19 @@ Object.freeze({
72037
72399
  addonId: null,
72038
72400
  access: "view"
72039
72401
  },
72040
- "logDestination.query": {
72402
+ "logDestination.cancelRead": {
72403
+ capName: "log-destination",
72404
+ capScope: "system",
72405
+ addonId: null,
72406
+ access: "create"
72407
+ },
72408
+ "logDestination.describeRead": {
72409
+ capName: "log-destination",
72410
+ capScope: "system",
72411
+ addonId: null,
72412
+ access: "view"
72413
+ },
72414
+ "logDestination.read": {
72041
72415
  capName: "log-destination",
72042
72416
  capScope: "system",
72043
72417
  addonId: null,
@@ -76399,12 +76773,6 @@ Object.freeze({
76399
76773
  addonId: null,
76400
76774
  access: "create"
76401
76775
  },
76402
- "userManagement.createScopedToken": {
76403
- capName: "user-management",
76404
- capScope: "system",
76405
- addonId: null,
76406
- access: "create"
76407
- },
76408
76776
  "userManagement.createUser": {
76409
76777
  capName: "user-management",
76410
76778
  capScope: "system",
@@ -76453,12 +76821,6 @@ Object.freeze({
76453
76821
  addonId: null,
76454
76822
  access: "view"
76455
76823
  },
76456
- "userManagement.listScopedTokens": {
76457
- capName: "user-management",
76458
- capScope: "system",
76459
- addonId: null,
76460
- access: "view"
76461
- },
76462
76824
  "userManagement.listUsers": {
76463
76825
  capName: "user-management",
76464
76826
  capScope: "system",
@@ -76513,12 +76875,6 @@ Object.freeze({
76513
76875
  addonId: null,
76514
76876
  access: "delete"
76515
76877
  },
76516
- "userManagement.revokeScopedToken": {
76517
- capName: "user-management",
76518
- capScope: "system",
76519
- addonId: null,
76520
- access: "delete"
76521
- },
76522
76878
  "userManagement.setupTotp": {
76523
76879
  capName: "user-management",
76524
76880
  capScope: "system",
@@ -76549,12 +76905,6 @@ Object.freeze({
76549
76905
  addonId: null,
76550
76906
  access: "view"
76551
76907
  },
76552
- "userManagement.validateScopedToken": {
76553
- capName: "user-management",
76554
- capScope: "system",
76555
- addonId: null,
76556
- access: "view"
76557
- },
76558
76908
  "userManagement.verifyTotp": {
76559
76909
  capName: "user-management",
76560
76910
  capScope: "system",
@@ -78286,6 +78636,11 @@ Object.freeze({
78286
78636
  form: "single",
78287
78637
  optional: false
78288
78638
  }],
78639
+ "logDestination.read": [{
78640
+ name: "deviceId",
78641
+ form: "single",
78642
+ optional: true
78643
+ }],
78289
78644
  "mediaPlayer.getStatus": [{
78290
78645
  name: "deviceId",
78291
78646
  form: "single",