@camstack/addon-export-alexa 1.2.149 → 1.2.150
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/export-alexa.addon.js +165 -102
- package/dist/export-alexa.addon.mjs +165 -102
- package/package.json +1 -1
|
@@ -5449,7 +5449,7 @@ var ZodIssueCode = {
|
|
|
5449
5449
|
var ZodFirstPartyTypeKind;
|
|
5450
5450
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5451
5451
|
//#endregion
|
|
5452
|
-
//#region ../types/dist/sleep-
|
|
5452
|
+
//#region ../types/dist/sleep-yKL5gfrH.mjs
|
|
5453
5453
|
/**
|
|
5454
5454
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5455
5455
|
* window to float samples (D455).
|
|
@@ -7832,9 +7832,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7832
7832
|
return result;
|
|
7833
7833
|
}
|
|
7834
7834
|
/**
|
|
7835
|
-
* The share-view scope kinds a
|
|
7836
|
-
* and validates them (`
|
|
7837
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7835
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7836
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7837
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7838
7838
|
*/
|
|
7839
7839
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7840
7840
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12739,7 +12739,7 @@ function scopesAllowDeviceCap(scopes, access) {
|
|
|
12739
12739
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12740
12740
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12741
12741
|
* distinction was only ever used to route role-specific procedures
|
|
12742
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12742
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12743
12743
|
* with `isAdmin: false` + an explicit scope list.
|
|
12744
12744
|
*/
|
|
12745
12745
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12928,10 +12928,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12928
12928
|
type: literal("addon-routes"),
|
|
12929
12929
|
access: array(MethodAccessSchema).min(1)
|
|
12930
12930
|
});
|
|
12931
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12931
12932
|
var CredentialScopeSchema = union([
|
|
12932
12933
|
literal("*"),
|
|
12933
12934
|
ShareViewScopeSchema,
|
|
12934
12935
|
AddonRoutesScopeSchema,
|
|
12936
|
+
PreferencesSelfScopeSchema,
|
|
12935
12937
|
TokenScopeSchema
|
|
12936
12938
|
]);
|
|
12937
12939
|
object({
|
|
@@ -12940,6 +12942,55 @@ object({
|
|
|
12940
12942
|
jti: string().min(16),
|
|
12941
12943
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12942
12944
|
});
|
|
12945
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12946
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12947
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12948
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12949
|
+
/** A stored row, as the owner reads it. */
|
|
12950
|
+
var PreferenceRowSchema = object({
|
|
12951
|
+
namespace: PreferenceNamespaceSchema,
|
|
12952
|
+
value: PreferenceValueSchema,
|
|
12953
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12954
|
+
revision: number().int().positive(),
|
|
12955
|
+
updatedAt: number().int(),
|
|
12956
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12957
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12958
|
+
});
|
|
12959
|
+
object({
|
|
12960
|
+
/** Absent: every namespace the caller holds. */
|
|
12961
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12962
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12963
|
+
object({
|
|
12964
|
+
namespace: PreferenceNamespaceSchema,
|
|
12965
|
+
value: PreferenceValueSchema,
|
|
12966
|
+
/**
|
|
12967
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12968
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12969
|
+
* revision answers `conflict` and writes nothing.
|
|
12970
|
+
*/
|
|
12971
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12972
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12973
|
+
});
|
|
12974
|
+
discriminatedUnion("status", [object({
|
|
12975
|
+
status: literal("saved"),
|
|
12976
|
+
row: PreferenceRowSchema
|
|
12977
|
+
}), object({
|
|
12978
|
+
status: literal("conflict"),
|
|
12979
|
+
current: PreferenceRowSchema.nullable()
|
|
12980
|
+
})]);
|
|
12981
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12982
|
+
object({
|
|
12983
|
+
/** `false` when the namespace did not exist. */
|
|
12984
|
+
deleted: boolean() });
|
|
12985
|
+
object({
|
|
12986
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12987
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12988
|
+
object({
|
|
12989
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12990
|
+
rows: array(PreferenceRowSchema),
|
|
12991
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12992
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12993
|
+
});
|
|
12943
12994
|
_enum(["new-session", "step-up"]);
|
|
12944
12995
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12945
12996
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -39862,38 +39913,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39862
39913
|
auth: "admin",
|
|
39863
39914
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39864
39915
|
});
|
|
39916
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
39917
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
39918
|
+
var LlmModelFeaturesSchema = object({
|
|
39919
|
+
vision: boolean(),
|
|
39920
|
+
tools: boolean(),
|
|
39921
|
+
streaming: boolean()
|
|
39922
|
+
});
|
|
39923
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
39924
|
+
var LlmModelInfoSchema = object({
|
|
39925
|
+
id: string(),
|
|
39926
|
+
label: string().optional(),
|
|
39927
|
+
contextLength: number().int().positive().optional(),
|
|
39928
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
39929
|
+
});
|
|
39865
39930
|
/**
|
|
39866
|
-
*
|
|
39867
|
-
*
|
|
39868
|
-
*
|
|
39869
|
-
*
|
|
39870
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39871
|
-
*
|
|
39872
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39873
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39874
|
-
* write; a stored key NEVER round-trips to a client.
|
|
39931
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
39932
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
39933
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
39934
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39875
39935
|
*/
|
|
39876
|
-
var
|
|
39877
|
-
"openai-compatible",
|
|
39878
|
-
"openai",
|
|
39879
|
-
"anthropic",
|
|
39880
|
-
"google",
|
|
39881
|
-
"managed-local",
|
|
39882
|
-
"apple-foundation"
|
|
39883
|
-
]);
|
|
39936
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39884
39937
|
var LlmProfileSchema = object({
|
|
39885
39938
|
id: string(),
|
|
39886
39939
|
name: string(),
|
|
39940
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39887
39941
|
kind: LlmProfileKindSchema,
|
|
39888
39942
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39889
39943
|
addonId: string(),
|
|
39890
39944
|
enabled: boolean(),
|
|
39891
39945
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39892
39946
|
model: string(),
|
|
39893
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39894
|
-
baseUrl: string().optional(),
|
|
39895
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39896
|
-
apiKey: string().optional(),
|
|
39897
39947
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39898
39948
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39899
39949
|
* question about a picture nobody sent. */
|
|
@@ -39901,15 +39951,11 @@ var LlmProfileSchema = object({
|
|
|
39901
39951
|
temperature: number().min(0).max(2).optional(),
|
|
39902
39952
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39903
39953
|
topP: number().min(0).max(1).optional(),
|
|
39904
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39905
|
-
*
|
|
39906
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39907
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
39954
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
39955
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39908
39956
|
topK: number().int().positive().optional(),
|
|
39909
39957
|
maxTokens: number().int().positive().optional(),
|
|
39910
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39911
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39912
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
39958
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39913
39959
|
contextLength: number().int().positive().optional(),
|
|
39914
39960
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39915
39961
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39935,16 +39981,37 @@ var LlmProfileSchema = object({
|
|
|
39935
39981
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39936
39982
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39937
39983
|
toolsEnabled: boolean().default(false),
|
|
39938
|
-
|
|
39939
|
-
|
|
39940
|
-
|
|
39941
|
-
|
|
39942
|
-
|
|
39943
|
-
|
|
39944
|
-
|
|
39945
|
-
|
|
39946
|
-
|
|
39947
|
-
|
|
39984
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
39985
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
39986
|
+
});
|
|
39987
|
+
/**
|
|
39988
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
39989
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
39990
|
+
*/
|
|
39991
|
+
var LlmProfileFieldSchema = _enum([
|
|
39992
|
+
"temperature",
|
|
39993
|
+
"topP",
|
|
39994
|
+
"topK",
|
|
39995
|
+
"maxTokens",
|
|
39996
|
+
"contextLength",
|
|
39997
|
+
"systemPrompt",
|
|
39998
|
+
"timeoutMs",
|
|
39999
|
+
"connectTimeoutMs",
|
|
40000
|
+
"firstTokenTimeoutMs",
|
|
40001
|
+
"idleTimeoutMs",
|
|
40002
|
+
"retry",
|
|
40003
|
+
"toolsEnabled"
|
|
40004
|
+
]);
|
|
40005
|
+
/**
|
|
40006
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40007
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40008
|
+
* picker: that widget owns the model choice.
|
|
40009
|
+
*/
|
|
40010
|
+
var LlmProviderWidgetSchema = object({
|
|
40011
|
+
id: string(),
|
|
40012
|
+
placement: _enum(["connection", "model"]),
|
|
40013
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40014
|
+
requires: array(string()).optional()
|
|
39948
40015
|
});
|
|
39949
40016
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
39950
40017
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -39953,11 +40020,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
39953
40020
|
var LlmProfileKindDescriptorSchema = object({
|
|
39954
40021
|
kind: LlmProfileKindSchema,
|
|
39955
40022
|
label: string(),
|
|
40023
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
39956
40024
|
icon: string(),
|
|
39957
40025
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
39958
40026
|
addonId: string(),
|
|
39959
|
-
|
|
40027
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40028
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40029
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40030
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40031
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40032
|
+
features: LlmModelFeaturesSchema,
|
|
40033
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40034
|
+
visionEditable: boolean(),
|
|
40035
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40036
|
+
modelCatalog: _enum([
|
|
40037
|
+
"fetch",
|
|
40038
|
+
"static",
|
|
40039
|
+
"none"
|
|
40040
|
+
]),
|
|
40041
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40042
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40043
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40044
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
39960
40045
|
});
|
|
40046
|
+
/**
|
|
40047
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40048
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40049
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40050
|
+
* stored profile — the browser never receives it.
|
|
40051
|
+
*/
|
|
40052
|
+
var LlmListModelsInputSchema = object({
|
|
40053
|
+
addonId: string(),
|
|
40054
|
+
kind: LlmProfileKindSchema,
|
|
40055
|
+
profileId: string().optional(),
|
|
40056
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40057
|
+
});
|
|
40058
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40059
|
+
"auth",
|
|
40060
|
+
"network",
|
|
40061
|
+
"unsupported",
|
|
40062
|
+
"invalid"
|
|
40063
|
+
]);
|
|
40064
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40065
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40066
|
+
ok: literal(true),
|
|
40067
|
+
models: array(LlmModelInfoSchema)
|
|
40068
|
+
}), object({
|
|
40069
|
+
ok: literal(false),
|
|
40070
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40071
|
+
message: string()
|
|
40072
|
+
})]);
|
|
39961
40073
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
39962
40074
|
var LlmDefaultSchema = object({
|
|
39963
40075
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40057,7 +40169,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40057
40169
|
kind: "mutation",
|
|
40058
40170
|
auth: "admin",
|
|
40059
40171
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40060
|
-
}), method(
|
|
40172
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40173
|
+
kind: "mutation",
|
|
40174
|
+
auth: "admin"
|
|
40175
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40061
40176
|
selector: LlmDefaultSelectorSchema,
|
|
40062
40177
|
profileId: string().nullable()
|
|
40063
40178
|
}), _void(), {
|
|
@@ -61123,26 +61238,6 @@ var ApiKeySummarySchema = object({
|
|
|
61123
61238
|
createdAt: number(),
|
|
61124
61239
|
lastUsedAt: number().optional()
|
|
61125
61240
|
});
|
|
61126
|
-
var ScopedTokenSummarySchema = object({
|
|
61127
|
-
id: string(),
|
|
61128
|
-
userId: string(),
|
|
61129
|
-
name: string(),
|
|
61130
|
-
tokenPrefix: string(),
|
|
61131
|
-
scopes: array(TokenScopeSchema),
|
|
61132
|
-
expiresAt: number().nullish(),
|
|
61133
|
-
lastUsedAt: number().nullish(),
|
|
61134
|
-
createdAt: number()
|
|
61135
|
-
});
|
|
61136
|
-
var CreateScopedTokenInputSchema = object({
|
|
61137
|
-
userId: string(),
|
|
61138
|
-
name: string(),
|
|
61139
|
-
scopes: array(TokenScopeSchema),
|
|
61140
|
-
expiresAt: number().optional()
|
|
61141
|
-
});
|
|
61142
|
-
var CreateScopedTokenResultSchema = object({
|
|
61143
|
-
token: string(),
|
|
61144
|
-
record: ScopedTokenSummarySchema
|
|
61145
|
-
});
|
|
61146
61241
|
var OauthSessionSummarySchema = object({
|
|
61147
61242
|
id: string(),
|
|
61148
61243
|
userId: string(),
|
|
@@ -61164,11 +61259,11 @@ var TotpStatusSchema = object({
|
|
|
61164
61259
|
confirmedAt: number().nullable()
|
|
61165
61260
|
});
|
|
61166
61261
|
/**
|
|
61167
|
-
* user-management — singleton capability for user accounts
|
|
61168
|
-
*
|
|
61262
|
+
* user-management — singleton capability for user accounts and the
|
|
61263
|
+
* legacy API-key rows.
|
|
61169
61264
|
*
|
|
61170
61265
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61171
|
-
* — the subset check on `setUserScopes`
|
|
61266
|
+
* — the subset check on `setUserScopes` is moot
|
|
61172
61267
|
* because non-admins never reach these. If/when we open non-admin
|
|
61173
61268
|
* delegation, structural caller-scope subset check goes inside the
|
|
61174
61269
|
* provider.
|
|
@@ -61225,15 +61320,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61225
61320
|
kind: "mutation",
|
|
61226
61321
|
auth: "admin",
|
|
61227
61322
|
access: "delete"
|
|
61228
|
-
}), method(
|
|
61229
|
-
kind: "mutation",
|
|
61230
|
-
auth: "admin",
|
|
61231
|
-
access: "create"
|
|
61232
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61233
|
-
kind: "mutation",
|
|
61234
|
-
auth: "admin",
|
|
61235
|
-
access: "delete"
|
|
61236
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61323
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61237
61324
|
kind: "mutation",
|
|
61238
61325
|
auth: "admin",
|
|
61239
61326
|
access: "create"
|
|
@@ -65389,7 +65476,7 @@ Object.freeze({
|
|
|
65389
65476
|
capName: "llm",
|
|
65390
65477
|
capScope: "system",
|
|
65391
65478
|
addonId: null,
|
|
65392
|
-
access: "
|
|
65479
|
+
access: "create"
|
|
65393
65480
|
},
|
|
65394
65481
|
"llm.listNodeModels": {
|
|
65395
65482
|
capName: "llm",
|
|
@@ -70053,12 +70140,6 @@ Object.freeze({
|
|
|
70053
70140
|
addonId: null,
|
|
70054
70141
|
access: "create"
|
|
70055
70142
|
},
|
|
70056
|
-
"userManagement.createScopedToken": {
|
|
70057
|
-
capName: "user-management",
|
|
70058
|
-
capScope: "system",
|
|
70059
|
-
addonId: null,
|
|
70060
|
-
access: "create"
|
|
70061
|
-
},
|
|
70062
70143
|
"userManagement.createUser": {
|
|
70063
70144
|
capName: "user-management",
|
|
70064
70145
|
capScope: "system",
|
|
@@ -70107,12 +70188,6 @@ Object.freeze({
|
|
|
70107
70188
|
addonId: null,
|
|
70108
70189
|
access: "view"
|
|
70109
70190
|
},
|
|
70110
|
-
"userManagement.listScopedTokens": {
|
|
70111
|
-
capName: "user-management",
|
|
70112
|
-
capScope: "system",
|
|
70113
|
-
addonId: null,
|
|
70114
|
-
access: "view"
|
|
70115
|
-
},
|
|
70116
70191
|
"userManagement.listUsers": {
|
|
70117
70192
|
capName: "user-management",
|
|
70118
70193
|
capScope: "system",
|
|
@@ -70167,12 +70242,6 @@ Object.freeze({
|
|
|
70167
70242
|
addonId: null,
|
|
70168
70243
|
access: "delete"
|
|
70169
70244
|
},
|
|
70170
|
-
"userManagement.revokeScopedToken": {
|
|
70171
|
-
capName: "user-management",
|
|
70172
|
-
capScope: "system",
|
|
70173
|
-
addonId: null,
|
|
70174
|
-
access: "delete"
|
|
70175
|
-
},
|
|
70176
70245
|
"userManagement.setupTotp": {
|
|
70177
70246
|
capName: "user-management",
|
|
70178
70247
|
capScope: "system",
|
|
@@ -70203,12 +70272,6 @@ Object.freeze({
|
|
|
70203
70272
|
addonId: null,
|
|
70204
70273
|
access: "view"
|
|
70205
70274
|
},
|
|
70206
|
-
"userManagement.validateScopedToken": {
|
|
70207
|
-
capName: "user-management",
|
|
70208
|
-
capScope: "system",
|
|
70209
|
-
addonId: null,
|
|
70210
|
-
access: "view"
|
|
70211
|
-
},
|
|
70212
70275
|
"userManagement.verifyTotp": {
|
|
70213
70276
|
capName: "user-management",
|
|
70214
70277
|
capScope: "system",
|
|
@@ -5420,7 +5420,7 @@ var ZodIssueCode = {
|
|
|
5420
5420
|
var ZodFirstPartyTypeKind;
|
|
5421
5421
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5422
5422
|
//#endregion
|
|
5423
|
-
//#region ../types/dist/sleep-
|
|
5423
|
+
//#region ../types/dist/sleep-yKL5gfrH.mjs
|
|
5424
5424
|
/**
|
|
5425
5425
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5426
5426
|
* window to float samples (D455).
|
|
@@ -7803,9 +7803,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7803
7803
|
return result;
|
|
7804
7804
|
}
|
|
7805
7805
|
/**
|
|
7806
|
-
* The share-view scope kinds a
|
|
7807
|
-
* and validates them (`
|
|
7808
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7806
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7807
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7808
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7809
7809
|
*/
|
|
7810
7810
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7811
7811
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12710,7 +12710,7 @@ function scopesAllowDeviceCap(scopes, access) {
|
|
|
12710
12710
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12711
12711
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12712
12712
|
* distinction was only ever used to route role-specific procedures
|
|
12713
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12713
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12714
12714
|
* with `isAdmin: false` + an explicit scope list.
|
|
12715
12715
|
*/
|
|
12716
12716
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12899,10 +12899,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12899
12899
|
type: literal("addon-routes"),
|
|
12900
12900
|
access: array(MethodAccessSchema).min(1)
|
|
12901
12901
|
});
|
|
12902
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12902
12903
|
var CredentialScopeSchema = union([
|
|
12903
12904
|
literal("*"),
|
|
12904
12905
|
ShareViewScopeSchema,
|
|
12905
12906
|
AddonRoutesScopeSchema,
|
|
12907
|
+
PreferencesSelfScopeSchema,
|
|
12906
12908
|
TokenScopeSchema
|
|
12907
12909
|
]);
|
|
12908
12910
|
object({
|
|
@@ -12911,6 +12913,55 @@ object({
|
|
|
12911
12913
|
jti: string().min(16),
|
|
12912
12914
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12913
12915
|
});
|
|
12916
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12917
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12918
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12919
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12920
|
+
/** A stored row, as the owner reads it. */
|
|
12921
|
+
var PreferenceRowSchema = object({
|
|
12922
|
+
namespace: PreferenceNamespaceSchema,
|
|
12923
|
+
value: PreferenceValueSchema,
|
|
12924
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12925
|
+
revision: number().int().positive(),
|
|
12926
|
+
updatedAt: number().int(),
|
|
12927
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12928
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12929
|
+
});
|
|
12930
|
+
object({
|
|
12931
|
+
/** Absent: every namespace the caller holds. */
|
|
12932
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12933
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12934
|
+
object({
|
|
12935
|
+
namespace: PreferenceNamespaceSchema,
|
|
12936
|
+
value: PreferenceValueSchema,
|
|
12937
|
+
/**
|
|
12938
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12939
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12940
|
+
* revision answers `conflict` and writes nothing.
|
|
12941
|
+
*/
|
|
12942
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12943
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12944
|
+
});
|
|
12945
|
+
discriminatedUnion("status", [object({
|
|
12946
|
+
status: literal("saved"),
|
|
12947
|
+
row: PreferenceRowSchema
|
|
12948
|
+
}), object({
|
|
12949
|
+
status: literal("conflict"),
|
|
12950
|
+
current: PreferenceRowSchema.nullable()
|
|
12951
|
+
})]);
|
|
12952
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12953
|
+
object({
|
|
12954
|
+
/** `false` when the namespace did not exist. */
|
|
12955
|
+
deleted: boolean() });
|
|
12956
|
+
object({
|
|
12957
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12958
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12959
|
+
object({
|
|
12960
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12961
|
+
rows: array(PreferenceRowSchema),
|
|
12962
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12963
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12964
|
+
});
|
|
12914
12965
|
_enum(["new-session", "step-up"]);
|
|
12915
12966
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12916
12967
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -39833,38 +39884,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39833
39884
|
auth: "admin",
|
|
39834
39885
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39835
39886
|
});
|
|
39887
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
39888
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
39889
|
+
var LlmModelFeaturesSchema = object({
|
|
39890
|
+
vision: boolean(),
|
|
39891
|
+
tools: boolean(),
|
|
39892
|
+
streaming: boolean()
|
|
39893
|
+
});
|
|
39894
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
39895
|
+
var LlmModelInfoSchema = object({
|
|
39896
|
+
id: string(),
|
|
39897
|
+
label: string().optional(),
|
|
39898
|
+
contextLength: number().int().positive().optional(),
|
|
39899
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
39900
|
+
});
|
|
39836
39901
|
/**
|
|
39837
|
-
*
|
|
39838
|
-
*
|
|
39839
|
-
*
|
|
39840
|
-
*
|
|
39841
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39842
|
-
*
|
|
39843
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39844
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39845
|
-
* write; a stored key NEVER round-trips to a client.
|
|
39902
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
39903
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
39904
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
39905
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39846
39906
|
*/
|
|
39847
|
-
var
|
|
39848
|
-
"openai-compatible",
|
|
39849
|
-
"openai",
|
|
39850
|
-
"anthropic",
|
|
39851
|
-
"google",
|
|
39852
|
-
"managed-local",
|
|
39853
|
-
"apple-foundation"
|
|
39854
|
-
]);
|
|
39907
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39855
39908
|
var LlmProfileSchema = object({
|
|
39856
39909
|
id: string(),
|
|
39857
39910
|
name: string(),
|
|
39911
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39858
39912
|
kind: LlmProfileKindSchema,
|
|
39859
39913
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39860
39914
|
addonId: string(),
|
|
39861
39915
|
enabled: boolean(),
|
|
39862
39916
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39863
39917
|
model: string(),
|
|
39864
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39865
|
-
baseUrl: string().optional(),
|
|
39866
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39867
|
-
apiKey: string().optional(),
|
|
39868
39918
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39869
39919
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39870
39920
|
* question about a picture nobody sent. */
|
|
@@ -39872,15 +39922,11 @@ var LlmProfileSchema = object({
|
|
|
39872
39922
|
temperature: number().min(0).max(2).optional(),
|
|
39873
39923
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39874
39924
|
topP: number().min(0).max(1).optional(),
|
|
39875
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39876
|
-
*
|
|
39877
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39878
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
39925
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
39926
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39879
39927
|
topK: number().int().positive().optional(),
|
|
39880
39928
|
maxTokens: number().int().positive().optional(),
|
|
39881
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39882
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39883
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
39929
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39884
39930
|
contextLength: number().int().positive().optional(),
|
|
39885
39931
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39886
39932
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39906,16 +39952,37 @@ var LlmProfileSchema = object({
|
|
|
39906
39952
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39907
39953
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39908
39954
|
toolsEnabled: boolean().default(false),
|
|
39909
|
-
|
|
39910
|
-
|
|
39911
|
-
|
|
39912
|
-
|
|
39913
|
-
|
|
39914
|
-
|
|
39915
|
-
|
|
39916
|
-
|
|
39917
|
-
|
|
39918
|
-
|
|
39955
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
39956
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
39957
|
+
});
|
|
39958
|
+
/**
|
|
39959
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
39960
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
39961
|
+
*/
|
|
39962
|
+
var LlmProfileFieldSchema = _enum([
|
|
39963
|
+
"temperature",
|
|
39964
|
+
"topP",
|
|
39965
|
+
"topK",
|
|
39966
|
+
"maxTokens",
|
|
39967
|
+
"contextLength",
|
|
39968
|
+
"systemPrompt",
|
|
39969
|
+
"timeoutMs",
|
|
39970
|
+
"connectTimeoutMs",
|
|
39971
|
+
"firstTokenTimeoutMs",
|
|
39972
|
+
"idleTimeoutMs",
|
|
39973
|
+
"retry",
|
|
39974
|
+
"toolsEnabled"
|
|
39975
|
+
]);
|
|
39976
|
+
/**
|
|
39977
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
39978
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
39979
|
+
* picker: that widget owns the model choice.
|
|
39980
|
+
*/
|
|
39981
|
+
var LlmProviderWidgetSchema = object({
|
|
39982
|
+
id: string(),
|
|
39983
|
+
placement: _enum(["connection", "model"]),
|
|
39984
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
39985
|
+
requires: array(string()).optional()
|
|
39919
39986
|
});
|
|
39920
39987
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
39921
39988
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -39924,11 +39991,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
39924
39991
|
var LlmProfileKindDescriptorSchema = object({
|
|
39925
39992
|
kind: LlmProfileKindSchema,
|
|
39926
39993
|
label: string(),
|
|
39994
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
39927
39995
|
icon: string(),
|
|
39928
39996
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
39929
39997
|
addonId: string(),
|
|
39930
|
-
|
|
39998
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
39999
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40000
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40001
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40002
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40003
|
+
features: LlmModelFeaturesSchema,
|
|
40004
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40005
|
+
visionEditable: boolean(),
|
|
40006
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40007
|
+
modelCatalog: _enum([
|
|
40008
|
+
"fetch",
|
|
40009
|
+
"static",
|
|
40010
|
+
"none"
|
|
40011
|
+
]),
|
|
40012
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40013
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40014
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40015
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
39931
40016
|
});
|
|
40017
|
+
/**
|
|
40018
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40019
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40020
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40021
|
+
* stored profile — the browser never receives it.
|
|
40022
|
+
*/
|
|
40023
|
+
var LlmListModelsInputSchema = object({
|
|
40024
|
+
addonId: string(),
|
|
40025
|
+
kind: LlmProfileKindSchema,
|
|
40026
|
+
profileId: string().optional(),
|
|
40027
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40028
|
+
});
|
|
40029
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40030
|
+
"auth",
|
|
40031
|
+
"network",
|
|
40032
|
+
"unsupported",
|
|
40033
|
+
"invalid"
|
|
40034
|
+
]);
|
|
40035
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40036
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40037
|
+
ok: literal(true),
|
|
40038
|
+
models: array(LlmModelInfoSchema)
|
|
40039
|
+
}), object({
|
|
40040
|
+
ok: literal(false),
|
|
40041
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40042
|
+
message: string()
|
|
40043
|
+
})]);
|
|
39932
40044
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
39933
40045
|
var LlmDefaultSchema = object({
|
|
39934
40046
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40028,7 +40140,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40028
40140
|
kind: "mutation",
|
|
40029
40141
|
auth: "admin",
|
|
40030
40142
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40031
|
-
}), method(
|
|
40143
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40144
|
+
kind: "mutation",
|
|
40145
|
+
auth: "admin"
|
|
40146
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40032
40147
|
selector: LlmDefaultSelectorSchema,
|
|
40033
40148
|
profileId: string().nullable()
|
|
40034
40149
|
}), _void(), {
|
|
@@ -61094,26 +61209,6 @@ var ApiKeySummarySchema = object({
|
|
|
61094
61209
|
createdAt: number(),
|
|
61095
61210
|
lastUsedAt: number().optional()
|
|
61096
61211
|
});
|
|
61097
|
-
var ScopedTokenSummarySchema = object({
|
|
61098
|
-
id: string(),
|
|
61099
|
-
userId: string(),
|
|
61100
|
-
name: string(),
|
|
61101
|
-
tokenPrefix: string(),
|
|
61102
|
-
scopes: array(TokenScopeSchema),
|
|
61103
|
-
expiresAt: number().nullish(),
|
|
61104
|
-
lastUsedAt: number().nullish(),
|
|
61105
|
-
createdAt: number()
|
|
61106
|
-
});
|
|
61107
|
-
var CreateScopedTokenInputSchema = object({
|
|
61108
|
-
userId: string(),
|
|
61109
|
-
name: string(),
|
|
61110
|
-
scopes: array(TokenScopeSchema),
|
|
61111
|
-
expiresAt: number().optional()
|
|
61112
|
-
});
|
|
61113
|
-
var CreateScopedTokenResultSchema = object({
|
|
61114
|
-
token: string(),
|
|
61115
|
-
record: ScopedTokenSummarySchema
|
|
61116
|
-
});
|
|
61117
61212
|
var OauthSessionSummarySchema = object({
|
|
61118
61213
|
id: string(),
|
|
61119
61214
|
userId: string(),
|
|
@@ -61135,11 +61230,11 @@ var TotpStatusSchema = object({
|
|
|
61135
61230
|
confirmedAt: number().nullable()
|
|
61136
61231
|
});
|
|
61137
61232
|
/**
|
|
61138
|
-
* user-management — singleton capability for user accounts
|
|
61139
|
-
*
|
|
61233
|
+
* user-management — singleton capability for user accounts and the
|
|
61234
|
+
* legacy API-key rows.
|
|
61140
61235
|
*
|
|
61141
61236
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61142
|
-
* — the subset check on `setUserScopes`
|
|
61237
|
+
* — the subset check on `setUserScopes` is moot
|
|
61143
61238
|
* because non-admins never reach these. If/when we open non-admin
|
|
61144
61239
|
* delegation, structural caller-scope subset check goes inside the
|
|
61145
61240
|
* provider.
|
|
@@ -61196,15 +61291,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61196
61291
|
kind: "mutation",
|
|
61197
61292
|
auth: "admin",
|
|
61198
61293
|
access: "delete"
|
|
61199
|
-
}), method(
|
|
61200
|
-
kind: "mutation",
|
|
61201
|
-
auth: "admin",
|
|
61202
|
-
access: "create"
|
|
61203
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61204
|
-
kind: "mutation",
|
|
61205
|
-
auth: "admin",
|
|
61206
|
-
access: "delete"
|
|
61207
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61294
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61208
61295
|
kind: "mutation",
|
|
61209
61296
|
auth: "admin",
|
|
61210
61297
|
access: "create"
|
|
@@ -65360,7 +65447,7 @@ Object.freeze({
|
|
|
65360
65447
|
capName: "llm",
|
|
65361
65448
|
capScope: "system",
|
|
65362
65449
|
addonId: null,
|
|
65363
|
-
access: "
|
|
65450
|
+
access: "create"
|
|
65364
65451
|
},
|
|
65365
65452
|
"llm.listNodeModels": {
|
|
65366
65453
|
capName: "llm",
|
|
@@ -70024,12 +70111,6 @@ Object.freeze({
|
|
|
70024
70111
|
addonId: null,
|
|
70025
70112
|
access: "create"
|
|
70026
70113
|
},
|
|
70027
|
-
"userManagement.createScopedToken": {
|
|
70028
|
-
capName: "user-management",
|
|
70029
|
-
capScope: "system",
|
|
70030
|
-
addonId: null,
|
|
70031
|
-
access: "create"
|
|
70032
|
-
},
|
|
70033
70114
|
"userManagement.createUser": {
|
|
70034
70115
|
capName: "user-management",
|
|
70035
70116
|
capScope: "system",
|
|
@@ -70078,12 +70159,6 @@ Object.freeze({
|
|
|
70078
70159
|
addonId: null,
|
|
70079
70160
|
access: "view"
|
|
70080
70161
|
},
|
|
70081
|
-
"userManagement.listScopedTokens": {
|
|
70082
|
-
capName: "user-management",
|
|
70083
|
-
capScope: "system",
|
|
70084
|
-
addonId: null,
|
|
70085
|
-
access: "view"
|
|
70086
|
-
},
|
|
70087
70162
|
"userManagement.listUsers": {
|
|
70088
70163
|
capName: "user-management",
|
|
70089
70164
|
capScope: "system",
|
|
@@ -70138,12 +70213,6 @@ Object.freeze({
|
|
|
70138
70213
|
addonId: null,
|
|
70139
70214
|
access: "delete"
|
|
70140
70215
|
},
|
|
70141
|
-
"userManagement.revokeScopedToken": {
|
|
70142
|
-
capName: "user-management",
|
|
70143
|
-
capScope: "system",
|
|
70144
|
-
addonId: null,
|
|
70145
|
-
access: "delete"
|
|
70146
|
-
},
|
|
70147
70216
|
"userManagement.setupTotp": {
|
|
70148
70217
|
capName: "user-management",
|
|
70149
70218
|
capScope: "system",
|
|
@@ -70174,12 +70243,6 @@ Object.freeze({
|
|
|
70174
70243
|
addonId: null,
|
|
70175
70244
|
access: "view"
|
|
70176
70245
|
},
|
|
70177
|
-
"userManagement.validateScopedToken": {
|
|
70178
|
-
capName: "user-management",
|
|
70179
|
-
capScope: "system",
|
|
70180
|
-
addonId: null,
|
|
70181
|
-
access: "view"
|
|
70182
|
-
},
|
|
70183
70246
|
"userManagement.verifyTotp": {
|
|
70184
70247
|
capName: "user-management",
|
|
70185
70248
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-alexa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.150",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|