@camstack/addon-provider-rtsp 1.2.130 → 1.2.131
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/addon.js +165 -102
- package/dist/addon.mjs +165 -102
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5438,7 +5438,7 @@ var ZodIssueCode = {
|
|
|
5438
5438
|
var ZodFirstPartyTypeKind;
|
|
5439
5439
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5440
5440
|
//#endregion
|
|
5441
|
-
//#region ../types/dist/sleep-
|
|
5441
|
+
//#region ../types/dist/sleep-yKL5gfrH.mjs
|
|
5442
5442
|
/**
|
|
5443
5443
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5444
5444
|
* window to float samples (D455).
|
|
@@ -7821,9 +7821,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7821
7821
|
return result;
|
|
7822
7822
|
}
|
|
7823
7823
|
/**
|
|
7824
|
-
* The share-view scope kinds a
|
|
7825
|
-
* and validates them (`
|
|
7826
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7824
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7825
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7826
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7827
7827
|
*/
|
|
7828
7828
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7829
7829
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12634,7 +12634,7 @@ var ConvertResultSchema = object({
|
|
|
12634
12634
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12635
12635
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12636
12636
|
* distinction was only ever used to route role-specific procedures
|
|
12637
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12637
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12638
12638
|
* with `isAdmin: false` + an explicit scope list.
|
|
12639
12639
|
*/
|
|
12640
12640
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12823,10 +12823,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12823
12823
|
type: literal("addon-routes"),
|
|
12824
12824
|
access: array(MethodAccessSchema).min(1)
|
|
12825
12825
|
});
|
|
12826
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12826
12827
|
var CredentialScopeSchema = union([
|
|
12827
12828
|
literal("*"),
|
|
12828
12829
|
ShareViewScopeSchema,
|
|
12829
12830
|
AddonRoutesScopeSchema,
|
|
12831
|
+
PreferencesSelfScopeSchema,
|
|
12830
12832
|
TokenScopeSchema
|
|
12831
12833
|
]);
|
|
12832
12834
|
object({
|
|
@@ -12835,6 +12837,55 @@ object({
|
|
|
12835
12837
|
jti: string().min(16),
|
|
12836
12838
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12837
12839
|
});
|
|
12840
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12841
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12842
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12843
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12844
|
+
/** A stored row, as the owner reads it. */
|
|
12845
|
+
var PreferenceRowSchema = object({
|
|
12846
|
+
namespace: PreferenceNamespaceSchema,
|
|
12847
|
+
value: PreferenceValueSchema,
|
|
12848
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12849
|
+
revision: number().int().positive(),
|
|
12850
|
+
updatedAt: number().int(),
|
|
12851
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12852
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12853
|
+
});
|
|
12854
|
+
object({
|
|
12855
|
+
/** Absent: every namespace the caller holds. */
|
|
12856
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12857
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12858
|
+
object({
|
|
12859
|
+
namespace: PreferenceNamespaceSchema,
|
|
12860
|
+
value: PreferenceValueSchema,
|
|
12861
|
+
/**
|
|
12862
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12863
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12864
|
+
* revision answers `conflict` and writes nothing.
|
|
12865
|
+
*/
|
|
12866
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12867
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12868
|
+
});
|
|
12869
|
+
discriminatedUnion("status", [object({
|
|
12870
|
+
status: literal("saved"),
|
|
12871
|
+
row: PreferenceRowSchema
|
|
12872
|
+
}), object({
|
|
12873
|
+
status: literal("conflict"),
|
|
12874
|
+
current: PreferenceRowSchema.nullable()
|
|
12875
|
+
})]);
|
|
12876
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12877
|
+
object({
|
|
12878
|
+
/** `false` when the namespace did not exist. */
|
|
12879
|
+
deleted: boolean() });
|
|
12880
|
+
object({
|
|
12881
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12882
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12883
|
+
object({
|
|
12884
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12885
|
+
rows: array(PreferenceRowSchema),
|
|
12886
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12887
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12888
|
+
});
|
|
12838
12889
|
_enum(["new-session", "step-up"]);
|
|
12839
12890
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12840
12891
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -40011,38 +40062,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
40011
40062
|
auth: "admin",
|
|
40012
40063
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40013
40064
|
});
|
|
40065
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
40066
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
40067
|
+
var LlmModelFeaturesSchema = object({
|
|
40068
|
+
vision: boolean(),
|
|
40069
|
+
tools: boolean(),
|
|
40070
|
+
streaming: boolean()
|
|
40071
|
+
});
|
|
40072
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
40073
|
+
var LlmModelInfoSchema = object({
|
|
40074
|
+
id: string(),
|
|
40075
|
+
label: string().optional(),
|
|
40076
|
+
contextLength: number().int().positive().optional(),
|
|
40077
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
40078
|
+
});
|
|
40014
40079
|
/**
|
|
40015
|
-
*
|
|
40016
|
-
*
|
|
40017
|
-
*
|
|
40018
|
-
*
|
|
40019
|
-
* (hub-placed); the cap stays open for future providers.
|
|
40020
|
-
*
|
|
40021
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
40022
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
40023
|
-
* write; a stored key NEVER round-trips to a client.
|
|
40080
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
40081
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
40082
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
40083
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
40024
40084
|
*/
|
|
40025
|
-
var
|
|
40026
|
-
"openai-compatible",
|
|
40027
|
-
"openai",
|
|
40028
|
-
"anthropic",
|
|
40029
|
-
"google",
|
|
40030
|
-
"managed-local",
|
|
40031
|
-
"apple-foundation"
|
|
40032
|
-
]);
|
|
40085
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
40033
40086
|
var LlmProfileSchema = object({
|
|
40034
40087
|
id: string(),
|
|
40035
40088
|
name: string(),
|
|
40089
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
40036
40090
|
kind: LlmProfileKindSchema,
|
|
40037
40091
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
40038
40092
|
addonId: string(),
|
|
40039
40093
|
enabled: boolean(),
|
|
40040
40094
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
40041
40095
|
model: string(),
|
|
40042
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
40043
|
-
baseUrl: string().optional(),
|
|
40044
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
40045
|
-
apiKey: string().optional(),
|
|
40046
40096
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
40047
40097
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
40048
40098
|
* question about a picture nobody sent. */
|
|
@@ -40050,15 +40100,11 @@ var LlmProfileSchema = object({
|
|
|
40050
40100
|
temperature: number().min(0).max(2).optional(),
|
|
40051
40101
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
40052
40102
|
topP: number().min(0).max(1).optional(),
|
|
40053
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
40054
|
-
*
|
|
40055
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
40056
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
40103
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
40104
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
40057
40105
|
topK: number().int().positive().optional(),
|
|
40058
40106
|
maxTokens: number().int().positive().optional(),
|
|
40059
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
40060
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
40061
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
40107
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
40062
40108
|
contextLength: number().int().positive().optional(),
|
|
40063
40109
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
40064
40110
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -40084,16 +40130,37 @@ var LlmProfileSchema = object({
|
|
|
40084
40130
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
40085
40131
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
40086
40132
|
toolsEnabled: boolean().default(false),
|
|
40087
|
-
|
|
40088
|
-
|
|
40089
|
-
|
|
40090
|
-
|
|
40091
|
-
|
|
40092
|
-
|
|
40093
|
-
|
|
40094
|
-
|
|
40095
|
-
|
|
40096
|
-
|
|
40133
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40134
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40135
|
+
});
|
|
40136
|
+
/**
|
|
40137
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40138
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40139
|
+
*/
|
|
40140
|
+
var LlmProfileFieldSchema = _enum([
|
|
40141
|
+
"temperature",
|
|
40142
|
+
"topP",
|
|
40143
|
+
"topK",
|
|
40144
|
+
"maxTokens",
|
|
40145
|
+
"contextLength",
|
|
40146
|
+
"systemPrompt",
|
|
40147
|
+
"timeoutMs",
|
|
40148
|
+
"connectTimeoutMs",
|
|
40149
|
+
"firstTokenTimeoutMs",
|
|
40150
|
+
"idleTimeoutMs",
|
|
40151
|
+
"retry",
|
|
40152
|
+
"toolsEnabled"
|
|
40153
|
+
]);
|
|
40154
|
+
/**
|
|
40155
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40156
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40157
|
+
* picker: that widget owns the model choice.
|
|
40158
|
+
*/
|
|
40159
|
+
var LlmProviderWidgetSchema = object({
|
|
40160
|
+
id: string(),
|
|
40161
|
+
placement: _enum(["connection", "model"]),
|
|
40162
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40163
|
+
requires: array(string()).optional()
|
|
40097
40164
|
});
|
|
40098
40165
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
40099
40166
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -40102,11 +40169,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
40102
40169
|
var LlmProfileKindDescriptorSchema = object({
|
|
40103
40170
|
kind: LlmProfileKindSchema,
|
|
40104
40171
|
label: string(),
|
|
40172
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
40105
40173
|
icon: string(),
|
|
40106
40174
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
40107
40175
|
addonId: string(),
|
|
40108
|
-
|
|
40176
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40177
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40178
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40179
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40180
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40181
|
+
features: LlmModelFeaturesSchema,
|
|
40182
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40183
|
+
visionEditable: boolean(),
|
|
40184
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40185
|
+
modelCatalog: _enum([
|
|
40186
|
+
"fetch",
|
|
40187
|
+
"static",
|
|
40188
|
+
"none"
|
|
40189
|
+
]),
|
|
40190
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40191
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40192
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40193
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40109
40194
|
});
|
|
40195
|
+
/**
|
|
40196
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40197
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40198
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40199
|
+
* stored profile — the browser never receives it.
|
|
40200
|
+
*/
|
|
40201
|
+
var LlmListModelsInputSchema = object({
|
|
40202
|
+
addonId: string(),
|
|
40203
|
+
kind: LlmProfileKindSchema,
|
|
40204
|
+
profileId: string().optional(),
|
|
40205
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40206
|
+
});
|
|
40207
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40208
|
+
"auth",
|
|
40209
|
+
"network",
|
|
40210
|
+
"unsupported",
|
|
40211
|
+
"invalid"
|
|
40212
|
+
]);
|
|
40213
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40214
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40215
|
+
ok: literal(true),
|
|
40216
|
+
models: array(LlmModelInfoSchema)
|
|
40217
|
+
}), object({
|
|
40218
|
+
ok: literal(false),
|
|
40219
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40220
|
+
message: string()
|
|
40221
|
+
})]);
|
|
40110
40222
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
40111
40223
|
var LlmDefaultSchema = object({
|
|
40112
40224
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40206,7 +40318,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40206
40318
|
kind: "mutation",
|
|
40207
40319
|
auth: "admin",
|
|
40208
40320
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40209
|
-
}), method(
|
|
40321
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40322
|
+
kind: "mutation",
|
|
40323
|
+
auth: "admin"
|
|
40324
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40210
40325
|
selector: LlmDefaultSelectorSchema,
|
|
40211
40326
|
profileId: string().nullable()
|
|
40212
40327
|
}), _void(), {
|
|
@@ -64206,26 +64321,6 @@ var ApiKeySummarySchema = object({
|
|
|
64206
64321
|
createdAt: number(),
|
|
64207
64322
|
lastUsedAt: number().optional()
|
|
64208
64323
|
});
|
|
64209
|
-
var ScopedTokenSummarySchema = object({
|
|
64210
|
-
id: string(),
|
|
64211
|
-
userId: string(),
|
|
64212
|
-
name: string(),
|
|
64213
|
-
tokenPrefix: string(),
|
|
64214
|
-
scopes: array(TokenScopeSchema),
|
|
64215
|
-
expiresAt: number().nullish(),
|
|
64216
|
-
lastUsedAt: number().nullish(),
|
|
64217
|
-
createdAt: number()
|
|
64218
|
-
});
|
|
64219
|
-
var CreateScopedTokenInputSchema = object({
|
|
64220
|
-
userId: string(),
|
|
64221
|
-
name: string(),
|
|
64222
|
-
scopes: array(TokenScopeSchema),
|
|
64223
|
-
expiresAt: number().optional()
|
|
64224
|
-
});
|
|
64225
|
-
var CreateScopedTokenResultSchema = object({
|
|
64226
|
-
token: string(),
|
|
64227
|
-
record: ScopedTokenSummarySchema
|
|
64228
|
-
});
|
|
64229
64324
|
var OauthSessionSummarySchema = object({
|
|
64230
64325
|
id: string(),
|
|
64231
64326
|
userId: string(),
|
|
@@ -64247,11 +64342,11 @@ var TotpStatusSchema = object({
|
|
|
64247
64342
|
confirmedAt: number().nullable()
|
|
64248
64343
|
});
|
|
64249
64344
|
/**
|
|
64250
|
-
* user-management — singleton capability for user accounts
|
|
64251
|
-
*
|
|
64345
|
+
* user-management — singleton capability for user accounts and the
|
|
64346
|
+
* legacy API-key rows.
|
|
64252
64347
|
*
|
|
64253
64348
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
64254
|
-
* — the subset check on `setUserScopes`
|
|
64349
|
+
* — the subset check on `setUserScopes` is moot
|
|
64255
64350
|
* because non-admins never reach these. If/when we open non-admin
|
|
64256
64351
|
* delegation, structural caller-scope subset check goes inside the
|
|
64257
64352
|
* provider.
|
|
@@ -64308,15 +64403,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
64308
64403
|
kind: "mutation",
|
|
64309
64404
|
auth: "admin",
|
|
64310
64405
|
access: "delete"
|
|
64311
|
-
}), method(
|
|
64312
|
-
kind: "mutation",
|
|
64313
|
-
auth: "admin",
|
|
64314
|
-
access: "create"
|
|
64315
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
64316
|
-
kind: "mutation",
|
|
64317
|
-
auth: "admin",
|
|
64318
|
-
access: "delete"
|
|
64319
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
64406
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
64320
64407
|
kind: "mutation",
|
|
64321
64408
|
auth: "admin",
|
|
64322
64409
|
access: "create"
|
|
@@ -70406,7 +70493,7 @@ Object.freeze({
|
|
|
70406
70493
|
capName: "llm",
|
|
70407
70494
|
capScope: "system",
|
|
70408
70495
|
addonId: null,
|
|
70409
|
-
access: "
|
|
70496
|
+
access: "create"
|
|
70410
70497
|
},
|
|
70411
70498
|
"llm.listNodeModels": {
|
|
70412
70499
|
capName: "llm",
|
|
@@ -75070,12 +75157,6 @@ Object.freeze({
|
|
|
75070
75157
|
addonId: null,
|
|
75071
75158
|
access: "create"
|
|
75072
75159
|
},
|
|
75073
|
-
"userManagement.createScopedToken": {
|
|
75074
|
-
capName: "user-management",
|
|
75075
|
-
capScope: "system",
|
|
75076
|
-
addonId: null,
|
|
75077
|
-
access: "create"
|
|
75078
|
-
},
|
|
75079
75160
|
"userManagement.createUser": {
|
|
75080
75161
|
capName: "user-management",
|
|
75081
75162
|
capScope: "system",
|
|
@@ -75124,12 +75205,6 @@ Object.freeze({
|
|
|
75124
75205
|
addonId: null,
|
|
75125
75206
|
access: "view"
|
|
75126
75207
|
},
|
|
75127
|
-
"userManagement.listScopedTokens": {
|
|
75128
|
-
capName: "user-management",
|
|
75129
|
-
capScope: "system",
|
|
75130
|
-
addonId: null,
|
|
75131
|
-
access: "view"
|
|
75132
|
-
},
|
|
75133
75208
|
"userManagement.listUsers": {
|
|
75134
75209
|
capName: "user-management",
|
|
75135
75210
|
capScope: "system",
|
|
@@ -75184,12 +75259,6 @@ Object.freeze({
|
|
|
75184
75259
|
addonId: null,
|
|
75185
75260
|
access: "delete"
|
|
75186
75261
|
},
|
|
75187
|
-
"userManagement.revokeScopedToken": {
|
|
75188
|
-
capName: "user-management",
|
|
75189
|
-
capScope: "system",
|
|
75190
|
-
addonId: null,
|
|
75191
|
-
access: "delete"
|
|
75192
|
-
},
|
|
75193
75262
|
"userManagement.setupTotp": {
|
|
75194
75263
|
capName: "user-management",
|
|
75195
75264
|
capScope: "system",
|
|
@@ -75220,12 +75289,6 @@ Object.freeze({
|
|
|
75220
75289
|
addonId: null,
|
|
75221
75290
|
access: "view"
|
|
75222
75291
|
},
|
|
75223
|
-
"userManagement.validateScopedToken": {
|
|
75224
|
-
capName: "user-management",
|
|
75225
|
-
capScope: "system",
|
|
75226
|
-
addonId: null,
|
|
75227
|
-
access: "view"
|
|
75228
|
-
},
|
|
75229
75292
|
"userManagement.verifyTotp": {
|
|
75230
75293
|
capName: "user-management",
|
|
75231
75294
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -5414,7 +5414,7 @@ var ZodIssueCode = {
|
|
|
5414
5414
|
var ZodFirstPartyTypeKind;
|
|
5415
5415
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5416
5416
|
//#endregion
|
|
5417
|
-
//#region ../types/dist/sleep-
|
|
5417
|
+
//#region ../types/dist/sleep-yKL5gfrH.mjs
|
|
5418
5418
|
/**
|
|
5419
5419
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5420
5420
|
* window to float samples (D455).
|
|
@@ -7797,9 +7797,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7797
7797
|
return result;
|
|
7798
7798
|
}
|
|
7799
7799
|
/**
|
|
7800
|
-
* The share-view scope kinds a
|
|
7801
|
-
* and validates them (`
|
|
7802
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7800
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7801
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7802
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7803
7803
|
*/
|
|
7804
7804
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7805
7805
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12610,7 +12610,7 @@ var ConvertResultSchema = object({
|
|
|
12610
12610
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12611
12611
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12612
12612
|
* distinction was only ever used to route role-specific procedures
|
|
12613
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12613
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12614
12614
|
* with `isAdmin: false` + an explicit scope list.
|
|
12615
12615
|
*/
|
|
12616
12616
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12799,10 +12799,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12799
12799
|
type: literal("addon-routes"),
|
|
12800
12800
|
access: array(MethodAccessSchema).min(1)
|
|
12801
12801
|
});
|
|
12802
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12802
12803
|
var CredentialScopeSchema = union([
|
|
12803
12804
|
literal("*"),
|
|
12804
12805
|
ShareViewScopeSchema,
|
|
12805
12806
|
AddonRoutesScopeSchema,
|
|
12807
|
+
PreferencesSelfScopeSchema,
|
|
12806
12808
|
TokenScopeSchema
|
|
12807
12809
|
]);
|
|
12808
12810
|
object({
|
|
@@ -12811,6 +12813,55 @@ object({
|
|
|
12811
12813
|
jti: string().min(16),
|
|
12812
12814
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12813
12815
|
});
|
|
12816
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12817
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12818
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12819
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12820
|
+
/** A stored row, as the owner reads it. */
|
|
12821
|
+
var PreferenceRowSchema = object({
|
|
12822
|
+
namespace: PreferenceNamespaceSchema,
|
|
12823
|
+
value: PreferenceValueSchema,
|
|
12824
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12825
|
+
revision: number().int().positive(),
|
|
12826
|
+
updatedAt: number().int(),
|
|
12827
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12828
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12829
|
+
});
|
|
12830
|
+
object({
|
|
12831
|
+
/** Absent: every namespace the caller holds. */
|
|
12832
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12833
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12834
|
+
object({
|
|
12835
|
+
namespace: PreferenceNamespaceSchema,
|
|
12836
|
+
value: PreferenceValueSchema,
|
|
12837
|
+
/**
|
|
12838
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12839
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12840
|
+
* revision answers `conflict` and writes nothing.
|
|
12841
|
+
*/
|
|
12842
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12843
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12844
|
+
});
|
|
12845
|
+
discriminatedUnion("status", [object({
|
|
12846
|
+
status: literal("saved"),
|
|
12847
|
+
row: PreferenceRowSchema
|
|
12848
|
+
}), object({
|
|
12849
|
+
status: literal("conflict"),
|
|
12850
|
+
current: PreferenceRowSchema.nullable()
|
|
12851
|
+
})]);
|
|
12852
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12853
|
+
object({
|
|
12854
|
+
/** `false` when the namespace did not exist. */
|
|
12855
|
+
deleted: boolean() });
|
|
12856
|
+
object({
|
|
12857
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12858
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12859
|
+
object({
|
|
12860
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12861
|
+
rows: array(PreferenceRowSchema),
|
|
12862
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12863
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12864
|
+
});
|
|
12814
12865
|
_enum(["new-session", "step-up"]);
|
|
12815
12866
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12816
12867
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -39987,38 +40038,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39987
40038
|
auth: "admin",
|
|
39988
40039
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39989
40040
|
});
|
|
40041
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
40042
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
40043
|
+
var LlmModelFeaturesSchema = object({
|
|
40044
|
+
vision: boolean(),
|
|
40045
|
+
tools: boolean(),
|
|
40046
|
+
streaming: boolean()
|
|
40047
|
+
});
|
|
40048
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
40049
|
+
var LlmModelInfoSchema = object({
|
|
40050
|
+
id: string(),
|
|
40051
|
+
label: string().optional(),
|
|
40052
|
+
contextLength: number().int().positive().optional(),
|
|
40053
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
40054
|
+
});
|
|
39990
40055
|
/**
|
|
39991
|
-
*
|
|
39992
|
-
*
|
|
39993
|
-
*
|
|
39994
|
-
*
|
|
39995
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39996
|
-
*
|
|
39997
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39998
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39999
|
-
* write; a stored key NEVER round-trips to a client.
|
|
40056
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
40057
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
40058
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
40059
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
40000
40060
|
*/
|
|
40001
|
-
var
|
|
40002
|
-
"openai-compatible",
|
|
40003
|
-
"openai",
|
|
40004
|
-
"anthropic",
|
|
40005
|
-
"google",
|
|
40006
|
-
"managed-local",
|
|
40007
|
-
"apple-foundation"
|
|
40008
|
-
]);
|
|
40061
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
40009
40062
|
var LlmProfileSchema = object({
|
|
40010
40063
|
id: string(),
|
|
40011
40064
|
name: string(),
|
|
40065
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
40012
40066
|
kind: LlmProfileKindSchema,
|
|
40013
40067
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
40014
40068
|
addonId: string(),
|
|
40015
40069
|
enabled: boolean(),
|
|
40016
40070
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
40017
40071
|
model: string(),
|
|
40018
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
40019
|
-
baseUrl: string().optional(),
|
|
40020
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
40021
|
-
apiKey: string().optional(),
|
|
40022
40072
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
40023
40073
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
40024
40074
|
* question about a picture nobody sent. */
|
|
@@ -40026,15 +40076,11 @@ var LlmProfileSchema = object({
|
|
|
40026
40076
|
temperature: number().min(0).max(2).optional(),
|
|
40027
40077
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
40028
40078
|
topP: number().min(0).max(1).optional(),
|
|
40029
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
40030
|
-
*
|
|
40031
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
40032
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
40079
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
40080
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
40033
40081
|
topK: number().int().positive().optional(),
|
|
40034
40082
|
maxTokens: number().int().positive().optional(),
|
|
40035
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
40036
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
40037
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
40083
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
40038
40084
|
contextLength: number().int().positive().optional(),
|
|
40039
40085
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
40040
40086
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -40060,16 +40106,37 @@ var LlmProfileSchema = object({
|
|
|
40060
40106
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
40061
40107
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
40062
40108
|
toolsEnabled: boolean().default(false),
|
|
40063
|
-
|
|
40064
|
-
|
|
40065
|
-
|
|
40066
|
-
|
|
40067
|
-
|
|
40068
|
-
|
|
40069
|
-
|
|
40070
|
-
|
|
40071
|
-
|
|
40072
|
-
|
|
40109
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40110
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40111
|
+
});
|
|
40112
|
+
/**
|
|
40113
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40114
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40115
|
+
*/
|
|
40116
|
+
var LlmProfileFieldSchema = _enum([
|
|
40117
|
+
"temperature",
|
|
40118
|
+
"topP",
|
|
40119
|
+
"topK",
|
|
40120
|
+
"maxTokens",
|
|
40121
|
+
"contextLength",
|
|
40122
|
+
"systemPrompt",
|
|
40123
|
+
"timeoutMs",
|
|
40124
|
+
"connectTimeoutMs",
|
|
40125
|
+
"firstTokenTimeoutMs",
|
|
40126
|
+
"idleTimeoutMs",
|
|
40127
|
+
"retry",
|
|
40128
|
+
"toolsEnabled"
|
|
40129
|
+
]);
|
|
40130
|
+
/**
|
|
40131
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40132
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40133
|
+
* picker: that widget owns the model choice.
|
|
40134
|
+
*/
|
|
40135
|
+
var LlmProviderWidgetSchema = object({
|
|
40136
|
+
id: string(),
|
|
40137
|
+
placement: _enum(["connection", "model"]),
|
|
40138
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40139
|
+
requires: array(string()).optional()
|
|
40073
40140
|
});
|
|
40074
40141
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
40075
40142
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -40078,11 +40145,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
40078
40145
|
var LlmProfileKindDescriptorSchema = object({
|
|
40079
40146
|
kind: LlmProfileKindSchema,
|
|
40080
40147
|
label: string(),
|
|
40148
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
40081
40149
|
icon: string(),
|
|
40082
40150
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
40083
40151
|
addonId: string(),
|
|
40084
|
-
|
|
40152
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40153
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40154
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40155
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40156
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40157
|
+
features: LlmModelFeaturesSchema,
|
|
40158
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40159
|
+
visionEditable: boolean(),
|
|
40160
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40161
|
+
modelCatalog: _enum([
|
|
40162
|
+
"fetch",
|
|
40163
|
+
"static",
|
|
40164
|
+
"none"
|
|
40165
|
+
]),
|
|
40166
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40167
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40168
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40169
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40085
40170
|
});
|
|
40171
|
+
/**
|
|
40172
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40173
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40174
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40175
|
+
* stored profile — the browser never receives it.
|
|
40176
|
+
*/
|
|
40177
|
+
var LlmListModelsInputSchema = object({
|
|
40178
|
+
addonId: string(),
|
|
40179
|
+
kind: LlmProfileKindSchema,
|
|
40180
|
+
profileId: string().optional(),
|
|
40181
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40182
|
+
});
|
|
40183
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40184
|
+
"auth",
|
|
40185
|
+
"network",
|
|
40186
|
+
"unsupported",
|
|
40187
|
+
"invalid"
|
|
40188
|
+
]);
|
|
40189
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40190
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40191
|
+
ok: literal(true),
|
|
40192
|
+
models: array(LlmModelInfoSchema)
|
|
40193
|
+
}), object({
|
|
40194
|
+
ok: literal(false),
|
|
40195
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40196
|
+
message: string()
|
|
40197
|
+
})]);
|
|
40086
40198
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
40087
40199
|
var LlmDefaultSchema = object({
|
|
40088
40200
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40182,7 +40294,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40182
40294
|
kind: "mutation",
|
|
40183
40295
|
auth: "admin",
|
|
40184
40296
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40185
|
-
}), method(
|
|
40297
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40298
|
+
kind: "mutation",
|
|
40299
|
+
auth: "admin"
|
|
40300
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40186
40301
|
selector: LlmDefaultSelectorSchema,
|
|
40187
40302
|
profileId: string().nullable()
|
|
40188
40303
|
}), _void(), {
|
|
@@ -64182,26 +64297,6 @@ var ApiKeySummarySchema = object({
|
|
|
64182
64297
|
createdAt: number(),
|
|
64183
64298
|
lastUsedAt: number().optional()
|
|
64184
64299
|
});
|
|
64185
|
-
var ScopedTokenSummarySchema = object({
|
|
64186
|
-
id: string(),
|
|
64187
|
-
userId: string(),
|
|
64188
|
-
name: string(),
|
|
64189
|
-
tokenPrefix: string(),
|
|
64190
|
-
scopes: array(TokenScopeSchema),
|
|
64191
|
-
expiresAt: number().nullish(),
|
|
64192
|
-
lastUsedAt: number().nullish(),
|
|
64193
|
-
createdAt: number()
|
|
64194
|
-
});
|
|
64195
|
-
var CreateScopedTokenInputSchema = object({
|
|
64196
|
-
userId: string(),
|
|
64197
|
-
name: string(),
|
|
64198
|
-
scopes: array(TokenScopeSchema),
|
|
64199
|
-
expiresAt: number().optional()
|
|
64200
|
-
});
|
|
64201
|
-
var CreateScopedTokenResultSchema = object({
|
|
64202
|
-
token: string(),
|
|
64203
|
-
record: ScopedTokenSummarySchema
|
|
64204
|
-
});
|
|
64205
64300
|
var OauthSessionSummarySchema = object({
|
|
64206
64301
|
id: string(),
|
|
64207
64302
|
userId: string(),
|
|
@@ -64223,11 +64318,11 @@ var TotpStatusSchema = object({
|
|
|
64223
64318
|
confirmedAt: number().nullable()
|
|
64224
64319
|
});
|
|
64225
64320
|
/**
|
|
64226
|
-
* user-management — singleton capability for user accounts
|
|
64227
|
-
*
|
|
64321
|
+
* user-management — singleton capability for user accounts and the
|
|
64322
|
+
* legacy API-key rows.
|
|
64228
64323
|
*
|
|
64229
64324
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
64230
|
-
* — the subset check on `setUserScopes`
|
|
64325
|
+
* — the subset check on `setUserScopes` is moot
|
|
64231
64326
|
* because non-admins never reach these. If/when we open non-admin
|
|
64232
64327
|
* delegation, structural caller-scope subset check goes inside the
|
|
64233
64328
|
* provider.
|
|
@@ -64284,15 +64379,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
64284
64379
|
kind: "mutation",
|
|
64285
64380
|
auth: "admin",
|
|
64286
64381
|
access: "delete"
|
|
64287
|
-
}), method(
|
|
64288
|
-
kind: "mutation",
|
|
64289
|
-
auth: "admin",
|
|
64290
|
-
access: "create"
|
|
64291
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
64292
|
-
kind: "mutation",
|
|
64293
|
-
auth: "admin",
|
|
64294
|
-
access: "delete"
|
|
64295
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
64382
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
64296
64383
|
kind: "mutation",
|
|
64297
64384
|
auth: "admin",
|
|
64298
64385
|
access: "create"
|
|
@@ -70382,7 +70469,7 @@ Object.freeze({
|
|
|
70382
70469
|
capName: "llm",
|
|
70383
70470
|
capScope: "system",
|
|
70384
70471
|
addonId: null,
|
|
70385
|
-
access: "
|
|
70472
|
+
access: "create"
|
|
70386
70473
|
},
|
|
70387
70474
|
"llm.listNodeModels": {
|
|
70388
70475
|
capName: "llm",
|
|
@@ -75046,12 +75133,6 @@ Object.freeze({
|
|
|
75046
75133
|
addonId: null,
|
|
75047
75134
|
access: "create"
|
|
75048
75135
|
},
|
|
75049
|
-
"userManagement.createScopedToken": {
|
|
75050
|
-
capName: "user-management",
|
|
75051
|
-
capScope: "system",
|
|
75052
|
-
addonId: null,
|
|
75053
|
-
access: "create"
|
|
75054
|
-
},
|
|
75055
75136
|
"userManagement.createUser": {
|
|
75056
75137
|
capName: "user-management",
|
|
75057
75138
|
capScope: "system",
|
|
@@ -75100,12 +75181,6 @@ Object.freeze({
|
|
|
75100
75181
|
addonId: null,
|
|
75101
75182
|
access: "view"
|
|
75102
75183
|
},
|
|
75103
|
-
"userManagement.listScopedTokens": {
|
|
75104
|
-
capName: "user-management",
|
|
75105
|
-
capScope: "system",
|
|
75106
|
-
addonId: null,
|
|
75107
|
-
access: "view"
|
|
75108
|
-
},
|
|
75109
75184
|
"userManagement.listUsers": {
|
|
75110
75185
|
capName: "user-management",
|
|
75111
75186
|
capScope: "system",
|
|
@@ -75160,12 +75235,6 @@ Object.freeze({
|
|
|
75160
75235
|
addonId: null,
|
|
75161
75236
|
access: "delete"
|
|
75162
75237
|
},
|
|
75163
|
-
"userManagement.revokeScopedToken": {
|
|
75164
|
-
capName: "user-management",
|
|
75165
|
-
capScope: "system",
|
|
75166
|
-
addonId: null,
|
|
75167
|
-
access: "delete"
|
|
75168
|
-
},
|
|
75169
75238
|
"userManagement.setupTotp": {
|
|
75170
75239
|
capName: "user-management",
|
|
75171
75240
|
capScope: "system",
|
|
@@ -75196,12 +75265,6 @@ Object.freeze({
|
|
|
75196
75265
|
addonId: null,
|
|
75197
75266
|
access: "view"
|
|
75198
75267
|
},
|
|
75199
|
-
"userManagement.validateScopedToken": {
|
|
75200
|
-
capName: "user-management",
|
|
75201
|
-
capScope: "system",
|
|
75202
|
-
addonId: null,
|
|
75203
|
-
access: "view"
|
|
75204
|
-
},
|
|
75205
75268
|
"userManagement.verifyTotp": {
|
|
75206
75269
|
capName: "user-management",
|
|
75207
75270
|
capScope: "system",
|