@camstack/addon-osd-manager 0.1.249 → 0.1.251
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.
- package/dist/{MotionZonesSettings-Cx-ryFCz.mjs → MotionZonesSettings-Dt-Q9Ivx.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-B9BuXw-4.mjs → PrivacyMaskSettings-Bn2xsfmP.mjs} +4 -4
- package/dist/{SceneMonitorEditor-CH999FH_.mjs → SceneMonitorEditor-DX0x6K6Q.mjs} +3 -3
- package/dist/_stub.js +37 -27
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-DM9Sbo7x.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-BDroCUxK.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Du370Kwi.mjs +26 -0
- package/dist/{hostInit-BOPePnxq.mjs → hostInit-D9Cw09jV.mjs} +3 -3
- package/dist/index.js +441 -136
- package/dist/index.mjs +441 -136
- package/dist/{player-overlays-DMB_7GA5.mjs → player-overlays-DVBaEcfL.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-DHfzTP5J.mjs → responsive-gE0QNPjl.mjs} +1 -1
- package/dist/{scene-monitor-copy-69r6Iia3.mjs → scene-monitor-copy-DGVsUCFs.mjs} +1 -1
- package/dist/{square-BUOcGLAx.mjs → square-DawJOW8W.mjs} +1 -1
- package/dist/{trash-2-yb-HZwuH.mjs → trash-2-D78jZMte.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BSYsIfpz.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-DfmaA8KI.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B_G3Hrj-.mjs +0 -26
package/dist/index.js
CHANGED
|
@@ -5417,7 +5417,7 @@ var ZodIssueCode = {
|
|
|
5417
5417
|
var ZodFirstPartyTypeKind;
|
|
5418
5418
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5419
5419
|
//#endregion
|
|
5420
|
-
//#region ../types/dist/sleep-
|
|
5420
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5421
5421
|
/**
|
|
5422
5422
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5423
5423
|
* window to float samples (D455).
|
|
@@ -7800,9 +7800,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7800
7800
|
return result;
|
|
7801
7801
|
}
|
|
7802
7802
|
/**
|
|
7803
|
-
* The share-view scope kinds a
|
|
7804
|
-
* and validates them (`
|
|
7805
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7803
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7804
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7805
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7806
7806
|
*/
|
|
7807
7807
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7808
7808
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12411,7 +12411,7 @@ var ConvertResultSchema = object({
|
|
|
12411
12411
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12412
12412
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12413
12413
|
* distinction was only ever used to route role-specific procedures
|
|
12414
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12414
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12415
12415
|
* with `isAdmin: false` + an explicit scope list.
|
|
12416
12416
|
*/
|
|
12417
12417
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12600,10 +12600,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12600
12600
|
type: literal("addon-routes"),
|
|
12601
12601
|
access: array(MethodAccessSchema).min(1)
|
|
12602
12602
|
});
|
|
12603
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12603
12604
|
var CredentialScopeSchema = union([
|
|
12604
12605
|
literal("*"),
|
|
12605
12606
|
ShareViewScopeSchema,
|
|
12606
12607
|
AddonRoutesScopeSchema,
|
|
12608
|
+
PreferencesSelfScopeSchema,
|
|
12607
12609
|
TokenScopeSchema
|
|
12608
12610
|
]);
|
|
12609
12611
|
object({
|
|
@@ -12612,6 +12614,55 @@ object({
|
|
|
12612
12614
|
jti: string().min(16),
|
|
12613
12615
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12614
12616
|
});
|
|
12617
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12618
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12619
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12620
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12621
|
+
/** A stored row, as the owner reads it. */
|
|
12622
|
+
var PreferenceRowSchema = object({
|
|
12623
|
+
namespace: PreferenceNamespaceSchema,
|
|
12624
|
+
value: PreferenceValueSchema,
|
|
12625
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12626
|
+
revision: number().int().positive(),
|
|
12627
|
+
updatedAt: number().int(),
|
|
12628
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12629
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12630
|
+
});
|
|
12631
|
+
object({
|
|
12632
|
+
/** Absent: every namespace the caller holds. */
|
|
12633
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12634
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12635
|
+
object({
|
|
12636
|
+
namespace: PreferenceNamespaceSchema,
|
|
12637
|
+
value: PreferenceValueSchema,
|
|
12638
|
+
/**
|
|
12639
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12640
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12641
|
+
* revision answers `conflict` and writes nothing.
|
|
12642
|
+
*/
|
|
12643
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12644
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12645
|
+
});
|
|
12646
|
+
discriminatedUnion("status", [object({
|
|
12647
|
+
status: literal("saved"),
|
|
12648
|
+
row: PreferenceRowSchema
|
|
12649
|
+
}), object({
|
|
12650
|
+
status: literal("conflict"),
|
|
12651
|
+
current: PreferenceRowSchema.nullable()
|
|
12652
|
+
})]);
|
|
12653
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12654
|
+
object({
|
|
12655
|
+
/** `false` when the namespace did not exist. */
|
|
12656
|
+
deleted: boolean() });
|
|
12657
|
+
object({
|
|
12658
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12659
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12660
|
+
object({
|
|
12661
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12662
|
+
rows: array(PreferenceRowSchema),
|
|
12663
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12664
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12665
|
+
});
|
|
12615
12666
|
_enum(["new-session", "step-up"]);
|
|
12616
12667
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12617
12668
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -16776,7 +16827,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
16776
16827
|
kind: literal("node"),
|
|
16777
16828
|
nodeId: string().min(1)
|
|
16778
16829
|
})]);
|
|
16830
|
+
/**
|
|
16831
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
16832
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
16833
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
16834
|
+
*/
|
|
16779
16835
|
var DeviceHistoryKindSchema = _enum([
|
|
16836
|
+
"gauge",
|
|
16837
|
+
"counter",
|
|
16838
|
+
"boolean",
|
|
16839
|
+
"enum"
|
|
16840
|
+
]);
|
|
16841
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
16842
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
16780
16843
|
"gauge",
|
|
16781
16844
|
"counter",
|
|
16782
16845
|
"boolean"
|
|
@@ -16813,7 +16876,13 @@ var SeriesInfoSchema = object({
|
|
|
16813
16876
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
16814
16877
|
unit: string().nullable(),
|
|
16815
16878
|
displayName: string(),
|
|
16816
|
-
source: _enum([
|
|
16879
|
+
source: _enum([
|
|
16880
|
+
"cap",
|
|
16881
|
+
"addon",
|
|
16882
|
+
"derived"
|
|
16883
|
+
]),
|
|
16884
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
16885
|
+
values: array(string()).readonly().nullable(),
|
|
16817
16886
|
firstTs: number(),
|
|
16818
16887
|
lastTs: number()
|
|
16819
16888
|
});
|
|
@@ -16827,17 +16896,31 @@ var QueryPointSchema = object({
|
|
|
16827
16896
|
twMean: number().nullable(),
|
|
16828
16897
|
min: number(),
|
|
16829
16898
|
max: number(),
|
|
16830
|
-
/** `null` is unknown, never zero (D393). */
|
|
16831
|
-
last: number().nullable()
|
|
16899
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
16900
|
+
last: number().nullable(),
|
|
16901
|
+
/**
|
|
16902
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
16903
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
16904
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
16905
|
+
* every other kind, and when it cannot be known.
|
|
16906
|
+
*/
|
|
16907
|
+
delta: number().nullable(),
|
|
16908
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
16909
|
+
state: string().nullable(),
|
|
16910
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
16911
|
+
states: record(string(), number()).nullable()
|
|
16832
16912
|
});
|
|
16833
16913
|
var QuerySeriesSchema = object({
|
|
16834
16914
|
scope: string(),
|
|
16835
16915
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
16836
16916
|
before: object({
|
|
16837
16917
|
t: number(),
|
|
16838
|
-
value: number().nullable()
|
|
16918
|
+
value: number().nullable(),
|
|
16919
|
+
state: string().nullable()
|
|
16839
16920
|
}).nullable(),
|
|
16840
|
-
points: array(QueryPointSchema).readonly()
|
|
16921
|
+
points: array(QueryPointSchema).readonly(),
|
|
16922
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
16923
|
+
derivedFrom: string().nullable()
|
|
16841
16924
|
});
|
|
16842
16925
|
/** The window part of a query, shared by the device and node forms. */
|
|
16843
16926
|
var QueryWindowShape = {
|
|
@@ -16853,6 +16936,23 @@ var QueryResultSchema = object({
|
|
|
16853
16936
|
series: array(QuerySeriesSchema).readonly(),
|
|
16854
16937
|
truncated: boolean()
|
|
16855
16938
|
});
|
|
16939
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
16940
|
+
var QueryManyItemSchema = union([object({
|
|
16941
|
+
deviceId: number().int(),
|
|
16942
|
+
key: string(),
|
|
16943
|
+
scope: string().optional()
|
|
16944
|
+
}), object({
|
|
16945
|
+
forNodeId: string().min(1),
|
|
16946
|
+
key: string(),
|
|
16947
|
+
scope: string().optional()
|
|
16948
|
+
})]);
|
|
16949
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
16950
|
+
ok: literal(true),
|
|
16951
|
+
result: QueryResultSchema
|
|
16952
|
+
}), object({
|
|
16953
|
+
ok: literal(false),
|
|
16954
|
+
error: string()
|
|
16955
|
+
})]);
|
|
16856
16956
|
var TierStatusSchema = object({
|
|
16857
16957
|
tier: DeviceHistoryResolutionSchema,
|
|
16858
16958
|
/** `null` until the first background count answered. */
|
|
@@ -16908,16 +17008,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
16908
17008
|
lastRefreshAt: number().nullable()
|
|
16909
17009
|
})
|
|
16910
17010
|
});
|
|
16911
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
17011
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
16912
17012
|
deviceId: number().int(),
|
|
16913
17013
|
...QueryWindowShape
|
|
16914
17014
|
}), QueryResultSchema), method(object({
|
|
16915
|
-
|
|
17015
|
+
forNodeId: string().min(1),
|
|
16916
17016
|
...QueryWindowShape
|
|
16917
17017
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
17018
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
17019
|
+
from: QueryWindowShape.from,
|
|
17020
|
+
to: QueryWindowShape.to,
|
|
17021
|
+
resolution: QueryWindowShape.resolution,
|
|
17022
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
17023
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
16918
17024
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
16919
17025
|
subjectKind: _enum(["device", "node"]),
|
|
16920
|
-
kind:
|
|
17026
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
16921
17027
|
unit: string().optional(),
|
|
16922
17028
|
displayName: string().min(1),
|
|
16923
17029
|
ingest: _enum(["points", "buckets"])
|
|
@@ -39552,38 +39658,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39552
39658
|
auth: "admin",
|
|
39553
39659
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39554
39660
|
});
|
|
39661
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
39662
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
39663
|
+
var LlmModelFeaturesSchema = object({
|
|
39664
|
+
vision: boolean(),
|
|
39665
|
+
tools: boolean(),
|
|
39666
|
+
streaming: boolean()
|
|
39667
|
+
});
|
|
39668
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
39669
|
+
var LlmModelInfoSchema = object({
|
|
39670
|
+
id: string(),
|
|
39671
|
+
label: string().optional(),
|
|
39672
|
+
contextLength: number().int().positive().optional(),
|
|
39673
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
39674
|
+
});
|
|
39555
39675
|
/**
|
|
39556
|
-
*
|
|
39557
|
-
*
|
|
39558
|
-
*
|
|
39559
|
-
*
|
|
39560
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39561
|
-
*
|
|
39562
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39563
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39564
|
-
* write; a stored key NEVER round-trips to a client.
|
|
39676
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
39677
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
39678
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
39679
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39565
39680
|
*/
|
|
39566
|
-
var
|
|
39567
|
-
"openai-compatible",
|
|
39568
|
-
"openai",
|
|
39569
|
-
"anthropic",
|
|
39570
|
-
"google",
|
|
39571
|
-
"managed-local",
|
|
39572
|
-
"apple-foundation"
|
|
39573
|
-
]);
|
|
39681
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39574
39682
|
var LlmProfileSchema = object({
|
|
39575
39683
|
id: string(),
|
|
39576
39684
|
name: string(),
|
|
39685
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39577
39686
|
kind: LlmProfileKindSchema,
|
|
39578
39687
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39579
39688
|
addonId: string(),
|
|
39580
39689
|
enabled: boolean(),
|
|
39581
39690
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39582
39691
|
model: string(),
|
|
39583
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39584
|
-
baseUrl: string().optional(),
|
|
39585
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39586
|
-
apiKey: string().optional(),
|
|
39587
39692
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39588
39693
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39589
39694
|
* question about a picture nobody sent. */
|
|
@@ -39591,15 +39696,11 @@ var LlmProfileSchema = object({
|
|
|
39591
39696
|
temperature: number().min(0).max(2).optional(),
|
|
39592
39697
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39593
39698
|
topP: number().min(0).max(1).optional(),
|
|
39594
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39595
|
-
*
|
|
39596
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39597
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
39699
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
39700
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39598
39701
|
topK: number().int().positive().optional(),
|
|
39599
39702
|
maxTokens: number().int().positive().optional(),
|
|
39600
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39601
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39602
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
39703
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39603
39704
|
contextLength: number().int().positive().optional(),
|
|
39604
39705
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39605
39706
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39625,16 +39726,37 @@ var LlmProfileSchema = object({
|
|
|
39625
39726
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39626
39727
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39627
39728
|
toolsEnabled: boolean().default(false),
|
|
39628
|
-
|
|
39629
|
-
|
|
39630
|
-
|
|
39631
|
-
|
|
39632
|
-
|
|
39633
|
-
|
|
39634
|
-
|
|
39635
|
-
|
|
39636
|
-
|
|
39637
|
-
|
|
39729
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
39730
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
39731
|
+
});
|
|
39732
|
+
/**
|
|
39733
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
39734
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
39735
|
+
*/
|
|
39736
|
+
var LlmProfileFieldSchema = _enum([
|
|
39737
|
+
"temperature",
|
|
39738
|
+
"topP",
|
|
39739
|
+
"topK",
|
|
39740
|
+
"maxTokens",
|
|
39741
|
+
"contextLength",
|
|
39742
|
+
"systemPrompt",
|
|
39743
|
+
"timeoutMs",
|
|
39744
|
+
"connectTimeoutMs",
|
|
39745
|
+
"firstTokenTimeoutMs",
|
|
39746
|
+
"idleTimeoutMs",
|
|
39747
|
+
"retry",
|
|
39748
|
+
"toolsEnabled"
|
|
39749
|
+
]);
|
|
39750
|
+
/**
|
|
39751
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
39752
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
39753
|
+
* picker: that widget owns the model choice.
|
|
39754
|
+
*/
|
|
39755
|
+
var LlmProviderWidgetSchema = object({
|
|
39756
|
+
id: string(),
|
|
39757
|
+
placement: _enum(["connection", "model"]),
|
|
39758
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
39759
|
+
requires: array(string()).optional()
|
|
39638
39760
|
});
|
|
39639
39761
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
39640
39762
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -39643,11 +39765,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
39643
39765
|
var LlmProfileKindDescriptorSchema = object({
|
|
39644
39766
|
kind: LlmProfileKindSchema,
|
|
39645
39767
|
label: string(),
|
|
39768
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
39646
39769
|
icon: string(),
|
|
39647
39770
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
39648
39771
|
addonId: string(),
|
|
39649
|
-
|
|
39772
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
39773
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
39774
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
39775
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
39776
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
39777
|
+
features: LlmModelFeaturesSchema,
|
|
39778
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
39779
|
+
visionEditable: boolean(),
|
|
39780
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
39781
|
+
modelCatalog: _enum([
|
|
39782
|
+
"fetch",
|
|
39783
|
+
"static",
|
|
39784
|
+
"none"
|
|
39785
|
+
]),
|
|
39786
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
39787
|
+
/** The common fields that mean something on this kind's wire. */
|
|
39788
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
39789
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
39650
39790
|
});
|
|
39791
|
+
/**
|
|
39792
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
39793
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
39794
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
39795
|
+
* stored profile — the browser never receives it.
|
|
39796
|
+
*/
|
|
39797
|
+
var LlmListModelsInputSchema = object({
|
|
39798
|
+
addonId: string(),
|
|
39799
|
+
kind: LlmProfileKindSchema,
|
|
39800
|
+
profileId: string().optional(),
|
|
39801
|
+
connection: LlmProviderConfigSchema.optional()
|
|
39802
|
+
});
|
|
39803
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
39804
|
+
"auth",
|
|
39805
|
+
"network",
|
|
39806
|
+
"unsupported",
|
|
39807
|
+
"invalid"
|
|
39808
|
+
]);
|
|
39809
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
39810
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
39811
|
+
ok: literal(true),
|
|
39812
|
+
models: array(LlmModelInfoSchema)
|
|
39813
|
+
}), object({
|
|
39814
|
+
ok: literal(false),
|
|
39815
|
+
code: LlmListModelsErrorCodeSchema,
|
|
39816
|
+
message: string()
|
|
39817
|
+
})]);
|
|
39651
39818
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
39652
39819
|
var LlmDefaultSchema = object({
|
|
39653
39820
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -39747,7 +39914,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
39747
39914
|
kind: "mutation",
|
|
39748
39915
|
auth: "admin",
|
|
39749
39916
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39750
|
-
}), method(
|
|
39917
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
39918
|
+
kind: "mutation",
|
|
39919
|
+
auth: "admin"
|
|
39920
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
39751
39921
|
selector: LlmDefaultSelectorSchema,
|
|
39752
39922
|
profileId: string().nullable()
|
|
39753
39923
|
}), _void(), {
|
|
@@ -39915,14 +40085,106 @@ var LogEntrySchema = object({
|
|
|
39915
40085
|
meta: record(string(), unknown()).optional(),
|
|
39916
40086
|
tags: record(string(), string()).optional()
|
|
39917
40087
|
});
|
|
39918
|
-
|
|
39919
|
-
|
|
40088
|
+
/**
|
|
40089
|
+
* A history READ against one destination (D898).
|
|
40090
|
+
*
|
|
40091
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
40092
|
+
* browser applied after the limit is what made a rare device's lines
|
|
40093
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
40094
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
40095
|
+
* nanosecond timestamp for Loki.
|
|
40096
|
+
*
|
|
40097
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
40098
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
40099
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
40100
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
40101
|
+
* flight, and not asking for the next slice ends the scan.
|
|
40102
|
+
*/
|
|
40103
|
+
var LogReadQuerySchema = object({
|
|
40104
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
40105
|
+
requestId: string().min(1).max(64).optional(),
|
|
40106
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
40107
|
+
deviceId: number().int().optional(),
|
|
40108
|
+
/**
|
|
40109
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
40110
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
40111
|
+
*/
|
|
40112
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
40113
|
+
/**
|
|
40114
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
40115
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
40116
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
40117
|
+
* name as "which node's provider".
|
|
40118
|
+
*/
|
|
40119
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
40120
|
+
/** Any other tag, exact match (AND). */
|
|
40121
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40122
|
+
/** Severity FLOOR: this level and above. */
|
|
39920
40123
|
level: LogLevelSchema.optional(),
|
|
39921
|
-
|
|
39922
|
-
|
|
39923
|
-
|
|
39924
|
-
|
|
39925
|
-
|
|
40124
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
40125
|
+
text: string().min(1).max(200).optional(),
|
|
40126
|
+
/** Epoch ms, inclusive. */
|
|
40127
|
+
since: number().optional(),
|
|
40128
|
+
/** Epoch ms, inclusive. */
|
|
40129
|
+
until: number().optional(),
|
|
40130
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
40131
|
+
before: string().min(1).max(1024).optional(),
|
|
40132
|
+
/** Newer than this cursor (exclusive). */
|
|
40133
|
+
after: string().min(1).max(1024).optional(),
|
|
40134
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
40135
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
40136
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
40137
|
+
});
|
|
40138
|
+
var LogReadResultSchema = object({
|
|
40139
|
+
/** Newest first. */
|
|
40140
|
+
entries: array(object({
|
|
40141
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
40142
|
+
id: string().optional(),
|
|
40143
|
+
/** Epoch ms. */
|
|
40144
|
+
timestamp: number(),
|
|
40145
|
+
level: LogLevelSchema,
|
|
40146
|
+
scope: string().optional(),
|
|
40147
|
+
message: string(),
|
|
40148
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40149
|
+
meta: record(string(), unknown()).optional()
|
|
40150
|
+
})),
|
|
40151
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
40152
|
+
nextBefore: string().nullable(),
|
|
40153
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
40154
|
+
nextAfter: string().nullable(),
|
|
40155
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
40156
|
+
scannedBytes: number().int().nonnegative(),
|
|
40157
|
+
/**
|
|
40158
|
+
* True when the scan in this direction reached the end of the store.
|
|
40159
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
40160
|
+
* call again with `nextBefore` to go on.
|
|
40161
|
+
*/
|
|
40162
|
+
done: boolean(),
|
|
40163
|
+
/** True when `cancelRead` ended this slice early. */
|
|
40164
|
+
cancelled: boolean().optional()
|
|
40165
|
+
});
|
|
40166
|
+
var LogReadCapabilitiesSchema = object({
|
|
40167
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
40168
|
+
readable: boolean(),
|
|
40169
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
40170
|
+
reason: string().nullable(),
|
|
40171
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
40172
|
+
filters: object({
|
|
40173
|
+
deviceId: boolean(),
|
|
40174
|
+
addonId: boolean(),
|
|
40175
|
+
nodeId: boolean(),
|
|
40176
|
+
tags: boolean(),
|
|
40177
|
+
level: boolean(),
|
|
40178
|
+
text: boolean(),
|
|
40179
|
+
timeRange: boolean()
|
|
40180
|
+
}),
|
|
40181
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
40182
|
+
retentionDays: number().nullable()
|
|
40183
|
+
});
|
|
40184
|
+
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() }), {
|
|
40185
|
+
kind: "mutation",
|
|
40186
|
+
auth: "admin"
|
|
40187
|
+
});
|
|
39926
40188
|
/**
|
|
39927
40189
|
* `login-method` — collection cap through which auth addons contribute
|
|
39928
40190
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -42478,6 +42740,33 @@ var NcRuleTargetSchema = object({
|
|
|
42478
42740
|
params: record(string(), unknown()).optional()
|
|
42479
42741
|
});
|
|
42480
42742
|
/**
|
|
42743
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
42744
|
+
*
|
|
42745
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
42746
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
42747
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
42748
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
42749
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
42750
|
+
* labelled with class and confidence ("dog 87%").
|
|
42751
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
42752
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
42753
|
+
* - `none` — no picture.
|
|
42754
|
+
*
|
|
42755
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
42756
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
42757
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
42758
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
42759
|
+
* stored kind had landed.
|
|
42760
|
+
*/
|
|
42761
|
+
var NcMediaImageSchema = _enum([
|
|
42762
|
+
"scene-boxes",
|
|
42763
|
+
"crop",
|
|
42764
|
+
"clean",
|
|
42765
|
+
"none"
|
|
42766
|
+
]);
|
|
42767
|
+
/**
|
|
42768
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
42769
|
+
*
|
|
42481
42770
|
* Media attachment policy (P1 still-image subset).
|
|
42482
42771
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
42483
42772
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -42491,6 +42780,8 @@ var NcRuleTargetSchema = object({
|
|
|
42491
42780
|
* - `none` — no attachment.
|
|
42492
42781
|
*/
|
|
42493
42782
|
/**
|
|
42783
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
42784
|
+
*
|
|
42494
42785
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
42495
42786
|
* conflate it with the selection strategy and betray the request: asking for
|
|
42496
42787
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -42519,16 +42810,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
42519
42810
|
*/
|
|
42520
42811
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
42521
42812
|
var NcMediaPolicySchema = object({
|
|
42813
|
+
/**
|
|
42814
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
42815
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
42816
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
42817
|
+
*/
|
|
42818
|
+
image: NcMediaImageSchema.optional(),
|
|
42819
|
+
/**
|
|
42820
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
42821
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
42822
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
42823
|
+
* Replaces `zoneCrop`.
|
|
42824
|
+
*/
|
|
42825
|
+
showTriggerZone: boolean().optional(),
|
|
42826
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42522
42827
|
attach: _enum([
|
|
42523
42828
|
"best",
|
|
42524
42829
|
"best-matching",
|
|
42525
42830
|
"keyFrame",
|
|
42526
42831
|
"none"
|
|
42527
|
-
]).
|
|
42528
|
-
/**
|
|
42832
|
+
]).optional(),
|
|
42833
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42529
42834
|
frame: NcMediaFrameSchema.optional(),
|
|
42530
|
-
/**
|
|
42531
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
42835
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
42532
42836
|
zoneCrop: boolean().optional(),
|
|
42533
42837
|
/**
|
|
42534
42838
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -42700,7 +43004,9 @@ var NcRuleInputSchema = object({
|
|
|
42700
43004
|
* targets.
|
|
42701
43005
|
*/
|
|
42702
43006
|
targetUsers: array(string()).optional(),
|
|
42703
|
-
|
|
43007
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
43008
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
43009
|
+
media: NcMediaPolicySchema.default({}),
|
|
42704
43010
|
throttle: NcThrottleSchema.default({
|
|
42705
43011
|
cooldownSec: 60,
|
|
42706
43012
|
scope: "rule-device"
|
|
@@ -44217,13 +44523,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
44217
44523
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
44218
44524
|
unknown: array(number().int())
|
|
44219
44525
|
});
|
|
44526
|
+
/**
|
|
44527
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
44528
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
44529
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
44530
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
44531
|
+
*/
|
|
44532
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
44533
|
+
ruleId: string(),
|
|
44534
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
44535
|
+
ruleName: string(),
|
|
44536
|
+
/** The input: the sensor of the match, else its camera. */
|
|
44537
|
+
deviceId: number().int(),
|
|
44538
|
+
/** The input's current name. */
|
|
44539
|
+
name: string(),
|
|
44540
|
+
/** When it was bypassed (ms epoch). */
|
|
44541
|
+
since: number(),
|
|
44542
|
+
/** Triggers from this input dropped since. */
|
|
44543
|
+
dropped: number().int().min(0)
|
|
44544
|
+
});
|
|
44220
44545
|
var NcAlarmLiveSchema = object({
|
|
44221
44546
|
state: AlarmStateSchema,
|
|
44222
44547
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
44223
44548
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
44224
44549
|
availableModes: array(AlarmArmModeSchema),
|
|
44225
44550
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
44226
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
44551
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
44552
|
+
/**
|
|
44553
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
44554
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
44555
|
+
*/
|
|
44556
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
44227
44557
|
});
|
|
44228
44558
|
var NcAlarmConfigSchema = object({
|
|
44229
44559
|
/**
|
|
@@ -61384,26 +61714,6 @@ var ApiKeySummarySchema = object({
|
|
|
61384
61714
|
createdAt: number(),
|
|
61385
61715
|
lastUsedAt: number().optional()
|
|
61386
61716
|
});
|
|
61387
|
-
var ScopedTokenSummarySchema = object({
|
|
61388
|
-
id: string(),
|
|
61389
|
-
userId: string(),
|
|
61390
|
-
name: string(),
|
|
61391
|
-
tokenPrefix: string(),
|
|
61392
|
-
scopes: array(TokenScopeSchema),
|
|
61393
|
-
expiresAt: number().nullish(),
|
|
61394
|
-
lastUsedAt: number().nullish(),
|
|
61395
|
-
createdAt: number()
|
|
61396
|
-
});
|
|
61397
|
-
var CreateScopedTokenInputSchema = object({
|
|
61398
|
-
userId: string(),
|
|
61399
|
-
name: string(),
|
|
61400
|
-
scopes: array(TokenScopeSchema),
|
|
61401
|
-
expiresAt: number().optional()
|
|
61402
|
-
});
|
|
61403
|
-
var CreateScopedTokenResultSchema = object({
|
|
61404
|
-
token: string(),
|
|
61405
|
-
record: ScopedTokenSummarySchema
|
|
61406
|
-
});
|
|
61407
61717
|
var OauthSessionSummarySchema = object({
|
|
61408
61718
|
id: string(),
|
|
61409
61719
|
userId: string(),
|
|
@@ -61425,11 +61735,11 @@ var TotpStatusSchema = object({
|
|
|
61425
61735
|
confirmedAt: number().nullable()
|
|
61426
61736
|
});
|
|
61427
61737
|
/**
|
|
61428
|
-
* user-management — singleton capability for user accounts
|
|
61429
|
-
*
|
|
61738
|
+
* user-management — singleton capability for user accounts and the
|
|
61739
|
+
* legacy API-key rows.
|
|
61430
61740
|
*
|
|
61431
61741
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61432
|
-
* — the subset check on `setUserScopes`
|
|
61742
|
+
* — the subset check on `setUserScopes` is moot
|
|
61433
61743
|
* because non-admins never reach these. If/when we open non-admin
|
|
61434
61744
|
* delegation, structural caller-scope subset check goes inside the
|
|
61435
61745
|
* provider.
|
|
@@ -61486,15 +61796,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61486
61796
|
kind: "mutation",
|
|
61487
61797
|
auth: "admin",
|
|
61488
61798
|
access: "delete"
|
|
61489
|
-
}), method(
|
|
61490
|
-
kind: "mutation",
|
|
61491
|
-
auth: "admin",
|
|
61492
|
-
access: "create"
|
|
61493
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61494
|
-
kind: "mutation",
|
|
61495
|
-
auth: "admin",
|
|
61496
|
-
access: "delete"
|
|
61497
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61799
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61498
61800
|
kind: "mutation",
|
|
61499
61801
|
auth: "admin",
|
|
61500
61802
|
access: "create"
|
|
@@ -65966,7 +66268,7 @@ Object.freeze({
|
|
|
65966
66268
|
capName: "llm",
|
|
65967
66269
|
capScope: "system",
|
|
65968
66270
|
addonId: null,
|
|
65969
|
-
access: "
|
|
66271
|
+
access: "create"
|
|
65970
66272
|
},
|
|
65971
66273
|
"llm.listNodeModels": {
|
|
65972
66274
|
capName: "llm",
|
|
@@ -66268,7 +66570,19 @@ Object.freeze({
|
|
|
66268
66570
|
addonId: null,
|
|
66269
66571
|
access: "view"
|
|
66270
66572
|
},
|
|
66271
|
-
"logDestination.
|
|
66573
|
+
"logDestination.cancelRead": {
|
|
66574
|
+
capName: "log-destination",
|
|
66575
|
+
capScope: "system",
|
|
66576
|
+
addonId: null,
|
|
66577
|
+
access: "create"
|
|
66578
|
+
},
|
|
66579
|
+
"logDestination.describeRead": {
|
|
66580
|
+
capName: "log-destination",
|
|
66581
|
+
capScope: "system",
|
|
66582
|
+
addonId: null,
|
|
66583
|
+
access: "view"
|
|
66584
|
+
},
|
|
66585
|
+
"logDestination.read": {
|
|
66272
66586
|
capName: "log-destination",
|
|
66273
66587
|
capScope: "system",
|
|
66274
66588
|
addonId: null,
|
|
@@ -70630,12 +70944,6 @@ Object.freeze({
|
|
|
70630
70944
|
addonId: null,
|
|
70631
70945
|
access: "create"
|
|
70632
70946
|
},
|
|
70633
|
-
"userManagement.createScopedToken": {
|
|
70634
|
-
capName: "user-management",
|
|
70635
|
-
capScope: "system",
|
|
70636
|
-
addonId: null,
|
|
70637
|
-
access: "create"
|
|
70638
|
-
},
|
|
70639
70947
|
"userManagement.createUser": {
|
|
70640
70948
|
capName: "user-management",
|
|
70641
70949
|
capScope: "system",
|
|
@@ -70684,12 +70992,6 @@ Object.freeze({
|
|
|
70684
70992
|
addonId: null,
|
|
70685
70993
|
access: "view"
|
|
70686
70994
|
},
|
|
70687
|
-
"userManagement.listScopedTokens": {
|
|
70688
|
-
capName: "user-management",
|
|
70689
|
-
capScope: "system",
|
|
70690
|
-
addonId: null,
|
|
70691
|
-
access: "view"
|
|
70692
|
-
},
|
|
70693
70995
|
"userManagement.listUsers": {
|
|
70694
70996
|
capName: "user-management",
|
|
70695
70997
|
capScope: "system",
|
|
@@ -70744,12 +71046,6 @@ Object.freeze({
|
|
|
70744
71046
|
addonId: null,
|
|
70745
71047
|
access: "delete"
|
|
70746
71048
|
},
|
|
70747
|
-
"userManagement.revokeScopedToken": {
|
|
70748
|
-
capName: "user-management",
|
|
70749
|
-
capScope: "system",
|
|
70750
|
-
addonId: null,
|
|
70751
|
-
access: "delete"
|
|
70752
|
-
},
|
|
70753
71049
|
"userManagement.setupTotp": {
|
|
70754
71050
|
capName: "user-management",
|
|
70755
71051
|
capScope: "system",
|
|
@@ -70780,12 +71076,6 @@ Object.freeze({
|
|
|
70780
71076
|
addonId: null,
|
|
70781
71077
|
access: "view"
|
|
70782
71078
|
},
|
|
70783
|
-
"userManagement.validateScopedToken": {
|
|
70784
|
-
capName: "user-management",
|
|
70785
|
-
capScope: "system",
|
|
70786
|
-
addonId: null,
|
|
70787
|
-
access: "view"
|
|
70788
|
-
},
|
|
70789
71079
|
"userManagement.verifyTotp": {
|
|
70790
71080
|
capName: "user-management",
|
|
70791
71081
|
capScope: "system",
|
|
@@ -72299,6 +72589,11 @@ Object.freeze({
|
|
|
72299
72589
|
form: "single",
|
|
72300
72590
|
optional: false
|
|
72301
72591
|
}],
|
|
72592
|
+
"logDestination.read": [{
|
|
72593
|
+
name: "deviceId",
|
|
72594
|
+
form: "single",
|
|
72595
|
+
optional: true
|
|
72596
|
+
}],
|
|
72302
72597
|
"mediaPlayer.getStatus": [{
|
|
72303
72598
|
name: "deviceId",
|
|
72304
72599
|
form: "single",
|
|
@@ -75886,6 +76181,10 @@ Object.freeze({
|
|
|
75886
76181
|
"resolution": "auto",
|
|
75887
76182
|
"maxPoints": 1e3
|
|
75888
76183
|
},
|
|
76184
|
+
"queryMany": {
|
|
76185
|
+
"resolution": "auto",
|
|
76186
|
+
"maxPoints": 1e3
|
|
76187
|
+
},
|
|
75889
76188
|
"queryNode": {
|
|
75890
76189
|
"resolution": "auto",
|
|
75891
76190
|
"maxPoints": 1e3
|
|
@@ -75904,7 +76203,8 @@ Object.freeze({
|
|
|
75904
76203
|
"enabled": false,
|
|
75905
76204
|
"maxAttempts": 1
|
|
75906
76205
|
},
|
|
75907
|
-
"toolsEnabled": false
|
|
76206
|
+
"toolsEnabled": false,
|
|
76207
|
+
"providerConfig": {}
|
|
75908
76208
|
} } } },
|
|
75909
76209
|
"llm-runtime": {
|
|
75910
76210
|
"complete": { "runtime": { "__nested__": {
|
|
@@ -75943,7 +76243,7 @@ Object.freeze({
|
|
|
75943
76243
|
"createRule": { "rule": { "__nested__": {
|
|
75944
76244
|
"enabled": true,
|
|
75945
76245
|
"conditions": {},
|
|
75946
|
-
"media": {
|
|
76246
|
+
"media": {},
|
|
75947
76247
|
"throttle": {
|
|
75948
76248
|
"cooldownSec": 60,
|
|
75949
76249
|
"scope": "rule-device"
|
|
@@ -75954,7 +76254,7 @@ Object.freeze({
|
|
|
75954
76254
|
"previewStateSummary": { "rule": { "__nested__": {
|
|
75955
76255
|
"enabled": true,
|
|
75956
76256
|
"conditions": {},
|
|
75957
|
-
"media": {
|
|
76257
|
+
"media": {},
|
|
75958
76258
|
"throttle": {
|
|
75959
76259
|
"cooldownSec": 60,
|
|
75960
76260
|
"scope": "rule-device"
|
|
@@ -75965,7 +76265,7 @@ Object.freeze({
|
|
|
75965
76265
|
"rule": { "__nested__": {
|
|
75966
76266
|
"enabled": true,
|
|
75967
76267
|
"conditions": {},
|
|
75968
|
-
"media": {
|
|
76268
|
+
"media": {},
|
|
75969
76269
|
"throttle": {
|
|
75970
76270
|
"cooldownSec": 60,
|
|
75971
76271
|
"scope": "rule-device"
|
|
@@ -76151,7 +76451,6 @@ Object.freeze({
|
|
|
76151
76451
|
"getDefaults",
|
|
76152
76452
|
"getUsage",
|
|
76153
76453
|
"listModelCatalog",
|
|
76154
|
-
"listModels",
|
|
76155
76454
|
"listNodeModels",
|
|
76156
76455
|
"listProfileKinds",
|
|
76157
76456
|
"listProfiles",
|
|
@@ -76159,7 +76458,6 @@ Object.freeze({
|
|
|
76159
76458
|
],
|
|
76160
76459
|
"load-contribution": ["list"],
|
|
76161
76460
|
"log-channels": ["list"],
|
|
76162
|
-
"log-destination": ["query"],
|
|
76163
76461
|
"login-method": ["getLoginMethods"],
|
|
76164
76462
|
"mqtt-broker": ["listBrokers"],
|
|
76165
76463
|
"network-access": ["listEndpoints"],
|
|
@@ -76181,12 +76479,19 @@ Object.freeze({
|
|
|
76181
76479
|
"user-passkeys": ["listPasskeys"],
|
|
76182
76480
|
"videoclips": ["listClips", "listSources"]
|
|
76183
76481
|
});
|
|
76184
|
-
Object.freeze({
|
|
76185
|
-
"
|
|
76186
|
-
|
|
76187
|
-
|
|
76188
|
-
|
|
76189
|
-
]
|
|
76482
|
+
Object.freeze({
|
|
76483
|
+
"log-destination": [
|
|
76484
|
+
"cancelRead",
|
|
76485
|
+
"describeRead",
|
|
76486
|
+
"read"
|
|
76487
|
+
],
|
|
76488
|
+
"videoclips": [
|
|
76489
|
+
"dialClipStream",
|
|
76490
|
+
"getPlaybackOptions",
|
|
76491
|
+
"offerClipBytes",
|
|
76492
|
+
"readClipBytes"
|
|
76493
|
+
]
|
|
76494
|
+
});
|
|
76190
76495
|
Object.freeze({ "doorbell": "lastPressedAt" });
|
|
76191
76496
|
/** cap name -> the bindable leaves of its runtime state (absent: none). */
|
|
76192
76497
|
var CAP_STATE_LEAVES = Object.freeze({
|