@camstack/addon-model-studio 1.1.273 → 1.1.275
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-Duuc8czf.mjs → MotionZonesSettings-BIG8aGEv.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-WF3MWogd.mjs → PrivacyMaskSettings-CWoTqjnu.mjs} +4 -4
- package/dist/{SceneMonitorEditor-qLV4EW0B.mjs → SceneMonitorEditor-DtFj9te6.mjs} +3 -3
- package/dist/_stub.js +4700 -4492
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-j0yqR-LS.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DZN7cTDO.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Ss7FN2Gd.mjs +26 -0
- package/dist/{hostInit-Cq_rzz4M.mjs → hostInit-AEMzVXja.mjs} +3 -3
- package/dist/model-studio.addon.js +419 -124
- package/dist/model-studio.addon.mjs +419 -124
- package/dist/{player-overlays-CT6XuXiM.mjs → player-overlays-B_Mz7Ntr.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-CYduFr5C.mjs → responsive-7Q45kP8J.mjs} +1 -1
- package/dist/{scene-monitor-copy-CPlDlbF7.mjs → scene-monitor-copy-D-U8UjC2.mjs} +1 -1
- package/dist/{square-CDQOHhX3.mjs → square-CgRaaMPf.mjs} +1 -1
- package/dist/{trash-2-CHBNgRI-.mjs → trash-2-CPDY_aHv.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CoBHAIAZ.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BkEmqrtC.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Z7ZkM51W.mjs +0 -26
|
@@ -5783,7 +5783,7 @@ var ZodIssueCode = {
|
|
|
5783
5783
|
var ZodFirstPartyTypeKind;
|
|
5784
5784
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5785
5785
|
//#endregion
|
|
5786
|
-
//#region ../types/dist/sleep-
|
|
5786
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5787
5787
|
/**
|
|
5788
5788
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5789
5789
|
* window to float samples (D455).
|
|
@@ -8166,9 +8166,9 @@ function normalizeAddonInitResult(result) {
|
|
|
8166
8166
|
return result;
|
|
8167
8167
|
}
|
|
8168
8168
|
/**
|
|
8169
|
-
* The share-view scope kinds a
|
|
8170
|
-
* and validates them (`
|
|
8171
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
8169
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
8170
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
8171
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
8172
8172
|
*/
|
|
8173
8173
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
8174
8174
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12997,7 +12997,7 @@ var ConvertResultSchema = object({
|
|
|
12997
12997
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12998
12998
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12999
12999
|
* distinction was only ever used to route role-specific procedures
|
|
13000
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
13000
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
13001
13001
|
* with `isAdmin: false` + an explicit scope list.
|
|
13002
13002
|
*/
|
|
13003
13003
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -13186,10 +13186,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
13186
13186
|
type: literal("addon-routes"),
|
|
13187
13187
|
access: array(MethodAccessSchema).min(1)
|
|
13188
13188
|
});
|
|
13189
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
13189
13190
|
var CredentialScopeSchema = union([
|
|
13190
13191
|
literal("*"),
|
|
13191
13192
|
ShareViewScopeSchema,
|
|
13192
13193
|
AddonRoutesScopeSchema,
|
|
13194
|
+
PreferencesSelfScopeSchema,
|
|
13193
13195
|
TokenScopeSchema
|
|
13194
13196
|
]);
|
|
13195
13197
|
object({
|
|
@@ -13198,6 +13200,55 @@ object({
|
|
|
13198
13200
|
jti: string().min(16),
|
|
13199
13201
|
scopes: array(CredentialScopeSchema).min(1)
|
|
13200
13202
|
});
|
|
13203
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
13204
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
13205
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
13206
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
13207
|
+
/** A stored row, as the owner reads it. */
|
|
13208
|
+
var PreferenceRowSchema = object({
|
|
13209
|
+
namespace: PreferenceNamespaceSchema,
|
|
13210
|
+
value: PreferenceValueSchema,
|
|
13211
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
13212
|
+
revision: number().int().positive(),
|
|
13213
|
+
updatedAt: number().int(),
|
|
13214
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
13215
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
13216
|
+
});
|
|
13217
|
+
object({
|
|
13218
|
+
/** Absent: every namespace the caller holds. */
|
|
13219
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
13220
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
13221
|
+
object({
|
|
13222
|
+
namespace: PreferenceNamespaceSchema,
|
|
13223
|
+
value: PreferenceValueSchema,
|
|
13224
|
+
/**
|
|
13225
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
13226
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
13227
|
+
* revision answers `conflict` and writes nothing.
|
|
13228
|
+
*/
|
|
13229
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
13230
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
13231
|
+
});
|
|
13232
|
+
discriminatedUnion("status", [object({
|
|
13233
|
+
status: literal("saved"),
|
|
13234
|
+
row: PreferenceRowSchema
|
|
13235
|
+
}), object({
|
|
13236
|
+
status: literal("conflict"),
|
|
13237
|
+
current: PreferenceRowSchema.nullable()
|
|
13238
|
+
})]);
|
|
13239
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
13240
|
+
object({
|
|
13241
|
+
/** `false` when the namespace did not exist. */
|
|
13242
|
+
deleted: boolean() });
|
|
13243
|
+
object({
|
|
13244
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
13245
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
13246
|
+
object({
|
|
13247
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
13248
|
+
rows: array(PreferenceRowSchema),
|
|
13249
|
+
/** Namespaces the client listed that no longer exist. */
|
|
13250
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
13251
|
+
});
|
|
13201
13252
|
_enum(["new-session", "step-up"]);
|
|
13202
13253
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
13203
13254
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -17390,7 +17441,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
17390
17441
|
kind: literal("node"),
|
|
17391
17442
|
nodeId: string().min(1)
|
|
17392
17443
|
})]);
|
|
17444
|
+
/**
|
|
17445
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
17446
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
17447
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
17448
|
+
*/
|
|
17393
17449
|
var DeviceHistoryKindSchema = _enum([
|
|
17450
|
+
"gauge",
|
|
17451
|
+
"counter",
|
|
17452
|
+
"boolean",
|
|
17453
|
+
"enum"
|
|
17454
|
+
]);
|
|
17455
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
17456
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
17394
17457
|
"gauge",
|
|
17395
17458
|
"counter",
|
|
17396
17459
|
"boolean"
|
|
@@ -17427,7 +17490,13 @@ var SeriesInfoSchema = object({
|
|
|
17427
17490
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
17428
17491
|
unit: string().nullable(),
|
|
17429
17492
|
displayName: string(),
|
|
17430
|
-
source: _enum([
|
|
17493
|
+
source: _enum([
|
|
17494
|
+
"cap",
|
|
17495
|
+
"addon",
|
|
17496
|
+
"derived"
|
|
17497
|
+
]),
|
|
17498
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
17499
|
+
values: array(string()).readonly().nullable(),
|
|
17431
17500
|
firstTs: number(),
|
|
17432
17501
|
lastTs: number()
|
|
17433
17502
|
});
|
|
@@ -17441,17 +17510,31 @@ var QueryPointSchema = object({
|
|
|
17441
17510
|
twMean: number().nullable(),
|
|
17442
17511
|
min: number(),
|
|
17443
17512
|
max: number(),
|
|
17444
|
-
/** `null` is unknown, never zero (D393). */
|
|
17445
|
-
last: number().nullable()
|
|
17513
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
17514
|
+
last: number().nullable(),
|
|
17515
|
+
/**
|
|
17516
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
17517
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
17518
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
17519
|
+
* every other kind, and when it cannot be known.
|
|
17520
|
+
*/
|
|
17521
|
+
delta: number().nullable(),
|
|
17522
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
17523
|
+
state: string().nullable(),
|
|
17524
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
17525
|
+
states: record(string(), number()).nullable()
|
|
17446
17526
|
});
|
|
17447
17527
|
var QuerySeriesSchema = object({
|
|
17448
17528
|
scope: string(),
|
|
17449
17529
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
17450
17530
|
before: object({
|
|
17451
17531
|
t: number(),
|
|
17452
|
-
value: number().nullable()
|
|
17532
|
+
value: number().nullable(),
|
|
17533
|
+
state: string().nullable()
|
|
17453
17534
|
}).nullable(),
|
|
17454
|
-
points: array(QueryPointSchema).readonly()
|
|
17535
|
+
points: array(QueryPointSchema).readonly(),
|
|
17536
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
17537
|
+
derivedFrom: string().nullable()
|
|
17455
17538
|
});
|
|
17456
17539
|
/** The window part of a query, shared by the device and node forms. */
|
|
17457
17540
|
var QueryWindowShape = {
|
|
@@ -17467,6 +17550,23 @@ var QueryResultSchema = object({
|
|
|
17467
17550
|
series: array(QuerySeriesSchema).readonly(),
|
|
17468
17551
|
truncated: boolean()
|
|
17469
17552
|
});
|
|
17553
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
17554
|
+
var QueryManyItemSchema = union([object({
|
|
17555
|
+
deviceId: number().int(),
|
|
17556
|
+
key: string(),
|
|
17557
|
+
scope: string().optional()
|
|
17558
|
+
}), object({
|
|
17559
|
+
forNodeId: string().min(1),
|
|
17560
|
+
key: string(),
|
|
17561
|
+
scope: string().optional()
|
|
17562
|
+
})]);
|
|
17563
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
17564
|
+
ok: literal(true),
|
|
17565
|
+
result: QueryResultSchema
|
|
17566
|
+
}), object({
|
|
17567
|
+
ok: literal(false),
|
|
17568
|
+
error: string()
|
|
17569
|
+
})]);
|
|
17470
17570
|
var TierStatusSchema = object({
|
|
17471
17571
|
tier: DeviceHistoryResolutionSchema,
|
|
17472
17572
|
/** `null` until the first background count answered. */
|
|
@@ -17522,16 +17622,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
17522
17622
|
lastRefreshAt: number().nullable()
|
|
17523
17623
|
})
|
|
17524
17624
|
});
|
|
17525
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
17625
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
17526
17626
|
deviceId: number().int(),
|
|
17527
17627
|
...QueryWindowShape
|
|
17528
17628
|
}), QueryResultSchema), method(object({
|
|
17529
|
-
|
|
17629
|
+
forNodeId: string().min(1),
|
|
17530
17630
|
...QueryWindowShape
|
|
17531
17631
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
17632
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
17633
|
+
from: QueryWindowShape.from,
|
|
17634
|
+
to: QueryWindowShape.to,
|
|
17635
|
+
resolution: QueryWindowShape.resolution,
|
|
17636
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
17637
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
17532
17638
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
17533
17639
|
subjectKind: _enum(["device", "node"]),
|
|
17534
|
-
kind:
|
|
17640
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
17535
17641
|
unit: string().optional(),
|
|
17536
17642
|
displayName: string().min(1),
|
|
17537
17643
|
ingest: _enum(["points", "buckets"])
|
|
@@ -40121,38 +40227,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
40121
40227
|
auth: "admin",
|
|
40122
40228
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40123
40229
|
});
|
|
40230
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
40231
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
40232
|
+
var LlmModelFeaturesSchema = object({
|
|
40233
|
+
vision: boolean(),
|
|
40234
|
+
tools: boolean(),
|
|
40235
|
+
streaming: boolean()
|
|
40236
|
+
});
|
|
40237
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
40238
|
+
var LlmModelInfoSchema = object({
|
|
40239
|
+
id: string(),
|
|
40240
|
+
label: string().optional(),
|
|
40241
|
+
contextLength: number().int().positive().optional(),
|
|
40242
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
40243
|
+
});
|
|
40124
40244
|
/**
|
|
40125
|
-
*
|
|
40126
|
-
*
|
|
40127
|
-
*
|
|
40128
|
-
*
|
|
40129
|
-
* (hub-placed); the cap stays open for future providers.
|
|
40130
|
-
*
|
|
40131
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
40132
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
40133
|
-
* write; a stored key NEVER round-trips to a client.
|
|
40245
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
40246
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
40247
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
40248
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
40134
40249
|
*/
|
|
40135
|
-
var
|
|
40136
|
-
"openai-compatible",
|
|
40137
|
-
"openai",
|
|
40138
|
-
"anthropic",
|
|
40139
|
-
"google",
|
|
40140
|
-
"managed-local",
|
|
40141
|
-
"apple-foundation"
|
|
40142
|
-
]);
|
|
40250
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
40143
40251
|
var LlmProfileSchema = object({
|
|
40144
40252
|
id: string(),
|
|
40145
40253
|
name: string(),
|
|
40254
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
40146
40255
|
kind: LlmProfileKindSchema,
|
|
40147
40256
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
40148
40257
|
addonId: string(),
|
|
40149
40258
|
enabled: boolean(),
|
|
40150
40259
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
40151
40260
|
model: string(),
|
|
40152
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
40153
|
-
baseUrl: string().optional(),
|
|
40154
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
40155
|
-
apiKey: string().optional(),
|
|
40156
40261
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
40157
40262
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
40158
40263
|
* question about a picture nobody sent. */
|
|
@@ -40160,15 +40265,11 @@ var LlmProfileSchema = object({
|
|
|
40160
40265
|
temperature: number().min(0).max(2).optional(),
|
|
40161
40266
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
40162
40267
|
topP: number().min(0).max(1).optional(),
|
|
40163
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
40164
|
-
*
|
|
40165
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
40166
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
40268
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
40269
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
40167
40270
|
topK: number().int().positive().optional(),
|
|
40168
40271
|
maxTokens: number().int().positive().optional(),
|
|
40169
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
40170
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
40171
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
40272
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
40172
40273
|
contextLength: number().int().positive().optional(),
|
|
40173
40274
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
40174
40275
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -40194,16 +40295,37 @@ var LlmProfileSchema = object({
|
|
|
40194
40295
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
40195
40296
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
40196
40297
|
toolsEnabled: boolean().default(false),
|
|
40197
|
-
|
|
40198
|
-
|
|
40199
|
-
|
|
40200
|
-
|
|
40201
|
-
|
|
40202
|
-
|
|
40203
|
-
|
|
40204
|
-
|
|
40205
|
-
|
|
40206
|
-
|
|
40298
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40299
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40300
|
+
});
|
|
40301
|
+
/**
|
|
40302
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40303
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40304
|
+
*/
|
|
40305
|
+
var LlmProfileFieldSchema = _enum([
|
|
40306
|
+
"temperature",
|
|
40307
|
+
"topP",
|
|
40308
|
+
"topK",
|
|
40309
|
+
"maxTokens",
|
|
40310
|
+
"contextLength",
|
|
40311
|
+
"systemPrompt",
|
|
40312
|
+
"timeoutMs",
|
|
40313
|
+
"connectTimeoutMs",
|
|
40314
|
+
"firstTokenTimeoutMs",
|
|
40315
|
+
"idleTimeoutMs",
|
|
40316
|
+
"retry",
|
|
40317
|
+
"toolsEnabled"
|
|
40318
|
+
]);
|
|
40319
|
+
/**
|
|
40320
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40321
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40322
|
+
* picker: that widget owns the model choice.
|
|
40323
|
+
*/
|
|
40324
|
+
var LlmProviderWidgetSchema = object({
|
|
40325
|
+
id: string(),
|
|
40326
|
+
placement: _enum(["connection", "model"]),
|
|
40327
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40328
|
+
requires: array(string()).optional()
|
|
40207
40329
|
});
|
|
40208
40330
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
40209
40331
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -40212,11 +40334,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
40212
40334
|
var LlmProfileKindDescriptorSchema = object({
|
|
40213
40335
|
kind: LlmProfileKindSchema,
|
|
40214
40336
|
label: string(),
|
|
40337
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
40215
40338
|
icon: string(),
|
|
40216
40339
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
40217
40340
|
addonId: string(),
|
|
40218
|
-
|
|
40341
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40342
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40343
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40344
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40345
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40346
|
+
features: LlmModelFeaturesSchema,
|
|
40347
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40348
|
+
visionEditable: boolean(),
|
|
40349
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40350
|
+
modelCatalog: _enum([
|
|
40351
|
+
"fetch",
|
|
40352
|
+
"static",
|
|
40353
|
+
"none"
|
|
40354
|
+
]),
|
|
40355
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40356
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40357
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40358
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40359
|
+
});
|
|
40360
|
+
/**
|
|
40361
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40362
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40363
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40364
|
+
* stored profile — the browser never receives it.
|
|
40365
|
+
*/
|
|
40366
|
+
var LlmListModelsInputSchema = object({
|
|
40367
|
+
addonId: string(),
|
|
40368
|
+
kind: LlmProfileKindSchema,
|
|
40369
|
+
profileId: string().optional(),
|
|
40370
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40219
40371
|
});
|
|
40372
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40373
|
+
"auth",
|
|
40374
|
+
"network",
|
|
40375
|
+
"unsupported",
|
|
40376
|
+
"invalid"
|
|
40377
|
+
]);
|
|
40378
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40379
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40380
|
+
ok: literal(true),
|
|
40381
|
+
models: array(LlmModelInfoSchema)
|
|
40382
|
+
}), object({
|
|
40383
|
+
ok: literal(false),
|
|
40384
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40385
|
+
message: string()
|
|
40386
|
+
})]);
|
|
40220
40387
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
40221
40388
|
var LlmDefaultSchema = object({
|
|
40222
40389
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40316,7 +40483,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40316
40483
|
kind: "mutation",
|
|
40317
40484
|
auth: "admin",
|
|
40318
40485
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40319
|
-
}), method(
|
|
40486
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40487
|
+
kind: "mutation",
|
|
40488
|
+
auth: "admin"
|
|
40489
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40320
40490
|
selector: LlmDefaultSelectorSchema,
|
|
40321
40491
|
profileId: string().nullable()
|
|
40322
40492
|
}), _void(), {
|
|
@@ -40484,14 +40654,106 @@ var LogEntrySchema = object({
|
|
|
40484
40654
|
meta: record(string(), unknown()).optional(),
|
|
40485
40655
|
tags: record(string(), string()).optional()
|
|
40486
40656
|
});
|
|
40487
|
-
|
|
40488
|
-
|
|
40657
|
+
/**
|
|
40658
|
+
* A history READ against one destination (D898).
|
|
40659
|
+
*
|
|
40660
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
40661
|
+
* browser applied after the limit is what made a rare device's lines
|
|
40662
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
40663
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
40664
|
+
* nanosecond timestamp for Loki.
|
|
40665
|
+
*
|
|
40666
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
40667
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
40668
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
40669
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
40670
|
+
* flight, and not asking for the next slice ends the scan.
|
|
40671
|
+
*/
|
|
40672
|
+
var LogReadQuerySchema = object({
|
|
40673
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
40674
|
+
requestId: string().min(1).max(64).optional(),
|
|
40675
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
40676
|
+
deviceId: number().int().optional(),
|
|
40677
|
+
/**
|
|
40678
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
40679
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
40680
|
+
*/
|
|
40681
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
40682
|
+
/**
|
|
40683
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
40684
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
40685
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
40686
|
+
* name as "which node's provider".
|
|
40687
|
+
*/
|
|
40688
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
40689
|
+
/** Any other tag, exact match (AND). */
|
|
40690
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40691
|
+
/** Severity FLOOR: this level and above. */
|
|
40489
40692
|
level: LogLevelSchema.optional(),
|
|
40490
|
-
|
|
40491
|
-
|
|
40492
|
-
|
|
40493
|
-
|
|
40494
|
-
|
|
40693
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
40694
|
+
text: string().min(1).max(200).optional(),
|
|
40695
|
+
/** Epoch ms, inclusive. */
|
|
40696
|
+
since: number().optional(),
|
|
40697
|
+
/** Epoch ms, inclusive. */
|
|
40698
|
+
until: number().optional(),
|
|
40699
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
40700
|
+
before: string().min(1).max(1024).optional(),
|
|
40701
|
+
/** Newer than this cursor (exclusive). */
|
|
40702
|
+
after: string().min(1).max(1024).optional(),
|
|
40703
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
40704
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
40705
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
40706
|
+
});
|
|
40707
|
+
var LogReadResultSchema = object({
|
|
40708
|
+
/** Newest first. */
|
|
40709
|
+
entries: array(object({
|
|
40710
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
40711
|
+
id: string().optional(),
|
|
40712
|
+
/** Epoch ms. */
|
|
40713
|
+
timestamp: number(),
|
|
40714
|
+
level: LogLevelSchema,
|
|
40715
|
+
scope: string().optional(),
|
|
40716
|
+
message: string(),
|
|
40717
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40718
|
+
meta: record(string(), unknown()).optional()
|
|
40719
|
+
})),
|
|
40720
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
40721
|
+
nextBefore: string().nullable(),
|
|
40722
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
40723
|
+
nextAfter: string().nullable(),
|
|
40724
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
40725
|
+
scannedBytes: number().int().nonnegative(),
|
|
40726
|
+
/**
|
|
40727
|
+
* True when the scan in this direction reached the end of the store.
|
|
40728
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
40729
|
+
* call again with `nextBefore` to go on.
|
|
40730
|
+
*/
|
|
40731
|
+
done: boolean(),
|
|
40732
|
+
/** True when `cancelRead` ended this slice early. */
|
|
40733
|
+
cancelled: boolean().optional()
|
|
40734
|
+
});
|
|
40735
|
+
var LogReadCapabilitiesSchema = object({
|
|
40736
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
40737
|
+
readable: boolean(),
|
|
40738
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
40739
|
+
reason: string().nullable(),
|
|
40740
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
40741
|
+
filters: object({
|
|
40742
|
+
deviceId: boolean(),
|
|
40743
|
+
addonId: boolean(),
|
|
40744
|
+
nodeId: boolean(),
|
|
40745
|
+
tags: boolean(),
|
|
40746
|
+
level: boolean(),
|
|
40747
|
+
text: boolean(),
|
|
40748
|
+
timeRange: boolean()
|
|
40749
|
+
}),
|
|
40750
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
40751
|
+
retentionDays: number().nullable()
|
|
40752
|
+
});
|
|
40753
|
+
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() }), {
|
|
40754
|
+
kind: "mutation",
|
|
40755
|
+
auth: "admin"
|
|
40756
|
+
});
|
|
40495
40757
|
/**
|
|
40496
40758
|
* `login-method` — collection cap through which auth addons contribute
|
|
40497
40759
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -43053,6 +43315,33 @@ var NcRuleTargetSchema = object({
|
|
|
43053
43315
|
params: record(string(), unknown()).optional()
|
|
43054
43316
|
});
|
|
43055
43317
|
/**
|
|
43318
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
43319
|
+
*
|
|
43320
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
43321
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
43322
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
43323
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
43324
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
43325
|
+
* labelled with class and confidence ("dog 87%").
|
|
43326
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
43327
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
43328
|
+
* - `none` — no picture.
|
|
43329
|
+
*
|
|
43330
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
43331
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
43332
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
43333
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
43334
|
+
* stored kind had landed.
|
|
43335
|
+
*/
|
|
43336
|
+
var NcMediaImageSchema = _enum([
|
|
43337
|
+
"scene-boxes",
|
|
43338
|
+
"crop",
|
|
43339
|
+
"clean",
|
|
43340
|
+
"none"
|
|
43341
|
+
]);
|
|
43342
|
+
/**
|
|
43343
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43344
|
+
*
|
|
43056
43345
|
* Media attachment policy (P1 still-image subset).
|
|
43057
43346
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
43058
43347
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -43066,6 +43355,8 @@ var NcRuleTargetSchema = object({
|
|
|
43066
43355
|
* - `none` — no attachment.
|
|
43067
43356
|
*/
|
|
43068
43357
|
/**
|
|
43358
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43359
|
+
*
|
|
43069
43360
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
43070
43361
|
* conflate it with the selection strategy and betray the request: asking for
|
|
43071
43362
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -43094,16 +43385,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
43094
43385
|
*/
|
|
43095
43386
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
43096
43387
|
var NcMediaPolicySchema = object({
|
|
43388
|
+
/**
|
|
43389
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
43390
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
43391
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
43392
|
+
*/
|
|
43393
|
+
image: NcMediaImageSchema.optional(),
|
|
43394
|
+
/**
|
|
43395
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
43396
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
43397
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
43398
|
+
* Replaces `zoneCrop`.
|
|
43399
|
+
*/
|
|
43400
|
+
showTriggerZone: boolean().optional(),
|
|
43401
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
43097
43402
|
attach: _enum([
|
|
43098
43403
|
"best",
|
|
43099
43404
|
"best-matching",
|
|
43100
43405
|
"keyFrame",
|
|
43101
43406
|
"none"
|
|
43102
|
-
]).
|
|
43103
|
-
/**
|
|
43407
|
+
]).optional(),
|
|
43408
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
43104
43409
|
frame: NcMediaFrameSchema.optional(),
|
|
43105
|
-
/**
|
|
43106
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
43410
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
43107
43411
|
zoneCrop: boolean().optional(),
|
|
43108
43412
|
/**
|
|
43109
43413
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -43275,7 +43579,9 @@ var NcRuleInputSchema = object({
|
|
|
43275
43579
|
* targets.
|
|
43276
43580
|
*/
|
|
43277
43581
|
targetUsers: array(string()).optional(),
|
|
43278
|
-
|
|
43582
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
43583
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
43584
|
+
media: NcMediaPolicySchema.default({}),
|
|
43279
43585
|
throttle: NcThrottleSchema.default({
|
|
43280
43586
|
cooldownSec: 60,
|
|
43281
43587
|
scope: "rule-device"
|
|
@@ -44212,13 +44518,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
44212
44518
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
44213
44519
|
unknown: array(number().int())
|
|
44214
44520
|
});
|
|
44521
|
+
/**
|
|
44522
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
44523
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
44524
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
44525
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
44526
|
+
*/
|
|
44527
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
44528
|
+
ruleId: string(),
|
|
44529
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
44530
|
+
ruleName: string(),
|
|
44531
|
+
/** The input: the sensor of the match, else its camera. */
|
|
44532
|
+
deviceId: number().int(),
|
|
44533
|
+
/** The input's current name. */
|
|
44534
|
+
name: string(),
|
|
44535
|
+
/** When it was bypassed (ms epoch). */
|
|
44536
|
+
since: number(),
|
|
44537
|
+
/** Triggers from this input dropped since. */
|
|
44538
|
+
dropped: number().int().min(0)
|
|
44539
|
+
});
|
|
44215
44540
|
var NcAlarmLiveSchema = object({
|
|
44216
44541
|
state: AlarmStateSchema,
|
|
44217
44542
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
44218
44543
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
44219
44544
|
availableModes: array(AlarmArmModeSchema),
|
|
44220
44545
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
44221
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
44546
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
44547
|
+
/**
|
|
44548
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
44549
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
44550
|
+
*/
|
|
44551
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
44222
44552
|
});
|
|
44223
44553
|
var NcAlarmConfigSchema = object({
|
|
44224
44554
|
/**
|
|
@@ -61317,26 +61647,6 @@ var ApiKeySummarySchema = object({
|
|
|
61317
61647
|
createdAt: number(),
|
|
61318
61648
|
lastUsedAt: number().optional()
|
|
61319
61649
|
});
|
|
61320
|
-
var ScopedTokenSummarySchema = object({
|
|
61321
|
-
id: string(),
|
|
61322
|
-
userId: string(),
|
|
61323
|
-
name: string(),
|
|
61324
|
-
tokenPrefix: string(),
|
|
61325
|
-
scopes: array(TokenScopeSchema),
|
|
61326
|
-
expiresAt: number().nullish(),
|
|
61327
|
-
lastUsedAt: number().nullish(),
|
|
61328
|
-
createdAt: number()
|
|
61329
|
-
});
|
|
61330
|
-
var CreateScopedTokenInputSchema = object({
|
|
61331
|
-
userId: string(),
|
|
61332
|
-
name: string(),
|
|
61333
|
-
scopes: array(TokenScopeSchema),
|
|
61334
|
-
expiresAt: number().optional()
|
|
61335
|
-
});
|
|
61336
|
-
var CreateScopedTokenResultSchema = object({
|
|
61337
|
-
token: string(),
|
|
61338
|
-
record: ScopedTokenSummarySchema
|
|
61339
|
-
});
|
|
61340
61650
|
var OauthSessionSummarySchema = object({
|
|
61341
61651
|
id: string(),
|
|
61342
61652
|
userId: string(),
|
|
@@ -61358,11 +61668,11 @@ var TotpStatusSchema = object({
|
|
|
61358
61668
|
confirmedAt: number().nullable()
|
|
61359
61669
|
});
|
|
61360
61670
|
/**
|
|
61361
|
-
* user-management — singleton capability for user accounts
|
|
61362
|
-
*
|
|
61671
|
+
* user-management — singleton capability for user accounts and the
|
|
61672
|
+
* legacy API-key rows.
|
|
61363
61673
|
*
|
|
61364
61674
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61365
|
-
* — the subset check on `setUserScopes`
|
|
61675
|
+
* — the subset check on `setUserScopes` is moot
|
|
61366
61676
|
* because non-admins never reach these. If/when we open non-admin
|
|
61367
61677
|
* delegation, structural caller-scope subset check goes inside the
|
|
61368
61678
|
* provider.
|
|
@@ -61419,15 +61729,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61419
61729
|
kind: "mutation",
|
|
61420
61730
|
auth: "admin",
|
|
61421
61731
|
access: "delete"
|
|
61422
|
-
}), method(
|
|
61423
|
-
kind: "mutation",
|
|
61424
|
-
auth: "admin",
|
|
61425
|
-
access: "create"
|
|
61426
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61427
|
-
kind: "mutation",
|
|
61428
|
-
auth: "admin",
|
|
61429
|
-
access: "delete"
|
|
61430
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61732
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61431
61733
|
kind: "mutation",
|
|
61432
61734
|
auth: "admin",
|
|
61433
61735
|
access: "create"
|
|
@@ -65681,7 +65983,7 @@ Object.freeze({
|
|
|
65681
65983
|
capName: "llm",
|
|
65682
65984
|
capScope: "system",
|
|
65683
65985
|
addonId: null,
|
|
65684
|
-
access: "
|
|
65986
|
+
access: "create"
|
|
65685
65987
|
},
|
|
65686
65988
|
"llm.listNodeModels": {
|
|
65687
65989
|
capName: "llm",
|
|
@@ -65983,7 +66285,19 @@ Object.freeze({
|
|
|
65983
66285
|
addonId: null,
|
|
65984
66286
|
access: "view"
|
|
65985
66287
|
},
|
|
65986
|
-
"logDestination.
|
|
66288
|
+
"logDestination.cancelRead": {
|
|
66289
|
+
capName: "log-destination",
|
|
66290
|
+
capScope: "system",
|
|
66291
|
+
addonId: null,
|
|
66292
|
+
access: "create"
|
|
66293
|
+
},
|
|
66294
|
+
"logDestination.describeRead": {
|
|
66295
|
+
capName: "log-destination",
|
|
66296
|
+
capScope: "system",
|
|
66297
|
+
addonId: null,
|
|
66298
|
+
access: "view"
|
|
66299
|
+
},
|
|
66300
|
+
"logDestination.read": {
|
|
65987
66301
|
capName: "log-destination",
|
|
65988
66302
|
capScope: "system",
|
|
65989
66303
|
addonId: null,
|
|
@@ -70345,12 +70659,6 @@ Object.freeze({
|
|
|
70345
70659
|
addonId: null,
|
|
70346
70660
|
access: "create"
|
|
70347
70661
|
},
|
|
70348
|
-
"userManagement.createScopedToken": {
|
|
70349
|
-
capName: "user-management",
|
|
70350
|
-
capScope: "system",
|
|
70351
|
-
addonId: null,
|
|
70352
|
-
access: "create"
|
|
70353
|
-
},
|
|
70354
70662
|
"userManagement.createUser": {
|
|
70355
70663
|
capName: "user-management",
|
|
70356
70664
|
capScope: "system",
|
|
@@ -70399,12 +70707,6 @@ Object.freeze({
|
|
|
70399
70707
|
addonId: null,
|
|
70400
70708
|
access: "view"
|
|
70401
70709
|
},
|
|
70402
|
-
"userManagement.listScopedTokens": {
|
|
70403
|
-
capName: "user-management",
|
|
70404
|
-
capScope: "system",
|
|
70405
|
-
addonId: null,
|
|
70406
|
-
access: "view"
|
|
70407
|
-
},
|
|
70408
70710
|
"userManagement.listUsers": {
|
|
70409
70711
|
capName: "user-management",
|
|
70410
70712
|
capScope: "system",
|
|
@@ -70459,12 +70761,6 @@ Object.freeze({
|
|
|
70459
70761
|
addonId: null,
|
|
70460
70762
|
access: "delete"
|
|
70461
70763
|
},
|
|
70462
|
-
"userManagement.revokeScopedToken": {
|
|
70463
|
-
capName: "user-management",
|
|
70464
|
-
capScope: "system",
|
|
70465
|
-
addonId: null,
|
|
70466
|
-
access: "delete"
|
|
70467
|
-
},
|
|
70468
70764
|
"userManagement.setupTotp": {
|
|
70469
70765
|
capName: "user-management",
|
|
70470
70766
|
capScope: "system",
|
|
@@ -70495,12 +70791,6 @@ Object.freeze({
|
|
|
70495
70791
|
addonId: null,
|
|
70496
70792
|
access: "view"
|
|
70497
70793
|
},
|
|
70498
|
-
"userManagement.validateScopedToken": {
|
|
70499
|
-
capName: "user-management",
|
|
70500
|
-
capScope: "system",
|
|
70501
|
-
addonId: null,
|
|
70502
|
-
access: "view"
|
|
70503
|
-
},
|
|
70504
70794
|
"userManagement.verifyTotp": {
|
|
70505
70795
|
capName: "user-management",
|
|
70506
70796
|
capScope: "system",
|
|
@@ -72014,6 +72304,11 @@ Object.freeze({
|
|
|
72014
72304
|
form: "single",
|
|
72015
72305
|
optional: false
|
|
72016
72306
|
}],
|
|
72307
|
+
"logDestination.read": [{
|
|
72308
|
+
name: "deviceId",
|
|
72309
|
+
form: "single",
|
|
72310
|
+
optional: true
|
|
72311
|
+
}],
|
|
72017
72312
|
"mediaPlayer.getStatus": [{
|
|
72018
72313
|
name: "deviceId",
|
|
72019
72314
|
form: "single",
|