@camstack/types 1.2.96 → 1.2.98
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/capabilities/local-network.cap.d.ts +78 -4
- package/dist/capabilities/terminal-session.cap.d.ts +66 -0
- package/dist/generated/addon-api.d.ts +42 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +194 -10
- package/dist/index.mjs +187 -11
- package/dist/pipeline/cluster-model-scope.d.ts +37 -0
- package/package.json +1 -1
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
*
|
|
12
12
|
* • The SDK (mobile / web client) consumes `getConnectionEndpoints()`
|
|
13
13
|
* to receive an ordered list of candidate base URLs it should race
|
|
14
|
-
* on connect — LAN IPv4 first (lowest latency
|
|
15
|
-
* then public hostname (if a tunnel is
|
|
16
|
-
* race them with short timeouts and stick with the
|
|
17
|
-
* session.
|
|
14
|
+
* on connect — LAN IPv4 and stable LAN IPv6 first (lowest latency
|
|
15
|
+
* when on the same network), then public hostname (if a tunnel is
|
|
16
|
+
* up). The SDK can race them with short timeouts and stick with the
|
|
17
|
+
* winner for the session.
|
|
18
18
|
*
|
|
19
19
|
* Why hub-only: agents are not directly addressable by the operator's
|
|
20
20
|
* clients — they reverse-connect to the hub. Exposing their interfaces
|
|
@@ -285,6 +285,80 @@ export declare const localNetworkCapability: {
|
|
|
285
285
|
readonly resetAllowlistToBestMatch: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
286
286
|
addresses: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
287
287
|
}, z.core.$strip>, "mutation">;
|
|
288
|
+
/**
|
|
289
|
+
* Live TLS material for the Network → Local access certificate card.
|
|
290
|
+
* LAN HTTP / hostname are addon settings (`globalSettingsSchema`), not
|
|
291
|
+
* a second store — this query is status, not configuration.
|
|
292
|
+
*/
|
|
293
|
+
readonly getTlsStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
294
|
+
mode: z.ZodEnum<{
|
|
295
|
+
disabled: "disabled";
|
|
296
|
+
generated: "generated";
|
|
297
|
+
uploaded: "uploaded";
|
|
298
|
+
}>;
|
|
299
|
+
leafFingerprintSha256: z.ZodNullable<z.ZodString>;
|
|
300
|
+
caFingerprintSha256: z.ZodNullable<z.ZodString>;
|
|
301
|
+
validTo: z.ZodNullable<z.ZodString>;
|
|
302
|
+
sans: z.ZodArray<z.ZodString>;
|
|
303
|
+
caCertPem: z.ZodNullable<z.ZodString>;
|
|
304
|
+
reissueError: z.ZodNullable<z.ZodString>;
|
|
305
|
+
restartRequired: z.ZodBoolean;
|
|
306
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
307
|
+
/** Issue a new leaf under the existing local CA. Disabled in uploaded mode. */
|
|
308
|
+
readonly regenerateCertificate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
309
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
310
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
311
|
+
mode: z.ZodEnum<{
|
|
312
|
+
disabled: "disabled";
|
|
313
|
+
generated: "generated";
|
|
314
|
+
uploaded: "uploaded";
|
|
315
|
+
}>;
|
|
316
|
+
leafFingerprintSha256: z.ZodNullable<z.ZodString>;
|
|
317
|
+
caFingerprintSha256: z.ZodNullable<z.ZodString>;
|
|
318
|
+
validTo: z.ZodNullable<z.ZodString>;
|
|
319
|
+
sans: z.ZodArray<z.ZodString>;
|
|
320
|
+
caCertPem: z.ZodNullable<z.ZodString>;
|
|
321
|
+
reissueError: z.ZodNullable<z.ZodString>;
|
|
322
|
+
restartRequired: z.ZodBoolean;
|
|
323
|
+
}, z.core.$strip>, "mutation">;
|
|
324
|
+
/** Replace the served material with operator-supplied PEMs. */
|
|
325
|
+
readonly uploadCertificate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
326
|
+
certPem: z.ZodString;
|
|
327
|
+
keyPem: z.ZodString;
|
|
328
|
+
caPem: z.ZodOptional<z.ZodString>;
|
|
329
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
330
|
+
mode: z.ZodEnum<{
|
|
331
|
+
disabled: "disabled";
|
|
332
|
+
generated: "generated";
|
|
333
|
+
uploaded: "uploaded";
|
|
334
|
+
}>;
|
|
335
|
+
leafFingerprintSha256: z.ZodNullable<z.ZodString>;
|
|
336
|
+
caFingerprintSha256: z.ZodNullable<z.ZodString>;
|
|
337
|
+
validTo: z.ZodNullable<z.ZodString>;
|
|
338
|
+
sans: z.ZodArray<z.ZodString>;
|
|
339
|
+
caCertPem: z.ZodNullable<z.ZodString>;
|
|
340
|
+
reissueError: z.ZodNullable<z.ZodString>;
|
|
341
|
+
restartRequired: z.ZodBoolean;
|
|
342
|
+
}, z.core.$strip>, "mutation">;
|
|
343
|
+
/** The local CA PEM, or empty when there is none to download. */
|
|
344
|
+
readonly downloadCa: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
345
|
+
pem: z.ZodString;
|
|
346
|
+
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
347
|
+
/** Drop uploaded material and return to the generated local CA. */
|
|
348
|
+
readonly revertToGeneratedCertificate: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
349
|
+
mode: z.ZodEnum<{
|
|
350
|
+
disabled: "disabled";
|
|
351
|
+
generated: "generated";
|
|
352
|
+
uploaded: "uploaded";
|
|
353
|
+
}>;
|
|
354
|
+
leafFingerprintSha256: z.ZodNullable<z.ZodString>;
|
|
355
|
+
caFingerprintSha256: z.ZodNullable<z.ZodString>;
|
|
356
|
+
validTo: z.ZodNullable<z.ZodString>;
|
|
357
|
+
sans: z.ZodArray<z.ZodString>;
|
|
358
|
+
caCertPem: z.ZodNullable<z.ZodString>;
|
|
359
|
+
reissueError: z.ZodNullable<z.ZodString>;
|
|
360
|
+
restartRequired: z.ZodBoolean;
|
|
361
|
+
}, z.core.$strip>, "mutation">;
|
|
288
362
|
};
|
|
289
363
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
290
364
|
readonly mount: {
|
|
@@ -26,6 +26,11 @@ declare const TerminalProfileInfoSchema: z.ZodObject<{
|
|
|
26
26
|
profileId: z.ZodString;
|
|
27
27
|
label: z.ZodString;
|
|
28
28
|
description: z.ZodOptional<z.ZodString>;
|
|
29
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
30
|
+
args: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
31
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
32
|
+
environment: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
33
|
+
settingsSchema: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
29
34
|
}, z.core.$strip>;
|
|
30
35
|
/**
|
|
31
36
|
* A durable operator-created Terminal instance. Profiles are templates; only
|
|
@@ -39,6 +44,11 @@ declare const TerminalInstanceInfoSchema: z.ZodObject<{
|
|
|
39
44
|
profileLabel: z.ZodString;
|
|
40
45
|
name: z.ZodString;
|
|
41
46
|
enabled: z.ZodBoolean;
|
|
47
|
+
executable: z.ZodString;
|
|
48
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
49
|
+
cwd: z.ZodString;
|
|
50
|
+
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
51
|
+
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
42
52
|
}, z.core.$strip>;
|
|
43
53
|
declare const TerminalLegacyCameraSchema: z.ZodObject<{
|
|
44
54
|
stableId: z.ZodString;
|
|
@@ -90,6 +100,11 @@ export declare const terminalSessionCapability: {
|
|
|
90
100
|
profileId: z.ZodString;
|
|
91
101
|
label: z.ZodString;
|
|
92
102
|
description: z.ZodOptional<z.ZodString>;
|
|
103
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
104
|
+
args: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
105
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
106
|
+
environment: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
107
|
+
settingsSchema: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
93
108
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
94
109
|
/** Explicit durable Terminal instances, managed centrally on the hub. */
|
|
95
110
|
readonly listInstances: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -100,11 +115,21 @@ export declare const terminalSessionCapability: {
|
|
|
100
115
|
profileLabel: z.ZodString;
|
|
101
116
|
name: z.ZodString;
|
|
102
117
|
enabled: z.ZodBoolean;
|
|
118
|
+
executable: z.ZodString;
|
|
119
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
120
|
+
cwd: z.ZodString;
|
|
121
|
+
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
122
|
+
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
103
123
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
104
124
|
readonly createInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
105
125
|
targetNodeId: z.ZodString;
|
|
106
126
|
profileId: z.ZodString;
|
|
107
127
|
name: z.ZodOptional<z.ZodString>;
|
|
128
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
129
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
130
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
131
|
+
environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
132
|
+
profileSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
108
133
|
}, z.core.$strip>, z.ZodObject<{
|
|
109
134
|
instanceId: z.ZodString;
|
|
110
135
|
cameraStableId: z.ZodString;
|
|
@@ -113,6 +138,33 @@ export declare const terminalSessionCapability: {
|
|
|
113
138
|
profileLabel: z.ZodString;
|
|
114
139
|
name: z.ZodString;
|
|
115
140
|
enabled: z.ZodBoolean;
|
|
141
|
+
executable: z.ZodString;
|
|
142
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
143
|
+
cwd: z.ZodString;
|
|
144
|
+
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
145
|
+
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
146
|
+
}, z.core.$strip>, "mutation">;
|
|
147
|
+
readonly updateInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
148
|
+
instanceId: z.ZodString;
|
|
149
|
+
name: z.ZodOptional<z.ZodString>;
|
|
150
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
151
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
152
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
153
|
+
environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
154
|
+
profileSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
156
|
+
instanceId: z.ZodString;
|
|
157
|
+
cameraStableId: z.ZodString;
|
|
158
|
+
nodeId: z.ZodString;
|
|
159
|
+
profileId: z.ZodString;
|
|
160
|
+
profileLabel: z.ZodString;
|
|
161
|
+
name: z.ZodString;
|
|
162
|
+
enabled: z.ZodBoolean;
|
|
163
|
+
executable: z.ZodString;
|
|
164
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
165
|
+
cwd: z.ZodString;
|
|
166
|
+
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
167
|
+
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
116
168
|
}, z.core.$strip>, "mutation">;
|
|
117
169
|
readonly deleteInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
118
170
|
instanceId: z.ZodString;
|
|
@@ -128,6 +180,11 @@ export declare const terminalSessionCapability: {
|
|
|
128
180
|
profileLabel: z.ZodString;
|
|
129
181
|
name: z.ZodString;
|
|
130
182
|
enabled: z.ZodBoolean;
|
|
183
|
+
executable: z.ZodString;
|
|
184
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
185
|
+
cwd: z.ZodString;
|
|
186
|
+
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
187
|
+
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
131
188
|
}, z.core.$strip>, "mutation">;
|
|
132
189
|
/** Existing automatic cameras are shown for explicit migration only. */
|
|
133
190
|
readonly listLegacyCameras: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -150,6 +207,11 @@ export declare const terminalSessionCapability: {
|
|
|
150
207
|
profileLabel: z.ZodString;
|
|
151
208
|
name: z.ZodString;
|
|
152
209
|
enabled: z.ZodBoolean;
|
|
210
|
+
executable: z.ZodString;
|
|
211
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
212
|
+
cwd: z.ZodString;
|
|
213
|
+
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
214
|
+
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
153
215
|
}, z.core.$strip>, "mutation">;
|
|
154
216
|
/** Live sessions currently hosted by the provider. */
|
|
155
217
|
readonly listSessions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -168,6 +230,10 @@ export declare const terminalSessionCapability: {
|
|
|
168
230
|
profileId: z.ZodString;
|
|
169
231
|
cols: z.ZodNumber;
|
|
170
232
|
rows: z.ZodNumber;
|
|
233
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
234
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
235
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
236
|
+
environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
171
237
|
}, z.core.$strip>, z.ZodObject<{
|
|
172
238
|
sessionId: z.ZodString;
|
|
173
239
|
profileId: z.ZodString;
|
|
@@ -3613,6 +3613,41 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
3613
3613
|
output: z.infer<typeof localNetworkCapability.methods.resetAllowlistToBestMatch.output>;
|
|
3614
3614
|
meta: object;
|
|
3615
3615
|
}>;
|
|
3616
|
+
getTlsStatus: TRPCQueryProcedure<{
|
|
3617
|
+
input: {
|
|
3618
|
+
nodeId?: string | undefined;
|
|
3619
|
+
} | undefined;
|
|
3620
|
+
output: z.infer<typeof localNetworkCapability.methods.getTlsStatus.output>;
|
|
3621
|
+
meta: object;
|
|
3622
|
+
}>;
|
|
3623
|
+
regenerateCertificate: TRPCMutationProcedure<{
|
|
3624
|
+
input: {
|
|
3625
|
+
[x: string]: unknown;
|
|
3626
|
+
} & z.input<typeof localNetworkCapability.methods.regenerateCertificate.input>;
|
|
3627
|
+
output: z.infer<typeof localNetworkCapability.methods.regenerateCertificate.output>;
|
|
3628
|
+
meta: object;
|
|
3629
|
+
}>;
|
|
3630
|
+
uploadCertificate: TRPCMutationProcedure<{
|
|
3631
|
+
input: {
|
|
3632
|
+
[x: string]: unknown;
|
|
3633
|
+
} & z.input<typeof localNetworkCapability.methods.uploadCertificate.input>;
|
|
3634
|
+
output: z.infer<typeof localNetworkCapability.methods.uploadCertificate.output>;
|
|
3635
|
+
meta: object;
|
|
3636
|
+
}>;
|
|
3637
|
+
downloadCa: TRPCQueryProcedure<{
|
|
3638
|
+
input: {
|
|
3639
|
+
nodeId?: string | undefined;
|
|
3640
|
+
} | undefined;
|
|
3641
|
+
output: z.infer<typeof localNetworkCapability.methods.downloadCa.output>;
|
|
3642
|
+
meta: object;
|
|
3643
|
+
}>;
|
|
3644
|
+
revertToGeneratedCertificate: TRPCMutationProcedure<{
|
|
3645
|
+
input: {
|
|
3646
|
+
nodeId?: string | undefined;
|
|
3647
|
+
} | undefined;
|
|
3648
|
+
output: z.infer<typeof localNetworkCapability.methods.revertToGeneratedCertificate.output>;
|
|
3649
|
+
meta: object;
|
|
3650
|
+
}>;
|
|
3616
3651
|
}>>;
|
|
3617
3652
|
lockControl: TRPCBuiltRouter<{
|
|
3618
3653
|
ctx: TrpcContext;
|
|
@@ -7611,6 +7646,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
7611
7646
|
output: z.infer<typeof terminalSessionCapability.methods.createInstance.output>;
|
|
7612
7647
|
meta: object;
|
|
7613
7648
|
}>;
|
|
7649
|
+
updateInstance: TRPCMutationProcedure<{
|
|
7650
|
+
input: {
|
|
7651
|
+
[x: string]: unknown;
|
|
7652
|
+
} & z.input<typeof terminalSessionCapability.methods.updateInstance.input>;
|
|
7653
|
+
output: z.infer<typeof terminalSessionCapability.methods.updateInstance.output>;
|
|
7654
|
+
meta: object;
|
|
7655
|
+
}>;
|
|
7614
7656
|
deleteInstance: TRPCMutationProcedure<{
|
|
7615
7657
|
input: {
|
|
7616
7658
|
[x: string]: unknown;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 949 method paths across 123 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -74,7 +74,7 @@ export interface SystemProxy {
|
|
|
74
74
|
readonly faceGallery: Pick<InferProvider<typeof faceGalleryCapability>, 'listIdentities' | 'createIdentity' | 'renameIdentity' | 'deleteIdentity' | 'listIdentitySamples' | 'removeSample' | 'getFaceMedia' | 'assignFace' | 'unassignFace' | 'deleteFace' | 'assignFaces' | 'unassignFaces' | 'suggestFaceClusters'>;
|
|
75
75
|
readonly integrations: Pick<InferProvider<typeof integrationsCapability>, 'list' | 'get' | 'getByAddonId' | 'create' | 'update' | 'delete' | 'getSettings' | 'setSettings' | 'getAvailableTypes' | 'testConnection'>;
|
|
76
76
|
readonly llm: Pick<InferProvider<typeof llmCapability>, 'generate' | 'generateVision' | 'cancel' | 'listProfileKinds' | 'listProfiles' | 'upsertProfile' | 'deleteProfile' | 'testProfile' | 'listModels' | 'getDefaults' | 'setDefault' | 'getUsage' | 'listModelCatalog' | 'listRuntimeNodes' | 'listNodeModels' | 'resolveModelRef' | 'installModel' | 'deleteModel' | 'getRuntimeStatus' | 'startRuntime' | 'stopRuntime'>;
|
|
77
|
-
readonly localNetwork: Pick<InferProvider<typeof localNetworkCapability>, 'list' | 'getPreferred' | 'getConnectionEndpoints' | 'getNotificationEndpoint' | 'setNotificationEndpoint' | 'getAllowedAddresses' | 'setAllowedAddresses' | 'resetAllowlistToBestMatch'>;
|
|
77
|
+
readonly localNetwork: Pick<InferProvider<typeof localNetworkCapability>, 'list' | 'getPreferred' | 'getConnectionEndpoints' | 'getNotificationEndpoint' | 'setNotificationEndpoint' | 'getAllowedAddresses' | 'setAllowedAddresses' | 'resetAllowlistToBestMatch' | 'getTlsStatus' | 'regenerateCertificate' | 'uploadCertificate' | 'downloadCa' | 'revertToGeneratedCertificate'>;
|
|
78
78
|
readonly meshNetwork: Pick<InferProvider<typeof meshNetworkCapability>, 'getStatus' | 'join' | 'startLogin' | 'leave' | 'logout' | 'listPeers' | 'testConnection'>;
|
|
79
79
|
readonly metricsProvider: Pick<InferProvider<typeof metricsProviderCapability>, 'collectSnapshot' | 'getCached' | 'getCurrent' | 'getDiskSpace' | 'getGpuInfo' | 'getCpuTemperature' | 'getProcessStats' | 'listAddonInstances' | 'getAddonStats' | 'listNodeProcesses' | 'killProcess' | 'dumpHeapSnapshot'>;
|
|
80
80
|
readonly mqttBroker: Pick<InferProvider<typeof mqttBrokerCapability>, 'listBrokers' | 'getBrokerConfig' | 'addBroker' | 'removeBroker' | 'testConnection' | 'startEmbeddedBroker' | 'stopEmbeddedBroker' | 'getStatus'>;
|
|
@@ -95,7 +95,7 @@ export interface SystemProxy {
|
|
|
95
95
|
readonly storageMigration: Pick<InferProvider<typeof storageMigrationCapability>, 'plan' | 'start' | 'status' | 'cancel'>;
|
|
96
96
|
readonly streamBroker: Pick<InferProvider<typeof streamBrokerCapability>, 'fetchEventMedia' | 'listAllCameraStreams' | 'listAllProfileSlots' | 'getBrokerStats' | 'probeStream' | 'listClients' | 'killClient' | 'getStreamUrl' | 'getStreamWithCodec' | 'releaseStreamWithCodec' | 'acquireEgressTranscode' | 'releaseEgressTranscode' | 'subscribeAudioChunks' | 'pullAudioChunks' | 'unsubscribeAudioChunks' | 'subscribeFrames' | 'pullFrameHandles' | 'unsubscribeFrames' | 'setPreBufferDuration' | 'getPreBufferInfo' | 'getRtspPort' | 'getAllRtspEntries' | 'getRtspEntry' | 'regenerateRtspToken' | 'setRtspEnabled' | 'isRtspEnabled'>;
|
|
97
97
|
readonly system: Pick<InferProvider<typeof systemCapability>, 'info' | 'health' | 'featureFlags' | 'networkAddresses' | 'getRetentionConfig' | 'setRetentionConfig' | 'forceRetentionCleanup' | 'getSiteLocation' | 'setSiteLocation' | 'detectSiteLocation'>;
|
|
98
|
-
readonly terminalSession: Pick<InferProvider<typeof terminalSessionCapability>, 'listProfiles' | 'listInstances' | 'createInstance' | 'deleteInstance' | 'setInstanceEnabled' | 'listLegacyCameras' | 'adoptLegacyMonitor' | 'listSessions' | 'openSession' | 'resize' | 'pullOutput' | 'writeInput' | 'close'>;
|
|
98
|
+
readonly terminalSession: Pick<InferProvider<typeof terminalSessionCapability>, 'listProfiles' | 'listInstances' | 'createInstance' | 'updateInstance' | 'deleteInstance' | 'setInstanceEnabled' | 'listLegacyCameras' | 'adoptLegacyMonitor' | 'listSessions' | 'openSession' | 'resize' | 'pullOutput' | 'writeInput' | 'close'>;
|
|
99
99
|
readonly toast: Pick<InferProvider<typeof toastCapability>, 'onToast'>;
|
|
100
100
|
readonly turnProvider: Pick<InferProvider<typeof turnProviderCapability>, 'getTurnServers'>;
|
|
101
101
|
readonly userManagement: Pick<InferProvider<typeof userManagementCapability>, 'listUsers' | 'createUser' | 'updateUser' | 'deleteUser' | 'resetPassword' | 'setUserScopes' | 'validateCredentials' | 'listApiKeys' | 'createApiKey' | 'revokeApiKey' | 'validateApiKey' | 'createScopedToken' | 'revokeScopedToken' | 'validateScopedToken' | 'listScopedTokens' | 'setupTotp' | 'confirmTotp' | 'disableTotp' | 'getTotpStatus' | 'verifyTotp' | 'oauthIssueCode' | 'oauthExchangeCode' | 'oauthRefresh' | 'oauthVerifyAccessToken' | 'listOauthSessions' | 'revokeOauthSession'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -199,7 +199,7 @@ export { isScheduleActive } from './notification/schedule.js';
|
|
|
199
199
|
export { NC_SYSTEM_EVENT_FILTER_KEYS, type NcSystemEventFilterKey, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, } from './notification/system-event-filters.js';
|
|
200
200
|
export type { TimelapseCadencePair, TimelapsePreviewMode, TimelapseRule, TimelapseRuleInput, TimelapseRulePatch, TimelapseTemplate, } from './notification/timelapse-rule.js';
|
|
201
201
|
export { assertTimelapseCadences, DEFAULT_TIMELAPSE_PREVIEW_TEXT, readTimelapseGeneratedAt, TIMELAPSE_DENSE_FLOOR_SEC, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, } from './notification/timelapse-rule.js';
|
|
202
|
-
export { CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, type ClusterModelScopedStep, type ClusterStepModels, clusterModelSettingKey, DEFAULT_CLUSTER_STEP_MODELS, type HydratedClusterSection, type HydratedClusterView, isClusterScopedStep, pickClusterStepModels, readClusterStepModels, resolveClusterStepModelId, type StepModelScope, } from './pipeline/cluster-model-scope.js';
|
|
202
|
+
export { CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, type ClusterModelScopedStep, type ClusterStepModels, type ClusterStepSettingField, type ClusterStepSettings, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, type HydratedClusterSection, type HydratedClusterView, isClusterScopedStep, overlayClusterStepSettings, pickClusterStepModels, pickClusterStepSettings, readClusterStepModels, readClusterStepSettings, resolveClusterStepModelId, type StepModelScope, } from './pipeline/cluster-model-scope.js';
|
|
203
203
|
export { DEFAULT_DETAIL_CROP_CONVENTION, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, FULL_IMAGE_BBOX, type DetailCropConvention, DetailCropConventionSchema, type DetailCropRect, deriveDetailCropRect, type HydratedSettingsSection, type HydratedSettingsView, pickDetailCropConvention, readDetailCropConvention, } from './pipeline/detail-crop.js';
|
|
204
204
|
export { DEFAULT_NATIVE_LEASE_SETTINGS, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, type NativeLeaseAdmission, NativeLeaseAdmissionSchema, type NativeLeaseKnob, type NativeLeaseNumberKnob, type NativeLeaseSettings, type NativeLeaseSettingsOverride, NativeLeaseSettingsSchema, pickNativeLeaseOverride, readNativeLeaseOverride, } from './pipeline/native-lease.js';
|
|
205
205
|
export { ACCESS_ROLES, type AccessRoleAssignment, type AccessRoleId, type AccessRoleSpec, buildRoleScopes, detectAccessRole, roleSpec, } from './schemas/access-roles.js';
|
package/dist/index.js
CHANGED
|
@@ -19779,6 +19779,9 @@ var storageProviderCapability = {
|
|
|
19779
19779
|
};
|
|
19780
19780
|
//#endregion
|
|
19781
19781
|
//#region src/capabilities/terminal-session.cap.ts
|
|
19782
|
+
/** Profile-exported FormBuilder schema. Shape is ConfigUISchema at the UI. */
|
|
19783
|
+
var ProfileSettingsSchemaBridge = zod.z.unknown().nullable();
|
|
19784
|
+
var ProfileSettingsBagSchema = zod.z.record(zod.z.string(), zod.z.unknown());
|
|
19782
19785
|
/**
|
|
19783
19786
|
* A live terminal session hosted by the provider addon. Output and input do
|
|
19784
19787
|
* NOT flow through the capability — they use the addon data plane
|
|
@@ -19808,7 +19811,14 @@ var TerminalSessionInfoSchema = zod.z.object({
|
|
|
19808
19811
|
var TerminalProfileInfoSchema = zod.z.object({
|
|
19809
19812
|
profileId: zod.z.string(),
|
|
19810
19813
|
label: zod.z.string(),
|
|
19811
|
-
description: zod.z.string().optional()
|
|
19814
|
+
description: zod.z.string().optional(),
|
|
19815
|
+
/** Spawn defaults the instance form copies on create. */
|
|
19816
|
+
executable: zod.z.string().optional(),
|
|
19817
|
+
args: zod.z.array(zod.z.string()).readonly().optional(),
|
|
19818
|
+
cwd: zod.z.string().optional(),
|
|
19819
|
+
environment: zod.z.array(zod.z.string()).readonly().optional(),
|
|
19820
|
+
/** ConfigUISchema for instance knobs, or null when the profile has none. */
|
|
19821
|
+
settingsSchema: ProfileSettingsSchemaBridge.optional()
|
|
19812
19822
|
});
|
|
19813
19823
|
/**
|
|
19814
19824
|
* A durable operator-created Terminal instance. Profiles are templates; only
|
|
@@ -19821,7 +19831,12 @@ var TerminalInstanceInfoSchema = zod.z.object({
|
|
|
19821
19831
|
profileId: zod.z.string(),
|
|
19822
19832
|
profileLabel: zod.z.string(),
|
|
19823
19833
|
name: zod.z.string(),
|
|
19824
|
-
enabled: zod.z.boolean()
|
|
19834
|
+
enabled: zod.z.boolean(),
|
|
19835
|
+
executable: zod.z.string(),
|
|
19836
|
+
args: zod.z.array(zod.z.string()).readonly(),
|
|
19837
|
+
cwd: zod.z.string(),
|
|
19838
|
+
environment: zod.z.array(zod.z.string()).readonly(),
|
|
19839
|
+
profileSettings: ProfileSettingsBagSchema
|
|
19825
19840
|
});
|
|
19826
19841
|
var TerminalLegacyCameraSchema = zod.z.object({
|
|
19827
19842
|
stableId: zod.z.string(),
|
|
@@ -19867,7 +19882,24 @@ var terminalSessionCapability = {
|
|
|
19867
19882
|
createInstance: require_sleep.method(zod.z.object({
|
|
19868
19883
|
targetNodeId: zod.z.string().min(1),
|
|
19869
19884
|
profileId: zod.z.string().min(1),
|
|
19870
|
-
name: zod.z.string().trim().min(1).max(160).optional()
|
|
19885
|
+
name: zod.z.string().trim().min(1).max(160).optional(),
|
|
19886
|
+
executable: zod.z.string().max(1024).optional(),
|
|
19887
|
+
args: zod.z.array(zod.z.string().max(2048)).max(64).optional(),
|
|
19888
|
+
cwd: zod.z.string().max(1024).optional(),
|
|
19889
|
+
environment: zod.z.array(zod.z.string().max(4096)).max(64).optional(),
|
|
19890
|
+
profileSettings: ProfileSettingsBagSchema.optional()
|
|
19891
|
+
}), TerminalInstanceInfoSchema, {
|
|
19892
|
+
kind: "mutation",
|
|
19893
|
+
auth: "admin"
|
|
19894
|
+
}),
|
|
19895
|
+
updateInstance: require_sleep.method(zod.z.object({
|
|
19896
|
+
instanceId: zod.z.string().min(1),
|
|
19897
|
+
name: zod.z.string().trim().min(1).max(160).optional(),
|
|
19898
|
+
executable: zod.z.string().max(1024).optional(),
|
|
19899
|
+
args: zod.z.array(zod.z.string().max(2048)).max(64).optional(),
|
|
19900
|
+
cwd: zod.z.string().max(1024).optional(),
|
|
19901
|
+
environment: zod.z.array(zod.z.string().max(4096)).max(64).optional(),
|
|
19902
|
+
profileSettings: ProfileSettingsBagSchema.optional()
|
|
19871
19903
|
}), TerminalInstanceInfoSchema, {
|
|
19872
19904
|
kind: "mutation",
|
|
19873
19905
|
auth: "admin"
|
|
@@ -19902,7 +19934,11 @@ var terminalSessionCapability = {
|
|
|
19902
19934
|
openSession: require_sleep.method(zod.z.object({
|
|
19903
19935
|
profileId: zod.z.string(),
|
|
19904
19936
|
cols: zod.z.number().int().positive(),
|
|
19905
|
-
rows: zod.z.number().int().positive()
|
|
19937
|
+
rows: zod.z.number().int().positive(),
|
|
19938
|
+
executable: zod.z.string().max(1024).optional(),
|
|
19939
|
+
args: zod.z.array(zod.z.string().max(2048)).max(64).optional(),
|
|
19940
|
+
cwd: zod.z.string().max(1024).optional(),
|
|
19941
|
+
environment: zod.z.array(zod.z.string().max(4096)).max(64).optional()
|
|
19906
19942
|
}), TerminalSessionInfoSchema, {
|
|
19907
19943
|
kind: "mutation",
|
|
19908
19944
|
auth: "admin"
|
|
@@ -24502,10 +24538,10 @@ var lawnMowerControlCapability = {
|
|
|
24502
24538
|
*
|
|
24503
24539
|
* • The SDK (mobile / web client) consumes `getConnectionEndpoints()`
|
|
24504
24540
|
* to receive an ordered list of candidate base URLs it should race
|
|
24505
|
-
* on connect — LAN IPv4 first (lowest latency
|
|
24506
|
-
* then public hostname (if a tunnel is
|
|
24507
|
-
* race them with short timeouts and stick with the
|
|
24508
|
-
* session.
|
|
24541
|
+
* on connect — LAN IPv4 and stable LAN IPv6 first (lowest latency
|
|
24542
|
+
* when on the same network), then public hostname (if a tunnel is
|
|
24543
|
+
* up). The SDK can race them with short timeouts and stick with the
|
|
24544
|
+
* winner for the session.
|
|
24509
24545
|
*
|
|
24510
24546
|
* Why hub-only: agents are not directly addressable by the operator's
|
|
24511
24547
|
* clients — they reverse-connect to the hub. Exposing their interfaces
|
|
@@ -24668,6 +24704,20 @@ var AllowedAddressesSchema = zod.z.object({
|
|
|
24668
24704
|
* Network Addresses admin page and persisted by the addon.
|
|
24669
24705
|
*/
|
|
24670
24706
|
addresses: zod.z.array(zod.z.string()).readonly() });
|
|
24707
|
+
var TlsStatusSchema = zod.z.object({
|
|
24708
|
+
mode: zod.z.enum([
|
|
24709
|
+
"generated",
|
|
24710
|
+
"uploaded",
|
|
24711
|
+
"disabled"
|
|
24712
|
+
]),
|
|
24713
|
+
leafFingerprintSha256: zod.z.string().nullable(),
|
|
24714
|
+
caFingerprintSha256: zod.z.string().nullable(),
|
|
24715
|
+
validTo: zod.z.string().nullable(),
|
|
24716
|
+
sans: zod.z.array(zod.z.string()),
|
|
24717
|
+
caCertPem: zod.z.string().nullable(),
|
|
24718
|
+
reissueError: zod.z.string().nullable(),
|
|
24719
|
+
restartRequired: zod.z.boolean()
|
|
24720
|
+
});
|
|
24671
24721
|
var localNetworkCapability = {
|
|
24672
24722
|
name: "local-network",
|
|
24673
24723
|
scope: "system",
|
|
@@ -24773,7 +24823,34 @@ var localNetworkCapability = {
|
|
|
24773
24823
|
* when the operator wants to wipe their manual edits and start
|
|
24774
24824
|
* over from the auto-detected best matches.
|
|
24775
24825
|
*/
|
|
24776
|
-
resetAllowlistToBestMatch: require_sleep.method(zod.z.void(), AllowedAddressesSchema, { kind: "mutation" })
|
|
24826
|
+
resetAllowlistToBestMatch: require_sleep.method(zod.z.void(), AllowedAddressesSchema, { kind: "mutation" }),
|
|
24827
|
+
/**
|
|
24828
|
+
* Live TLS material for the Network → Local access certificate card.
|
|
24829
|
+
* LAN HTTP / hostname are addon settings (`globalSettingsSchema`), not
|
|
24830
|
+
* a second store — this query is status, not configuration.
|
|
24831
|
+
*/
|
|
24832
|
+
getTlsStatus: require_sleep.method(zod.z.void(), TlsStatusSchema),
|
|
24833
|
+
/** Issue a new leaf under the existing local CA. Disabled in uploaded mode. */
|
|
24834
|
+
regenerateCertificate: require_sleep.method(zod.z.object({ reason: zod.z.string().optional() }), TlsStatusSchema, {
|
|
24835
|
+
kind: "mutation",
|
|
24836
|
+
auth: "admin"
|
|
24837
|
+
}),
|
|
24838
|
+
/** Replace the served material with operator-supplied PEMs. */
|
|
24839
|
+
uploadCertificate: require_sleep.method(zod.z.object({
|
|
24840
|
+
certPem: zod.z.string().min(1),
|
|
24841
|
+
keyPem: zod.z.string().min(1),
|
|
24842
|
+
caPem: zod.z.string().optional()
|
|
24843
|
+
}), TlsStatusSchema, {
|
|
24844
|
+
kind: "mutation",
|
|
24845
|
+
auth: "admin"
|
|
24846
|
+
}),
|
|
24847
|
+
/** The local CA PEM, or empty when there is none to download. */
|
|
24848
|
+
downloadCa: require_sleep.method(zod.z.void(), zod.z.object({ pem: zod.z.string() })),
|
|
24849
|
+
/** Drop uploaded material and return to the generated local CA. */
|
|
24850
|
+
revertToGeneratedCertificate: require_sleep.method(zod.z.void(), TlsStatusSchema, {
|
|
24851
|
+
kind: "mutation",
|
|
24852
|
+
auth: "admin"
|
|
24853
|
+
})
|
|
24777
24854
|
},
|
|
24778
24855
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
24779
24856
|
mount: { kind: "hub-only" }
|
|
@@ -36704,6 +36781,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
36704
36781
|
addonId: null,
|
|
36705
36782
|
access: "create"
|
|
36706
36783
|
},
|
|
36784
|
+
"localNetwork.downloadCa": {
|
|
36785
|
+
capName: "local-network",
|
|
36786
|
+
capScope: "system",
|
|
36787
|
+
addonId: null,
|
|
36788
|
+
access: "view"
|
|
36789
|
+
},
|
|
36707
36790
|
"localNetwork.getAllowedAddresses": {
|
|
36708
36791
|
capName: "local-network",
|
|
36709
36792
|
capScope: "system",
|
|
@@ -36728,18 +36811,36 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
36728
36811
|
addonId: null,
|
|
36729
36812
|
access: "view"
|
|
36730
36813
|
},
|
|
36814
|
+
"localNetwork.getTlsStatus": {
|
|
36815
|
+
capName: "local-network",
|
|
36816
|
+
capScope: "system",
|
|
36817
|
+
addonId: null,
|
|
36818
|
+
access: "view"
|
|
36819
|
+
},
|
|
36731
36820
|
"localNetwork.list": {
|
|
36732
36821
|
capName: "local-network",
|
|
36733
36822
|
capScope: "system",
|
|
36734
36823
|
addonId: null,
|
|
36735
36824
|
access: "view"
|
|
36736
36825
|
},
|
|
36826
|
+
"localNetwork.regenerateCertificate": {
|
|
36827
|
+
capName: "local-network",
|
|
36828
|
+
capScope: "system",
|
|
36829
|
+
addonId: null,
|
|
36830
|
+
access: "create"
|
|
36831
|
+
},
|
|
36737
36832
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
36738
36833
|
capName: "local-network",
|
|
36739
36834
|
capScope: "system",
|
|
36740
36835
|
addonId: null,
|
|
36741
36836
|
access: "delete"
|
|
36742
36837
|
},
|
|
36838
|
+
"localNetwork.revertToGeneratedCertificate": {
|
|
36839
|
+
capName: "local-network",
|
|
36840
|
+
capScope: "system",
|
|
36841
|
+
addonId: null,
|
|
36842
|
+
access: "create"
|
|
36843
|
+
},
|
|
36743
36844
|
"localNetwork.setAllowedAddresses": {
|
|
36744
36845
|
capName: "local-network",
|
|
36745
36846
|
capScope: "system",
|
|
@@ -36752,6 +36853,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
36752
36853
|
addonId: null,
|
|
36753
36854
|
access: "create"
|
|
36754
36855
|
},
|
|
36856
|
+
"localNetwork.uploadCertificate": {
|
|
36857
|
+
capName: "local-network",
|
|
36858
|
+
capScope: "system",
|
|
36859
|
+
addonId: null,
|
|
36860
|
+
access: "create"
|
|
36861
|
+
},
|
|
36755
36862
|
"lockControl.lock": {
|
|
36756
36863
|
capName: "lock-control",
|
|
36757
36864
|
capScope: "device",
|
|
@@ -39632,6 +39739,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39632
39739
|
addonId: null,
|
|
39633
39740
|
access: "create"
|
|
39634
39741
|
},
|
|
39742
|
+
"terminalSession.updateInstance": {
|
|
39743
|
+
capName: "terminal-session",
|
|
39744
|
+
capScope: "system",
|
|
39745
|
+
addonId: null,
|
|
39746
|
+
access: "create"
|
|
39747
|
+
},
|
|
39635
39748
|
"terminalSession.writeInput": {
|
|
39636
39749
|
capName: "terminal-session",
|
|
39637
39750
|
capScope: "system",
|
|
@@ -42944,7 +43057,12 @@ function createSystemProxy(api) {
|
|
|
42944
43057
|
setNotificationEndpoint: (input) => dispatch("localNetwork", "setNotificationEndpoint", "mutation", input),
|
|
42945
43058
|
getAllowedAddresses: (input) => dispatch("localNetwork", "getAllowedAddresses", "query", input),
|
|
42946
43059
|
setAllowedAddresses: (input) => dispatch("localNetwork", "setAllowedAddresses", "mutation", input),
|
|
42947
|
-
resetAllowlistToBestMatch: (input) => dispatch("localNetwork", "resetAllowlistToBestMatch", "mutation", input)
|
|
43060
|
+
resetAllowlistToBestMatch: (input) => dispatch("localNetwork", "resetAllowlistToBestMatch", "mutation", input),
|
|
43061
|
+
getTlsStatus: (input) => dispatch("localNetwork", "getTlsStatus", "query", input),
|
|
43062
|
+
regenerateCertificate: (input) => dispatch("localNetwork", "regenerateCertificate", "mutation", input),
|
|
43063
|
+
uploadCertificate: (input) => dispatch("localNetwork", "uploadCertificate", "mutation", input),
|
|
43064
|
+
downloadCa: (input) => dispatch("localNetwork", "downloadCa", "query", input),
|
|
43065
|
+
revertToGeneratedCertificate: (input) => dispatch("localNetwork", "revertToGeneratedCertificate", "mutation", input)
|
|
42948
43066
|
},
|
|
42949
43067
|
meshNetwork: {
|
|
42950
43068
|
getStatus: (input) => dispatch("meshNetwork", "getStatus", "query", input),
|
|
@@ -43226,6 +43344,7 @@ function createSystemProxy(api) {
|
|
|
43226
43344
|
listProfiles: (input) => dispatch("terminalSession", "listProfiles", "query", input),
|
|
43227
43345
|
listInstances: (input) => dispatch("terminalSession", "listInstances", "query", input),
|
|
43228
43346
|
createInstance: (input) => dispatch("terminalSession", "createInstance", "mutation", input),
|
|
43347
|
+
updateInstance: (input) => dispatch("terminalSession", "updateInstance", "mutation", input),
|
|
43229
43348
|
deleteInstance: (input) => dispatch("terminalSession", "deleteInstance", "mutation", input),
|
|
43230
43349
|
setInstanceEnabled: (input) => dispatch("terminalSession", "setInstanceEnabled", "mutation", input),
|
|
43231
43350
|
listLegacyCameras: (input) => dispatch("terminalSession", "listLegacyCameras", "query", input),
|
|
@@ -44733,6 +44852,63 @@ function resolveClusterStepModelId(stepId, models) {
|
|
|
44733
44852
|
const chosen = models[stepId];
|
|
44734
44853
|
return chosen !== void 0 && chosen !== "" ? chosen : step.defaultModelId;
|
|
44735
44854
|
}
|
|
44855
|
+
/** Must match `DEFAULT_LANDMARK_PRECISION_FLOOR_PX` in the runner. */
|
|
44856
|
+
var DEFAULT_MIN_LANDMARK_FACE_SIZE_PX = 24;
|
|
44857
|
+
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
44858
|
+
stepId: "face-embedding",
|
|
44859
|
+
key: "minLandmarkFaceSize",
|
|
44860
|
+
label: "Min face size for recognition (detection px)",
|
|
44861
|
+
description: "Refuse to embed a face smaller than this IN THE DETECTION FRAME. Applies to every node — the enrolled gallery is one index, and two admission floors would fill it from two policies. 0 disables the gate.",
|
|
44862
|
+
type: "slider",
|
|
44863
|
+
min: 0,
|
|
44864
|
+
max: 64,
|
|
44865
|
+
step: 2,
|
|
44866
|
+
default: 24
|
|
44867
|
+
}];
|
|
44868
|
+
function clusterStepSettingKey(stepId, fieldKey) {
|
|
44869
|
+
return `clusterStepSetting:${stepId}:${fieldKey}`;
|
|
44870
|
+
}
|
|
44871
|
+
function clusterStepSettingFieldsFor(stepId) {
|
|
44872
|
+
return CLUSTER_STEP_SETTING_FIELDS.filter((field) => field.stepId === stepId);
|
|
44873
|
+
}
|
|
44874
|
+
var ClusterSettingNumberSchema = zod.z.number().finite();
|
|
44875
|
+
function readClusterStepSettings(config) {
|
|
44876
|
+
const out = {};
|
|
44877
|
+
for (const field of CLUSTER_STEP_SETTING_FIELDS) {
|
|
44878
|
+
const parsed = ClusterSettingNumberSchema.safeParse(config[clusterStepSettingKey(field.stepId, field.key)]);
|
|
44879
|
+
const value = parsed.success ? parsed.data : field.default;
|
|
44880
|
+
const existing = out[field.stepId] ?? {};
|
|
44881
|
+
out[field.stepId] = {
|
|
44882
|
+
...existing,
|
|
44883
|
+
[field.key]: value
|
|
44884
|
+
};
|
|
44885
|
+
}
|
|
44886
|
+
return out;
|
|
44887
|
+
}
|
|
44888
|
+
var DEFAULT_CLUSTER_STEP_SETTINGS = readClusterStepSettings({});
|
|
44889
|
+
function pickClusterStepSettings(view) {
|
|
44890
|
+
if (view === null) return DEFAULT_CLUSTER_STEP_SETTINGS;
|
|
44891
|
+
const flat = {};
|
|
44892
|
+
const wanted = new Set(CLUSTER_STEP_SETTING_FIELDS.map((field) => clusterStepSettingKey(field.stepId, field.key)));
|
|
44893
|
+
for (const section of view.sections) for (const entry of section.fields) {
|
|
44894
|
+
if (!isHydratedField$2(entry) || typeof entry.key !== "string") continue;
|
|
44895
|
+
if (wanted.has(entry.key)) flat[entry.key] = entry.value;
|
|
44896
|
+
}
|
|
44897
|
+
return readClusterStepSettings(flat);
|
|
44898
|
+
}
|
|
44899
|
+
/**
|
|
44900
|
+
* Cluster knobs win over leftover per-device values. The cluster row is the
|
|
44901
|
+
* authority; a device-local copy is a leftover of the old per-node editor.
|
|
44902
|
+
*/
|
|
44903
|
+
function overlayClusterStepSettings(stepId, deviceSettings, cluster) {
|
|
44904
|
+
const overlay = cluster[stepId];
|
|
44905
|
+
if (overlay === void 0 || Object.keys(overlay).length === 0) return deviceSettings === void 0 ? void 0 : { ...deviceSettings };
|
|
44906
|
+
if (deviceSettings === void 0) return { ...overlay };
|
|
44907
|
+
return {
|
|
44908
|
+
...deviceSettings,
|
|
44909
|
+
...overlay
|
|
44910
|
+
};
|
|
44911
|
+
}
|
|
44736
44912
|
//#endregion
|
|
44737
44913
|
//#region src/pipeline/detail-crop.ts
|
|
44738
44914
|
/**
|
|
@@ -47208,6 +47384,7 @@ exports.CAP_NODE_PIN_CONTEXT_KEY = require_sleep.CAP_NODE_PIN_CONTEXT_KEY;
|
|
|
47208
47384
|
exports.CAP_PROVIDER_KIND_MAP = CAP_PROVIDER_KIND_MAP;
|
|
47209
47385
|
exports.CLUSTER_MODEL_SCOPED_STEPS = CLUSTER_MODEL_SCOPED_STEPS;
|
|
47210
47386
|
exports.CLUSTER_MODEL_SECTION_ID = CLUSTER_MODEL_SECTION_ID;
|
|
47387
|
+
exports.CLUSTER_STEP_SETTING_FIELDS = CLUSTER_STEP_SETTING_FIELDS;
|
|
47211
47388
|
exports.COCO_80_LABELS = COCO_80_LABELS;
|
|
47212
47389
|
exports.COCO_TO_MACRO = COCO_TO_MACRO;
|
|
47213
47390
|
exports.CONNECTION_TEST_TIMEOUT_MS = CONNECTION_TEST_TIMEOUT_MS;
|
|
@@ -47296,11 +47473,13 @@ exports.DECLARED_INTEGRATION_FIXED_KEY = DECLARED_INTEGRATION_FIXED_KEY;
|
|
|
47296
47473
|
exports.DEFAULT_ADDON_PLACEMENT = DEFAULT_ADDON_PLACEMENT;
|
|
47297
47474
|
exports.DEFAULT_AUDIO_ANALYZER_CONFIG = DEFAULT_AUDIO_ANALYZER_CONFIG;
|
|
47298
47475
|
exports.DEFAULT_CLUSTER_STEP_MODELS = DEFAULT_CLUSTER_STEP_MODELS;
|
|
47476
|
+
exports.DEFAULT_CLUSTER_STEP_SETTINGS = DEFAULT_CLUSTER_STEP_SETTINGS;
|
|
47299
47477
|
exports.DEFAULT_DECODER_HWACCEL_CONFIG = DEFAULT_DECODER_HWACCEL_CONFIG;
|
|
47300
47478
|
exports.DEFAULT_DETAIL_CROP_CONVENTION = DEFAULT_DETAIL_CROP_CONVENTION;
|
|
47301
47479
|
exports.DEFAULT_EVENTS_BAND_BUFFER_SEC = DEFAULT_EVENTS_BAND_BUFFER_SEC;
|
|
47302
47480
|
exports.DEFAULT_EVENT_COLOR = DEFAULT_EVENT_COLOR;
|
|
47303
47481
|
exports.DEFAULT_FEATURES = DEFAULT_FEATURES;
|
|
47482
|
+
exports.DEFAULT_MIN_LANDMARK_FACE_SIZE_PX = DEFAULT_MIN_LANDMARK_FACE_SIZE_PX;
|
|
47304
47483
|
exports.DEFAULT_NATIVE_LEASE_SETTINGS = DEFAULT_NATIVE_LEASE_SETTINGS;
|
|
47305
47484
|
exports.DEFAULT_POOL_MEMORY_POLICY = DEFAULT_POOL_MEMORY_POLICY;
|
|
47306
47485
|
exports.DEFAULT_RECORDING_PROFILES = DEFAULT_RECORDING_PROFILES;
|
|
@@ -48078,6 +48257,8 @@ exports.classifyStream = classifyStream;
|
|
|
48078
48257
|
exports.classifyStreams = classifyStreams;
|
|
48079
48258
|
exports.climateControlCapability = climateControlCapability;
|
|
48080
48259
|
exports.clusterModelSettingKey = clusterModelSettingKey;
|
|
48260
|
+
exports.clusterStepSettingFieldsFor = clusterStepSettingFieldsFor;
|
|
48261
|
+
exports.clusterStepSettingKey = clusterStepSettingKey;
|
|
48081
48262
|
exports.collectHydratedFieldEntries = require_sleep.collectHydratedFieldEntries;
|
|
48082
48263
|
exports.collectHydratedFieldValues = require_sleep.collectHydratedFieldValues;
|
|
48083
48264
|
exports.colorCapability = colorCapability;
|
|
@@ -48268,6 +48449,7 @@ exports.oauthIntegrationCapability = oauthIntegrationCapability;
|
|
|
48268
48449
|
exports.objectInputDeclaresAddonId = objectInputDeclaresAddonId;
|
|
48269
48450
|
exports.osdCapability = osdCapability;
|
|
48270
48451
|
exports.osdManagerCapability = osdManagerCapability;
|
|
48452
|
+
exports.overlayClusterStepSettings = overlayClusterStepSettings;
|
|
48271
48453
|
exports.parseCameraStreamConfig = parseCameraStreamConfig;
|
|
48272
48454
|
exports.parseExpression = parseExpression;
|
|
48273
48455
|
exports.parseJsonArray = require_sleep.parseJsonArray;
|
|
@@ -48281,6 +48463,7 @@ exports.patchAudio = patchAudio;
|
|
|
48281
48463
|
exports.petFeederCapability = petFeederCapability;
|
|
48282
48464
|
exports.pickAccessoryControl = pickAccessoryControl;
|
|
48283
48465
|
exports.pickClusterStepModels = pickClusterStepModels;
|
|
48466
|
+
exports.pickClusterStepSettings = pickClusterStepSettings;
|
|
48284
48467
|
exports.pickDetailCropConvention = pickDetailCropConvention;
|
|
48285
48468
|
exports.pickNativeLeaseOverride = pickNativeLeaseOverride;
|
|
48286
48469
|
exports.pickPreferredRtspEntry = pickPreferredRtspEntry;
|
|
@@ -48305,6 +48488,7 @@ exports.ptzAutotrackCapability = ptzAutotrackCapability;
|
|
|
48305
48488
|
exports.ptzCapability = ptzCapability;
|
|
48306
48489
|
exports.pythonScriptForBackend = pythonScriptForBackend;
|
|
48307
48490
|
exports.readClusterStepModels = readClusterStepModels;
|
|
48491
|
+
exports.readClusterStepSettings = readClusterStepSettings;
|
|
48308
48492
|
exports.readDetailCropConvention = readDetailCropConvention;
|
|
48309
48493
|
exports.readDeviceStateFrom = readDeviceStateFrom;
|
|
48310
48494
|
exports.readNativeLeaseOverride = readNativeLeaseOverride;
|
package/dist/index.mjs
CHANGED
|
@@ -19778,6 +19778,9 @@ var storageProviderCapability = {
|
|
|
19778
19778
|
};
|
|
19779
19779
|
//#endregion
|
|
19780
19780
|
//#region src/capabilities/terminal-session.cap.ts
|
|
19781
|
+
/** Profile-exported FormBuilder schema. Shape is ConfigUISchema at the UI. */
|
|
19782
|
+
var ProfileSettingsSchemaBridge = z.unknown().nullable();
|
|
19783
|
+
var ProfileSettingsBagSchema = z.record(z.string(), z.unknown());
|
|
19781
19784
|
/**
|
|
19782
19785
|
* A live terminal session hosted by the provider addon. Output and input do
|
|
19783
19786
|
* NOT flow through the capability — they use the addon data plane
|
|
@@ -19807,7 +19810,14 @@ var TerminalSessionInfoSchema = z.object({
|
|
|
19807
19810
|
var TerminalProfileInfoSchema = z.object({
|
|
19808
19811
|
profileId: z.string(),
|
|
19809
19812
|
label: z.string(),
|
|
19810
|
-
description: z.string().optional()
|
|
19813
|
+
description: z.string().optional(),
|
|
19814
|
+
/** Spawn defaults the instance form copies on create. */
|
|
19815
|
+
executable: z.string().optional(),
|
|
19816
|
+
args: z.array(z.string()).readonly().optional(),
|
|
19817
|
+
cwd: z.string().optional(),
|
|
19818
|
+
environment: z.array(z.string()).readonly().optional(),
|
|
19819
|
+
/** ConfigUISchema for instance knobs, or null when the profile has none. */
|
|
19820
|
+
settingsSchema: ProfileSettingsSchemaBridge.optional()
|
|
19811
19821
|
});
|
|
19812
19822
|
/**
|
|
19813
19823
|
* A durable operator-created Terminal instance. Profiles are templates; only
|
|
@@ -19820,7 +19830,12 @@ var TerminalInstanceInfoSchema = z.object({
|
|
|
19820
19830
|
profileId: z.string(),
|
|
19821
19831
|
profileLabel: z.string(),
|
|
19822
19832
|
name: z.string(),
|
|
19823
|
-
enabled: z.boolean()
|
|
19833
|
+
enabled: z.boolean(),
|
|
19834
|
+
executable: z.string(),
|
|
19835
|
+
args: z.array(z.string()).readonly(),
|
|
19836
|
+
cwd: z.string(),
|
|
19837
|
+
environment: z.array(z.string()).readonly(),
|
|
19838
|
+
profileSettings: ProfileSettingsBagSchema
|
|
19824
19839
|
});
|
|
19825
19840
|
var TerminalLegacyCameraSchema = z.object({
|
|
19826
19841
|
stableId: z.string(),
|
|
@@ -19866,7 +19881,24 @@ var terminalSessionCapability = {
|
|
|
19866
19881
|
createInstance: method(z.object({
|
|
19867
19882
|
targetNodeId: z.string().min(1),
|
|
19868
19883
|
profileId: z.string().min(1),
|
|
19869
|
-
name: z.string().trim().min(1).max(160).optional()
|
|
19884
|
+
name: z.string().trim().min(1).max(160).optional(),
|
|
19885
|
+
executable: z.string().max(1024).optional(),
|
|
19886
|
+
args: z.array(z.string().max(2048)).max(64).optional(),
|
|
19887
|
+
cwd: z.string().max(1024).optional(),
|
|
19888
|
+
environment: z.array(z.string().max(4096)).max(64).optional(),
|
|
19889
|
+
profileSettings: ProfileSettingsBagSchema.optional()
|
|
19890
|
+
}), TerminalInstanceInfoSchema, {
|
|
19891
|
+
kind: "mutation",
|
|
19892
|
+
auth: "admin"
|
|
19893
|
+
}),
|
|
19894
|
+
updateInstance: method(z.object({
|
|
19895
|
+
instanceId: z.string().min(1),
|
|
19896
|
+
name: z.string().trim().min(1).max(160).optional(),
|
|
19897
|
+
executable: z.string().max(1024).optional(),
|
|
19898
|
+
args: z.array(z.string().max(2048)).max(64).optional(),
|
|
19899
|
+
cwd: z.string().max(1024).optional(),
|
|
19900
|
+
environment: z.array(z.string().max(4096)).max(64).optional(),
|
|
19901
|
+
profileSettings: ProfileSettingsBagSchema.optional()
|
|
19870
19902
|
}), TerminalInstanceInfoSchema, {
|
|
19871
19903
|
kind: "mutation",
|
|
19872
19904
|
auth: "admin"
|
|
@@ -19901,7 +19933,11 @@ var terminalSessionCapability = {
|
|
|
19901
19933
|
openSession: method(z.object({
|
|
19902
19934
|
profileId: z.string(),
|
|
19903
19935
|
cols: z.number().int().positive(),
|
|
19904
|
-
rows: z.number().int().positive()
|
|
19936
|
+
rows: z.number().int().positive(),
|
|
19937
|
+
executable: z.string().max(1024).optional(),
|
|
19938
|
+
args: z.array(z.string().max(2048)).max(64).optional(),
|
|
19939
|
+
cwd: z.string().max(1024).optional(),
|
|
19940
|
+
environment: z.array(z.string().max(4096)).max(64).optional()
|
|
19905
19941
|
}), TerminalSessionInfoSchema, {
|
|
19906
19942
|
kind: "mutation",
|
|
19907
19943
|
auth: "admin"
|
|
@@ -24501,10 +24537,10 @@ var lawnMowerControlCapability = {
|
|
|
24501
24537
|
*
|
|
24502
24538
|
* • The SDK (mobile / web client) consumes `getConnectionEndpoints()`
|
|
24503
24539
|
* to receive an ordered list of candidate base URLs it should race
|
|
24504
|
-
* on connect — LAN IPv4 first (lowest latency
|
|
24505
|
-
* then public hostname (if a tunnel is
|
|
24506
|
-
* race them with short timeouts and stick with the
|
|
24507
|
-
* session.
|
|
24540
|
+
* on connect — LAN IPv4 and stable LAN IPv6 first (lowest latency
|
|
24541
|
+
* when on the same network), then public hostname (if a tunnel is
|
|
24542
|
+
* up). The SDK can race them with short timeouts and stick with the
|
|
24543
|
+
* winner for the session.
|
|
24508
24544
|
*
|
|
24509
24545
|
* Why hub-only: agents are not directly addressable by the operator's
|
|
24510
24546
|
* clients — they reverse-connect to the hub. Exposing their interfaces
|
|
@@ -24667,6 +24703,20 @@ var AllowedAddressesSchema = z.object({
|
|
|
24667
24703
|
* Network Addresses admin page and persisted by the addon.
|
|
24668
24704
|
*/
|
|
24669
24705
|
addresses: z.array(z.string()).readonly() });
|
|
24706
|
+
var TlsStatusSchema = z.object({
|
|
24707
|
+
mode: z.enum([
|
|
24708
|
+
"generated",
|
|
24709
|
+
"uploaded",
|
|
24710
|
+
"disabled"
|
|
24711
|
+
]),
|
|
24712
|
+
leafFingerprintSha256: z.string().nullable(),
|
|
24713
|
+
caFingerprintSha256: z.string().nullable(),
|
|
24714
|
+
validTo: z.string().nullable(),
|
|
24715
|
+
sans: z.array(z.string()),
|
|
24716
|
+
caCertPem: z.string().nullable(),
|
|
24717
|
+
reissueError: z.string().nullable(),
|
|
24718
|
+
restartRequired: z.boolean()
|
|
24719
|
+
});
|
|
24670
24720
|
var localNetworkCapability = {
|
|
24671
24721
|
name: "local-network",
|
|
24672
24722
|
scope: "system",
|
|
@@ -24772,7 +24822,34 @@ var localNetworkCapability = {
|
|
|
24772
24822
|
* when the operator wants to wipe their manual edits and start
|
|
24773
24823
|
* over from the auto-detected best matches.
|
|
24774
24824
|
*/
|
|
24775
|
-
resetAllowlistToBestMatch: method(z.void(), AllowedAddressesSchema, { kind: "mutation" })
|
|
24825
|
+
resetAllowlistToBestMatch: method(z.void(), AllowedAddressesSchema, { kind: "mutation" }),
|
|
24826
|
+
/**
|
|
24827
|
+
* Live TLS material for the Network → Local access certificate card.
|
|
24828
|
+
* LAN HTTP / hostname are addon settings (`globalSettingsSchema`), not
|
|
24829
|
+
* a second store — this query is status, not configuration.
|
|
24830
|
+
*/
|
|
24831
|
+
getTlsStatus: method(z.void(), TlsStatusSchema),
|
|
24832
|
+
/** Issue a new leaf under the existing local CA. Disabled in uploaded mode. */
|
|
24833
|
+
regenerateCertificate: method(z.object({ reason: z.string().optional() }), TlsStatusSchema, {
|
|
24834
|
+
kind: "mutation",
|
|
24835
|
+
auth: "admin"
|
|
24836
|
+
}),
|
|
24837
|
+
/** Replace the served material with operator-supplied PEMs. */
|
|
24838
|
+
uploadCertificate: method(z.object({
|
|
24839
|
+
certPem: z.string().min(1),
|
|
24840
|
+
keyPem: z.string().min(1),
|
|
24841
|
+
caPem: z.string().optional()
|
|
24842
|
+
}), TlsStatusSchema, {
|
|
24843
|
+
kind: "mutation",
|
|
24844
|
+
auth: "admin"
|
|
24845
|
+
}),
|
|
24846
|
+
/** The local CA PEM, or empty when there is none to download. */
|
|
24847
|
+
downloadCa: method(z.void(), z.object({ pem: z.string() })),
|
|
24848
|
+
/** Drop uploaded material and return to the generated local CA. */
|
|
24849
|
+
revertToGeneratedCertificate: method(z.void(), TlsStatusSchema, {
|
|
24850
|
+
kind: "mutation",
|
|
24851
|
+
auth: "admin"
|
|
24852
|
+
})
|
|
24776
24853
|
},
|
|
24777
24854
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
24778
24855
|
mount: { kind: "hub-only" }
|
|
@@ -36696,6 +36773,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
36696
36773
|
addonId: null,
|
|
36697
36774
|
access: "create"
|
|
36698
36775
|
},
|
|
36776
|
+
"localNetwork.downloadCa": {
|
|
36777
|
+
capName: "local-network",
|
|
36778
|
+
capScope: "system",
|
|
36779
|
+
addonId: null,
|
|
36780
|
+
access: "view"
|
|
36781
|
+
},
|
|
36699
36782
|
"localNetwork.getAllowedAddresses": {
|
|
36700
36783
|
capName: "local-network",
|
|
36701
36784
|
capScope: "system",
|
|
@@ -36720,18 +36803,36 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
36720
36803
|
addonId: null,
|
|
36721
36804
|
access: "view"
|
|
36722
36805
|
},
|
|
36806
|
+
"localNetwork.getTlsStatus": {
|
|
36807
|
+
capName: "local-network",
|
|
36808
|
+
capScope: "system",
|
|
36809
|
+
addonId: null,
|
|
36810
|
+
access: "view"
|
|
36811
|
+
},
|
|
36723
36812
|
"localNetwork.list": {
|
|
36724
36813
|
capName: "local-network",
|
|
36725
36814
|
capScope: "system",
|
|
36726
36815
|
addonId: null,
|
|
36727
36816
|
access: "view"
|
|
36728
36817
|
},
|
|
36818
|
+
"localNetwork.regenerateCertificate": {
|
|
36819
|
+
capName: "local-network",
|
|
36820
|
+
capScope: "system",
|
|
36821
|
+
addonId: null,
|
|
36822
|
+
access: "create"
|
|
36823
|
+
},
|
|
36729
36824
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
36730
36825
|
capName: "local-network",
|
|
36731
36826
|
capScope: "system",
|
|
36732
36827
|
addonId: null,
|
|
36733
36828
|
access: "delete"
|
|
36734
36829
|
},
|
|
36830
|
+
"localNetwork.revertToGeneratedCertificate": {
|
|
36831
|
+
capName: "local-network",
|
|
36832
|
+
capScope: "system",
|
|
36833
|
+
addonId: null,
|
|
36834
|
+
access: "create"
|
|
36835
|
+
},
|
|
36735
36836
|
"localNetwork.setAllowedAddresses": {
|
|
36736
36837
|
capName: "local-network",
|
|
36737
36838
|
capScope: "system",
|
|
@@ -36744,6 +36845,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
36744
36845
|
addonId: null,
|
|
36745
36846
|
access: "create"
|
|
36746
36847
|
},
|
|
36848
|
+
"localNetwork.uploadCertificate": {
|
|
36849
|
+
capName: "local-network",
|
|
36850
|
+
capScope: "system",
|
|
36851
|
+
addonId: null,
|
|
36852
|
+
access: "create"
|
|
36853
|
+
},
|
|
36747
36854
|
"lockControl.lock": {
|
|
36748
36855
|
capName: "lock-control",
|
|
36749
36856
|
capScope: "device",
|
|
@@ -39624,6 +39731,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39624
39731
|
addonId: null,
|
|
39625
39732
|
access: "create"
|
|
39626
39733
|
},
|
|
39734
|
+
"terminalSession.updateInstance": {
|
|
39735
|
+
capName: "terminal-session",
|
|
39736
|
+
capScope: "system",
|
|
39737
|
+
addonId: null,
|
|
39738
|
+
access: "create"
|
|
39739
|
+
},
|
|
39627
39740
|
"terminalSession.writeInput": {
|
|
39628
39741
|
capName: "terminal-session",
|
|
39629
39742
|
capScope: "system",
|
|
@@ -42936,7 +43049,12 @@ function createSystemProxy(api) {
|
|
|
42936
43049
|
setNotificationEndpoint: (input) => dispatch("localNetwork", "setNotificationEndpoint", "mutation", input),
|
|
42937
43050
|
getAllowedAddresses: (input) => dispatch("localNetwork", "getAllowedAddresses", "query", input),
|
|
42938
43051
|
setAllowedAddresses: (input) => dispatch("localNetwork", "setAllowedAddresses", "mutation", input),
|
|
42939
|
-
resetAllowlistToBestMatch: (input) => dispatch("localNetwork", "resetAllowlistToBestMatch", "mutation", input)
|
|
43052
|
+
resetAllowlistToBestMatch: (input) => dispatch("localNetwork", "resetAllowlistToBestMatch", "mutation", input),
|
|
43053
|
+
getTlsStatus: (input) => dispatch("localNetwork", "getTlsStatus", "query", input),
|
|
43054
|
+
regenerateCertificate: (input) => dispatch("localNetwork", "regenerateCertificate", "mutation", input),
|
|
43055
|
+
uploadCertificate: (input) => dispatch("localNetwork", "uploadCertificate", "mutation", input),
|
|
43056
|
+
downloadCa: (input) => dispatch("localNetwork", "downloadCa", "query", input),
|
|
43057
|
+
revertToGeneratedCertificate: (input) => dispatch("localNetwork", "revertToGeneratedCertificate", "mutation", input)
|
|
42940
43058
|
},
|
|
42941
43059
|
meshNetwork: {
|
|
42942
43060
|
getStatus: (input) => dispatch("meshNetwork", "getStatus", "query", input),
|
|
@@ -43218,6 +43336,7 @@ function createSystemProxy(api) {
|
|
|
43218
43336
|
listProfiles: (input) => dispatch("terminalSession", "listProfiles", "query", input),
|
|
43219
43337
|
listInstances: (input) => dispatch("terminalSession", "listInstances", "query", input),
|
|
43220
43338
|
createInstance: (input) => dispatch("terminalSession", "createInstance", "mutation", input),
|
|
43339
|
+
updateInstance: (input) => dispatch("terminalSession", "updateInstance", "mutation", input),
|
|
43221
43340
|
deleteInstance: (input) => dispatch("terminalSession", "deleteInstance", "mutation", input),
|
|
43222
43341
|
setInstanceEnabled: (input) => dispatch("terminalSession", "setInstanceEnabled", "mutation", input),
|
|
43223
43342
|
listLegacyCameras: (input) => dispatch("terminalSession", "listLegacyCameras", "query", input),
|
|
@@ -44725,6 +44844,63 @@ function resolveClusterStepModelId(stepId, models) {
|
|
|
44725
44844
|
const chosen = models[stepId];
|
|
44726
44845
|
return chosen !== void 0 && chosen !== "" ? chosen : step.defaultModelId;
|
|
44727
44846
|
}
|
|
44847
|
+
/** Must match `DEFAULT_LANDMARK_PRECISION_FLOOR_PX` in the runner. */
|
|
44848
|
+
var DEFAULT_MIN_LANDMARK_FACE_SIZE_PX = 24;
|
|
44849
|
+
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
44850
|
+
stepId: "face-embedding",
|
|
44851
|
+
key: "minLandmarkFaceSize",
|
|
44852
|
+
label: "Min face size for recognition (detection px)",
|
|
44853
|
+
description: "Refuse to embed a face smaller than this IN THE DETECTION FRAME. Applies to every node — the enrolled gallery is one index, and two admission floors would fill it from two policies. 0 disables the gate.",
|
|
44854
|
+
type: "slider",
|
|
44855
|
+
min: 0,
|
|
44856
|
+
max: 64,
|
|
44857
|
+
step: 2,
|
|
44858
|
+
default: 24
|
|
44859
|
+
}];
|
|
44860
|
+
function clusterStepSettingKey(stepId, fieldKey) {
|
|
44861
|
+
return `clusterStepSetting:${stepId}:${fieldKey}`;
|
|
44862
|
+
}
|
|
44863
|
+
function clusterStepSettingFieldsFor(stepId) {
|
|
44864
|
+
return CLUSTER_STEP_SETTING_FIELDS.filter((field) => field.stepId === stepId);
|
|
44865
|
+
}
|
|
44866
|
+
var ClusterSettingNumberSchema = z.number().finite();
|
|
44867
|
+
function readClusterStepSettings(config) {
|
|
44868
|
+
const out = {};
|
|
44869
|
+
for (const field of CLUSTER_STEP_SETTING_FIELDS) {
|
|
44870
|
+
const parsed = ClusterSettingNumberSchema.safeParse(config[clusterStepSettingKey(field.stepId, field.key)]);
|
|
44871
|
+
const value = parsed.success ? parsed.data : field.default;
|
|
44872
|
+
const existing = out[field.stepId] ?? {};
|
|
44873
|
+
out[field.stepId] = {
|
|
44874
|
+
...existing,
|
|
44875
|
+
[field.key]: value
|
|
44876
|
+
};
|
|
44877
|
+
}
|
|
44878
|
+
return out;
|
|
44879
|
+
}
|
|
44880
|
+
var DEFAULT_CLUSTER_STEP_SETTINGS = readClusterStepSettings({});
|
|
44881
|
+
function pickClusterStepSettings(view) {
|
|
44882
|
+
if (view === null) return DEFAULT_CLUSTER_STEP_SETTINGS;
|
|
44883
|
+
const flat = {};
|
|
44884
|
+
const wanted = new Set(CLUSTER_STEP_SETTING_FIELDS.map((field) => clusterStepSettingKey(field.stepId, field.key)));
|
|
44885
|
+
for (const section of view.sections) for (const entry of section.fields) {
|
|
44886
|
+
if (!isHydratedField$2(entry) || typeof entry.key !== "string") continue;
|
|
44887
|
+
if (wanted.has(entry.key)) flat[entry.key] = entry.value;
|
|
44888
|
+
}
|
|
44889
|
+
return readClusterStepSettings(flat);
|
|
44890
|
+
}
|
|
44891
|
+
/**
|
|
44892
|
+
* Cluster knobs win over leftover per-device values. The cluster row is the
|
|
44893
|
+
* authority; a device-local copy is a leftover of the old per-node editor.
|
|
44894
|
+
*/
|
|
44895
|
+
function overlayClusterStepSettings(stepId, deviceSettings, cluster) {
|
|
44896
|
+
const overlay = cluster[stepId];
|
|
44897
|
+
if (overlay === void 0 || Object.keys(overlay).length === 0) return deviceSettings === void 0 ? void 0 : { ...deviceSettings };
|
|
44898
|
+
if (deviceSettings === void 0) return { ...overlay };
|
|
44899
|
+
return {
|
|
44900
|
+
...deviceSettings,
|
|
44901
|
+
...overlay
|
|
44902
|
+
};
|
|
44903
|
+
}
|
|
44728
44904
|
//#endregion
|
|
44729
44905
|
//#region src/pipeline/detail-crop.ts
|
|
44730
44906
|
/**
|
|
@@ -47084,4 +47260,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
47084
47260
|
return out;
|
|
47085
47261
|
}
|
|
47086
47262
|
//#endregion
|
|
47087
|
-
export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FULL_IMAGE_BBOX, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clusterModelSettingKey, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, commitWatchdogRestart, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isIsolatedBuiltin, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSoftwareDecode, isSystemDelivery, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readClusterStepModels, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveClusterStepModelId, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
47263
|
+
export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, CLUSTER_MODEL_SCOPED_STEPS, CLUSTER_MODEL_SECTION_ID, CLUSTER_STEP_SETTING_FIELDS, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_CLUSTER_STEP_MODELS, DEFAULT_CLUSTER_STEP_SETTINGS, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FULL_IMAGE_BBOX, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPERATOR_WRITTEN_STALE_MS, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, clusterModelSettingKey, clusterStepSettingFieldsFor, clusterStepSettingKey, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, commitWatchdogRestart, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isClusterScopedStep, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isIsolatedBuiltin, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSoftwareDecode, isSystemDelivery, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, overlayClusterStepSettings, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickClusterStepModels, pickClusterStepSettings, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readClusterStepModels, readClusterStepSettings, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveClusterStepModelId, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
@@ -106,3 +106,40 @@ export declare function pickClusterStepModels(view: HydratedClusterView | null):
|
|
|
106
106
|
* override every per-(node,device) selection in the fleet.
|
|
107
107
|
*/
|
|
108
108
|
export declare function resolveClusterStepModelId(stepId: string, models: ClusterStepModels): string | null;
|
|
109
|
+
/**
|
|
110
|
+
* Operator knobs that travel with a cluster-scoped step — same store, same
|
|
111
|
+
* TTL, same "no nodeId" rule as the model. The model decides WHICH encoder
|
|
112
|
+
* writes the shared index; these knobs decide WHICH crops it is allowed to
|
|
113
|
+
* write. A per-(node,device) copy of `minLandmarkFaceSize` would let two
|
|
114
|
+
* nodes disagree about what is a face, and the gallery would fill from two
|
|
115
|
+
* incompatible admission policies with nothing in a vector to show it.
|
|
116
|
+
*
|
|
117
|
+
* Defaults are mirrored from the step's `getConfigSchema()` so declaring the
|
|
118
|
+
* cluster row is behaviour-neutral. Clip currently has no operator schema.
|
|
119
|
+
*/
|
|
120
|
+
export interface ClusterStepSettingField {
|
|
121
|
+
readonly stepId: string;
|
|
122
|
+
readonly key: string;
|
|
123
|
+
readonly label: string;
|
|
124
|
+
readonly description: string;
|
|
125
|
+
readonly type: 'slider';
|
|
126
|
+
readonly min: number;
|
|
127
|
+
readonly max: number;
|
|
128
|
+
readonly step: number;
|
|
129
|
+
readonly default: number;
|
|
130
|
+
}
|
|
131
|
+
/** Must match `DEFAULT_LANDMARK_PRECISION_FLOOR_PX` in the runner. */
|
|
132
|
+
export declare const DEFAULT_MIN_LANDMARK_FACE_SIZE_PX = 24;
|
|
133
|
+
export declare const CLUSTER_STEP_SETTING_FIELDS: readonly ClusterStepSettingField[];
|
|
134
|
+
export declare function clusterStepSettingKey(stepId: string, fieldKey: string): string;
|
|
135
|
+
export declare function clusterStepSettingFieldsFor(stepId: string): readonly ClusterStepSettingField[];
|
|
136
|
+
/** `stepId → { fieldKey → value }` for every declared cluster setting. */
|
|
137
|
+
export type ClusterStepSettings = Readonly<Record<string, Readonly<Record<string, number>>>>;
|
|
138
|
+
export declare function readClusterStepSettings(config: Readonly<Record<string, unknown>>): ClusterStepSettings;
|
|
139
|
+
export declare const DEFAULT_CLUSTER_STEP_SETTINGS: ClusterStepSettings;
|
|
140
|
+
export declare function pickClusterStepSettings(view: HydratedClusterView | null): ClusterStepSettings;
|
|
141
|
+
/**
|
|
142
|
+
* Cluster knobs win over leftover per-device values. The cluster row is the
|
|
143
|
+
* authority; a device-local copy is a leftover of the old per-node editor.
|
|
144
|
+
*/
|
|
145
|
+
export declare function overlayClusterStepSettings(stepId: string, deviceSettings: Readonly<Record<string, unknown>> | undefined, cluster: ClusterStepSettings): Record<string, unknown> | undefined;
|