@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.mjs
CHANGED
|
@@ -5413,7 +5413,7 @@ var ZodIssueCode = {
|
|
|
5413
5413
|
var ZodFirstPartyTypeKind;
|
|
5414
5414
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5415
5415
|
//#endregion
|
|
5416
|
-
//#region ../types/dist/sleep-
|
|
5416
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5417
5417
|
/**
|
|
5418
5418
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5419
5419
|
* window to float samples (D455).
|
|
@@ -7796,9 +7796,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7796
7796
|
return result;
|
|
7797
7797
|
}
|
|
7798
7798
|
/**
|
|
7799
|
-
* The share-view scope kinds a
|
|
7800
|
-
* and validates them (`
|
|
7801
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7799
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7800
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7801
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7802
7802
|
*/
|
|
7803
7803
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7804
7804
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12407,7 +12407,7 @@ var ConvertResultSchema = object({
|
|
|
12407
12407
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12408
12408
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12409
12409
|
* distinction was only ever used to route role-specific procedures
|
|
12410
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12410
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12411
12411
|
* with `isAdmin: false` + an explicit scope list.
|
|
12412
12412
|
*/
|
|
12413
12413
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12596,10 +12596,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12596
12596
|
type: literal("addon-routes"),
|
|
12597
12597
|
access: array(MethodAccessSchema).min(1)
|
|
12598
12598
|
});
|
|
12599
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12599
12600
|
var CredentialScopeSchema = union([
|
|
12600
12601
|
literal("*"),
|
|
12601
12602
|
ShareViewScopeSchema,
|
|
12602
12603
|
AddonRoutesScopeSchema,
|
|
12604
|
+
PreferencesSelfScopeSchema,
|
|
12603
12605
|
TokenScopeSchema
|
|
12604
12606
|
]);
|
|
12605
12607
|
object({
|
|
@@ -12608,6 +12610,55 @@ object({
|
|
|
12608
12610
|
jti: string().min(16),
|
|
12609
12611
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12610
12612
|
});
|
|
12613
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12614
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12615
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12616
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12617
|
+
/** A stored row, as the owner reads it. */
|
|
12618
|
+
var PreferenceRowSchema = object({
|
|
12619
|
+
namespace: PreferenceNamespaceSchema,
|
|
12620
|
+
value: PreferenceValueSchema,
|
|
12621
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12622
|
+
revision: number().int().positive(),
|
|
12623
|
+
updatedAt: number().int(),
|
|
12624
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12625
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12626
|
+
});
|
|
12627
|
+
object({
|
|
12628
|
+
/** Absent: every namespace the caller holds. */
|
|
12629
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12630
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12631
|
+
object({
|
|
12632
|
+
namespace: PreferenceNamespaceSchema,
|
|
12633
|
+
value: PreferenceValueSchema,
|
|
12634
|
+
/**
|
|
12635
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12636
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12637
|
+
* revision answers `conflict` and writes nothing.
|
|
12638
|
+
*/
|
|
12639
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12640
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12641
|
+
});
|
|
12642
|
+
discriminatedUnion("status", [object({
|
|
12643
|
+
status: literal("saved"),
|
|
12644
|
+
row: PreferenceRowSchema
|
|
12645
|
+
}), object({
|
|
12646
|
+
status: literal("conflict"),
|
|
12647
|
+
current: PreferenceRowSchema.nullable()
|
|
12648
|
+
})]);
|
|
12649
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12650
|
+
object({
|
|
12651
|
+
/** `false` when the namespace did not exist. */
|
|
12652
|
+
deleted: boolean() });
|
|
12653
|
+
object({
|
|
12654
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12655
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12656
|
+
object({
|
|
12657
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12658
|
+
rows: array(PreferenceRowSchema),
|
|
12659
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12660
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12661
|
+
});
|
|
12611
12662
|
_enum(["new-session", "step-up"]);
|
|
12612
12663
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12613
12664
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -16772,7 +16823,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
16772
16823
|
kind: literal("node"),
|
|
16773
16824
|
nodeId: string().min(1)
|
|
16774
16825
|
})]);
|
|
16826
|
+
/**
|
|
16827
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
16828
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
16829
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
16830
|
+
*/
|
|
16775
16831
|
var DeviceHistoryKindSchema = _enum([
|
|
16832
|
+
"gauge",
|
|
16833
|
+
"counter",
|
|
16834
|
+
"boolean",
|
|
16835
|
+
"enum"
|
|
16836
|
+
]);
|
|
16837
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
16838
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
16776
16839
|
"gauge",
|
|
16777
16840
|
"counter",
|
|
16778
16841
|
"boolean"
|
|
@@ -16809,7 +16872,13 @@ var SeriesInfoSchema = object({
|
|
|
16809
16872
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
16810
16873
|
unit: string().nullable(),
|
|
16811
16874
|
displayName: string(),
|
|
16812
|
-
source: _enum([
|
|
16875
|
+
source: _enum([
|
|
16876
|
+
"cap",
|
|
16877
|
+
"addon",
|
|
16878
|
+
"derived"
|
|
16879
|
+
]),
|
|
16880
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
16881
|
+
values: array(string()).readonly().nullable(),
|
|
16813
16882
|
firstTs: number(),
|
|
16814
16883
|
lastTs: number()
|
|
16815
16884
|
});
|
|
@@ -16823,17 +16892,31 @@ var QueryPointSchema = object({
|
|
|
16823
16892
|
twMean: number().nullable(),
|
|
16824
16893
|
min: number(),
|
|
16825
16894
|
max: number(),
|
|
16826
|
-
/** `null` is unknown, never zero (D393). */
|
|
16827
|
-
last: number().nullable()
|
|
16895
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
16896
|
+
last: number().nullable(),
|
|
16897
|
+
/**
|
|
16898
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
16899
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
16900
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
16901
|
+
* every other kind, and when it cannot be known.
|
|
16902
|
+
*/
|
|
16903
|
+
delta: number().nullable(),
|
|
16904
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
16905
|
+
state: string().nullable(),
|
|
16906
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
16907
|
+
states: record(string(), number()).nullable()
|
|
16828
16908
|
});
|
|
16829
16909
|
var QuerySeriesSchema = object({
|
|
16830
16910
|
scope: string(),
|
|
16831
16911
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
16832
16912
|
before: object({
|
|
16833
16913
|
t: number(),
|
|
16834
|
-
value: number().nullable()
|
|
16914
|
+
value: number().nullable(),
|
|
16915
|
+
state: string().nullable()
|
|
16835
16916
|
}).nullable(),
|
|
16836
|
-
points: array(QueryPointSchema).readonly()
|
|
16917
|
+
points: array(QueryPointSchema).readonly(),
|
|
16918
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
16919
|
+
derivedFrom: string().nullable()
|
|
16837
16920
|
});
|
|
16838
16921
|
/** The window part of a query, shared by the device and node forms. */
|
|
16839
16922
|
var QueryWindowShape = {
|
|
@@ -16849,6 +16932,23 @@ var QueryResultSchema = object({
|
|
|
16849
16932
|
series: array(QuerySeriesSchema).readonly(),
|
|
16850
16933
|
truncated: boolean()
|
|
16851
16934
|
});
|
|
16935
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
16936
|
+
var QueryManyItemSchema = union([object({
|
|
16937
|
+
deviceId: number().int(),
|
|
16938
|
+
key: string(),
|
|
16939
|
+
scope: string().optional()
|
|
16940
|
+
}), object({
|
|
16941
|
+
forNodeId: string().min(1),
|
|
16942
|
+
key: string(),
|
|
16943
|
+
scope: string().optional()
|
|
16944
|
+
})]);
|
|
16945
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
16946
|
+
ok: literal(true),
|
|
16947
|
+
result: QueryResultSchema
|
|
16948
|
+
}), object({
|
|
16949
|
+
ok: literal(false),
|
|
16950
|
+
error: string()
|
|
16951
|
+
})]);
|
|
16852
16952
|
var TierStatusSchema = object({
|
|
16853
16953
|
tier: DeviceHistoryResolutionSchema,
|
|
16854
16954
|
/** `null` until the first background count answered. */
|
|
@@ -16904,16 +17004,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
16904
17004
|
lastRefreshAt: number().nullable()
|
|
16905
17005
|
})
|
|
16906
17006
|
});
|
|
16907
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
17007
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
16908
17008
|
deviceId: number().int(),
|
|
16909
17009
|
...QueryWindowShape
|
|
16910
17010
|
}), QueryResultSchema), method(object({
|
|
16911
|
-
|
|
17011
|
+
forNodeId: string().min(1),
|
|
16912
17012
|
...QueryWindowShape
|
|
16913
17013
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
17014
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
17015
|
+
from: QueryWindowShape.from,
|
|
17016
|
+
to: QueryWindowShape.to,
|
|
17017
|
+
resolution: QueryWindowShape.resolution,
|
|
17018
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
17019
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
16914
17020
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
16915
17021
|
subjectKind: _enum(["device", "node"]),
|
|
16916
|
-
kind:
|
|
17022
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
16917
17023
|
unit: string().optional(),
|
|
16918
17024
|
displayName: string().min(1),
|
|
16919
17025
|
ingest: _enum(["points", "buckets"])
|
|
@@ -39548,38 +39654,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39548
39654
|
auth: "admin",
|
|
39549
39655
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39550
39656
|
});
|
|
39657
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
39658
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
39659
|
+
var LlmModelFeaturesSchema = object({
|
|
39660
|
+
vision: boolean(),
|
|
39661
|
+
tools: boolean(),
|
|
39662
|
+
streaming: boolean()
|
|
39663
|
+
});
|
|
39664
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
39665
|
+
var LlmModelInfoSchema = object({
|
|
39666
|
+
id: string(),
|
|
39667
|
+
label: string().optional(),
|
|
39668
|
+
contextLength: number().int().positive().optional(),
|
|
39669
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
39670
|
+
});
|
|
39551
39671
|
/**
|
|
39552
|
-
*
|
|
39553
|
-
*
|
|
39554
|
-
*
|
|
39555
|
-
*
|
|
39556
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39557
|
-
*
|
|
39558
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39559
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39560
|
-
* write; a stored key NEVER round-trips to a client.
|
|
39672
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
39673
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
39674
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
39675
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39561
39676
|
*/
|
|
39562
|
-
var
|
|
39563
|
-
"openai-compatible",
|
|
39564
|
-
"openai",
|
|
39565
|
-
"anthropic",
|
|
39566
|
-
"google",
|
|
39567
|
-
"managed-local",
|
|
39568
|
-
"apple-foundation"
|
|
39569
|
-
]);
|
|
39677
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39570
39678
|
var LlmProfileSchema = object({
|
|
39571
39679
|
id: string(),
|
|
39572
39680
|
name: string(),
|
|
39681
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39573
39682
|
kind: LlmProfileKindSchema,
|
|
39574
39683
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39575
39684
|
addonId: string(),
|
|
39576
39685
|
enabled: boolean(),
|
|
39577
39686
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39578
39687
|
model: string(),
|
|
39579
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39580
|
-
baseUrl: string().optional(),
|
|
39581
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39582
|
-
apiKey: string().optional(),
|
|
39583
39688
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39584
39689
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39585
39690
|
* question about a picture nobody sent. */
|
|
@@ -39587,15 +39692,11 @@ var LlmProfileSchema = object({
|
|
|
39587
39692
|
temperature: number().min(0).max(2).optional(),
|
|
39588
39693
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39589
39694
|
topP: number().min(0).max(1).optional(),
|
|
39590
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39591
|
-
*
|
|
39592
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39593
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
39695
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
39696
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39594
39697
|
topK: number().int().positive().optional(),
|
|
39595
39698
|
maxTokens: number().int().positive().optional(),
|
|
39596
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39597
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39598
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
39699
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39599
39700
|
contextLength: number().int().positive().optional(),
|
|
39600
39701
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39601
39702
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39621,16 +39722,37 @@ var LlmProfileSchema = object({
|
|
|
39621
39722
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39622
39723
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39623
39724
|
toolsEnabled: boolean().default(false),
|
|
39624
|
-
|
|
39625
|
-
|
|
39626
|
-
|
|
39627
|
-
|
|
39628
|
-
|
|
39629
|
-
|
|
39630
|
-
|
|
39631
|
-
|
|
39632
|
-
|
|
39633
|
-
|
|
39725
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
39726
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
39727
|
+
});
|
|
39728
|
+
/**
|
|
39729
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
39730
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
39731
|
+
*/
|
|
39732
|
+
var LlmProfileFieldSchema = _enum([
|
|
39733
|
+
"temperature",
|
|
39734
|
+
"topP",
|
|
39735
|
+
"topK",
|
|
39736
|
+
"maxTokens",
|
|
39737
|
+
"contextLength",
|
|
39738
|
+
"systemPrompt",
|
|
39739
|
+
"timeoutMs",
|
|
39740
|
+
"connectTimeoutMs",
|
|
39741
|
+
"firstTokenTimeoutMs",
|
|
39742
|
+
"idleTimeoutMs",
|
|
39743
|
+
"retry",
|
|
39744
|
+
"toolsEnabled"
|
|
39745
|
+
]);
|
|
39746
|
+
/**
|
|
39747
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
39748
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
39749
|
+
* picker: that widget owns the model choice.
|
|
39750
|
+
*/
|
|
39751
|
+
var LlmProviderWidgetSchema = object({
|
|
39752
|
+
id: string(),
|
|
39753
|
+
placement: _enum(["connection", "model"]),
|
|
39754
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
39755
|
+
requires: array(string()).optional()
|
|
39634
39756
|
});
|
|
39635
39757
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
39636
39758
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -39639,11 +39761,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
39639
39761
|
var LlmProfileKindDescriptorSchema = object({
|
|
39640
39762
|
kind: LlmProfileKindSchema,
|
|
39641
39763
|
label: string(),
|
|
39764
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
39642
39765
|
icon: string(),
|
|
39643
39766
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
39644
39767
|
addonId: string(),
|
|
39645
|
-
|
|
39768
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
39769
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
39770
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
39771
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
39772
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
39773
|
+
features: LlmModelFeaturesSchema,
|
|
39774
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
39775
|
+
visionEditable: boolean(),
|
|
39776
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
39777
|
+
modelCatalog: _enum([
|
|
39778
|
+
"fetch",
|
|
39779
|
+
"static",
|
|
39780
|
+
"none"
|
|
39781
|
+
]),
|
|
39782
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
39783
|
+
/** The common fields that mean something on this kind's wire. */
|
|
39784
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
39785
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
39646
39786
|
});
|
|
39787
|
+
/**
|
|
39788
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
39789
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
39790
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
39791
|
+
* stored profile — the browser never receives it.
|
|
39792
|
+
*/
|
|
39793
|
+
var LlmListModelsInputSchema = object({
|
|
39794
|
+
addonId: string(),
|
|
39795
|
+
kind: LlmProfileKindSchema,
|
|
39796
|
+
profileId: string().optional(),
|
|
39797
|
+
connection: LlmProviderConfigSchema.optional()
|
|
39798
|
+
});
|
|
39799
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
39800
|
+
"auth",
|
|
39801
|
+
"network",
|
|
39802
|
+
"unsupported",
|
|
39803
|
+
"invalid"
|
|
39804
|
+
]);
|
|
39805
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
39806
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
39807
|
+
ok: literal(true),
|
|
39808
|
+
models: array(LlmModelInfoSchema)
|
|
39809
|
+
}), object({
|
|
39810
|
+
ok: literal(false),
|
|
39811
|
+
code: LlmListModelsErrorCodeSchema,
|
|
39812
|
+
message: string()
|
|
39813
|
+
})]);
|
|
39647
39814
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
39648
39815
|
var LlmDefaultSchema = object({
|
|
39649
39816
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -39743,7 +39910,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
39743
39910
|
kind: "mutation",
|
|
39744
39911
|
auth: "admin",
|
|
39745
39912
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39746
|
-
}), method(
|
|
39913
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
39914
|
+
kind: "mutation",
|
|
39915
|
+
auth: "admin"
|
|
39916
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
39747
39917
|
selector: LlmDefaultSelectorSchema,
|
|
39748
39918
|
profileId: string().nullable()
|
|
39749
39919
|
}), _void(), {
|
|
@@ -39911,14 +40081,106 @@ var LogEntrySchema = object({
|
|
|
39911
40081
|
meta: record(string(), unknown()).optional(),
|
|
39912
40082
|
tags: record(string(), string()).optional()
|
|
39913
40083
|
});
|
|
39914
|
-
|
|
39915
|
-
|
|
40084
|
+
/**
|
|
40085
|
+
* A history READ against one destination (D898).
|
|
40086
|
+
*
|
|
40087
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
40088
|
+
* browser applied after the limit is what made a rare device's lines
|
|
40089
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
40090
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
40091
|
+
* nanosecond timestamp for Loki.
|
|
40092
|
+
*
|
|
40093
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
40094
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
40095
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
40096
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
40097
|
+
* flight, and not asking for the next slice ends the scan.
|
|
40098
|
+
*/
|
|
40099
|
+
var LogReadQuerySchema = object({
|
|
40100
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
40101
|
+
requestId: string().min(1).max(64).optional(),
|
|
40102
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
40103
|
+
deviceId: number().int().optional(),
|
|
40104
|
+
/**
|
|
40105
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
40106
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
40107
|
+
*/
|
|
40108
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
40109
|
+
/**
|
|
40110
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
40111
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
40112
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
40113
|
+
* name as "which node's provider".
|
|
40114
|
+
*/
|
|
40115
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
40116
|
+
/** Any other tag, exact match (AND). */
|
|
40117
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40118
|
+
/** Severity FLOOR: this level and above. */
|
|
39916
40119
|
level: LogLevelSchema.optional(),
|
|
39917
|
-
|
|
39918
|
-
|
|
39919
|
-
|
|
39920
|
-
|
|
39921
|
-
|
|
40120
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
40121
|
+
text: string().min(1).max(200).optional(),
|
|
40122
|
+
/** Epoch ms, inclusive. */
|
|
40123
|
+
since: number().optional(),
|
|
40124
|
+
/** Epoch ms, inclusive. */
|
|
40125
|
+
until: number().optional(),
|
|
40126
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
40127
|
+
before: string().min(1).max(1024).optional(),
|
|
40128
|
+
/** Newer than this cursor (exclusive). */
|
|
40129
|
+
after: string().min(1).max(1024).optional(),
|
|
40130
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
40131
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
40132
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
40133
|
+
});
|
|
40134
|
+
var LogReadResultSchema = object({
|
|
40135
|
+
/** Newest first. */
|
|
40136
|
+
entries: array(object({
|
|
40137
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
40138
|
+
id: string().optional(),
|
|
40139
|
+
/** Epoch ms. */
|
|
40140
|
+
timestamp: number(),
|
|
40141
|
+
level: LogLevelSchema,
|
|
40142
|
+
scope: string().optional(),
|
|
40143
|
+
message: string(),
|
|
40144
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40145
|
+
meta: record(string(), unknown()).optional()
|
|
40146
|
+
})),
|
|
40147
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
40148
|
+
nextBefore: string().nullable(),
|
|
40149
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
40150
|
+
nextAfter: string().nullable(),
|
|
40151
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
40152
|
+
scannedBytes: number().int().nonnegative(),
|
|
40153
|
+
/**
|
|
40154
|
+
* True when the scan in this direction reached the end of the store.
|
|
40155
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
40156
|
+
* call again with `nextBefore` to go on.
|
|
40157
|
+
*/
|
|
40158
|
+
done: boolean(),
|
|
40159
|
+
/** True when `cancelRead` ended this slice early. */
|
|
40160
|
+
cancelled: boolean().optional()
|
|
40161
|
+
});
|
|
40162
|
+
var LogReadCapabilitiesSchema = object({
|
|
40163
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
40164
|
+
readable: boolean(),
|
|
40165
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
40166
|
+
reason: string().nullable(),
|
|
40167
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
40168
|
+
filters: object({
|
|
40169
|
+
deviceId: boolean(),
|
|
40170
|
+
addonId: boolean(),
|
|
40171
|
+
nodeId: boolean(),
|
|
40172
|
+
tags: boolean(),
|
|
40173
|
+
level: boolean(),
|
|
40174
|
+
text: boolean(),
|
|
40175
|
+
timeRange: boolean()
|
|
40176
|
+
}),
|
|
40177
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
40178
|
+
retentionDays: number().nullable()
|
|
40179
|
+
});
|
|
40180
|
+
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() }), {
|
|
40181
|
+
kind: "mutation",
|
|
40182
|
+
auth: "admin"
|
|
40183
|
+
});
|
|
39922
40184
|
/**
|
|
39923
40185
|
* `login-method` — collection cap through which auth addons contribute
|
|
39924
40186
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -42474,6 +42736,33 @@ var NcRuleTargetSchema = object({
|
|
|
42474
42736
|
params: record(string(), unknown()).optional()
|
|
42475
42737
|
});
|
|
42476
42738
|
/**
|
|
42739
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
42740
|
+
*
|
|
42741
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
42742
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
42743
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
42744
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
42745
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
42746
|
+
* labelled with class and confidence ("dog 87%").
|
|
42747
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
42748
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
42749
|
+
* - `none` — no picture.
|
|
42750
|
+
*
|
|
42751
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
42752
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
42753
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
42754
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
42755
|
+
* stored kind had landed.
|
|
42756
|
+
*/
|
|
42757
|
+
var NcMediaImageSchema = _enum([
|
|
42758
|
+
"scene-boxes",
|
|
42759
|
+
"crop",
|
|
42760
|
+
"clean",
|
|
42761
|
+
"none"
|
|
42762
|
+
]);
|
|
42763
|
+
/**
|
|
42764
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
42765
|
+
*
|
|
42477
42766
|
* Media attachment policy (P1 still-image subset).
|
|
42478
42767
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
42479
42768
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -42487,6 +42776,8 @@ var NcRuleTargetSchema = object({
|
|
|
42487
42776
|
* - `none` — no attachment.
|
|
42488
42777
|
*/
|
|
42489
42778
|
/**
|
|
42779
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
42780
|
+
*
|
|
42490
42781
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
42491
42782
|
* conflate it with the selection strategy and betray the request: asking for
|
|
42492
42783
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -42515,16 +42806,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
42515
42806
|
*/
|
|
42516
42807
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
42517
42808
|
var NcMediaPolicySchema = object({
|
|
42809
|
+
/**
|
|
42810
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
42811
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
42812
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
42813
|
+
*/
|
|
42814
|
+
image: NcMediaImageSchema.optional(),
|
|
42815
|
+
/**
|
|
42816
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
42817
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
42818
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
42819
|
+
* Replaces `zoneCrop`.
|
|
42820
|
+
*/
|
|
42821
|
+
showTriggerZone: boolean().optional(),
|
|
42822
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42518
42823
|
attach: _enum([
|
|
42519
42824
|
"best",
|
|
42520
42825
|
"best-matching",
|
|
42521
42826
|
"keyFrame",
|
|
42522
42827
|
"none"
|
|
42523
|
-
]).
|
|
42524
|
-
/**
|
|
42828
|
+
]).optional(),
|
|
42829
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42525
42830
|
frame: NcMediaFrameSchema.optional(),
|
|
42526
|
-
/**
|
|
42527
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
42831
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
42528
42832
|
zoneCrop: boolean().optional(),
|
|
42529
42833
|
/**
|
|
42530
42834
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -42696,7 +43000,9 @@ var NcRuleInputSchema = object({
|
|
|
42696
43000
|
* targets.
|
|
42697
43001
|
*/
|
|
42698
43002
|
targetUsers: array(string()).optional(),
|
|
42699
|
-
|
|
43003
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
43004
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
43005
|
+
media: NcMediaPolicySchema.default({}),
|
|
42700
43006
|
throttle: NcThrottleSchema.default({
|
|
42701
43007
|
cooldownSec: 60,
|
|
42702
43008
|
scope: "rule-device"
|
|
@@ -44213,13 +44519,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
44213
44519
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
44214
44520
|
unknown: array(number().int())
|
|
44215
44521
|
});
|
|
44522
|
+
/**
|
|
44523
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
44524
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
44525
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
44526
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
44527
|
+
*/
|
|
44528
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
44529
|
+
ruleId: string(),
|
|
44530
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
44531
|
+
ruleName: string(),
|
|
44532
|
+
/** The input: the sensor of the match, else its camera. */
|
|
44533
|
+
deviceId: number().int(),
|
|
44534
|
+
/** The input's current name. */
|
|
44535
|
+
name: string(),
|
|
44536
|
+
/** When it was bypassed (ms epoch). */
|
|
44537
|
+
since: number(),
|
|
44538
|
+
/** Triggers from this input dropped since. */
|
|
44539
|
+
dropped: number().int().min(0)
|
|
44540
|
+
});
|
|
44216
44541
|
var NcAlarmLiveSchema = object({
|
|
44217
44542
|
state: AlarmStateSchema,
|
|
44218
44543
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
44219
44544
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
44220
44545
|
availableModes: array(AlarmArmModeSchema),
|
|
44221
44546
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
44222
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
44547
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
44548
|
+
/**
|
|
44549
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
44550
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
44551
|
+
*/
|
|
44552
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
44223
44553
|
});
|
|
44224
44554
|
var NcAlarmConfigSchema = object({
|
|
44225
44555
|
/**
|
|
@@ -61380,26 +61710,6 @@ var ApiKeySummarySchema = object({
|
|
|
61380
61710
|
createdAt: number(),
|
|
61381
61711
|
lastUsedAt: number().optional()
|
|
61382
61712
|
});
|
|
61383
|
-
var ScopedTokenSummarySchema = object({
|
|
61384
|
-
id: string(),
|
|
61385
|
-
userId: string(),
|
|
61386
|
-
name: string(),
|
|
61387
|
-
tokenPrefix: string(),
|
|
61388
|
-
scopes: array(TokenScopeSchema),
|
|
61389
|
-
expiresAt: number().nullish(),
|
|
61390
|
-
lastUsedAt: number().nullish(),
|
|
61391
|
-
createdAt: number()
|
|
61392
|
-
});
|
|
61393
|
-
var CreateScopedTokenInputSchema = object({
|
|
61394
|
-
userId: string(),
|
|
61395
|
-
name: string(),
|
|
61396
|
-
scopes: array(TokenScopeSchema),
|
|
61397
|
-
expiresAt: number().optional()
|
|
61398
|
-
});
|
|
61399
|
-
var CreateScopedTokenResultSchema = object({
|
|
61400
|
-
token: string(),
|
|
61401
|
-
record: ScopedTokenSummarySchema
|
|
61402
|
-
});
|
|
61403
61713
|
var OauthSessionSummarySchema = object({
|
|
61404
61714
|
id: string(),
|
|
61405
61715
|
userId: string(),
|
|
@@ -61421,11 +61731,11 @@ var TotpStatusSchema = object({
|
|
|
61421
61731
|
confirmedAt: number().nullable()
|
|
61422
61732
|
});
|
|
61423
61733
|
/**
|
|
61424
|
-
* user-management — singleton capability for user accounts
|
|
61425
|
-
*
|
|
61734
|
+
* user-management — singleton capability for user accounts and the
|
|
61735
|
+
* legacy API-key rows.
|
|
61426
61736
|
*
|
|
61427
61737
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61428
|
-
* — the subset check on `setUserScopes`
|
|
61738
|
+
* — the subset check on `setUserScopes` is moot
|
|
61429
61739
|
* because non-admins never reach these. If/when we open non-admin
|
|
61430
61740
|
* delegation, structural caller-scope subset check goes inside the
|
|
61431
61741
|
* provider.
|
|
@@ -61482,15 +61792,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61482
61792
|
kind: "mutation",
|
|
61483
61793
|
auth: "admin",
|
|
61484
61794
|
access: "delete"
|
|
61485
|
-
}), method(
|
|
61486
|
-
kind: "mutation",
|
|
61487
|
-
auth: "admin",
|
|
61488
|
-
access: "create"
|
|
61489
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61490
|
-
kind: "mutation",
|
|
61491
|
-
auth: "admin",
|
|
61492
|
-
access: "delete"
|
|
61493
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61795
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61494
61796
|
kind: "mutation",
|
|
61495
61797
|
auth: "admin",
|
|
61496
61798
|
access: "create"
|
|
@@ -65962,7 +66264,7 @@ Object.freeze({
|
|
|
65962
66264
|
capName: "llm",
|
|
65963
66265
|
capScope: "system",
|
|
65964
66266
|
addonId: null,
|
|
65965
|
-
access: "
|
|
66267
|
+
access: "create"
|
|
65966
66268
|
},
|
|
65967
66269
|
"llm.listNodeModels": {
|
|
65968
66270
|
capName: "llm",
|
|
@@ -66264,7 +66566,19 @@ Object.freeze({
|
|
|
66264
66566
|
addonId: null,
|
|
66265
66567
|
access: "view"
|
|
66266
66568
|
},
|
|
66267
|
-
"logDestination.
|
|
66569
|
+
"logDestination.cancelRead": {
|
|
66570
|
+
capName: "log-destination",
|
|
66571
|
+
capScope: "system",
|
|
66572
|
+
addonId: null,
|
|
66573
|
+
access: "create"
|
|
66574
|
+
},
|
|
66575
|
+
"logDestination.describeRead": {
|
|
66576
|
+
capName: "log-destination",
|
|
66577
|
+
capScope: "system",
|
|
66578
|
+
addonId: null,
|
|
66579
|
+
access: "view"
|
|
66580
|
+
},
|
|
66581
|
+
"logDestination.read": {
|
|
66268
66582
|
capName: "log-destination",
|
|
66269
66583
|
capScope: "system",
|
|
66270
66584
|
addonId: null,
|
|
@@ -70626,12 +70940,6 @@ Object.freeze({
|
|
|
70626
70940
|
addonId: null,
|
|
70627
70941
|
access: "create"
|
|
70628
70942
|
},
|
|
70629
|
-
"userManagement.createScopedToken": {
|
|
70630
|
-
capName: "user-management",
|
|
70631
|
-
capScope: "system",
|
|
70632
|
-
addonId: null,
|
|
70633
|
-
access: "create"
|
|
70634
|
-
},
|
|
70635
70943
|
"userManagement.createUser": {
|
|
70636
70944
|
capName: "user-management",
|
|
70637
70945
|
capScope: "system",
|
|
@@ -70680,12 +70988,6 @@ Object.freeze({
|
|
|
70680
70988
|
addonId: null,
|
|
70681
70989
|
access: "view"
|
|
70682
70990
|
},
|
|
70683
|
-
"userManagement.listScopedTokens": {
|
|
70684
|
-
capName: "user-management",
|
|
70685
|
-
capScope: "system",
|
|
70686
|
-
addonId: null,
|
|
70687
|
-
access: "view"
|
|
70688
|
-
},
|
|
70689
70991
|
"userManagement.listUsers": {
|
|
70690
70992
|
capName: "user-management",
|
|
70691
70993
|
capScope: "system",
|
|
@@ -70740,12 +71042,6 @@ Object.freeze({
|
|
|
70740
71042
|
addonId: null,
|
|
70741
71043
|
access: "delete"
|
|
70742
71044
|
},
|
|
70743
|
-
"userManagement.revokeScopedToken": {
|
|
70744
|
-
capName: "user-management",
|
|
70745
|
-
capScope: "system",
|
|
70746
|
-
addonId: null,
|
|
70747
|
-
access: "delete"
|
|
70748
|
-
},
|
|
70749
71045
|
"userManagement.setupTotp": {
|
|
70750
71046
|
capName: "user-management",
|
|
70751
71047
|
capScope: "system",
|
|
@@ -70776,12 +71072,6 @@ Object.freeze({
|
|
|
70776
71072
|
addonId: null,
|
|
70777
71073
|
access: "view"
|
|
70778
71074
|
},
|
|
70779
|
-
"userManagement.validateScopedToken": {
|
|
70780
|
-
capName: "user-management",
|
|
70781
|
-
capScope: "system",
|
|
70782
|
-
addonId: null,
|
|
70783
|
-
access: "view"
|
|
70784
|
-
},
|
|
70785
71075
|
"userManagement.verifyTotp": {
|
|
70786
71076
|
capName: "user-management",
|
|
70787
71077
|
capScope: "system",
|
|
@@ -72295,6 +72585,11 @@ Object.freeze({
|
|
|
72295
72585
|
form: "single",
|
|
72296
72586
|
optional: false
|
|
72297
72587
|
}],
|
|
72588
|
+
"logDestination.read": [{
|
|
72589
|
+
name: "deviceId",
|
|
72590
|
+
form: "single",
|
|
72591
|
+
optional: true
|
|
72592
|
+
}],
|
|
72298
72593
|
"mediaPlayer.getStatus": [{
|
|
72299
72594
|
name: "deviceId",
|
|
72300
72595
|
form: "single",
|
|
@@ -75882,6 +76177,10 @@ Object.freeze({
|
|
|
75882
76177
|
"resolution": "auto",
|
|
75883
76178
|
"maxPoints": 1e3
|
|
75884
76179
|
},
|
|
76180
|
+
"queryMany": {
|
|
76181
|
+
"resolution": "auto",
|
|
76182
|
+
"maxPoints": 1e3
|
|
76183
|
+
},
|
|
75885
76184
|
"queryNode": {
|
|
75886
76185
|
"resolution": "auto",
|
|
75887
76186
|
"maxPoints": 1e3
|
|
@@ -75900,7 +76199,8 @@ Object.freeze({
|
|
|
75900
76199
|
"enabled": false,
|
|
75901
76200
|
"maxAttempts": 1
|
|
75902
76201
|
},
|
|
75903
|
-
"toolsEnabled": false
|
|
76202
|
+
"toolsEnabled": false,
|
|
76203
|
+
"providerConfig": {}
|
|
75904
76204
|
} } } },
|
|
75905
76205
|
"llm-runtime": {
|
|
75906
76206
|
"complete": { "runtime": { "__nested__": {
|
|
@@ -75939,7 +76239,7 @@ Object.freeze({
|
|
|
75939
76239
|
"createRule": { "rule": { "__nested__": {
|
|
75940
76240
|
"enabled": true,
|
|
75941
76241
|
"conditions": {},
|
|
75942
|
-
"media": {
|
|
76242
|
+
"media": {},
|
|
75943
76243
|
"throttle": {
|
|
75944
76244
|
"cooldownSec": 60,
|
|
75945
76245
|
"scope": "rule-device"
|
|
@@ -75950,7 +76250,7 @@ Object.freeze({
|
|
|
75950
76250
|
"previewStateSummary": { "rule": { "__nested__": {
|
|
75951
76251
|
"enabled": true,
|
|
75952
76252
|
"conditions": {},
|
|
75953
|
-
"media": {
|
|
76253
|
+
"media": {},
|
|
75954
76254
|
"throttle": {
|
|
75955
76255
|
"cooldownSec": 60,
|
|
75956
76256
|
"scope": "rule-device"
|
|
@@ -75961,7 +76261,7 @@ Object.freeze({
|
|
|
75961
76261
|
"rule": { "__nested__": {
|
|
75962
76262
|
"enabled": true,
|
|
75963
76263
|
"conditions": {},
|
|
75964
|
-
"media": {
|
|
76264
|
+
"media": {},
|
|
75965
76265
|
"throttle": {
|
|
75966
76266
|
"cooldownSec": 60,
|
|
75967
76267
|
"scope": "rule-device"
|
|
@@ -76147,7 +76447,6 @@ Object.freeze({
|
|
|
76147
76447
|
"getDefaults",
|
|
76148
76448
|
"getUsage",
|
|
76149
76449
|
"listModelCatalog",
|
|
76150
|
-
"listModels",
|
|
76151
76450
|
"listNodeModels",
|
|
76152
76451
|
"listProfileKinds",
|
|
76153
76452
|
"listProfiles",
|
|
@@ -76155,7 +76454,6 @@ Object.freeze({
|
|
|
76155
76454
|
],
|
|
76156
76455
|
"load-contribution": ["list"],
|
|
76157
76456
|
"log-channels": ["list"],
|
|
76158
|
-
"log-destination": ["query"],
|
|
76159
76457
|
"login-method": ["getLoginMethods"],
|
|
76160
76458
|
"mqtt-broker": ["listBrokers"],
|
|
76161
76459
|
"network-access": ["listEndpoints"],
|
|
@@ -76177,12 +76475,19 @@ Object.freeze({
|
|
|
76177
76475
|
"user-passkeys": ["listPasskeys"],
|
|
76178
76476
|
"videoclips": ["listClips", "listSources"]
|
|
76179
76477
|
});
|
|
76180
|
-
Object.freeze({
|
|
76181
|
-
"
|
|
76182
|
-
|
|
76183
|
-
|
|
76184
|
-
|
|
76185
|
-
]
|
|
76478
|
+
Object.freeze({
|
|
76479
|
+
"log-destination": [
|
|
76480
|
+
"cancelRead",
|
|
76481
|
+
"describeRead",
|
|
76482
|
+
"read"
|
|
76483
|
+
],
|
|
76484
|
+
"videoclips": [
|
|
76485
|
+
"dialClipStream",
|
|
76486
|
+
"getPlaybackOptions",
|
|
76487
|
+
"offerClipBytes",
|
|
76488
|
+
"readClipBytes"
|
|
76489
|
+
]
|
|
76490
|
+
});
|
|
76186
76491
|
Object.freeze({ "doorbell": "lastPressedAt" });
|
|
76187
76492
|
/** cap name -> the bindable leaves of its runtime state (absent: none). */
|
|
76188
76493
|
var CAP_STATE_LEAVES = Object.freeze({
|