@camstack/types 1.2.336 → 1.2.337
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/audio/audio-chunk-format.d.ts +1 -1
- package/dist/automation/recipe.d.ts +3 -3
- package/dist/capabilities/accessories.cap.d.ts +4 -4
- package/dist/capabilities/addon-pages-source.cap.d.ts +3 -3
- package/dist/capabilities/addon-pages.cap.d.ts +3 -3
- package/dist/capabilities/addon-routes.cap.d.ts +8 -8
- package/dist/capabilities/addon-settings.cap.d.ts +9 -9
- package/dist/capabilities/addon-widgets-source.cap.d.ts +21 -21
- package/dist/capabilities/addon-widgets.cap.d.ts +17 -17
- package/dist/capabilities/addons.cap.d.ts +87 -87
- package/dist/capabilities/admin-ui.cap.d.ts +3 -3
- package/dist/capabilities/air-quality-sensor.cap.d.ts +5 -5
- package/dist/capabilities/alarm-panel.cap.d.ts +45 -45
- package/dist/capabilities/alerts.cap.d.ts +18 -18
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +5 -5
- package/dist/capabilities/audio-analysis.cap.d.ts +4 -4
- package/dist/capabilities/audio-analyzer.cap.d.ts +13 -13
- package/dist/capabilities/audio-codec.cap.d.ts +4 -4
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -4
- package/dist/capabilities/auth-provider.cap.d.ts +4 -4
- package/dist/capabilities/automation-control.cap.d.ts +5 -5
- package/dist/capabilities/backup.cap.d.ts +18 -18
- package/dist/capabilities/battery.cap.d.ts +15 -15
- package/dist/capabilities/binary.cap.d.ts +5 -5
- package/dist/capabilities/brightness.cap.d.ts +5 -5
- package/dist/capabilities/broker.cap.d.ts +21 -21
- package/dist/capabilities/button.cap.d.ts +3 -3
- package/dist/capabilities/calendar-source.cap.d.ts +3 -3
- package/dist/capabilities/calendars.cap.d.ts +5 -5
- package/dist/capabilities/camera-credentials.cap.d.ts +4 -4
- package/dist/capabilities/camera-grid-layout.cap.d.ts +9 -9
- package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -4
- package/dist/capabilities/camera-streams.cap.d.ts +37 -37
- package/dist/capabilities/capability-definition.d.ts +10 -10
- package/dist/capabilities/carbon-monoxide.cap.d.ts +5 -5
- package/dist/capabilities/climate-control.cap.d.ts +37 -37
- package/dist/capabilities/color.cap.d.ts +9 -9
- package/dist/capabilities/composer.cap.d.ts +16 -16
- package/dist/capabilities/connection-test.cap.d.ts +3 -3
- package/dist/capabilities/connectivity.cap.d.ts +5 -5
- package/dist/capabilities/consumables.cap.d.ts +21 -21
- package/dist/capabilities/contact.cap.d.ts +5 -5
- package/dist/capabilities/control.cap.d.ts +16 -16
- package/dist/capabilities/core-blocks.cap.d.ts +115 -115
- package/dist/capabilities/cover.cap.d.ts +17 -17
- package/dist/capabilities/custom-model-registry.cap.d.ts +51 -51
- package/dist/capabilities/data-store-provider.cap.d.ts +7 -7
- package/dist/capabilities/database-snapshot.cap.d.ts +3 -3
- package/dist/capabilities/day-night.cap.d.ts +24 -24
- package/dist/capabilities/decoder.cap.d.ts +4 -4
- package/dist/capabilities/detection-pipeline.cap.d.ts +4 -4
- package/dist/capabilities/device-admin-link.cap.d.ts +3 -3
- package/dist/capabilities/device-adoption.cap.d.ts +4 -4
- package/dist/capabilities/device-discovery.cap.d.ts +7 -7
- package/dist/capabilities/device-export.cap.d.ts +8 -8
- package/dist/capabilities/device-extension.cap.d.ts +22 -22
- package/dist/capabilities/device-manager.cap.d.ts +113 -113
- package/dist/capabilities/device-ops.cap.d.ts +7 -7
- package/dist/capabilities/device-provider.cap.d.ts +3 -3
- package/dist/capabilities/device-state.cap.d.ts +24 -24
- package/dist/capabilities/device-status.cap.d.ts +5 -5
- package/dist/capabilities/doorbell.cap.d.ts +7 -7
- package/dist/capabilities/embedding-encoder.cap.d.ts +4 -4
- package/dist/capabilities/enum-sensor.cap.d.ts +9 -9
- package/dist/capabilities/event-emitter.cap.d.ts +5 -5
- package/dist/capabilities/face-gallery.cap.d.ts +7 -7
- package/dist/capabilities/failure-contribution.cap.d.ts +4 -4
- package/dist/capabilities/fan-control.cap.d.ts +10 -10
- package/dist/capabilities/feature-probe.cap.d.ts +5 -5
- package/dist/capabilities/filesystem-browse.cap.d.ts +3 -3
- package/dist/capabilities/flood.cap.d.ts +5 -5
- package/dist/capabilities/gas.cap.d.ts +5 -5
- package/dist/capabilities/hub-address.d.ts +1 -1
- package/dist/capabilities/humidifier.cap.d.ts +5 -5
- package/dist/capabilities/humidity-sensor.cap.d.ts +5 -5
- package/dist/capabilities/image-settings.cap.d.ts +48 -48
- package/dist/capabilities/image.cap.d.ts +5 -5
- package/dist/capabilities/integrations.cap.d.ts +12 -12
- package/dist/capabilities/intercom.cap.d.ts +11 -11
- package/dist/capabilities/keychain-admin.cap.d.ts +57 -57
- package/dist/capabilities/keychain.cap.d.ts +27 -27
- package/dist/capabilities/lawn-mower-control.cap.d.ts +17 -17
- package/dist/capabilities/llm-runtime.cap.d.ts +79 -79
- package/dist/capabilities/llm-shared.d.ts +21 -21
- package/dist/capabilities/llm.cap.d.ts +109 -109
- package/dist/capabilities/load-contribution.cap.d.ts +12 -12
- package/dist/capabilities/local-network.cap.d.ts +119 -119
- package/dist/capabilities/lock-control.cap.d.ts +13 -13
- package/dist/capabilities/log-channels.cap.d.ts +5 -5
- package/dist/capabilities/log-destination.cap.d.ts +14 -14
- package/dist/capabilities/login-method.cap.d.ts +4 -4
- package/dist/capabilities/mask-shape.d.ts +2 -2
- package/dist/capabilities/media-player.cap.d.ts +13 -13
- package/dist/capabilities/mesh-network.cap.d.ts +9 -9
- package/dist/capabilities/metrics-provider.cap.d.ts +15 -15
- package/dist/capabilities/model-convert.cap.d.ts +29 -29
- package/dist/capabilities/model-distributor.cap.d.ts +27 -27
- package/dist/capabilities/motion-detection.cap.d.ts +8 -8
- package/dist/capabilities/motion-trigger.cap.d.ts +5 -5
- package/dist/capabilities/motion-zones.cap.d.ts +13 -13
- package/dist/capabilities/motion.cap.d.ts +7 -7
- package/dist/capabilities/mqtt-broker.cap.d.ts +13 -13
- package/dist/capabilities/native-object-detection.cap.d.ts +59 -59
- package/dist/capabilities/navigation.cap.d.ts +56 -56
- package/dist/capabilities/network-access.cap.d.ts +4 -4
- package/dist/capabilities/network-link.cap.d.ts +16 -16
- package/dist/capabilities/network-quality.cap.d.ts +4 -4
- package/dist/capabilities/nodes.cap.d.ts +5 -5
- package/dist/capabilities/notification-output.cap.d.ts +121 -121
- package/dist/capabilities/notification-rules.cap.d.ts +1583 -1583
- package/dist/capabilities/notifier.cap.d.ts +8 -8
- package/dist/capabilities/numeric-sensor.cap.d.ts +5 -5
- package/dist/capabilities/oauth-integration.cap.d.ts +11 -11
- package/dist/capabilities/osd-manager.cap.d.ts +261 -261
- package/dist/capabilities/osd.cap.d.ts +59 -59
- package/dist/capabilities/pet-feeder.cap.d.ts +9 -9
- package/dist/capabilities/pipeline-analytics.cap.d.ts +956 -956
- package/dist/capabilities/pipeline-executor.cap.d.ts +140 -140
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +275 -267
- package/dist/capabilities/pipeline-runner.cap.d.ts +58 -58
- package/dist/capabilities/plate-gallery.cap.d.ts +3 -3
- package/dist/capabilities/platform-probe.cap.d.ts +66 -66
- package/dist/capabilities/power-meter.cap.d.ts +5 -5
- package/dist/capabilities/presence.cap.d.ts +5 -5
- package/dist/capabilities/pressure-sensor.cap.d.ts +5 -5
- package/dist/capabilities/privacy-mask.cap.d.ts +13 -13
- package/dist/capabilities/ptz-autotrack.cap.d.ts +10 -10
- package/dist/capabilities/ptz.cap.d.ts +29 -29
- package/dist/capabilities/reboot.cap.d.ts +3 -3
- package/dist/capabilities/recording-archive.cap.d.ts +59 -59
- package/dist/capabilities/recording-export.cap.d.ts +37 -37
- package/dist/capabilities/recording-onboard.cap.d.ts +73 -73
- package/dist/capabilities/recording-signal.cap.d.ts +6 -6
- package/dist/capabilities/recording.cap.d.ts +21 -21
- package/dist/capabilities/scene-monitor.cap.d.ts +81 -81
- package/dist/capabilities/schemas/detection-shared.d.ts +7 -7
- package/dist/capabilities/schemas/orchestrator-metrics.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +31 -31
- package/dist/capabilities/schemas/zone-rule.d.ts +3 -3
- package/dist/capabilities/script-runner.cap.d.ts +5 -5
- package/dist/capabilities/server-management.cap.d.ts +70 -70
- package/dist/capabilities/settings-store.cap.d.ts +11 -11
- package/dist/capabilities/smoke.cap.d.ts +5 -5
- package/dist/capabilities/smtp-provider.cap.d.ts +4 -4
- package/dist/capabilities/snapshot.cap.d.ts +9 -9
- package/dist/capabilities/sso-bridge.cap.d.ts +15 -15
- package/dist/capabilities/storage-evictable.cap.d.ts +3 -3
- package/dist/capabilities/storage-migration.cap.d.ts +53 -53
- package/dist/capabilities/storage-occupancy.cap.d.ts +3 -3
- package/dist/capabilities/storage-provider.cap.d.ts +25 -25
- package/dist/capabilities/storage.cap.d.ts +18 -18
- package/dist/capabilities/stream-broker.cap.d.ts +184 -184
- package/dist/capabilities/stream-catalog.cap.d.ts +24 -24
- package/dist/capabilities/stream-params.cap.d.ts +36 -36
- package/dist/capabilities/stream-signals.cap.d.ts +4 -4
- package/dist/capabilities/switch.cap.d.ts +11 -11
- package/dist/capabilities/system.cap.d.ts +66 -66
- package/dist/capabilities/tamper.cap.d.ts +5 -5
- package/dist/capabilities/temperature-sensor.cap.d.ts +5 -5
- package/dist/capabilities/terminal-session.cap.d.ts +3 -3
- package/dist/capabilities/toast.cap.d.ts +6 -6
- package/dist/capabilities/training-provider.cap.d.ts +35 -35
- package/dist/capabilities/training.cap.d.ts +278 -278
- package/dist/capabilities/turn-provider.cap.d.ts +3 -3
- package/dist/capabilities/update.cap.d.ts +5 -5
- package/dist/capabilities/user-management.cap.d.ts +83 -83
- package/dist/capabilities/user-passkeys.cap.d.ts +3 -3
- package/dist/capabilities/vacuum-control.cap.d.ts +17 -17
- package/dist/capabilities/valve.cap.d.ts +17 -17
- package/dist/capabilities/vector-store.cap.d.ts +3 -3
- package/dist/capabilities/vibration.cap.d.ts +5 -5
- package/dist/capabilities/videoclips.cap.d.ts +53 -53
- package/dist/capabilities/viewer-ui.cap.d.ts +3 -3
- package/dist/capabilities/water-heater.cap.d.ts +5 -5
- package/dist/capabilities/weather.cap.d.ts +5 -5
- package/dist/capabilities/webrtc-session.cap.d.ts +60 -60
- package/dist/capabilities/zone-analytics.cap.d.ts +18 -18
- package/dist/capabilities/zone-rules.cap.d.ts +15 -15
- package/dist/capabilities/zones.cap.d.ts +4 -4
- package/dist/catalogs/event-taxonomy.d.ts +9 -9
- package/dist/catalogs/root-model-supply.d.ts +3 -3
- package/dist/composition/composable-caps.d.ts +6 -6
- package/dist/composition/composition-report.d.ts +75 -75
- package/dist/deps/ffmpeg-artifacts.d.ts +2 -2
- package/dist/device/location-icon.d.ts +25 -25
- package/dist/device/site-zone.d.ts +12 -12
- package/dist/encode-profile.d.ts +22 -22
- package/dist/generated/addon-api.d.ts +176 -176
- package/dist/generated/capability-router-map.d.ts +171 -171
- package/dist/generated/extension-slots.d.ts +1 -1
- package/dist/health/wiring-health.d.ts +8 -8
- package/dist/i18n/event-kind-labels.d.ts +1 -1
- package/dist/i18n/state-labels.d.ts +1 -1
- package/dist/interfaces/addon-data-plane.d.ts +1 -1
- package/dist/interfaces/adoption-job.d.ts +10 -10
- package/dist/interfaces/birth-decision-ledger.d.ts +3 -3
- package/dist/interfaces/camera-switches.d.ts +21 -21
- package/dist/interfaces/ops-log.d.ts +14 -14
- package/dist/interfaces/recording-config.d.ts +14 -14
- package/dist/interfaces/relocate.d.ts +88 -88
- package/dist/interfaces/server-analysis.d.ts +2 -2
- package/dist/interfaces/storage-location-declaration.d.ts +4 -4
- package/dist/interfaces/storage-location-mode.d.ts +4 -4
- package/dist/interfaces/storage-location.d.ts +2 -2
- package/dist/interfaces/track-relations.d.ts +14 -14
- package/dist/lifecycle/job.d.ts +43 -43
- package/dist/logging/log-channel.d.ts +2 -2
- package/dist/media/media-owner-key.d.ts +2 -2
- package/dist/notification/alarm-membership.d.ts +2 -2
- package/dist/notification/alarm-profiles.d.ts +1 -1
- package/dist/notification/condition-taxonomy.d.ts +1 -1
- package/dist/notification/scope-picker-items.d.ts +1 -1
- package/dist/notification/system-event-families.d.ts +1 -1
- package/dist/notification/timelapse-rule.d.ts +4 -4
- package/dist/pipeline/auto-tune/plan-schemas.d.ts +78 -78
- package/dist/pipeline/camera-sensors.d.ts +39 -39
- package/dist/pipeline/cluster-model-scope.d.ts +11 -1
- package/dist/pipeline/load-balancing/schemas.d.ts +13 -13
- package/dist/pipeline/native-lease.d.ts +4 -4
- package/dist/pipeline/node-benchmark/schemas.d.ts +82 -82
- package/dist/pipeline/provider-motion.d.ts +2 -2
- package/dist/schemas/auth-records.d.ts +14 -14
- package/dist/training/trainer-contract.d.ts +19 -19
- package/dist/types/clip-model.d.ts +2 -2
- package/dist/types/labels.d.ts +4 -4
- package/dist/types/models.d.ts +42 -42
- package/dist/units/unit-table.d.ts +45 -45
- package/package.json +9 -2
|
@@ -108,8 +108,8 @@ export type PlacementStats = z.infer<typeof PlacementStatsSchema>;
|
|
|
108
108
|
* A node with no results falls back to `hardware`, and says so.
|
|
109
109
|
*/
|
|
110
110
|
export declare const CapacitySourceSchema: z.ZodEnum<{
|
|
111
|
-
hardware: "hardware";
|
|
112
111
|
benchmark: "benchmark";
|
|
112
|
+
hardware: "hardware";
|
|
113
113
|
}>;
|
|
114
114
|
export type CapacitySource = z.infer<typeof CapacitySourceSchema>;
|
|
115
115
|
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
@@ -121,8 +121,8 @@ export type CapacityFallback = z.infer<typeof CapacityFallbackSchema>;
|
|
|
121
121
|
export declare const SuggestSharesInputSchema: z.ZodObject<{
|
|
122
122
|
headroom: z.ZodDefault<z.ZodNumber>;
|
|
123
123
|
source: z.ZodDefault<z.ZodEnum<{
|
|
124
|
-
hardware: "hardware";
|
|
125
124
|
benchmark: "benchmark";
|
|
125
|
+
hardware: "hardware";
|
|
126
126
|
}>>;
|
|
127
127
|
}, z.core.$strip>;
|
|
128
128
|
export type SuggestSharesInput = z.infer<typeof SuggestSharesInputSchema>;
|
|
@@ -149,8 +149,8 @@ export declare const SuggestedNodeShareSchema: z.ZodObject<{
|
|
|
149
149
|
}, z.core.$strip>>>;
|
|
150
150
|
skippedReason: z.ZodNullable<z.ZodString>;
|
|
151
151
|
capacitySource: z.ZodNullable<z.ZodEnum<{
|
|
152
|
-
hardware: "hardware";
|
|
153
152
|
benchmark: "benchmark";
|
|
153
|
+
hardware: "hardware";
|
|
154
154
|
}>>;
|
|
155
155
|
capacityFallback: z.ZodNullable<z.ZodEnum<{
|
|
156
156
|
"no-benchmark-results": "no-benchmark-results";
|
|
@@ -161,8 +161,8 @@ export type SuggestedNodeShare = z.infer<typeof SuggestedNodeShareSchema>;
|
|
|
161
161
|
export declare const SuggestSharesResultSchema: z.ZodObject<{
|
|
162
162
|
headroom: z.ZodNumber;
|
|
163
163
|
source: z.ZodEnum<{
|
|
164
|
-
hardware: "hardware";
|
|
165
164
|
benchmark: "benchmark";
|
|
165
|
+
hardware: "hardware";
|
|
166
166
|
}>;
|
|
167
167
|
cameraFps: z.ZodNumber;
|
|
168
168
|
minSessionsPerDevice: z.ZodNumber;
|
|
@@ -180,8 +180,8 @@ export declare const SuggestSharesResultSchema: z.ZodObject<{
|
|
|
180
180
|
}, z.core.$strip>>>;
|
|
181
181
|
skippedReason: z.ZodNullable<z.ZodString>;
|
|
182
182
|
capacitySource: z.ZodNullable<z.ZodEnum<{
|
|
183
|
-
hardware: "hardware";
|
|
184
183
|
benchmark: "benchmark";
|
|
184
|
+
hardware: "hardware";
|
|
185
185
|
}>>;
|
|
186
186
|
capacityFallback: z.ZodNullable<z.ZodEnum<{
|
|
187
187
|
"no-benchmark-results": "no-benchmark-results";
|
|
@@ -204,9 +204,9 @@ export type SuggestSharesResult = z.infer<typeof SuggestSharesResultSchema>;
|
|
|
204
204
|
* the others in proportion; the stored values are never rewritten for that.
|
|
205
205
|
*/
|
|
206
206
|
export declare const ShareSourceSchema: z.ZodEnum<{
|
|
207
|
-
manual: "manual";
|
|
208
|
-
hardware: "hardware";
|
|
209
207
|
benchmark: "benchmark";
|
|
208
|
+
hardware: "hardware";
|
|
209
|
+
manual: "manual";
|
|
210
210
|
}>;
|
|
211
211
|
export type ShareSource = z.infer<typeof ShareSourceSchema>;
|
|
212
212
|
export declare const DEFAULT_SHARE_SOURCE: ShareSource;
|
|
@@ -223,9 +223,9 @@ export declare const SHARE_SOURCE_SETTING_KEY = "shareSource";
|
|
|
223
223
|
export declare function parseShareSource(value: unknown): ShareSource;
|
|
224
224
|
export declare const SetShareSourceInputSchema: z.ZodObject<{
|
|
225
225
|
source: z.ZodEnum<{
|
|
226
|
-
manual: "manual";
|
|
227
|
-
hardware: "hardware";
|
|
228
226
|
benchmark: "benchmark";
|
|
227
|
+
hardware: "hardware";
|
|
228
|
+
manual: "manual";
|
|
229
229
|
}>;
|
|
230
230
|
}, z.core.$strip>;
|
|
231
231
|
export type SetShareSourceInput = z.infer<typeof SetShareSourceInputSchema>;
|
|
@@ -248,8 +248,8 @@ export declare const EffectiveNodeShareSchema: z.ZodObject<{
|
|
|
248
248
|
configuredPct: z.ZodNumber;
|
|
249
249
|
effectivePct: z.ZodNumber;
|
|
250
250
|
capacitySource: z.ZodNullable<z.ZodEnum<{
|
|
251
|
-
hardware: "hardware";
|
|
252
251
|
benchmark: "benchmark";
|
|
252
|
+
hardware: "hardware";
|
|
253
253
|
}>>;
|
|
254
254
|
capacityFallback: z.ZodNullable<z.ZodEnum<{
|
|
255
255
|
"no-benchmark-results": "no-benchmark-results";
|
|
@@ -265,9 +265,9 @@ export declare const EffectiveNodeShareSchema: z.ZodObject<{
|
|
|
265
265
|
export type EffectiveNodeShare = z.infer<typeof EffectiveNodeShareSchema>;
|
|
266
266
|
export declare const EffectiveSharesSchema: z.ZodObject<{
|
|
267
267
|
source: z.ZodEnum<{
|
|
268
|
-
manual: "manual";
|
|
269
|
-
hardware: "hardware";
|
|
270
268
|
benchmark: "benchmark";
|
|
269
|
+
hardware: "hardware";
|
|
270
|
+
manual: "manual";
|
|
271
271
|
}>;
|
|
272
272
|
policy: z.ZodEnum<{
|
|
273
273
|
"least-loaded": "least-loaded";
|
|
@@ -282,8 +282,8 @@ export declare const EffectiveSharesSchema: z.ZodObject<{
|
|
|
282
282
|
configuredPct: z.ZodNumber;
|
|
283
283
|
effectivePct: z.ZodNumber;
|
|
284
284
|
capacitySource: z.ZodNullable<z.ZodEnum<{
|
|
285
|
-
hardware: "hardware";
|
|
286
285
|
benchmark: "benchmark";
|
|
286
|
+
hardware: "hardware";
|
|
287
287
|
}>>;
|
|
288
288
|
capacityFallback: z.ZodNullable<z.ZodEnum<{
|
|
289
289
|
"no-benchmark-results": "no-benchmark-results";
|
|
@@ -140,11 +140,11 @@ export declare const NATIVE_LEASE_SCENE_BUDGET_FIELD: {
|
|
|
140
140
|
/** Select options for the admission knob (orchestrator settings UI). */
|
|
141
141
|
export declare const NATIVE_LEASE_ADMISSION_FIELD: {
|
|
142
142
|
readonly options: readonly [{
|
|
143
|
-
readonly value:
|
|
144
|
-
readonly label:
|
|
143
|
+
readonly value: 'all';
|
|
144
|
+
readonly label: 'Every delivered frame';
|
|
145
145
|
}, {
|
|
146
|
-
readonly value:
|
|
147
|
-
readonly label:
|
|
146
|
+
readonly value: 'inferred';
|
|
147
|
+
readonly label: 'Only frames sent to inference';
|
|
148
148
|
}];
|
|
149
149
|
readonly default: "all" | "inferred";
|
|
150
150
|
};
|
|
@@ -40,8 +40,8 @@ export declare const NODE_BENCHMARK_DEFAULTS: {
|
|
|
40
40
|
};
|
|
41
41
|
/** The two measurements a run can make. */
|
|
42
42
|
export declare const NodeBenchmarkPhaseSchema: z.ZodEnum<{
|
|
43
|
-
pipeline: "pipeline";
|
|
44
43
|
device: "device";
|
|
44
|
+
pipeline: "pipeline";
|
|
45
45
|
}>;
|
|
46
46
|
export type NodeBenchmarkPhase = z.infer<typeof NodeBenchmarkPhaseSchema>;
|
|
47
47
|
export declare const NodeBenchmarkDevicePlanSchema: z.ZodObject<{
|
|
@@ -57,8 +57,8 @@ export declare const NodeBenchmarkPlanSchema: z.ZodObject<{
|
|
|
57
57
|
modelIds: z.ZodArray<z.ZodString>;
|
|
58
58
|
}, z.core.$strip>>;
|
|
59
59
|
phases: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
60
|
-
pipeline: "pipeline";
|
|
61
60
|
device: "device";
|
|
61
|
+
pipeline: "pipeline";
|
|
62
62
|
}>>>;
|
|
63
63
|
steps: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
64
64
|
fpsPerStream: z.ZodDefault<z.ZodNumber>;
|
|
@@ -70,20 +70,20 @@ export type NodeBenchmarkPlan = z.infer<typeof NodeBenchmarkPlanSchema>;
|
|
|
70
70
|
export type NodeBenchmarkPlanInput = z.input<typeof NodeBenchmarkPlanSchema>;
|
|
71
71
|
/** Why a run cannot start. `overridable` ones are lifted by a plan flag. */
|
|
72
72
|
export declare const NodeBenchmarkRefusalKindSchema: z.ZodEnum<{
|
|
73
|
-
"unknown-device": "unknown-device";
|
|
74
73
|
"benchmark-active": "benchmark-active";
|
|
75
|
-
"node-offline": "node-offline";
|
|
76
|
-
"no-phase": "no-phase";
|
|
77
74
|
"insufficient-headroom": "insufficient-headroom";
|
|
75
|
+
"no-phase": "no-phase";
|
|
76
|
+
"node-offline": "node-offline";
|
|
77
|
+
"unknown-device": "unknown-device";
|
|
78
78
|
}>;
|
|
79
79
|
export type NodeBenchmarkRefusalKind = z.infer<typeof NodeBenchmarkRefusalKindSchema>;
|
|
80
80
|
export declare const NodeBenchmarkRefusalSchema: z.ZodObject<{
|
|
81
81
|
kind: z.ZodEnum<{
|
|
82
|
-
"unknown-device": "unknown-device";
|
|
83
82
|
"benchmark-active": "benchmark-active";
|
|
84
|
-
"node-offline": "node-offline";
|
|
85
|
-
"no-phase": "no-phase";
|
|
86
83
|
"insufficient-headroom": "insufficient-headroom";
|
|
84
|
+
"no-phase": "no-phase";
|
|
85
|
+
"node-offline": "node-offline";
|
|
86
|
+
"unknown-device": "unknown-device";
|
|
87
87
|
}>;
|
|
88
88
|
detail: z.ZodString;
|
|
89
89
|
overridable: z.ZodBoolean;
|
|
@@ -117,8 +117,8 @@ export declare const NodeBenchmarkPreflightSchema: z.ZodObject<{
|
|
|
117
117
|
estimatedDurationMs: z.ZodNumber;
|
|
118
118
|
budgetMs: z.ZodNumber;
|
|
119
119
|
phases: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
120
|
-
pipeline: "pipeline";
|
|
121
120
|
device: "device";
|
|
121
|
+
pipeline: "pipeline";
|
|
122
122
|
}>>>;
|
|
123
123
|
steps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
124
124
|
devices: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -131,11 +131,11 @@ export declare const NodeBenchmarkPreflightSchema: z.ZodObject<{
|
|
|
131
131
|
}, z.core.$strip>;
|
|
132
132
|
refusals: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
133
133
|
kind: z.ZodEnum<{
|
|
134
|
-
"unknown-device": "unknown-device";
|
|
135
134
|
"benchmark-active": "benchmark-active";
|
|
136
|
-
"node-offline": "node-offline";
|
|
137
|
-
"no-phase": "no-phase";
|
|
138
135
|
"insufficient-headroom": "insufficient-headroom";
|
|
136
|
+
"no-phase": "no-phase";
|
|
137
|
+
"node-offline": "node-offline";
|
|
138
|
+
"unknown-device": "unknown-device";
|
|
139
139
|
}>;
|
|
140
140
|
detail: z.ZodString;
|
|
141
141
|
overridable: z.ZodBoolean;
|
|
@@ -146,10 +146,10 @@ export type NodeBenchmarkPreflight = z.infer<typeof NodeBenchmarkPreflightSchema
|
|
|
146
146
|
/** Where the measuring runner is. */
|
|
147
147
|
export declare const NodeBenchProgressSchema: z.ZodObject<{
|
|
148
148
|
phase: z.ZodEnum<{
|
|
149
|
-
|
|
149
|
+
cleanup: "cleanup";
|
|
150
150
|
device: "device";
|
|
151
|
+
pipeline: "pipeline";
|
|
151
152
|
preparing: "preparing";
|
|
152
|
-
cleanup: "cleanup";
|
|
153
153
|
}>;
|
|
154
154
|
deviceKey: z.ZodNullable<z.ZodString>;
|
|
155
155
|
modelId: z.ZodNullable<z.ZodString>;
|
|
@@ -161,13 +161,13 @@ export declare const NodeBenchProgressSchema: z.ZodObject<{
|
|
|
161
161
|
export type NodeBenchProgress = z.infer<typeof NodeBenchProgressSchema>;
|
|
162
162
|
/** What limited a ramp. `none` = the ramp ran out of steps still passing. */
|
|
163
163
|
export declare const NodeBenchLimitSchema: z.ZodEnum<{
|
|
164
|
+
cpu: "cpu";
|
|
165
|
+
drops: "drops";
|
|
164
166
|
errors: "errors";
|
|
165
167
|
none: "none";
|
|
166
|
-
cpu: "cpu";
|
|
167
168
|
p95: "p95";
|
|
168
|
-
drops: "drops";
|
|
169
|
-
stall: "stall";
|
|
170
169
|
ram: "ram";
|
|
170
|
+
stall: "stall";
|
|
171
171
|
}>;
|
|
172
172
|
export type NodeBenchLimit = z.infer<typeof NodeBenchLimitSchema>;
|
|
173
173
|
export declare const NodeBenchRampStepSchema: z.ZodObject<{
|
|
@@ -192,13 +192,13 @@ export declare const NodeBenchDeviceCellSchema: z.ZodObject<{
|
|
|
192
192
|
fps: z.ZodNumber;
|
|
193
193
|
kMax: z.ZodNumber;
|
|
194
194
|
limitedBy: z.ZodEnum<{
|
|
195
|
+
cpu: "cpu";
|
|
196
|
+
drops: "drops";
|
|
195
197
|
errors: "errors";
|
|
196
198
|
none: "none";
|
|
197
|
-
cpu: "cpu";
|
|
198
199
|
p95: "p95";
|
|
199
|
-
drops: "drops";
|
|
200
|
-
stall: "stall";
|
|
201
200
|
ram: "ram";
|
|
201
|
+
stall: "stall";
|
|
202
202
|
}>;
|
|
203
203
|
warmupMs: z.ZodNumber;
|
|
204
204
|
ramp: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -221,13 +221,13 @@ export declare const NodeBenchPipelineCellSchema: z.ZodObject<{
|
|
|
221
221
|
steps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
222
222
|
maxSessions: z.ZodNumber;
|
|
223
223
|
limitedBy: z.ZodEnum<{
|
|
224
|
+
cpu: "cpu";
|
|
225
|
+
drops: "drops";
|
|
224
226
|
errors: "errors";
|
|
225
227
|
none: "none";
|
|
226
|
-
cpu: "cpu";
|
|
227
228
|
p95: "p95";
|
|
228
|
-
drops: "drops";
|
|
229
|
-
stall: "stall";
|
|
230
229
|
ram: "ram";
|
|
230
|
+
stall: "stall";
|
|
231
231
|
}>;
|
|
232
232
|
stepsFired: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
233
233
|
warmupMs: z.ZodNumber;
|
|
@@ -253,13 +253,13 @@ export declare const NodeBenchCellSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
253
253
|
fps: z.ZodNumber;
|
|
254
254
|
kMax: z.ZodNumber;
|
|
255
255
|
limitedBy: z.ZodEnum<{
|
|
256
|
+
cpu: "cpu";
|
|
257
|
+
drops: "drops";
|
|
256
258
|
errors: "errors";
|
|
257
259
|
none: "none";
|
|
258
|
-
cpu: "cpu";
|
|
259
260
|
p95: "p95";
|
|
260
|
-
drops: "drops";
|
|
261
|
-
stall: "stall";
|
|
262
261
|
ram: "ram";
|
|
262
|
+
stall: "stall";
|
|
263
263
|
}>;
|
|
264
264
|
warmupMs: z.ZodNumber;
|
|
265
265
|
ramp: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -279,13 +279,13 @@ export declare const NodeBenchCellSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
279
279
|
steps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
280
280
|
maxSessions: z.ZodNumber;
|
|
281
281
|
limitedBy: z.ZodEnum<{
|
|
282
|
+
cpu: "cpu";
|
|
283
|
+
drops: "drops";
|
|
282
284
|
errors: "errors";
|
|
283
285
|
none: "none";
|
|
284
|
-
cpu: "cpu";
|
|
285
286
|
p95: "p95";
|
|
286
|
-
drops: "drops";
|
|
287
|
-
stall: "stall";
|
|
288
287
|
ram: "ram";
|
|
288
|
+
stall: "stall";
|
|
289
289
|
}>;
|
|
290
290
|
stepsFired: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
291
291
|
warmupMs: z.ZodNumber;
|
|
@@ -334,8 +334,8 @@ export declare const NodeBenchRunnerInputSchema: z.ZodObject<{
|
|
|
334
334
|
modelIds: z.ZodArray<z.ZodString>;
|
|
335
335
|
}, z.core.$strip>>;
|
|
336
336
|
phases: z.ZodArray<z.ZodEnum<{
|
|
337
|
-
pipeline: "pipeline";
|
|
338
337
|
device: "device";
|
|
338
|
+
pipeline: "pipeline";
|
|
339
339
|
}>>;
|
|
340
340
|
steps: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
341
341
|
fpsPerStream: z.ZodNumber;
|
|
@@ -347,27 +347,27 @@ export declare const NodeBenchRunnerInputSchema: z.ZodObject<{
|
|
|
347
347
|
export type NodeBenchRunnerInput = z.infer<typeof NodeBenchRunnerInputSchema>;
|
|
348
348
|
export type NodeBenchRunnerInputRaw = z.input<typeof NodeBenchRunnerInputSchema>;
|
|
349
349
|
export declare const NodeBenchRunnerStateSchema: z.ZodEnum<{
|
|
350
|
-
|
|
350
|
+
aborted: "aborted";
|
|
351
351
|
done: "done";
|
|
352
352
|
failed: "failed";
|
|
353
|
-
|
|
353
|
+
running: "running";
|
|
354
354
|
}>;
|
|
355
355
|
export type NodeBenchRunnerState = z.infer<typeof NodeBenchRunnerStateSchema>;
|
|
356
356
|
export declare const NodeBenchRunnerStatusSchema: z.ZodObject<{
|
|
357
357
|
runId: z.ZodString;
|
|
358
358
|
nodeId: z.ZodString;
|
|
359
359
|
state: z.ZodEnum<{
|
|
360
|
-
|
|
360
|
+
aborted: "aborted";
|
|
361
361
|
done: "done";
|
|
362
362
|
failed: "failed";
|
|
363
|
-
|
|
363
|
+
running: "running";
|
|
364
364
|
}>;
|
|
365
365
|
progress: z.ZodNullable<z.ZodObject<{
|
|
366
366
|
phase: z.ZodEnum<{
|
|
367
|
-
|
|
367
|
+
cleanup: "cleanup";
|
|
368
368
|
device: "device";
|
|
369
|
+
pipeline: "pipeline";
|
|
369
370
|
preparing: "preparing";
|
|
370
|
-
cleanup: "cleanup";
|
|
371
371
|
}>;
|
|
372
372
|
deviceKey: z.ZodNullable<z.ZodString>;
|
|
373
373
|
modelId: z.ZodNullable<z.ZodString>;
|
|
@@ -386,13 +386,13 @@ export declare const NodeBenchRunnerStatusSchema: z.ZodObject<{
|
|
|
386
386
|
fps: z.ZodNumber;
|
|
387
387
|
kMax: z.ZodNumber;
|
|
388
388
|
limitedBy: z.ZodEnum<{
|
|
389
|
+
cpu: "cpu";
|
|
390
|
+
drops: "drops";
|
|
389
391
|
errors: "errors";
|
|
390
392
|
none: "none";
|
|
391
|
-
cpu: "cpu";
|
|
392
393
|
p95: "p95";
|
|
393
|
-
drops: "drops";
|
|
394
|
-
stall: "stall";
|
|
395
394
|
ram: "ram";
|
|
395
|
+
stall: "stall";
|
|
396
396
|
}>;
|
|
397
397
|
warmupMs: z.ZodNumber;
|
|
398
398
|
ramp: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -412,13 +412,13 @@ export declare const NodeBenchRunnerStatusSchema: z.ZodObject<{
|
|
|
412
412
|
steps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
413
413
|
maxSessions: z.ZodNumber;
|
|
414
414
|
limitedBy: z.ZodEnum<{
|
|
415
|
+
cpu: "cpu";
|
|
416
|
+
drops: "drops";
|
|
415
417
|
errors: "errors";
|
|
416
418
|
none: "none";
|
|
417
|
-
cpu: "cpu";
|
|
418
419
|
p95: "p95";
|
|
419
|
-
drops: "drops";
|
|
420
|
-
stall: "stall";
|
|
421
420
|
ram: "ram";
|
|
421
|
+
stall: "stall";
|
|
422
422
|
}>;
|
|
423
423
|
stepsFired: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
424
424
|
warmupMs: z.ZodNumber;
|
|
@@ -460,34 +460,34 @@ export declare const NodeBenchRunnerStatusSchema: z.ZodObject<{
|
|
|
460
460
|
}, z.core.$strip>;
|
|
461
461
|
export type NodeBenchRunnerStatus = z.infer<typeof NodeBenchRunnerStatusSchema>;
|
|
462
462
|
export declare const NodeBenchmarkStateSchema: z.ZodEnum<{
|
|
463
|
+
aborted: "aborted";
|
|
463
464
|
done: "done";
|
|
464
|
-
failed: "failed";
|
|
465
465
|
draining: "draining";
|
|
466
|
-
|
|
466
|
+
failed: "failed";
|
|
467
467
|
measuring: "measuring";
|
|
468
468
|
restoring: "restoring";
|
|
469
469
|
}>;
|
|
470
470
|
export type NodeBenchmarkState = z.infer<typeof NodeBenchmarkStateSchema>;
|
|
471
471
|
/** Why a run ended. */
|
|
472
472
|
export declare const NodeBenchmarkEndReasonSchema: z.ZodEnum<{
|
|
473
|
-
failed: "failed";
|
|
474
473
|
completed: "completed";
|
|
475
|
-
"operator-abort": "operator-abort";
|
|
476
474
|
deadline: "deadline";
|
|
475
|
+
"drain-timeout": "drain-timeout";
|
|
476
|
+
failed: "failed";
|
|
477
|
+
"hub-restart": "hub-restart";
|
|
477
478
|
"node-lost": "node-lost";
|
|
479
|
+
"operator-abort": "operator-abort";
|
|
478
480
|
"runner-lost": "runner-lost";
|
|
479
|
-
"hub-restart": "hub-restart";
|
|
480
|
-
"drain-timeout": "drain-timeout";
|
|
481
481
|
}>;
|
|
482
482
|
export type NodeBenchmarkEndReason = z.infer<typeof NodeBenchmarkEndReasonSchema>;
|
|
483
483
|
export declare const NodeBenchmarkRunSchema: z.ZodObject<{
|
|
484
484
|
runId: z.ZodString;
|
|
485
485
|
nodeId: z.ZodString;
|
|
486
486
|
state: z.ZodEnum<{
|
|
487
|
+
aborted: "aborted";
|
|
487
488
|
done: "done";
|
|
488
|
-
failed: "failed";
|
|
489
489
|
draining: "draining";
|
|
490
|
-
|
|
490
|
+
failed: "failed";
|
|
491
491
|
measuring: "measuring";
|
|
492
492
|
restoring: "restoring";
|
|
493
493
|
}>;
|
|
@@ -498,8 +498,8 @@ export declare const NodeBenchmarkRunSchema: z.ZodObject<{
|
|
|
498
498
|
modelIds: z.ZodArray<z.ZodString>;
|
|
499
499
|
}, z.core.$strip>>;
|
|
500
500
|
phases: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
501
|
-
pipeline: "pipeline";
|
|
502
501
|
device: "device";
|
|
502
|
+
pipeline: "pipeline";
|
|
503
503
|
}>>>;
|
|
504
504
|
steps: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
505
505
|
fpsPerStream: z.ZodDefault<z.ZodNumber>;
|
|
@@ -511,14 +511,14 @@ export declare const NodeBenchmarkRunSchema: z.ZodObject<{
|
|
|
511
511
|
deadlineAtMs: z.ZodNumber;
|
|
512
512
|
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
513
513
|
endReason: z.ZodNullable<z.ZodEnum<{
|
|
514
|
-
failed: "failed";
|
|
515
514
|
completed: "completed";
|
|
516
|
-
"operator-abort": "operator-abort";
|
|
517
515
|
deadline: "deadline";
|
|
516
|
+
"drain-timeout": "drain-timeout";
|
|
517
|
+
failed: "failed";
|
|
518
|
+
"hub-restart": "hub-restart";
|
|
518
519
|
"node-lost": "node-lost";
|
|
520
|
+
"operator-abort": "operator-abort";
|
|
519
521
|
"runner-lost": "runner-lost";
|
|
520
|
-
"hub-restart": "hub-restart";
|
|
521
|
-
"drain-timeout": "drain-timeout";
|
|
522
522
|
}>>;
|
|
523
523
|
error: z.ZodNullable<z.ZodString>;
|
|
524
524
|
moved: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
@@ -526,10 +526,10 @@ export declare const NodeBenchmarkRunSchema: z.ZodObject<{
|
|
|
526
526
|
contaminated: z.ZodBoolean;
|
|
527
527
|
progress: z.ZodNullable<z.ZodObject<{
|
|
528
528
|
phase: z.ZodEnum<{
|
|
529
|
-
|
|
529
|
+
cleanup: "cleanup";
|
|
530
530
|
device: "device";
|
|
531
|
+
pipeline: "pipeline";
|
|
531
532
|
preparing: "preparing";
|
|
532
|
-
cleanup: "cleanup";
|
|
533
533
|
}>;
|
|
534
534
|
deviceKey: z.ZodNullable<z.ZodString>;
|
|
535
535
|
modelId: z.ZodNullable<z.ZodString>;
|
|
@@ -548,10 +548,10 @@ export declare const NodeBenchmarkStatusSchema: z.ZodObject<{
|
|
|
548
548
|
runId: z.ZodString;
|
|
549
549
|
nodeId: z.ZodString;
|
|
550
550
|
state: z.ZodEnum<{
|
|
551
|
+
aborted: "aborted";
|
|
551
552
|
done: "done";
|
|
552
|
-
failed: "failed";
|
|
553
553
|
draining: "draining";
|
|
554
|
-
|
|
554
|
+
failed: "failed";
|
|
555
555
|
measuring: "measuring";
|
|
556
556
|
restoring: "restoring";
|
|
557
557
|
}>;
|
|
@@ -562,8 +562,8 @@ export declare const NodeBenchmarkStatusSchema: z.ZodObject<{
|
|
|
562
562
|
modelIds: z.ZodArray<z.ZodString>;
|
|
563
563
|
}, z.core.$strip>>;
|
|
564
564
|
phases: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
565
|
-
pipeline: "pipeline";
|
|
566
565
|
device: "device";
|
|
566
|
+
pipeline: "pipeline";
|
|
567
567
|
}>>>;
|
|
568
568
|
steps: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
569
569
|
fpsPerStream: z.ZodDefault<z.ZodNumber>;
|
|
@@ -575,14 +575,14 @@ export declare const NodeBenchmarkStatusSchema: z.ZodObject<{
|
|
|
575
575
|
deadlineAtMs: z.ZodNumber;
|
|
576
576
|
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
577
577
|
endReason: z.ZodNullable<z.ZodEnum<{
|
|
578
|
-
failed: "failed";
|
|
579
578
|
completed: "completed";
|
|
580
|
-
"operator-abort": "operator-abort";
|
|
581
579
|
deadline: "deadline";
|
|
580
|
+
"drain-timeout": "drain-timeout";
|
|
581
|
+
failed: "failed";
|
|
582
|
+
"hub-restart": "hub-restart";
|
|
582
583
|
"node-lost": "node-lost";
|
|
584
|
+
"operator-abort": "operator-abort";
|
|
583
585
|
"runner-lost": "runner-lost";
|
|
584
|
-
"hub-restart": "hub-restart";
|
|
585
|
-
"drain-timeout": "drain-timeout";
|
|
586
586
|
}>>;
|
|
587
587
|
error: z.ZodNullable<z.ZodString>;
|
|
588
588
|
moved: z.ZodReadonly<z.ZodArray<z.ZodNumber>>;
|
|
@@ -590,10 +590,10 @@ export declare const NodeBenchmarkStatusSchema: z.ZodObject<{
|
|
|
590
590
|
contaminated: z.ZodBoolean;
|
|
591
591
|
progress: z.ZodNullable<z.ZodObject<{
|
|
592
592
|
phase: z.ZodEnum<{
|
|
593
|
-
|
|
593
|
+
cleanup: "cleanup";
|
|
594
594
|
device: "device";
|
|
595
|
+
pipeline: "pipeline";
|
|
595
596
|
preparing: "preparing";
|
|
596
|
-
cleanup: "cleanup";
|
|
597
597
|
}>;
|
|
598
598
|
deviceKey: z.ZodNullable<z.ZodString>;
|
|
599
599
|
modelId: z.ZodNullable<z.ZodString>;
|
|
@@ -625,13 +625,13 @@ export declare const NodeBenchmarkResultSchema: z.ZodObject<{
|
|
|
625
625
|
fps: z.ZodNumber;
|
|
626
626
|
kMax: z.ZodNumber;
|
|
627
627
|
limitedBy: z.ZodEnum<{
|
|
628
|
+
cpu: "cpu";
|
|
629
|
+
drops: "drops";
|
|
628
630
|
errors: "errors";
|
|
629
631
|
none: "none";
|
|
630
|
-
cpu: "cpu";
|
|
631
632
|
p95: "p95";
|
|
632
|
-
drops: "drops";
|
|
633
|
-
stall: "stall";
|
|
634
633
|
ram: "ram";
|
|
634
|
+
stall: "stall";
|
|
635
635
|
}>;
|
|
636
636
|
warmupMs: z.ZodNumber;
|
|
637
637
|
ramp: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -651,13 +651,13 @@ export declare const NodeBenchmarkResultSchema: z.ZodObject<{
|
|
|
651
651
|
steps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
652
652
|
maxSessions: z.ZodNumber;
|
|
653
653
|
limitedBy: z.ZodEnum<{
|
|
654
|
+
cpu: "cpu";
|
|
655
|
+
drops: "drops";
|
|
654
656
|
errors: "errors";
|
|
655
657
|
none: "none";
|
|
656
|
-
cpu: "cpu";
|
|
657
658
|
p95: "p95";
|
|
658
|
-
drops: "drops";
|
|
659
|
-
stall: "stall";
|
|
660
659
|
ram: "ram";
|
|
660
|
+
stall: "stall";
|
|
661
661
|
}>;
|
|
662
662
|
stepsFired: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
663
663
|
warmupMs: z.ZodNumber;
|
|
@@ -718,13 +718,13 @@ export declare const NodeBenchmarkResultViewSchema: z.ZodObject<{
|
|
|
718
718
|
fps: z.ZodNumber;
|
|
719
719
|
kMax: z.ZodNumber;
|
|
720
720
|
limitedBy: z.ZodEnum<{
|
|
721
|
+
cpu: "cpu";
|
|
722
|
+
drops: "drops";
|
|
721
723
|
errors: "errors";
|
|
722
724
|
none: "none";
|
|
723
|
-
cpu: "cpu";
|
|
724
725
|
p95: "p95";
|
|
725
|
-
drops: "drops";
|
|
726
|
-
stall: "stall";
|
|
727
726
|
ram: "ram";
|
|
727
|
+
stall: "stall";
|
|
728
728
|
}>;
|
|
729
729
|
warmupMs: z.ZodNumber;
|
|
730
730
|
ramp: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -744,13 +744,13 @@ export declare const NodeBenchmarkResultViewSchema: z.ZodObject<{
|
|
|
744
744
|
steps: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
745
745
|
maxSessions: z.ZodNumber;
|
|
746
746
|
limitedBy: z.ZodEnum<{
|
|
747
|
+
cpu: "cpu";
|
|
748
|
+
drops: "drops";
|
|
747
749
|
errors: "errors";
|
|
748
750
|
none: "none";
|
|
749
|
-
cpu: "cpu";
|
|
750
751
|
p95: "p95";
|
|
751
|
-
drops: "drops";
|
|
752
|
-
stall: "stall";
|
|
753
752
|
ram: "ram";
|
|
753
|
+
stall: "stall";
|
|
754
754
|
}>;
|
|
755
755
|
stepsFired: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
756
756
|
warmupMs: z.ZodNumber;
|
|
@@ -790,14 +790,14 @@ export declare const NodeBenchmarkResultViewSchema: z.ZodObject<{
|
|
|
790
790
|
partialRun: z.ZodBoolean;
|
|
791
791
|
measuredAtMs: z.ZodNumber;
|
|
792
792
|
standing: z.ZodEnum<{
|
|
793
|
-
superseded: "superseded";
|
|
794
|
-
stale: "stale";
|
|
795
793
|
fresh: "fresh";
|
|
794
|
+
stale: "stale";
|
|
795
|
+
superseded: "superseded";
|
|
796
796
|
}>;
|
|
797
797
|
staleWhy: z.ZodNullable<z.ZodEnum<{
|
|
798
|
-
runtime: "runtime";
|
|
799
798
|
age: "age";
|
|
800
799
|
"pool-tuning": "pool-tuning";
|
|
800
|
+
runtime: "runtime";
|
|
801
801
|
}>>;
|
|
802
802
|
}, z.core.$strip>;
|
|
803
803
|
export type NodeBenchmarkResultView = z.infer<typeof NodeBenchmarkResultViewSchema>;
|
|
@@ -814,8 +814,8 @@ export declare const NodeBenchmarkManifestSchema: z.ZodObject<{
|
|
|
814
814
|
modelIds: z.ZodArray<z.ZodString>;
|
|
815
815
|
}, z.core.$strip>>;
|
|
816
816
|
phases: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
817
|
-
pipeline: "pipeline";
|
|
818
817
|
device: "device";
|
|
818
|
+
pipeline: "pipeline";
|
|
819
819
|
}>>>;
|
|
820
820
|
steps: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
821
821
|
fpsPerStream: z.ZodDefault<z.ZodNumber>;
|
|
@@ -10,13 +10,13 @@ import { EventCategory } from '../enums/event-category.js';
|
|
|
10
10
|
import { type EventSource, type TypedSystemEvent } from '../interfaces/event-bus.js';
|
|
11
11
|
/** The motion event's data without `triggeredBy`: only the bridge names a trigger. */
|
|
12
12
|
export declare const ProviderMotionDataSchema: z.ZodObject<{
|
|
13
|
-
timestamp: z.ZodNumber;
|
|
14
13
|
deviceId: z.ZodNumber;
|
|
15
14
|
detected: z.ZodBoolean;
|
|
15
|
+
timestamp: z.ZodNumber;
|
|
16
16
|
source: z.ZodEnum<{
|
|
17
|
-
onboard: "onboard";
|
|
18
17
|
analyzer: "analyzer";
|
|
19
18
|
"device-activity": "device-activity";
|
|
19
|
+
onboard: "onboard";
|
|
20
20
|
}>;
|
|
21
21
|
regions: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
22
22
|
bbox: z.ZodObject<{
|