@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
|
@@ -5580,7 +5580,7 @@ var ZodIssueCode = {
|
|
|
5580
5580
|
var ZodFirstPartyTypeKind;
|
|
5581
5581
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5582
5582
|
//#endregion
|
|
5583
|
-
//#region ../types/dist/sleep-
|
|
5583
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5584
5584
|
/**
|
|
5585
5585
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5586
5586
|
* window to float samples (D455).
|
|
@@ -7963,9 +7963,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7963
7963
|
return result;
|
|
7964
7964
|
}
|
|
7965
7965
|
/**
|
|
7966
|
-
* The share-view scope kinds a
|
|
7967
|
-
* and validates them (`
|
|
7968
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7966
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7967
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7968
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7969
7969
|
*/
|
|
7970
7970
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7971
7971
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12851,7 +12851,7 @@ var ConvertResultSchema = object({
|
|
|
12851
12851
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12852
12852
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12853
12853
|
* distinction was only ever used to route role-specific procedures
|
|
12854
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12854
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12855
12855
|
* with `isAdmin: false` + an explicit scope list.
|
|
12856
12856
|
*/
|
|
12857
12857
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -13040,10 +13040,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
13040
13040
|
type: literal("addon-routes"),
|
|
13041
13041
|
access: array(MethodAccessSchema).min(1)
|
|
13042
13042
|
});
|
|
13043
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
13043
13044
|
var CredentialScopeSchema = union([
|
|
13044
13045
|
literal("*"),
|
|
13045
13046
|
ShareViewScopeSchema,
|
|
13046
13047
|
AddonRoutesScopeSchema,
|
|
13048
|
+
PreferencesSelfScopeSchema,
|
|
13047
13049
|
TokenScopeSchema
|
|
13048
13050
|
]);
|
|
13049
13051
|
object({
|
|
@@ -13052,6 +13054,55 @@ object({
|
|
|
13052
13054
|
jti: string().min(16),
|
|
13053
13055
|
scopes: array(CredentialScopeSchema).min(1)
|
|
13054
13056
|
});
|
|
13057
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
13058
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
13059
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
13060
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
13061
|
+
/** A stored row, as the owner reads it. */
|
|
13062
|
+
var PreferenceRowSchema = object({
|
|
13063
|
+
namespace: PreferenceNamespaceSchema,
|
|
13064
|
+
value: PreferenceValueSchema,
|
|
13065
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
13066
|
+
revision: number().int().positive(),
|
|
13067
|
+
updatedAt: number().int(),
|
|
13068
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
13069
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
13070
|
+
});
|
|
13071
|
+
object({
|
|
13072
|
+
/** Absent: every namespace the caller holds. */
|
|
13073
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
13074
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
13075
|
+
object({
|
|
13076
|
+
namespace: PreferenceNamespaceSchema,
|
|
13077
|
+
value: PreferenceValueSchema,
|
|
13078
|
+
/**
|
|
13079
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
13080
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
13081
|
+
* revision answers `conflict` and writes nothing.
|
|
13082
|
+
*/
|
|
13083
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
13084
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
13085
|
+
});
|
|
13086
|
+
discriminatedUnion("status", [object({
|
|
13087
|
+
status: literal("saved"),
|
|
13088
|
+
row: PreferenceRowSchema
|
|
13089
|
+
}), object({
|
|
13090
|
+
status: literal("conflict"),
|
|
13091
|
+
current: PreferenceRowSchema.nullable()
|
|
13092
|
+
})]);
|
|
13093
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
13094
|
+
object({
|
|
13095
|
+
/** `false` when the namespace did not exist. */
|
|
13096
|
+
deleted: boolean() });
|
|
13097
|
+
object({
|
|
13098
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
13099
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
13100
|
+
object({
|
|
13101
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
13102
|
+
rows: array(PreferenceRowSchema),
|
|
13103
|
+
/** Namespaces the client listed that no longer exist. */
|
|
13104
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
13105
|
+
});
|
|
13055
13106
|
_enum(["new-session", "step-up"]);
|
|
13056
13107
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
13057
13108
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -17216,7 +17267,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
17216
17267
|
kind: literal("node"),
|
|
17217
17268
|
nodeId: string().min(1)
|
|
17218
17269
|
})]);
|
|
17270
|
+
/**
|
|
17271
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
17272
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
17273
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
17274
|
+
*/
|
|
17219
17275
|
var DeviceHistoryKindSchema = _enum([
|
|
17276
|
+
"gauge",
|
|
17277
|
+
"counter",
|
|
17278
|
+
"boolean",
|
|
17279
|
+
"enum"
|
|
17280
|
+
]);
|
|
17281
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
17282
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
17220
17283
|
"gauge",
|
|
17221
17284
|
"counter",
|
|
17222
17285
|
"boolean"
|
|
@@ -17253,7 +17316,13 @@ var SeriesInfoSchema = object({
|
|
|
17253
17316
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
17254
17317
|
unit: string().nullable(),
|
|
17255
17318
|
displayName: string(),
|
|
17256
|
-
source: _enum([
|
|
17319
|
+
source: _enum([
|
|
17320
|
+
"cap",
|
|
17321
|
+
"addon",
|
|
17322
|
+
"derived"
|
|
17323
|
+
]),
|
|
17324
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
17325
|
+
values: array(string()).readonly().nullable(),
|
|
17257
17326
|
firstTs: number(),
|
|
17258
17327
|
lastTs: number()
|
|
17259
17328
|
});
|
|
@@ -17267,17 +17336,31 @@ var QueryPointSchema = object({
|
|
|
17267
17336
|
twMean: number().nullable(),
|
|
17268
17337
|
min: number(),
|
|
17269
17338
|
max: number(),
|
|
17270
|
-
/** `null` is unknown, never zero (D393). */
|
|
17271
|
-
last: number().nullable()
|
|
17339
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
17340
|
+
last: number().nullable(),
|
|
17341
|
+
/**
|
|
17342
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
17343
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
17344
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
17345
|
+
* every other kind, and when it cannot be known.
|
|
17346
|
+
*/
|
|
17347
|
+
delta: number().nullable(),
|
|
17348
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
17349
|
+
state: string().nullable(),
|
|
17350
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
17351
|
+
states: record(string(), number()).nullable()
|
|
17272
17352
|
});
|
|
17273
17353
|
var QuerySeriesSchema = object({
|
|
17274
17354
|
scope: string(),
|
|
17275
17355
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
17276
17356
|
before: object({
|
|
17277
17357
|
t: number(),
|
|
17278
|
-
value: number().nullable()
|
|
17358
|
+
value: number().nullable(),
|
|
17359
|
+
state: string().nullable()
|
|
17279
17360
|
}).nullable(),
|
|
17280
|
-
points: array(QueryPointSchema).readonly()
|
|
17361
|
+
points: array(QueryPointSchema).readonly(),
|
|
17362
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
17363
|
+
derivedFrom: string().nullable()
|
|
17281
17364
|
});
|
|
17282
17365
|
/** The window part of a query, shared by the device and node forms. */
|
|
17283
17366
|
var QueryWindowShape = {
|
|
@@ -17293,6 +17376,23 @@ var QueryResultSchema = object({
|
|
|
17293
17376
|
series: array(QuerySeriesSchema).readonly(),
|
|
17294
17377
|
truncated: boolean()
|
|
17295
17378
|
});
|
|
17379
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
17380
|
+
var QueryManyItemSchema = union([object({
|
|
17381
|
+
deviceId: number().int(),
|
|
17382
|
+
key: string(),
|
|
17383
|
+
scope: string().optional()
|
|
17384
|
+
}), object({
|
|
17385
|
+
forNodeId: string().min(1),
|
|
17386
|
+
key: string(),
|
|
17387
|
+
scope: string().optional()
|
|
17388
|
+
})]);
|
|
17389
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
17390
|
+
ok: literal(true),
|
|
17391
|
+
result: QueryResultSchema
|
|
17392
|
+
}), object({
|
|
17393
|
+
ok: literal(false),
|
|
17394
|
+
error: string()
|
|
17395
|
+
})]);
|
|
17296
17396
|
var TierStatusSchema = object({
|
|
17297
17397
|
tier: DeviceHistoryResolutionSchema,
|
|
17298
17398
|
/** `null` until the first background count answered. */
|
|
@@ -17348,16 +17448,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
17348
17448
|
lastRefreshAt: number().nullable()
|
|
17349
17449
|
})
|
|
17350
17450
|
});
|
|
17351
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
17451
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
17352
17452
|
deviceId: number().int(),
|
|
17353
17453
|
...QueryWindowShape
|
|
17354
17454
|
}), QueryResultSchema), method(object({
|
|
17355
|
-
|
|
17455
|
+
forNodeId: string().min(1),
|
|
17356
17456
|
...QueryWindowShape
|
|
17357
17457
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
17458
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
17459
|
+
from: QueryWindowShape.from,
|
|
17460
|
+
to: QueryWindowShape.to,
|
|
17461
|
+
resolution: QueryWindowShape.resolution,
|
|
17462
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
17463
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
17358
17464
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
17359
17465
|
subjectKind: _enum(["device", "node"]),
|
|
17360
|
-
kind:
|
|
17466
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
17361
17467
|
unit: string().optional(),
|
|
17362
17468
|
displayName: string().min(1),
|
|
17363
17469
|
ingest: _enum(["points", "buckets"])
|
|
@@ -39947,38 +40053,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39947
40053
|
auth: "admin",
|
|
39948
40054
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39949
40055
|
});
|
|
40056
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
40057
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
40058
|
+
var LlmModelFeaturesSchema = object({
|
|
40059
|
+
vision: boolean(),
|
|
40060
|
+
tools: boolean(),
|
|
40061
|
+
streaming: boolean()
|
|
40062
|
+
});
|
|
40063
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
40064
|
+
var LlmModelInfoSchema = object({
|
|
40065
|
+
id: string(),
|
|
40066
|
+
label: string().optional(),
|
|
40067
|
+
contextLength: number().int().positive().optional(),
|
|
40068
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
40069
|
+
});
|
|
39950
40070
|
/**
|
|
39951
|
-
*
|
|
39952
|
-
*
|
|
39953
|
-
*
|
|
39954
|
-
*
|
|
39955
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39956
|
-
*
|
|
39957
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39958
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39959
|
-
* write; a stored key NEVER round-trips to a client.
|
|
40071
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
40072
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
40073
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
40074
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39960
40075
|
*/
|
|
39961
|
-
var
|
|
39962
|
-
"openai-compatible",
|
|
39963
|
-
"openai",
|
|
39964
|
-
"anthropic",
|
|
39965
|
-
"google",
|
|
39966
|
-
"managed-local",
|
|
39967
|
-
"apple-foundation"
|
|
39968
|
-
]);
|
|
40076
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39969
40077
|
var LlmProfileSchema = object({
|
|
39970
40078
|
id: string(),
|
|
39971
40079
|
name: string(),
|
|
40080
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39972
40081
|
kind: LlmProfileKindSchema,
|
|
39973
40082
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39974
40083
|
addonId: string(),
|
|
39975
40084
|
enabled: boolean(),
|
|
39976
40085
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39977
40086
|
model: string(),
|
|
39978
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39979
|
-
baseUrl: string().optional(),
|
|
39980
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39981
|
-
apiKey: string().optional(),
|
|
39982
40087
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39983
40088
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39984
40089
|
* question about a picture nobody sent. */
|
|
@@ -39986,15 +40091,11 @@ var LlmProfileSchema = object({
|
|
|
39986
40091
|
temperature: number().min(0).max(2).optional(),
|
|
39987
40092
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39988
40093
|
topP: number().min(0).max(1).optional(),
|
|
39989
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39990
|
-
*
|
|
39991
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39992
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
40094
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
40095
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39993
40096
|
topK: number().int().positive().optional(),
|
|
39994
40097
|
maxTokens: number().int().positive().optional(),
|
|
39995
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39996
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39997
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
40098
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39998
40099
|
contextLength: number().int().positive().optional(),
|
|
39999
40100
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
40000
40101
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -40020,16 +40121,37 @@ var LlmProfileSchema = object({
|
|
|
40020
40121
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
40021
40122
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
40022
40123
|
toolsEnabled: boolean().default(false),
|
|
40023
|
-
|
|
40024
|
-
|
|
40025
|
-
|
|
40026
|
-
|
|
40027
|
-
|
|
40028
|
-
|
|
40029
|
-
|
|
40030
|
-
|
|
40031
|
-
|
|
40032
|
-
|
|
40124
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40125
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40126
|
+
});
|
|
40127
|
+
/**
|
|
40128
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40129
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40130
|
+
*/
|
|
40131
|
+
var LlmProfileFieldSchema = _enum([
|
|
40132
|
+
"temperature",
|
|
40133
|
+
"topP",
|
|
40134
|
+
"topK",
|
|
40135
|
+
"maxTokens",
|
|
40136
|
+
"contextLength",
|
|
40137
|
+
"systemPrompt",
|
|
40138
|
+
"timeoutMs",
|
|
40139
|
+
"connectTimeoutMs",
|
|
40140
|
+
"firstTokenTimeoutMs",
|
|
40141
|
+
"idleTimeoutMs",
|
|
40142
|
+
"retry",
|
|
40143
|
+
"toolsEnabled"
|
|
40144
|
+
]);
|
|
40145
|
+
/**
|
|
40146
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40147
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40148
|
+
* picker: that widget owns the model choice.
|
|
40149
|
+
*/
|
|
40150
|
+
var LlmProviderWidgetSchema = object({
|
|
40151
|
+
id: string(),
|
|
40152
|
+
placement: _enum(["connection", "model"]),
|
|
40153
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40154
|
+
requires: array(string()).optional()
|
|
40033
40155
|
});
|
|
40034
40156
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
40035
40157
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -40038,11 +40160,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
40038
40160
|
var LlmProfileKindDescriptorSchema = object({
|
|
40039
40161
|
kind: LlmProfileKindSchema,
|
|
40040
40162
|
label: string(),
|
|
40163
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
40041
40164
|
icon: string(),
|
|
40042
40165
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
40043
40166
|
addonId: string(),
|
|
40044
|
-
|
|
40167
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40168
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40169
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40170
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40171
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40172
|
+
features: LlmModelFeaturesSchema,
|
|
40173
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40174
|
+
visionEditable: boolean(),
|
|
40175
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40176
|
+
modelCatalog: _enum([
|
|
40177
|
+
"fetch",
|
|
40178
|
+
"static",
|
|
40179
|
+
"none"
|
|
40180
|
+
]),
|
|
40181
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40182
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40183
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40184
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40185
|
+
});
|
|
40186
|
+
/**
|
|
40187
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40188
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40189
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40190
|
+
* stored profile — the browser never receives it.
|
|
40191
|
+
*/
|
|
40192
|
+
var LlmListModelsInputSchema = object({
|
|
40193
|
+
addonId: string(),
|
|
40194
|
+
kind: LlmProfileKindSchema,
|
|
40195
|
+
profileId: string().optional(),
|
|
40196
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40045
40197
|
});
|
|
40198
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40199
|
+
"auth",
|
|
40200
|
+
"network",
|
|
40201
|
+
"unsupported",
|
|
40202
|
+
"invalid"
|
|
40203
|
+
]);
|
|
40204
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40205
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40206
|
+
ok: literal(true),
|
|
40207
|
+
models: array(LlmModelInfoSchema)
|
|
40208
|
+
}), object({
|
|
40209
|
+
ok: literal(false),
|
|
40210
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40211
|
+
message: string()
|
|
40212
|
+
})]);
|
|
40046
40213
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
40047
40214
|
var LlmDefaultSchema = object({
|
|
40048
40215
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40142,7 +40309,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40142
40309
|
kind: "mutation",
|
|
40143
40310
|
auth: "admin",
|
|
40144
40311
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40145
|
-
}), method(
|
|
40312
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40313
|
+
kind: "mutation",
|
|
40314
|
+
auth: "admin"
|
|
40315
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40146
40316
|
selector: LlmDefaultSelectorSchema,
|
|
40147
40317
|
profileId: string().nullable()
|
|
40148
40318
|
}), _void(), {
|
|
@@ -40310,14 +40480,106 @@ var LogEntrySchema = object({
|
|
|
40310
40480
|
meta: record(string(), unknown()).optional(),
|
|
40311
40481
|
tags: record(string(), string()).optional()
|
|
40312
40482
|
});
|
|
40313
|
-
|
|
40314
|
-
|
|
40483
|
+
/**
|
|
40484
|
+
* A history READ against one destination (D898).
|
|
40485
|
+
*
|
|
40486
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
40487
|
+
* browser applied after the limit is what made a rare device's lines
|
|
40488
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
40489
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
40490
|
+
* nanosecond timestamp for Loki.
|
|
40491
|
+
*
|
|
40492
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
40493
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
40494
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
40495
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
40496
|
+
* flight, and not asking for the next slice ends the scan.
|
|
40497
|
+
*/
|
|
40498
|
+
var LogReadQuerySchema = object({
|
|
40499
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
40500
|
+
requestId: string().min(1).max(64).optional(),
|
|
40501
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
40502
|
+
deviceId: number().int().optional(),
|
|
40503
|
+
/**
|
|
40504
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
40505
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
40506
|
+
*/
|
|
40507
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
40508
|
+
/**
|
|
40509
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
40510
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
40511
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
40512
|
+
* name as "which node's provider".
|
|
40513
|
+
*/
|
|
40514
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
40515
|
+
/** Any other tag, exact match (AND). */
|
|
40516
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40517
|
+
/** Severity FLOOR: this level and above. */
|
|
40315
40518
|
level: LogLevelSchema.optional(),
|
|
40316
|
-
|
|
40317
|
-
|
|
40318
|
-
|
|
40319
|
-
|
|
40320
|
-
|
|
40519
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
40520
|
+
text: string().min(1).max(200).optional(),
|
|
40521
|
+
/** Epoch ms, inclusive. */
|
|
40522
|
+
since: number().optional(),
|
|
40523
|
+
/** Epoch ms, inclusive. */
|
|
40524
|
+
until: number().optional(),
|
|
40525
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
40526
|
+
before: string().min(1).max(1024).optional(),
|
|
40527
|
+
/** Newer than this cursor (exclusive). */
|
|
40528
|
+
after: string().min(1).max(1024).optional(),
|
|
40529
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
40530
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
40531
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
40532
|
+
});
|
|
40533
|
+
var LogReadResultSchema = object({
|
|
40534
|
+
/** Newest first. */
|
|
40535
|
+
entries: array(object({
|
|
40536
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
40537
|
+
id: string().optional(),
|
|
40538
|
+
/** Epoch ms. */
|
|
40539
|
+
timestamp: number(),
|
|
40540
|
+
level: LogLevelSchema,
|
|
40541
|
+
scope: string().optional(),
|
|
40542
|
+
message: string(),
|
|
40543
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40544
|
+
meta: record(string(), unknown()).optional()
|
|
40545
|
+
})),
|
|
40546
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
40547
|
+
nextBefore: string().nullable(),
|
|
40548
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
40549
|
+
nextAfter: string().nullable(),
|
|
40550
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
40551
|
+
scannedBytes: number().int().nonnegative(),
|
|
40552
|
+
/**
|
|
40553
|
+
* True when the scan in this direction reached the end of the store.
|
|
40554
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
40555
|
+
* call again with `nextBefore` to go on.
|
|
40556
|
+
*/
|
|
40557
|
+
done: boolean(),
|
|
40558
|
+
/** True when `cancelRead` ended this slice early. */
|
|
40559
|
+
cancelled: boolean().optional()
|
|
40560
|
+
});
|
|
40561
|
+
var LogReadCapabilitiesSchema = object({
|
|
40562
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
40563
|
+
readable: boolean(),
|
|
40564
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
40565
|
+
reason: string().nullable(),
|
|
40566
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
40567
|
+
filters: object({
|
|
40568
|
+
deviceId: boolean(),
|
|
40569
|
+
addonId: boolean(),
|
|
40570
|
+
nodeId: boolean(),
|
|
40571
|
+
tags: boolean(),
|
|
40572
|
+
level: boolean(),
|
|
40573
|
+
text: boolean(),
|
|
40574
|
+
timeRange: boolean()
|
|
40575
|
+
}),
|
|
40576
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
40577
|
+
retentionDays: number().nullable()
|
|
40578
|
+
});
|
|
40579
|
+
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() }), {
|
|
40580
|
+
kind: "mutation",
|
|
40581
|
+
auth: "admin"
|
|
40582
|
+
});
|
|
40321
40583
|
/**
|
|
40322
40584
|
* `login-method` — collection cap through which auth addons contribute
|
|
40323
40585
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -42873,6 +43135,33 @@ var NcRuleTargetSchema = object({
|
|
|
42873
43135
|
params: record(string(), unknown()).optional()
|
|
42874
43136
|
});
|
|
42875
43137
|
/**
|
|
43138
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
43139
|
+
*
|
|
43140
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
43141
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
43142
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
43143
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
43144
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
43145
|
+
* labelled with class and confidence ("dog 87%").
|
|
43146
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
43147
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
43148
|
+
* - `none` — no picture.
|
|
43149
|
+
*
|
|
43150
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
43151
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
43152
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
43153
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
43154
|
+
* stored kind had landed.
|
|
43155
|
+
*/
|
|
43156
|
+
var NcMediaImageSchema = _enum([
|
|
43157
|
+
"scene-boxes",
|
|
43158
|
+
"crop",
|
|
43159
|
+
"clean",
|
|
43160
|
+
"none"
|
|
43161
|
+
]);
|
|
43162
|
+
/**
|
|
43163
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43164
|
+
*
|
|
42876
43165
|
* Media attachment policy (P1 still-image subset).
|
|
42877
43166
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
42878
43167
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -42886,6 +43175,8 @@ var NcRuleTargetSchema = object({
|
|
|
42886
43175
|
* - `none` — no attachment.
|
|
42887
43176
|
*/
|
|
42888
43177
|
/**
|
|
43178
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43179
|
+
*
|
|
42889
43180
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
42890
43181
|
* conflate it with the selection strategy and betray the request: asking for
|
|
42891
43182
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -42914,16 +43205,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
42914
43205
|
*/
|
|
42915
43206
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
42916
43207
|
var NcMediaPolicySchema = object({
|
|
43208
|
+
/**
|
|
43209
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
43210
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
43211
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
43212
|
+
*/
|
|
43213
|
+
image: NcMediaImageSchema.optional(),
|
|
43214
|
+
/**
|
|
43215
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
43216
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
43217
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
43218
|
+
* Replaces `zoneCrop`.
|
|
43219
|
+
*/
|
|
43220
|
+
showTriggerZone: boolean().optional(),
|
|
43221
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42917
43222
|
attach: _enum([
|
|
42918
43223
|
"best",
|
|
42919
43224
|
"best-matching",
|
|
42920
43225
|
"keyFrame",
|
|
42921
43226
|
"none"
|
|
42922
|
-
]).
|
|
42923
|
-
/**
|
|
43227
|
+
]).optional(),
|
|
43228
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42924
43229
|
frame: NcMediaFrameSchema.optional(),
|
|
42925
|
-
/**
|
|
42926
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
43230
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
42927
43231
|
zoneCrop: boolean().optional(),
|
|
42928
43232
|
/**
|
|
42929
43233
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -43095,7 +43399,9 @@ var NcRuleInputSchema = object({
|
|
|
43095
43399
|
* targets.
|
|
43096
43400
|
*/
|
|
43097
43401
|
targetUsers: array(string()).optional(),
|
|
43098
|
-
|
|
43402
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
43403
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
43404
|
+
media: NcMediaPolicySchema.default({}),
|
|
43099
43405
|
throttle: NcThrottleSchema.default({
|
|
43100
43406
|
cooldownSec: 60,
|
|
43101
43407
|
scope: "rule-device"
|
|
@@ -44032,13 +44338,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
44032
44338
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
44033
44339
|
unknown: array(number().int())
|
|
44034
44340
|
});
|
|
44341
|
+
/**
|
|
44342
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
44343
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
44344
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
44345
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
44346
|
+
*/
|
|
44347
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
44348
|
+
ruleId: string(),
|
|
44349
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
44350
|
+
ruleName: string(),
|
|
44351
|
+
/** The input: the sensor of the match, else its camera. */
|
|
44352
|
+
deviceId: number().int(),
|
|
44353
|
+
/** The input's current name. */
|
|
44354
|
+
name: string(),
|
|
44355
|
+
/** When it was bypassed (ms epoch). */
|
|
44356
|
+
since: number(),
|
|
44357
|
+
/** Triggers from this input dropped since. */
|
|
44358
|
+
dropped: number().int().min(0)
|
|
44359
|
+
});
|
|
44035
44360
|
var NcAlarmLiveSchema = object({
|
|
44036
44361
|
state: AlarmStateSchema,
|
|
44037
44362
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
44038
44363
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
44039
44364
|
availableModes: array(AlarmArmModeSchema),
|
|
44040
44365
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
44041
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
44366
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
44367
|
+
/**
|
|
44368
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
44369
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
44370
|
+
*/
|
|
44371
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
44042
44372
|
});
|
|
44043
44373
|
var NcAlarmConfigSchema = object({
|
|
44044
44374
|
/**
|
|
@@ -61137,26 +61467,6 @@ var ApiKeySummarySchema = object({
|
|
|
61137
61467
|
createdAt: number(),
|
|
61138
61468
|
lastUsedAt: number().optional()
|
|
61139
61469
|
});
|
|
61140
|
-
var ScopedTokenSummarySchema = object({
|
|
61141
|
-
id: string(),
|
|
61142
|
-
userId: string(),
|
|
61143
|
-
name: string(),
|
|
61144
|
-
tokenPrefix: string(),
|
|
61145
|
-
scopes: array(TokenScopeSchema),
|
|
61146
|
-
expiresAt: number().nullish(),
|
|
61147
|
-
lastUsedAt: number().nullish(),
|
|
61148
|
-
createdAt: number()
|
|
61149
|
-
});
|
|
61150
|
-
var CreateScopedTokenInputSchema = object({
|
|
61151
|
-
userId: string(),
|
|
61152
|
-
name: string(),
|
|
61153
|
-
scopes: array(TokenScopeSchema),
|
|
61154
|
-
expiresAt: number().optional()
|
|
61155
|
-
});
|
|
61156
|
-
var CreateScopedTokenResultSchema = object({
|
|
61157
|
-
token: string(),
|
|
61158
|
-
record: ScopedTokenSummarySchema
|
|
61159
|
-
});
|
|
61160
61470
|
var OauthSessionSummarySchema = object({
|
|
61161
61471
|
id: string(),
|
|
61162
61472
|
userId: string(),
|
|
@@ -61178,11 +61488,11 @@ var TotpStatusSchema = object({
|
|
|
61178
61488
|
confirmedAt: number().nullable()
|
|
61179
61489
|
});
|
|
61180
61490
|
/**
|
|
61181
|
-
* user-management — singleton capability for user accounts
|
|
61182
|
-
*
|
|
61491
|
+
* user-management — singleton capability for user accounts and the
|
|
61492
|
+
* legacy API-key rows.
|
|
61183
61493
|
*
|
|
61184
61494
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61185
|
-
* — the subset check on `setUserScopes`
|
|
61495
|
+
* — the subset check on `setUserScopes` is moot
|
|
61186
61496
|
* because non-admins never reach these. If/when we open non-admin
|
|
61187
61497
|
* delegation, structural caller-scope subset check goes inside the
|
|
61188
61498
|
* provider.
|
|
@@ -61239,15 +61549,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61239
61549
|
kind: "mutation",
|
|
61240
61550
|
auth: "admin",
|
|
61241
61551
|
access: "delete"
|
|
61242
|
-
}), method(
|
|
61243
|
-
kind: "mutation",
|
|
61244
|
-
auth: "admin",
|
|
61245
|
-
access: "create"
|
|
61246
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61247
|
-
kind: "mutation",
|
|
61248
|
-
auth: "admin",
|
|
61249
|
-
access: "delete"
|
|
61250
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61552
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61251
61553
|
kind: "mutation",
|
|
61252
61554
|
auth: "admin",
|
|
61253
61555
|
access: "create"
|
|
@@ -65503,7 +65805,7 @@ Object.freeze({
|
|
|
65503
65805
|
capName: "llm",
|
|
65504
65806
|
capScope: "system",
|
|
65505
65807
|
addonId: null,
|
|
65506
|
-
access: "
|
|
65808
|
+
access: "create"
|
|
65507
65809
|
},
|
|
65508
65810
|
"llm.listNodeModels": {
|
|
65509
65811
|
capName: "llm",
|
|
@@ -65805,7 +66107,19 @@ Object.freeze({
|
|
|
65805
66107
|
addonId: null,
|
|
65806
66108
|
access: "view"
|
|
65807
66109
|
},
|
|
65808
|
-
"logDestination.
|
|
66110
|
+
"logDestination.cancelRead": {
|
|
66111
|
+
capName: "log-destination",
|
|
66112
|
+
capScope: "system",
|
|
66113
|
+
addonId: null,
|
|
66114
|
+
access: "create"
|
|
66115
|
+
},
|
|
66116
|
+
"logDestination.describeRead": {
|
|
66117
|
+
capName: "log-destination",
|
|
66118
|
+
capScope: "system",
|
|
66119
|
+
addonId: null,
|
|
66120
|
+
access: "view"
|
|
66121
|
+
},
|
|
66122
|
+
"logDestination.read": {
|
|
65809
66123
|
capName: "log-destination",
|
|
65810
66124
|
capScope: "system",
|
|
65811
66125
|
addonId: null,
|
|
@@ -70167,12 +70481,6 @@ Object.freeze({
|
|
|
70167
70481
|
addonId: null,
|
|
70168
70482
|
access: "create"
|
|
70169
70483
|
},
|
|
70170
|
-
"userManagement.createScopedToken": {
|
|
70171
|
-
capName: "user-management",
|
|
70172
|
-
capScope: "system",
|
|
70173
|
-
addonId: null,
|
|
70174
|
-
access: "create"
|
|
70175
|
-
},
|
|
70176
70484
|
"userManagement.createUser": {
|
|
70177
70485
|
capName: "user-management",
|
|
70178
70486
|
capScope: "system",
|
|
@@ -70221,12 +70529,6 @@ Object.freeze({
|
|
|
70221
70529
|
addonId: null,
|
|
70222
70530
|
access: "view"
|
|
70223
70531
|
},
|
|
70224
|
-
"userManagement.listScopedTokens": {
|
|
70225
|
-
capName: "user-management",
|
|
70226
|
-
capScope: "system",
|
|
70227
|
-
addonId: null,
|
|
70228
|
-
access: "view"
|
|
70229
|
-
},
|
|
70230
70532
|
"userManagement.listUsers": {
|
|
70231
70533
|
capName: "user-management",
|
|
70232
70534
|
capScope: "system",
|
|
@@ -70281,12 +70583,6 @@ Object.freeze({
|
|
|
70281
70583
|
addonId: null,
|
|
70282
70584
|
access: "delete"
|
|
70283
70585
|
},
|
|
70284
|
-
"userManagement.revokeScopedToken": {
|
|
70285
|
-
capName: "user-management",
|
|
70286
|
-
capScope: "system",
|
|
70287
|
-
addonId: null,
|
|
70288
|
-
access: "delete"
|
|
70289
|
-
},
|
|
70290
70586
|
"userManagement.setupTotp": {
|
|
70291
70587
|
capName: "user-management",
|
|
70292
70588
|
capScope: "system",
|
|
@@ -70317,12 +70613,6 @@ Object.freeze({
|
|
|
70317
70613
|
addonId: null,
|
|
70318
70614
|
access: "view"
|
|
70319
70615
|
},
|
|
70320
|
-
"userManagement.validateScopedToken": {
|
|
70321
|
-
capName: "user-management",
|
|
70322
|
-
capScope: "system",
|
|
70323
|
-
addonId: null,
|
|
70324
|
-
access: "view"
|
|
70325
|
-
},
|
|
70326
70616
|
"userManagement.verifyTotp": {
|
|
70327
70617
|
capName: "user-management",
|
|
70328
70618
|
capScope: "system",
|
|
@@ -71836,6 +72126,11 @@ Object.freeze({
|
|
|
71836
72126
|
form: "single",
|
|
71837
72127
|
optional: false
|
|
71838
72128
|
}],
|
|
72129
|
+
"logDestination.read": [{
|
|
72130
|
+
name: "deviceId",
|
|
72131
|
+
form: "single",
|
|
72132
|
+
optional: true
|
|
72133
|
+
}],
|
|
71839
72134
|
"mediaPlayer.getStatus": [{
|
|
71840
72135
|
name: "deviceId",
|
|
71841
72136
|
form: "single",
|