@camstack/addon-export-hap 1.2.162 → 1.2.163
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/hap-export.addon.js +165 -102
- package/dist/hap-export.addon.mjs +165 -102
- package/package.json +1 -1
package/dist/hap-export.addon.js
CHANGED
|
@@ -5464,7 +5464,7 @@ var ZodIssueCode = {
|
|
|
5464
5464
|
var ZodFirstPartyTypeKind;
|
|
5465
5465
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5466
5466
|
//#endregion
|
|
5467
|
-
//#region ../types/dist/sleep-
|
|
5467
|
+
//#region ../types/dist/sleep-yKL5gfrH.mjs
|
|
5468
5468
|
/**
|
|
5469
5469
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5470
5470
|
* window to float samples (D455).
|
|
@@ -7847,9 +7847,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7847
7847
|
return result;
|
|
7848
7848
|
}
|
|
7849
7849
|
/**
|
|
7850
|
-
* The share-view scope kinds a
|
|
7851
|
-
* and validates them (`
|
|
7852
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7850
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7851
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7852
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7853
7853
|
*/
|
|
7854
7854
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7855
7855
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -13346,7 +13346,7 @@ var ConvertResultSchema = object({
|
|
|
13346
13346
|
* `super_admin` — collapsed onto the single boolean because every
|
|
13347
13347
|
* non-admin caller is governed by the same scope-check rules; the
|
|
13348
13348
|
* distinction was only ever used to route role-specific procedures
|
|
13349
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
13349
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
13350
13350
|
* with `isAdmin: false` + an explicit scope list.
|
|
13351
13351
|
*/
|
|
13352
13352
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -13535,10 +13535,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
13535
13535
|
type: literal("addon-routes"),
|
|
13536
13536
|
access: array(MethodAccessSchema).min(1)
|
|
13537
13537
|
});
|
|
13538
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
13538
13539
|
var CredentialScopeSchema = union([
|
|
13539
13540
|
literal("*"),
|
|
13540
13541
|
ShareViewScopeSchema,
|
|
13541
13542
|
AddonRoutesScopeSchema,
|
|
13543
|
+
PreferencesSelfScopeSchema,
|
|
13542
13544
|
TokenScopeSchema
|
|
13543
13545
|
]);
|
|
13544
13546
|
object({
|
|
@@ -13547,6 +13549,55 @@ object({
|
|
|
13547
13549
|
jti: string().min(16),
|
|
13548
13550
|
scopes: array(CredentialScopeSchema).min(1)
|
|
13549
13551
|
});
|
|
13552
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
13553
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
13554
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
13555
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
13556
|
+
/** A stored row, as the owner reads it. */
|
|
13557
|
+
var PreferenceRowSchema = object({
|
|
13558
|
+
namespace: PreferenceNamespaceSchema,
|
|
13559
|
+
value: PreferenceValueSchema,
|
|
13560
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
13561
|
+
revision: number().int().positive(),
|
|
13562
|
+
updatedAt: number().int(),
|
|
13563
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
13564
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
13565
|
+
});
|
|
13566
|
+
object({
|
|
13567
|
+
/** Absent: every namespace the caller holds. */
|
|
13568
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
13569
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
13570
|
+
object({
|
|
13571
|
+
namespace: PreferenceNamespaceSchema,
|
|
13572
|
+
value: PreferenceValueSchema,
|
|
13573
|
+
/**
|
|
13574
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
13575
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
13576
|
+
* revision answers `conflict` and writes nothing.
|
|
13577
|
+
*/
|
|
13578
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
13579
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
13580
|
+
});
|
|
13581
|
+
discriminatedUnion("status", [object({
|
|
13582
|
+
status: literal("saved"),
|
|
13583
|
+
row: PreferenceRowSchema
|
|
13584
|
+
}), object({
|
|
13585
|
+
status: literal("conflict"),
|
|
13586
|
+
current: PreferenceRowSchema.nullable()
|
|
13587
|
+
})]);
|
|
13588
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
13589
|
+
object({
|
|
13590
|
+
/** `false` when the namespace did not exist. */
|
|
13591
|
+
deleted: boolean() });
|
|
13592
|
+
object({
|
|
13593
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
13594
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
13595
|
+
object({
|
|
13596
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
13597
|
+
rows: array(PreferenceRowSchema),
|
|
13598
|
+
/** Namespaces the client listed that no longer exist. */
|
|
13599
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
13600
|
+
});
|
|
13550
13601
|
_enum(["new-session", "step-up"]);
|
|
13551
13602
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
13552
13603
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -40506,38 +40557,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
40506
40557
|
auth: "admin",
|
|
40507
40558
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40508
40559
|
});
|
|
40560
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
40561
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
40562
|
+
var LlmModelFeaturesSchema = object({
|
|
40563
|
+
vision: boolean(),
|
|
40564
|
+
tools: boolean(),
|
|
40565
|
+
streaming: boolean()
|
|
40566
|
+
});
|
|
40567
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
40568
|
+
var LlmModelInfoSchema = object({
|
|
40569
|
+
id: string(),
|
|
40570
|
+
label: string().optional(),
|
|
40571
|
+
contextLength: number().int().positive().optional(),
|
|
40572
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
40573
|
+
});
|
|
40509
40574
|
/**
|
|
40510
|
-
*
|
|
40511
|
-
*
|
|
40512
|
-
*
|
|
40513
|
-
*
|
|
40514
|
-
* (hub-placed); the cap stays open for future providers.
|
|
40515
|
-
*
|
|
40516
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
40517
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
40518
|
-
* write; a stored key NEVER round-trips to a client.
|
|
40575
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
40576
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
40577
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
40578
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
40519
40579
|
*/
|
|
40520
|
-
var
|
|
40521
|
-
"openai-compatible",
|
|
40522
|
-
"openai",
|
|
40523
|
-
"anthropic",
|
|
40524
|
-
"google",
|
|
40525
|
-
"managed-local",
|
|
40526
|
-
"apple-foundation"
|
|
40527
|
-
]);
|
|
40580
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
40528
40581
|
var LlmProfileSchema = object({
|
|
40529
40582
|
id: string(),
|
|
40530
40583
|
name: string(),
|
|
40584
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
40531
40585
|
kind: LlmProfileKindSchema,
|
|
40532
40586
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
40533
40587
|
addonId: string(),
|
|
40534
40588
|
enabled: boolean(),
|
|
40535
40589
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
40536
40590
|
model: string(),
|
|
40537
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
40538
|
-
baseUrl: string().optional(),
|
|
40539
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
40540
|
-
apiKey: string().optional(),
|
|
40541
40591
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
40542
40592
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
40543
40593
|
* question about a picture nobody sent. */
|
|
@@ -40545,15 +40595,11 @@ var LlmProfileSchema = object({
|
|
|
40545
40595
|
temperature: number().min(0).max(2).optional(),
|
|
40546
40596
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
40547
40597
|
topP: number().min(0).max(1).optional(),
|
|
40548
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
40549
|
-
*
|
|
40550
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
40551
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
40598
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
40599
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
40552
40600
|
topK: number().int().positive().optional(),
|
|
40553
40601
|
maxTokens: number().int().positive().optional(),
|
|
40554
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
40555
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
40556
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
40602
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
40557
40603
|
contextLength: number().int().positive().optional(),
|
|
40558
40604
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
40559
40605
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -40579,16 +40625,37 @@ var LlmProfileSchema = object({
|
|
|
40579
40625
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
40580
40626
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
40581
40627
|
toolsEnabled: boolean().default(false),
|
|
40582
|
-
|
|
40583
|
-
|
|
40584
|
-
|
|
40585
|
-
|
|
40586
|
-
|
|
40587
|
-
|
|
40588
|
-
|
|
40589
|
-
|
|
40590
|
-
|
|
40591
|
-
|
|
40628
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40629
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40630
|
+
});
|
|
40631
|
+
/**
|
|
40632
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40633
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40634
|
+
*/
|
|
40635
|
+
var LlmProfileFieldSchema = _enum([
|
|
40636
|
+
"temperature",
|
|
40637
|
+
"topP",
|
|
40638
|
+
"topK",
|
|
40639
|
+
"maxTokens",
|
|
40640
|
+
"contextLength",
|
|
40641
|
+
"systemPrompt",
|
|
40642
|
+
"timeoutMs",
|
|
40643
|
+
"connectTimeoutMs",
|
|
40644
|
+
"firstTokenTimeoutMs",
|
|
40645
|
+
"idleTimeoutMs",
|
|
40646
|
+
"retry",
|
|
40647
|
+
"toolsEnabled"
|
|
40648
|
+
]);
|
|
40649
|
+
/**
|
|
40650
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40651
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40652
|
+
* picker: that widget owns the model choice.
|
|
40653
|
+
*/
|
|
40654
|
+
var LlmProviderWidgetSchema = object({
|
|
40655
|
+
id: string(),
|
|
40656
|
+
placement: _enum(["connection", "model"]),
|
|
40657
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40658
|
+
requires: array(string()).optional()
|
|
40592
40659
|
});
|
|
40593
40660
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
40594
40661
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -40597,11 +40664,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
40597
40664
|
var LlmProfileKindDescriptorSchema = object({
|
|
40598
40665
|
kind: LlmProfileKindSchema,
|
|
40599
40666
|
label: string(),
|
|
40667
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
40600
40668
|
icon: string(),
|
|
40601
40669
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
40602
40670
|
addonId: string(),
|
|
40603
|
-
|
|
40671
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40672
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40673
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40674
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40675
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40676
|
+
features: LlmModelFeaturesSchema,
|
|
40677
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40678
|
+
visionEditable: boolean(),
|
|
40679
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40680
|
+
modelCatalog: _enum([
|
|
40681
|
+
"fetch",
|
|
40682
|
+
"static",
|
|
40683
|
+
"none"
|
|
40684
|
+
]),
|
|
40685
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40686
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40687
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40688
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40604
40689
|
});
|
|
40690
|
+
/**
|
|
40691
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40692
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40693
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40694
|
+
* stored profile — the browser never receives it.
|
|
40695
|
+
*/
|
|
40696
|
+
var LlmListModelsInputSchema = object({
|
|
40697
|
+
addonId: string(),
|
|
40698
|
+
kind: LlmProfileKindSchema,
|
|
40699
|
+
profileId: string().optional(),
|
|
40700
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40701
|
+
});
|
|
40702
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40703
|
+
"auth",
|
|
40704
|
+
"network",
|
|
40705
|
+
"unsupported",
|
|
40706
|
+
"invalid"
|
|
40707
|
+
]);
|
|
40708
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40709
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40710
|
+
ok: literal(true),
|
|
40711
|
+
models: array(LlmModelInfoSchema)
|
|
40712
|
+
}), object({
|
|
40713
|
+
ok: literal(false),
|
|
40714
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40715
|
+
message: string()
|
|
40716
|
+
})]);
|
|
40605
40717
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
40606
40718
|
var LlmDefaultSchema = object({
|
|
40607
40719
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40701,7 +40813,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40701
40813
|
kind: "mutation",
|
|
40702
40814
|
auth: "admin",
|
|
40703
40815
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40704
|
-
}), method(
|
|
40816
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40817
|
+
kind: "mutation",
|
|
40818
|
+
auth: "admin"
|
|
40819
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40705
40820
|
selector: LlmDefaultSelectorSchema,
|
|
40706
40821
|
profileId: string().nullable()
|
|
40707
40822
|
}), _void(), {
|
|
@@ -61950,26 +62065,6 @@ var ApiKeySummarySchema = object({
|
|
|
61950
62065
|
createdAt: number(),
|
|
61951
62066
|
lastUsedAt: number().optional()
|
|
61952
62067
|
});
|
|
61953
|
-
var ScopedTokenSummarySchema = object({
|
|
61954
|
-
id: string(),
|
|
61955
|
-
userId: string(),
|
|
61956
|
-
name: string(),
|
|
61957
|
-
tokenPrefix: string(),
|
|
61958
|
-
scopes: array(TokenScopeSchema),
|
|
61959
|
-
expiresAt: number().nullish(),
|
|
61960
|
-
lastUsedAt: number().nullish(),
|
|
61961
|
-
createdAt: number()
|
|
61962
|
-
});
|
|
61963
|
-
var CreateScopedTokenInputSchema = object({
|
|
61964
|
-
userId: string(),
|
|
61965
|
-
name: string(),
|
|
61966
|
-
scopes: array(TokenScopeSchema),
|
|
61967
|
-
expiresAt: number().optional()
|
|
61968
|
-
});
|
|
61969
|
-
var CreateScopedTokenResultSchema = object({
|
|
61970
|
-
token: string(),
|
|
61971
|
-
record: ScopedTokenSummarySchema
|
|
61972
|
-
});
|
|
61973
62068
|
var OauthSessionSummarySchema = object({
|
|
61974
62069
|
id: string(),
|
|
61975
62070
|
userId: string(),
|
|
@@ -61991,11 +62086,11 @@ var TotpStatusSchema = object({
|
|
|
61991
62086
|
confirmedAt: number().nullable()
|
|
61992
62087
|
});
|
|
61993
62088
|
/**
|
|
61994
|
-
* user-management — singleton capability for user accounts
|
|
61995
|
-
*
|
|
62089
|
+
* user-management — singleton capability for user accounts and the
|
|
62090
|
+
* legacy API-key rows.
|
|
61996
62091
|
*
|
|
61997
62092
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61998
|
-
* — the subset check on `setUserScopes`
|
|
62093
|
+
* — the subset check on `setUserScopes` is moot
|
|
61999
62094
|
* because non-admins never reach these. If/when we open non-admin
|
|
62000
62095
|
* delegation, structural caller-scope subset check goes inside the
|
|
62001
62096
|
* provider.
|
|
@@ -62052,15 +62147,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
62052
62147
|
kind: "mutation",
|
|
62053
62148
|
auth: "admin",
|
|
62054
62149
|
access: "delete"
|
|
62055
|
-
}), method(
|
|
62056
|
-
kind: "mutation",
|
|
62057
|
-
auth: "admin",
|
|
62058
|
-
access: "create"
|
|
62059
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
62060
|
-
kind: "mutation",
|
|
62061
|
-
auth: "admin",
|
|
62062
|
-
access: "delete"
|
|
62063
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
62150
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
62064
62151
|
kind: "mutation",
|
|
62065
62152
|
auth: "admin",
|
|
62066
62153
|
access: "create"
|
|
@@ -66216,7 +66303,7 @@ Object.freeze({
|
|
|
66216
66303
|
capName: "llm",
|
|
66217
66304
|
capScope: "system",
|
|
66218
66305
|
addonId: null,
|
|
66219
|
-
access: "
|
|
66306
|
+
access: "create"
|
|
66220
66307
|
},
|
|
66221
66308
|
"llm.listNodeModels": {
|
|
66222
66309
|
capName: "llm",
|
|
@@ -70880,12 +70967,6 @@ Object.freeze({
|
|
|
70880
70967
|
addonId: null,
|
|
70881
70968
|
access: "create"
|
|
70882
70969
|
},
|
|
70883
|
-
"userManagement.createScopedToken": {
|
|
70884
|
-
capName: "user-management",
|
|
70885
|
-
capScope: "system",
|
|
70886
|
-
addonId: null,
|
|
70887
|
-
access: "create"
|
|
70888
|
-
},
|
|
70889
70970
|
"userManagement.createUser": {
|
|
70890
70971
|
capName: "user-management",
|
|
70891
70972
|
capScope: "system",
|
|
@@ -70934,12 +71015,6 @@ Object.freeze({
|
|
|
70934
71015
|
addonId: null,
|
|
70935
71016
|
access: "view"
|
|
70936
71017
|
},
|
|
70937
|
-
"userManagement.listScopedTokens": {
|
|
70938
|
-
capName: "user-management",
|
|
70939
|
-
capScope: "system",
|
|
70940
|
-
addonId: null,
|
|
70941
|
-
access: "view"
|
|
70942
|
-
},
|
|
70943
71018
|
"userManagement.listUsers": {
|
|
70944
71019
|
capName: "user-management",
|
|
70945
71020
|
capScope: "system",
|
|
@@ -70994,12 +71069,6 @@ Object.freeze({
|
|
|
70994
71069
|
addonId: null,
|
|
70995
71070
|
access: "delete"
|
|
70996
71071
|
},
|
|
70997
|
-
"userManagement.revokeScopedToken": {
|
|
70998
|
-
capName: "user-management",
|
|
70999
|
-
capScope: "system",
|
|
71000
|
-
addonId: null,
|
|
71001
|
-
access: "delete"
|
|
71002
|
-
},
|
|
71003
71072
|
"userManagement.setupTotp": {
|
|
71004
71073
|
capName: "user-management",
|
|
71005
71074
|
capScope: "system",
|
|
@@ -71030,12 +71099,6 @@ Object.freeze({
|
|
|
71030
71099
|
addonId: null,
|
|
71031
71100
|
access: "view"
|
|
71032
71101
|
},
|
|
71033
|
-
"userManagement.validateScopedToken": {
|
|
71034
|
-
capName: "user-management",
|
|
71035
|
-
capScope: "system",
|
|
71036
|
-
addonId: null,
|
|
71037
|
-
access: "view"
|
|
71038
|
-
},
|
|
71039
71102
|
"userManagement.verifyTotp": {
|
|
71040
71103
|
capName: "user-management",
|
|
71041
71104
|
capScope: "system",
|
|
@@ -5454,7 +5454,7 @@ var ZodIssueCode = {
|
|
|
5454
5454
|
var ZodFirstPartyTypeKind;
|
|
5455
5455
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5456
5456
|
//#endregion
|
|
5457
|
-
//#region ../types/dist/sleep-
|
|
5457
|
+
//#region ../types/dist/sleep-yKL5gfrH.mjs
|
|
5458
5458
|
/**
|
|
5459
5459
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5460
5460
|
* window to float samples (D455).
|
|
@@ -7837,9 +7837,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7837
7837
|
return result;
|
|
7838
7838
|
}
|
|
7839
7839
|
/**
|
|
7840
|
-
* The share-view scope kinds a
|
|
7841
|
-
* and validates them (`
|
|
7842
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7840
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7841
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7842
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7843
7843
|
*/
|
|
7844
7844
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7845
7845
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -13336,7 +13336,7 @@ var ConvertResultSchema = object({
|
|
|
13336
13336
|
* `super_admin` — collapsed onto the single boolean because every
|
|
13337
13337
|
* non-admin caller is governed by the same scope-check rules; the
|
|
13338
13338
|
* distinction was only ever used to route role-specific procedures
|
|
13339
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
13339
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
13340
13340
|
* with `isAdmin: false` + an explicit scope list.
|
|
13341
13341
|
*/
|
|
13342
13342
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -13525,10 +13525,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
13525
13525
|
type: literal("addon-routes"),
|
|
13526
13526
|
access: array(MethodAccessSchema).min(1)
|
|
13527
13527
|
});
|
|
13528
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
13528
13529
|
var CredentialScopeSchema = union([
|
|
13529
13530
|
literal("*"),
|
|
13530
13531
|
ShareViewScopeSchema,
|
|
13531
13532
|
AddonRoutesScopeSchema,
|
|
13533
|
+
PreferencesSelfScopeSchema,
|
|
13532
13534
|
TokenScopeSchema
|
|
13533
13535
|
]);
|
|
13534
13536
|
object({
|
|
@@ -13537,6 +13539,55 @@ object({
|
|
|
13537
13539
|
jti: string().min(16),
|
|
13538
13540
|
scopes: array(CredentialScopeSchema).min(1)
|
|
13539
13541
|
});
|
|
13542
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
13543
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
13544
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
13545
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
13546
|
+
/** A stored row, as the owner reads it. */
|
|
13547
|
+
var PreferenceRowSchema = object({
|
|
13548
|
+
namespace: PreferenceNamespaceSchema,
|
|
13549
|
+
value: PreferenceValueSchema,
|
|
13550
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
13551
|
+
revision: number().int().positive(),
|
|
13552
|
+
updatedAt: number().int(),
|
|
13553
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
13554
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
13555
|
+
});
|
|
13556
|
+
object({
|
|
13557
|
+
/** Absent: every namespace the caller holds. */
|
|
13558
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
13559
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
13560
|
+
object({
|
|
13561
|
+
namespace: PreferenceNamespaceSchema,
|
|
13562
|
+
value: PreferenceValueSchema,
|
|
13563
|
+
/**
|
|
13564
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
13565
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
13566
|
+
* revision answers `conflict` and writes nothing.
|
|
13567
|
+
*/
|
|
13568
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
13569
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
13570
|
+
});
|
|
13571
|
+
discriminatedUnion("status", [object({
|
|
13572
|
+
status: literal("saved"),
|
|
13573
|
+
row: PreferenceRowSchema
|
|
13574
|
+
}), object({
|
|
13575
|
+
status: literal("conflict"),
|
|
13576
|
+
current: PreferenceRowSchema.nullable()
|
|
13577
|
+
})]);
|
|
13578
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
13579
|
+
object({
|
|
13580
|
+
/** `false` when the namespace did not exist. */
|
|
13581
|
+
deleted: boolean() });
|
|
13582
|
+
object({
|
|
13583
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
13584
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
13585
|
+
object({
|
|
13586
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
13587
|
+
rows: array(PreferenceRowSchema),
|
|
13588
|
+
/** Namespaces the client listed that no longer exist. */
|
|
13589
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
13590
|
+
});
|
|
13540
13591
|
_enum(["new-session", "step-up"]);
|
|
13541
13592
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
13542
13593
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -40496,38 +40547,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
40496
40547
|
auth: "admin",
|
|
40497
40548
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40498
40549
|
});
|
|
40550
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
40551
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
40552
|
+
var LlmModelFeaturesSchema = object({
|
|
40553
|
+
vision: boolean(),
|
|
40554
|
+
tools: boolean(),
|
|
40555
|
+
streaming: boolean()
|
|
40556
|
+
});
|
|
40557
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
40558
|
+
var LlmModelInfoSchema = object({
|
|
40559
|
+
id: string(),
|
|
40560
|
+
label: string().optional(),
|
|
40561
|
+
contextLength: number().int().positive().optional(),
|
|
40562
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
40563
|
+
});
|
|
40499
40564
|
/**
|
|
40500
|
-
*
|
|
40501
|
-
*
|
|
40502
|
-
*
|
|
40503
|
-
*
|
|
40504
|
-
* (hub-placed); the cap stays open for future providers.
|
|
40505
|
-
*
|
|
40506
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
40507
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
40508
|
-
* write; a stored key NEVER round-trips to a client.
|
|
40565
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
40566
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
40567
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
40568
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
40509
40569
|
*/
|
|
40510
|
-
var
|
|
40511
|
-
"openai-compatible",
|
|
40512
|
-
"openai",
|
|
40513
|
-
"anthropic",
|
|
40514
|
-
"google",
|
|
40515
|
-
"managed-local",
|
|
40516
|
-
"apple-foundation"
|
|
40517
|
-
]);
|
|
40570
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
40518
40571
|
var LlmProfileSchema = object({
|
|
40519
40572
|
id: string(),
|
|
40520
40573
|
name: string(),
|
|
40574
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
40521
40575
|
kind: LlmProfileKindSchema,
|
|
40522
40576
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
40523
40577
|
addonId: string(),
|
|
40524
40578
|
enabled: boolean(),
|
|
40525
40579
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
40526
40580
|
model: string(),
|
|
40527
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
40528
|
-
baseUrl: string().optional(),
|
|
40529
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
40530
|
-
apiKey: string().optional(),
|
|
40531
40581
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
40532
40582
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
40533
40583
|
* question about a picture nobody sent. */
|
|
@@ -40535,15 +40585,11 @@ var LlmProfileSchema = object({
|
|
|
40535
40585
|
temperature: number().min(0).max(2).optional(),
|
|
40536
40586
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
40537
40587
|
topP: number().min(0).max(1).optional(),
|
|
40538
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
40539
|
-
*
|
|
40540
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
40541
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
40588
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
40589
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
40542
40590
|
topK: number().int().positive().optional(),
|
|
40543
40591
|
maxTokens: number().int().positive().optional(),
|
|
40544
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
40545
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
40546
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
40592
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
40547
40593
|
contextLength: number().int().positive().optional(),
|
|
40548
40594
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
40549
40595
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -40569,16 +40615,37 @@ var LlmProfileSchema = object({
|
|
|
40569
40615
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
40570
40616
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
40571
40617
|
toolsEnabled: boolean().default(false),
|
|
40572
|
-
|
|
40573
|
-
|
|
40574
|
-
|
|
40575
|
-
|
|
40576
|
-
|
|
40577
|
-
|
|
40578
|
-
|
|
40579
|
-
|
|
40580
|
-
|
|
40581
|
-
|
|
40618
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
40619
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
40620
|
+
});
|
|
40621
|
+
/**
|
|
40622
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
40623
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
40624
|
+
*/
|
|
40625
|
+
var LlmProfileFieldSchema = _enum([
|
|
40626
|
+
"temperature",
|
|
40627
|
+
"topP",
|
|
40628
|
+
"topK",
|
|
40629
|
+
"maxTokens",
|
|
40630
|
+
"contextLength",
|
|
40631
|
+
"systemPrompt",
|
|
40632
|
+
"timeoutMs",
|
|
40633
|
+
"connectTimeoutMs",
|
|
40634
|
+
"firstTokenTimeoutMs",
|
|
40635
|
+
"idleTimeoutMs",
|
|
40636
|
+
"retry",
|
|
40637
|
+
"toolsEnabled"
|
|
40638
|
+
]);
|
|
40639
|
+
/**
|
|
40640
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
40641
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
40642
|
+
* picker: that widget owns the model choice.
|
|
40643
|
+
*/
|
|
40644
|
+
var LlmProviderWidgetSchema = object({
|
|
40645
|
+
id: string(),
|
|
40646
|
+
placement: _enum(["connection", "model"]),
|
|
40647
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
40648
|
+
requires: array(string()).optional()
|
|
40582
40649
|
});
|
|
40583
40650
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
40584
40651
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -40587,11 +40654,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
40587
40654
|
var LlmProfileKindDescriptorSchema = object({
|
|
40588
40655
|
kind: LlmProfileKindSchema,
|
|
40589
40656
|
label: string(),
|
|
40657
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
40590
40658
|
icon: string(),
|
|
40591
40659
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
40592
40660
|
addonId: string(),
|
|
40593
|
-
|
|
40661
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
40662
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
40663
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
40664
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
40665
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
40666
|
+
features: LlmModelFeaturesSchema,
|
|
40667
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
40668
|
+
visionEditable: boolean(),
|
|
40669
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
40670
|
+
modelCatalog: _enum([
|
|
40671
|
+
"fetch",
|
|
40672
|
+
"static",
|
|
40673
|
+
"none"
|
|
40674
|
+
]),
|
|
40675
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
40676
|
+
/** The common fields that mean something on this kind's wire. */
|
|
40677
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
40678
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
40594
40679
|
});
|
|
40680
|
+
/**
|
|
40681
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
40682
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
40683
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
40684
|
+
* stored profile — the browser never receives it.
|
|
40685
|
+
*/
|
|
40686
|
+
var LlmListModelsInputSchema = object({
|
|
40687
|
+
addonId: string(),
|
|
40688
|
+
kind: LlmProfileKindSchema,
|
|
40689
|
+
profileId: string().optional(),
|
|
40690
|
+
connection: LlmProviderConfigSchema.optional()
|
|
40691
|
+
});
|
|
40692
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
40693
|
+
"auth",
|
|
40694
|
+
"network",
|
|
40695
|
+
"unsupported",
|
|
40696
|
+
"invalid"
|
|
40697
|
+
]);
|
|
40698
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
40699
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
40700
|
+
ok: literal(true),
|
|
40701
|
+
models: array(LlmModelInfoSchema)
|
|
40702
|
+
}), object({
|
|
40703
|
+
ok: literal(false),
|
|
40704
|
+
code: LlmListModelsErrorCodeSchema,
|
|
40705
|
+
message: string()
|
|
40706
|
+
})]);
|
|
40595
40707
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
40596
40708
|
var LlmDefaultSchema = object({
|
|
40597
40709
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -40691,7 +40803,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
40691
40803
|
kind: "mutation",
|
|
40692
40804
|
auth: "admin",
|
|
40693
40805
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
40694
|
-
}), method(
|
|
40806
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40807
|
+
kind: "mutation",
|
|
40808
|
+
auth: "admin"
|
|
40809
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
40695
40810
|
selector: LlmDefaultSelectorSchema,
|
|
40696
40811
|
profileId: string().nullable()
|
|
40697
40812
|
}), _void(), {
|
|
@@ -61940,26 +62055,6 @@ var ApiKeySummarySchema = object({
|
|
|
61940
62055
|
createdAt: number(),
|
|
61941
62056
|
lastUsedAt: number().optional()
|
|
61942
62057
|
});
|
|
61943
|
-
var ScopedTokenSummarySchema = object({
|
|
61944
|
-
id: string(),
|
|
61945
|
-
userId: string(),
|
|
61946
|
-
name: string(),
|
|
61947
|
-
tokenPrefix: string(),
|
|
61948
|
-
scopes: array(TokenScopeSchema),
|
|
61949
|
-
expiresAt: number().nullish(),
|
|
61950
|
-
lastUsedAt: number().nullish(),
|
|
61951
|
-
createdAt: number()
|
|
61952
|
-
});
|
|
61953
|
-
var CreateScopedTokenInputSchema = object({
|
|
61954
|
-
userId: string(),
|
|
61955
|
-
name: string(),
|
|
61956
|
-
scopes: array(TokenScopeSchema),
|
|
61957
|
-
expiresAt: number().optional()
|
|
61958
|
-
});
|
|
61959
|
-
var CreateScopedTokenResultSchema = object({
|
|
61960
|
-
token: string(),
|
|
61961
|
-
record: ScopedTokenSummarySchema
|
|
61962
|
-
});
|
|
61963
62058
|
var OauthSessionSummarySchema = object({
|
|
61964
62059
|
id: string(),
|
|
61965
62060
|
userId: string(),
|
|
@@ -61981,11 +62076,11 @@ var TotpStatusSchema = object({
|
|
|
61981
62076
|
confirmedAt: number().nullable()
|
|
61982
62077
|
});
|
|
61983
62078
|
/**
|
|
61984
|
-
* user-management — singleton capability for user accounts
|
|
61985
|
-
*
|
|
62079
|
+
* user-management — singleton capability for user accounts and the
|
|
62080
|
+
* legacy API-key rows.
|
|
61986
62081
|
*
|
|
61987
62082
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61988
|
-
* — the subset check on `setUserScopes`
|
|
62083
|
+
* — the subset check on `setUserScopes` is moot
|
|
61989
62084
|
* because non-admins never reach these. If/when we open non-admin
|
|
61990
62085
|
* delegation, structural caller-scope subset check goes inside the
|
|
61991
62086
|
* provider.
|
|
@@ -62042,15 +62137,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
62042
62137
|
kind: "mutation",
|
|
62043
62138
|
auth: "admin",
|
|
62044
62139
|
access: "delete"
|
|
62045
|
-
}), method(
|
|
62046
|
-
kind: "mutation",
|
|
62047
|
-
auth: "admin",
|
|
62048
|
-
access: "create"
|
|
62049
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
62050
|
-
kind: "mutation",
|
|
62051
|
-
auth: "admin",
|
|
62052
|
-
access: "delete"
|
|
62053
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
62140
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
62054
62141
|
kind: "mutation",
|
|
62055
62142
|
auth: "admin",
|
|
62056
62143
|
access: "create"
|
|
@@ -66206,7 +66293,7 @@ Object.freeze({
|
|
|
66206
66293
|
capName: "llm",
|
|
66207
66294
|
capScope: "system",
|
|
66208
66295
|
addonId: null,
|
|
66209
|
-
access: "
|
|
66296
|
+
access: "create"
|
|
66210
66297
|
},
|
|
66211
66298
|
"llm.listNodeModels": {
|
|
66212
66299
|
capName: "llm",
|
|
@@ -70870,12 +70957,6 @@ Object.freeze({
|
|
|
70870
70957
|
addonId: null,
|
|
70871
70958
|
access: "create"
|
|
70872
70959
|
},
|
|
70873
|
-
"userManagement.createScopedToken": {
|
|
70874
|
-
capName: "user-management",
|
|
70875
|
-
capScope: "system",
|
|
70876
|
-
addonId: null,
|
|
70877
|
-
access: "create"
|
|
70878
|
-
},
|
|
70879
70960
|
"userManagement.createUser": {
|
|
70880
70961
|
capName: "user-management",
|
|
70881
70962
|
capScope: "system",
|
|
@@ -70924,12 +71005,6 @@ Object.freeze({
|
|
|
70924
71005
|
addonId: null,
|
|
70925
71006
|
access: "view"
|
|
70926
71007
|
},
|
|
70927
|
-
"userManagement.listScopedTokens": {
|
|
70928
|
-
capName: "user-management",
|
|
70929
|
-
capScope: "system",
|
|
70930
|
-
addonId: null,
|
|
70931
|
-
access: "view"
|
|
70932
|
-
},
|
|
70933
71008
|
"userManagement.listUsers": {
|
|
70934
71009
|
capName: "user-management",
|
|
70935
71010
|
capScope: "system",
|
|
@@ -70984,12 +71059,6 @@ Object.freeze({
|
|
|
70984
71059
|
addonId: null,
|
|
70985
71060
|
access: "delete"
|
|
70986
71061
|
},
|
|
70987
|
-
"userManagement.revokeScopedToken": {
|
|
70988
|
-
capName: "user-management",
|
|
70989
|
-
capScope: "system",
|
|
70990
|
-
addonId: null,
|
|
70991
|
-
access: "delete"
|
|
70992
|
-
},
|
|
70993
71062
|
"userManagement.setupTotp": {
|
|
70994
71063
|
capName: "user-management",
|
|
70995
71064
|
capScope: "system",
|
|
@@ -71020,12 +71089,6 @@ Object.freeze({
|
|
|
71020
71089
|
addonId: null,
|
|
71021
71090
|
access: "view"
|
|
71022
71091
|
},
|
|
71023
|
-
"userManagement.validateScopedToken": {
|
|
71024
|
-
capName: "user-management",
|
|
71025
|
-
capScope: "system",
|
|
71026
|
-
addonId: null,
|
|
71027
|
-
access: "view"
|
|
71028
|
-
},
|
|
71029
71092
|
"userManagement.verifyTotp": {
|
|
71030
71093
|
capName: "user-management",
|
|
71031
71094
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-hap",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.163",
|
|
4
4
|
"description": "HomeKit (HAP) exporter for CamStack devices. Publishes each exposed device as its own HomeKit accessory: cameras and doorbells with SRTP streaming, HomeKit Secure Video, motion, two-way audio, PTZ and battery; switches, lights, locks and sensors through a capability→service table.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|