@camstack/addon-import-alexa 0.2.131 → 0.2.132
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
|
@@ -5586,7 +5586,7 @@ var ZodIssueCode = {
|
|
|
5586
5586
|
var ZodFirstPartyTypeKind;
|
|
5587
5587
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5588
5588
|
//#endregion
|
|
5589
|
-
//#region ../types/dist/sleep-
|
|
5589
|
+
//#region ../types/dist/sleep-yKL5gfrH.mjs
|
|
5590
5590
|
/**
|
|
5591
5591
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5592
5592
|
* window to float samples (D455).
|
|
@@ -7969,9 +7969,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7969
7969
|
return result;
|
|
7970
7970
|
}
|
|
7971
7971
|
/**
|
|
7972
|
-
* The share-view scope kinds a
|
|
7973
|
-
* and validates them (`
|
|
7974
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7972
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7973
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7974
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7975
7975
|
*/
|
|
7976
7976
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7977
7977
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12978,7 +12978,7 @@ var ConvertResultSchema = object({
|
|
|
12978
12978
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12979
12979
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12980
12980
|
* distinction was only ever used to route role-specific procedures
|
|
12981
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12981
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12982
12982
|
* with `isAdmin: false` + an explicit scope list.
|
|
12983
12983
|
*/
|
|
12984
12984
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -13167,10 +13167,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
13167
13167
|
type: literal("addon-routes"),
|
|
13168
13168
|
access: array(MethodAccessSchema).min(1)
|
|
13169
13169
|
});
|
|
13170
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
13170
13171
|
var CredentialScopeSchema = union([
|
|
13171
13172
|
literal("*"),
|
|
13172
13173
|
ShareViewScopeSchema,
|
|
13173
13174
|
AddonRoutesScopeSchema,
|
|
13175
|
+
PreferencesSelfScopeSchema,
|
|
13174
13176
|
TokenScopeSchema
|
|
13175
13177
|
]);
|
|
13176
13178
|
object({
|
|
@@ -13179,6 +13181,55 @@ object({
|
|
|
13179
13181
|
jti: string().min(16),
|
|
13180
13182
|
scopes: array(CredentialScopeSchema).min(1)
|
|
13181
13183
|
});
|
|
13184
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
13185
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
13186
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
13187
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
13188
|
+
/** A stored row, as the owner reads it. */
|
|
13189
|
+
var PreferenceRowSchema = object({
|
|
13190
|
+
namespace: PreferenceNamespaceSchema,
|
|
13191
|
+
value: PreferenceValueSchema,
|
|
13192
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
13193
|
+
revision: number().int().positive(),
|
|
13194
|
+
updatedAt: number().int(),
|
|
13195
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
13196
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
13197
|
+
});
|
|
13198
|
+
object({
|
|
13199
|
+
/** Absent: every namespace the caller holds. */
|
|
13200
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
13201
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
13202
|
+
object({
|
|
13203
|
+
namespace: PreferenceNamespaceSchema,
|
|
13204
|
+
value: PreferenceValueSchema,
|
|
13205
|
+
/**
|
|
13206
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
13207
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
13208
|
+
* revision answers `conflict` and writes nothing.
|
|
13209
|
+
*/
|
|
13210
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
13211
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
13212
|
+
});
|
|
13213
|
+
discriminatedUnion("status", [object({
|
|
13214
|
+
status: literal("saved"),
|
|
13215
|
+
row: PreferenceRowSchema
|
|
13216
|
+
}), object({
|
|
13217
|
+
status: literal("conflict"),
|
|
13218
|
+
current: PreferenceRowSchema.nullable()
|
|
13219
|
+
})]);
|
|
13220
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
13221
|
+
object({
|
|
13222
|
+
/** `false` when the namespace did not exist. */
|
|
13223
|
+
deleted: boolean() });
|
|
13224
|
+
object({
|
|
13225
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
13226
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
13227
|
+
object({
|
|
13228
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
13229
|
+
rows: array(PreferenceRowSchema),
|
|
13230
|
+
/** Namespaces the client listed that no longer exist. */
|
|
13231
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
13232
|
+
});
|
|
13182
13233
|
_enum(["new-session", "step-up"]);
|
|
13183
13234
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
13184
13235
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -40440,38 +40491,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
40440
40491
|
auth: "admin",
|
|
40441
40492
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40442
40493
|
});
|
|
40494
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
40495
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
40496
|
+
var LlmModelFeaturesSchema = object({
|
|
40497
|
+
vision: boolean(),
|
|
40498
|
+
tools: boolean(),
|
|
40499
|
+
streaming: boolean()
|
|
40500
|
+
});
|
|
40501
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
40502
|
+
var LlmModelInfoSchema = object({
|
|
40503
|
+
id: string(),
|
|
40504
|
+
label: string().optional(),
|
|
40505
|
+
contextLength: number().int().positive().optional(),
|
|
40506
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
40507
|
+
});
|
|
40443
40508
|
/**
|
|
40444
|
-
*
|
|
40445
|
-
*
|
|
40446
|
-
*
|
|
40447
|
-
*
|
|
40448
|
-
* (hub-placed); the cap stays open for future providers.
|
|
40449
|
-
*
|
|
40450
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
40451
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
40452
|
-
* write; a stored key NEVER round-trips to a client.
|
|
40509
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
40510
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
40511
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
40512
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
40453
40513
|
*/
|
|
40454
|
-
var
|
|
40455
|
-
"openai-compatible",
|
|
40456
|
-
"openai",
|
|
40457
|
-
"anthropic",
|
|
40458
|
-
"google",
|
|
40459
|
-
"managed-local",
|
|
40460
|
-
"apple-foundation"
|
|
40461
|
-
]);
|
|
40514
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
40462
40515
|
var LlmProfileSchema = object({
|
|
40463
40516
|
id: string(),
|
|
40464
40517
|
name: string(),
|
|
40518
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
40465
40519
|
kind: LlmProfileKindSchema,
|
|
40466
40520
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
40467
40521
|
addonId: string(),
|
|
40468
40522
|
enabled: boolean(),
|
|
40469
40523
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
40470
40524
|
model: string(),
|
|
40471
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
40472
|
-
baseUrl: string().optional(),
|
|
40473
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
40474
|
-
apiKey: string().optional(),
|
|
40475
40525
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
40476
40526
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
40477
40527
|
* question about a picture nobody sent. */
|
|
@@ -40479,15 +40529,11 @@ var LlmProfileSchema = object({
|
|
|
40479
40529
|
temperature: number().min(0).max(2).optional(),
|
|
40480
40530
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
40481
40531
|
topP: number().min(0).max(1).optional(),
|
|
40482
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
40483
|
-
*
|
|
40484
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
40485
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
40532
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
40533
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
40486
40534
|
topK: number().int().positive().optional(),
|
|
40487
40535
|
maxTokens: number().int().positive().optional(),
|
|
40488
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
40489
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
40490
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
40536
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
40491
40537
|
contextLength: number().int().positive().optional(),
|
|
40492
40538
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
40493
40539
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -40513,16 +40559,37 @@ var LlmProfileSchema = object({
|
|
|
40513
40559
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
40514
40560
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
40515
40561
|
toolsEnabled: boolean().default(false),
|
|
40516
|
-
|
|
40517
|
-
|
|
40518
|
-
|
|
40519
|
-
|
|
40520
|
-
|
|
40521
|
-
|
|
40522
|
-
|
|
40523
|
-
|
|
40524
|
-
|
|
40525
|
-
|
|
40562
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40563
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40564
|
+
});
|
|
40565
|
+
/**
|
|
40566
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40567
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40568
|
+
*/
|
|
40569
|
+
var LlmProfileFieldSchema = _enum([
|
|
40570
|
+
"temperature",
|
|
40571
|
+
"topP",
|
|
40572
|
+
"topK",
|
|
40573
|
+
"maxTokens",
|
|
40574
|
+
"contextLength",
|
|
40575
|
+
"systemPrompt",
|
|
40576
|
+
"timeoutMs",
|
|
40577
|
+
"connectTimeoutMs",
|
|
40578
|
+
"firstTokenTimeoutMs",
|
|
40579
|
+
"idleTimeoutMs",
|
|
40580
|
+
"retry",
|
|
40581
|
+
"toolsEnabled"
|
|
40582
|
+
]);
|
|
40583
|
+
/**
|
|
40584
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40585
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40586
|
+
* picker: that widget owns the model choice.
|
|
40587
|
+
*/
|
|
40588
|
+
var LlmProviderWidgetSchema = object({
|
|
40589
|
+
id: string(),
|
|
40590
|
+
placement: _enum(["connection", "model"]),
|
|
40591
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40592
|
+
requires: array(string()).optional()
|
|
40526
40593
|
});
|
|
40527
40594
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
40528
40595
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -40531,11 +40598,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
40531
40598
|
var LlmProfileKindDescriptorSchema = object({
|
|
40532
40599
|
kind: LlmProfileKindSchema,
|
|
40533
40600
|
label: string(),
|
|
40601
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
40534
40602
|
icon: string(),
|
|
40535
40603
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
40536
40604
|
addonId: string(),
|
|
40537
|
-
|
|
40605
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40606
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40607
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40608
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40609
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40610
|
+
features: LlmModelFeaturesSchema,
|
|
40611
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40612
|
+
visionEditable: boolean(),
|
|
40613
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40614
|
+
modelCatalog: _enum([
|
|
40615
|
+
"fetch",
|
|
40616
|
+
"static",
|
|
40617
|
+
"none"
|
|
40618
|
+
]),
|
|
40619
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40620
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40621
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40622
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40538
40623
|
});
|
|
40624
|
+
/**
|
|
40625
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40626
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40627
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40628
|
+
* stored profile — the browser never receives it.
|
|
40629
|
+
*/
|
|
40630
|
+
var LlmListModelsInputSchema = object({
|
|
40631
|
+
addonId: string(),
|
|
40632
|
+
kind: LlmProfileKindSchema,
|
|
40633
|
+
profileId: string().optional(),
|
|
40634
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40635
|
+
});
|
|
40636
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40637
|
+
"auth",
|
|
40638
|
+
"network",
|
|
40639
|
+
"unsupported",
|
|
40640
|
+
"invalid"
|
|
40641
|
+
]);
|
|
40642
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40643
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40644
|
+
ok: literal(true),
|
|
40645
|
+
models: array(LlmModelInfoSchema)
|
|
40646
|
+
}), object({
|
|
40647
|
+
ok: literal(false),
|
|
40648
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40649
|
+
message: string()
|
|
40650
|
+
})]);
|
|
40539
40651
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
40540
40652
|
var LlmDefaultSchema = object({
|
|
40541
40653
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40635,7 +40747,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40635
40747
|
kind: "mutation",
|
|
40636
40748
|
auth: "admin",
|
|
40637
40749
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40638
|
-
}), method(
|
|
40750
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40751
|
+
kind: "mutation",
|
|
40752
|
+
auth: "admin"
|
|
40753
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40639
40754
|
selector: LlmDefaultSelectorSchema,
|
|
40640
40755
|
profileId: string().nullable()
|
|
40641
40756
|
}), _void(), {
|
|
@@ -64540,26 +64655,6 @@ var ApiKeySummarySchema = object({
|
|
|
64540
64655
|
createdAt: number(),
|
|
64541
64656
|
lastUsedAt: number().optional()
|
|
64542
64657
|
});
|
|
64543
|
-
var ScopedTokenSummarySchema = object({
|
|
64544
|
-
id: string(),
|
|
64545
|
-
userId: string(),
|
|
64546
|
-
name: string(),
|
|
64547
|
-
tokenPrefix: string(),
|
|
64548
|
-
scopes: array(TokenScopeSchema),
|
|
64549
|
-
expiresAt: number().nullish(),
|
|
64550
|
-
lastUsedAt: number().nullish(),
|
|
64551
|
-
createdAt: number()
|
|
64552
|
-
});
|
|
64553
|
-
var CreateScopedTokenInputSchema = object({
|
|
64554
|
-
userId: string(),
|
|
64555
|
-
name: string(),
|
|
64556
|
-
scopes: array(TokenScopeSchema),
|
|
64557
|
-
expiresAt: number().optional()
|
|
64558
|
-
});
|
|
64559
|
-
var CreateScopedTokenResultSchema = object({
|
|
64560
|
-
token: string(),
|
|
64561
|
-
record: ScopedTokenSummarySchema
|
|
64562
|
-
});
|
|
64563
64658
|
var OauthSessionSummarySchema = object({
|
|
64564
64659
|
id: string(),
|
|
64565
64660
|
userId: string(),
|
|
@@ -64581,11 +64676,11 @@ var TotpStatusSchema = object({
|
|
|
64581
64676
|
confirmedAt: number().nullable()
|
|
64582
64677
|
});
|
|
64583
64678
|
/**
|
|
64584
|
-
* user-management — singleton capability for user accounts
|
|
64585
|
-
*
|
|
64679
|
+
* user-management — singleton capability for user accounts and the
|
|
64680
|
+
* legacy API-key rows.
|
|
64586
64681
|
*
|
|
64587
64682
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
64588
|
-
* — the subset check on `setUserScopes`
|
|
64683
|
+
* — the subset check on `setUserScopes` is moot
|
|
64589
64684
|
* because non-admins never reach these. If/when we open non-admin
|
|
64590
64685
|
* delegation, structural caller-scope subset check goes inside the
|
|
64591
64686
|
* provider.
|
|
@@ -64642,15 +64737,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
64642
64737
|
kind: "mutation",
|
|
64643
64738
|
auth: "admin",
|
|
64644
64739
|
access: "delete"
|
|
64645
|
-
}), method(
|
|
64646
|
-
kind: "mutation",
|
|
64647
|
-
auth: "admin",
|
|
64648
|
-
access: "create"
|
|
64649
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
64650
|
-
kind: "mutation",
|
|
64651
|
-
auth: "admin",
|
|
64652
|
-
access: "delete"
|
|
64653
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
64740
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
64654
64741
|
kind: "mutation",
|
|
64655
64742
|
auth: "admin",
|
|
64656
64743
|
access: "create"
|
|
@@ -70740,7 +70827,7 @@ Object.freeze({
|
|
|
70740
70827
|
capName: "llm",
|
|
70741
70828
|
capScope: "system",
|
|
70742
70829
|
addonId: null,
|
|
70743
|
-
access: "
|
|
70830
|
+
access: "create"
|
|
70744
70831
|
},
|
|
70745
70832
|
"llm.listNodeModels": {
|
|
70746
70833
|
capName: "llm",
|
|
@@ -75404,12 +75491,6 @@ Object.freeze({
|
|
|
75404
75491
|
addonId: null,
|
|
75405
75492
|
access: "create"
|
|
75406
75493
|
},
|
|
75407
|
-
"userManagement.createScopedToken": {
|
|
75408
|
-
capName: "user-management",
|
|
75409
|
-
capScope: "system",
|
|
75410
|
-
addonId: null,
|
|
75411
|
-
access: "create"
|
|
75412
|
-
},
|
|
75413
75494
|
"userManagement.createUser": {
|
|
75414
75495
|
capName: "user-management",
|
|
75415
75496
|
capScope: "system",
|
|
@@ -75458,12 +75539,6 @@ Object.freeze({
|
|
|
75458
75539
|
addonId: null,
|
|
75459
75540
|
access: "view"
|
|
75460
75541
|
},
|
|
75461
|
-
"userManagement.listScopedTokens": {
|
|
75462
|
-
capName: "user-management",
|
|
75463
|
-
capScope: "system",
|
|
75464
|
-
addonId: null,
|
|
75465
|
-
access: "view"
|
|
75466
|
-
},
|
|
75467
75542
|
"userManagement.listUsers": {
|
|
75468
75543
|
capName: "user-management",
|
|
75469
75544
|
capScope: "system",
|
|
@@ -75518,12 +75593,6 @@ Object.freeze({
|
|
|
75518
75593
|
addonId: null,
|
|
75519
75594
|
access: "delete"
|
|
75520
75595
|
},
|
|
75521
|
-
"userManagement.revokeScopedToken": {
|
|
75522
|
-
capName: "user-management",
|
|
75523
|
-
capScope: "system",
|
|
75524
|
-
addonId: null,
|
|
75525
|
-
access: "delete"
|
|
75526
|
-
},
|
|
75527
75596
|
"userManagement.setupTotp": {
|
|
75528
75597
|
capName: "user-management",
|
|
75529
75598
|
capScope: "system",
|
|
@@ -75554,12 +75623,6 @@ Object.freeze({
|
|
|
75554
75623
|
addonId: null,
|
|
75555
75624
|
access: "view"
|
|
75556
75625
|
},
|
|
75557
|
-
"userManagement.validateScopedToken": {
|
|
75558
|
-
capName: "user-management",
|
|
75559
|
-
capScope: "system",
|
|
75560
|
-
addonId: null,
|
|
75561
|
-
access: "view"
|
|
75562
|
-
},
|
|
75563
75626
|
"userManagement.verifyTotp": {
|
|
75564
75627
|
capName: "user-management",
|
|
75565
75628
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -5586,7 +5586,7 @@ var ZodIssueCode = {
|
|
|
5586
5586
|
var ZodFirstPartyTypeKind;
|
|
5587
5587
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5588
5588
|
//#endregion
|
|
5589
|
-
//#region ../types/dist/sleep-
|
|
5589
|
+
//#region ../types/dist/sleep-yKL5gfrH.mjs
|
|
5590
5590
|
/**
|
|
5591
5591
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5592
5592
|
* window to float samples (D455).
|
|
@@ -7969,9 +7969,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7969
7969
|
return result;
|
|
7970
7970
|
}
|
|
7971
7971
|
/**
|
|
7972
|
-
* The share-view scope kinds a
|
|
7973
|
-
* and validates them (`
|
|
7974
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7972
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7973
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7974
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7975
7975
|
*/
|
|
7976
7976
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7977
7977
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12978,7 +12978,7 @@ var ConvertResultSchema = object({
|
|
|
12978
12978
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12979
12979
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12980
12980
|
* distinction was only ever used to route role-specific procedures
|
|
12981
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12981
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12982
12982
|
* with `isAdmin: false` + an explicit scope list.
|
|
12983
12983
|
*/
|
|
12984
12984
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -13167,10 +13167,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
13167
13167
|
type: literal("addon-routes"),
|
|
13168
13168
|
access: array(MethodAccessSchema).min(1)
|
|
13169
13169
|
});
|
|
13170
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
13170
13171
|
var CredentialScopeSchema = union([
|
|
13171
13172
|
literal("*"),
|
|
13172
13173
|
ShareViewScopeSchema,
|
|
13173
13174
|
AddonRoutesScopeSchema,
|
|
13175
|
+
PreferencesSelfScopeSchema,
|
|
13174
13176
|
TokenScopeSchema
|
|
13175
13177
|
]);
|
|
13176
13178
|
object({
|
|
@@ -13179,6 +13181,55 @@ object({
|
|
|
13179
13181
|
jti: string().min(16),
|
|
13180
13182
|
scopes: array(CredentialScopeSchema).min(1)
|
|
13181
13183
|
});
|
|
13184
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
13185
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
13186
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
13187
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
13188
|
+
/** A stored row, as the owner reads it. */
|
|
13189
|
+
var PreferenceRowSchema = object({
|
|
13190
|
+
namespace: PreferenceNamespaceSchema,
|
|
13191
|
+
value: PreferenceValueSchema,
|
|
13192
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
13193
|
+
revision: number().int().positive(),
|
|
13194
|
+
updatedAt: number().int(),
|
|
13195
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
13196
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
13197
|
+
});
|
|
13198
|
+
object({
|
|
13199
|
+
/** Absent: every namespace the caller holds. */
|
|
13200
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
13201
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
13202
|
+
object({
|
|
13203
|
+
namespace: PreferenceNamespaceSchema,
|
|
13204
|
+
value: PreferenceValueSchema,
|
|
13205
|
+
/**
|
|
13206
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
13207
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
13208
|
+
* revision answers `conflict` and writes nothing.
|
|
13209
|
+
*/
|
|
13210
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
13211
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
13212
|
+
});
|
|
13213
|
+
discriminatedUnion("status", [object({
|
|
13214
|
+
status: literal("saved"),
|
|
13215
|
+
row: PreferenceRowSchema
|
|
13216
|
+
}), object({
|
|
13217
|
+
status: literal("conflict"),
|
|
13218
|
+
current: PreferenceRowSchema.nullable()
|
|
13219
|
+
})]);
|
|
13220
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
13221
|
+
object({
|
|
13222
|
+
/** `false` when the namespace did not exist. */
|
|
13223
|
+
deleted: boolean() });
|
|
13224
|
+
object({
|
|
13225
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
13226
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
13227
|
+
object({
|
|
13228
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
13229
|
+
rows: array(PreferenceRowSchema),
|
|
13230
|
+
/** Namespaces the client listed that no longer exist. */
|
|
13231
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
13232
|
+
});
|
|
13182
13233
|
_enum(["new-session", "step-up"]);
|
|
13183
13234
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
13184
13235
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -40440,38 +40491,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
40440
40491
|
auth: "admin",
|
|
40441
40492
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40442
40493
|
});
|
|
40494
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
40495
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
40496
|
+
var LlmModelFeaturesSchema = object({
|
|
40497
|
+
vision: boolean(),
|
|
40498
|
+
tools: boolean(),
|
|
40499
|
+
streaming: boolean()
|
|
40500
|
+
});
|
|
40501
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
40502
|
+
var LlmModelInfoSchema = object({
|
|
40503
|
+
id: string(),
|
|
40504
|
+
label: string().optional(),
|
|
40505
|
+
contextLength: number().int().positive().optional(),
|
|
40506
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
40507
|
+
});
|
|
40443
40508
|
/**
|
|
40444
|
-
*
|
|
40445
|
-
*
|
|
40446
|
-
*
|
|
40447
|
-
*
|
|
40448
|
-
* (hub-placed); the cap stays open for future providers.
|
|
40449
|
-
*
|
|
40450
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
40451
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
40452
|
-
* write; a stored key NEVER round-trips to a client.
|
|
40509
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
40510
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
40511
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
40512
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
40453
40513
|
*/
|
|
40454
|
-
var
|
|
40455
|
-
"openai-compatible",
|
|
40456
|
-
"openai",
|
|
40457
|
-
"anthropic",
|
|
40458
|
-
"google",
|
|
40459
|
-
"managed-local",
|
|
40460
|
-
"apple-foundation"
|
|
40461
|
-
]);
|
|
40514
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
40462
40515
|
var LlmProfileSchema = object({
|
|
40463
40516
|
id: string(),
|
|
40464
40517
|
name: string(),
|
|
40518
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
40465
40519
|
kind: LlmProfileKindSchema,
|
|
40466
40520
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
40467
40521
|
addonId: string(),
|
|
40468
40522
|
enabled: boolean(),
|
|
40469
40523
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
40470
40524
|
model: string(),
|
|
40471
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
40472
|
-
baseUrl: string().optional(),
|
|
40473
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
40474
|
-
apiKey: string().optional(),
|
|
40475
40525
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
40476
40526
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
40477
40527
|
* question about a picture nobody sent. */
|
|
@@ -40479,15 +40529,11 @@ var LlmProfileSchema = object({
|
|
|
40479
40529
|
temperature: number().min(0).max(2).optional(),
|
|
40480
40530
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
40481
40531
|
topP: number().min(0).max(1).optional(),
|
|
40482
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
40483
|
-
*
|
|
40484
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
40485
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
40532
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
40533
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
40486
40534
|
topK: number().int().positive().optional(),
|
|
40487
40535
|
maxTokens: number().int().positive().optional(),
|
|
40488
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
40489
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
40490
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
40536
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
40491
40537
|
contextLength: number().int().positive().optional(),
|
|
40492
40538
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
40493
40539
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -40513,16 +40559,37 @@ var LlmProfileSchema = object({
|
|
|
40513
40559
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
40514
40560
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
40515
40561
|
toolsEnabled: boolean().default(false),
|
|
40516
|
-
|
|
40517
|
-
|
|
40518
|
-
|
|
40519
|
-
|
|
40520
|
-
|
|
40521
|
-
|
|
40522
|
-
|
|
40523
|
-
|
|
40524
|
-
|
|
40525
|
-
|
|
40562
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40563
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40564
|
+
});
|
|
40565
|
+
/**
|
|
40566
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40567
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40568
|
+
*/
|
|
40569
|
+
var LlmProfileFieldSchema = _enum([
|
|
40570
|
+
"temperature",
|
|
40571
|
+
"topP",
|
|
40572
|
+
"topK",
|
|
40573
|
+
"maxTokens",
|
|
40574
|
+
"contextLength",
|
|
40575
|
+
"systemPrompt",
|
|
40576
|
+
"timeoutMs",
|
|
40577
|
+
"connectTimeoutMs",
|
|
40578
|
+
"firstTokenTimeoutMs",
|
|
40579
|
+
"idleTimeoutMs",
|
|
40580
|
+
"retry",
|
|
40581
|
+
"toolsEnabled"
|
|
40582
|
+
]);
|
|
40583
|
+
/**
|
|
40584
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40585
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40586
|
+
* picker: that widget owns the model choice.
|
|
40587
|
+
*/
|
|
40588
|
+
var LlmProviderWidgetSchema = object({
|
|
40589
|
+
id: string(),
|
|
40590
|
+
placement: _enum(["connection", "model"]),
|
|
40591
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40592
|
+
requires: array(string()).optional()
|
|
40526
40593
|
});
|
|
40527
40594
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
40528
40595
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -40531,11 +40598,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
40531
40598
|
var LlmProfileKindDescriptorSchema = object({
|
|
40532
40599
|
kind: LlmProfileKindSchema,
|
|
40533
40600
|
label: string(),
|
|
40601
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
40534
40602
|
icon: string(),
|
|
40535
40603
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
40536
40604
|
addonId: string(),
|
|
40537
|
-
|
|
40605
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40606
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40607
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40608
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40609
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40610
|
+
features: LlmModelFeaturesSchema,
|
|
40611
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40612
|
+
visionEditable: boolean(),
|
|
40613
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40614
|
+
modelCatalog: _enum([
|
|
40615
|
+
"fetch",
|
|
40616
|
+
"static",
|
|
40617
|
+
"none"
|
|
40618
|
+
]),
|
|
40619
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40620
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40621
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40622
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40538
40623
|
});
|
|
40624
|
+
/**
|
|
40625
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40626
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40627
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40628
|
+
* stored profile — the browser never receives it.
|
|
40629
|
+
*/
|
|
40630
|
+
var LlmListModelsInputSchema = object({
|
|
40631
|
+
addonId: string(),
|
|
40632
|
+
kind: LlmProfileKindSchema,
|
|
40633
|
+
profileId: string().optional(),
|
|
40634
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40635
|
+
});
|
|
40636
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40637
|
+
"auth",
|
|
40638
|
+
"network",
|
|
40639
|
+
"unsupported",
|
|
40640
|
+
"invalid"
|
|
40641
|
+
]);
|
|
40642
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40643
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40644
|
+
ok: literal(true),
|
|
40645
|
+
models: array(LlmModelInfoSchema)
|
|
40646
|
+
}), object({
|
|
40647
|
+
ok: literal(false),
|
|
40648
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40649
|
+
message: string()
|
|
40650
|
+
})]);
|
|
40539
40651
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
40540
40652
|
var LlmDefaultSchema = object({
|
|
40541
40653
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40635,7 +40747,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40635
40747
|
kind: "mutation",
|
|
40636
40748
|
auth: "admin",
|
|
40637
40749
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40638
|
-
}), method(
|
|
40750
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40751
|
+
kind: "mutation",
|
|
40752
|
+
auth: "admin"
|
|
40753
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40639
40754
|
selector: LlmDefaultSelectorSchema,
|
|
40640
40755
|
profileId: string().nullable()
|
|
40641
40756
|
}), _void(), {
|
|
@@ -64540,26 +64655,6 @@ var ApiKeySummarySchema = object({
|
|
|
64540
64655
|
createdAt: number(),
|
|
64541
64656
|
lastUsedAt: number().optional()
|
|
64542
64657
|
});
|
|
64543
|
-
var ScopedTokenSummarySchema = object({
|
|
64544
|
-
id: string(),
|
|
64545
|
-
userId: string(),
|
|
64546
|
-
name: string(),
|
|
64547
|
-
tokenPrefix: string(),
|
|
64548
|
-
scopes: array(TokenScopeSchema),
|
|
64549
|
-
expiresAt: number().nullish(),
|
|
64550
|
-
lastUsedAt: number().nullish(),
|
|
64551
|
-
createdAt: number()
|
|
64552
|
-
});
|
|
64553
|
-
var CreateScopedTokenInputSchema = object({
|
|
64554
|
-
userId: string(),
|
|
64555
|
-
name: string(),
|
|
64556
|
-
scopes: array(TokenScopeSchema),
|
|
64557
|
-
expiresAt: number().optional()
|
|
64558
|
-
});
|
|
64559
|
-
var CreateScopedTokenResultSchema = object({
|
|
64560
|
-
token: string(),
|
|
64561
|
-
record: ScopedTokenSummarySchema
|
|
64562
|
-
});
|
|
64563
64658
|
var OauthSessionSummarySchema = object({
|
|
64564
64659
|
id: string(),
|
|
64565
64660
|
userId: string(),
|
|
@@ -64581,11 +64676,11 @@ var TotpStatusSchema = object({
|
|
|
64581
64676
|
confirmedAt: number().nullable()
|
|
64582
64677
|
});
|
|
64583
64678
|
/**
|
|
64584
|
-
* user-management — singleton capability for user accounts
|
|
64585
|
-
*
|
|
64679
|
+
* user-management — singleton capability for user accounts and the
|
|
64680
|
+
* legacy API-key rows.
|
|
64586
64681
|
*
|
|
64587
64682
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
64588
|
-
* — the subset check on `setUserScopes`
|
|
64683
|
+
* — the subset check on `setUserScopes` is moot
|
|
64589
64684
|
* because non-admins never reach these. If/when we open non-admin
|
|
64590
64685
|
* delegation, structural caller-scope subset check goes inside the
|
|
64591
64686
|
* provider.
|
|
@@ -64642,15 +64737,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
64642
64737
|
kind: "mutation",
|
|
64643
64738
|
auth: "admin",
|
|
64644
64739
|
access: "delete"
|
|
64645
|
-
}), method(
|
|
64646
|
-
kind: "mutation",
|
|
64647
|
-
auth: "admin",
|
|
64648
|
-
access: "create"
|
|
64649
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
64650
|
-
kind: "mutation",
|
|
64651
|
-
auth: "admin",
|
|
64652
|
-
access: "delete"
|
|
64653
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
64740
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
64654
64741
|
kind: "mutation",
|
|
64655
64742
|
auth: "admin",
|
|
64656
64743
|
access: "create"
|
|
@@ -70740,7 +70827,7 @@ Object.freeze({
|
|
|
70740
70827
|
capName: "llm",
|
|
70741
70828
|
capScope: "system",
|
|
70742
70829
|
addonId: null,
|
|
70743
|
-
access: "
|
|
70830
|
+
access: "create"
|
|
70744
70831
|
},
|
|
70745
70832
|
"llm.listNodeModels": {
|
|
70746
70833
|
capName: "llm",
|
|
@@ -75404,12 +75491,6 @@ Object.freeze({
|
|
|
75404
75491
|
addonId: null,
|
|
75405
75492
|
access: "create"
|
|
75406
75493
|
},
|
|
75407
|
-
"userManagement.createScopedToken": {
|
|
75408
|
-
capName: "user-management",
|
|
75409
|
-
capScope: "system",
|
|
75410
|
-
addonId: null,
|
|
75411
|
-
access: "create"
|
|
75412
|
-
},
|
|
75413
75494
|
"userManagement.createUser": {
|
|
75414
75495
|
capName: "user-management",
|
|
75415
75496
|
capScope: "system",
|
|
@@ -75458,12 +75539,6 @@ Object.freeze({
|
|
|
75458
75539
|
addonId: null,
|
|
75459
75540
|
access: "view"
|
|
75460
75541
|
},
|
|
75461
|
-
"userManagement.listScopedTokens": {
|
|
75462
|
-
capName: "user-management",
|
|
75463
|
-
capScope: "system",
|
|
75464
|
-
addonId: null,
|
|
75465
|
-
access: "view"
|
|
75466
|
-
},
|
|
75467
75542
|
"userManagement.listUsers": {
|
|
75468
75543
|
capName: "user-management",
|
|
75469
75544
|
capScope: "system",
|
|
@@ -75518,12 +75593,6 @@ Object.freeze({
|
|
|
75518
75593
|
addonId: null,
|
|
75519
75594
|
access: "delete"
|
|
75520
75595
|
},
|
|
75521
|
-
"userManagement.revokeScopedToken": {
|
|
75522
|
-
capName: "user-management",
|
|
75523
|
-
capScope: "system",
|
|
75524
|
-
addonId: null,
|
|
75525
|
-
access: "delete"
|
|
75526
|
-
},
|
|
75527
75596
|
"userManagement.setupTotp": {
|
|
75528
75597
|
capName: "user-management",
|
|
75529
75598
|
capScope: "system",
|
|
@@ -75554,12 +75623,6 @@ Object.freeze({
|
|
|
75554
75623
|
addonId: null,
|
|
75555
75624
|
access: "view"
|
|
75556
75625
|
},
|
|
75557
|
-
"userManagement.validateScopedToken": {
|
|
75558
|
-
capName: "user-management",
|
|
75559
|
-
capScope: "system",
|
|
75560
|
-
addonId: null,
|
|
75561
|
-
access: "view"
|
|
75562
|
-
},
|
|
75563
75626
|
"userManagement.verifyTotp": {
|
|
75564
75627
|
capName: "user-management",
|
|
75565
75628
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-import-alexa",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.132",
|
|
4
4
|
"description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|