@camstack/types 1.2.327 → 1.2.328
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/alerts.cap.d.ts +5 -5
- package/dist/capabilities/control.cap.d.ts +11 -11
- package/dist/capabilities/day-night.cap.d.ts +8 -8
- 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 +30 -30
- 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 +996 -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 +32 -1
- package/dist/client.mjs +32 -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 +254 -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 +1736 -101
- package/dist/index.mjs +1625 -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-B0JG7-_F.mjs → sleep-Cr5YOk3m.mjs} +1335 -121
- package/dist/{sleep-az1qiFzK.js → sleep-i3kl-0Na.js} +1575 -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,16 @@ 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
|
+
listRetrainAssistProfiles: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainAssistProfiles", "query", input),
|
|
5758
|
+
proposeRetrainAnnotationsWithLlm: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "proposeRetrainAnnotationsWithLlm", "mutation", input),
|
|
5759
|
+
createRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "createRetrainCollection", "mutation", input),
|
|
5760
|
+
listRetrainCollections: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainCollections", "query", input),
|
|
5761
|
+
renameRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "renameRetrainCollection", "mutation", input),
|
|
5762
|
+
deleteRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "deleteRetrainCollection", "mutation", input),
|
|
5763
|
+
addRetrainFrameFromRecording: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "addRetrainFrameFromRecording", "mutation", input),
|
|
5764
|
+
addRetrainFramesToCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "addRetrainFramesToCollection", "mutation", input),
|
|
5765
|
+
removeRetrainFrameFromCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "removeRetrainFrameFromCollection", "mutation", input),
|
|
5766
|
+
listRetrainCollectionFrames: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainCollectionFrames", "query", input),
|
|
5757
5767
|
getEventMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventMedia", "query", input),
|
|
5758
5768
|
getTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getTrackMedia", "query", input),
|
|
5759
5769
|
listTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listTrackMedia", "query", input),
|
|
@@ -7212,6 +7222,17 @@ function createSystemProxy(api) {
|
|
|
7212
7222
|
getAvailableTypes: (input) => dispatch("integrations", "getAvailableTypes", "query", input),
|
|
7213
7223
|
testConnection: (input) => dispatch("integrations", "testConnection", "mutation", input)
|
|
7214
7224
|
},
|
|
7225
|
+
keychainAdmin: {
|
|
7226
|
+
status: (input) => dispatch("keychainAdmin", "status", "query", input),
|
|
7227
|
+
listSecrets: (input) => dispatch("keychainAdmin", "listSecrets", "query", input),
|
|
7228
|
+
listAudit: (input) => dispatch("keychainAdmin", "listAudit", "query", input),
|
|
7229
|
+
reveal: (input) => dispatch("keychainAdmin", "reveal", "mutation", input),
|
|
7230
|
+
deleteOrphans: (input) => dispatch("keychainAdmin", "deleteOrphans", "mutation", input),
|
|
7231
|
+
rotateMasterKey: (input) => dispatch("keychainAdmin", "rotateMasterKey", "mutation", input),
|
|
7232
|
+
purgeRetiredKeys: (input) => dispatch("keychainAdmin", "purgeRetiredKeys", "mutation", input),
|
|
7233
|
+
downloadRecoveryKey: (input) => dispatch("keychainAdmin", "downloadRecoveryKey", "mutation", input),
|
|
7234
|
+
resetKeychain: (input) => dispatch("keychainAdmin", "resetKeychain", "mutation", input)
|
|
7235
|
+
},
|
|
7215
7236
|
llm: {
|
|
7216
7237
|
generate: (input) => dispatch("llm", "generate", "mutation", input),
|
|
7217
7238
|
generateVision: (input) => dispatch("llm", "generateVision", "mutation", input),
|
|
@@ -7431,6 +7452,13 @@ function createSystemProxy(api) {
|
|
|
7431
7452
|
suggestShares: (input) => dispatch("pipelineOrchestrator", "suggestShares", "query", input),
|
|
7432
7453
|
getEffectiveShares: (input) => dispatch("pipelineOrchestrator", "getEffectiveShares", "query", input),
|
|
7433
7454
|
setShareSource: (input) => dispatch("pipelineOrchestrator", "setShareSource", "mutation", input),
|
|
7455
|
+
getNodeBenchmarkPreflight: (input) => dispatch("pipelineOrchestrator", "getNodeBenchmarkPreflight", "query", input),
|
|
7456
|
+
startNodeBenchmark: (input) => dispatch("pipelineOrchestrator", "startNodeBenchmark", "mutation", input),
|
|
7457
|
+
getNodeBenchmarkStatus: (input) => dispatch("pipelineOrchestrator", "getNodeBenchmarkStatus", "query", input),
|
|
7458
|
+
abortNodeBenchmark: (input) => dispatch("pipelineOrchestrator", "abortNodeBenchmark", "mutation", input),
|
|
7459
|
+
getNodeBenchmarkCandidates: (input) => dispatch("pipelineOrchestrator", "getNodeBenchmarkCandidates", "query", input),
|
|
7460
|
+
listNodeBenchmarkResults: (input) => dispatch("pipelineOrchestrator", "listNodeBenchmarkResults", "query", input),
|
|
7461
|
+
deleteNodeBenchmarkResult: (input) => dispatch("pipelineOrchestrator", "deleteNodeBenchmarkResult", "mutation", input),
|
|
7434
7462
|
getCameraStatuses: (input) => dispatch("pipelineOrchestrator", "getCameraStatuses", "query", input),
|
|
7435
7463
|
setCameraSensors: (input) => dispatch("pipelineOrchestrator", "setCameraSensors", "mutation", input),
|
|
7436
7464
|
reconcileFromDisk: (input) => dispatch("pipelineOrchestrator", "reconcileFromDisk", "mutation", input),
|
|
@@ -7444,7 +7472,10 @@ function createSystemProxy(api) {
|
|
|
7444
7472
|
getAllCameraMetrics: (input) => dispatch("pipelineRunner", "getAllCameraMetrics", "query", input),
|
|
7445
7473
|
getLocalCameras: (input) => dispatch("pipelineRunner", "getLocalCameras", "query", input),
|
|
7446
7474
|
getNativeCrop: (input) => dispatch("pipelineRunner", "getNativeCrop", "query", input),
|
|
7447
|
-
runStatelessStep: (input) => dispatch("pipelineRunner", "runStatelessStep", "mutation", input)
|
|
7475
|
+
runStatelessStep: (input) => dispatch("pipelineRunner", "runStatelessStep", "mutation", input),
|
|
7476
|
+
startNodeBench: (input) => dispatch("pipelineRunner", "startNodeBench", "mutation", input),
|
|
7477
|
+
getNodeBenchStatus: (input) => dispatch("pipelineRunner", "getNodeBenchStatus", "query", input),
|
|
7478
|
+
abortNodeBench: (input) => dispatch("pipelineRunner", "abortNodeBench", "mutation", input)
|
|
7448
7479
|
},
|
|
7449
7480
|
plateGallery: {
|
|
7450
7481
|
getPlateMedia: (input) => dispatch("plateGallery", "getPlateMedia", "query", input),
|
package/dist/client.mjs
CHANGED
|
@@ -5753,6 +5753,16 @@ 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
|
+
listRetrainAssistProfiles: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainAssistProfiles", "query", input),
|
|
5757
|
+
proposeRetrainAnnotationsWithLlm: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "proposeRetrainAnnotationsWithLlm", "mutation", input),
|
|
5758
|
+
createRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "createRetrainCollection", "mutation", input),
|
|
5759
|
+
listRetrainCollections: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainCollections", "query", input),
|
|
5760
|
+
renameRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "renameRetrainCollection", "mutation", input),
|
|
5761
|
+
deleteRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "deleteRetrainCollection", "mutation", input),
|
|
5762
|
+
addRetrainFrameFromRecording: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "addRetrainFrameFromRecording", "mutation", input),
|
|
5763
|
+
addRetrainFramesToCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "addRetrainFramesToCollection", "mutation", input),
|
|
5764
|
+
removeRetrainFrameFromCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "removeRetrainFrameFromCollection", "mutation", input),
|
|
5765
|
+
listRetrainCollectionFrames: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainCollectionFrames", "query", input),
|
|
5756
5766
|
getEventMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getEventMedia", "query", input),
|
|
5757
5767
|
getTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getTrackMedia", "query", input),
|
|
5758
5768
|
listTrackMedia: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listTrackMedia", "query", input),
|
|
@@ -7211,6 +7221,17 @@ function createSystemProxy(api) {
|
|
|
7211
7221
|
getAvailableTypes: (input) => dispatch("integrations", "getAvailableTypes", "query", input),
|
|
7212
7222
|
testConnection: (input) => dispatch("integrations", "testConnection", "mutation", input)
|
|
7213
7223
|
},
|
|
7224
|
+
keychainAdmin: {
|
|
7225
|
+
status: (input) => dispatch("keychainAdmin", "status", "query", input),
|
|
7226
|
+
listSecrets: (input) => dispatch("keychainAdmin", "listSecrets", "query", input),
|
|
7227
|
+
listAudit: (input) => dispatch("keychainAdmin", "listAudit", "query", input),
|
|
7228
|
+
reveal: (input) => dispatch("keychainAdmin", "reveal", "mutation", input),
|
|
7229
|
+
deleteOrphans: (input) => dispatch("keychainAdmin", "deleteOrphans", "mutation", input),
|
|
7230
|
+
rotateMasterKey: (input) => dispatch("keychainAdmin", "rotateMasterKey", "mutation", input),
|
|
7231
|
+
purgeRetiredKeys: (input) => dispatch("keychainAdmin", "purgeRetiredKeys", "mutation", input),
|
|
7232
|
+
downloadRecoveryKey: (input) => dispatch("keychainAdmin", "downloadRecoveryKey", "mutation", input),
|
|
7233
|
+
resetKeychain: (input) => dispatch("keychainAdmin", "resetKeychain", "mutation", input)
|
|
7234
|
+
},
|
|
7214
7235
|
llm: {
|
|
7215
7236
|
generate: (input) => dispatch("llm", "generate", "mutation", input),
|
|
7216
7237
|
generateVision: (input) => dispatch("llm", "generateVision", "mutation", input),
|
|
@@ -7430,6 +7451,13 @@ function createSystemProxy(api) {
|
|
|
7430
7451
|
suggestShares: (input) => dispatch("pipelineOrchestrator", "suggestShares", "query", input),
|
|
7431
7452
|
getEffectiveShares: (input) => dispatch("pipelineOrchestrator", "getEffectiveShares", "query", input),
|
|
7432
7453
|
setShareSource: (input) => dispatch("pipelineOrchestrator", "setShareSource", "mutation", input),
|
|
7454
|
+
getNodeBenchmarkPreflight: (input) => dispatch("pipelineOrchestrator", "getNodeBenchmarkPreflight", "query", input),
|
|
7455
|
+
startNodeBenchmark: (input) => dispatch("pipelineOrchestrator", "startNodeBenchmark", "mutation", input),
|
|
7456
|
+
getNodeBenchmarkStatus: (input) => dispatch("pipelineOrchestrator", "getNodeBenchmarkStatus", "query", input),
|
|
7457
|
+
abortNodeBenchmark: (input) => dispatch("pipelineOrchestrator", "abortNodeBenchmark", "mutation", input),
|
|
7458
|
+
getNodeBenchmarkCandidates: (input) => dispatch("pipelineOrchestrator", "getNodeBenchmarkCandidates", "query", input),
|
|
7459
|
+
listNodeBenchmarkResults: (input) => dispatch("pipelineOrchestrator", "listNodeBenchmarkResults", "query", input),
|
|
7460
|
+
deleteNodeBenchmarkResult: (input) => dispatch("pipelineOrchestrator", "deleteNodeBenchmarkResult", "mutation", input),
|
|
7433
7461
|
getCameraStatuses: (input) => dispatch("pipelineOrchestrator", "getCameraStatuses", "query", input),
|
|
7434
7462
|
setCameraSensors: (input) => dispatch("pipelineOrchestrator", "setCameraSensors", "mutation", input),
|
|
7435
7463
|
reconcileFromDisk: (input) => dispatch("pipelineOrchestrator", "reconcileFromDisk", "mutation", input),
|
|
@@ -7443,7 +7471,10 @@ function createSystemProxy(api) {
|
|
|
7443
7471
|
getAllCameraMetrics: (input) => dispatch("pipelineRunner", "getAllCameraMetrics", "query", input),
|
|
7444
7472
|
getLocalCameras: (input) => dispatch("pipelineRunner", "getLocalCameras", "query", input),
|
|
7445
7473
|
getNativeCrop: (input) => dispatch("pipelineRunner", "getNativeCrop", "query", input),
|
|
7446
|
-
runStatelessStep: (input) => dispatch("pipelineRunner", "runStatelessStep", "mutation", input)
|
|
7474
|
+
runStatelessStep: (input) => dispatch("pipelineRunner", "runStatelessStep", "mutation", input),
|
|
7475
|
+
startNodeBench: (input) => dispatch("pipelineRunner", "startNodeBench", "mutation", input),
|
|
7476
|
+
getNodeBenchStatus: (input) => dispatch("pipelineRunner", "getNodeBenchStatus", "query", input),
|
|
7477
|
+
abortNodeBench: (input) => dispatch("pipelineRunner", "abortNodeBench", "mutation", input)
|
|
7447
7478
|
},
|
|
7448
7479
|
plateGallery: {
|
|
7449
7480
|
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`).
|