@camstack/addon-decoder-nodeav 1.2.126 → 1.2.127
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/index.js +165 -102
- package/dist/index.mjs +165 -102
- package/package.json +1 -1
package/dist/index.js
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"]);
|
|
@@ -39619,38 +39670,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39619
39670
|
auth: "admin",
|
|
39620
39671
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39621
39672
|
});
|
|
39673
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
39674
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
39675
|
+
var LlmModelFeaturesSchema = object({
|
|
39676
|
+
vision: boolean(),
|
|
39677
|
+
tools: boolean(),
|
|
39678
|
+
streaming: boolean()
|
|
39679
|
+
});
|
|
39680
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
39681
|
+
var LlmModelInfoSchema = object({
|
|
39682
|
+
id: string(),
|
|
39683
|
+
label: string().optional(),
|
|
39684
|
+
contextLength: number().int().positive().optional(),
|
|
39685
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
39686
|
+
});
|
|
39622
39687
|
/**
|
|
39623
|
-
*
|
|
39624
|
-
*
|
|
39625
|
-
*
|
|
39626
|
-
*
|
|
39627
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39628
|
-
*
|
|
39629
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39630
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39631
|
-
* write; a stored key NEVER round-trips to a client.
|
|
39688
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
39689
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
39690
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
39691
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39632
39692
|
*/
|
|
39633
|
-
var
|
|
39634
|
-
"openai-compatible",
|
|
39635
|
-
"openai",
|
|
39636
|
-
"anthropic",
|
|
39637
|
-
"google",
|
|
39638
|
-
"managed-local",
|
|
39639
|
-
"apple-foundation"
|
|
39640
|
-
]);
|
|
39693
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39641
39694
|
var LlmProfileSchema = object({
|
|
39642
39695
|
id: string(),
|
|
39643
39696
|
name: string(),
|
|
39697
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39644
39698
|
kind: LlmProfileKindSchema,
|
|
39645
39699
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39646
39700
|
addonId: string(),
|
|
39647
39701
|
enabled: boolean(),
|
|
39648
39702
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39649
39703
|
model: string(),
|
|
39650
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39651
|
-
baseUrl: string().optional(),
|
|
39652
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39653
|
-
apiKey: string().optional(),
|
|
39654
39704
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39655
39705
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39656
39706
|
* question about a picture nobody sent. */
|
|
@@ -39658,15 +39708,11 @@ var LlmProfileSchema = object({
|
|
|
39658
39708
|
temperature: number().min(0).max(2).optional(),
|
|
39659
39709
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39660
39710
|
topP: number().min(0).max(1).optional(),
|
|
39661
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39662
|
-
*
|
|
39663
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39664
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
39711
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
39712
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39665
39713
|
topK: number().int().positive().optional(),
|
|
39666
39714
|
maxTokens: number().int().positive().optional(),
|
|
39667
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39668
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39669
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
39715
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39670
39716
|
contextLength: number().int().positive().optional(),
|
|
39671
39717
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39672
39718
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39692,16 +39738,37 @@ var LlmProfileSchema = object({
|
|
|
39692
39738
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39693
39739
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39694
39740
|
toolsEnabled: boolean().default(false),
|
|
39695
|
-
|
|
39696
|
-
|
|
39697
|
-
|
|
39698
|
-
|
|
39699
|
-
|
|
39700
|
-
|
|
39701
|
-
|
|
39702
|
-
|
|
39703
|
-
|
|
39704
|
-
|
|
39741
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
39742
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
39743
|
+
});
|
|
39744
|
+
/**
|
|
39745
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
39746
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
39747
|
+
*/
|
|
39748
|
+
var LlmProfileFieldSchema = _enum([
|
|
39749
|
+
"temperature",
|
|
39750
|
+
"topP",
|
|
39751
|
+
"topK",
|
|
39752
|
+
"maxTokens",
|
|
39753
|
+
"contextLength",
|
|
39754
|
+
"systemPrompt",
|
|
39755
|
+
"timeoutMs",
|
|
39756
|
+
"connectTimeoutMs",
|
|
39757
|
+
"firstTokenTimeoutMs",
|
|
39758
|
+
"idleTimeoutMs",
|
|
39759
|
+
"retry",
|
|
39760
|
+
"toolsEnabled"
|
|
39761
|
+
]);
|
|
39762
|
+
/**
|
|
39763
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
39764
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
39765
|
+
* picker: that widget owns the model choice.
|
|
39766
|
+
*/
|
|
39767
|
+
var LlmProviderWidgetSchema = object({
|
|
39768
|
+
id: string(),
|
|
39769
|
+
placement: _enum(["connection", "model"]),
|
|
39770
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
39771
|
+
requires: array(string()).optional()
|
|
39705
39772
|
});
|
|
39706
39773
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
39707
39774
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -39710,11 +39777,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
39710
39777
|
var LlmProfileKindDescriptorSchema = object({
|
|
39711
39778
|
kind: LlmProfileKindSchema,
|
|
39712
39779
|
label: string(),
|
|
39780
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
39713
39781
|
icon: string(),
|
|
39714
39782
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
39715
39783
|
addonId: string(),
|
|
39716
|
-
|
|
39784
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
39785
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
39786
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
39787
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
39788
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
39789
|
+
features: LlmModelFeaturesSchema,
|
|
39790
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
39791
|
+
visionEditable: boolean(),
|
|
39792
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
39793
|
+
modelCatalog: _enum([
|
|
39794
|
+
"fetch",
|
|
39795
|
+
"static",
|
|
39796
|
+
"none"
|
|
39797
|
+
]),
|
|
39798
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
39799
|
+
/** The common fields that mean something on this kind's wire. */
|
|
39800
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
39801
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
39717
39802
|
});
|
|
39803
|
+
/**
|
|
39804
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
39805
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
39806
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
39807
|
+
* stored profile — the browser never receives it.
|
|
39808
|
+
*/
|
|
39809
|
+
var LlmListModelsInputSchema = object({
|
|
39810
|
+
addonId: string(),
|
|
39811
|
+
kind: LlmProfileKindSchema,
|
|
39812
|
+
profileId: string().optional(),
|
|
39813
|
+
connection: LlmProviderConfigSchema.optional()
|
|
39814
|
+
});
|
|
39815
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
39816
|
+
"auth",
|
|
39817
|
+
"network",
|
|
39818
|
+
"unsupported",
|
|
39819
|
+
"invalid"
|
|
39820
|
+
]);
|
|
39821
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
39822
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
39823
|
+
ok: literal(true),
|
|
39824
|
+
models: array(LlmModelInfoSchema)
|
|
39825
|
+
}), object({
|
|
39826
|
+
ok: literal(false),
|
|
39827
|
+
code: LlmListModelsErrorCodeSchema,
|
|
39828
|
+
message: string()
|
|
39829
|
+
})]);
|
|
39718
39830
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
39719
39831
|
var LlmDefaultSchema = object({
|
|
39720
39832
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -39814,7 +39926,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
39814
39926
|
kind: "mutation",
|
|
39815
39927
|
auth: "admin",
|
|
39816
39928
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39817
|
-
}), method(
|
|
39929
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
39930
|
+
kind: "mutation",
|
|
39931
|
+
auth: "admin"
|
|
39932
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
39818
39933
|
selector: LlmDefaultSelectorSchema,
|
|
39819
39934
|
profileId: string().nullable()
|
|
39820
39935
|
}), _void(), {
|
|
@@ -60809,26 +60924,6 @@ var ApiKeySummarySchema = object({
|
|
|
60809
60924
|
createdAt: number(),
|
|
60810
60925
|
lastUsedAt: number().optional()
|
|
60811
60926
|
});
|
|
60812
|
-
var ScopedTokenSummarySchema = object({
|
|
60813
|
-
id: string(),
|
|
60814
|
-
userId: string(),
|
|
60815
|
-
name: string(),
|
|
60816
|
-
tokenPrefix: string(),
|
|
60817
|
-
scopes: array(TokenScopeSchema),
|
|
60818
|
-
expiresAt: number().nullish(),
|
|
60819
|
-
lastUsedAt: number().nullish(),
|
|
60820
|
-
createdAt: number()
|
|
60821
|
-
});
|
|
60822
|
-
var CreateScopedTokenInputSchema = object({
|
|
60823
|
-
userId: string(),
|
|
60824
|
-
name: string(),
|
|
60825
|
-
scopes: array(TokenScopeSchema),
|
|
60826
|
-
expiresAt: number().optional()
|
|
60827
|
-
});
|
|
60828
|
-
var CreateScopedTokenResultSchema = object({
|
|
60829
|
-
token: string(),
|
|
60830
|
-
record: ScopedTokenSummarySchema
|
|
60831
|
-
});
|
|
60832
60927
|
var OauthSessionSummarySchema = object({
|
|
60833
60928
|
id: string(),
|
|
60834
60929
|
userId: string(),
|
|
@@ -60850,11 +60945,11 @@ var TotpStatusSchema = object({
|
|
|
60850
60945
|
confirmedAt: number().nullable()
|
|
60851
60946
|
});
|
|
60852
60947
|
/**
|
|
60853
|
-
* user-management — singleton capability for user accounts
|
|
60854
|
-
*
|
|
60948
|
+
* user-management — singleton capability for user accounts and the
|
|
60949
|
+
* legacy API-key rows.
|
|
60855
60950
|
*
|
|
60856
60951
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
60857
|
-
* — the subset check on `setUserScopes`
|
|
60952
|
+
* — the subset check on `setUserScopes` is moot
|
|
60858
60953
|
* because non-admins never reach these. If/when we open non-admin
|
|
60859
60954
|
* delegation, structural caller-scope subset check goes inside the
|
|
60860
60955
|
* provider.
|
|
@@ -60911,15 +61006,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
60911
61006
|
kind: "mutation",
|
|
60912
61007
|
auth: "admin",
|
|
60913
61008
|
access: "delete"
|
|
60914
|
-
}), method(
|
|
60915
|
-
kind: "mutation",
|
|
60916
|
-
auth: "admin",
|
|
60917
|
-
access: "create"
|
|
60918
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
60919
|
-
kind: "mutation",
|
|
60920
|
-
auth: "admin",
|
|
60921
|
-
access: "delete"
|
|
60922
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61009
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
60923
61010
|
kind: "mutation",
|
|
60924
61011
|
auth: "admin",
|
|
60925
61012
|
access: "create"
|
|
@@ -65075,7 +65162,7 @@ Object.freeze({
|
|
|
65075
65162
|
capName: "llm",
|
|
65076
65163
|
capScope: "system",
|
|
65077
65164
|
addonId: null,
|
|
65078
|
-
access: "
|
|
65165
|
+
access: "create"
|
|
65079
65166
|
},
|
|
65080
65167
|
"llm.listNodeModels": {
|
|
65081
65168
|
capName: "llm",
|
|
@@ -69739,12 +69826,6 @@ Object.freeze({
|
|
|
69739
69826
|
addonId: null,
|
|
69740
69827
|
access: "create"
|
|
69741
69828
|
},
|
|
69742
|
-
"userManagement.createScopedToken": {
|
|
69743
|
-
capName: "user-management",
|
|
69744
|
-
capScope: "system",
|
|
69745
|
-
addonId: null,
|
|
69746
|
-
access: "create"
|
|
69747
|
-
},
|
|
69748
69829
|
"userManagement.createUser": {
|
|
69749
69830
|
capName: "user-management",
|
|
69750
69831
|
capScope: "system",
|
|
@@ -69793,12 +69874,6 @@ Object.freeze({
|
|
|
69793
69874
|
addonId: null,
|
|
69794
69875
|
access: "view"
|
|
69795
69876
|
},
|
|
69796
|
-
"userManagement.listScopedTokens": {
|
|
69797
|
-
capName: "user-management",
|
|
69798
|
-
capScope: "system",
|
|
69799
|
-
addonId: null,
|
|
69800
|
-
access: "view"
|
|
69801
|
-
},
|
|
69802
69877
|
"userManagement.listUsers": {
|
|
69803
69878
|
capName: "user-management",
|
|
69804
69879
|
capScope: "system",
|
|
@@ -69853,12 +69928,6 @@ Object.freeze({
|
|
|
69853
69928
|
addonId: null,
|
|
69854
69929
|
access: "delete"
|
|
69855
69930
|
},
|
|
69856
|
-
"userManagement.revokeScopedToken": {
|
|
69857
|
-
capName: "user-management",
|
|
69858
|
-
capScope: "system",
|
|
69859
|
-
addonId: null,
|
|
69860
|
-
access: "delete"
|
|
69861
|
-
},
|
|
69862
69931
|
"userManagement.setupTotp": {
|
|
69863
69932
|
capName: "user-management",
|
|
69864
69933
|
capScope: "system",
|
|
@@ -69889,12 +69958,6 @@ Object.freeze({
|
|
|
69889
69958
|
addonId: null,
|
|
69890
69959
|
access: "view"
|
|
69891
69960
|
},
|
|
69892
|
-
"userManagement.validateScopedToken": {
|
|
69893
|
-
capName: "user-management",
|
|
69894
|
-
capScope: "system",
|
|
69895
|
-
addonId: null,
|
|
69896
|
-
access: "view"
|
|
69897
|
-
},
|
|
69898
69961
|
"userManagement.verifyTotp": {
|
|
69899
69962
|
capName: "user-management",
|
|
69900
69963
|
capScope: "system",
|
package/dist/index.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. */
|
|
@@ -12418,7 +12418,7 @@ var ConvertResultSchema = object({
|
|
|
12418
12418
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12419
12419
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12420
12420
|
* distinction was only ever used to route role-specific procedures
|
|
12421
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12421
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12422
12422
|
* with `isAdmin: false` + an explicit scope list.
|
|
12423
12423
|
*/
|
|
12424
12424
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12607,10 +12607,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12607
12607
|
type: literal("addon-routes"),
|
|
12608
12608
|
access: array(MethodAccessSchema).min(1)
|
|
12609
12609
|
});
|
|
12610
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12610
12611
|
var CredentialScopeSchema = union([
|
|
12611
12612
|
literal("*"),
|
|
12612
12613
|
ShareViewScopeSchema,
|
|
12613
12614
|
AddonRoutesScopeSchema,
|
|
12615
|
+
PreferencesSelfScopeSchema,
|
|
12614
12616
|
TokenScopeSchema
|
|
12615
12617
|
]);
|
|
12616
12618
|
object({
|
|
@@ -12619,6 +12621,55 @@ object({
|
|
|
12619
12621
|
jti: string().min(16),
|
|
12620
12622
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12621
12623
|
});
|
|
12624
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12625
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12626
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12627
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12628
|
+
/** A stored row, as the owner reads it. */
|
|
12629
|
+
var PreferenceRowSchema = object({
|
|
12630
|
+
namespace: PreferenceNamespaceSchema,
|
|
12631
|
+
value: PreferenceValueSchema,
|
|
12632
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12633
|
+
revision: number().int().positive(),
|
|
12634
|
+
updatedAt: number().int(),
|
|
12635
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12636
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12637
|
+
});
|
|
12638
|
+
object({
|
|
12639
|
+
/** Absent: every namespace the caller holds. */
|
|
12640
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12641
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12642
|
+
object({
|
|
12643
|
+
namespace: PreferenceNamespaceSchema,
|
|
12644
|
+
value: PreferenceValueSchema,
|
|
12645
|
+
/**
|
|
12646
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12647
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12648
|
+
* revision answers `conflict` and writes nothing.
|
|
12649
|
+
*/
|
|
12650
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12651
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12652
|
+
});
|
|
12653
|
+
discriminatedUnion("status", [object({
|
|
12654
|
+
status: literal("saved"),
|
|
12655
|
+
row: PreferenceRowSchema
|
|
12656
|
+
}), object({
|
|
12657
|
+
status: literal("conflict"),
|
|
12658
|
+
current: PreferenceRowSchema.nullable()
|
|
12659
|
+
})]);
|
|
12660
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12661
|
+
object({
|
|
12662
|
+
/** `false` when the namespace did not exist. */
|
|
12663
|
+
deleted: boolean() });
|
|
12664
|
+
object({
|
|
12665
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12666
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12667
|
+
object({
|
|
12668
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12669
|
+
rows: array(PreferenceRowSchema),
|
|
12670
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12671
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12672
|
+
});
|
|
12622
12673
|
_enum(["new-session", "step-up"]);
|
|
12623
12674
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12624
12675
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -39615,38 +39666,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39615
39666
|
auth: "admin",
|
|
39616
39667
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39617
39668
|
});
|
|
39669
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
39670
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
39671
|
+
var LlmModelFeaturesSchema = object({
|
|
39672
|
+
vision: boolean(),
|
|
39673
|
+
tools: boolean(),
|
|
39674
|
+
streaming: boolean()
|
|
39675
|
+
});
|
|
39676
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
39677
|
+
var LlmModelInfoSchema = object({
|
|
39678
|
+
id: string(),
|
|
39679
|
+
label: string().optional(),
|
|
39680
|
+
contextLength: number().int().positive().optional(),
|
|
39681
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
39682
|
+
});
|
|
39618
39683
|
/**
|
|
39619
|
-
*
|
|
39620
|
-
*
|
|
39621
|
-
*
|
|
39622
|
-
*
|
|
39623
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39624
|
-
*
|
|
39625
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39626
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39627
|
-
* write; a stored key NEVER round-trips to a client.
|
|
39684
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
39685
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
39686
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
39687
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39628
39688
|
*/
|
|
39629
|
-
var
|
|
39630
|
-
"openai-compatible",
|
|
39631
|
-
"openai",
|
|
39632
|
-
"anthropic",
|
|
39633
|
-
"google",
|
|
39634
|
-
"managed-local",
|
|
39635
|
-
"apple-foundation"
|
|
39636
|
-
]);
|
|
39689
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39637
39690
|
var LlmProfileSchema = object({
|
|
39638
39691
|
id: string(),
|
|
39639
39692
|
name: string(),
|
|
39693
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39640
39694
|
kind: LlmProfileKindSchema,
|
|
39641
39695
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39642
39696
|
addonId: string(),
|
|
39643
39697
|
enabled: boolean(),
|
|
39644
39698
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39645
39699
|
model: string(),
|
|
39646
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39647
|
-
baseUrl: string().optional(),
|
|
39648
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39649
|
-
apiKey: string().optional(),
|
|
39650
39700
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39651
39701
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39652
39702
|
* question about a picture nobody sent. */
|
|
@@ -39654,15 +39704,11 @@ var LlmProfileSchema = object({
|
|
|
39654
39704
|
temperature: number().min(0).max(2).optional(),
|
|
39655
39705
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39656
39706
|
topP: number().min(0).max(1).optional(),
|
|
39657
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39658
|
-
*
|
|
39659
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39660
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
39707
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
39708
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39661
39709
|
topK: number().int().positive().optional(),
|
|
39662
39710
|
maxTokens: number().int().positive().optional(),
|
|
39663
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39664
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39665
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
39711
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39666
39712
|
contextLength: number().int().positive().optional(),
|
|
39667
39713
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39668
39714
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39688,16 +39734,37 @@ var LlmProfileSchema = object({
|
|
|
39688
39734
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39689
39735
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39690
39736
|
toolsEnabled: boolean().default(false),
|
|
39691
|
-
|
|
39692
|
-
|
|
39693
|
-
|
|
39694
|
-
|
|
39695
|
-
|
|
39696
|
-
|
|
39697
|
-
|
|
39698
|
-
|
|
39699
|
-
|
|
39700
|
-
|
|
39737
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
39738
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
39739
|
+
});
|
|
39740
|
+
/**
|
|
39741
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
39742
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
39743
|
+
*/
|
|
39744
|
+
var LlmProfileFieldSchema = _enum([
|
|
39745
|
+
"temperature",
|
|
39746
|
+
"topP",
|
|
39747
|
+
"topK",
|
|
39748
|
+
"maxTokens",
|
|
39749
|
+
"contextLength",
|
|
39750
|
+
"systemPrompt",
|
|
39751
|
+
"timeoutMs",
|
|
39752
|
+
"connectTimeoutMs",
|
|
39753
|
+
"firstTokenTimeoutMs",
|
|
39754
|
+
"idleTimeoutMs",
|
|
39755
|
+
"retry",
|
|
39756
|
+
"toolsEnabled"
|
|
39757
|
+
]);
|
|
39758
|
+
/**
|
|
39759
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
39760
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
39761
|
+
* picker: that widget owns the model choice.
|
|
39762
|
+
*/
|
|
39763
|
+
var LlmProviderWidgetSchema = object({
|
|
39764
|
+
id: string(),
|
|
39765
|
+
placement: _enum(["connection", "model"]),
|
|
39766
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
39767
|
+
requires: array(string()).optional()
|
|
39701
39768
|
});
|
|
39702
39769
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
39703
39770
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -39706,11 +39773,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
39706
39773
|
var LlmProfileKindDescriptorSchema = object({
|
|
39707
39774
|
kind: LlmProfileKindSchema,
|
|
39708
39775
|
label: string(),
|
|
39776
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
39709
39777
|
icon: string(),
|
|
39710
39778
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
39711
39779
|
addonId: string(),
|
|
39712
|
-
|
|
39780
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
39781
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
39782
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
39783
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
39784
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
39785
|
+
features: LlmModelFeaturesSchema,
|
|
39786
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
39787
|
+
visionEditable: boolean(),
|
|
39788
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
39789
|
+
modelCatalog: _enum([
|
|
39790
|
+
"fetch",
|
|
39791
|
+
"static",
|
|
39792
|
+
"none"
|
|
39793
|
+
]),
|
|
39794
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
39795
|
+
/** The common fields that mean something on this kind's wire. */
|
|
39796
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
39797
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
39713
39798
|
});
|
|
39799
|
+
/**
|
|
39800
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
39801
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
39802
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
39803
|
+
* stored profile — the browser never receives it.
|
|
39804
|
+
*/
|
|
39805
|
+
var LlmListModelsInputSchema = object({
|
|
39806
|
+
addonId: string(),
|
|
39807
|
+
kind: LlmProfileKindSchema,
|
|
39808
|
+
profileId: string().optional(),
|
|
39809
|
+
connection: LlmProviderConfigSchema.optional()
|
|
39810
|
+
});
|
|
39811
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
39812
|
+
"auth",
|
|
39813
|
+
"network",
|
|
39814
|
+
"unsupported",
|
|
39815
|
+
"invalid"
|
|
39816
|
+
]);
|
|
39817
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
39818
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
39819
|
+
ok: literal(true),
|
|
39820
|
+
models: array(LlmModelInfoSchema)
|
|
39821
|
+
}), object({
|
|
39822
|
+
ok: literal(false),
|
|
39823
|
+
code: LlmListModelsErrorCodeSchema,
|
|
39824
|
+
message: string()
|
|
39825
|
+
})]);
|
|
39714
39826
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
39715
39827
|
var LlmDefaultSchema = object({
|
|
39716
39828
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -39810,7 +39922,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
39810
39922
|
kind: "mutation",
|
|
39811
39923
|
auth: "admin",
|
|
39812
39924
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39813
|
-
}), method(
|
|
39925
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
39926
|
+
kind: "mutation",
|
|
39927
|
+
auth: "admin"
|
|
39928
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
39814
39929
|
selector: LlmDefaultSelectorSchema,
|
|
39815
39930
|
profileId: string().nullable()
|
|
39816
39931
|
}), _void(), {
|
|
@@ -60805,26 +60920,6 @@ var ApiKeySummarySchema = object({
|
|
|
60805
60920
|
createdAt: number(),
|
|
60806
60921
|
lastUsedAt: number().optional()
|
|
60807
60922
|
});
|
|
60808
|
-
var ScopedTokenSummarySchema = object({
|
|
60809
|
-
id: string(),
|
|
60810
|
-
userId: string(),
|
|
60811
|
-
name: string(),
|
|
60812
|
-
tokenPrefix: string(),
|
|
60813
|
-
scopes: array(TokenScopeSchema),
|
|
60814
|
-
expiresAt: number().nullish(),
|
|
60815
|
-
lastUsedAt: number().nullish(),
|
|
60816
|
-
createdAt: number()
|
|
60817
|
-
});
|
|
60818
|
-
var CreateScopedTokenInputSchema = object({
|
|
60819
|
-
userId: string(),
|
|
60820
|
-
name: string(),
|
|
60821
|
-
scopes: array(TokenScopeSchema),
|
|
60822
|
-
expiresAt: number().optional()
|
|
60823
|
-
});
|
|
60824
|
-
var CreateScopedTokenResultSchema = object({
|
|
60825
|
-
token: string(),
|
|
60826
|
-
record: ScopedTokenSummarySchema
|
|
60827
|
-
});
|
|
60828
60923
|
var OauthSessionSummarySchema = object({
|
|
60829
60924
|
id: string(),
|
|
60830
60925
|
userId: string(),
|
|
@@ -60846,11 +60941,11 @@ var TotpStatusSchema = object({
|
|
|
60846
60941
|
confirmedAt: number().nullable()
|
|
60847
60942
|
});
|
|
60848
60943
|
/**
|
|
60849
|
-
* user-management — singleton capability for user accounts
|
|
60850
|
-
*
|
|
60944
|
+
* user-management — singleton capability for user accounts and the
|
|
60945
|
+
* legacy API-key rows.
|
|
60851
60946
|
*
|
|
60852
60947
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
60853
|
-
* — the subset check on `setUserScopes`
|
|
60948
|
+
* — the subset check on `setUserScopes` is moot
|
|
60854
60949
|
* because non-admins never reach these. If/when we open non-admin
|
|
60855
60950
|
* delegation, structural caller-scope subset check goes inside the
|
|
60856
60951
|
* provider.
|
|
@@ -60907,15 +61002,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
60907
61002
|
kind: "mutation",
|
|
60908
61003
|
auth: "admin",
|
|
60909
61004
|
access: "delete"
|
|
60910
|
-
}), method(
|
|
60911
|
-
kind: "mutation",
|
|
60912
|
-
auth: "admin",
|
|
60913
|
-
access: "create"
|
|
60914
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
60915
|
-
kind: "mutation",
|
|
60916
|
-
auth: "admin",
|
|
60917
|
-
access: "delete"
|
|
60918
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61005
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
60919
61006
|
kind: "mutation",
|
|
60920
61007
|
auth: "admin",
|
|
60921
61008
|
access: "create"
|
|
@@ -65071,7 +65158,7 @@ Object.freeze({
|
|
|
65071
65158
|
capName: "llm",
|
|
65072
65159
|
capScope: "system",
|
|
65073
65160
|
addonId: null,
|
|
65074
|
-
access: "
|
|
65161
|
+
access: "create"
|
|
65075
65162
|
},
|
|
65076
65163
|
"llm.listNodeModels": {
|
|
65077
65164
|
capName: "llm",
|
|
@@ -69735,12 +69822,6 @@ Object.freeze({
|
|
|
69735
69822
|
addonId: null,
|
|
69736
69823
|
access: "create"
|
|
69737
69824
|
},
|
|
69738
|
-
"userManagement.createScopedToken": {
|
|
69739
|
-
capName: "user-management",
|
|
69740
|
-
capScope: "system",
|
|
69741
|
-
addonId: null,
|
|
69742
|
-
access: "create"
|
|
69743
|
-
},
|
|
69744
69825
|
"userManagement.createUser": {
|
|
69745
69826
|
capName: "user-management",
|
|
69746
69827
|
capScope: "system",
|
|
@@ -69789,12 +69870,6 @@ Object.freeze({
|
|
|
69789
69870
|
addonId: null,
|
|
69790
69871
|
access: "view"
|
|
69791
69872
|
},
|
|
69792
|
-
"userManagement.listScopedTokens": {
|
|
69793
|
-
capName: "user-management",
|
|
69794
|
-
capScope: "system",
|
|
69795
|
-
addonId: null,
|
|
69796
|
-
access: "view"
|
|
69797
|
-
},
|
|
69798
69873
|
"userManagement.listUsers": {
|
|
69799
69874
|
capName: "user-management",
|
|
69800
69875
|
capScope: "system",
|
|
@@ -69849,12 +69924,6 @@ Object.freeze({
|
|
|
69849
69924
|
addonId: null,
|
|
69850
69925
|
access: "delete"
|
|
69851
69926
|
},
|
|
69852
|
-
"userManagement.revokeScopedToken": {
|
|
69853
|
-
capName: "user-management",
|
|
69854
|
-
capScope: "system",
|
|
69855
|
-
addonId: null,
|
|
69856
|
-
access: "delete"
|
|
69857
|
-
},
|
|
69858
69927
|
"userManagement.setupTotp": {
|
|
69859
69928
|
capName: "user-management",
|
|
69860
69929
|
capScope: "system",
|
|
@@ -69885,12 +69954,6 @@ Object.freeze({
|
|
|
69885
69954
|
addonId: null,
|
|
69886
69955
|
access: "view"
|
|
69887
69956
|
},
|
|
69888
|
-
"userManagement.validateScopedToken": {
|
|
69889
|
-
capName: "user-management",
|
|
69890
|
-
capScope: "system",
|
|
69891
|
-
addonId: null,
|
|
69892
|
-
access: "view"
|
|
69893
|
-
},
|
|
69894
69957
|
"userManagement.verifyTotp": {
|
|
69895
69958
|
capName: "user-management",
|
|
69896
69959
|
capScope: "system",
|