@camstack/addon-export-google 0.1.96 → 0.1.97
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-google.addon.js +165 -102
- package/dist/export-google.addon.mjs +165 -102
- package/package.json +1 -1
|
@@ -5492,7 +5492,7 @@ var ZodIssueCode = {
|
|
|
5492
5492
|
var ZodFirstPartyTypeKind;
|
|
5493
5493
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5494
5494
|
//#endregion
|
|
5495
|
-
//#region ../types/dist/sleep-
|
|
5495
|
+
//#region ../types/dist/sleep-yKL5gfrH.mjs
|
|
5496
5496
|
/**
|
|
5497
5497
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5498
5498
|
* window to float samples (D455).
|
|
@@ -7875,9 +7875,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7875
7875
|
return result;
|
|
7876
7876
|
}
|
|
7877
7877
|
/**
|
|
7878
|
-
* The share-view scope kinds a
|
|
7879
|
-
* and validates them (`
|
|
7880
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7878
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7879
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7880
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7881
7881
|
*/
|
|
7882
7882
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7883
7883
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12642,7 +12642,7 @@ function scopesAllowDeviceCap(scopes, access) {
|
|
|
12642
12642
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12643
12643
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12644
12644
|
* distinction was only ever used to route role-specific procedures
|
|
12645
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12645
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12646
12646
|
* with `isAdmin: false` + an explicit scope list.
|
|
12647
12647
|
*/
|
|
12648
12648
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12831,10 +12831,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12831
12831
|
type: literal("addon-routes"),
|
|
12832
12832
|
access: array(MethodAccessSchema).min(1)
|
|
12833
12833
|
});
|
|
12834
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12834
12835
|
var CredentialScopeSchema = union([
|
|
12835
12836
|
literal("*"),
|
|
12836
12837
|
ShareViewScopeSchema,
|
|
12837
12838
|
AddonRoutesScopeSchema,
|
|
12839
|
+
PreferencesSelfScopeSchema,
|
|
12838
12840
|
TokenScopeSchema
|
|
12839
12841
|
]);
|
|
12840
12842
|
object({
|
|
@@ -12843,6 +12845,55 @@ object({
|
|
|
12843
12845
|
jti: string().min(16),
|
|
12844
12846
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12845
12847
|
});
|
|
12848
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12849
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12850
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12851
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12852
|
+
/** A stored row, as the owner reads it. */
|
|
12853
|
+
var PreferenceRowSchema = object({
|
|
12854
|
+
namespace: PreferenceNamespaceSchema,
|
|
12855
|
+
value: PreferenceValueSchema,
|
|
12856
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12857
|
+
revision: number().int().positive(),
|
|
12858
|
+
updatedAt: number().int(),
|
|
12859
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12860
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12861
|
+
});
|
|
12862
|
+
object({
|
|
12863
|
+
/** Absent: every namespace the caller holds. */
|
|
12864
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12865
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12866
|
+
object({
|
|
12867
|
+
namespace: PreferenceNamespaceSchema,
|
|
12868
|
+
value: PreferenceValueSchema,
|
|
12869
|
+
/**
|
|
12870
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12871
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12872
|
+
* revision answers `conflict` and writes nothing.
|
|
12873
|
+
*/
|
|
12874
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12875
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12876
|
+
});
|
|
12877
|
+
discriminatedUnion("status", [object({
|
|
12878
|
+
status: literal("saved"),
|
|
12879
|
+
row: PreferenceRowSchema
|
|
12880
|
+
}), object({
|
|
12881
|
+
status: literal("conflict"),
|
|
12882
|
+
current: PreferenceRowSchema.nullable()
|
|
12883
|
+
})]);
|
|
12884
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12885
|
+
object({
|
|
12886
|
+
/** `false` when the namespace did not exist. */
|
|
12887
|
+
deleted: boolean() });
|
|
12888
|
+
object({
|
|
12889
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12890
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12891
|
+
object({
|
|
12892
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12893
|
+
rows: array(PreferenceRowSchema),
|
|
12894
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12895
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12896
|
+
});
|
|
12846
12897
|
_enum(["new-session", "step-up"]);
|
|
12847
12898
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12848
12899
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -39765,38 +39816,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39765
39816
|
auth: "admin",
|
|
39766
39817
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39767
39818
|
});
|
|
39819
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
39820
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
39821
|
+
var LlmModelFeaturesSchema = object({
|
|
39822
|
+
vision: boolean(),
|
|
39823
|
+
tools: boolean(),
|
|
39824
|
+
streaming: boolean()
|
|
39825
|
+
});
|
|
39826
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
39827
|
+
var LlmModelInfoSchema = object({
|
|
39828
|
+
id: string(),
|
|
39829
|
+
label: string().optional(),
|
|
39830
|
+
contextLength: number().int().positive().optional(),
|
|
39831
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
39832
|
+
});
|
|
39768
39833
|
/**
|
|
39769
|
-
*
|
|
39770
|
-
*
|
|
39771
|
-
*
|
|
39772
|
-
*
|
|
39773
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39774
|
-
*
|
|
39775
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39776
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39777
|
-
* write; a stored key NEVER round-trips to a client.
|
|
39834
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
39835
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
39836
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
39837
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39778
39838
|
*/
|
|
39779
|
-
var
|
|
39780
|
-
"openai-compatible",
|
|
39781
|
-
"openai",
|
|
39782
|
-
"anthropic",
|
|
39783
|
-
"google",
|
|
39784
|
-
"managed-local",
|
|
39785
|
-
"apple-foundation"
|
|
39786
|
-
]);
|
|
39839
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39787
39840
|
var LlmProfileSchema = object({
|
|
39788
39841
|
id: string(),
|
|
39789
39842
|
name: string(),
|
|
39843
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39790
39844
|
kind: LlmProfileKindSchema,
|
|
39791
39845
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39792
39846
|
addonId: string(),
|
|
39793
39847
|
enabled: boolean(),
|
|
39794
39848
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39795
39849
|
model: string(),
|
|
39796
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39797
|
-
baseUrl: string().optional(),
|
|
39798
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39799
|
-
apiKey: string().optional(),
|
|
39800
39850
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39801
39851
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39802
39852
|
* question about a picture nobody sent. */
|
|
@@ -39804,15 +39854,11 @@ var LlmProfileSchema = object({
|
|
|
39804
39854
|
temperature: number().min(0).max(2).optional(),
|
|
39805
39855
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39806
39856
|
topP: number().min(0).max(1).optional(),
|
|
39807
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39808
|
-
*
|
|
39809
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39810
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
39857
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
39858
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39811
39859
|
topK: number().int().positive().optional(),
|
|
39812
39860
|
maxTokens: number().int().positive().optional(),
|
|
39813
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39814
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39815
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
39861
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39816
39862
|
contextLength: number().int().positive().optional(),
|
|
39817
39863
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39818
39864
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39838,16 +39884,37 @@ var LlmProfileSchema = object({
|
|
|
39838
39884
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39839
39885
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39840
39886
|
toolsEnabled: boolean().default(false),
|
|
39841
|
-
|
|
39842
|
-
|
|
39843
|
-
|
|
39844
|
-
|
|
39845
|
-
|
|
39846
|
-
|
|
39847
|
-
|
|
39848
|
-
|
|
39849
|
-
|
|
39850
|
-
|
|
39887
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
39888
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
39889
|
+
});
|
|
39890
|
+
/**
|
|
39891
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
39892
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
39893
|
+
*/
|
|
39894
|
+
var LlmProfileFieldSchema = _enum([
|
|
39895
|
+
"temperature",
|
|
39896
|
+
"topP",
|
|
39897
|
+
"topK",
|
|
39898
|
+
"maxTokens",
|
|
39899
|
+
"contextLength",
|
|
39900
|
+
"systemPrompt",
|
|
39901
|
+
"timeoutMs",
|
|
39902
|
+
"connectTimeoutMs",
|
|
39903
|
+
"firstTokenTimeoutMs",
|
|
39904
|
+
"idleTimeoutMs",
|
|
39905
|
+
"retry",
|
|
39906
|
+
"toolsEnabled"
|
|
39907
|
+
]);
|
|
39908
|
+
/**
|
|
39909
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
39910
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
39911
|
+
* picker: that widget owns the model choice.
|
|
39912
|
+
*/
|
|
39913
|
+
var LlmProviderWidgetSchema = object({
|
|
39914
|
+
id: string(),
|
|
39915
|
+
placement: _enum(["connection", "model"]),
|
|
39916
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
39917
|
+
requires: array(string()).optional()
|
|
39851
39918
|
});
|
|
39852
39919
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
39853
39920
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -39856,11 +39923,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
39856
39923
|
var LlmProfileKindDescriptorSchema = object({
|
|
39857
39924
|
kind: LlmProfileKindSchema,
|
|
39858
39925
|
label: string(),
|
|
39926
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
39859
39927
|
icon: string(),
|
|
39860
39928
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
39861
39929
|
addonId: string(),
|
|
39862
|
-
|
|
39930
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
39931
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
39932
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
39933
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
39934
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
39935
|
+
features: LlmModelFeaturesSchema,
|
|
39936
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
39937
|
+
visionEditable: boolean(),
|
|
39938
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
39939
|
+
modelCatalog: _enum([
|
|
39940
|
+
"fetch",
|
|
39941
|
+
"static",
|
|
39942
|
+
"none"
|
|
39943
|
+
]),
|
|
39944
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
39945
|
+
/** The common fields that mean something on this kind's wire. */
|
|
39946
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
39947
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
39863
39948
|
});
|
|
39949
|
+
/**
|
|
39950
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
39951
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
39952
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
39953
|
+
* stored profile — the browser never receives it.
|
|
39954
|
+
*/
|
|
39955
|
+
var LlmListModelsInputSchema = object({
|
|
39956
|
+
addonId: string(),
|
|
39957
|
+
kind: LlmProfileKindSchema,
|
|
39958
|
+
profileId: string().optional(),
|
|
39959
|
+
connection: LlmProviderConfigSchema.optional()
|
|
39960
|
+
});
|
|
39961
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
39962
|
+
"auth",
|
|
39963
|
+
"network",
|
|
39964
|
+
"unsupported",
|
|
39965
|
+
"invalid"
|
|
39966
|
+
]);
|
|
39967
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
39968
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
39969
|
+
ok: literal(true),
|
|
39970
|
+
models: array(LlmModelInfoSchema)
|
|
39971
|
+
}), object({
|
|
39972
|
+
ok: literal(false),
|
|
39973
|
+
code: LlmListModelsErrorCodeSchema,
|
|
39974
|
+
message: string()
|
|
39975
|
+
})]);
|
|
39864
39976
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
39865
39977
|
var LlmDefaultSchema = object({
|
|
39866
39978
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -39960,7 +40072,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
39960
40072
|
kind: "mutation",
|
|
39961
40073
|
auth: "admin",
|
|
39962
40074
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39963
|
-
}), method(
|
|
40075
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40076
|
+
kind: "mutation",
|
|
40077
|
+
auth: "admin"
|
|
40078
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
39964
40079
|
selector: LlmDefaultSelectorSchema,
|
|
39965
40080
|
profileId: string().nullable()
|
|
39966
40081
|
}), _void(), {
|
|
@@ -60990,26 +61105,6 @@ var ApiKeySummarySchema = object({
|
|
|
60990
61105
|
createdAt: number(),
|
|
60991
61106
|
lastUsedAt: number().optional()
|
|
60992
61107
|
});
|
|
60993
|
-
var ScopedTokenSummarySchema = object({
|
|
60994
|
-
id: string(),
|
|
60995
|
-
userId: string(),
|
|
60996
|
-
name: string(),
|
|
60997
|
-
tokenPrefix: string(),
|
|
60998
|
-
scopes: array(TokenScopeSchema),
|
|
60999
|
-
expiresAt: number().nullish(),
|
|
61000
|
-
lastUsedAt: number().nullish(),
|
|
61001
|
-
createdAt: number()
|
|
61002
|
-
});
|
|
61003
|
-
var CreateScopedTokenInputSchema = object({
|
|
61004
|
-
userId: string(),
|
|
61005
|
-
name: string(),
|
|
61006
|
-
scopes: array(TokenScopeSchema),
|
|
61007
|
-
expiresAt: number().optional()
|
|
61008
|
-
});
|
|
61009
|
-
var CreateScopedTokenResultSchema = object({
|
|
61010
|
-
token: string(),
|
|
61011
|
-
record: ScopedTokenSummarySchema
|
|
61012
|
-
});
|
|
61013
61108
|
var OauthSessionSummarySchema = object({
|
|
61014
61109
|
id: string(),
|
|
61015
61110
|
userId: string(),
|
|
@@ -61031,11 +61126,11 @@ var TotpStatusSchema = object({
|
|
|
61031
61126
|
confirmedAt: number().nullable()
|
|
61032
61127
|
});
|
|
61033
61128
|
/**
|
|
61034
|
-
* user-management — singleton capability for user accounts
|
|
61035
|
-
*
|
|
61129
|
+
* user-management — singleton capability for user accounts and the
|
|
61130
|
+
* legacy API-key rows.
|
|
61036
61131
|
*
|
|
61037
61132
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61038
|
-
* — the subset check on `setUserScopes`
|
|
61133
|
+
* — the subset check on `setUserScopes` is moot
|
|
61039
61134
|
* because non-admins never reach these. If/when we open non-admin
|
|
61040
61135
|
* delegation, structural caller-scope subset check goes inside the
|
|
61041
61136
|
* provider.
|
|
@@ -61092,15 +61187,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61092
61187
|
kind: "mutation",
|
|
61093
61188
|
auth: "admin",
|
|
61094
61189
|
access: "delete"
|
|
61095
|
-
}), method(
|
|
61096
|
-
kind: "mutation",
|
|
61097
|
-
auth: "admin",
|
|
61098
|
-
access: "create"
|
|
61099
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61100
|
-
kind: "mutation",
|
|
61101
|
-
auth: "admin",
|
|
61102
|
-
access: "delete"
|
|
61103
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61190
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61104
61191
|
kind: "mutation",
|
|
61105
61192
|
auth: "admin",
|
|
61106
61193
|
access: "create"
|
|
@@ -65256,7 +65343,7 @@ Object.freeze({
|
|
|
65256
65343
|
capName: "llm",
|
|
65257
65344
|
capScope: "system",
|
|
65258
65345
|
addonId: null,
|
|
65259
|
-
access: "
|
|
65346
|
+
access: "create"
|
|
65260
65347
|
},
|
|
65261
65348
|
"llm.listNodeModels": {
|
|
65262
65349
|
capName: "llm",
|
|
@@ -69920,12 +70007,6 @@ Object.freeze({
|
|
|
69920
70007
|
addonId: null,
|
|
69921
70008
|
access: "create"
|
|
69922
70009
|
},
|
|
69923
|
-
"userManagement.createScopedToken": {
|
|
69924
|
-
capName: "user-management",
|
|
69925
|
-
capScope: "system",
|
|
69926
|
-
addonId: null,
|
|
69927
|
-
access: "create"
|
|
69928
|
-
},
|
|
69929
70010
|
"userManagement.createUser": {
|
|
69930
70011
|
capName: "user-management",
|
|
69931
70012
|
capScope: "system",
|
|
@@ -69974,12 +70055,6 @@ Object.freeze({
|
|
|
69974
70055
|
addonId: null,
|
|
69975
70056
|
access: "view"
|
|
69976
70057
|
},
|
|
69977
|
-
"userManagement.listScopedTokens": {
|
|
69978
|
-
capName: "user-management",
|
|
69979
|
-
capScope: "system",
|
|
69980
|
-
addonId: null,
|
|
69981
|
-
access: "view"
|
|
69982
|
-
},
|
|
69983
70058
|
"userManagement.listUsers": {
|
|
69984
70059
|
capName: "user-management",
|
|
69985
70060
|
capScope: "system",
|
|
@@ -70034,12 +70109,6 @@ Object.freeze({
|
|
|
70034
70109
|
addonId: null,
|
|
70035
70110
|
access: "delete"
|
|
70036
70111
|
},
|
|
70037
|
-
"userManagement.revokeScopedToken": {
|
|
70038
|
-
capName: "user-management",
|
|
70039
|
-
capScope: "system",
|
|
70040
|
-
addonId: null,
|
|
70041
|
-
access: "delete"
|
|
70042
|
-
},
|
|
70043
70112
|
"userManagement.setupTotp": {
|
|
70044
70113
|
capName: "user-management",
|
|
70045
70114
|
capScope: "system",
|
|
@@ -70070,12 +70139,6 @@ Object.freeze({
|
|
|
70070
70139
|
addonId: null,
|
|
70071
70140
|
access: "view"
|
|
70072
70141
|
},
|
|
70073
|
-
"userManagement.validateScopedToken": {
|
|
70074
|
-
capName: "user-management",
|
|
70075
|
-
capScope: "system",
|
|
70076
|
-
addonId: null,
|
|
70077
|
-
access: "view"
|
|
70078
|
-
},
|
|
70079
70142
|
"userManagement.verifyTotp": {
|
|
70080
70143
|
capName: "user-management",
|
|
70081
70144
|
capScope: "system",
|
|
@@ -5488,7 +5488,7 @@ var ZodIssueCode = {
|
|
|
5488
5488
|
var ZodFirstPartyTypeKind;
|
|
5489
5489
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5490
5490
|
//#endregion
|
|
5491
|
-
//#region ../types/dist/sleep-
|
|
5491
|
+
//#region ../types/dist/sleep-yKL5gfrH.mjs
|
|
5492
5492
|
/**
|
|
5493
5493
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5494
5494
|
* window to float samples (D455).
|
|
@@ -7871,9 +7871,9 @@ function normalizeAddonInitResult(result) {
|
|
|
7871
7871
|
return result;
|
|
7872
7872
|
}
|
|
7873
7873
|
/**
|
|
7874
|
-
* The share-view scope kinds a
|
|
7875
|
-
* and validates them (`
|
|
7876
|
-
* list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7874
|
+
* The share-view scope kinds a share-link token can carry. The hub mints
|
|
7875
|
+
* and validates them (`ShareViewGrantSchema` builds its
|
|
7876
|
+
* enum from this list); a data plane names the kinds it ACCEPTS in `share`.
|
|
7877
7877
|
*/
|
|
7878
7878
|
var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
|
|
7879
7879
|
/** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
|
|
@@ -12638,7 +12638,7 @@ function scopesAllowDeviceCap(scopes, access) {
|
|
|
12638
12638
|
* `super_admin` — collapsed onto the single boolean because every
|
|
12639
12639
|
* non-admin caller is governed by the same scope-check rules; the
|
|
12640
12640
|
* distinction was only ever used to route role-specific procedures
|
|
12641
|
-
* which we no longer have. CLI / webhook integrations are `
|
|
12641
|
+
* which we no longer have. CLI / webhook integrations are tokens (`auth.mintToken`)
|
|
12642
12642
|
* with `isAdmin: false` + an explicit scope list.
|
|
12643
12643
|
*/
|
|
12644
12644
|
/** Per-method access flavour. Materialised on every cap method via codegen. */
|
|
@@ -12827,10 +12827,12 @@ var AddonRoutesScopeSchema = object({
|
|
|
12827
12827
|
type: literal("addon-routes"),
|
|
12828
12828
|
access: array(MethodAccessSchema).min(1)
|
|
12829
12829
|
});
|
|
12830
|
+
var PreferencesSelfScopeSchema = object({ type: literal("preferences-self") });
|
|
12830
12831
|
var CredentialScopeSchema = union([
|
|
12831
12832
|
literal("*"),
|
|
12832
12833
|
ShareViewScopeSchema,
|
|
12833
12834
|
AddonRoutesScopeSchema,
|
|
12835
|
+
PreferencesSelfScopeSchema,
|
|
12834
12836
|
TokenScopeSchema
|
|
12835
12837
|
]);
|
|
12836
12838
|
object({
|
|
@@ -12839,6 +12841,55 @@ object({
|
|
|
12839
12841
|
jti: string().min(16),
|
|
12840
12842
|
scopes: array(CredentialScopeSchema).min(1)
|
|
12841
12843
|
});
|
|
12844
|
+
var PreferenceNamespaceSchema = string().regex(/^[a-z][a-z0-9.-]{0,63}$/);
|
|
12845
|
+
/** A namespace's value: a JSON object, opaque to the hub. */
|
|
12846
|
+
var PreferenceValueSchema = record(string(), unknown());
|
|
12847
|
+
var PreferenceDeviceIdSchema = string().min(1).max(64);
|
|
12848
|
+
/** A stored row, as the owner reads it. */
|
|
12849
|
+
var PreferenceRowSchema = object({
|
|
12850
|
+
namespace: PreferenceNamespaceSchema,
|
|
12851
|
+
value: PreferenceValueSchema,
|
|
12852
|
+
/** Starts at 1, +1 on every write of this namespace. A delete ends the row and its count. */
|
|
12853
|
+
revision: number().int().positive(),
|
|
12854
|
+
updatedAt: number().int(),
|
|
12855
|
+
/** The client id the last writer sent; `null` when it sent none. */
|
|
12856
|
+
updatedByDevice: PreferenceDeviceIdSchema.nullable()
|
|
12857
|
+
});
|
|
12858
|
+
object({
|
|
12859
|
+
/** Absent: every namespace the caller holds. */
|
|
12860
|
+
namespaces: array(PreferenceNamespaceSchema).max(32).optional() });
|
|
12861
|
+
object({ rows: array(PreferenceRowSchema) });
|
|
12862
|
+
object({
|
|
12863
|
+
namespace: PreferenceNamespaceSchema,
|
|
12864
|
+
value: PreferenceValueSchema,
|
|
12865
|
+
/**
|
|
12866
|
+
* The revision the edit was based on. Absent: last write wins. `0`: the
|
|
12867
|
+
* namespace must not exist yet. Any other value that is not the current
|
|
12868
|
+
* revision answers `conflict` and writes nothing.
|
|
12869
|
+
*/
|
|
12870
|
+
baseRevision: number().int().nonnegative().optional(),
|
|
12871
|
+
deviceId: PreferenceDeviceIdSchema.optional()
|
|
12872
|
+
});
|
|
12873
|
+
discriminatedUnion("status", [object({
|
|
12874
|
+
status: literal("saved"),
|
|
12875
|
+
row: PreferenceRowSchema
|
|
12876
|
+
}), object({
|
|
12877
|
+
status: literal("conflict"),
|
|
12878
|
+
current: PreferenceRowSchema.nullable()
|
|
12879
|
+
})]);
|
|
12880
|
+
object({ namespace: PreferenceNamespaceSchema });
|
|
12881
|
+
object({
|
|
12882
|
+
/** `false` when the namespace did not exist. */
|
|
12883
|
+
deleted: boolean() });
|
|
12884
|
+
object({
|
|
12885
|
+
/** The revision the client holds per namespace; a namespace it does not list is new to it. */
|
|
12886
|
+
revisionByNamespace: record(PreferenceNamespaceSchema, number().int().nonnegative()).refine((map) => Object.keys(map).length <= 32, { message: `at most 32 namespaces` }) });
|
|
12887
|
+
object({
|
|
12888
|
+
/** Every row whose revision differs from the client's, and every row it did not list. */
|
|
12889
|
+
rows: array(PreferenceRowSchema),
|
|
12890
|
+
/** Namespaces the client listed that no longer exist. */
|
|
12891
|
+
deleted: array(PreferenceNamespaceSchema)
|
|
12892
|
+
});
|
|
12842
12893
|
_enum(["new-session", "step-up"]);
|
|
12843
12894
|
/** The languages the hub's app landing pages are written in (D858). */
|
|
12844
12895
|
var AppPageLangSchema = _enum(["en", "it"]);
|
|
@@ -39761,38 +39812,37 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39761
39812
|
auth: "admin",
|
|
39762
39813
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39763
39814
|
});
|
|
39815
|
+
var LlmProfileKindSchema = string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "a kind id is lower-case letters, digits and dashes");
|
|
39816
|
+
/** What a model (or, by default, every model of a kind) can do. */
|
|
39817
|
+
var LlmModelFeaturesSchema = object({
|
|
39818
|
+
vision: boolean(),
|
|
39819
|
+
tools: boolean(),
|
|
39820
|
+
streaming: boolean()
|
|
39821
|
+
});
|
|
39822
|
+
/** One model a provider offers. `features` overrides the kind's defaults, per field. */
|
|
39823
|
+
var LlmModelInfoSchema = object({
|
|
39824
|
+
id: string(),
|
|
39825
|
+
label: string().optional(),
|
|
39826
|
+
contextLength: number().int().positive().optional(),
|
|
39827
|
+
features: LlmModelFeaturesSchema.partial().optional()
|
|
39828
|
+
});
|
|
39764
39829
|
/**
|
|
39765
|
-
*
|
|
39766
|
-
*
|
|
39767
|
-
*
|
|
39768
|
-
*
|
|
39769
|
-
* (hub-placed); the cap stays open for future providers.
|
|
39770
|
-
*
|
|
39771
|
-
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
39772
|
-
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
39773
|
-
* write; a stored key NEVER round-trips to a client.
|
|
39830
|
+
* The provider-specific part of a profile, validated by the provider that owns
|
|
39831
|
+
* the kind (`upsertProfile` refuses what it does not accept). A field its
|
|
39832
|
+
* `connectionSchema` declares `type: 'password'` is a secret: it is held in the
|
|
39833
|
+
* keychain, never in the row, and reads back as the redaction marker.
|
|
39774
39834
|
*/
|
|
39775
|
-
var
|
|
39776
|
-
"openai-compatible",
|
|
39777
|
-
"openai",
|
|
39778
|
-
"anthropic",
|
|
39779
|
-
"google",
|
|
39780
|
-
"managed-local",
|
|
39781
|
-
"apple-foundation"
|
|
39782
|
-
]);
|
|
39835
|
+
var LlmProviderConfigSchema = record(string(), unknown());
|
|
39783
39836
|
var LlmProfileSchema = object({
|
|
39784
39837
|
id: string(),
|
|
39785
39838
|
name: string(),
|
|
39839
|
+
/** The provider-declared kind (`LlmProfileKindDescriptor.kind`). */
|
|
39786
39840
|
kind: LlmProfileKindSchema,
|
|
39787
39841
|
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
39788
39842
|
addonId: string(),
|
|
39789
39843
|
enabled: boolean(),
|
|
39790
39844
|
/** Vendor model id, or the managed runtime's loaded model. */
|
|
39791
39845
|
model: string(),
|
|
39792
|
-
/** Required for openai-compatible; override for cloud kinds. */
|
|
39793
|
-
baseUrl: string().optional(),
|
|
39794
|
-
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
39795
|
-
apiKey: string().optional(),
|
|
39796
39846
|
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
39797
39847
|
* degraded to text — that shipped once and produced a confident answer to a
|
|
39798
39848
|
* question about a picture nobody sent. */
|
|
@@ -39800,15 +39850,11 @@ var LlmProfileSchema = object({
|
|
|
39800
39850
|
temperature: number().min(0).max(2).optional(),
|
|
39801
39851
|
/** Nucleus sampling. Every wire we speak has it. */
|
|
39802
39852
|
topP: number().min(0).max(1).optional(),
|
|
39803
|
-
/** Top-k sampling. Carried only by the wires that have it —
|
|
39804
|
-
*
|
|
39805
|
-
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
39806
|
-
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
39853
|
+
/** Top-k sampling. Carried only by the wires that have it — a kind offers the
|
|
39854
|
+
* field in its editor only when its descriptor lists it in `profileFields`. */
|
|
39807
39855
|
topK: number().int().positive().optional(),
|
|
39808
39856
|
maxTokens: number().int().positive().optional(),
|
|
39809
|
-
/** Prompt context window. Advisory for cloud kinds (they enforce their own)
|
|
39810
|
-
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
39811
|
-
* the model with, so it is the one field that changes a PROCESS. */
|
|
39857
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own). */
|
|
39812
39858
|
contextLength: number().int().positive().optional(),
|
|
39813
39859
|
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
39814
39860
|
* two system prompts fighting is worse than either alone). */
|
|
@@ -39834,16 +39880,37 @@ var LlmProfileSchema = object({
|
|
|
39834
39880
|
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
39835
39881
|
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
39836
39882
|
toolsEnabled: boolean().default(false),
|
|
39837
|
-
|
|
39838
|
-
|
|
39839
|
-
|
|
39840
|
-
|
|
39841
|
-
|
|
39842
|
-
|
|
39843
|
-
|
|
39844
|
-
|
|
39845
|
-
|
|
39846
|
-
|
|
39883
|
+
/** Everything the kind's provider owns (endpoint, key, node, runtime…). */
|
|
39884
|
+
providerConfig: LlmProviderConfigSchema.default({})
|
|
39885
|
+
});
|
|
39886
|
+
/**
|
|
39887
|
+
* The common profile fields a kind's editor offers. The editor owns how each
|
|
39888
|
+
* one is drawn; the provider says which of them mean something on its wire.
|
|
39889
|
+
*/
|
|
39890
|
+
var LlmProfileFieldSchema = _enum([
|
|
39891
|
+
"temperature",
|
|
39892
|
+
"topP",
|
|
39893
|
+
"topK",
|
|
39894
|
+
"maxTokens",
|
|
39895
|
+
"contextLength",
|
|
39896
|
+
"systemPrompt",
|
|
39897
|
+
"timeoutMs",
|
|
39898
|
+
"connectTimeoutMs",
|
|
39899
|
+
"firstTokenTimeoutMs",
|
|
39900
|
+
"idleTimeoutMs",
|
|
39901
|
+
"retry",
|
|
39902
|
+
"toolsEnabled"
|
|
39903
|
+
]);
|
|
39904
|
+
/**
|
|
39905
|
+
* A provider-drawn part of the editor, by a generic widget id the admin UI
|
|
39906
|
+
* registers (`ai/apple-node`). `placement: 'model'` replaces the generic model
|
|
39907
|
+
* picker: that widget owns the model choice.
|
|
39908
|
+
*/
|
|
39909
|
+
var LlmProviderWidgetSchema = object({
|
|
39910
|
+
id: string(),
|
|
39911
|
+
placement: _enum(["connection", "model"]),
|
|
39912
|
+
/** `providerConfig` keys this widget must fill before the profile can be saved. */
|
|
39913
|
+
requires: array(string()).optional()
|
|
39847
39914
|
});
|
|
39848
39915
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
39849
39916
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
@@ -39852,11 +39919,56 @@ var ConfigSchemaPassthrough$3 = unknown();
|
|
|
39852
39919
|
var LlmProfileKindDescriptorSchema = object({
|
|
39853
39920
|
kind: LlmProfileKindSchema,
|
|
39854
39921
|
label: string(),
|
|
39922
|
+
/** A generic icon name (`cloud`, `plug`, `cpu`) — never a glyph or a logo. */
|
|
39855
39923
|
icon: string(),
|
|
39856
39924
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
39857
39925
|
addonId: string(),
|
|
39858
|
-
|
|
39926
|
+
/** The provider's own fields (`providerConfig`); `password` fields are keychain-held. */
|
|
39927
|
+
connectionSchema: ConfigSchemaPassthrough$3,
|
|
39928
|
+
/** Provider fields that belong under "Advanced" (extra headers, runtime tuning). */
|
|
39929
|
+
advancedSchema: ConfigSchemaPassthrough$3.optional(),
|
|
39930
|
+
/** The kind's defaults; a model from `listModels` may override any of them. */
|
|
39931
|
+
features: LlmModelFeaturesSchema,
|
|
39932
|
+
/** `false` = the provider stamps `supportsVision` itself (from what a node reports). */
|
|
39933
|
+
visionEditable: boolean(),
|
|
39934
|
+
/** Where the model list comes from: `listModels`, `staticModels`, or nowhere. */
|
|
39935
|
+
modelCatalog: _enum([
|
|
39936
|
+
"fetch",
|
|
39937
|
+
"static",
|
|
39938
|
+
"none"
|
|
39939
|
+
]),
|
|
39940
|
+
staticModels: array(LlmModelInfoSchema).optional(),
|
|
39941
|
+
/** The common fields that mean something on this kind's wire. */
|
|
39942
|
+
profileFields: array(LlmProfileFieldSchema),
|
|
39943
|
+
providerWidgets: array(LlmProviderWidgetSchema).optional()
|
|
39859
39944
|
});
|
|
39945
|
+
/**
|
|
39946
|
+
* `listModels` input. `connection` is an UNSAVED draft of `providerConfig`
|
|
39947
|
+
* (the editor's form); with `profileId` too, a secret the draft leaves
|
|
39948
|
+
* untouched (absent or the redaction marker) is resolved server-side from the
|
|
39949
|
+
* stored profile — the browser never receives it.
|
|
39950
|
+
*/
|
|
39951
|
+
var LlmListModelsInputSchema = object({
|
|
39952
|
+
addonId: string(),
|
|
39953
|
+
kind: LlmProfileKindSchema,
|
|
39954
|
+
profileId: string().optional(),
|
|
39955
|
+
connection: LlmProviderConfigSchema.optional()
|
|
39956
|
+
});
|
|
39957
|
+
var LlmListModelsErrorCodeSchema = _enum([
|
|
39958
|
+
"auth",
|
|
39959
|
+
"network",
|
|
39960
|
+
"unsupported",
|
|
39961
|
+
"invalid"
|
|
39962
|
+
]);
|
|
39963
|
+
/** A RESULT, never a throw: "wrong key" is an answer the editor renders inline. */
|
|
39964
|
+
var LlmListModelsResultSchema = discriminatedUnion("ok", [object({
|
|
39965
|
+
ok: literal(true),
|
|
39966
|
+
models: array(LlmModelInfoSchema)
|
|
39967
|
+
}), object({
|
|
39968
|
+
ok: literal(false),
|
|
39969
|
+
code: LlmListModelsErrorCodeSchema,
|
|
39970
|
+
message: string()
|
|
39971
|
+
})]);
|
|
39860
39972
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
39861
39973
|
var LlmDefaultSchema = object({
|
|
39862
39974
|
selector: LlmDefaultSelectorSchema,
|
|
@@ -39956,7 +40068,10 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
|
|
|
39956
40068
|
kind: "mutation",
|
|
39957
40069
|
auth: "admin",
|
|
39958
40070
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39959
|
-
}), method(
|
|
40071
|
+
}), method(LlmListModelsInputSchema, LlmListModelsResultSchema, {
|
|
40072
|
+
kind: "mutation",
|
|
40073
|
+
auth: "admin"
|
|
40074
|
+
}), method(object({}), array(LlmDefaultSchema)), method(object({
|
|
39960
40075
|
selector: LlmDefaultSelectorSchema,
|
|
39961
40076
|
profileId: string().nullable()
|
|
39962
40077
|
}), _void(), {
|
|
@@ -60986,26 +61101,6 @@ var ApiKeySummarySchema = object({
|
|
|
60986
61101
|
createdAt: number(),
|
|
60987
61102
|
lastUsedAt: number().optional()
|
|
60988
61103
|
});
|
|
60989
|
-
var ScopedTokenSummarySchema = object({
|
|
60990
|
-
id: string(),
|
|
60991
|
-
userId: string(),
|
|
60992
|
-
name: string(),
|
|
60993
|
-
tokenPrefix: string(),
|
|
60994
|
-
scopes: array(TokenScopeSchema),
|
|
60995
|
-
expiresAt: number().nullish(),
|
|
60996
|
-
lastUsedAt: number().nullish(),
|
|
60997
|
-
createdAt: number()
|
|
60998
|
-
});
|
|
60999
|
-
var CreateScopedTokenInputSchema = object({
|
|
61000
|
-
userId: string(),
|
|
61001
|
-
name: string(),
|
|
61002
|
-
scopes: array(TokenScopeSchema),
|
|
61003
|
-
expiresAt: number().optional()
|
|
61004
|
-
});
|
|
61005
|
-
var CreateScopedTokenResultSchema = object({
|
|
61006
|
-
token: string(),
|
|
61007
|
-
record: ScopedTokenSummarySchema
|
|
61008
|
-
});
|
|
61009
61104
|
var OauthSessionSummarySchema = object({
|
|
61010
61105
|
id: string(),
|
|
61011
61106
|
userId: string(),
|
|
@@ -61027,11 +61122,11 @@ var TotpStatusSchema = object({
|
|
|
61027
61122
|
confirmedAt: number().nullable()
|
|
61028
61123
|
});
|
|
61029
61124
|
/**
|
|
61030
|
-
* user-management — singleton capability for user accounts
|
|
61031
|
-
*
|
|
61125
|
+
* user-management — singleton capability for user accounts and the
|
|
61126
|
+
* legacy API-key rows.
|
|
61032
61127
|
*
|
|
61033
61128
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
61034
|
-
* — the subset check on `setUserScopes`
|
|
61129
|
+
* — the subset check on `setUserScopes` is moot
|
|
61035
61130
|
* because non-admins never reach these. If/when we open non-admin
|
|
61036
61131
|
* delegation, structural caller-scope subset check goes inside the
|
|
61037
61132
|
* provider.
|
|
@@ -61088,15 +61183,7 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
61088
61183
|
kind: "mutation",
|
|
61089
61184
|
auth: "admin",
|
|
61090
61185
|
access: "delete"
|
|
61091
|
-
}), method(
|
|
61092
|
-
kind: "mutation",
|
|
61093
|
-
auth: "admin",
|
|
61094
|
-
access: "create"
|
|
61095
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
61096
|
-
kind: "mutation",
|
|
61097
|
-
auth: "admin",
|
|
61098
|
-
access: "delete"
|
|
61099
|
-
}), method(object({ token: string() }), ScopedTokenSummarySchema.nullable(), { access: "view" }), method(object({ userId: string() }), array(ScopedTokenSummarySchema), { auth: "admin" }), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61186
|
+
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
61100
61187
|
kind: "mutation",
|
|
61101
61188
|
auth: "admin",
|
|
61102
61189
|
access: "create"
|
|
@@ -65252,7 +65339,7 @@ Object.freeze({
|
|
|
65252
65339
|
capName: "llm",
|
|
65253
65340
|
capScope: "system",
|
|
65254
65341
|
addonId: null,
|
|
65255
|
-
access: "
|
|
65342
|
+
access: "create"
|
|
65256
65343
|
},
|
|
65257
65344
|
"llm.listNodeModels": {
|
|
65258
65345
|
capName: "llm",
|
|
@@ -69916,12 +70003,6 @@ Object.freeze({
|
|
|
69916
70003
|
addonId: null,
|
|
69917
70004
|
access: "create"
|
|
69918
70005
|
},
|
|
69919
|
-
"userManagement.createScopedToken": {
|
|
69920
|
-
capName: "user-management",
|
|
69921
|
-
capScope: "system",
|
|
69922
|
-
addonId: null,
|
|
69923
|
-
access: "create"
|
|
69924
|
-
},
|
|
69925
70006
|
"userManagement.createUser": {
|
|
69926
70007
|
capName: "user-management",
|
|
69927
70008
|
capScope: "system",
|
|
@@ -69970,12 +70051,6 @@ Object.freeze({
|
|
|
69970
70051
|
addonId: null,
|
|
69971
70052
|
access: "view"
|
|
69972
70053
|
},
|
|
69973
|
-
"userManagement.listScopedTokens": {
|
|
69974
|
-
capName: "user-management",
|
|
69975
|
-
capScope: "system",
|
|
69976
|
-
addonId: null,
|
|
69977
|
-
access: "view"
|
|
69978
|
-
},
|
|
69979
70054
|
"userManagement.listUsers": {
|
|
69980
70055
|
capName: "user-management",
|
|
69981
70056
|
capScope: "system",
|
|
@@ -70030,12 +70105,6 @@ Object.freeze({
|
|
|
70030
70105
|
addonId: null,
|
|
70031
70106
|
access: "delete"
|
|
70032
70107
|
},
|
|
70033
|
-
"userManagement.revokeScopedToken": {
|
|
70034
|
-
capName: "user-management",
|
|
70035
|
-
capScope: "system",
|
|
70036
|
-
addonId: null,
|
|
70037
|
-
access: "delete"
|
|
70038
|
-
},
|
|
70039
70108
|
"userManagement.setupTotp": {
|
|
70040
70109
|
capName: "user-management",
|
|
70041
70110
|
capScope: "system",
|
|
@@ -70066,12 +70135,6 @@ Object.freeze({
|
|
|
70066
70135
|
addonId: null,
|
|
70067
70136
|
access: "view"
|
|
70068
70137
|
},
|
|
70069
|
-
"userManagement.validateScopedToken": {
|
|
70070
|
-
capName: "user-management",
|
|
70071
|
-
capScope: "system",
|
|
70072
|
-
addonId: null,
|
|
70073
|
-
access: "view"
|
|
70074
|
-
},
|
|
70075
70138
|
"userManagement.verifyTotp": {
|
|
70076
70139
|
capName: "user-management",
|
|
70077
70140
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-google",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.97",
|
|
4
4
|
"description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|