@camstack/addon-training 0.1.60 → 0.1.62
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-BVAWM6Mp.mjs → MotionZonesSettings-BYD4vYtX.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-C6n5XvTF.mjs → PrivacyMaskSettings-BIzsQTVG.mjs} +2 -2
- package/dist/{SceneMonitorEditor-YqjreNwk.mjs → SceneMonitorEditor-CnU0WfHZ.mjs} +1 -1
- package/dist/_stub.js +12 -12
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-D2t3iWfl.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-CerRxYN4.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BTskGj2K.mjs +26 -0
- package/dist/{dist-Co-Ch58W.js → dist-D4JlXYdi.js} +419 -124
- package/dist/{dist-CLSVfoxe.mjs → dist-cb89Kr5k.mjs} +419 -124
- package/dist/{hostInit-BzYWXDTu.mjs → hostInit-f6pcodUU.mjs} +3 -3
- package/dist/index.js +1 -1
- package/dist/orchestrator/training.addon.js +1 -1
- package/dist/orchestrator/training.addon.mjs +1 -1
- package/dist/{player-overlays-CsC1EU9M.mjs → player-overlays-saWxwbq-.mjs} +1 -1
- package/dist/providers/modal/training-modal.addon.js +1 -1
- package/dist/providers/modal/training-modal.addon.mjs +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-CqqXFNE0.mjs → responsive-C-kjtT6v.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-mXPV__C7.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-DcBJVR_p.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DNz5PuiW.mjs +0 -26
|
@@ -5547,7 +5547,7 @@ var ZodIssueCode = {
|
|
|
5547
5547
|
var ZodFirstPartyTypeKind;
|
|
5548
5548
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5549
5549
|
//#endregion
|
|
5550
|
-
//#region ../types/dist/sleep-
|
|
5550
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5551
5551
|
/**
|
|
5552
5552
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5553
5553
|
* window to float samples (D455).
|
|
@@ -7930,9 +7930,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7930
7930
|
return result;
|
|
7931
7931
|
}
|
|
7932
7932
|
/**
|
|
7933
|
-
* The share-view scope kinds a
|
|
7934
|
-
* and validates them (`
|
|
7935
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7933
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7934
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7935
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7936
7936
|
*/
|
|
7937
7937
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7938
7938
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12818,7 +12818,7 @@ var ConvertResultSchema = object({
|
|
|
12818
12818
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12819
12819
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12820
12820
|
* distinction was only ever used to route role-specific procedures
|
|
12821
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12821
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12822
12822
|
* with `isAdmin: false` + an explicit scope list.
|
|
12823
12823
|
*/
|
|
12824
12824
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -13007,10 +13007,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
13007
13007
|
type: literal("addon-routes"),
|
|
13008
13008
|
access: array(MethodAccessSchema).min(1)
|
|
13009
13009
|
});
|
|
13010
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
13010
13011
|
var CredentialScopeSchema = union([
|
|
13011
13012
|
literal("*"),
|
|
13012
13013
|
ShareViewScopeSchema,
|
|
13013
13014
|
AddonRoutesScopeSchema,
|
|
13015
|
+
PreferencesSelfScopeSchema,
|
|
13014
13016
|
TokenScopeSchema
|
|
13015
13017
|
]);
|
|
13016
13018
|
object({
|
|
@@ -13019,6 +13021,55 @@ object({
|
|
|
13019
13021
|
jti: string().min(16),
|
|
13020
13022
|
scopes: array(CredentialScopeSchema).min(1)
|
|
13021
13023
|
});
|
|
13024
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
13025
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
13026
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
13027
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
13028
|
+
/** A stored row, as the owner reads it. */
|
|
13029
|
+
var PreferenceRowSchema = object({
|
|
13030
|
+
namespace: PreferenceNamespaceSchema,
|
|
13031
|
+
value: PreferenceValueSchema,
|
|
13032
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
13033
|
+
revision: number().int().positive(),
|
|
13034
|
+
updatedAt: number().int(),
|
|
13035
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
13036
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
13037
|
+
});
|
|
13038
|
+
object({
|
|
13039
|
+
/** Absent: every namespace the caller holds. */
|
|
13040
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
13041
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
13042
|
+
object({
|
|
13043
|
+
namespace: PreferenceNamespaceSchema,
|
|
13044
|
+
value: PreferenceValueSchema,
|
|
13045
|
+
/**
|
|
13046
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
13047
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
13048
|
+
* revision answers `conflict` and writes nothing.
|
|
13049
|
+
*/
|
|
13050
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
13051
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
13052
|
+
});
|
|
13053
|
+
discriminatedUnion("status", [object({
|
|
13054
|
+
status: literal("saved"),
|
|
13055
|
+
row: PreferenceRowSchema
|
|
13056
|
+
}), object({
|
|
13057
|
+
status: literal("conflict"),
|
|
13058
|
+
current: PreferenceRowSchema.nullable()
|
|
13059
|
+
})]);
|
|
13060
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
13061
|
+
object({
|
|
13062
|
+
/** `false` when the namespace did not exist. */
|
|
13063
|
+
deleted: boolean() });
|
|
13064
|
+
object({
|
|
13065
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
13066
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
13067
|
+
object({
|
|
13068
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
13069
|
+
rows: array(PreferenceRowSchema),
|
|
13070
|
+
/** Namespaces the client listed that no longer exist. */
|
|
13071
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
13072
|
+
});
|
|
13022
13073
|
_enum(["new-session", "step-up"]);
|
|
13023
13074
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
13024
13075
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -17183,7 +17234,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
17183
17234
|
kind: literal("node"),
|
|
17184
17235
|
nodeId: string().min(1)
|
|
17185
17236
|
})]);
|
|
17237
|
+
/**
|
|
17238
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
17239
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
17240
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
17241
|
+
*/
|
|
17186
17242
|
var DeviceHistoryKindSchema = _enum([
|
|
17243
|
+
"gauge",
|
|
17244
|
+
"counter",
|
|
17245
|
+
"boolean",
|
|
17246
|
+
"enum"
|
|
17247
|
+
]);
|
|
17248
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
17249
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
17187
17250
|
"gauge",
|
|
17188
17251
|
"counter",
|
|
17189
17252
|
"boolean"
|
|
@@ -17220,7 +17283,13 @@ var SeriesInfoSchema = object({
|
|
|
17220
17283
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
17221
17284
|
unit: string().nullable(),
|
|
17222
17285
|
displayName: string(),
|
|
17223
|
-
source: _enum([
|
|
17286
|
+
source: _enum([
|
|
17287
|
+
"cap",
|
|
17288
|
+
"addon",
|
|
17289
|
+
"derived"
|
|
17290
|
+
]),
|
|
17291
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
17292
|
+
values: array(string()).readonly().nullable(),
|
|
17224
17293
|
firstTs: number(),
|
|
17225
17294
|
lastTs: number()
|
|
17226
17295
|
});
|
|
@@ -17234,17 +17303,31 @@ var QueryPointSchema = object({
|
|
|
17234
17303
|
twMean: number().nullable(),
|
|
17235
17304
|
min: number(),
|
|
17236
17305
|
max: number(),
|
|
17237
|
-
/** `null` is unknown, never zero (D393). */
|
|
17238
|
-
last: number().nullable()
|
|
17306
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
17307
|
+
last: number().nullable(),
|
|
17308
|
+
/**
|
|
17309
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
17310
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
17311
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
17312
|
+
* every other kind, and when it cannot be known.
|
|
17313
|
+
*/
|
|
17314
|
+
delta: number().nullable(),
|
|
17315
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
17316
|
+
state: string().nullable(),
|
|
17317
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
17318
|
+
states: record(string(), number()).nullable()
|
|
17239
17319
|
});
|
|
17240
17320
|
var QuerySeriesSchema = object({
|
|
17241
17321
|
scope: string(),
|
|
17242
17322
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
17243
17323
|
before: object({
|
|
17244
17324
|
t: number(),
|
|
17245
|
-
value: number().nullable()
|
|
17325
|
+
value: number().nullable(),
|
|
17326
|
+
state: string().nullable()
|
|
17246
17327
|
}).nullable(),
|
|
17247
|
-
points: array(QueryPointSchema).readonly()
|
|
17328
|
+
points: array(QueryPointSchema).readonly(),
|
|
17329
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
17330
|
+
derivedFrom: string().nullable()
|
|
17248
17331
|
});
|
|
17249
17332
|
/** The window part of a query, shared by the device and node forms. */
|
|
17250
17333
|
var QueryWindowShape = {
|
|
@@ -17260,6 +17343,23 @@ var QueryResultSchema = object({
|
|
|
17260
17343
|
series: array(QuerySeriesSchema).readonly(),
|
|
17261
17344
|
truncated: boolean()
|
|
17262
17345
|
});
|
|
17346
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
17347
|
+
var QueryManyItemSchema = union([object({
|
|
17348
|
+
deviceId: number().int(),
|
|
17349
|
+
key: string(),
|
|
17350
|
+
scope: string().optional()
|
|
17351
|
+
}), object({
|
|
17352
|
+
forNodeId: string().min(1),
|
|
17353
|
+
key: string(),
|
|
17354
|
+
scope: string().optional()
|
|
17355
|
+
})]);
|
|
17356
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
17357
|
+
ok: literal(true),
|
|
17358
|
+
result: QueryResultSchema
|
|
17359
|
+
}), object({
|
|
17360
|
+
ok: literal(false),
|
|
17361
|
+
error: string()
|
|
17362
|
+
})]);
|
|
17263
17363
|
var TierStatusSchema = object({
|
|
17264
17364
|
tier: DeviceHistoryResolutionSchema,
|
|
17265
17365
|
/** `null` until the first background count answered. */
|
|
@@ -17315,16 +17415,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
17315
17415
|
lastRefreshAt: number().nullable()
|
|
17316
17416
|
})
|
|
17317
17417
|
});
|
|
17318
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
17418
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
17319
17419
|
deviceId: number().int(),
|
|
17320
17420
|
...QueryWindowShape
|
|
17321
17421
|
}), QueryResultSchema), method(object({
|
|
17322
|
-
|
|
17422
|
+
forNodeId: string().min(1),
|
|
17323
17423
|
...QueryWindowShape
|
|
17324
17424
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
17425
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
17426
|
+
from: QueryWindowShape.from,
|
|
17427
|
+
to: QueryWindowShape.to,
|
|
17428
|
+
resolution: QueryWindowShape.resolution,
|
|
17429
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
17430
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
17325
17431
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
17326
17432
|
subjectKind: _enum(["device", "node"]),
|
|
17327
|
-
kind:
|
|
17433
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
17328
17434
|
unit: string().optional(),
|
|
17329
17435
|
displayName: string().min(1),
|
|
17330
17436
|
ingest: _enum(["points", "buckets"])
|
|
@@ -39914,38 +40020,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39914
40020
|
auth: "admin",
|
|
39915
40021
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39916
40022
|
});
|
|
40023
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
40024
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
40025
|
+
var LlmModelFeaturesSchema = object({
|
|
40026
|
+
vision: boolean(),
|
|
40027
|
+
tools: boolean(),
|
|
40028
|
+
streaming: boolean()
|
|
40029
|
+
});
|
|
40030
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
40031
|
+
var LlmModelInfoSchema = object({
|
|
40032
|
+
id: string(),
|
|
40033
|
+
label: string().optional(),
|
|
40034
|
+
contextLength: number().int().positive().optional(),
|
|
40035
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
40036
|
+
});
|
|
39917
40037
|
/**
|
|
39918
|
-
*
|
|
39919
|
-
*
|
|
39920
|
-
*
|
|
39921
|
-
*
|
|
39922
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39923
|
-
*
|
|
39924
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39925
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39926
|
-
* write; a stored key NEVER round-trips to a client.
|
|
40038
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
40039
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
40040
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
40041
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39927
40042
|
*/
|
|
39928
|
-
var
|
|
39929
|
-
"openai-compatible",
|
|
39930
|
-
"openai",
|
|
39931
|
-
"anthropic",
|
|
39932
|
-
"google",
|
|
39933
|
-
"managed-local",
|
|
39934
|
-
"apple-foundation"
|
|
39935
|
-
]);
|
|
40043
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39936
40044
|
var LlmProfileSchema = object({
|
|
39937
40045
|
id: string(),
|
|
39938
40046
|
name: string(),
|
|
40047
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39939
40048
|
kind: LlmProfileKindSchema,
|
|
39940
40049
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39941
40050
|
addonId: string(),
|
|
39942
40051
|
enabled: boolean(),
|
|
39943
40052
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39944
40053
|
model: string(),
|
|
39945
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39946
|
-
baseUrl: string().optional(),
|
|
39947
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39948
|
-
apiKey: string().optional(),
|
|
39949
40054
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39950
40055
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39951
40056
|
* question about a picture nobody sent. */
|
|
@@ -39953,15 +40058,11 @@ var LlmProfileSchema = object({
|
|
|
39953
40058
|
temperature: number().min(0).max(2).optional(),
|
|
39954
40059
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39955
40060
|
topP: number().min(0).max(1).optional(),
|
|
39956
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39957
|
-
*
|
|
39958
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39959
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
40061
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
40062
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39960
40063
|
topK: number().int().positive().optional(),
|
|
39961
40064
|
maxTokens: number().int().positive().optional(),
|
|
39962
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39963
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39964
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
40065
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39965
40066
|
contextLength: number().int().positive().optional(),
|
|
39966
40067
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39967
40068
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39987,16 +40088,37 @@ var LlmProfileSchema = object({
|
|
|
39987
40088
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39988
40089
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39989
40090
|
toolsEnabled: boolean().default(false),
|
|
39990
|
-
|
|
39991
|
-
|
|
39992
|
-
|
|
39993
|
-
|
|
39994
|
-
|
|
39995
|
-
|
|
39996
|
-
|
|
39997
|
-
|
|
39998
|
-
|
|
39999
|
-
|
|
40091
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40092
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40093
|
+
});
|
|
40094
|
+
/**
|
|
40095
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40096
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40097
|
+
*/
|
|
40098
|
+
var LlmProfileFieldSchema = _enum([
|
|
40099
|
+
"temperature",
|
|
40100
|
+
"topP",
|
|
40101
|
+
"topK",
|
|
40102
|
+
"maxTokens",
|
|
40103
|
+
"contextLength",
|
|
40104
|
+
"systemPrompt",
|
|
40105
|
+
"timeoutMs",
|
|
40106
|
+
"connectTimeoutMs",
|
|
40107
|
+
"firstTokenTimeoutMs",
|
|
40108
|
+
"idleTimeoutMs",
|
|
40109
|
+
"retry",
|
|
40110
|
+
"toolsEnabled"
|
|
40111
|
+
]);
|
|
40112
|
+
/**
|
|
40113
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40114
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40115
|
+
* picker: that widget owns the model choice.
|
|
40116
|
+
*/
|
|
40117
|
+
var LlmProviderWidgetSchema = object({
|
|
40118
|
+
id: string(),
|
|
40119
|
+
placement: _enum(["connection", "model"]),
|
|
40120
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40121
|
+
requires: array(string()).optional()
|
|
40000
40122
|
});
|
|
40001
40123
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
40002
40124
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -40005,11 +40127,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
40005
40127
|
var LlmProfileKindDescriptorSchema = object({
|
|
40006
40128
|
kind: LlmProfileKindSchema,
|
|
40007
40129
|
label: string(),
|
|
40130
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
40008
40131
|
icon: string(),
|
|
40009
40132
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
40010
40133
|
addonId: string(),
|
|
40011
|
-
|
|
40134
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40135
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40136
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40137
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40138
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40139
|
+
features: LlmModelFeaturesSchema,
|
|
40140
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40141
|
+
visionEditable: boolean(),
|
|
40142
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40143
|
+
modelCatalog: _enum([
|
|
40144
|
+
"fetch",
|
|
40145
|
+
"static",
|
|
40146
|
+
"none"
|
|
40147
|
+
]),
|
|
40148
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40149
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40150
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40151
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40152
|
+
});
|
|
40153
|
+
/**
|
|
40154
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40155
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40156
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40157
|
+
* stored profile — the browser never receives it.
|
|
40158
|
+
*/
|
|
40159
|
+
var LlmListModelsInputSchema = object({
|
|
40160
|
+
addonId: string(),
|
|
40161
|
+
kind: LlmProfileKindSchema,
|
|
40162
|
+
profileId: string().optional(),
|
|
40163
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40012
40164
|
});
|
|
40165
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40166
|
+
"auth",
|
|
40167
|
+
"network",
|
|
40168
|
+
"unsupported",
|
|
40169
|
+
"invalid"
|
|
40170
|
+
]);
|
|
40171
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40172
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40173
|
+
ok: literal(true),
|
|
40174
|
+
models: array(LlmModelInfoSchema)
|
|
40175
|
+
}), object({
|
|
40176
|
+
ok: literal(false),
|
|
40177
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40178
|
+
message: string()
|
|
40179
|
+
})]);
|
|
40013
40180
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
40014
40181
|
var LlmDefaultSchema = object({
|
|
40015
40182
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40109,7 +40276,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40109
40276
|
kind: "mutation",
|
|
40110
40277
|
auth: "admin",
|
|
40111
40278
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40112
|
-
}), method(
|
|
40279
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40280
|
+
kind: "mutation",
|
|
40281
|
+
auth: "admin"
|
|
40282
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40113
40283
|
selector: LlmDefaultSelectorSchema,
|
|
40114
40284
|
profileId: string().nullable()
|
|
40115
40285
|
}), _void(), {
|
|
@@ -40277,14 +40447,106 @@ var LogEntrySchema = object({
|
|
|
40277
40447
|
meta: record(string(), unknown()).optional(),
|
|
40278
40448
|
tags: record(string(), string()).optional()
|
|
40279
40449
|
});
|
|
40280
|
-
|
|
40281
|
-
|
|
40450
|
+
/**
|
|
40451
|
+
* A history READ against one destination (D898).
|
|
40452
|
+
*
|
|
40453
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
40454
|
+
* browser applied after the limit is what made a rare device's lines
|
|
40455
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
40456
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
40457
|
+
* nanosecond timestamp for Loki.
|
|
40458
|
+
*
|
|
40459
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
40460
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
40461
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
40462
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
40463
|
+
* flight, and not asking for the next slice ends the scan.
|
|
40464
|
+
*/
|
|
40465
|
+
var LogReadQuerySchema = object({
|
|
40466
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
40467
|
+
requestId: string().min(1).max(64).optional(),
|
|
40468
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
40469
|
+
deviceId: number().int().optional(),
|
|
40470
|
+
/**
|
|
40471
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
40472
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
40473
|
+
*/
|
|
40474
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
40475
|
+
/**
|
|
40476
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
40477
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
40478
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
40479
|
+
* name as "which node's provider".
|
|
40480
|
+
*/
|
|
40481
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
40482
|
+
/** Any other tag, exact match (AND). */
|
|
40483
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40484
|
+
/** Severity FLOOR: this level and above. */
|
|
40282
40485
|
level: LogLevelSchema.optional(),
|
|
40283
|
-
|
|
40284
|
-
|
|
40285
|
-
|
|
40286
|
-
|
|
40287
|
-
|
|
40486
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
40487
|
+
text: string().min(1).max(200).optional(),
|
|
40488
|
+
/** Epoch ms, inclusive. */
|
|
40489
|
+
since: number().optional(),
|
|
40490
|
+
/** Epoch ms, inclusive. */
|
|
40491
|
+
until: number().optional(),
|
|
40492
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
40493
|
+
before: string().min(1).max(1024).optional(),
|
|
40494
|
+
/** Newer than this cursor (exclusive). */
|
|
40495
|
+
after: string().min(1).max(1024).optional(),
|
|
40496
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
40497
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
40498
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
40499
|
+
});
|
|
40500
|
+
var LogReadResultSchema = object({
|
|
40501
|
+
/** Newest first. */
|
|
40502
|
+
entries: array(object({
|
|
40503
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
40504
|
+
id: string().optional(),
|
|
40505
|
+
/** Epoch ms. */
|
|
40506
|
+
timestamp: number(),
|
|
40507
|
+
level: LogLevelSchema,
|
|
40508
|
+
scope: string().optional(),
|
|
40509
|
+
message: string(),
|
|
40510
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40511
|
+
meta: record(string(), unknown()).optional()
|
|
40512
|
+
})),
|
|
40513
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
40514
|
+
nextBefore: string().nullable(),
|
|
40515
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
40516
|
+
nextAfter: string().nullable(),
|
|
40517
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
40518
|
+
scannedBytes: number().int().nonnegative(),
|
|
40519
|
+
/**
|
|
40520
|
+
* True when the scan in this direction reached the end of the store.
|
|
40521
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
40522
|
+
* call again with `nextBefore` to go on.
|
|
40523
|
+
*/
|
|
40524
|
+
done: boolean(),
|
|
40525
|
+
/** True when `cancelRead` ended this slice early. */
|
|
40526
|
+
cancelled: boolean().optional()
|
|
40527
|
+
});
|
|
40528
|
+
var LogReadCapabilitiesSchema = object({
|
|
40529
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
40530
|
+
readable: boolean(),
|
|
40531
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
40532
|
+
reason: string().nullable(),
|
|
40533
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
40534
|
+
filters: object({
|
|
40535
|
+
deviceId: boolean(),
|
|
40536
|
+
addonId: boolean(),
|
|
40537
|
+
nodeId: boolean(),
|
|
40538
|
+
tags: boolean(),
|
|
40539
|
+
level: boolean(),
|
|
40540
|
+
text: boolean(),
|
|
40541
|
+
timeRange: boolean()
|
|
40542
|
+
}),
|
|
40543
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
40544
|
+
retentionDays: number().nullable()
|
|
40545
|
+
});
|
|
40546
|
+
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() }), {
|
|
40547
|
+
kind: "mutation",
|
|
40548
|
+
auth: "admin"
|
|
40549
|
+
});
|
|
40288
40550
|
/**
|
|
40289
40551
|
* `login-method` — collection cap through which auth addons contribute
|
|
40290
40552
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -42840,6 +43102,33 @@ var NcRuleTargetSchema = object({
|
|
|
42840
43102
|
params: record(string(), unknown()).optional()
|
|
42841
43103
|
});
|
|
42842
43104
|
/**
|
|
43105
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
43106
|
+
*
|
|
43107
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
43108
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
43109
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
43110
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
43111
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
43112
|
+
* labelled with class and confidence ("dog 87%").
|
|
43113
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
43114
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
43115
|
+
* - `none` — no picture.
|
|
43116
|
+
*
|
|
43117
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
43118
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
43119
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
43120
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
43121
|
+
* stored kind had landed.
|
|
43122
|
+
*/
|
|
43123
|
+
var NcMediaImageSchema = _enum([
|
|
43124
|
+
"scene-boxes",
|
|
43125
|
+
"crop",
|
|
43126
|
+
"clean",
|
|
43127
|
+
"none"
|
|
43128
|
+
]);
|
|
43129
|
+
/**
|
|
43130
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43131
|
+
*
|
|
42843
43132
|
* Media attachment policy (P1 still-image subset).
|
|
42844
43133
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
42845
43134
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -42853,6 +43142,8 @@ var NcRuleTargetSchema = object({
|
|
|
42853
43142
|
* - `none` — no attachment.
|
|
42854
43143
|
*/
|
|
42855
43144
|
/**
|
|
43145
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43146
|
+
*
|
|
42856
43147
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
42857
43148
|
* conflate it with the selection strategy and betray the request: asking for
|
|
42858
43149
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -42881,16 +43172,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
42881
43172
|
*/
|
|
42882
43173
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
42883
43174
|
var NcMediaPolicySchema = object({
|
|
43175
|
+
/**
|
|
43176
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
43177
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
43178
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
43179
|
+
*/
|
|
43180
|
+
image: NcMediaImageSchema.optional(),
|
|
43181
|
+
/**
|
|
43182
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
43183
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
43184
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
43185
|
+
* Replaces `zoneCrop`.
|
|
43186
|
+
*/
|
|
43187
|
+
showTriggerZone: boolean().optional(),
|
|
43188
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42884
43189
|
attach: _enum([
|
|
42885
43190
|
"best",
|
|
42886
43191
|
"best-matching",
|
|
42887
43192
|
"keyFrame",
|
|
42888
43193
|
"none"
|
|
42889
|
-
]).
|
|
42890
|
-
/**
|
|
43194
|
+
]).optional(),
|
|
43195
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42891
43196
|
frame: NcMediaFrameSchema.optional(),
|
|
42892
|
-
/**
|
|
42893
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
43197
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
42894
43198
|
zoneCrop: boolean().optional(),
|
|
42895
43199
|
/**
|
|
42896
43200
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -43062,7 +43366,9 @@ var NcRuleInputSchema = object({
|
|
|
43062
43366
|
* targets.
|
|
43063
43367
|
*/
|
|
43064
43368
|
targetUsers: array(string()).optional(),
|
|
43065
|
-
|
|
43369
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
43370
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
43371
|
+
media: NcMediaPolicySchema.default({}),
|
|
43066
43372
|
throttle: NcThrottleSchema.default({
|
|
43067
43373
|
cooldownSec: 60,
|
|
43068
43374
|
scope: "rule-device"
|
|
@@ -43999,13 +44305,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
43999
44305
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
44000
44306
|
unknown: array(number().int())
|
|
44001
44307
|
});
|
|
44308
|
+
/**
|
|
44309
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
44310
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
44311
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
44312
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
44313
|
+
*/
|
|
44314
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
44315
|
+
ruleId: string(),
|
|
44316
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
44317
|
+
ruleName: string(),
|
|
44318
|
+
/** The input: the sensor of the match, else its camera. */
|
|
44319
|
+
deviceId: number().int(),
|
|
44320
|
+
/** The input's current name. */
|
|
44321
|
+
name: string(),
|
|
44322
|
+
/** When it was bypassed (ms epoch). */
|
|
44323
|
+
since: number(),
|
|
44324
|
+
/** Triggers from this input dropped since. */
|
|
44325
|
+
dropped: number().int().min(0)
|
|
44326
|
+
});
|
|
44002
44327
|
var NcAlarmLiveSchema = object({
|
|
44003
44328
|
state: AlarmStateSchema,
|
|
44004
44329
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
44005
44330
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
44006
44331
|
availableModes: array(AlarmArmModeSchema),
|
|
44007
44332
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
44008
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
44333
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
44334
|
+
/**
|
|
44335
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
44336
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
44337
|
+
*/
|
|
44338
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
44009
44339
|
});
|
|
44010
44340
|
var NcAlarmConfigSchema = object({
|
|
44011
44341
|
/**
|
|
@@ -61104,26 +61434,6 @@ var ApiKeySummarySchema = object({
|
|
|
61104
61434
|
createdAt: number(),
|
|
61105
61435
|
lastUsedAt: number().optional()
|
|
61106
61436
|
});
|
|
61107
|
-
var ScopedTokenSummarySchema = object({
|
|
61108
|
-
id: string(),
|
|
61109
|
-
userId: string(),
|
|
61110
|
-
name: string(),
|
|
61111
|
-
tokenPrefix: string(),
|
|
61112
|
-
scopes: array(TokenScopeSchema),
|
|
61113
|
-
expiresAt: number().nullish(),
|
|
61114
|
-
lastUsedAt: number().nullish(),
|
|
61115
|
-
createdAt: number()
|
|
61116
|
-
});
|
|
61117
|
-
var CreateScopedTokenInputSchema = object({
|
|
61118
|
-
userId: string(),
|
|
61119
|
-
name: string(),
|
|
61120
|
-
scopes: array(TokenScopeSchema),
|
|
61121
|
-
expiresAt: number().optional()
|
|
61122
|
-
});
|
|
61123
|
-
var CreateScopedTokenResultSchema = object({
|
|
61124
|
-
token: string(),
|
|
61125
|
-
record: ScopedTokenSummarySchema
|
|
61126
|
-
});
|
|
61127
61437
|
var OauthSessionSummarySchema = object({
|
|
61128
61438
|
id: string(),
|
|
61129
61439
|
userId: string(),
|
|
@@ -61145,11 +61455,11 @@ var TotpStatusSchema = object({
|
|
|
61145
61455
|
confirmedAt: number().nullable()
|
|
61146
61456
|
});
|
|
61147
61457
|
/**
|
|
61148
|
-
* user-management — singleton capability for user accounts
|
|
61149
|
-
*
|
|
61458
|
+
* user-management — singleton capability for user accounts and the
|
|
61459
|
+
* legacy API-key rows.
|
|
61150
61460
|
*
|
|
61151
61461
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61152
|
-
* — the subset check on `setUserScopes`
|
|
61462
|
+
* — the subset check on `setUserScopes` is moot
|
|
61153
61463
|
* because non-admins never reach these. If/when we open non-admin
|
|
61154
61464
|
* delegation, structural caller-scope subset check goes inside the
|
|
61155
61465
|
* provider.
|
|
@@ -61206,15 +61516,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61206
61516
|
kind: "mutation",
|
|
61207
61517
|
auth: "admin",
|
|
61208
61518
|
access: "delete"
|
|
61209
|
-
}), method(
|
|
61210
|
-
kind: "mutation",
|
|
61211
|
-
auth: "admin",
|
|
61212
|
-
access: "create"
|
|
61213
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61214
|
-
kind: "mutation",
|
|
61215
|
-
auth: "admin",
|
|
61216
|
-
access: "delete"
|
|
61217
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61519
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61218
61520
|
kind: "mutation",
|
|
61219
61521
|
auth: "admin",
|
|
61220
61522
|
access: "create"
|
|
@@ -65470,7 +65772,7 @@ Object.freeze({
|
|
|
65470
65772
|
capName: "llm",
|
|
65471
65773
|
capScope: "system",
|
|
65472
65774
|
addonId: null,
|
|
65473
|
-
access: "
|
|
65775
|
+
access: "create"
|
|
65474
65776
|
},
|
|
65475
65777
|
"llm.listNodeModels": {
|
|
65476
65778
|
capName: "llm",
|
|
@@ -65772,7 +66074,19 @@ Object.freeze({
|
|
|
65772
66074
|
addonId: null,
|
|
65773
66075
|
access: "view"
|
|
65774
66076
|
},
|
|
65775
|
-
"logDestination.
|
|
66077
|
+
"logDestination.cancelRead": {
|
|
66078
|
+
capName: "log-destination",
|
|
66079
|
+
capScope: "system",
|
|
66080
|
+
addonId: null,
|
|
66081
|
+
access: "create"
|
|
66082
|
+
},
|
|
66083
|
+
"logDestination.describeRead": {
|
|
66084
|
+
capName: "log-destination",
|
|
66085
|
+
capScope: "system",
|
|
66086
|
+
addonId: null,
|
|
66087
|
+
access: "view"
|
|
66088
|
+
},
|
|
66089
|
+
"logDestination.read": {
|
|
65776
66090
|
capName: "log-destination",
|
|
65777
66091
|
capScope: "system",
|
|
65778
66092
|
addonId: null,
|
|
@@ -70134,12 +70448,6 @@ Object.freeze({
|
|
|
70134
70448
|
addonId: null,
|
|
70135
70449
|
access: "create"
|
|
70136
70450
|
},
|
|
70137
|
-
"userManagement.createScopedToken": {
|
|
70138
|
-
capName: "user-management",
|
|
70139
|
-
capScope: "system",
|
|
70140
|
-
addonId: null,
|
|
70141
|
-
access: "create"
|
|
70142
|
-
},
|
|
70143
70451
|
"userManagement.createUser": {
|
|
70144
70452
|
capName: "user-management",
|
|
70145
70453
|
capScope: "system",
|
|
@@ -70188,12 +70496,6 @@ Object.freeze({
|
|
|
70188
70496
|
addonId: null,
|
|
70189
70497
|
access: "view"
|
|
70190
70498
|
},
|
|
70191
|
-
"userManagement.listScopedTokens": {
|
|
70192
|
-
capName: "user-management",
|
|
70193
|
-
capScope: "system",
|
|
70194
|
-
addonId: null,
|
|
70195
|
-
access: "view"
|
|
70196
|
-
},
|
|
70197
70499
|
"userManagement.listUsers": {
|
|
70198
70500
|
capName: "user-management",
|
|
70199
70501
|
capScope: "system",
|
|
@@ -70248,12 +70550,6 @@ Object.freeze({
|
|
|
70248
70550
|
addonId: null,
|
|
70249
70551
|
access: "delete"
|
|
70250
70552
|
},
|
|
70251
|
-
"userManagement.revokeScopedToken": {
|
|
70252
|
-
capName: "user-management",
|
|
70253
|
-
capScope: "system",
|
|
70254
|
-
addonId: null,
|
|
70255
|
-
access: "delete"
|
|
70256
|
-
},
|
|
70257
70553
|
"userManagement.setupTotp": {
|
|
70258
70554
|
capName: "user-management",
|
|
70259
70555
|
capScope: "system",
|
|
@@ -70284,12 +70580,6 @@ Object.freeze({
|
|
|
70284
70580
|
addonId: null,
|
|
70285
70581
|
access: "view"
|
|
70286
70582
|
},
|
|
70287
|
-
"userManagement.validateScopedToken": {
|
|
70288
|
-
capName: "user-management",
|
|
70289
|
-
capScope: "system",
|
|
70290
|
-
addonId: null,
|
|
70291
|
-
access: "view"
|
|
70292
|
-
},
|
|
70293
70583
|
"userManagement.verifyTotp": {
|
|
70294
70584
|
capName: "user-management",
|
|
70295
70585
|
capScope: "system",
|
|
@@ -71803,6 +72093,11 @@ Object.freeze({
|
|
|
71803
72093
|
form: "single",
|
|
71804
72094
|
optional: false
|
|
71805
72095
|
}],
|
|
72096
|
+
"logDestination.read": [{
|
|
72097
|
+
name: "deviceId",
|
|
72098
|
+
form: "single",
|
|
72099
|
+
optional: true
|
|
72100
|
+
}],
|
|
71806
72101
|
"mediaPlayer.getStatus": [{
|
|
71807
72102
|
name: "deviceId",
|
|
71808
72103
|
form: "single",
|