@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
|
@@ -5809,7 +5809,7 @@ var ZodIssueCode = {
|
|
|
5809
5809
|
var ZodFirstPartyTypeKind;
|
|
5810
5810
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5811
5811
|
//#endregion
|
|
5812
|
-
//#region ../types/dist/sleep-
|
|
5812
|
+
//#region ../types/dist/sleep-BSuCCFjf.mjs
|
|
5813
5813
|
/**
|
|
5814
5814
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5815
5815
|
* window to float samples (D455).
|
|
@@ -8192,9 +8192,9 @@ function normalizeAddonInitResult(result) {
|
|
|
8192
8192
|
return result;
|
|
8193
8193
|
}
|
|
8194
8194
|
/**
|
|
8195
|
-
* The share-view scope kinds a
|
|
8196
|
-
* and validates them (`
|
|
8197
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
8195
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
8196
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
8197
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
8198
8198
|
*/
|
|
8199
8199
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
8200
8200
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -13023,7 +13023,7 @@ var ConvertResultSchema = object({
|
|
|
13023
13023
|
* `super_admin` — collapsed onto the single boolean because every
|
|
13024
13024
|
* non-admin caller is governed by the same scope-check rules; the
|
|
13025
13025
|
* distinction was only ever used to route role-specific procedures
|
|
13026
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
13026
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
13027
13027
|
* with `isAdmin: false` + an explicit scope list.
|
|
13028
13028
|
*/
|
|
13029
13029
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -13212,10 +13212,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
13212
13212
|
type: literal("addon-routes"),
|
|
13213
13213
|
access: array(MethodAccessSchema).min(1)
|
|
13214
13214
|
});
|
|
13215
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
13215
13216
|
var CredentialScopeSchema = union([
|
|
13216
13217
|
literal("*"),
|
|
13217
13218
|
ShareViewScopeSchema,
|
|
13218
13219
|
AddonRoutesScopeSchema,
|
|
13220
|
+
PreferencesSelfScopeSchema,
|
|
13219
13221
|
TokenScopeSchema
|
|
13220
13222
|
]);
|
|
13221
13223
|
object({
|
|
@@ -13224,6 +13226,55 @@ object({
|
|
|
13224
13226
|
jti: string().min(16),
|
|
13225
13227
|
scopes: array(CredentialScopeSchema).min(1)
|
|
13226
13228
|
});
|
|
13229
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
13230
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
13231
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
13232
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
13233
|
+
/** A stored row, as the owner reads it. */
|
|
13234
|
+
var PreferenceRowSchema = object({
|
|
13235
|
+
namespace: PreferenceNamespaceSchema,
|
|
13236
|
+
value: PreferenceValueSchema,
|
|
13237
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
13238
|
+
revision: number().int().positive(),
|
|
13239
|
+
updatedAt: number().int(),
|
|
13240
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
13241
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
13242
|
+
});
|
|
13243
|
+
object({
|
|
13244
|
+
/** Absent: every namespace the caller holds. */
|
|
13245
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
13246
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
13247
|
+
object({
|
|
13248
|
+
namespace: PreferenceNamespaceSchema,
|
|
13249
|
+
value: PreferenceValueSchema,
|
|
13250
|
+
/**
|
|
13251
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
13252
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
13253
|
+
* revision answers `conflict` and writes nothing.
|
|
13254
|
+
*/
|
|
13255
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
13256
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
13257
|
+
});
|
|
13258
|
+
discriminatedUnion("status", [object({
|
|
13259
|
+
status: literal("saved"),
|
|
13260
|
+
row: PreferenceRowSchema
|
|
13261
|
+
}), object({
|
|
13262
|
+
status: literal("conflict"),
|
|
13263
|
+
current: PreferenceRowSchema.nullable()
|
|
13264
|
+
})]);
|
|
13265
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
13266
|
+
object({
|
|
13267
|
+
/** `false` when the namespace did not exist. */
|
|
13268
|
+
deleted: boolean() });
|
|
13269
|
+
object({
|
|
13270
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
13271
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
13272
|
+
object({
|
|
13273
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
13274
|
+
rows: array(PreferenceRowSchema),
|
|
13275
|
+
/** Namespaces the client listed that no longer exist. */
|
|
13276
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
13277
|
+
});
|
|
13227
13278
|
_enum(["new-session", "step-up"]);
|
|
13228
13279
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
13229
13280
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -17416,7 +17467,19 @@ var DeviceHistorySubjectSchema = discriminatedUnion("kind", [object({
|
|
|
17416
17467
|
kind: literal("node"),
|
|
17417
17468
|
nodeId: string().min(1)
|
|
17418
17469
|
})]);
|
|
17470
|
+
/**
|
|
17471
|
+
* `enum` stores a STATE as the ordinal of its value in the series' value list
|
|
17472
|
+
* (`DeviceHistorySeriesInfo.values`, append-only, so an ordinal never changes
|
|
17473
|
+
* meaning); a rollup keeps the time spent in each state (`states`).
|
|
17474
|
+
*/
|
|
17419
17475
|
var DeviceHistoryKindSchema = _enum([
|
|
17476
|
+
"gauge",
|
|
17477
|
+
"counter",
|
|
17478
|
+
"boolean",
|
|
17479
|
+
"enum"
|
|
17480
|
+
]);
|
|
17481
|
+
/** What a PRODUCER may declare. `enum` is cap-only: its value list is the cap field's. */
|
|
17482
|
+
var DeviceHistoryProducerKindSchema = _enum([
|
|
17420
17483
|
"gauge",
|
|
17421
17484
|
"counter",
|
|
17422
17485
|
"boolean"
|
|
@@ -17453,7 +17516,13 @@ var SeriesInfoSchema = object({
|
|
|
17453
17516
|
/** `null` is unknown (a `unitFrom` series whose device does not state a unit right now), never a guess. */
|
|
17454
17517
|
unit: string().nullable(),
|
|
17455
17518
|
displayName: string(),
|
|
17456
|
-
source: _enum([
|
|
17519
|
+
source: _enum([
|
|
17520
|
+
"cap",
|
|
17521
|
+
"addon",
|
|
17522
|
+
"derived"
|
|
17523
|
+
]),
|
|
17524
|
+
/** `enum`: the value of each ordinal (index = ordinal); `null` for every other kind. */
|
|
17525
|
+
values: array(string()).readonly().nullable(),
|
|
17457
17526
|
firstTs: number(),
|
|
17458
17527
|
lastTs: number()
|
|
17459
17528
|
});
|
|
@@ -17467,17 +17536,31 @@ var QueryPointSchema = object({
|
|
|
17467
17536
|
twMean: number().nullable(),
|
|
17468
17537
|
min: number(),
|
|
17469
17538
|
max: number(),
|
|
17470
|
-
/** `null` is unknown, never zero (D393). */
|
|
17471
|
-
last: number().nullable()
|
|
17539
|
+
/** `null` is unknown, never zero (D393). For an `enum` series: the ordinal of {@link state}. */
|
|
17540
|
+
last: number().nullable(),
|
|
17541
|
+
/**
|
|
17542
|
+
* The increase over the point: a `counter`'s growth since the previous point
|
|
17543
|
+
* or bucket (a drop is a reset, counted from zero), and for
|
|
17544
|
+
* {@link DEVICE_HISTORY_ENERGY_KEY} the kWh used in the bucket. `null` for
|
|
17545
|
+
* every other kind, and when it cannot be known.
|
|
17546
|
+
*/
|
|
17547
|
+
delta: number().nullable(),
|
|
17548
|
+
/** `enum`: the state in force at the end of the point (the name of `last`); `null` otherwise. */
|
|
17549
|
+
state: string().nullable(),
|
|
17550
|
+
/** `enum` rollup: milliseconds spent in each state inside the bucket; `null` for raw points and other kinds. */
|
|
17551
|
+
states: record(string(), number()).nullable()
|
|
17472
17552
|
});
|
|
17473
17553
|
var QuerySeriesSchema = object({
|
|
17474
17554
|
scope: string(),
|
|
17475
17555
|
/** The last point STRICTLY BEFORE `from` in the chosen tier, so a step chart can start at the held value. */
|
|
17476
17556
|
before: object({
|
|
17477
17557
|
t: number(),
|
|
17478
|
-
value: number().nullable()
|
|
17558
|
+
value: number().nullable(),
|
|
17559
|
+
state: string().nullable()
|
|
17479
17560
|
}).nullable(),
|
|
17480
|
-
points: array(QueryPointSchema).readonly()
|
|
17561
|
+
points: array(QueryPointSchema).readonly(),
|
|
17562
|
+
/** A derived key: the stored key its points were computed from; `null` for a stored series. */
|
|
17563
|
+
derivedFrom: string().nullable()
|
|
17481
17564
|
});
|
|
17482
17565
|
/** The window part of a query, shared by the device and node forms. */
|
|
17483
17566
|
var QueryWindowShape = {
|
|
@@ -17493,6 +17576,23 @@ var QueryResultSchema = object({
|
|
|
17493
17576
|
series: array(QuerySeriesSchema).readonly(),
|
|
17494
17577
|
truncated: boolean()
|
|
17495
17578
|
});
|
|
17579
|
+
/** One read of a batch: a device's key or a node's key (exactly one subject). */
|
|
17580
|
+
var QueryManyItemSchema = union([object({
|
|
17581
|
+
deviceId: number().int(),
|
|
17582
|
+
key: string(),
|
|
17583
|
+
scope: string().optional()
|
|
17584
|
+
}), object({
|
|
17585
|
+
forNodeId: string().min(1),
|
|
17586
|
+
key: string(),
|
|
17587
|
+
scope: string().optional()
|
|
17588
|
+
})]);
|
|
17589
|
+
var QueryManyEntrySchema = discriminatedUnion("ok", [object({
|
|
17590
|
+
ok: literal(true),
|
|
17591
|
+
result: QueryResultSchema
|
|
17592
|
+
}), object({
|
|
17593
|
+
ok: literal(false),
|
|
17594
|
+
error: string()
|
|
17595
|
+
})]);
|
|
17496
17596
|
var TierStatusSchema = object({
|
|
17497
17597
|
tier: DeviceHistoryResolutionSchema,
|
|
17498
17598
|
/** `null` until the first background count answered. */
|
|
@@ -17548,16 +17648,22 @@ var DeviceHistoryStatusSchema = object({
|
|
|
17548
17648
|
lastRefreshAt: number().nullable()
|
|
17549
17649
|
})
|
|
17550
17650
|
});
|
|
17551
|
-
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({
|
|
17651
|
+
method(object({ deviceId: number().int() }), array(SeriesInfoSchema).readonly()), method(object({ forNodeId: string().min(1) }), array(SeriesInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
17552
17652
|
deviceId: number().int(),
|
|
17553
17653
|
...QueryWindowShape
|
|
17554
17654
|
}), QueryResultSchema), method(object({
|
|
17555
|
-
|
|
17655
|
+
forNodeId: string().min(1),
|
|
17556
17656
|
...QueryWindowShape
|
|
17557
17657
|
}), QueryResultSchema, { auth: "admin" }), method(object({
|
|
17658
|
+
items: array(QueryManyItemSchema).min(1).max(24),
|
|
17659
|
+
from: QueryWindowShape.from,
|
|
17660
|
+
to: QueryWindowShape.to,
|
|
17661
|
+
resolution: QueryWindowShape.resolution,
|
|
17662
|
+
maxPoints: QueryWindowShape.maxPoints
|
|
17663
|
+
}), object({ results: array(QueryManyEntrySchema).readonly() }), { auth: "admin" }), method(object({
|
|
17558
17664
|
name: string().regex(/^[a-z0-9-]+$/),
|
|
17559
17665
|
subjectKind: _enum(["device", "node"]),
|
|
17560
|
-
kind:
|
|
17666
|
+
kind: DeviceHistoryProducerKindSchema,
|
|
17561
17667
|
unit: string().optional(),
|
|
17562
17668
|
displayName: string().min(1),
|
|
17563
17669
|
ingest: _enum(["points", "buckets"])
|
|
@@ -40147,38 +40253,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
40147
40253
|
auth: "admin",
|
|
40148
40254
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40149
40255
|
});
|
|
40256
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
40257
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
40258
|
+
var LlmModelFeaturesSchema = object({
|
|
40259
|
+
vision: boolean(),
|
|
40260
|
+
tools: boolean(),
|
|
40261
|
+
streaming: boolean()
|
|
40262
|
+
});
|
|
40263
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
40264
|
+
var LlmModelInfoSchema = object({
|
|
40265
|
+
id: string(),
|
|
40266
|
+
label: string().optional(),
|
|
40267
|
+
contextLength: number().int().positive().optional(),
|
|
40268
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
40269
|
+
});
|
|
40150
40270
|
/**
|
|
40151
|
-
*
|
|
40152
|
-
*
|
|
40153
|
-
*
|
|
40154
|
-
*
|
|
40155
|
-
* (hub-placed); the cap stays open for future providers.
|
|
40156
|
-
*
|
|
40157
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
40158
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
40159
|
-
* write; a stored key NEVER round-trips to a client.
|
|
40271
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
40272
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
40273
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
40274
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
40160
40275
|
*/
|
|
40161
|
-
var
|
|
40162
|
-
"openai-compatible",
|
|
40163
|
-
"openai",
|
|
40164
|
-
"anthropic",
|
|
40165
|
-
"google",
|
|
40166
|
-
"managed-local",
|
|
40167
|
-
"apple-foundation"
|
|
40168
|
-
]);
|
|
40276
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
40169
40277
|
var LlmProfileSchema = object({
|
|
40170
40278
|
id: string(),
|
|
40171
40279
|
name: string(),
|
|
40280
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
40172
40281
|
kind: LlmProfileKindSchema,
|
|
40173
40282
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
40174
40283
|
addonId: string(),
|
|
40175
40284
|
enabled: boolean(),
|
|
40176
40285
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
40177
40286
|
model: string(),
|
|
40178
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
40179
|
-
baseUrl: string().optional(),
|
|
40180
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
40181
|
-
apiKey: string().optional(),
|
|
40182
40287
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
40183
40288
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
40184
40289
|
* question about a picture nobody sent. */
|
|
@@ -40186,15 +40291,11 @@ var LlmProfileSchema = object({
|
|
|
40186
40291
|
temperature: number().min(0).max(2).optional(),
|
|
40187
40292
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
40188
40293
|
topP: number().min(0).max(1).optional(),
|
|
40189
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
40190
|
-
*
|
|
40191
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
40192
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
40294
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
40295
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
40193
40296
|
topK: number().int().positive().optional(),
|
|
40194
40297
|
maxTokens: number().int().positive().optional(),
|
|
40195
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
40196
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
40197
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
40298
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
40198
40299
|
contextLength: number().int().positive().optional(),
|
|
40199
40300
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
40200
40301
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -40220,16 +40321,37 @@ var LlmProfileSchema = object({
|
|
|
40220
40321
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
40221
40322
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
40222
40323
|
toolsEnabled: boolean().default(false),
|
|
40223
|
-
|
|
40224
|
-
|
|
40225
|
-
|
|
40226
|
-
|
|
40227
|
-
|
|
40228
|
-
|
|
40229
|
-
|
|
40230
|
-
|
|
40231
|
-
|
|
40232
|
-
|
|
40324
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40325
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40326
|
+
});
|
|
40327
|
+
/**
|
|
40328
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40329
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40330
|
+
*/
|
|
40331
|
+
var LlmProfileFieldSchema = _enum([
|
|
40332
|
+
"temperature",
|
|
40333
|
+
"topP",
|
|
40334
|
+
"topK",
|
|
40335
|
+
"maxTokens",
|
|
40336
|
+
"contextLength",
|
|
40337
|
+
"systemPrompt",
|
|
40338
|
+
"timeoutMs",
|
|
40339
|
+
"connectTimeoutMs",
|
|
40340
|
+
"firstTokenTimeoutMs",
|
|
40341
|
+
"idleTimeoutMs",
|
|
40342
|
+
"retry",
|
|
40343
|
+
"toolsEnabled"
|
|
40344
|
+
]);
|
|
40345
|
+
/**
|
|
40346
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40347
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40348
|
+
* picker: that widget owns the model choice.
|
|
40349
|
+
*/
|
|
40350
|
+
var LlmProviderWidgetSchema = object({
|
|
40351
|
+
id: string(),
|
|
40352
|
+
placement: _enum(["connection", "model"]),
|
|
40353
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40354
|
+
requires: array(string()).optional()
|
|
40233
40355
|
});
|
|
40234
40356
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
40235
40357
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -40238,11 +40360,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
40238
40360
|
var LlmProfileKindDescriptorSchema = object({
|
|
40239
40361
|
kind: LlmProfileKindSchema,
|
|
40240
40362
|
label: string(),
|
|
40363
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
40241
40364
|
icon: string(),
|
|
40242
40365
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
40243
40366
|
addonId: string(),
|
|
40244
|
-
|
|
40367
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40368
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40369
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40370
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40371
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40372
|
+
features: LlmModelFeaturesSchema,
|
|
40373
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40374
|
+
visionEditable: boolean(),
|
|
40375
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40376
|
+
modelCatalog: _enum([
|
|
40377
|
+
"fetch",
|
|
40378
|
+
"static",
|
|
40379
|
+
"none"
|
|
40380
|
+
]),
|
|
40381
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40382
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40383
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40384
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40385
|
+
});
|
|
40386
|
+
/**
|
|
40387
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40388
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40389
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40390
|
+
* stored profile — the browser never receives it.
|
|
40391
|
+
*/
|
|
40392
|
+
var LlmListModelsInputSchema = object({
|
|
40393
|
+
addonId: string(),
|
|
40394
|
+
kind: LlmProfileKindSchema,
|
|
40395
|
+
profileId: string().optional(),
|
|
40396
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40245
40397
|
});
|
|
40398
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40399
|
+
"auth",
|
|
40400
|
+
"network",
|
|
40401
|
+
"unsupported",
|
|
40402
|
+
"invalid"
|
|
40403
|
+
]);
|
|
40404
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40405
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40406
|
+
ok: literal(true),
|
|
40407
|
+
models: array(LlmModelInfoSchema)
|
|
40408
|
+
}), object({
|
|
40409
|
+
ok: literal(false),
|
|
40410
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40411
|
+
message: string()
|
|
40412
|
+
})]);
|
|
40246
40413
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
40247
40414
|
var LlmDefaultSchema = object({
|
|
40248
40415
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40342,7 +40509,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40342
40509
|
kind: "mutation",
|
|
40343
40510
|
auth: "admin",
|
|
40344
40511
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40345
|
-
}), method(
|
|
40512
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40513
|
+
kind: "mutation",
|
|
40514
|
+
auth: "admin"
|
|
40515
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40346
40516
|
selector: LlmDefaultSelectorSchema,
|
|
40347
40517
|
profileId: string().nullable()
|
|
40348
40518
|
}), _void(), {
|
|
@@ -40510,14 +40680,106 @@ var LogEntrySchema = object({
|
|
|
40510
40680
|
meta: record(string(), unknown()).optional(),
|
|
40511
40681
|
tags: record(string(), string()).optional()
|
|
40512
40682
|
});
|
|
40513
|
-
|
|
40514
|
-
|
|
40683
|
+
/**
|
|
40684
|
+
* A history READ against one destination (D898).
|
|
40685
|
+
*
|
|
40686
|
+
* Every filter is applied by the PROVIDER, before the limit — a filter the
|
|
40687
|
+
* browser applied after the limit is what made a rare device's lines
|
|
40688
|
+
* unreachable behind a busy one's. `before` / `after` are cursors the provider
|
|
40689
|
+
* minted (opaque to everyone else): a file position for the rotated files, a
|
|
40690
|
+
* nanosecond timestamp for Loki.
|
|
40691
|
+
*
|
|
40692
|
+
* A read is BOUNDED by `budgetMs`: a filter that matches nothing on a 30-day
|
|
40693
|
+
* store answers `done: false` with the cursor it reached and the bytes it
|
|
40694
|
+
* scanned, and the caller decides whether to go on. That is what makes a long
|
|
40695
|
+
* scan show progress and stop when asked — `cancelRead` ends the slice in
|
|
40696
|
+
* flight, and not asking for the next slice ends the scan.
|
|
40697
|
+
*/
|
|
40698
|
+
var LogReadQuerySchema = object({
|
|
40699
|
+
/** Correlates `cancelRead`. Caller-chosen, unique per in-flight read. */
|
|
40700
|
+
requestId: string().min(1).max(64).optional(),
|
|
40701
|
+
/** The device the line is about (`tags.deviceId`, numeric). */
|
|
40702
|
+
deviceId: number().int().optional(),
|
|
40703
|
+
/**
|
|
40704
|
+
* The emitting addon — bare manifest id; `@<version>` / `::<sub>` suffixes
|
|
40705
|
+
* match. Not `addonId`: a cap router reads that name as "which provider".
|
|
40706
|
+
*/
|
|
40707
|
+
fromAddonId: string().min(1).max(200).optional(),
|
|
40708
|
+
/**
|
|
40709
|
+
* The emitting node: matches the agent that emitted the line, the node
|
|
40710
|
+
* itself, or a worker under it (`<agent>/<runner>`) — the `agentId`
|
|
40711
|
+
* semantics of `matchesLogTags`. Not `nodeId`: a cap router reads that
|
|
40712
|
+
* name as "which node's provider".
|
|
40713
|
+
*/
|
|
40714
|
+
fromNodeId: string().min(1).max(200).optional(),
|
|
40715
|
+
/** Any other tag, exact match (AND). */
|
|
40716
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40717
|
+
/** Severity FLOOR: this level and above. */
|
|
40515
40718
|
level: LogLevelSchema.optional(),
|
|
40516
|
-
|
|
40517
|
-
|
|
40518
|
-
|
|
40519
|
-
|
|
40520
|
-
|
|
40719
|
+
/** Case-insensitive substring over message, scope, tag values and meta values. */
|
|
40720
|
+
text: string().min(1).max(200).optional(),
|
|
40721
|
+
/** Epoch ms, inclusive. */
|
|
40722
|
+
since: number().optional(),
|
|
40723
|
+
/** Epoch ms, inclusive. */
|
|
40724
|
+
until: number().optional(),
|
|
40725
|
+
/** Older than this cursor (exclusive). Absent with `after` absent ⇒ from the newest. */
|
|
40726
|
+
before: string().min(1).max(1024).optional(),
|
|
40727
|
+
/** Newer than this cursor (exclusive). */
|
|
40728
|
+
after: string().min(1).max(1024).optional(),
|
|
40729
|
+
limit: number().int().min(1).max(1e3).optional(),
|
|
40730
|
+
/** Wall-clock bound of this slice. The provider caps it. */
|
|
40731
|
+
budgetMs: number().int().min(50).max(1e4).optional()
|
|
40732
|
+
});
|
|
40733
|
+
var LogReadResultSchema = object({
|
|
40734
|
+
/** Newest first. */
|
|
40735
|
+
entries: array(object({
|
|
40736
|
+
/** `<bootId>.<seq>` minted by the emitting LogManager — the dedupe key. */
|
|
40737
|
+
id: string().optional(),
|
|
40738
|
+
/** Epoch ms. */
|
|
40739
|
+
timestamp: number(),
|
|
40740
|
+
level: LogLevelSchema,
|
|
40741
|
+
scope: string().optional(),
|
|
40742
|
+
message: string(),
|
|
40743
|
+
tags: record(string(), union([string(), number()])).optional(),
|
|
40744
|
+
meta: record(string(), unknown()).optional()
|
|
40745
|
+
})),
|
|
40746
|
+
/** Pass as `before` for the next older page; null when nothing older exists. */
|
|
40747
|
+
nextBefore: string().nullable(),
|
|
40748
|
+
/** Pass as `after` to read what arrived since; null when unknown. */
|
|
40749
|
+
nextAfter: string().nullable(),
|
|
40750
|
+
/** Bytes this slice read (files) or received (remote). Progress, not a promise. */
|
|
40751
|
+
scannedBytes: number().int().nonnegative(),
|
|
40752
|
+
/**
|
|
40753
|
+
* True when the scan in this direction reached the end of the store.
|
|
40754
|
+
* False with fewer than `limit` entries means the budget ran out first —
|
|
40755
|
+
* call again with `nextBefore` to go on.
|
|
40756
|
+
*/
|
|
40757
|
+
done: boolean(),
|
|
40758
|
+
/** True when `cancelRead` ended this slice early. */
|
|
40759
|
+
cancelled: boolean().optional()
|
|
40760
|
+
});
|
|
40761
|
+
var LogReadCapabilitiesSchema = object({
|
|
40762
|
+
/** False ⇒ this destination only ships lines (console, forwarder, an unconfigured Loki). */
|
|
40763
|
+
readable: boolean(),
|
|
40764
|
+
/** Why not, when `readable` is false — rendered next to the source. */
|
|
40765
|
+
reason: string().nullable(),
|
|
40766
|
+
/** Filters the provider applies itself. A false one is applied by nobody. */
|
|
40767
|
+
filters: object({
|
|
40768
|
+
deviceId: boolean(),
|
|
40769
|
+
addonId: boolean(),
|
|
40770
|
+
nodeId: boolean(),
|
|
40771
|
+
tags: boolean(),
|
|
40772
|
+
level: boolean(),
|
|
40773
|
+
text: boolean(),
|
|
40774
|
+
timeRange: boolean()
|
|
40775
|
+
}),
|
|
40776
|
+
/** How far back the store reaches, when the provider knows (days). */
|
|
40777
|
+
retentionDays: number().nullable()
|
|
40778
|
+
});
|
|
40779
|
+
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() }), {
|
|
40780
|
+
kind: "mutation",
|
|
40781
|
+
auth: "admin"
|
|
40782
|
+
});
|
|
40521
40783
|
/**
|
|
40522
40784
|
* `login-method` — collection cap through which auth addons contribute
|
|
40523
40785
|
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
@@ -43079,6 +43341,33 @@ var NcRuleTargetSchema = object({
|
|
|
43079
43341
|
params: record(string(), unknown()).optional()
|
|
43080
43342
|
});
|
|
43081
43343
|
/**
|
|
43344
|
+
* WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
|
|
43345
|
+
*
|
|
43346
|
+
* Every mode starts from the same CLEAN source frame of the trigger moment
|
|
43347
|
+
* (keyFrame → sceneFrame → lastSceneFrame, narrowed to the trigger instant and
|
|
43348
|
+
* to the zone that fired the rule) and renders it once at send time:
|
|
43349
|
+
* - `scene-boxes` — the whole scene, the subject outlined thick in the accent
|
|
43350
|
+
* colour and every OTHER track visible at that instant outlined thin, each
|
|
43351
|
+
* labelled with class and confidence ("dog 87%").
|
|
43352
|
+
* - `crop` — the subject cut out of that frame around its box at that instant.
|
|
43353
|
+
* - `clean` — the whole scene with nothing drawn on it.
|
|
43354
|
+
* - `none` — no picture.
|
|
43355
|
+
*
|
|
43356
|
+
* A mode that cannot be honoured (no box at that instant, a photograph with no
|
|
43357
|
+
* tracked subject) ships `clean` and names the reason in the log, per camera.
|
|
43358
|
+
* It replaces the `attach` × `frame` × `zoneCrop` triple, which let one rule
|
|
43359
|
+
* ship a crop on one event and a boxed scene on the next depending on which
|
|
43360
|
+
* stored kind had landed.
|
|
43361
|
+
*/
|
|
43362
|
+
var NcMediaImageSchema = _enum([
|
|
43363
|
+
"scene-boxes",
|
|
43364
|
+
"crop",
|
|
43365
|
+
"clean",
|
|
43366
|
+
"none"
|
|
43367
|
+
]);
|
|
43368
|
+
/**
|
|
43369
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43370
|
+
*
|
|
43082
43371
|
* Media attachment policy (P1 still-image subset).
|
|
43083
43372
|
* - `best` — the best AVAILABLE subject image at dispatch time (D-3).
|
|
43084
43373
|
* - `best-matching` — the media that explains WHY the rule fired: a rule
|
|
@@ -43092,6 +43381,8 @@ var NcRuleTargetSchema = object({
|
|
|
43092
43381
|
* - `none` — no attachment.
|
|
43093
43382
|
*/
|
|
43094
43383
|
/**
|
|
43384
|
+
* @deprecated Read only by `normalizeNcMediaPolicy` (D897) — see {@link NcMediaImageSchema}.
|
|
43385
|
+
*
|
|
43095
43386
|
* WHAT THE PICTURE SHOWS — chosen explicitly, because the implicit ladders
|
|
43096
43387
|
* conflate it with the selection strategy and betray the request: asking for
|
|
43097
43388
|
* the clean scene frame on an object-event owner used to start at
|
|
@@ -43120,16 +43411,29 @@ var NcMediaFrameSchema = _enum([
|
|
|
43120
43411
|
*/
|
|
43121
43412
|
var NcLinkedCameraModeSchema = _enum(["mosaic", "each"]);
|
|
43122
43413
|
var NcMediaPolicySchema = object({
|
|
43414
|
+
/**
|
|
43415
|
+
* The picture — see {@link NcMediaImageSchema}. Absent on a rule nobody has
|
|
43416
|
+
* saved since D897: `normalizeNcMediaPolicy` derives it from the legacy
|
|
43417
|
+
* triple below, at load and at every write, and the store keeps only this.
|
|
43418
|
+
*/
|
|
43419
|
+
image: NcMediaImageSchema.optional(),
|
|
43420
|
+
/**
|
|
43421
|
+
* Draw the zone that FIRED the rule on the picture (`scene-boxes` / `clean`;
|
|
43422
|
+
* a `crop` never shows it). Valid only on a rule whose trigger is a zone —
|
|
43423
|
+
* `conditions.zones` or an occupancy zone — and refused on save otherwise.
|
|
43424
|
+
* Replaces `zoneCrop`.
|
|
43425
|
+
*/
|
|
43426
|
+
showTriggerZone: boolean().optional(),
|
|
43427
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
43123
43428
|
attach: _enum([
|
|
43124
43429
|
"best",
|
|
43125
43430
|
"best-matching",
|
|
43126
43431
|
"keyFrame",
|
|
43127
43432
|
"none"
|
|
43128
|
-
]).
|
|
43129
|
-
/**
|
|
43433
|
+
]).optional(),
|
|
43434
|
+
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
43130
43435
|
frame: NcMediaFrameSchema.optional(),
|
|
43131
|
-
/**
|
|
43132
|
-
* "show me the ZONE", not the whole scene or the subject crop. */
|
|
43436
|
+
/** @deprecated D897 — folded into `image: 'clean'` + `showTriggerZone` on save. */
|
|
43133
43437
|
zoneCrop: boolean().optional(),
|
|
43134
43438
|
/**
|
|
43135
43439
|
* Also attach a short GIF cut from the stream broker's clip ring around the
|
|
@@ -43301,7 +43605,9 @@ var NcRuleInputSchema = object({
|
|
|
43301
43605
|
* targets.
|
|
43302
43606
|
*/
|
|
43303
43607
|
targetUsers: array(string()).optional(),
|
|
43304
|
-
|
|
43608
|
+
/** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
|
|
43609
|
+
* detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
|
|
43610
|
+
media: NcMediaPolicySchema.default({}),
|
|
43305
43611
|
throttle: NcThrottleSchema.default({
|
|
43306
43612
|
cooldownSec: 60,
|
|
43307
43613
|
scope: "rule-device"
|
|
@@ -44238,13 +44544,37 @@ var NcAlarmModeOpeningsSchema = object({
|
|
|
44238
44544
|
/** Covered devices whose state could not be read (D49): neither open nor closed. */
|
|
44239
44545
|
unknown: array(number().int())
|
|
44240
44546
|
});
|
|
44547
|
+
/**
|
|
44548
|
+
* One alarm INPUT — a (rule, device) pair — the operator bypassed until the
|
|
44549
|
+
* next disarm ("Bypass this input until disarm" on a trigger notification, or
|
|
44550
|
+
* `nc.bypassAlarmInput`). Reported so an armed alarm with a silenced input
|
|
44551
|
+
* never looks fully armed (D62: off must never look like broken).
|
|
44552
|
+
*/
|
|
44553
|
+
var NcAlarmInputBypassViewSchema = object({
|
|
44554
|
+
ruleId: string(),
|
|
44555
|
+
/** The rule's current name (its frozen name when the rule is gone). */
|
|
44556
|
+
ruleName: string(),
|
|
44557
|
+
/** The input: the sensor of the match, else its camera. */
|
|
44558
|
+
deviceId: number().int(),
|
|
44559
|
+
/** The input's current name. */
|
|
44560
|
+
name: string(),
|
|
44561
|
+
/** When it was bypassed (ms epoch). */
|
|
44562
|
+
since: number(),
|
|
44563
|
+
/** Triggers from this input dropped since. */
|
|
44564
|
+
dropped: number().int().min(0)
|
|
44565
|
+
});
|
|
44241
44566
|
var NcAlarmLiveSchema = object({
|
|
44242
44567
|
state: AlarmStateSchema,
|
|
44243
44568
|
/** The mode being armed into (exit delay) or held; null when disarmed. */
|
|
44244
44569
|
targetMode: AlarmArmModeSchema.nullable(),
|
|
44245
44570
|
availableModes: array(AlarmArmModeSchema),
|
|
44246
44571
|
openings: array(NcAlarmModeOpeningsSchema),
|
|
44247
|
-
exclusions: array(NcAlarmExclusionViewSchema)
|
|
44572
|
+
exclusions: array(NcAlarmExclusionViewSchema),
|
|
44573
|
+
/**
|
|
44574
|
+
* Inputs bypassed for the rest of this arm session; cleared on disarm.
|
|
44575
|
+
* Defaulted so an older hub answer still parses (as "none known").
|
|
44576
|
+
*/
|
|
44577
|
+
bypassedInputs: array(NcAlarmInputBypassViewSchema).default([])
|
|
44248
44578
|
});
|
|
44249
44579
|
var NcAlarmConfigSchema = object({
|
|
44250
44580
|
/**
|
|
@@ -61343,26 +61673,6 @@ var ApiKeySummarySchema = object({
|
|
|
61343
61673
|
createdAt: number(),
|
|
61344
61674
|
lastUsedAt: number().optional()
|
|
61345
61675
|
});
|
|
61346
|
-
var ScopedTokenSummarySchema = object({
|
|
61347
|
-
id: string(),
|
|
61348
|
-
userId: string(),
|
|
61349
|
-
name: string(),
|
|
61350
|
-
tokenPrefix: string(),
|
|
61351
|
-
scopes: array(TokenScopeSchema),
|
|
61352
|
-
expiresAt: number().nullish(),
|
|
61353
|
-
lastUsedAt: number().nullish(),
|
|
61354
|
-
createdAt: number()
|
|
61355
|
-
});
|
|
61356
|
-
var CreateScopedTokenInputSchema = object({
|
|
61357
|
-
userId: string(),
|
|
61358
|
-
name: string(),
|
|
61359
|
-
scopes: array(TokenScopeSchema),
|
|
61360
|
-
expiresAt: number().optional()
|
|
61361
|
-
});
|
|
61362
|
-
var CreateScopedTokenResultSchema = object({
|
|
61363
|
-
token: string(),
|
|
61364
|
-
record: ScopedTokenSummarySchema
|
|
61365
|
-
});
|
|
61366
61676
|
var OauthSessionSummarySchema = object({
|
|
61367
61677
|
id: string(),
|
|
61368
61678
|
userId: string(),
|
|
@@ -61384,11 +61694,11 @@ var TotpStatusSchema = object({
|
|
|
61384
61694
|
confirmedAt: number().nullable()
|
|
61385
61695
|
});
|
|
61386
61696
|
/**
|
|
61387
|
-
* user-management — singleton capability for user accounts
|
|
61388
|
-
*
|
|
61697
|
+
* user-management — singleton capability for user accounts and the
|
|
61698
|
+
* legacy API-key rows.
|
|
61389
61699
|
*
|
|
61390
61700
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61391
|
-
* — the subset check on `setUserScopes`
|
|
61701
|
+
* — the subset check on `setUserScopes` is moot
|
|
61392
61702
|
* because non-admins never reach these. If/when we open non-admin
|
|
61393
61703
|
* delegation, structural caller-scope subset check goes inside the
|
|
61394
61704
|
* provider.
|
|
@@ -61445,15 +61755,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61445
61755
|
kind: "mutation",
|
|
61446
61756
|
auth: "admin",
|
|
61447
61757
|
access: "delete"
|
|
61448
|
-
}), method(
|
|
61449
|
-
kind: "mutation",
|
|
61450
|
-
auth: "admin",
|
|
61451
|
-
access: "create"
|
|
61452
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61453
|
-
kind: "mutation",
|
|
61454
|
-
auth: "admin",
|
|
61455
|
-
access: "delete"
|
|
61456
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61758
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61457
61759
|
kind: "mutation",
|
|
61458
61760
|
auth: "admin",
|
|
61459
61761
|
access: "create"
|
|
@@ -65707,7 +66009,7 @@ Object.freeze({
|
|
|
65707
66009
|
capName: "llm",
|
|
65708
66010
|
capScope: "system",
|
|
65709
66011
|
addonId: null,
|
|
65710
|
-
access: "
|
|
66012
|
+
access: "create"
|
|
65711
66013
|
},
|
|
65712
66014
|
"llm.listNodeModels": {
|
|
65713
66015
|
capName: "llm",
|
|
@@ -66009,7 +66311,19 @@ Object.freeze({
|
|
|
66009
66311
|
addonId: null,
|
|
66010
66312
|
access: "view"
|
|
66011
66313
|
},
|
|
66012
|
-
"logDestination.
|
|
66314
|
+
"logDestination.cancelRead": {
|
|
66315
|
+
capName: "log-destination",
|
|
66316
|
+
capScope: "system",
|
|
66317
|
+
addonId: null,
|
|
66318
|
+
access: "create"
|
|
66319
|
+
},
|
|
66320
|
+
"logDestination.describeRead": {
|
|
66321
|
+
capName: "log-destination",
|
|
66322
|
+
capScope: "system",
|
|
66323
|
+
addonId: null,
|
|
66324
|
+
access: "view"
|
|
66325
|
+
},
|
|
66326
|
+
"logDestination.read": {
|
|
66013
66327
|
capName: "log-destination",
|
|
66014
66328
|
capScope: "system",
|
|
66015
66329
|
addonId: null,
|
|
@@ -70371,12 +70685,6 @@ Object.freeze({
|
|
|
70371
70685
|
addonId: null,
|
|
70372
70686
|
access: "create"
|
|
70373
70687
|
},
|
|
70374
|
-
"userManagement.createScopedToken": {
|
|
70375
|
-
capName: "user-management",
|
|
70376
|
-
capScope: "system",
|
|
70377
|
-
addonId: null,
|
|
70378
|
-
access: "create"
|
|
70379
|
-
},
|
|
70380
70688
|
"userManagement.createUser": {
|
|
70381
70689
|
capName: "user-management",
|
|
70382
70690
|
capScope: "system",
|
|
@@ -70425,12 +70733,6 @@ Object.freeze({
|
|
|
70425
70733
|
addonId: null,
|
|
70426
70734
|
access: "view"
|
|
70427
70735
|
},
|
|
70428
|
-
"userManagement.listScopedTokens": {
|
|
70429
|
-
capName: "user-management",
|
|
70430
|
-
capScope: "system",
|
|
70431
|
-
addonId: null,
|
|
70432
|
-
access: "view"
|
|
70433
|
-
},
|
|
70434
70736
|
"userManagement.listUsers": {
|
|
70435
70737
|
capName: "user-management",
|
|
70436
70738
|
capScope: "system",
|
|
@@ -70485,12 +70787,6 @@ Object.freeze({
|
|
|
70485
70787
|
addonId: null,
|
|
70486
70788
|
access: "delete"
|
|
70487
70789
|
},
|
|
70488
|
-
"userManagement.revokeScopedToken": {
|
|
70489
|
-
capName: "user-management",
|
|
70490
|
-
capScope: "system",
|
|
70491
|
-
addonId: null,
|
|
70492
|
-
access: "delete"
|
|
70493
|
-
},
|
|
70494
70790
|
"userManagement.setupTotp": {
|
|
70495
70791
|
capName: "user-management",
|
|
70496
70792
|
capScope: "system",
|
|
@@ -70521,12 +70817,6 @@ Object.freeze({
|
|
|
70521
70817
|
addonId: null,
|
|
70522
70818
|
access: "view"
|
|
70523
70819
|
},
|
|
70524
|
-
"userManagement.validateScopedToken": {
|
|
70525
|
-
capName: "user-management",
|
|
70526
|
-
capScope: "system",
|
|
70527
|
-
addonId: null,
|
|
70528
|
-
access: "view"
|
|
70529
|
-
},
|
|
70530
70820
|
"userManagement.verifyTotp": {
|
|
70531
70821
|
capName: "user-management",
|
|
70532
70822
|
capScope: "system",
|
|
@@ -72040,6 +72330,11 @@ Object.freeze({
|
|
|
72040
72330
|
form: "single",
|
|
72041
72331
|
optional: false
|
|
72042
72332
|
}],
|
|
72333
|
+
"logDestination.read": [{
|
|
72334
|
+
name: "deviceId",
|
|
72335
|
+
form: "single",
|
|
72336
|
+
optional: true
|
|
72337
|
+
}],
|
|
72043
72338
|
"mediaPlayer.getStatus": [{
|
|
72044
72339
|
name: "deviceId",
|
|
72045
72340
|
form: "single",
|