@camstack/addon-provider-homematic 1.2.133 → 1.2.134
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 +157 -8
- package/dist/addon.mjs +157 -8
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5386,7 +5386,7 @@ var ZodIssueCode = {
|
|
|
5386
5386
|
var ZodFirstPartyTypeKind;
|
|
5387
5387
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5388
5388
|
//#endregion
|
|
5389
|
-
//#region ../types/dist/sleep-
|
|
5389
|
+
//#region ../types/dist/sleep-DwAQ9sqX.mjs
|
|
5390
5390
|
/**
|
|
5391
5391
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5392
5392
|
* window to float samples (D455).
|
|
@@ -18610,14 +18610,14 @@ var LlmProfileSchema = object({
|
|
|
18610
18610
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
18611
18611
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
18612
18612
|
* notification-output.cap.ts:151); the exported TS type re-tightens it. */
|
|
18613
|
-
var ConfigSchemaPassthrough$
|
|
18613
|
+
var ConfigSchemaPassthrough$3 = unknown();
|
|
18614
18614
|
var LlmProfileKindDescriptorSchema = object({
|
|
18615
18615
|
kind: LlmProfileKindSchema,
|
|
18616
18616
|
label: string(),
|
|
18617
18617
|
icon: string(),
|
|
18618
18618
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
18619
18619
|
addonId: string(),
|
|
18620
|
-
configSchema: ConfigSchemaPassthrough$
|
|
18620
|
+
configSchema: ConfigSchemaPassthrough$3
|
|
18621
18621
|
});
|
|
18622
18622
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
18623
18623
|
var LlmDefaultSchema = object({
|
|
@@ -19738,7 +19738,7 @@ var TargetKindCapsSchema = object({
|
|
|
19738
19738
|
* the union is large and not meant for runtime validation here; the exported
|
|
19739
19739
|
* `TargetKind` type re-tightens `configSchema` to `ConfigUISchema`.
|
|
19740
19740
|
*/
|
|
19741
|
-
var ConfigSchemaPassthrough = unknown();
|
|
19741
|
+
var ConfigSchemaPassthrough$2 = unknown();
|
|
19742
19742
|
var TargetKindSchema = object({
|
|
19743
19743
|
kind: string(),
|
|
19744
19744
|
label: string(),
|
|
@@ -19775,7 +19775,7 @@ var TargetKindSchema = object({
|
|
|
19775
19775
|
* its raster path, which is the safe default for an unknown image.
|
|
19776
19776
|
*/
|
|
19777
19777
|
iconMediaType: string().optional(),
|
|
19778
|
-
configSchema: ConfigSchemaPassthrough,
|
|
19778
|
+
configSchema: ConfigSchemaPassthrough$2,
|
|
19779
19779
|
/**
|
|
19780
19780
|
* The config keys that decide WHERE this kind's secrets are sent (server,
|
|
19781
19781
|
* base URL, instance, chat, recipient). A save that changes any of them
|
|
@@ -23112,6 +23112,61 @@ var OauthIntegrationDescriptorSchema = object({
|
|
|
23112
23112
|
});
|
|
23113
23113
|
method(_void(), OauthIntegrationDescriptorSchema, { auth: "admin" });
|
|
23114
23114
|
/**
|
|
23115
|
+
* `oidc-connections` — CRUD for IdP rows under `auth-oidc` (D828 sibling).
|
|
23116
|
+
*
|
|
23117
|
+
* One hub-only singleton (`auth-oidc`). The Settings UI is a DataTable +
|
|
23118
|
+
* ItemFormDialog; there is no `editable-array` in `globalSettingsSchema`.
|
|
23119
|
+
* Operator-chosen `id` is the URL slug (`/addon/auth-oidc/<id>/…`) and is
|
|
23120
|
+
* immutable after create.
|
|
23121
|
+
*/
|
|
23122
|
+
var ConfigSchemaPassthrough$1 = unknown();
|
|
23123
|
+
var OidcConnectionSchema = object({
|
|
23124
|
+
id: string().min(1),
|
|
23125
|
+
displayName: string(),
|
|
23126
|
+
icon: string(),
|
|
23127
|
+
issuerUrl: string(),
|
|
23128
|
+
clientId: string(),
|
|
23129
|
+
/** Client id + secret present — never the secret value. */
|
|
23130
|
+
configured: boolean(),
|
|
23131
|
+
/**
|
|
23132
|
+
* Values for the connection form schema. `clientSecret` is a keychain
|
|
23133
|
+
* {@link SecretFieldView} or `null` / `''`, never plaintext (D789).
|
|
23134
|
+
*/
|
|
23135
|
+
formValues: record(string(), unknown()).optional()
|
|
23136
|
+
});
|
|
23137
|
+
/**
|
|
23138
|
+
* Patch one connection. Omitted or empty `clientSecret` keeps the stored
|
|
23139
|
+
* secret (D787). `{ $secretClear: true }` clears it. `id` is never renamed.
|
|
23140
|
+
*/
|
|
23141
|
+
var OidcConnectionUpdateInputSchema = object({
|
|
23142
|
+
id: string().min(1),
|
|
23143
|
+
displayName: string().min(1),
|
|
23144
|
+
icon: string().optional(),
|
|
23145
|
+
issuerUrl: string().optional(),
|
|
23146
|
+
clientId: string().optional(),
|
|
23147
|
+
clientSecret: union([string(), object({ $secretClear: literal(true) })]).optional(),
|
|
23148
|
+
redirectUri: string().optional(),
|
|
23149
|
+
scopes: string().optional(),
|
|
23150
|
+
usernameClaim: _enum([
|
|
23151
|
+
"preferred_username",
|
|
23152
|
+
"email",
|
|
23153
|
+
"sub"
|
|
23154
|
+
]).optional()
|
|
23155
|
+
});
|
|
23156
|
+
method(object({}), ConfigSchemaPassthrough$1, { auth: "admin" }), method(object({}), array(OidcConnectionSchema).readonly(), { auth: "admin" }), method(object({
|
|
23157
|
+
id: string().min(1).regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "id must be a lowercase slug"),
|
|
23158
|
+
displayName: string().min(1)
|
|
23159
|
+
}), object({ id: string() }), {
|
|
23160
|
+
kind: "mutation",
|
|
23161
|
+
auth: "admin"
|
|
23162
|
+
}), method(OidcConnectionUpdateInputSchema, object({ ok: literal(true) }), {
|
|
23163
|
+
kind: "mutation",
|
|
23164
|
+
auth: "admin"
|
|
23165
|
+
}), method(object({ id: string().min(1) }), object({ ok: literal(true) }), {
|
|
23166
|
+
kind: "mutation",
|
|
23167
|
+
auth: "admin"
|
|
23168
|
+
});
|
|
23169
|
+
/**
|
|
23115
23170
|
* What started a camera's onboard motion (D672). `camera` is the camera's own
|
|
23116
23171
|
* firmware; `sensor` is a device the operator ATTACHED to it. Absent on the
|
|
23117
23172
|
* wire means the camera: only the camera-sensors bridge ever says `sensor`.
|
|
@@ -31784,7 +31839,7 @@ var CustomActionInputSchema = object({
|
|
|
31784
31839
|
action: string().min(1),
|
|
31785
31840
|
input: unknown()
|
|
31786
31841
|
});
|
|
31787
|
-
method(
|
|
31842
|
+
method(object({ nodeId: string().optional() }).optional(), array(AddonListItemSchema).readonly()), method(object({
|
|
31788
31843
|
addonId: string(),
|
|
31789
31844
|
limit: number().min(1).max(500).default(100),
|
|
31790
31845
|
level: LogLevelSchema$2.optional()
|
|
@@ -37265,6 +37320,7 @@ var OsdNamedTemplateSchema = object({
|
|
|
37265
37320
|
});
|
|
37266
37321
|
/** Where a slot's value comes from. */
|
|
37267
37322
|
var OsdSourceSchema = discriminatedUnion("kind", [
|
|
37323
|
+
object({ kind: literal("none") }),
|
|
37268
37324
|
object({
|
|
37269
37325
|
kind: literal("static"),
|
|
37270
37326
|
text: string().max(64)
|
|
@@ -37391,6 +37447,13 @@ method(object({ deviceId: number().int() }), object({
|
|
|
37391
37447
|
}), object({ success: literal(true) }), {
|
|
37392
37448
|
kind: "mutation",
|
|
37393
37449
|
auth: "admin"
|
|
37450
|
+
}), method(object({
|
|
37451
|
+
deviceId: number().int(),
|
|
37452
|
+
slotId: string().min(1),
|
|
37453
|
+
enabled: boolean()
|
|
37454
|
+
}), object({ success: literal(true) }), {
|
|
37455
|
+
kind: "mutation",
|
|
37456
|
+
auth: "admin"
|
|
37394
37457
|
}), method(object({
|
|
37395
37458
|
sourceDeviceId: number().int(),
|
|
37396
37459
|
targetDeviceId: number().int()
|
|
@@ -42613,6 +42676,12 @@ var TrainingProviderDefaultsSchema = object({
|
|
|
42613
42676
|
/** Hours a FAILED job's cloud dataset is kept for debugging; 0 = delete at once. */
|
|
42614
42677
|
failedDatasetGraceHours: number().nonnegative()
|
|
42615
42678
|
});
|
|
42679
|
+
/**
|
|
42680
|
+
* Entry form schema for a provider type — same seam as notification
|
|
42681
|
+
* `TargetKind.configSchema` (`z.unknown()` at the wire; callers tighten to
|
|
42682
|
+
* {@link ConfigUISchema}). Drives `ConfigFormBuilder` on Training → Providers.
|
|
42683
|
+
*/
|
|
42684
|
+
var ConfigSchemaPassthrough = unknown();
|
|
42616
42685
|
/** One creatable provider type, for the Add-entry dialog. */
|
|
42617
42686
|
var TrainingProviderTypeSchema = object({
|
|
42618
42687
|
typeId: string(),
|
|
@@ -42620,7 +42689,13 @@ var TrainingProviderTypeSchema = object({
|
|
|
42620
42689
|
/** Path under the addon package (e.g. `assets/training-modal/icon.svg`). */
|
|
42621
42690
|
iconAsset: string(),
|
|
42622
42691
|
/** Owning `training-provider` addon — collection selector for createEntry. */
|
|
42623
|
-
addonId: string()
|
|
42692
|
+
addonId: string(),
|
|
42693
|
+
/**
|
|
42694
|
+
* Fields for one entry of this type (credentials + defaults). Absent on a
|
|
42695
|
+
* type that only needs a name. Password fields are keychain-backed on the
|
|
42696
|
+
* provider addon (`secretStatePaths`), not D634 plaintext.
|
|
42697
|
+
*/
|
|
42698
|
+
configSchema: ConfigSchemaPassthrough.optional()
|
|
42624
42699
|
});
|
|
42625
42700
|
/** One configured account / workspace under a provider type. */
|
|
42626
42701
|
var TrainingProviderEntrySchema = object({
|
|
@@ -42650,7 +42725,30 @@ var TrainingProviderDescriptorSchema = object({
|
|
|
42650
42725
|
dataResidencyNote: string(),
|
|
42651
42726
|
/** Credentials are present — never the values. */
|
|
42652
42727
|
configured: boolean(),
|
|
42653
|
-
defaults: TrainingProviderDefaultsSchema
|
|
42728
|
+
defaults: TrainingProviderDefaultsSchema,
|
|
42729
|
+
/**
|
|
42730
|
+
* Values for {@link TrainingProviderTypeSchema}'s `configSchema` — password
|
|
42731
|
+
* fields are keychain {@link SecretFieldView} or `null` / `''` (create),
|
|
42732
|
+
* never plaintext. Same hydrate contract as settings forms (D789).
|
|
42733
|
+
*/
|
|
42734
|
+
formValues: record(string(), unknown()).optional()
|
|
42735
|
+
});
|
|
42736
|
+
/**
|
|
42737
|
+
* Patch one entry's name, credentials and defaults. Pin with owning `{ addonId }`.
|
|
42738
|
+
* An omitted or empty `tokenSecret` means KEEP the stored secret (D787).
|
|
42739
|
+
* `{ $secretClear: true }` clears it.
|
|
42740
|
+
*/
|
|
42741
|
+
var TrainingProviderUpdateEntryInputSchema = object({
|
|
42742
|
+
entryId: string().min(1),
|
|
42743
|
+
name: string().min(1),
|
|
42744
|
+
tokenId: string().optional(),
|
|
42745
|
+
tokenSecret: union([string(), object({ $secretClear: literal(true) })]).optional(),
|
|
42746
|
+
environment: string().optional(),
|
|
42747
|
+
gpuType: string().optional(),
|
|
42748
|
+
region: string().optional(),
|
|
42749
|
+
costCapUsd: number().nonnegative().optional(),
|
|
42750
|
+
maxRuntimeSec: number().int().positive().optional(),
|
|
42751
|
+
failedDatasetGraceHours: number().nonnegative().optional()
|
|
42654
42752
|
});
|
|
42655
42753
|
var TrainingCredentialCheckSchema = object({
|
|
42656
42754
|
ok: boolean(),
|
|
@@ -42720,6 +42818,9 @@ method(object({}), array(TrainingProviderDescriptorSchema).readonly(), { auth: "
|
|
|
42720
42818
|
}), method(object({ entryId: string().min(1) }), object({ ok: literal(true) }), {
|
|
42721
42819
|
kind: "mutation",
|
|
42722
42820
|
auth: "admin"
|
|
42821
|
+
}), method(TrainingProviderUpdateEntryInputSchema, object({ ok: literal(true) }), {
|
|
42822
|
+
kind: "mutation",
|
|
42823
|
+
auth: "admin"
|
|
42723
42824
|
}), method(object({ entryId: string().min(1) }), TrainingCredentialCheckSchema, {
|
|
42724
42825
|
kind: "mutation",
|
|
42725
42826
|
auth: "admin",
|
|
@@ -48620,6 +48721,36 @@ Object.freeze({
|
|
|
48620
48721
|
addonId: null,
|
|
48621
48722
|
access: "view"
|
|
48622
48723
|
},
|
|
48724
|
+
"oidcConnections.connectionFormSchema": {
|
|
48725
|
+
capName: "oidc-connections",
|
|
48726
|
+
capScope: "system",
|
|
48727
|
+
addonId: null,
|
|
48728
|
+
access: "view"
|
|
48729
|
+
},
|
|
48730
|
+
"oidcConnections.createConnection": {
|
|
48731
|
+
capName: "oidc-connections",
|
|
48732
|
+
capScope: "system",
|
|
48733
|
+
addonId: null,
|
|
48734
|
+
access: "create"
|
|
48735
|
+
},
|
|
48736
|
+
"oidcConnections.deleteConnection": {
|
|
48737
|
+
capName: "oidc-connections",
|
|
48738
|
+
capScope: "system",
|
|
48739
|
+
addonId: null,
|
|
48740
|
+
access: "delete"
|
|
48741
|
+
},
|
|
48742
|
+
"oidcConnections.listConnections": {
|
|
48743
|
+
capName: "oidc-connections",
|
|
48744
|
+
capScope: "system",
|
|
48745
|
+
addonId: null,
|
|
48746
|
+
access: "view"
|
|
48747
|
+
},
|
|
48748
|
+
"oidcConnections.updateConnection": {
|
|
48749
|
+
capName: "oidc-connections",
|
|
48750
|
+
capScope: "system",
|
|
48751
|
+
addonId: null,
|
|
48752
|
+
access: "create"
|
|
48753
|
+
},
|
|
48623
48754
|
"osd.getStatus": {
|
|
48624
48755
|
capName: "osd",
|
|
48625
48756
|
capScope: "device",
|
|
@@ -48692,6 +48823,12 @@ Object.freeze({
|
|
|
48692
48823
|
addonId: null,
|
|
48693
48824
|
access: "create"
|
|
48694
48825
|
},
|
|
48826
|
+
"osdManager.setSlotCameraEnabled": {
|
|
48827
|
+
capName: "osd-manager",
|
|
48828
|
+
capScope: "system",
|
|
48829
|
+
addonId: null,
|
|
48830
|
+
access: "create"
|
|
48831
|
+
},
|
|
48695
48832
|
"osdManager.upsertTemplate": {
|
|
48696
48833
|
capName: "osd-manager",
|
|
48697
48834
|
capScope: "system",
|
|
@@ -51800,6 +51937,12 @@ Object.freeze({
|
|
|
51800
51937
|
addonId: null,
|
|
51801
51938
|
access: "create"
|
|
51802
51939
|
},
|
|
51940
|
+
"trainingProvider.updateEntry": {
|
|
51941
|
+
capName: "training-provider",
|
|
51942
|
+
capScope: "system",
|
|
51943
|
+
addonId: null,
|
|
51944
|
+
access: "create"
|
|
51945
|
+
},
|
|
51803
51946
|
"trainingProvider.uploadDataset": {
|
|
51804
51947
|
capName: "training-provider",
|
|
51805
51948
|
capScope: "system",
|
|
@@ -55006,6 +55149,11 @@ Object.freeze({
|
|
|
55006
55149
|
form: "single",
|
|
55007
55150
|
optional: false
|
|
55008
55151
|
}],
|
|
55152
|
+
"osdManager.setSlotCameraEnabled": [{
|
|
55153
|
+
name: "deviceId",
|
|
55154
|
+
form: "single",
|
|
55155
|
+
optional: false
|
|
55156
|
+
}],
|
|
55009
55157
|
"petFeeder.callPet": [{
|
|
55010
55158
|
name: "deviceId",
|
|
55011
55159
|
form: "single",
|
|
@@ -56340,6 +56488,7 @@ Object.freeze({
|
|
|
56340
56488
|
});
|
|
56341
56489
|
Object.freeze({
|
|
56342
56490
|
"broker": "broker",
|
|
56491
|
+
"calendar-source": "calendar",
|
|
56343
56492
|
"device-export": "device-export",
|
|
56344
56493
|
"llm": "ai",
|
|
56345
56494
|
"mesh-network": "mesh",
|
package/dist/addon.mjs
CHANGED
|
@@ -5387,7 +5387,7 @@ var ZodIssueCode = {
|
|
|
5387
5387
|
var ZodFirstPartyTypeKind;
|
|
5388
5388
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5389
5389
|
//#endregion
|
|
5390
|
-
//#region ../types/dist/sleep-
|
|
5390
|
+
//#region ../types/dist/sleep-DwAQ9sqX.mjs
|
|
5391
5391
|
/**
|
|
5392
5392
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5393
5393
|
* window to float samples (D455).
|
|
@@ -18611,14 +18611,14 @@ var LlmProfileSchema = object({
|
|
|
18611
18611
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
18612
18612
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
18613
18613
|
* notification-output.cap.ts:151); the exported TS type re-tightens it. */
|
|
18614
|
-
var ConfigSchemaPassthrough$
|
|
18614
|
+
var ConfigSchemaPassthrough$3 = unknown();
|
|
18615
18615
|
var LlmProfileKindDescriptorSchema = object({
|
|
18616
18616
|
kind: LlmProfileKindSchema,
|
|
18617
18617
|
label: string(),
|
|
18618
18618
|
icon: string(),
|
|
18619
18619
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
18620
18620
|
addonId: string(),
|
|
18621
|
-
configSchema: ConfigSchemaPassthrough$
|
|
18621
|
+
configSchema: ConfigSchemaPassthrough$3
|
|
18622
18622
|
});
|
|
18623
18623
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
18624
18624
|
var LlmDefaultSchema = object({
|
|
@@ -19739,7 +19739,7 @@ var TargetKindCapsSchema = object({
|
|
|
19739
19739
|
* the union is large and not meant for runtime validation here; the exported
|
|
19740
19740
|
* `TargetKind` type re-tightens `configSchema` to `ConfigUISchema`.
|
|
19741
19741
|
*/
|
|
19742
|
-
var ConfigSchemaPassthrough = unknown();
|
|
19742
|
+
var ConfigSchemaPassthrough$2 = unknown();
|
|
19743
19743
|
var TargetKindSchema = object({
|
|
19744
19744
|
kind: string(),
|
|
19745
19745
|
label: string(),
|
|
@@ -19776,7 +19776,7 @@ var TargetKindSchema = object({
|
|
|
19776
19776
|
* its raster path, which is the safe default for an unknown image.
|
|
19777
19777
|
*/
|
|
19778
19778
|
iconMediaType: string().optional(),
|
|
19779
|
-
configSchema: ConfigSchemaPassthrough,
|
|
19779
|
+
configSchema: ConfigSchemaPassthrough$2,
|
|
19780
19780
|
/**
|
|
19781
19781
|
* The config keys that decide WHERE this kind's secrets are sent (server,
|
|
19782
19782
|
* base URL, instance, chat, recipient). A save that changes any of them
|
|
@@ -23113,6 +23113,61 @@ var OauthIntegrationDescriptorSchema = object({
|
|
|
23113
23113
|
});
|
|
23114
23114
|
method(_void(), OauthIntegrationDescriptorSchema, { auth: "admin" });
|
|
23115
23115
|
/**
|
|
23116
|
+
* `oidc-connections` — CRUD for IdP rows under `auth-oidc` (D828 sibling).
|
|
23117
|
+
*
|
|
23118
|
+
* One hub-only singleton (`auth-oidc`). The Settings UI is a DataTable +
|
|
23119
|
+
* ItemFormDialog; there is no `editable-array` in `globalSettingsSchema`.
|
|
23120
|
+
* Operator-chosen `id` is the URL slug (`/addon/auth-oidc/<id>/…`) and is
|
|
23121
|
+
* immutable after create.
|
|
23122
|
+
*/
|
|
23123
|
+
var ConfigSchemaPassthrough$1 = unknown();
|
|
23124
|
+
var OidcConnectionSchema = object({
|
|
23125
|
+
id: string().min(1),
|
|
23126
|
+
displayName: string(),
|
|
23127
|
+
icon: string(),
|
|
23128
|
+
issuerUrl: string(),
|
|
23129
|
+
clientId: string(),
|
|
23130
|
+
/** Client id + secret present — never the secret value. */
|
|
23131
|
+
configured: boolean(),
|
|
23132
|
+
/**
|
|
23133
|
+
* Values for the connection form schema. `clientSecret` is a keychain
|
|
23134
|
+
* {@link SecretFieldView} or `null` / `''`, never plaintext (D789).
|
|
23135
|
+
*/
|
|
23136
|
+
formValues: record(string(), unknown()).optional()
|
|
23137
|
+
});
|
|
23138
|
+
/**
|
|
23139
|
+
* Patch one connection. Omitted or empty `clientSecret` keeps the stored
|
|
23140
|
+
* secret (D787). `{ $secretClear: true }` clears it. `id` is never renamed.
|
|
23141
|
+
*/
|
|
23142
|
+
var OidcConnectionUpdateInputSchema = object({
|
|
23143
|
+
id: string().min(1),
|
|
23144
|
+
displayName: string().min(1),
|
|
23145
|
+
icon: string().optional(),
|
|
23146
|
+
issuerUrl: string().optional(),
|
|
23147
|
+
clientId: string().optional(),
|
|
23148
|
+
clientSecret: union([string(), object({ $secretClear: literal(true) })]).optional(),
|
|
23149
|
+
redirectUri: string().optional(),
|
|
23150
|
+
scopes: string().optional(),
|
|
23151
|
+
usernameClaim: _enum([
|
|
23152
|
+
"preferred_username",
|
|
23153
|
+
"email",
|
|
23154
|
+
"sub"
|
|
23155
|
+
]).optional()
|
|
23156
|
+
});
|
|
23157
|
+
method(object({}), ConfigSchemaPassthrough$1, { auth: "admin" }), method(object({}), array(OidcConnectionSchema).readonly(), { auth: "admin" }), method(object({
|
|
23158
|
+
id: string().min(1).regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "id must be a lowercase slug"),
|
|
23159
|
+
displayName: string().min(1)
|
|
23160
|
+
}), object({ id: string() }), {
|
|
23161
|
+
kind: "mutation",
|
|
23162
|
+
auth: "admin"
|
|
23163
|
+
}), method(OidcConnectionUpdateInputSchema, object({ ok: literal(true) }), {
|
|
23164
|
+
kind: "mutation",
|
|
23165
|
+
auth: "admin"
|
|
23166
|
+
}), method(object({ id: string().min(1) }), object({ ok: literal(true) }), {
|
|
23167
|
+
kind: "mutation",
|
|
23168
|
+
auth: "admin"
|
|
23169
|
+
});
|
|
23170
|
+
/**
|
|
23116
23171
|
* What started a camera's onboard motion (D672). `camera` is the camera's own
|
|
23117
23172
|
* firmware; `sensor` is a device the operator ATTACHED to it. Absent on the
|
|
23118
23173
|
* wire means the camera: only the camera-sensors bridge ever says `sensor`.
|
|
@@ -31785,7 +31840,7 @@ var CustomActionInputSchema = object({
|
|
|
31785
31840
|
action: string().min(1),
|
|
31786
31841
|
input: unknown()
|
|
31787
31842
|
});
|
|
31788
|
-
method(
|
|
31843
|
+
method(object({ nodeId: string().optional() }).optional(), array(AddonListItemSchema).readonly()), method(object({
|
|
31789
31844
|
addonId: string(),
|
|
31790
31845
|
limit: number().min(1).max(500).default(100),
|
|
31791
31846
|
level: LogLevelSchema$2.optional()
|
|
@@ -37266,6 +37321,7 @@ var OsdNamedTemplateSchema = object({
|
|
|
37266
37321
|
});
|
|
37267
37322
|
/** Where a slot's value comes from. */
|
|
37268
37323
|
var OsdSourceSchema = discriminatedUnion("kind", [
|
|
37324
|
+
object({ kind: literal("none") }),
|
|
37269
37325
|
object({
|
|
37270
37326
|
kind: literal("static"),
|
|
37271
37327
|
text: string().max(64)
|
|
@@ -37392,6 +37448,13 @@ method(object({ deviceId: number().int() }), object({
|
|
|
37392
37448
|
}), object({ success: literal(true) }), {
|
|
37393
37449
|
kind: "mutation",
|
|
37394
37450
|
auth: "admin"
|
|
37451
|
+
}), method(object({
|
|
37452
|
+
deviceId: number().int(),
|
|
37453
|
+
slotId: string().min(1),
|
|
37454
|
+
enabled: boolean()
|
|
37455
|
+
}), object({ success: literal(true) }), {
|
|
37456
|
+
kind: "mutation",
|
|
37457
|
+
auth: "admin"
|
|
37395
37458
|
}), method(object({
|
|
37396
37459
|
sourceDeviceId: number().int(),
|
|
37397
37460
|
targetDeviceId: number().int()
|
|
@@ -42614,6 +42677,12 @@ var TrainingProviderDefaultsSchema = object({
|
|
|
42614
42677
|
/** Hours a FAILED job's cloud dataset is kept for debugging; 0 = delete at once. */
|
|
42615
42678
|
failedDatasetGraceHours: number().nonnegative()
|
|
42616
42679
|
});
|
|
42680
|
+
/**
|
|
42681
|
+
* Entry form schema for a provider type — same seam as notification
|
|
42682
|
+
* `TargetKind.configSchema` (`z.unknown()` at the wire; callers tighten to
|
|
42683
|
+
* {@link ConfigUISchema}). Drives `ConfigFormBuilder` on Training → Providers.
|
|
42684
|
+
*/
|
|
42685
|
+
var ConfigSchemaPassthrough = unknown();
|
|
42617
42686
|
/** One creatable provider type, for the Add-entry dialog. */
|
|
42618
42687
|
var TrainingProviderTypeSchema = object({
|
|
42619
42688
|
typeId: string(),
|
|
@@ -42621,7 +42690,13 @@ var TrainingProviderTypeSchema = object({
|
|
|
42621
42690
|
/** Path under the addon package (e.g. `assets/training-modal/icon.svg`). */
|
|
42622
42691
|
iconAsset: string(),
|
|
42623
42692
|
/** Owning `training-provider` addon — collection selector for createEntry. */
|
|
42624
|
-
addonId: string()
|
|
42693
|
+
addonId: string(),
|
|
42694
|
+
/**
|
|
42695
|
+
* Fields for one entry of this type (credentials + defaults). Absent on a
|
|
42696
|
+
* type that only needs a name. Password fields are keychain-backed on the
|
|
42697
|
+
* provider addon (`secretStatePaths`), not D634 plaintext.
|
|
42698
|
+
*/
|
|
42699
|
+
configSchema: ConfigSchemaPassthrough.optional()
|
|
42625
42700
|
});
|
|
42626
42701
|
/** One configured account / workspace under a provider type. */
|
|
42627
42702
|
var TrainingProviderEntrySchema = object({
|
|
@@ -42651,7 +42726,30 @@ var TrainingProviderDescriptorSchema = object({
|
|
|
42651
42726
|
dataResidencyNote: string(),
|
|
42652
42727
|
/** Credentials are present — never the values. */
|
|
42653
42728
|
configured: boolean(),
|
|
42654
|
-
defaults: TrainingProviderDefaultsSchema
|
|
42729
|
+
defaults: TrainingProviderDefaultsSchema,
|
|
42730
|
+
/**
|
|
42731
|
+
* Values for {@link TrainingProviderTypeSchema}'s `configSchema` — password
|
|
42732
|
+
* fields are keychain {@link SecretFieldView} or `null` / `''` (create),
|
|
42733
|
+
* never plaintext. Same hydrate contract as settings forms (D789).
|
|
42734
|
+
*/
|
|
42735
|
+
formValues: record(string(), unknown()).optional()
|
|
42736
|
+
});
|
|
42737
|
+
/**
|
|
42738
|
+
* Patch one entry's name, credentials and defaults. Pin with owning `{ addonId }`.
|
|
42739
|
+
* An omitted or empty `tokenSecret` means KEEP the stored secret (D787).
|
|
42740
|
+
* `{ $secretClear: true }` clears it.
|
|
42741
|
+
*/
|
|
42742
|
+
var TrainingProviderUpdateEntryInputSchema = object({
|
|
42743
|
+
entryId: string().min(1),
|
|
42744
|
+
name: string().min(1),
|
|
42745
|
+
tokenId: string().optional(),
|
|
42746
|
+
tokenSecret: union([string(), object({ $secretClear: literal(true) })]).optional(),
|
|
42747
|
+
environment: string().optional(),
|
|
42748
|
+
gpuType: string().optional(),
|
|
42749
|
+
region: string().optional(),
|
|
42750
|
+
costCapUsd: number().nonnegative().optional(),
|
|
42751
|
+
maxRuntimeSec: number().int().positive().optional(),
|
|
42752
|
+
failedDatasetGraceHours: number().nonnegative().optional()
|
|
42655
42753
|
});
|
|
42656
42754
|
var TrainingCredentialCheckSchema = object({
|
|
42657
42755
|
ok: boolean(),
|
|
@@ -42721,6 +42819,9 @@ method(object({}), array(TrainingProviderDescriptorSchema).readonly(), { auth: "
|
|
|
42721
42819
|
}), method(object({ entryId: string().min(1) }), object({ ok: literal(true) }), {
|
|
42722
42820
|
kind: "mutation",
|
|
42723
42821
|
auth: "admin"
|
|
42822
|
+
}), method(TrainingProviderUpdateEntryInputSchema, object({ ok: literal(true) }), {
|
|
42823
|
+
kind: "mutation",
|
|
42824
|
+
auth: "admin"
|
|
42724
42825
|
}), method(object({ entryId: string().min(1) }), TrainingCredentialCheckSchema, {
|
|
42725
42826
|
kind: "mutation",
|
|
42726
42827
|
auth: "admin",
|
|
@@ -48621,6 +48722,36 @@ Object.freeze({
|
|
|
48621
48722
|
addonId: null,
|
|
48622
48723
|
access: "view"
|
|
48623
48724
|
},
|
|
48725
|
+
"oidcConnections.connectionFormSchema": {
|
|
48726
|
+
capName: "oidc-connections",
|
|
48727
|
+
capScope: "system",
|
|
48728
|
+
addonId: null,
|
|
48729
|
+
access: "view"
|
|
48730
|
+
},
|
|
48731
|
+
"oidcConnections.createConnection": {
|
|
48732
|
+
capName: "oidc-connections",
|
|
48733
|
+
capScope: "system",
|
|
48734
|
+
addonId: null,
|
|
48735
|
+
access: "create"
|
|
48736
|
+
},
|
|
48737
|
+
"oidcConnections.deleteConnection": {
|
|
48738
|
+
capName: "oidc-connections",
|
|
48739
|
+
capScope: "system",
|
|
48740
|
+
addonId: null,
|
|
48741
|
+
access: "delete"
|
|
48742
|
+
},
|
|
48743
|
+
"oidcConnections.listConnections": {
|
|
48744
|
+
capName: "oidc-connections",
|
|
48745
|
+
capScope: "system",
|
|
48746
|
+
addonId: null,
|
|
48747
|
+
access: "view"
|
|
48748
|
+
},
|
|
48749
|
+
"oidcConnections.updateConnection": {
|
|
48750
|
+
capName: "oidc-connections",
|
|
48751
|
+
capScope: "system",
|
|
48752
|
+
addonId: null,
|
|
48753
|
+
access: "create"
|
|
48754
|
+
},
|
|
48624
48755
|
"osd.getStatus": {
|
|
48625
48756
|
capName: "osd",
|
|
48626
48757
|
capScope: "device",
|
|
@@ -48693,6 +48824,12 @@ Object.freeze({
|
|
|
48693
48824
|
addonId: null,
|
|
48694
48825
|
access: "create"
|
|
48695
48826
|
},
|
|
48827
|
+
"osdManager.setSlotCameraEnabled": {
|
|
48828
|
+
capName: "osd-manager",
|
|
48829
|
+
capScope: "system",
|
|
48830
|
+
addonId: null,
|
|
48831
|
+
access: "create"
|
|
48832
|
+
},
|
|
48696
48833
|
"osdManager.upsertTemplate": {
|
|
48697
48834
|
capName: "osd-manager",
|
|
48698
48835
|
capScope: "system",
|
|
@@ -51801,6 +51938,12 @@ Object.freeze({
|
|
|
51801
51938
|
addonId: null,
|
|
51802
51939
|
access: "create"
|
|
51803
51940
|
},
|
|
51941
|
+
"trainingProvider.updateEntry": {
|
|
51942
|
+
capName: "training-provider",
|
|
51943
|
+
capScope: "system",
|
|
51944
|
+
addonId: null,
|
|
51945
|
+
access: "create"
|
|
51946
|
+
},
|
|
51804
51947
|
"trainingProvider.uploadDataset": {
|
|
51805
51948
|
capName: "training-provider",
|
|
51806
51949
|
capScope: "system",
|
|
@@ -55007,6 +55150,11 @@ Object.freeze({
|
|
|
55007
55150
|
form: "single",
|
|
55008
55151
|
optional: false
|
|
55009
55152
|
}],
|
|
55153
|
+
"osdManager.setSlotCameraEnabled": [{
|
|
55154
|
+
name: "deviceId",
|
|
55155
|
+
form: "single",
|
|
55156
|
+
optional: false
|
|
55157
|
+
}],
|
|
55010
55158
|
"petFeeder.callPet": [{
|
|
55011
55159
|
name: "deviceId",
|
|
55012
55160
|
form: "single",
|
|
@@ -56341,6 +56489,7 @@ Object.freeze({
|
|
|
56341
56489
|
});
|
|
56342
56490
|
Object.freeze({
|
|
56343
56491
|
"broker": "broker",
|
|
56492
|
+
"calendar-source": "calendar",
|
|
56344
56493
|
"device-export": "device-export",
|
|
56345
56494
|
"llm": "ai",
|
|
56346
56495
|
"mesh-network": "mesh",
|
package/package.json
CHANGED