@camstack/types 1.2.96 → 1.2.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/capabilities/local-network.cap.d.ts +74 -0
- package/dist/capabilities/terminal-session.cap.d.ts +56 -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 +182 -6
- package/dist/index.mjs +175 -7
- package/dist/pipeline/cluster-model-scope.d.ts +37 -0
- package/package.json +1 -1
|
@@ -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,10 @@ 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>>>;
|
|
29
33
|
}, z.core.$strip>;
|
|
30
34
|
/**
|
|
31
35
|
* A durable operator-created Terminal instance. Profiles are templates; only
|
|
@@ -39,6 +43,10 @@ declare const TerminalInstanceInfoSchema: z.ZodObject<{
|
|
|
39
43
|
profileLabel: z.ZodString;
|
|
40
44
|
name: z.ZodString;
|
|
41
45
|
enabled: z.ZodBoolean;
|
|
46
|
+
executable: z.ZodString;
|
|
47
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
48
|
+
cwd: z.ZodString;
|
|
49
|
+
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
42
50
|
}, z.core.$strip>;
|
|
43
51
|
declare const TerminalLegacyCameraSchema: z.ZodObject<{
|
|
44
52
|
stableId: z.ZodString;
|
|
@@ -90,6 +98,10 @@ export declare const terminalSessionCapability: {
|
|
|
90
98
|
profileId: z.ZodString;
|
|
91
99
|
label: z.ZodString;
|
|
92
100
|
description: z.ZodOptional<z.ZodString>;
|
|
101
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
102
|
+
args: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
103
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
104
|
+
environment: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
93
105
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
94
106
|
/** Explicit durable Terminal instances, managed centrally on the hub. */
|
|
95
107
|
readonly listInstances: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -100,11 +112,19 @@ export declare const terminalSessionCapability: {
|
|
|
100
112
|
profileLabel: z.ZodString;
|
|
101
113
|
name: z.ZodString;
|
|
102
114
|
enabled: z.ZodBoolean;
|
|
115
|
+
executable: z.ZodString;
|
|
116
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
117
|
+
cwd: z.ZodString;
|
|
118
|
+
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
103
119
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
104
120
|
readonly createInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
105
121
|
targetNodeId: z.ZodString;
|
|
106
122
|
profileId: z.ZodString;
|
|
107
123
|
name: z.ZodOptional<z.ZodString>;
|
|
124
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
125
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
126
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
127
|
+
environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
108
128
|
}, z.core.$strip>, z.ZodObject<{
|
|
109
129
|
instanceId: z.ZodString;
|
|
110
130
|
cameraStableId: z.ZodString;
|
|
@@ -113,6 +133,30 @@ export declare const terminalSessionCapability: {
|
|
|
113
133
|
profileLabel: z.ZodString;
|
|
114
134
|
name: z.ZodString;
|
|
115
135
|
enabled: z.ZodBoolean;
|
|
136
|
+
executable: z.ZodString;
|
|
137
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
138
|
+
cwd: z.ZodString;
|
|
139
|
+
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
140
|
+
}, z.core.$strip>, "mutation">;
|
|
141
|
+
readonly updateInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
142
|
+
instanceId: z.ZodString;
|
|
143
|
+
name: z.ZodOptional<z.ZodString>;
|
|
144
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
145
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
146
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
147
|
+
environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
149
|
+
instanceId: z.ZodString;
|
|
150
|
+
cameraStableId: z.ZodString;
|
|
151
|
+
nodeId: z.ZodString;
|
|
152
|
+
profileId: z.ZodString;
|
|
153
|
+
profileLabel: z.ZodString;
|
|
154
|
+
name: z.ZodString;
|
|
155
|
+
enabled: z.ZodBoolean;
|
|
156
|
+
executable: z.ZodString;
|
|
157
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
158
|
+
cwd: z.ZodString;
|
|
159
|
+
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
116
160
|
}, z.core.$strip>, "mutation">;
|
|
117
161
|
readonly deleteInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
118
162
|
instanceId: z.ZodString;
|
|
@@ -128,6 +172,10 @@ export declare const terminalSessionCapability: {
|
|
|
128
172
|
profileLabel: z.ZodString;
|
|
129
173
|
name: z.ZodString;
|
|
130
174
|
enabled: z.ZodBoolean;
|
|
175
|
+
executable: z.ZodString;
|
|
176
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
177
|
+
cwd: z.ZodString;
|
|
178
|
+
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
131
179
|
}, z.core.$strip>, "mutation">;
|
|
132
180
|
/** Existing automatic cameras are shown for explicit migration only. */
|
|
133
181
|
readonly listLegacyCameras: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -150,6 +198,10 @@ export declare const terminalSessionCapability: {
|
|
|
150
198
|
profileLabel: z.ZodString;
|
|
151
199
|
name: z.ZodString;
|
|
152
200
|
enabled: z.ZodBoolean;
|
|
201
|
+
executable: z.ZodString;
|
|
202
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
203
|
+
cwd: z.ZodString;
|
|
204
|
+
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
153
205
|
}, z.core.$strip>, "mutation">;
|
|
154
206
|
/** Live sessions currently hosted by the provider. */
|
|
155
207
|
readonly listSessions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -168,6 +220,10 @@ export declare const terminalSessionCapability: {
|
|
|
168
220
|
profileId: z.ZodString;
|
|
169
221
|
cols: z.ZodNumber;
|
|
170
222
|
rows: z.ZodNumber;
|
|
223
|
+
executable: z.ZodOptional<z.ZodString>;
|
|
224
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
225
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
226
|
+
environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
171
227
|
}, z.core.$strip>, z.ZodObject<{
|
|
172
228
|
sessionId: z.ZodString;
|
|
173
229
|
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
|
@@ -19808,7 +19808,12 @@ var TerminalSessionInfoSchema = zod.z.object({
|
|
|
19808
19808
|
var TerminalProfileInfoSchema = zod.z.object({
|
|
19809
19809
|
profileId: zod.z.string(),
|
|
19810
19810
|
label: zod.z.string(),
|
|
19811
|
-
description: zod.z.string().optional()
|
|
19811
|
+
description: zod.z.string().optional(),
|
|
19812
|
+
/** Spawn defaults the instance form copies on create. */
|
|
19813
|
+
executable: zod.z.string().optional(),
|
|
19814
|
+
args: zod.z.array(zod.z.string()).readonly().optional(),
|
|
19815
|
+
cwd: zod.z.string().optional(),
|
|
19816
|
+
environment: zod.z.array(zod.z.string()).readonly().optional()
|
|
19812
19817
|
});
|
|
19813
19818
|
/**
|
|
19814
19819
|
* A durable operator-created Terminal instance. Profiles are templates; only
|
|
@@ -19821,7 +19826,11 @@ var TerminalInstanceInfoSchema = zod.z.object({
|
|
|
19821
19826
|
profileId: zod.z.string(),
|
|
19822
19827
|
profileLabel: zod.z.string(),
|
|
19823
19828
|
name: zod.z.string(),
|
|
19824
|
-
enabled: zod.z.boolean()
|
|
19829
|
+
enabled: zod.z.boolean(),
|
|
19830
|
+
executable: zod.z.string(),
|
|
19831
|
+
args: zod.z.array(zod.z.string()).readonly(),
|
|
19832
|
+
cwd: zod.z.string(),
|
|
19833
|
+
environment: zod.z.array(zod.z.string()).readonly()
|
|
19825
19834
|
});
|
|
19826
19835
|
var TerminalLegacyCameraSchema = zod.z.object({
|
|
19827
19836
|
stableId: zod.z.string(),
|
|
@@ -19867,7 +19876,22 @@ var terminalSessionCapability = {
|
|
|
19867
19876
|
createInstance: require_sleep.method(zod.z.object({
|
|
19868
19877
|
targetNodeId: zod.z.string().min(1),
|
|
19869
19878
|
profileId: zod.z.string().min(1),
|
|
19870
|
-
name: zod.z.string().trim().min(1).max(160).optional()
|
|
19879
|
+
name: zod.z.string().trim().min(1).max(160).optional(),
|
|
19880
|
+
executable: zod.z.string().max(1024).optional(),
|
|
19881
|
+
args: zod.z.array(zod.z.string().max(2048)).max(64).optional(),
|
|
19882
|
+
cwd: zod.z.string().max(1024).optional(),
|
|
19883
|
+
environment: zod.z.array(zod.z.string().max(4096)).max(64).optional()
|
|
19884
|
+
}), TerminalInstanceInfoSchema, {
|
|
19885
|
+
kind: "mutation",
|
|
19886
|
+
auth: "admin"
|
|
19887
|
+
}),
|
|
19888
|
+
updateInstance: require_sleep.method(zod.z.object({
|
|
19889
|
+
instanceId: zod.z.string().min(1),
|
|
19890
|
+
name: zod.z.string().trim().min(1).max(160).optional(),
|
|
19891
|
+
executable: zod.z.string().max(1024).optional(),
|
|
19892
|
+
args: zod.z.array(zod.z.string().max(2048)).max(64).optional(),
|
|
19893
|
+
cwd: zod.z.string().max(1024).optional(),
|
|
19894
|
+
environment: zod.z.array(zod.z.string().max(4096)).max(64).optional()
|
|
19871
19895
|
}), TerminalInstanceInfoSchema, {
|
|
19872
19896
|
kind: "mutation",
|
|
19873
19897
|
auth: "admin"
|
|
@@ -19902,7 +19926,11 @@ var terminalSessionCapability = {
|
|
|
19902
19926
|
openSession: require_sleep.method(zod.z.object({
|
|
19903
19927
|
profileId: zod.z.string(),
|
|
19904
19928
|
cols: zod.z.number().int().positive(),
|
|
19905
|
-
rows: zod.z.number().int().positive()
|
|
19929
|
+
rows: zod.z.number().int().positive(),
|
|
19930
|
+
executable: zod.z.string().max(1024).optional(),
|
|
19931
|
+
args: zod.z.array(zod.z.string().max(2048)).max(64).optional(),
|
|
19932
|
+
cwd: zod.z.string().max(1024).optional(),
|
|
19933
|
+
environment: zod.z.array(zod.z.string().max(4096)).max(64).optional()
|
|
19906
19934
|
}), TerminalSessionInfoSchema, {
|
|
19907
19935
|
kind: "mutation",
|
|
19908
19936
|
auth: "admin"
|
|
@@ -24668,6 +24696,20 @@ var AllowedAddressesSchema = zod.z.object({
|
|
|
24668
24696
|
* Network Addresses admin page and persisted by the addon.
|
|
24669
24697
|
*/
|
|
24670
24698
|
addresses: zod.z.array(zod.z.string()).readonly() });
|
|
24699
|
+
var TlsStatusSchema = zod.z.object({
|
|
24700
|
+
mode: zod.z.enum([
|
|
24701
|
+
"generated",
|
|
24702
|
+
"uploaded",
|
|
24703
|
+
"disabled"
|
|
24704
|
+
]),
|
|
24705
|
+
leafFingerprintSha256: zod.z.string().nullable(),
|
|
24706
|
+
caFingerprintSha256: zod.z.string().nullable(),
|
|
24707
|
+
validTo: zod.z.string().nullable(),
|
|
24708
|
+
sans: zod.z.array(zod.z.string()),
|
|
24709
|
+
caCertPem: zod.z.string().nullable(),
|
|
24710
|
+
reissueError: zod.z.string().nullable(),
|
|
24711
|
+
restartRequired: zod.z.boolean()
|
|
24712
|
+
});
|
|
24671
24713
|
var localNetworkCapability = {
|
|
24672
24714
|
name: "local-network",
|
|
24673
24715
|
scope: "system",
|
|
@@ -24773,7 +24815,34 @@ var localNetworkCapability = {
|
|
|
24773
24815
|
* when the operator wants to wipe their manual edits and start
|
|
24774
24816
|
* over from the auto-detected best matches.
|
|
24775
24817
|
*/
|
|
24776
|
-
resetAllowlistToBestMatch: require_sleep.method(zod.z.void(), AllowedAddressesSchema, { kind: "mutation" })
|
|
24818
|
+
resetAllowlistToBestMatch: require_sleep.method(zod.z.void(), AllowedAddressesSchema, { kind: "mutation" }),
|
|
24819
|
+
/**
|
|
24820
|
+
* Live TLS material for the Network → Local access certificate card.
|
|
24821
|
+
* LAN HTTP / hostname are addon settings (`globalSettingsSchema`), not
|
|
24822
|
+
* a second store — this query is status, not configuration.
|
|
24823
|
+
*/
|
|
24824
|
+
getTlsStatus: require_sleep.method(zod.z.void(), TlsStatusSchema),
|
|
24825
|
+
/** Issue a new leaf under the existing local CA. Disabled in uploaded mode. */
|
|
24826
|
+
regenerateCertificate: require_sleep.method(zod.z.object({ reason: zod.z.string().optional() }), TlsStatusSchema, {
|
|
24827
|
+
kind: "mutation",
|
|
24828
|
+
auth: "admin"
|
|
24829
|
+
}),
|
|
24830
|
+
/** Replace the served material with operator-supplied PEMs. */
|
|
24831
|
+
uploadCertificate: require_sleep.method(zod.z.object({
|
|
24832
|
+
certPem: zod.z.string().min(1),
|
|
24833
|
+
keyPem: zod.z.string().min(1),
|
|
24834
|
+
caPem: zod.z.string().optional()
|
|
24835
|
+
}), TlsStatusSchema, {
|
|
24836
|
+
kind: "mutation",
|
|
24837
|
+
auth: "admin"
|
|
24838
|
+
}),
|
|
24839
|
+
/** The local CA PEM, or empty when there is none to download. */
|
|
24840
|
+
downloadCa: require_sleep.method(zod.z.void(), zod.z.object({ pem: zod.z.string() })),
|
|
24841
|
+
/** Drop uploaded material and return to the generated local CA. */
|
|
24842
|
+
revertToGeneratedCertificate: require_sleep.method(zod.z.void(), TlsStatusSchema, {
|
|
24843
|
+
kind: "mutation",
|
|
24844
|
+
auth: "admin"
|
|
24845
|
+
})
|
|
24777
24846
|
},
|
|
24778
24847
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
24779
24848
|
mount: { kind: "hub-only" }
|
|
@@ -36704,6 +36773,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
36704
36773
|
addonId: null,
|
|
36705
36774
|
access: "create"
|
|
36706
36775
|
},
|
|
36776
|
+
"localNetwork.downloadCa": {
|
|
36777
|
+
capName: "local-network",
|
|
36778
|
+
capScope: "system",
|
|
36779
|
+
addonId: null,
|
|
36780
|
+
access: "view"
|
|
36781
|
+
},
|
|
36707
36782
|
"localNetwork.getAllowedAddresses": {
|
|
36708
36783
|
capName: "local-network",
|
|
36709
36784
|
capScope: "system",
|
|
@@ -36728,18 +36803,36 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
36728
36803
|
addonId: null,
|
|
36729
36804
|
access: "view"
|
|
36730
36805
|
},
|
|
36806
|
+
"localNetwork.getTlsStatus": {
|
|
36807
|
+
capName: "local-network",
|
|
36808
|
+
capScope: "system",
|
|
36809
|
+
addonId: null,
|
|
36810
|
+
access: "view"
|
|
36811
|
+
},
|
|
36731
36812
|
"localNetwork.list": {
|
|
36732
36813
|
capName: "local-network",
|
|
36733
36814
|
capScope: "system",
|
|
36734
36815
|
addonId: null,
|
|
36735
36816
|
access: "view"
|
|
36736
36817
|
},
|
|
36818
|
+
"localNetwork.regenerateCertificate": {
|
|
36819
|
+
capName: "local-network",
|
|
36820
|
+
capScope: "system",
|
|
36821
|
+
addonId: null,
|
|
36822
|
+
access: "create"
|
|
36823
|
+
},
|
|
36737
36824
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
36738
36825
|
capName: "local-network",
|
|
36739
36826
|
capScope: "system",
|
|
36740
36827
|
addonId: null,
|
|
36741
36828
|
access: "delete"
|
|
36742
36829
|
},
|
|
36830
|
+
"localNetwork.revertToGeneratedCertificate": {
|
|
36831
|
+
capName: "local-network",
|
|
36832
|
+
capScope: "system",
|
|
36833
|
+
addonId: null,
|
|
36834
|
+
access: "create"
|
|
36835
|
+
},
|
|
36743
36836
|
"localNetwork.setAllowedAddresses": {
|
|
36744
36837
|
capName: "local-network",
|
|
36745
36838
|
capScope: "system",
|
|
@@ -36752,6 +36845,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
36752
36845
|
addonId: null,
|
|
36753
36846
|
access: "create"
|
|
36754
36847
|
},
|
|
36848
|
+
"localNetwork.uploadCertificate": {
|
|
36849
|
+
capName: "local-network",
|
|
36850
|
+
capScope: "system",
|
|
36851
|
+
addonId: null,
|
|
36852
|
+
access: "create"
|
|
36853
|
+
},
|
|
36755
36854
|
"lockControl.lock": {
|
|
36756
36855
|
capName: "lock-control",
|
|
36757
36856
|
capScope: "device",
|
|
@@ -39632,6 +39731,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39632
39731
|
addonId: null,
|
|
39633
39732
|
access: "create"
|
|
39634
39733
|
},
|
|
39734
|
+
"terminalSession.updateInstance": {
|
|
39735
|
+
capName: "terminal-session",
|
|
39736
|
+
capScope: "system",
|
|
39737
|
+
addonId: null,
|
|
39738
|
+
access: "create"
|
|
39739
|
+
},
|
|
39635
39740
|
"terminalSession.writeInput": {
|
|
39636
39741
|
capName: "terminal-session",
|
|
39637
39742
|
capScope: "system",
|
|
@@ -42944,7 +43049,12 @@ function createSystemProxy(api) {
|
|
|
42944
43049
|
setNotificationEndpoint: (input) => dispatch("localNetwork", "setNotificationEndpoint", "mutation", input),
|
|
42945
43050
|
getAllowedAddresses: (input) => dispatch("localNetwork", "getAllowedAddresses", "query", input),
|
|
42946
43051
|
setAllowedAddresses: (input) => dispatch("localNetwork", "setAllowedAddresses", "mutation", input),
|
|
42947
|
-
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)
|
|
42948
43058
|
},
|
|
42949
43059
|
meshNetwork: {
|
|
42950
43060
|
getStatus: (input) => dispatch("meshNetwork", "getStatus", "query", input),
|
|
@@ -43226,6 +43336,7 @@ function createSystemProxy(api) {
|
|
|
43226
43336
|
listProfiles: (input) => dispatch("terminalSession", "listProfiles", "query", input),
|
|
43227
43337
|
listInstances: (input) => dispatch("terminalSession", "listInstances", "query", input),
|
|
43228
43338
|
createInstance: (input) => dispatch("terminalSession", "createInstance", "mutation", input),
|
|
43339
|
+
updateInstance: (input) => dispatch("terminalSession", "updateInstance", "mutation", input),
|
|
43229
43340
|
deleteInstance: (input) => dispatch("terminalSession", "deleteInstance", "mutation", input),
|
|
43230
43341
|
setInstanceEnabled: (input) => dispatch("terminalSession", "setInstanceEnabled", "mutation", input),
|
|
43231
43342
|
listLegacyCameras: (input) => dispatch("terminalSession", "listLegacyCameras", "query", input),
|
|
@@ -44733,6 +44844,63 @@ function resolveClusterStepModelId(stepId, models) {
|
|
|
44733
44844
|
const chosen = models[stepId];
|
|
44734
44845
|
return chosen !== void 0 && chosen !== "" ? chosen : step.defaultModelId;
|
|
44735
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 = zod.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
|
+
}
|
|
44736
44904
|
//#endregion
|
|
44737
44905
|
//#region src/pipeline/detail-crop.ts
|
|
44738
44906
|
/**
|
|
@@ -47208,6 +47376,7 @@ exports.CAP_NODE_PIN_CONTEXT_KEY = require_sleep.CAP_NODE_PIN_CONTEXT_KEY;
|
|
|
47208
47376
|
exports.CAP_PROVIDER_KIND_MAP = CAP_PROVIDER_KIND_MAP;
|
|
47209
47377
|
exports.CLUSTER_MODEL_SCOPED_STEPS = CLUSTER_MODEL_SCOPED_STEPS;
|
|
47210
47378
|
exports.CLUSTER_MODEL_SECTION_ID = CLUSTER_MODEL_SECTION_ID;
|
|
47379
|
+
exports.CLUSTER_STEP_SETTING_FIELDS = CLUSTER_STEP_SETTING_FIELDS;
|
|
47211
47380
|
exports.COCO_80_LABELS = COCO_80_LABELS;
|
|
47212
47381
|
exports.COCO_TO_MACRO = COCO_TO_MACRO;
|
|
47213
47382
|
exports.CONNECTION_TEST_TIMEOUT_MS = CONNECTION_TEST_TIMEOUT_MS;
|
|
@@ -47296,11 +47465,13 @@ exports.DECLARED_INTEGRATION_FIXED_KEY = DECLARED_INTEGRATION_FIXED_KEY;
|
|
|
47296
47465
|
exports.DEFAULT_ADDON_PLACEMENT = DEFAULT_ADDON_PLACEMENT;
|
|
47297
47466
|
exports.DEFAULT_AUDIO_ANALYZER_CONFIG = DEFAULT_AUDIO_ANALYZER_CONFIG;
|
|
47298
47467
|
exports.DEFAULT_CLUSTER_STEP_MODELS = DEFAULT_CLUSTER_STEP_MODELS;
|
|
47468
|
+
exports.DEFAULT_CLUSTER_STEP_SETTINGS = DEFAULT_CLUSTER_STEP_SETTINGS;
|
|
47299
47469
|
exports.DEFAULT_DECODER_HWACCEL_CONFIG = DEFAULT_DECODER_HWACCEL_CONFIG;
|
|
47300
47470
|
exports.DEFAULT_DETAIL_CROP_CONVENTION = DEFAULT_DETAIL_CROP_CONVENTION;
|
|
47301
47471
|
exports.DEFAULT_EVENTS_BAND_BUFFER_SEC = DEFAULT_EVENTS_BAND_BUFFER_SEC;
|
|
47302
47472
|
exports.DEFAULT_EVENT_COLOR = DEFAULT_EVENT_COLOR;
|
|
47303
47473
|
exports.DEFAULT_FEATURES = DEFAULT_FEATURES;
|
|
47474
|
+
exports.DEFAULT_MIN_LANDMARK_FACE_SIZE_PX = DEFAULT_MIN_LANDMARK_FACE_SIZE_PX;
|
|
47304
47475
|
exports.DEFAULT_NATIVE_LEASE_SETTINGS = DEFAULT_NATIVE_LEASE_SETTINGS;
|
|
47305
47476
|
exports.DEFAULT_POOL_MEMORY_POLICY = DEFAULT_POOL_MEMORY_POLICY;
|
|
47306
47477
|
exports.DEFAULT_RECORDING_PROFILES = DEFAULT_RECORDING_PROFILES;
|
|
@@ -48078,6 +48249,8 @@ exports.classifyStream = classifyStream;
|
|
|
48078
48249
|
exports.classifyStreams = classifyStreams;
|
|
48079
48250
|
exports.climateControlCapability = climateControlCapability;
|
|
48080
48251
|
exports.clusterModelSettingKey = clusterModelSettingKey;
|
|
48252
|
+
exports.clusterStepSettingFieldsFor = clusterStepSettingFieldsFor;
|
|
48253
|
+
exports.clusterStepSettingKey = clusterStepSettingKey;
|
|
48081
48254
|
exports.collectHydratedFieldEntries = require_sleep.collectHydratedFieldEntries;
|
|
48082
48255
|
exports.collectHydratedFieldValues = require_sleep.collectHydratedFieldValues;
|
|
48083
48256
|
exports.colorCapability = colorCapability;
|
|
@@ -48268,6 +48441,7 @@ exports.oauthIntegrationCapability = oauthIntegrationCapability;
|
|
|
48268
48441
|
exports.objectInputDeclaresAddonId = objectInputDeclaresAddonId;
|
|
48269
48442
|
exports.osdCapability = osdCapability;
|
|
48270
48443
|
exports.osdManagerCapability = osdManagerCapability;
|
|
48444
|
+
exports.overlayClusterStepSettings = overlayClusterStepSettings;
|
|
48271
48445
|
exports.parseCameraStreamConfig = parseCameraStreamConfig;
|
|
48272
48446
|
exports.parseExpression = parseExpression;
|
|
48273
48447
|
exports.parseJsonArray = require_sleep.parseJsonArray;
|
|
@@ -48281,6 +48455,7 @@ exports.patchAudio = patchAudio;
|
|
|
48281
48455
|
exports.petFeederCapability = petFeederCapability;
|
|
48282
48456
|
exports.pickAccessoryControl = pickAccessoryControl;
|
|
48283
48457
|
exports.pickClusterStepModels = pickClusterStepModels;
|
|
48458
|
+
exports.pickClusterStepSettings = pickClusterStepSettings;
|
|
48284
48459
|
exports.pickDetailCropConvention = pickDetailCropConvention;
|
|
48285
48460
|
exports.pickNativeLeaseOverride = pickNativeLeaseOverride;
|
|
48286
48461
|
exports.pickPreferredRtspEntry = pickPreferredRtspEntry;
|
|
@@ -48305,6 +48480,7 @@ exports.ptzAutotrackCapability = ptzAutotrackCapability;
|
|
|
48305
48480
|
exports.ptzCapability = ptzCapability;
|
|
48306
48481
|
exports.pythonScriptForBackend = pythonScriptForBackend;
|
|
48307
48482
|
exports.readClusterStepModels = readClusterStepModels;
|
|
48483
|
+
exports.readClusterStepSettings = readClusterStepSettings;
|
|
48308
48484
|
exports.readDetailCropConvention = readDetailCropConvention;
|
|
48309
48485
|
exports.readDeviceStateFrom = readDeviceStateFrom;
|
|
48310
48486
|
exports.readNativeLeaseOverride = readNativeLeaseOverride;
|
package/dist/index.mjs
CHANGED
|
@@ -19807,7 +19807,12 @@ var TerminalSessionInfoSchema = z.object({
|
|
|
19807
19807
|
var TerminalProfileInfoSchema = z.object({
|
|
19808
19808
|
profileId: z.string(),
|
|
19809
19809
|
label: z.string(),
|
|
19810
|
-
description: z.string().optional()
|
|
19810
|
+
description: z.string().optional(),
|
|
19811
|
+
/** Spawn defaults the instance form copies on create. */
|
|
19812
|
+
executable: z.string().optional(),
|
|
19813
|
+
args: z.array(z.string()).readonly().optional(),
|
|
19814
|
+
cwd: z.string().optional(),
|
|
19815
|
+
environment: z.array(z.string()).readonly().optional()
|
|
19811
19816
|
});
|
|
19812
19817
|
/**
|
|
19813
19818
|
* A durable operator-created Terminal instance. Profiles are templates; only
|
|
@@ -19820,7 +19825,11 @@ var TerminalInstanceInfoSchema = z.object({
|
|
|
19820
19825
|
profileId: z.string(),
|
|
19821
19826
|
profileLabel: z.string(),
|
|
19822
19827
|
name: z.string(),
|
|
19823
|
-
enabled: z.boolean()
|
|
19828
|
+
enabled: z.boolean(),
|
|
19829
|
+
executable: z.string(),
|
|
19830
|
+
args: z.array(z.string()).readonly(),
|
|
19831
|
+
cwd: z.string(),
|
|
19832
|
+
environment: z.array(z.string()).readonly()
|
|
19824
19833
|
});
|
|
19825
19834
|
var TerminalLegacyCameraSchema = z.object({
|
|
19826
19835
|
stableId: z.string(),
|
|
@@ -19866,7 +19875,22 @@ var terminalSessionCapability = {
|
|
|
19866
19875
|
createInstance: method(z.object({
|
|
19867
19876
|
targetNodeId: z.string().min(1),
|
|
19868
19877
|
profileId: z.string().min(1),
|
|
19869
|
-
name: z.string().trim().min(1).max(160).optional()
|
|
19878
|
+
name: z.string().trim().min(1).max(160).optional(),
|
|
19879
|
+
executable: z.string().max(1024).optional(),
|
|
19880
|
+
args: z.array(z.string().max(2048)).max(64).optional(),
|
|
19881
|
+
cwd: z.string().max(1024).optional(),
|
|
19882
|
+
environment: z.array(z.string().max(4096)).max(64).optional()
|
|
19883
|
+
}), TerminalInstanceInfoSchema, {
|
|
19884
|
+
kind: "mutation",
|
|
19885
|
+
auth: "admin"
|
|
19886
|
+
}),
|
|
19887
|
+
updateInstance: method(z.object({
|
|
19888
|
+
instanceId: z.string().min(1),
|
|
19889
|
+
name: z.string().trim().min(1).max(160).optional(),
|
|
19890
|
+
executable: z.string().max(1024).optional(),
|
|
19891
|
+
args: z.array(z.string().max(2048)).max(64).optional(),
|
|
19892
|
+
cwd: z.string().max(1024).optional(),
|
|
19893
|
+
environment: z.array(z.string().max(4096)).max(64).optional()
|
|
19870
19894
|
}), TerminalInstanceInfoSchema, {
|
|
19871
19895
|
kind: "mutation",
|
|
19872
19896
|
auth: "admin"
|
|
@@ -19901,7 +19925,11 @@ var terminalSessionCapability = {
|
|
|
19901
19925
|
openSession: method(z.object({
|
|
19902
19926
|
profileId: z.string(),
|
|
19903
19927
|
cols: z.number().int().positive(),
|
|
19904
|
-
rows: z.number().int().positive()
|
|
19928
|
+
rows: z.number().int().positive(),
|
|
19929
|
+
executable: z.string().max(1024).optional(),
|
|
19930
|
+
args: z.array(z.string().max(2048)).max(64).optional(),
|
|
19931
|
+
cwd: z.string().max(1024).optional(),
|
|
19932
|
+
environment: z.array(z.string().max(4096)).max(64).optional()
|
|
19905
19933
|
}), TerminalSessionInfoSchema, {
|
|
19906
19934
|
kind: "mutation",
|
|
19907
19935
|
auth: "admin"
|
|
@@ -24667,6 +24695,20 @@ var AllowedAddressesSchema = z.object({
|
|
|
24667
24695
|
* Network Addresses admin page and persisted by the addon.
|
|
24668
24696
|
*/
|
|
24669
24697
|
addresses: z.array(z.string()).readonly() });
|
|
24698
|
+
var TlsStatusSchema = z.object({
|
|
24699
|
+
mode: z.enum([
|
|
24700
|
+
"generated",
|
|
24701
|
+
"uploaded",
|
|
24702
|
+
"disabled"
|
|
24703
|
+
]),
|
|
24704
|
+
leafFingerprintSha256: z.string().nullable(),
|
|
24705
|
+
caFingerprintSha256: z.string().nullable(),
|
|
24706
|
+
validTo: z.string().nullable(),
|
|
24707
|
+
sans: z.array(z.string()),
|
|
24708
|
+
caCertPem: z.string().nullable(),
|
|
24709
|
+
reissueError: z.string().nullable(),
|
|
24710
|
+
restartRequired: z.boolean()
|
|
24711
|
+
});
|
|
24670
24712
|
var localNetworkCapability = {
|
|
24671
24713
|
name: "local-network",
|
|
24672
24714
|
scope: "system",
|
|
@@ -24772,7 +24814,34 @@ var localNetworkCapability = {
|
|
|
24772
24814
|
* when the operator wants to wipe their manual edits and start
|
|
24773
24815
|
* over from the auto-detected best matches.
|
|
24774
24816
|
*/
|
|
24775
|
-
resetAllowlistToBestMatch: method(z.void(), AllowedAddressesSchema, { kind: "mutation" })
|
|
24817
|
+
resetAllowlistToBestMatch: method(z.void(), AllowedAddressesSchema, { kind: "mutation" }),
|
|
24818
|
+
/**
|
|
24819
|
+
* Live TLS material for the Network → Local access certificate card.
|
|
24820
|
+
* LAN HTTP / hostname are addon settings (`globalSettingsSchema`), not
|
|
24821
|
+
* a second store — this query is status, not configuration.
|
|
24822
|
+
*/
|
|
24823
|
+
getTlsStatus: method(z.void(), TlsStatusSchema),
|
|
24824
|
+
/** Issue a new leaf under the existing local CA. Disabled in uploaded mode. */
|
|
24825
|
+
regenerateCertificate: method(z.object({ reason: z.string().optional() }), TlsStatusSchema, {
|
|
24826
|
+
kind: "mutation",
|
|
24827
|
+
auth: "admin"
|
|
24828
|
+
}),
|
|
24829
|
+
/** Replace the served material with operator-supplied PEMs. */
|
|
24830
|
+
uploadCertificate: method(z.object({
|
|
24831
|
+
certPem: z.string().min(1),
|
|
24832
|
+
keyPem: z.string().min(1),
|
|
24833
|
+
caPem: z.string().optional()
|
|
24834
|
+
}), TlsStatusSchema, {
|
|
24835
|
+
kind: "mutation",
|
|
24836
|
+
auth: "admin"
|
|
24837
|
+
}),
|
|
24838
|
+
/** The local CA PEM, or empty when there is none to download. */
|
|
24839
|
+
downloadCa: method(z.void(), z.object({ pem: z.string() })),
|
|
24840
|
+
/** Drop uploaded material and return to the generated local CA. */
|
|
24841
|
+
revertToGeneratedCertificate: method(z.void(), TlsStatusSchema, {
|
|
24842
|
+
kind: "mutation",
|
|
24843
|
+
auth: "admin"
|
|
24844
|
+
})
|
|
24776
24845
|
},
|
|
24777
24846
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
24778
24847
|
mount: { kind: "hub-only" }
|
|
@@ -36696,6 +36765,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
36696
36765
|
addonId: null,
|
|
36697
36766
|
access: "create"
|
|
36698
36767
|
},
|
|
36768
|
+
"localNetwork.downloadCa": {
|
|
36769
|
+
capName: "local-network",
|
|
36770
|
+
capScope: "system",
|
|
36771
|
+
addonId: null,
|
|
36772
|
+
access: "view"
|
|
36773
|
+
},
|
|
36699
36774
|
"localNetwork.getAllowedAddresses": {
|
|
36700
36775
|
capName: "local-network",
|
|
36701
36776
|
capScope: "system",
|
|
@@ -36720,18 +36795,36 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
36720
36795
|
addonId: null,
|
|
36721
36796
|
access: "view"
|
|
36722
36797
|
},
|
|
36798
|
+
"localNetwork.getTlsStatus": {
|
|
36799
|
+
capName: "local-network",
|
|
36800
|
+
capScope: "system",
|
|
36801
|
+
addonId: null,
|
|
36802
|
+
access: "view"
|
|
36803
|
+
},
|
|
36723
36804
|
"localNetwork.list": {
|
|
36724
36805
|
capName: "local-network",
|
|
36725
36806
|
capScope: "system",
|
|
36726
36807
|
addonId: null,
|
|
36727
36808
|
access: "view"
|
|
36728
36809
|
},
|
|
36810
|
+
"localNetwork.regenerateCertificate": {
|
|
36811
|
+
capName: "local-network",
|
|
36812
|
+
capScope: "system",
|
|
36813
|
+
addonId: null,
|
|
36814
|
+
access: "create"
|
|
36815
|
+
},
|
|
36729
36816
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
36730
36817
|
capName: "local-network",
|
|
36731
36818
|
capScope: "system",
|
|
36732
36819
|
addonId: null,
|
|
36733
36820
|
access: "delete"
|
|
36734
36821
|
},
|
|
36822
|
+
"localNetwork.revertToGeneratedCertificate": {
|
|
36823
|
+
capName: "local-network",
|
|
36824
|
+
capScope: "system",
|
|
36825
|
+
addonId: null,
|
|
36826
|
+
access: "create"
|
|
36827
|
+
},
|
|
36735
36828
|
"localNetwork.setAllowedAddresses": {
|
|
36736
36829
|
capName: "local-network",
|
|
36737
36830
|
capScope: "system",
|
|
@@ -36744,6 +36837,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
36744
36837
|
addonId: null,
|
|
36745
36838
|
access: "create"
|
|
36746
36839
|
},
|
|
36840
|
+
"localNetwork.uploadCertificate": {
|
|
36841
|
+
capName: "local-network",
|
|
36842
|
+
capScope: "system",
|
|
36843
|
+
addonId: null,
|
|
36844
|
+
access: "create"
|
|
36845
|
+
},
|
|
36747
36846
|
"lockControl.lock": {
|
|
36748
36847
|
capName: "lock-control",
|
|
36749
36848
|
capScope: "device",
|
|
@@ -39624,6 +39723,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
39624
39723
|
addonId: null,
|
|
39625
39724
|
access: "create"
|
|
39626
39725
|
},
|
|
39726
|
+
"terminalSession.updateInstance": {
|
|
39727
|
+
capName: "terminal-session",
|
|
39728
|
+
capScope: "system",
|
|
39729
|
+
addonId: null,
|
|
39730
|
+
access: "create"
|
|
39731
|
+
},
|
|
39627
39732
|
"terminalSession.writeInput": {
|
|
39628
39733
|
capName: "terminal-session",
|
|
39629
39734
|
capScope: "system",
|
|
@@ -42936,7 +43041,12 @@ function createSystemProxy(api) {
|
|
|
42936
43041
|
setNotificationEndpoint: (input) => dispatch("localNetwork", "setNotificationEndpoint", "mutation", input),
|
|
42937
43042
|
getAllowedAddresses: (input) => dispatch("localNetwork", "getAllowedAddresses", "query", input),
|
|
42938
43043
|
setAllowedAddresses: (input) => dispatch("localNetwork", "setAllowedAddresses", "mutation", input),
|
|
42939
|
-
resetAllowlistToBestMatch: (input) => dispatch("localNetwork", "resetAllowlistToBestMatch", "mutation", input)
|
|
43044
|
+
resetAllowlistToBestMatch: (input) => dispatch("localNetwork", "resetAllowlistToBestMatch", "mutation", input),
|
|
43045
|
+
getTlsStatus: (input) => dispatch("localNetwork", "getTlsStatus", "query", input),
|
|
43046
|
+
regenerateCertificate: (input) => dispatch("localNetwork", "regenerateCertificate", "mutation", input),
|
|
43047
|
+
uploadCertificate: (input) => dispatch("localNetwork", "uploadCertificate", "mutation", input),
|
|
43048
|
+
downloadCa: (input) => dispatch("localNetwork", "downloadCa", "query", input),
|
|
43049
|
+
revertToGeneratedCertificate: (input) => dispatch("localNetwork", "revertToGeneratedCertificate", "mutation", input)
|
|
42940
43050
|
},
|
|
42941
43051
|
meshNetwork: {
|
|
42942
43052
|
getStatus: (input) => dispatch("meshNetwork", "getStatus", "query", input),
|
|
@@ -43218,6 +43328,7 @@ function createSystemProxy(api) {
|
|
|
43218
43328
|
listProfiles: (input) => dispatch("terminalSession", "listProfiles", "query", input),
|
|
43219
43329
|
listInstances: (input) => dispatch("terminalSession", "listInstances", "query", input),
|
|
43220
43330
|
createInstance: (input) => dispatch("terminalSession", "createInstance", "mutation", input),
|
|
43331
|
+
updateInstance: (input) => dispatch("terminalSession", "updateInstance", "mutation", input),
|
|
43221
43332
|
deleteInstance: (input) => dispatch("terminalSession", "deleteInstance", "mutation", input),
|
|
43222
43333
|
setInstanceEnabled: (input) => dispatch("terminalSession", "setInstanceEnabled", "mutation", input),
|
|
43223
43334
|
listLegacyCameras: (input) => dispatch("terminalSession", "listLegacyCameras", "query", input),
|
|
@@ -44725,6 +44836,63 @@ function resolveClusterStepModelId(stepId, models) {
|
|
|
44725
44836
|
const chosen = models[stepId];
|
|
44726
44837
|
return chosen !== void 0 && chosen !== "" ? chosen : step.defaultModelId;
|
|
44727
44838
|
}
|
|
44839
|
+
/** Must match `DEFAULT_LANDMARK_PRECISION_FLOOR_PX` in the runner. */
|
|
44840
|
+
var DEFAULT_MIN_LANDMARK_FACE_SIZE_PX = 24;
|
|
44841
|
+
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
44842
|
+
stepId: "face-embedding",
|
|
44843
|
+
key: "minLandmarkFaceSize",
|
|
44844
|
+
label: "Min face size for recognition (detection px)",
|
|
44845
|
+
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.",
|
|
44846
|
+
type: "slider",
|
|
44847
|
+
min: 0,
|
|
44848
|
+
max: 64,
|
|
44849
|
+
step: 2,
|
|
44850
|
+
default: 24
|
|
44851
|
+
}];
|
|
44852
|
+
function clusterStepSettingKey(stepId, fieldKey) {
|
|
44853
|
+
return `clusterStepSetting:${stepId}:${fieldKey}`;
|
|
44854
|
+
}
|
|
44855
|
+
function clusterStepSettingFieldsFor(stepId) {
|
|
44856
|
+
return CLUSTER_STEP_SETTING_FIELDS.filter((field) => field.stepId === stepId);
|
|
44857
|
+
}
|
|
44858
|
+
var ClusterSettingNumberSchema = z.number().finite();
|
|
44859
|
+
function readClusterStepSettings(config) {
|
|
44860
|
+
const out = {};
|
|
44861
|
+
for (const field of CLUSTER_STEP_SETTING_FIELDS) {
|
|
44862
|
+
const parsed = ClusterSettingNumberSchema.safeParse(config[clusterStepSettingKey(field.stepId, field.key)]);
|
|
44863
|
+
const value = parsed.success ? parsed.data : field.default;
|
|
44864
|
+
const existing = out[field.stepId] ?? {};
|
|
44865
|
+
out[field.stepId] = {
|
|
44866
|
+
...existing,
|
|
44867
|
+
[field.key]: value
|
|
44868
|
+
};
|
|
44869
|
+
}
|
|
44870
|
+
return out;
|
|
44871
|
+
}
|
|
44872
|
+
var DEFAULT_CLUSTER_STEP_SETTINGS = readClusterStepSettings({});
|
|
44873
|
+
function pickClusterStepSettings(view) {
|
|
44874
|
+
if (view === null) return DEFAULT_CLUSTER_STEP_SETTINGS;
|
|
44875
|
+
const flat = {};
|
|
44876
|
+
const wanted = new Set(CLUSTER_STEP_SETTING_FIELDS.map((field) => clusterStepSettingKey(field.stepId, field.key)));
|
|
44877
|
+
for (const section of view.sections) for (const entry of section.fields) {
|
|
44878
|
+
if (!isHydratedField$2(entry) || typeof entry.key !== "string") continue;
|
|
44879
|
+
if (wanted.has(entry.key)) flat[entry.key] = entry.value;
|
|
44880
|
+
}
|
|
44881
|
+
return readClusterStepSettings(flat);
|
|
44882
|
+
}
|
|
44883
|
+
/**
|
|
44884
|
+
* Cluster knobs win over leftover per-device values. The cluster row is the
|
|
44885
|
+
* authority; a device-local copy is a leftover of the old per-node editor.
|
|
44886
|
+
*/
|
|
44887
|
+
function overlayClusterStepSettings(stepId, deviceSettings, cluster) {
|
|
44888
|
+
const overlay = cluster[stepId];
|
|
44889
|
+
if (overlay === void 0 || Object.keys(overlay).length === 0) return deviceSettings === void 0 ? void 0 : { ...deviceSettings };
|
|
44890
|
+
if (deviceSettings === void 0) return { ...overlay };
|
|
44891
|
+
return {
|
|
44892
|
+
...deviceSettings,
|
|
44893
|
+
...overlay
|
|
44894
|
+
};
|
|
44895
|
+
}
|
|
44728
44896
|
//#endregion
|
|
44729
44897
|
//#region src/pipeline/detail-crop.ts
|
|
44730
44898
|
/**
|
|
@@ -47084,4 +47252,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
47084
47252
|
return out;
|
|
47085
47253
|
}
|
|
47086
47254
|
//#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 };
|
|
47255
|
+
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;
|