@camstack/types 1.2.327 → 1.2.329
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon/base-addon.d.ts +58 -0
- package/dist/addon/secret-aware-context.d.ts +27 -0
- package/dist/addon/secret-paths.d.ts +48 -0
- package/dist/addon/secret-settings-view.d.ts +80 -0
- package/dist/addon.d.ts +1 -0
- package/dist/addon.js +52 -4
- package/dist/addon.mjs +27 -5
- package/dist/capabilities/addons.cap.d.ts +4 -4
- package/dist/capabilities/alarm-panel.cap.d.ts +8 -8
- package/dist/capabilities/alerts.cap.d.ts +5 -5
- package/dist/capabilities/control.cap.d.ts +11 -11
- package/dist/capabilities/day-night.cap.d.ts +16 -16
- package/dist/capabilities/device-manager.cap.d.ts +2 -0
- package/dist/capabilities/enum-sensor.cap.d.ts +4 -4
- package/dist/capabilities/index.d.ts +6 -2
- package/dist/capabilities/integrations.cap.d.ts +6 -3
- package/dist/capabilities/keychain-admin.cap.d.ts +312 -0
- package/dist/capabilities/keychain.cap.d.ts +180 -0
- package/dist/capabilities/lawn-mower-control.cap.d.ts +4 -4
- package/dist/capabilities/log-channels.cap.d.ts +1 -1
- package/dist/capabilities/log-destination.cap.d.ts +5 -5
- package/dist/capabilities/notification-rules.cap.d.ts +118 -118
- package/dist/capabilities/osd-manager.cap.d.ts +11 -11
- package/dist/capabilities/osd.cap.d.ts +5 -5
- package/dist/capabilities/pipeline-analytics.cap.d.ts +1291 -118
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +384 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts +145 -2
- package/dist/capabilities/storage.cap.d.ts +1 -1
- package/dist/capabilities/system.cap.d.ts +16 -16
- package/dist/capabilities/webrtc-session.cap.d.ts +3 -3
- package/dist/client.js +37 -1
- package/dist/client.mjs +37 -1
- package/dist/device/device-context.d.ts +11 -1
- package/dist/device/index.d.ts +1 -1
- package/dist/enums/event-category.d.ts +7 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-CtBAl88K.js → event-category-CHduMGvg.js} +7 -0
- package/dist/{event-category-B_0XEcLF.mjs → event-category-DaIZi00R.mjs} +7 -0
- package/dist/generated/addon-api.d.ts +289 -0
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +8 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +4 -2
- package/dist/health/wiring-health.d.ts +8 -8
- package/dist/index.d.ts +6 -2
- package/dist/index.js +1881 -101
- package/dist/index.mjs +1766 -98
- package/dist/interfaces/addon.d.ts +25 -0
- package/dist/interfaces/config-ui-secrets.d.ts +12 -0
- package/dist/interfaces/config-ui.d.ts +29 -1
- package/dist/interfaces/event-bus.d.ts +11 -0
- package/dist/interfaces/pipeline-runner-capability.d.ts +18 -0
- package/dist/keychain/index.d.ts +5 -0
- package/dist/keychain/known-secrets.d.ts +31 -0
- package/dist/keychain/resolve-secret-views.d.ts +2 -0
- package/dist/keychain/secret-marker.d.ts +52 -0
- package/dist/keychain/secret-ref.d.ts +62 -0
- package/dist/keychain/secrets-access.d.ts +77 -0
- package/dist/logging/log-channel.d.ts +2 -2
- package/dist/pipeline/auto-tune/plan-schemas.d.ts +123 -0
- package/dist/pipeline/auto-tune/recommend.d.ts +26 -1
- package/dist/pipeline/load-balancing/schemas.d.ts +8 -7
- package/dist/pipeline/node-benchmark/benchmark-mode.d.ts +57 -0
- package/dist/pipeline/node-benchmark/index.d.ts +9 -0
- package/dist/pipeline/node-benchmark/results.d.ts +52 -0
- package/dist/pipeline/node-benchmark/schemas.d.ts +848 -0
- package/dist/pipeline/node-benchmark/step-tree.d.ts +23 -0
- package/dist/{sleep-az1qiFzK.js → sleep-ClNXPpWR.js} +1580 -121
- package/dist/{sleep-B0JG7-_F.mjs → sleep-DujUvOcb.mjs} +1340 -121
- package/package.json +1 -1
|
@@ -293,9 +293,9 @@ declare const RequestCensusStatusSchema: z.ZodObject<{
|
|
|
293
293
|
}, z.core.$strip>;
|
|
294
294
|
/** Severity vocabulary. Mirrors `LogLevel` in `interfaces/logging.ts`. */
|
|
295
295
|
declare const LogLevelSchema: z.ZodEnum<{
|
|
296
|
+
info: "info";
|
|
296
297
|
error: "error";
|
|
297
298
|
debug: "debug";
|
|
298
|
-
info: "info";
|
|
299
299
|
warn: "warn";
|
|
300
300
|
}>;
|
|
301
301
|
/**
|
|
@@ -347,18 +347,18 @@ declare const LoggingLevelLayerSchema: z.ZodObject<{
|
|
|
347
347
|
nodeId: z.ZodNullable<z.ZodString>;
|
|
348
348
|
component: z.ZodNullable<z.ZodString>;
|
|
349
349
|
level: z.ZodNullable<z.ZodEnum<{
|
|
350
|
+
info: "info";
|
|
350
351
|
error: "error";
|
|
351
352
|
debug: "debug";
|
|
352
|
-
info: "info";
|
|
353
353
|
warn: "warn";
|
|
354
354
|
}>>;
|
|
355
355
|
}, z.core.$strip>;
|
|
356
356
|
/** What a line is judged against, and WHICH layer decided it. */
|
|
357
357
|
declare const LoggingEffectiveSchema: z.ZodObject<{
|
|
358
358
|
level: z.ZodEnum<{
|
|
359
|
+
info: "info";
|
|
359
360
|
error: "error";
|
|
360
361
|
debug: "debug";
|
|
361
|
-
info: "info";
|
|
362
362
|
warn: "warn";
|
|
363
363
|
}>;
|
|
364
364
|
levelSource: z.ZodEnum<{
|
|
@@ -379,9 +379,9 @@ declare const LoggingExplicitSchema: z.ZodObject<{
|
|
|
379
379
|
nodeId: z.ZodNullable<z.ZodString>;
|
|
380
380
|
component: z.ZodNullable<z.ZodString>;
|
|
381
381
|
level: z.ZodNullable<z.ZodEnum<{
|
|
382
|
+
info: "info";
|
|
382
383
|
error: "error";
|
|
383
384
|
debug: "debug";
|
|
384
|
-
info: "info";
|
|
385
385
|
warn: "warn";
|
|
386
386
|
}>>;
|
|
387
387
|
}, z.core.$strip>>>;
|
|
@@ -449,9 +449,9 @@ declare const LogChannelWindowPatchSchema: z.ZodObject<{
|
|
|
449
449
|
*/
|
|
450
450
|
declare const LoggingSettingsPatchSchema: z.ZodObject<{
|
|
451
451
|
level: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
452
|
+
info: "info";
|
|
452
453
|
error: "error";
|
|
453
454
|
debug: "debug";
|
|
454
|
-
info: "info";
|
|
455
455
|
warn: "warn";
|
|
456
456
|
}>>>;
|
|
457
457
|
diagnostics: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -539,9 +539,9 @@ declare const SetLoggingSettingsInputSchema: z.ZodObject<{
|
|
|
539
539
|
scopeComponent: z.ZodOptional<z.ZodString>;
|
|
540
540
|
patch: z.ZodObject<{
|
|
541
541
|
level: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
542
|
+
info: "info";
|
|
542
543
|
error: "error";
|
|
543
544
|
debug: "debug";
|
|
544
|
-
info: "info";
|
|
545
545
|
warn: "warn";
|
|
546
546
|
}>>>;
|
|
547
547
|
diagnostics: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -573,9 +573,9 @@ declare const LoggingSettingsStateSchema: z.ZodObject<{
|
|
|
573
573
|
scopeComponent: z.ZodNullable<z.ZodString>;
|
|
574
574
|
effective: z.ZodObject<{
|
|
575
575
|
level: z.ZodEnum<{
|
|
576
|
+
info: "info";
|
|
576
577
|
error: "error";
|
|
577
578
|
debug: "debug";
|
|
578
|
-
info: "info";
|
|
579
579
|
warn: "warn";
|
|
580
580
|
}>;
|
|
581
581
|
levelSource: z.ZodEnum<{
|
|
@@ -595,9 +595,9 @@ declare const LoggingSettingsStateSchema: z.ZodObject<{
|
|
|
595
595
|
nodeId: z.ZodNullable<z.ZodString>;
|
|
596
596
|
component: z.ZodNullable<z.ZodString>;
|
|
597
597
|
level: z.ZodNullable<z.ZodEnum<{
|
|
598
|
+
info: "info";
|
|
598
599
|
error: "error";
|
|
599
600
|
debug: "debug";
|
|
600
|
-
info: "info";
|
|
601
601
|
warn: "warn";
|
|
602
602
|
}>>;
|
|
603
603
|
}, z.core.$strip>>>;
|
|
@@ -615,8 +615,8 @@ declare const LoggingSettingsStateSchema: z.ZodObject<{
|
|
|
615
615
|
name: z.ZodString;
|
|
616
616
|
description: z.ZodString;
|
|
617
617
|
defaultLevel: z.ZodEnum<{
|
|
618
|
-
error: "error";
|
|
619
618
|
info: "info";
|
|
619
|
+
error: "error";
|
|
620
620
|
warn: "warn";
|
|
621
621
|
}>;
|
|
622
622
|
perDevice: z.ZodBoolean;
|
|
@@ -879,9 +879,9 @@ export declare const systemCapability: {
|
|
|
879
879
|
scopeComponent: z.ZodNullable<z.ZodString>;
|
|
880
880
|
effective: z.ZodObject<{
|
|
881
881
|
level: z.ZodEnum<{
|
|
882
|
+
info: "info";
|
|
882
883
|
error: "error";
|
|
883
884
|
debug: "debug";
|
|
884
|
-
info: "info";
|
|
885
885
|
warn: "warn";
|
|
886
886
|
}>;
|
|
887
887
|
levelSource: z.ZodEnum<{
|
|
@@ -901,9 +901,9 @@ export declare const systemCapability: {
|
|
|
901
901
|
nodeId: z.ZodNullable<z.ZodString>;
|
|
902
902
|
component: z.ZodNullable<z.ZodString>;
|
|
903
903
|
level: z.ZodNullable<z.ZodEnum<{
|
|
904
|
+
info: "info";
|
|
904
905
|
error: "error";
|
|
905
906
|
debug: "debug";
|
|
906
|
-
info: "info";
|
|
907
907
|
warn: "warn";
|
|
908
908
|
}>>;
|
|
909
909
|
}, z.core.$strip>>>;
|
|
@@ -921,8 +921,8 @@ export declare const systemCapability: {
|
|
|
921
921
|
name: z.ZodString;
|
|
922
922
|
description: z.ZodString;
|
|
923
923
|
defaultLevel: z.ZodEnum<{
|
|
924
|
-
error: "error";
|
|
925
924
|
info: "info";
|
|
925
|
+
error: "error";
|
|
926
926
|
warn: "warn";
|
|
927
927
|
}>;
|
|
928
928
|
perDevice: z.ZodBoolean;
|
|
@@ -951,9 +951,9 @@ export declare const systemCapability: {
|
|
|
951
951
|
scopeComponent: z.ZodOptional<z.ZodString>;
|
|
952
952
|
patch: z.ZodObject<{
|
|
953
953
|
level: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
954
|
+
info: "info";
|
|
954
955
|
error: "error";
|
|
955
956
|
debug: "debug";
|
|
956
|
-
info: "info";
|
|
957
957
|
warn: "warn";
|
|
958
958
|
}>>>;
|
|
959
959
|
diagnostics: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -975,9 +975,9 @@ export declare const systemCapability: {
|
|
|
975
975
|
scopeComponent: z.ZodNullable<z.ZodString>;
|
|
976
976
|
effective: z.ZodObject<{
|
|
977
977
|
level: z.ZodEnum<{
|
|
978
|
+
info: "info";
|
|
978
979
|
error: "error";
|
|
979
980
|
debug: "debug";
|
|
980
|
-
info: "info";
|
|
981
981
|
warn: "warn";
|
|
982
982
|
}>;
|
|
983
983
|
levelSource: z.ZodEnum<{
|
|
@@ -997,9 +997,9 @@ export declare const systemCapability: {
|
|
|
997
997
|
nodeId: z.ZodNullable<z.ZodString>;
|
|
998
998
|
component: z.ZodNullable<z.ZodString>;
|
|
999
999
|
level: z.ZodNullable<z.ZodEnum<{
|
|
1000
|
+
info: "info";
|
|
1000
1001
|
error: "error";
|
|
1001
1002
|
debug: "debug";
|
|
1002
|
-
info: "info";
|
|
1003
1003
|
warn: "warn";
|
|
1004
1004
|
}>>;
|
|
1005
1005
|
}, z.core.$strip>>>;
|
|
@@ -1017,8 +1017,8 @@ export declare const systemCapability: {
|
|
|
1017
1017
|
name: z.ZodString;
|
|
1018
1018
|
description: z.ZodString;
|
|
1019
1019
|
defaultLevel: z.ZodEnum<{
|
|
1020
|
-
error: "error";
|
|
1021
1020
|
info: "info";
|
|
1021
|
+
error: "error";
|
|
1022
1022
|
warn: "warn";
|
|
1023
1023
|
}>;
|
|
1024
1024
|
perDevice: z.ZodBoolean;
|
|
@@ -87,8 +87,8 @@ export type WebrtcStreamChoice = z.infer<typeof WebrtcStreamChoiceSchema>;
|
|
|
87
87
|
export declare const WebrtcLadderDecisionSchema: z.ZodObject<{
|
|
88
88
|
cause: z.ZodEnum<{
|
|
89
89
|
healthy: "healthy";
|
|
90
|
-
loss: "loss";
|
|
91
90
|
stall: "stall";
|
|
91
|
+
loss: "loss";
|
|
92
92
|
}>;
|
|
93
93
|
tier: z.ZodNullable<z.ZodEnum<{
|
|
94
94
|
high: "high";
|
|
@@ -211,8 +211,8 @@ export declare const WebrtcSessionDebugSchema: z.ZodObject<{
|
|
|
211
211
|
lastDecision: z.ZodNullable<z.ZodObject<{
|
|
212
212
|
cause: z.ZodEnum<{
|
|
213
213
|
healthy: "healthy";
|
|
214
|
-
loss: "loss";
|
|
215
214
|
stall: "stall";
|
|
215
|
+
loss: "loss";
|
|
216
216
|
}>;
|
|
217
217
|
tier: z.ZodNullable<z.ZodEnum<{
|
|
218
218
|
high: "high";
|
|
@@ -652,8 +652,8 @@ export declare const webrtcSessionCapability: {
|
|
|
652
652
|
lastDecision: z.ZodNullable<z.ZodObject<{
|
|
653
653
|
cause: z.ZodEnum<{
|
|
654
654
|
healthy: "healthy";
|
|
655
|
-
loss: "loss";
|
|
656
655
|
stall: "stall";
|
|
656
|
+
loss: "loss";
|
|
657
657
|
}>;
|
|
658
658
|
tier: z.ZodNullable<z.ZodEnum<{
|
|
659
659
|
high: "high";
|
package/dist/client.js
CHANGED
|
@@ -5754,6 +5754,21 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
5754
5754
|
getRetrainExportUrl: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getRetrainExportUrl", "query", input),
|
|
5755
5755
|
setRetrainFrameComplete: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "setRetrainFrameComplete", "mutation", input),
|
|
5756
5756
|
writeRetrainArchive: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "writeRetrainArchive", "mutation", input),
|
|
5757
|
+
previewRetrainDataset: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "previewRetrainDataset", "query", input),
|
|
5758
|
+
createRetrainDatasetVersion: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "createRetrainDatasetVersion", "mutation", input),
|
|
5759
|
+
listRetrainDatasetVersions: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainDatasetVersions", "query", input),
|
|
5760
|
+
deleteRetrainDatasetVersion: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "deleteRetrainDatasetVersion", "mutation", input),
|
|
5761
|
+
verifyRetrainDatasetVersion: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "verifyRetrainDatasetVersion", "query", input),
|
|
5762
|
+
listRetrainAssistProfiles: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainAssistProfiles", "query", input),
|
|
5763
|
+
proposeRetrainAnnotationsWithLlm: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "proposeRetrainAnnotationsWithLlm", "mutation", input),
|
|
5764
|
+
createRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "createRetrainCollection", "mutation", input),
|
|
5765
|
+
listRetrainCollections: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainCollections", "query", input),
|
|
5766
|
+
renameRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "renameRetrainCollection", "mutation", input),
|
|
5767
|
+
deleteRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "deleteRetrainCollection", "mutation", input),
|
|
5768
|
+
addRetrainFrameFromRecording: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "addRetrainFrameFromRecording", "mutation", input),
|
|
5769
|
+
addRetrainFramesToCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "addRetrainFramesToCollection", "mutation", input),
|
|
5770
|
+
removeRetrainFrameFromCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "removeRetrainFrameFromCollection", "mutation", input),
|
|
5771
|
+
listRetrainCollectionFrames: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainCollectionFrames", "query", input),
|
|
5757
5772
|
getEventMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventMedia", "query", input),
|
|
5758
5773
|
getTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getTrackMedia", "query", input),
|
|
5759
5774
|
listTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listTrackMedia", "query", input),
|
|
@@ -7212,6 +7227,17 @@ function createSystemProxy(api) {
|
|
|
7212
7227
|
getAvailableTypes: (input) => dispatch("integrations", "getAvailableTypes", "query", input),
|
|
7213
7228
|
testConnection: (input) => dispatch("integrations", "testConnection", "mutation", input)
|
|
7214
7229
|
},
|
|
7230
|
+
keychainAdmin: {
|
|
7231
|
+
status: (input) => dispatch("keychainAdmin", "status", "query", input),
|
|
7232
|
+
listSecrets: (input) => dispatch("keychainAdmin", "listSecrets", "query", input),
|
|
7233
|
+
listAudit: (input) => dispatch("keychainAdmin", "listAudit", "query", input),
|
|
7234
|
+
reveal: (input) => dispatch("keychainAdmin", "reveal", "mutation", input),
|
|
7235
|
+
deleteOrphans: (input) => dispatch("keychainAdmin", "deleteOrphans", "mutation", input),
|
|
7236
|
+
rotateMasterKey: (input) => dispatch("keychainAdmin", "rotateMasterKey", "mutation", input),
|
|
7237
|
+
purgeRetiredKeys: (input) => dispatch("keychainAdmin", "purgeRetiredKeys", "mutation", input),
|
|
7238
|
+
downloadRecoveryKey: (input) => dispatch("keychainAdmin", "downloadRecoveryKey", "mutation", input),
|
|
7239
|
+
resetKeychain: (input) => dispatch("keychainAdmin", "resetKeychain", "mutation", input)
|
|
7240
|
+
},
|
|
7215
7241
|
llm: {
|
|
7216
7242
|
generate: (input) => dispatch("llm", "generate", "mutation", input),
|
|
7217
7243
|
generateVision: (input) => dispatch("llm", "generateVision", "mutation", input),
|
|
@@ -7431,6 +7457,13 @@ function createSystemProxy(api) {
|
|
|
7431
7457
|
suggestShares: (input) => dispatch("pipelineOrchestrator", "suggestShares", "query", input),
|
|
7432
7458
|
getEffectiveShares: (input) => dispatch("pipelineOrchestrator", "getEffectiveShares", "query", input),
|
|
7433
7459
|
setShareSource: (input) => dispatch("pipelineOrchestrator", "setShareSource", "mutation", input),
|
|
7460
|
+
getNodeBenchmarkPreflight: (input) => dispatch("pipelineOrchestrator", "getNodeBenchmarkPreflight", "query", input),
|
|
7461
|
+
startNodeBenchmark: (input) => dispatch("pipelineOrchestrator", "startNodeBenchmark", "mutation", input),
|
|
7462
|
+
getNodeBenchmarkStatus: (input) => dispatch("pipelineOrchestrator", "getNodeBenchmarkStatus", "query", input),
|
|
7463
|
+
abortNodeBenchmark: (input) => dispatch("pipelineOrchestrator", "abortNodeBenchmark", "mutation", input),
|
|
7464
|
+
getNodeBenchmarkCandidates: (input) => dispatch("pipelineOrchestrator", "getNodeBenchmarkCandidates", "query", input),
|
|
7465
|
+
listNodeBenchmarkResults: (input) => dispatch("pipelineOrchestrator", "listNodeBenchmarkResults", "query", input),
|
|
7466
|
+
deleteNodeBenchmarkResult: (input) => dispatch("pipelineOrchestrator", "deleteNodeBenchmarkResult", "mutation", input),
|
|
7434
7467
|
getCameraStatuses: (input) => dispatch("pipelineOrchestrator", "getCameraStatuses", "query", input),
|
|
7435
7468
|
setCameraSensors: (input) => dispatch("pipelineOrchestrator", "setCameraSensors", "mutation", input),
|
|
7436
7469
|
reconcileFromDisk: (input) => dispatch("pipelineOrchestrator", "reconcileFromDisk", "mutation", input),
|
|
@@ -7444,7 +7477,10 @@ function createSystemProxy(api) {
|
|
|
7444
7477
|
getAllCameraMetrics: (input) => dispatch("pipelineRunner", "getAllCameraMetrics", "query", input),
|
|
7445
7478
|
getLocalCameras: (input) => dispatch("pipelineRunner", "getLocalCameras", "query", input),
|
|
7446
7479
|
getNativeCrop: (input) => dispatch("pipelineRunner", "getNativeCrop", "query", input),
|
|
7447
|
-
runStatelessStep: (input) => dispatch("pipelineRunner", "runStatelessStep", "mutation", input)
|
|
7480
|
+
runStatelessStep: (input) => dispatch("pipelineRunner", "runStatelessStep", "mutation", input),
|
|
7481
|
+
startNodeBench: (input) => dispatch("pipelineRunner", "startNodeBench", "mutation", input),
|
|
7482
|
+
getNodeBenchStatus: (input) => dispatch("pipelineRunner", "getNodeBenchStatus", "query", input),
|
|
7483
|
+
abortNodeBench: (input) => dispatch("pipelineRunner", "abortNodeBench", "mutation", input)
|
|
7448
7484
|
},
|
|
7449
7485
|
plateGallery: {
|
|
7450
7486
|
getPlateMedia: (input) => dispatch("plateGallery", "getPlateMedia", "query", input),
|
package/dist/client.mjs
CHANGED
|
@@ -5753,6 +5753,21 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
5753
5753
|
getRetrainExportUrl: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getRetrainExportUrl", "query", input),
|
|
5754
5754
|
setRetrainFrameComplete: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "setRetrainFrameComplete", "mutation", input),
|
|
5755
5755
|
writeRetrainArchive: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "writeRetrainArchive", "mutation", input),
|
|
5756
|
+
previewRetrainDataset: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "previewRetrainDataset", "query", input),
|
|
5757
|
+
createRetrainDatasetVersion: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "createRetrainDatasetVersion", "mutation", input),
|
|
5758
|
+
listRetrainDatasetVersions: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainDatasetVersions", "query", input),
|
|
5759
|
+
deleteRetrainDatasetVersion: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "deleteRetrainDatasetVersion", "mutation", input),
|
|
5760
|
+
verifyRetrainDatasetVersion: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "verifyRetrainDatasetVersion", "query", input),
|
|
5761
|
+
listRetrainAssistProfiles: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainAssistProfiles", "query", input),
|
|
5762
|
+
proposeRetrainAnnotationsWithLlm: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "proposeRetrainAnnotationsWithLlm", "mutation", input),
|
|
5763
|
+
createRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "createRetrainCollection", "mutation", input),
|
|
5764
|
+
listRetrainCollections: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainCollections", "query", input),
|
|
5765
|
+
renameRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "renameRetrainCollection", "mutation", input),
|
|
5766
|
+
deleteRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "deleteRetrainCollection", "mutation", input),
|
|
5767
|
+
addRetrainFrameFromRecording: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "addRetrainFrameFromRecording", "mutation", input),
|
|
5768
|
+
addRetrainFramesToCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "addRetrainFramesToCollection", "mutation", input),
|
|
5769
|
+
removeRetrainFrameFromCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "removeRetrainFrameFromCollection", "mutation", input),
|
|
5770
|
+
listRetrainCollectionFrames: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainCollectionFrames", "query", input),
|
|
5756
5771
|
getEventMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventMedia", "query", input),
|
|
5757
5772
|
getTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getTrackMedia", "query", input),
|
|
5758
5773
|
listTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listTrackMedia", "query", input),
|
|
@@ -7211,6 +7226,17 @@ function createSystemProxy(api) {
|
|
|
7211
7226
|
getAvailableTypes: (input) => dispatch("integrations", "getAvailableTypes", "query", input),
|
|
7212
7227
|
testConnection: (input) => dispatch("integrations", "testConnection", "mutation", input)
|
|
7213
7228
|
},
|
|
7229
|
+
keychainAdmin: {
|
|
7230
|
+
status: (input) => dispatch("keychainAdmin", "status", "query", input),
|
|
7231
|
+
listSecrets: (input) => dispatch("keychainAdmin", "listSecrets", "query", input),
|
|
7232
|
+
listAudit: (input) => dispatch("keychainAdmin", "listAudit", "query", input),
|
|
7233
|
+
reveal: (input) => dispatch("keychainAdmin", "reveal", "mutation", input),
|
|
7234
|
+
deleteOrphans: (input) => dispatch("keychainAdmin", "deleteOrphans", "mutation", input),
|
|
7235
|
+
rotateMasterKey: (input) => dispatch("keychainAdmin", "rotateMasterKey", "mutation", input),
|
|
7236
|
+
purgeRetiredKeys: (input) => dispatch("keychainAdmin", "purgeRetiredKeys", "mutation", input),
|
|
7237
|
+
downloadRecoveryKey: (input) => dispatch("keychainAdmin", "downloadRecoveryKey", "mutation", input),
|
|
7238
|
+
resetKeychain: (input) => dispatch("keychainAdmin", "resetKeychain", "mutation", input)
|
|
7239
|
+
},
|
|
7214
7240
|
llm: {
|
|
7215
7241
|
generate: (input) => dispatch("llm", "generate", "mutation", input),
|
|
7216
7242
|
generateVision: (input) => dispatch("llm", "generateVision", "mutation", input),
|
|
@@ -7430,6 +7456,13 @@ function createSystemProxy(api) {
|
|
|
7430
7456
|
suggestShares: (input) => dispatch("pipelineOrchestrator", "suggestShares", "query", input),
|
|
7431
7457
|
getEffectiveShares: (input) => dispatch("pipelineOrchestrator", "getEffectiveShares", "query", input),
|
|
7432
7458
|
setShareSource: (input) => dispatch("pipelineOrchestrator", "setShareSource", "mutation", input),
|
|
7459
|
+
getNodeBenchmarkPreflight: (input) => dispatch("pipelineOrchestrator", "getNodeBenchmarkPreflight", "query", input),
|
|
7460
|
+
startNodeBenchmark: (input) => dispatch("pipelineOrchestrator", "startNodeBenchmark", "mutation", input),
|
|
7461
|
+
getNodeBenchmarkStatus: (input) => dispatch("pipelineOrchestrator", "getNodeBenchmarkStatus", "query", input),
|
|
7462
|
+
abortNodeBenchmark: (input) => dispatch("pipelineOrchestrator", "abortNodeBenchmark", "mutation", input),
|
|
7463
|
+
getNodeBenchmarkCandidates: (input) => dispatch("pipelineOrchestrator", "getNodeBenchmarkCandidates", "query", input),
|
|
7464
|
+
listNodeBenchmarkResults: (input) => dispatch("pipelineOrchestrator", "listNodeBenchmarkResults", "query", input),
|
|
7465
|
+
deleteNodeBenchmarkResult: (input) => dispatch("pipelineOrchestrator", "deleteNodeBenchmarkResult", "mutation", input),
|
|
7433
7466
|
getCameraStatuses: (input) => dispatch("pipelineOrchestrator", "getCameraStatuses", "query", input),
|
|
7434
7467
|
setCameraSensors: (input) => dispatch("pipelineOrchestrator", "setCameraSensors", "mutation", input),
|
|
7435
7468
|
reconcileFromDisk: (input) => dispatch("pipelineOrchestrator", "reconcileFromDisk", "mutation", input),
|
|
@@ -7443,7 +7476,10 @@ function createSystemProxy(api) {
|
|
|
7443
7476
|
getAllCameraMetrics: (input) => dispatch("pipelineRunner", "getAllCameraMetrics", "query", input),
|
|
7444
7477
|
getLocalCameras: (input) => dispatch("pipelineRunner", "getLocalCameras", "query", input),
|
|
7445
7478
|
getNativeCrop: (input) => dispatch("pipelineRunner", "getNativeCrop", "query", input),
|
|
7446
|
-
runStatelessStep: (input) => dispatch("pipelineRunner", "runStatelessStep", "mutation", input)
|
|
7479
|
+
runStatelessStep: (input) => dispatch("pipelineRunner", "runStatelessStep", "mutation", input),
|
|
7480
|
+
startNodeBench: (input) => dispatch("pipelineRunner", "startNodeBench", "mutation", input),
|
|
7481
|
+
getNodeBenchStatus: (input) => dispatch("pipelineRunner", "getNodeBenchStatus", "query", input),
|
|
7482
|
+
abortNodeBench: (input) => dispatch("pipelineRunner", "abortNodeBench", "mutation", input)
|
|
7447
7483
|
},
|
|
7448
7484
|
plateGallery: {
|
|
7449
7485
|
getPlateMedia: (input) => dispatch("plateGallery", "getPlateMedia", "query", input),
|
|
@@ -7,6 +7,11 @@ import type { AddonApi } from '../generated/addon-api.js';
|
|
|
7
7
|
import type { DeviceProxy } from '../generated/device-proxy.js';
|
|
8
8
|
import type { DeviceMeta, InitialDeviceMeta } from './device-management.js';
|
|
9
9
|
import type { DeviceType } from './device-type.js';
|
|
10
|
+
/** What a device states about the config it persists. */
|
|
11
|
+
export interface DevicePersistConfigOptions {
|
|
12
|
+
/** Dotted paths its schema declares secret (`collectZodSecretPaths`). */
|
|
13
|
+
readonly secretConfigPaths?: readonly string[];
|
|
14
|
+
}
|
|
10
15
|
export interface DeviceContext {
|
|
11
16
|
/** Progressive, system-wide unique numeric device id. Injected from the
|
|
12
17
|
* hub's `device-manager` via `DeviceManagerApi.allocateDeviceId` before
|
|
@@ -19,7 +24,12 @@ export interface DeviceContext {
|
|
|
19
24
|
readonly logger: IScopedLogger;
|
|
20
25
|
readonly api: AddonApi;
|
|
21
26
|
readonly eventBus: IEventBus;
|
|
22
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Persist the device's config blob. `options.secretConfigPaths` names the
|
|
29
|
+
* paths its schema declares secret, so the hub's door keeps those values in
|
|
30
|
+
* the keychain instead of the blob (D787).
|
|
31
|
+
*/
|
|
32
|
+
readonly persistConfig: (data: unknown, options?: DevicePersistConfigOptions) => Promise<void>;
|
|
23
33
|
/**
|
|
24
34
|
* Snapshot of the persisted runtime-state blob loaded at boot.
|
|
25
35
|
* `BaseDevice` hands this to `DeviceRuntimeState.fromInitial` so
|
package/dist/device/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export type { ExposeBlockDevicesInput, ReconcileBlockDevicesInput, } from './blo
|
|
|
12
12
|
export { exposeBlockDevices, reconcileBlockDevices } from './block-declared-devices.js';
|
|
13
13
|
export type { IDevice } from './device.js';
|
|
14
14
|
export { DeviceConfig } from './device-config.js';
|
|
15
|
-
export type { DeviceConstructor, DeviceContext, DeviceManagerApi, IDeviceRegistry, IDeviceRegistryReader, } from './device-context.js';
|
|
15
|
+
export type { DeviceConstructor, DeviceContext, DeviceManagerApi, DevicePersistConfigOptions, IDeviceRegistry, IDeviceRegistryReader, } from './device-context.js';
|
|
16
16
|
export type { ChildLayout, ChildLayoutEntry, CreateDeviceSpec, DeviceDiscovery, DeviceManualCreation, DeviceMeta, DiscoveredDevice, InitialDeviceMeta, SavedDevice, } from './device-management.js';
|
|
17
17
|
export type { DeviceProfile, DeviceProfileDefaults, DeviceProfileMatch, PipelinePhaseMode, } from './device-profile.js';
|
|
18
18
|
export { BATTERY_DEVICE_PROFILE, DEVICE_PROFILES, deviceMatchesProfile, resolveDeviceProfile, } from './device-profile.js';
|
|
@@ -75,6 +75,13 @@ export declare enum EventCategory {
|
|
|
75
75
|
* Payload: `{ packageName, addonId?, error: { message, stack }, retryCount, nextRetryAt }`.
|
|
76
76
|
*/
|
|
77
77
|
AddonLoadFailed = "addon.load-failed",
|
|
78
|
+
/**
|
|
79
|
+
* A keychain value was stored or removed (D787). Carries the ref, its
|
|
80
|
+
* owner and the new version — NEVER the value. A process holding the ref
|
|
81
|
+
* drops its cached copy and the owning `BaseAddon` re-resolves its config.
|
|
82
|
+
* Telemetry (D8): a process that misses it still revalidates by version.
|
|
83
|
+
*/
|
|
84
|
+
KeychainChanged = "keychain.changed",
|
|
78
85
|
/**
|
|
79
86
|
* Addon recovered from a previous failure. Emitted when an addon
|
|
80
87
|
* transitions from `failed` back to `healthy` (typically via the
|
package/dist/enums.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_event_category = require("./event-category-
|
|
2
|
+
const require_event_category = require("./event-category-CHduMGvg.js");
|
|
3
3
|
//#region src/enums/event-source-type.ts
|
|
4
4
|
var EventSourceType = /* @__PURE__ */ function(EventSourceType) {
|
|
5
5
|
EventSourceType["Addon"] = "addon";
|
package/dist/enums.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as EventCategory } from "./event-category-
|
|
1
|
+
import { t as EventCategory } from "./event-category-DaIZi00R.mjs";
|
|
2
2
|
//#region src/enums/event-source-type.ts
|
|
3
3
|
var EventSourceType = /* @__PURE__ */ function(EventSourceType) {
|
|
4
4
|
EventSourceType["Addon"] = "addon";
|
|
@@ -77,6 +77,13 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
77
77
|
*/
|
|
78
78
|
EventCategory["AddonLoadFailed"] = "addon.load-failed";
|
|
79
79
|
/**
|
|
80
|
+
* A keychain value was stored or removed (D787). Carries the ref, its
|
|
81
|
+
* owner and the new version — NEVER the value. A process holding the ref
|
|
82
|
+
* drops its cached copy and the owning `BaseAddon` re-resolves its config.
|
|
83
|
+
* Telemetry (D8): a process that misses it still revalidates by version.
|
|
84
|
+
*/
|
|
85
|
+
EventCategory["KeychainChanged"] = "keychain.changed";
|
|
86
|
+
/**
|
|
80
87
|
* Addon recovered from a previous failure. Emitted when an addon
|
|
81
88
|
* transitions from `failed` back to `healthy` (typically via the
|
|
82
89
|
* monitor's auto-retry loop, or after manual `addons.retryLoad`).
|
|
@@ -77,6 +77,13 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
77
77
|
*/
|
|
78
78
|
EventCategory["AddonLoadFailed"] = "addon.load-failed";
|
|
79
79
|
/**
|
|
80
|
+
* A keychain value was stored or removed (D787). Carries the ref, its
|
|
81
|
+
* owner and the new version — NEVER the value. A process holding the ref
|
|
82
|
+
* drops its cached copy and the owning `BaseAddon` re-resolves its config.
|
|
83
|
+
* Telemetry (D8): a process that misses it still revalidates by version.
|
|
84
|
+
*/
|
|
85
|
+
EventCategory["KeychainChanged"] = "keychain.changed";
|
|
86
|
+
/**
|
|
80
87
|
* Addon recovered from a previous failure. Emitted when an addon
|
|
81
88
|
* transitions from `failed` back to `healthy` (typically via the
|
|
82
89
|
* monitor's auto-retry loop, or after manual `addons.retryLoad`).
|