@camstack/addon-provider-onvif 1.2.132 → 1.2.133
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
|
@@ -5417,7 +5417,7 @@ var ZodIssueCode = {
|
|
|
5417
5417
|
var ZodFirstPartyTypeKind;
|
|
5418
5418
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5419
5419
|
//#endregion
|
|
5420
|
-
//#region ../types/dist/sleep-
|
|
5420
|
+
//#region ../types/dist/sleep-yKL5gfrH.mjs
|
|
5421
5421
|
/**
|
|
5422
5422
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5423
5423
|
* window to float samples (D455).
|
|
@@ -7800,9 +7800,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7800
7800
|
return result;
|
|
7801
7801
|
}
|
|
7802
7802
|
/**
|
|
7803
|
-
* The share-view scope kinds a
|
|
7804
|
-
* and validates them (`
|
|
7805
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7803
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7804
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7805
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7806
7806
|
*/
|
|
7807
7807
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7808
7808
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12421,7 +12421,7 @@ var ConvertResultSchema = object({
|
|
|
12421
12421
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12422
12422
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12423
12423
|
* distinction was only ever used to route role-specific procedures
|
|
12424
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12424
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12425
12425
|
* with `isAdmin: false` + an explicit scope list.
|
|
12426
12426
|
*/
|
|
12427
12427
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12610,10 +12610,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12610
12610
|
type: literal("addon-routes"),
|
|
12611
12611
|
access: array(MethodAccessSchema).min(1)
|
|
12612
12612
|
});
|
|
12613
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12613
12614
|
var CredentialScopeSchema = union([
|
|
12614
12615
|
literal("*"),
|
|
12615
12616
|
ShareViewScopeSchema,
|
|
12616
12617
|
AddonRoutesScopeSchema,
|
|
12618
|
+
PreferencesSelfScopeSchema,
|
|
12617
12619
|
TokenScopeSchema
|
|
12618
12620
|
]);
|
|
12619
12621
|
object({
|
|
@@ -12622,6 +12624,55 @@ object({
|
|
|
12622
12624
|
jti: string().min(16),
|
|
12623
12625
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12624
12626
|
});
|
|
12627
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12628
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12629
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12630
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12631
|
+
/** A stored row, as the owner reads it. */
|
|
12632
|
+
var PreferenceRowSchema = object({
|
|
12633
|
+
namespace: PreferenceNamespaceSchema,
|
|
12634
|
+
value: PreferenceValueSchema,
|
|
12635
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12636
|
+
revision: number().int().positive(),
|
|
12637
|
+
updatedAt: number().int(),
|
|
12638
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12639
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12640
|
+
});
|
|
12641
|
+
object({
|
|
12642
|
+
/** Absent: every namespace the caller holds. */
|
|
12643
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12644
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12645
|
+
object({
|
|
12646
|
+
namespace: PreferenceNamespaceSchema,
|
|
12647
|
+
value: PreferenceValueSchema,
|
|
12648
|
+
/**
|
|
12649
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12650
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12651
|
+
* revision answers `conflict` and writes nothing.
|
|
12652
|
+
*/
|
|
12653
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12654
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12655
|
+
});
|
|
12656
|
+
discriminatedUnion("status", [object({
|
|
12657
|
+
status: literal("saved"),
|
|
12658
|
+
row: PreferenceRowSchema
|
|
12659
|
+
}), object({
|
|
12660
|
+
status: literal("conflict"),
|
|
12661
|
+
current: PreferenceRowSchema.nullable()
|
|
12662
|
+
})]);
|
|
12663
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12664
|
+
object({
|
|
12665
|
+
/** `false` when the namespace did not exist. */
|
|
12666
|
+
deleted: boolean() });
|
|
12667
|
+
object({
|
|
12668
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12669
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12670
|
+
object({
|
|
12671
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12672
|
+
rows: array(PreferenceRowSchema),
|
|
12673
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12674
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12675
|
+
});
|
|
12625
12676
|
_enum(["new-session", "step-up"]);
|
|
12626
12677
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12627
12678
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -39694,38 +39745,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39694
39745
|
auth: "admin",
|
|
39695
39746
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39696
39747
|
});
|
|
39748
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
39749
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
39750
|
+
var LlmModelFeaturesSchema = object({
|
|
39751
|
+
vision: boolean(),
|
|
39752
|
+
tools: boolean(),
|
|
39753
|
+
streaming: boolean()
|
|
39754
|
+
});
|
|
39755
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
39756
|
+
var LlmModelInfoSchema = object({
|
|
39757
|
+
id: string(),
|
|
39758
|
+
label: string().optional(),
|
|
39759
|
+
contextLength: number().int().positive().optional(),
|
|
39760
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
39761
|
+
});
|
|
39697
39762
|
/**
|
|
39698
|
-
*
|
|
39699
|
-
*
|
|
39700
|
-
*
|
|
39701
|
-
*
|
|
39702
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39703
|
-
*
|
|
39704
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39705
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39706
|
-
* write; a stored key NEVER round-trips to a client.
|
|
39763
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
39764
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
39765
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
39766
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39707
39767
|
*/
|
|
39708
|
-
var
|
|
39709
|
-
"openai-compatible",
|
|
39710
|
-
"openai",
|
|
39711
|
-
"anthropic",
|
|
39712
|
-
"google",
|
|
39713
|
-
"managed-local",
|
|
39714
|
-
"apple-foundation"
|
|
39715
|
-
]);
|
|
39768
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39716
39769
|
var LlmProfileSchema = object({
|
|
39717
39770
|
id: string(),
|
|
39718
39771
|
name: string(),
|
|
39772
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39719
39773
|
kind: LlmProfileKindSchema,
|
|
39720
39774
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39721
39775
|
addonId: string(),
|
|
39722
39776
|
enabled: boolean(),
|
|
39723
39777
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39724
39778
|
model: string(),
|
|
39725
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39726
|
-
baseUrl: string().optional(),
|
|
39727
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39728
|
-
apiKey: string().optional(),
|
|
39729
39779
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39730
39780
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39731
39781
|
* question about a picture nobody sent. */
|
|
@@ -39733,15 +39783,11 @@ var LlmProfileSchema = object({
|
|
|
39733
39783
|
temperature: number().min(0).max(2).optional(),
|
|
39734
39784
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39735
39785
|
topP: number().min(0).max(1).optional(),
|
|
39736
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39737
|
-
*
|
|
39738
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39739
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
39786
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
39787
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39740
39788
|
topK: number().int().positive().optional(),
|
|
39741
39789
|
maxTokens: number().int().positive().optional(),
|
|
39742
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39743
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39744
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
39790
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39745
39791
|
contextLength: number().int().positive().optional(),
|
|
39746
39792
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39747
39793
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39767,16 +39813,37 @@ var LlmProfileSchema = object({
|
|
|
39767
39813
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39768
39814
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39769
39815
|
toolsEnabled: boolean().default(false),
|
|
39770
|
-
|
|
39771
|
-
|
|
39772
|
-
|
|
39773
|
-
|
|
39774
|
-
|
|
39775
|
-
|
|
39776
|
-
|
|
39777
|
-
|
|
39778
|
-
|
|
39779
|
-
|
|
39816
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
39817
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
39818
|
+
});
|
|
39819
|
+
/**
|
|
39820
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
39821
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
39822
|
+
*/
|
|
39823
|
+
var LlmProfileFieldSchema = _enum([
|
|
39824
|
+
"temperature",
|
|
39825
|
+
"topP",
|
|
39826
|
+
"topK",
|
|
39827
|
+
"maxTokens",
|
|
39828
|
+
"contextLength",
|
|
39829
|
+
"systemPrompt",
|
|
39830
|
+
"timeoutMs",
|
|
39831
|
+
"connectTimeoutMs",
|
|
39832
|
+
"firstTokenTimeoutMs",
|
|
39833
|
+
"idleTimeoutMs",
|
|
39834
|
+
"retry",
|
|
39835
|
+
"toolsEnabled"
|
|
39836
|
+
]);
|
|
39837
|
+
/**
|
|
39838
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
39839
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
39840
|
+
* picker: that widget owns the model choice.
|
|
39841
|
+
*/
|
|
39842
|
+
var LlmProviderWidgetSchema = object({
|
|
39843
|
+
id: string(),
|
|
39844
|
+
placement: _enum(["connection", "model"]),
|
|
39845
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
39846
|
+
requires: array(string()).optional()
|
|
39780
39847
|
});
|
|
39781
39848
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
39782
39849
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -39785,11 +39852,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
39785
39852
|
var LlmProfileKindDescriptorSchema = object({
|
|
39786
39853
|
kind: LlmProfileKindSchema,
|
|
39787
39854
|
label: string(),
|
|
39855
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
39788
39856
|
icon: string(),
|
|
39789
39857
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
39790
39858
|
addonId: string(),
|
|
39791
|
-
|
|
39859
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
39860
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
39861
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
39862
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
39863
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
39864
|
+
features: LlmModelFeaturesSchema,
|
|
39865
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
39866
|
+
visionEditable: boolean(),
|
|
39867
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
39868
|
+
modelCatalog: _enum([
|
|
39869
|
+
"fetch",
|
|
39870
|
+
"static",
|
|
39871
|
+
"none"
|
|
39872
|
+
]),
|
|
39873
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
39874
|
+
/** The common fields that mean something on this kind's wire. */
|
|
39875
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
39876
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
39792
39877
|
});
|
|
39878
|
+
/**
|
|
39879
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
39880
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
39881
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
39882
|
+
* stored profile — the browser never receives it.
|
|
39883
|
+
*/
|
|
39884
|
+
var LlmListModelsInputSchema = object({
|
|
39885
|
+
addonId: string(),
|
|
39886
|
+
kind: LlmProfileKindSchema,
|
|
39887
|
+
profileId: string().optional(),
|
|
39888
|
+
connection: LlmProviderConfigSchema.optional()
|
|
39889
|
+
});
|
|
39890
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
39891
|
+
"auth",
|
|
39892
|
+
"network",
|
|
39893
|
+
"unsupported",
|
|
39894
|
+
"invalid"
|
|
39895
|
+
]);
|
|
39896
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
39897
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
39898
|
+
ok: literal(true),
|
|
39899
|
+
models: array(LlmModelInfoSchema)
|
|
39900
|
+
}), object({
|
|
39901
|
+
ok: literal(false),
|
|
39902
|
+
code: LlmListModelsErrorCodeSchema,
|
|
39903
|
+
message: string()
|
|
39904
|
+
})]);
|
|
39793
39905
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
39794
39906
|
var LlmDefaultSchema = object({
|
|
39795
39907
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -39889,7 +40001,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
39889
40001
|
kind: "mutation",
|
|
39890
40002
|
auth: "admin",
|
|
39891
40003
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39892
|
-
}), method(
|
|
40004
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40005
|
+
kind: "mutation",
|
|
40006
|
+
auth: "admin"
|
|
40007
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
39893
40008
|
selector: LlmDefaultSelectorSchema,
|
|
39894
40009
|
profileId: string().nullable()
|
|
39895
40010
|
}), _void(), {
|
|
@@ -61080,26 +61195,6 @@ var ApiKeySummarySchema = object({
|
|
|
61080
61195
|
createdAt: number(),
|
|
61081
61196
|
lastUsedAt: number().optional()
|
|
61082
61197
|
});
|
|
61083
|
-
var ScopedTokenSummarySchema = object({
|
|
61084
|
-
id: string(),
|
|
61085
|
-
userId: string(),
|
|
61086
|
-
name: string(),
|
|
61087
|
-
tokenPrefix: string(),
|
|
61088
|
-
scopes: array(TokenScopeSchema),
|
|
61089
|
-
expiresAt: number().nullish(),
|
|
61090
|
-
lastUsedAt: number().nullish(),
|
|
61091
|
-
createdAt: number()
|
|
61092
|
-
});
|
|
61093
|
-
var CreateScopedTokenInputSchema = object({
|
|
61094
|
-
userId: string(),
|
|
61095
|
-
name: string(),
|
|
61096
|
-
scopes: array(TokenScopeSchema),
|
|
61097
|
-
expiresAt: number().optional()
|
|
61098
|
-
});
|
|
61099
|
-
var CreateScopedTokenResultSchema = object({
|
|
61100
|
-
token: string(),
|
|
61101
|
-
record: ScopedTokenSummarySchema
|
|
61102
|
-
});
|
|
61103
61198
|
var OauthSessionSummarySchema = object({
|
|
61104
61199
|
id: string(),
|
|
61105
61200
|
userId: string(),
|
|
@@ -61121,11 +61216,11 @@ var TotpStatusSchema = object({
|
|
|
61121
61216
|
confirmedAt: number().nullable()
|
|
61122
61217
|
});
|
|
61123
61218
|
/**
|
|
61124
|
-
* user-management — singleton capability for user accounts
|
|
61125
|
-
*
|
|
61219
|
+
* user-management — singleton capability for user accounts and the
|
|
61220
|
+
* legacy API-key rows.
|
|
61126
61221
|
*
|
|
61127
61222
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61128
|
-
* — the subset check on `setUserScopes`
|
|
61223
|
+
* — the subset check on `setUserScopes` is moot
|
|
61129
61224
|
* because non-admins never reach these. If/when we open non-admin
|
|
61130
61225
|
* delegation, structural caller-scope subset check goes inside the
|
|
61131
61226
|
* provider.
|
|
@@ -61182,15 +61277,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61182
61277
|
kind: "mutation",
|
|
61183
61278
|
auth: "admin",
|
|
61184
61279
|
access: "delete"
|
|
61185
|
-
}), method(
|
|
61186
|
-
kind: "mutation",
|
|
61187
|
-
auth: "admin",
|
|
61188
|
-
access: "create"
|
|
61189
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61190
|
-
kind: "mutation",
|
|
61191
|
-
auth: "admin",
|
|
61192
|
-
access: "delete"
|
|
61193
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61280
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61194
61281
|
kind: "mutation",
|
|
61195
61282
|
auth: "admin",
|
|
61196
61283
|
access: "create"
|
|
@@ -66171,7 +66258,7 @@ Object.freeze({
|
|
|
66171
66258
|
capName: "llm",
|
|
66172
66259
|
capScope: "system",
|
|
66173
66260
|
addonId: null,
|
|
66174
|
-
access: "
|
|
66261
|
+
access: "create"
|
|
66175
66262
|
},
|
|
66176
66263
|
"llm.listNodeModels": {
|
|
66177
66264
|
capName: "llm",
|
|
@@ -70835,12 +70922,6 @@ Object.freeze({
|
|
|
70835
70922
|
addonId: null,
|
|
70836
70923
|
access: "create"
|
|
70837
70924
|
},
|
|
70838
|
-
"userManagement.createScopedToken": {
|
|
70839
|
-
capName: "user-management",
|
|
70840
|
-
capScope: "system",
|
|
70841
|
-
addonId: null,
|
|
70842
|
-
access: "create"
|
|
70843
|
-
},
|
|
70844
70925
|
"userManagement.createUser": {
|
|
70845
70926
|
capName: "user-management",
|
|
70846
70927
|
capScope: "system",
|
|
@@ -70889,12 +70970,6 @@ Object.freeze({
|
|
|
70889
70970
|
addonId: null,
|
|
70890
70971
|
access: "view"
|
|
70891
70972
|
},
|
|
70892
|
-
"userManagement.listScopedTokens": {
|
|
70893
|
-
capName: "user-management",
|
|
70894
|
-
capScope: "system",
|
|
70895
|
-
addonId: null,
|
|
70896
|
-
access: "view"
|
|
70897
|
-
},
|
|
70898
70973
|
"userManagement.listUsers": {
|
|
70899
70974
|
capName: "user-management",
|
|
70900
70975
|
capScope: "system",
|
|
@@ -70949,12 +71024,6 @@ Object.freeze({
|
|
|
70949
71024
|
addonId: null,
|
|
70950
71025
|
access: "delete"
|
|
70951
71026
|
},
|
|
70952
|
-
"userManagement.revokeScopedToken": {
|
|
70953
|
-
capName: "user-management",
|
|
70954
|
-
capScope: "system",
|
|
70955
|
-
addonId: null,
|
|
70956
|
-
access: "delete"
|
|
70957
|
-
},
|
|
70958
71027
|
"userManagement.setupTotp": {
|
|
70959
71028
|
capName: "user-management",
|
|
70960
71029
|
capScope: "system",
|
|
@@ -70985,12 +71054,6 @@ Object.freeze({
|
|
|
70985
71054
|
addonId: null,
|
|
70986
71055
|
access: "view"
|
|
70987
71056
|
},
|
|
70988
|
-
"userManagement.validateScopedToken": {
|
|
70989
|
-
capName: "user-management",
|
|
70990
|
-
capScope: "system",
|
|
70991
|
-
addonId: null,
|
|
70992
|
-
access: "view"
|
|
70993
|
-
},
|
|
70994
71057
|
"userManagement.verifyTotp": {
|
|
70995
71058
|
capName: "user-management",
|
|
70996
71059
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -5418,7 +5418,7 @@ var ZodIssueCode = {
|
|
|
5418
5418
|
var ZodFirstPartyTypeKind;
|
|
5419
5419
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5420
5420
|
//#endregion
|
|
5421
|
-
//#region ../types/dist/sleep-
|
|
5421
|
+
//#region ../types/dist/sleep-yKL5gfrH.mjs
|
|
5422
5422
|
/**
|
|
5423
5423
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5424
5424
|
* window to float samples (D455).
|
|
@@ -7801,9 +7801,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7801
7801
|
return result;
|
|
7802
7802
|
}
|
|
7803
7803
|
/**
|
|
7804
|
-
* The share-view scope kinds a
|
|
7805
|
-
* and validates them (`
|
|
7806
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7804
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7805
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7806
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7807
7807
|
*/
|
|
7808
7808
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7809
7809
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12422,7 +12422,7 @@ var ConvertResultSchema = object({
|
|
|
12422
12422
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12423
12423
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12424
12424
|
* distinction was only ever used to route role-specific procedures
|
|
12425
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12425
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12426
12426
|
* with `isAdmin: false` + an explicit scope list.
|
|
12427
12427
|
*/
|
|
12428
12428
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12611,10 +12611,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12611
12611
|
type: literal("addon-routes"),
|
|
12612
12612
|
access: array(MethodAccessSchema).min(1)
|
|
12613
12613
|
});
|
|
12614
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12614
12615
|
var CredentialScopeSchema = union([
|
|
12615
12616
|
literal("*"),
|
|
12616
12617
|
ShareViewScopeSchema,
|
|
12617
12618
|
AddonRoutesScopeSchema,
|
|
12619
|
+
PreferencesSelfScopeSchema,
|
|
12618
12620
|
TokenScopeSchema
|
|
12619
12621
|
]);
|
|
12620
12622
|
object({
|
|
@@ -12623,6 +12625,55 @@ object({
|
|
|
12623
12625
|
jti: string().min(16),
|
|
12624
12626
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12625
12627
|
});
|
|
12628
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12629
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12630
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12631
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12632
|
+
/** A stored row, as the owner reads it. */
|
|
12633
|
+
var PreferenceRowSchema = object({
|
|
12634
|
+
namespace: PreferenceNamespaceSchema,
|
|
12635
|
+
value: PreferenceValueSchema,
|
|
12636
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12637
|
+
revision: number().int().positive(),
|
|
12638
|
+
updatedAt: number().int(),
|
|
12639
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12640
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12641
|
+
});
|
|
12642
|
+
object({
|
|
12643
|
+
/** Absent: every namespace the caller holds. */
|
|
12644
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12645
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12646
|
+
object({
|
|
12647
|
+
namespace: PreferenceNamespaceSchema,
|
|
12648
|
+
value: PreferenceValueSchema,
|
|
12649
|
+
/**
|
|
12650
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12651
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12652
|
+
* revision answers `conflict` and writes nothing.
|
|
12653
|
+
*/
|
|
12654
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12655
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12656
|
+
});
|
|
12657
|
+
discriminatedUnion("status", [object({
|
|
12658
|
+
status: literal("saved"),
|
|
12659
|
+
row: PreferenceRowSchema
|
|
12660
|
+
}), object({
|
|
12661
|
+
status: literal("conflict"),
|
|
12662
|
+
current: PreferenceRowSchema.nullable()
|
|
12663
|
+
})]);
|
|
12664
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12665
|
+
object({
|
|
12666
|
+
/** `false` when the namespace did not exist. */
|
|
12667
|
+
deleted: boolean() });
|
|
12668
|
+
object({
|
|
12669
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12670
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12671
|
+
object({
|
|
12672
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12673
|
+
rows: array(PreferenceRowSchema),
|
|
12674
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12675
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12676
|
+
});
|
|
12626
12677
|
_enum(["new-session", "step-up"]);
|
|
12627
12678
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12628
12679
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -39695,38 +39746,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39695
39746
|
auth: "admin",
|
|
39696
39747
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39697
39748
|
});
|
|
39749
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
39750
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
39751
|
+
var LlmModelFeaturesSchema = object({
|
|
39752
|
+
vision: boolean(),
|
|
39753
|
+
tools: boolean(),
|
|
39754
|
+
streaming: boolean()
|
|
39755
|
+
});
|
|
39756
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
39757
|
+
var LlmModelInfoSchema = object({
|
|
39758
|
+
id: string(),
|
|
39759
|
+
label: string().optional(),
|
|
39760
|
+
contextLength: number().int().positive().optional(),
|
|
39761
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
39762
|
+
});
|
|
39698
39763
|
/**
|
|
39699
|
-
*
|
|
39700
|
-
*
|
|
39701
|
-
*
|
|
39702
|
-
*
|
|
39703
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39704
|
-
*
|
|
39705
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39706
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39707
|
-
* write; a stored key NEVER round-trips to a client.
|
|
39764
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
39765
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
39766
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
39767
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39708
39768
|
*/
|
|
39709
|
-
var
|
|
39710
|
-
"openai-compatible",
|
|
39711
|
-
"openai",
|
|
39712
|
-
"anthropic",
|
|
39713
|
-
"google",
|
|
39714
|
-
"managed-local",
|
|
39715
|
-
"apple-foundation"
|
|
39716
|
-
]);
|
|
39769
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39717
39770
|
var LlmProfileSchema = object({
|
|
39718
39771
|
id: string(),
|
|
39719
39772
|
name: string(),
|
|
39773
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39720
39774
|
kind: LlmProfileKindSchema,
|
|
39721
39775
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39722
39776
|
addonId: string(),
|
|
39723
39777
|
enabled: boolean(),
|
|
39724
39778
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39725
39779
|
model: string(),
|
|
39726
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39727
|
-
baseUrl: string().optional(),
|
|
39728
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39729
|
-
apiKey: string().optional(),
|
|
39730
39780
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39731
39781
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39732
39782
|
* question about a picture nobody sent. */
|
|
@@ -39734,15 +39784,11 @@ var LlmProfileSchema = object({
|
|
|
39734
39784
|
temperature: number().min(0).max(2).optional(),
|
|
39735
39785
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39736
39786
|
topP: number().min(0).max(1).optional(),
|
|
39737
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39738
|
-
*
|
|
39739
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39740
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
39787
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
39788
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39741
39789
|
topK: number().int().positive().optional(),
|
|
39742
39790
|
maxTokens: number().int().positive().optional(),
|
|
39743
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39744
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39745
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
39791
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39746
39792
|
contextLength: number().int().positive().optional(),
|
|
39747
39793
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39748
39794
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39768,16 +39814,37 @@ var LlmProfileSchema = object({
|
|
|
39768
39814
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39769
39815
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39770
39816
|
toolsEnabled: boolean().default(false),
|
|
39771
|
-
|
|
39772
|
-
|
|
39773
|
-
|
|
39774
|
-
|
|
39775
|
-
|
|
39776
|
-
|
|
39777
|
-
|
|
39778
|
-
|
|
39779
|
-
|
|
39780
|
-
|
|
39817
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
39818
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
39819
|
+
});
|
|
39820
|
+
/**
|
|
39821
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
39822
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
39823
|
+
*/
|
|
39824
|
+
var LlmProfileFieldSchema = _enum([
|
|
39825
|
+
"temperature",
|
|
39826
|
+
"topP",
|
|
39827
|
+
"topK",
|
|
39828
|
+
"maxTokens",
|
|
39829
|
+
"contextLength",
|
|
39830
|
+
"systemPrompt",
|
|
39831
|
+
"timeoutMs",
|
|
39832
|
+
"connectTimeoutMs",
|
|
39833
|
+
"firstTokenTimeoutMs",
|
|
39834
|
+
"idleTimeoutMs",
|
|
39835
|
+
"retry",
|
|
39836
|
+
"toolsEnabled"
|
|
39837
|
+
]);
|
|
39838
|
+
/**
|
|
39839
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
39840
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
39841
|
+
* picker: that widget owns the model choice.
|
|
39842
|
+
*/
|
|
39843
|
+
var LlmProviderWidgetSchema = object({
|
|
39844
|
+
id: string(),
|
|
39845
|
+
placement: _enum(["connection", "model"]),
|
|
39846
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
39847
|
+
requires: array(string()).optional()
|
|
39781
39848
|
});
|
|
39782
39849
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
39783
39850
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -39786,11 +39853,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
39786
39853
|
var LlmProfileKindDescriptorSchema = object({
|
|
39787
39854
|
kind: LlmProfileKindSchema,
|
|
39788
39855
|
label: string(),
|
|
39856
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
39789
39857
|
icon: string(),
|
|
39790
39858
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
39791
39859
|
addonId: string(),
|
|
39792
|
-
|
|
39860
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
39861
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
39862
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
39863
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
39864
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
39865
|
+
features: LlmModelFeaturesSchema,
|
|
39866
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
39867
|
+
visionEditable: boolean(),
|
|
39868
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
39869
|
+
modelCatalog: _enum([
|
|
39870
|
+
"fetch",
|
|
39871
|
+
"static",
|
|
39872
|
+
"none"
|
|
39873
|
+
]),
|
|
39874
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
39875
|
+
/** The common fields that mean something on this kind's wire. */
|
|
39876
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
39877
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
39793
39878
|
});
|
|
39879
|
+
/**
|
|
39880
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
39881
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
39882
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
39883
|
+
* stored profile — the browser never receives it.
|
|
39884
|
+
*/
|
|
39885
|
+
var LlmListModelsInputSchema = object({
|
|
39886
|
+
addonId: string(),
|
|
39887
|
+
kind: LlmProfileKindSchema,
|
|
39888
|
+
profileId: string().optional(),
|
|
39889
|
+
connection: LlmProviderConfigSchema.optional()
|
|
39890
|
+
});
|
|
39891
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
39892
|
+
"auth",
|
|
39893
|
+
"network",
|
|
39894
|
+
"unsupported",
|
|
39895
|
+
"invalid"
|
|
39896
|
+
]);
|
|
39897
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
39898
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
39899
|
+
ok: literal(true),
|
|
39900
|
+
models: array(LlmModelInfoSchema)
|
|
39901
|
+
}), object({
|
|
39902
|
+
ok: literal(false),
|
|
39903
|
+
code: LlmListModelsErrorCodeSchema,
|
|
39904
|
+
message: string()
|
|
39905
|
+
})]);
|
|
39794
39906
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
39795
39907
|
var LlmDefaultSchema = object({
|
|
39796
39908
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -39890,7 +40002,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
39890
40002
|
kind: "mutation",
|
|
39891
40003
|
auth: "admin",
|
|
39892
40004
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39893
|
-
}), method(
|
|
40005
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40006
|
+
kind: "mutation",
|
|
40007
|
+
auth: "admin"
|
|
40008
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
39894
40009
|
selector: LlmDefaultSelectorSchema,
|
|
39895
40010
|
profileId: string().nullable()
|
|
39896
40011
|
}), _void(), {
|
|
@@ -61081,26 +61196,6 @@ var ApiKeySummarySchema = object({
|
|
|
61081
61196
|
createdAt: number(),
|
|
61082
61197
|
lastUsedAt: number().optional()
|
|
61083
61198
|
});
|
|
61084
|
-
var ScopedTokenSummarySchema = object({
|
|
61085
|
-
id: string(),
|
|
61086
|
-
userId: string(),
|
|
61087
|
-
name: string(),
|
|
61088
|
-
tokenPrefix: string(),
|
|
61089
|
-
scopes: array(TokenScopeSchema),
|
|
61090
|
-
expiresAt: number().nullish(),
|
|
61091
|
-
lastUsedAt: number().nullish(),
|
|
61092
|
-
createdAt: number()
|
|
61093
|
-
});
|
|
61094
|
-
var CreateScopedTokenInputSchema = object({
|
|
61095
|
-
userId: string(),
|
|
61096
|
-
name: string(),
|
|
61097
|
-
scopes: array(TokenScopeSchema),
|
|
61098
|
-
expiresAt: number().optional()
|
|
61099
|
-
});
|
|
61100
|
-
var CreateScopedTokenResultSchema = object({
|
|
61101
|
-
token: string(),
|
|
61102
|
-
record: ScopedTokenSummarySchema
|
|
61103
|
-
});
|
|
61104
61199
|
var OauthSessionSummarySchema = object({
|
|
61105
61200
|
id: string(),
|
|
61106
61201
|
userId: string(),
|
|
@@ -61122,11 +61217,11 @@ var TotpStatusSchema = object({
|
|
|
61122
61217
|
confirmedAt: number().nullable()
|
|
61123
61218
|
});
|
|
61124
61219
|
/**
|
|
61125
|
-
* user-management — singleton capability for user accounts
|
|
61126
|
-
*
|
|
61220
|
+
* user-management — singleton capability for user accounts and the
|
|
61221
|
+
* legacy API-key rows.
|
|
61127
61222
|
*
|
|
61128
61223
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61129
|
-
* — the subset check on `setUserScopes`
|
|
61224
|
+
* — the subset check on `setUserScopes` is moot
|
|
61130
61225
|
* because non-admins never reach these. If/when we open non-admin
|
|
61131
61226
|
* delegation, structural caller-scope subset check goes inside the
|
|
61132
61227
|
* provider.
|
|
@@ -61183,15 +61278,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61183
61278
|
kind: "mutation",
|
|
61184
61279
|
auth: "admin",
|
|
61185
61280
|
access: "delete"
|
|
61186
|
-
}), method(
|
|
61187
|
-
kind: "mutation",
|
|
61188
|
-
auth: "admin",
|
|
61189
|
-
access: "create"
|
|
61190
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61191
|
-
kind: "mutation",
|
|
61192
|
-
auth: "admin",
|
|
61193
|
-
access: "delete"
|
|
61194
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61281
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61195
61282
|
kind: "mutation",
|
|
61196
61283
|
auth: "admin",
|
|
61197
61284
|
access: "create"
|
|
@@ -66172,7 +66259,7 @@ Object.freeze({
|
|
|
66172
66259
|
capName: "llm",
|
|
66173
66260
|
capScope: "system",
|
|
66174
66261
|
addonId: null,
|
|
66175
|
-
access: "
|
|
66262
|
+
access: "create"
|
|
66176
66263
|
},
|
|
66177
66264
|
"llm.listNodeModels": {
|
|
66178
66265
|
capName: "llm",
|
|
@@ -70836,12 +70923,6 @@ Object.freeze({
|
|
|
70836
70923
|
addonId: null,
|
|
70837
70924
|
access: "create"
|
|
70838
70925
|
},
|
|
70839
|
-
"userManagement.createScopedToken": {
|
|
70840
|
-
capName: "user-management",
|
|
70841
|
-
capScope: "system",
|
|
70842
|
-
addonId: null,
|
|
70843
|
-
access: "create"
|
|
70844
|
-
},
|
|
70845
70926
|
"userManagement.createUser": {
|
|
70846
70927
|
capName: "user-management",
|
|
70847
70928
|
capScope: "system",
|
|
@@ -70890,12 +70971,6 @@ Object.freeze({
|
|
|
70890
70971
|
addonId: null,
|
|
70891
70972
|
access: "view"
|
|
70892
70973
|
},
|
|
70893
|
-
"userManagement.listScopedTokens": {
|
|
70894
|
-
capName: "user-management",
|
|
70895
|
-
capScope: "system",
|
|
70896
|
-
addonId: null,
|
|
70897
|
-
access: "view"
|
|
70898
|
-
},
|
|
70899
70974
|
"userManagement.listUsers": {
|
|
70900
70975
|
capName: "user-management",
|
|
70901
70976
|
capScope: "system",
|
|
@@ -70950,12 +71025,6 @@ Object.freeze({
|
|
|
70950
71025
|
addonId: null,
|
|
70951
71026
|
access: "delete"
|
|
70952
71027
|
},
|
|
70953
|
-
"userManagement.revokeScopedToken": {
|
|
70954
|
-
capName: "user-management",
|
|
70955
|
-
capScope: "system",
|
|
70956
|
-
addonId: null,
|
|
70957
|
-
access: "delete"
|
|
70958
|
-
},
|
|
70959
71028
|
"userManagement.setupTotp": {
|
|
70960
71029
|
capName: "user-management",
|
|
70961
71030
|
capScope: "system",
|
|
@@ -70986,12 +71055,6 @@ Object.freeze({
|
|
|
70986
71055
|
addonId: null,
|
|
70987
71056
|
access: "view"
|
|
70988
71057
|
},
|
|
70989
|
-
"userManagement.validateScopedToken": {
|
|
70990
|
-
capName: "user-management",
|
|
70991
|
-
capScope: "system",
|
|
70992
|
-
addonId: null,
|
|
70993
|
-
access: "view"
|
|
70994
|
-
},
|
|
70995
71058
|
"userManagement.verifyTotp": {
|
|
70996
71059
|
capName: "user-management",
|
|
70997
71060
|
capScope: "system",
|