@camstack/types 1.2.403 → 1.2.405

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.
Files changed (47) hide show
  1. package/dist/addon.js +2 -2
  2. package/dist/addon.mjs +2 -2
  3. package/dist/capabilities/index.d.ts +4 -3
  4. package/dist/capabilities/pipeline-analytics.cap.d.ts +27 -0
  5. package/dist/capabilities/pipeline-executor.cap.d.ts +0 -64
  6. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +68 -124
  7. package/dist/capabilities/platform-probe.cap.d.ts +34 -0
  8. package/dist/capabilities/schemas/package-llm-verdict.d.ts +14 -0
  9. package/dist/capabilities/schemas/zone-rule.d.ts +4 -0
  10. package/dist/capabilities/training.cap.d.ts +91 -71
  11. package/dist/capabilities/zone-rules.cap.d.ts +10 -0
  12. package/dist/client.js +2 -8
  13. package/dist/client.mjs +2 -8
  14. package/dist/enums/event-category.d.ts +2 -3
  15. package/dist/enums.js +1 -1
  16. package/dist/enums.mjs +1 -1
  17. package/dist/{event-category-7AwNbPjm.js → event-category-CXrwjC3e.js} +2 -3
  18. package/dist/{event-category-BfJwUd2S.mjs → event-category-fDPduoeC.mjs} +2 -3
  19. package/dist/generated/addon-api.d.ts +14 -56
  20. package/dist/generated/device-proxy.d.ts +1 -1
  21. package/dist/generated/method-access-map.d.ts +1 -1
  22. package/dist/generated/method-device-selectors.d.ts +2 -2
  23. package/dist/generated/system-proxy.d.ts +3 -3
  24. package/dist/index.d.ts +3 -1
  25. package/dist/index.js +2250 -1529
  26. package/dist/index.mjs +2197 -1528
  27. package/dist/interfaces/birth-decision-ledger.d.ts +3 -0
  28. package/dist/interfaces/pipeline-executor-capability.d.ts +2 -8
  29. package/dist/interfaces/platform.d.ts +7 -0
  30. package/dist/node-color.d.ts +1 -1
  31. package/dist/pipeline/auto-tune/accelerator-compute.d.ts +116 -0
  32. package/dist/pipeline/auto-tune/detector-performance.d.ts +5 -0
  33. package/dist/pipeline/auto-tune/hardware-class.d.ts +5 -4
  34. package/dist/pipeline/auto-tune/index.d.ts +1 -0
  35. package/dist/pipeline/auto-tune/plan-schemas.d.ts +108 -80
  36. package/dist/pipeline/auto-tune/recommend.d.ts +31 -9
  37. package/dist/pipeline/second-pass/index.d.ts +2 -0
  38. package/dist/pipeline/second-pass/motion-crop-plan.d.ts +183 -0
  39. package/dist/pipeline/second-pass/small-subject-recovery.d.ts +216 -0
  40. package/dist/pipeline/step-settings-layers.d.ts +7 -8
  41. package/dist/{sleep-Ch67uumJ.js → sleep-BKS4OPMo.js} +1 -4
  42. package/dist/{sleep-6AqUnQIT.mjs → sleep-CHIEEJkY.mjs} +1 -4
  43. package/dist/types/agent-pipeline-settings.d.ts +37 -70
  44. package/dist/types/camera-pipeline.d.ts +2 -2
  45. package/dist/types/detection.d.ts +15 -5
  46. package/dist/types/pipeline-step.d.ts +0 -16
  47. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-Ch67uumJ.js");
3
- const require_event_category = require("./event-category-7AwNbPjm.js");
2
+ const require_sleep = require("./sleep-BKS4OPMo.js");
3
+ const require_event_category = require("./event-category-CXrwjC3e.js");
4
4
  const require_err_msg = require("./err-msg-BhVbr0NX.js");
5
5
  //#region src/generated/cap-input-defaults.ts
6
6
  /**
package/dist/addon.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { $n as PEER_BYTES_TICKET_TTL_MS, $t as parseSecretPath, A as HF_REPO, An as RECORD_DEFAULT_MAX_DATA_BYTES, B as describeCustomActions, Bn as resolveSecretViewsIn, Br as isSecretFieldView, Bt as EntryDescriptorSchema, C as addonSliceHandleApi, Cn as UnknownRecordKindError, Cr as parseSecretRef, Dn as RECORD_BATCH_MAX_BYTES, Dr as emitReadiness, En as RECORD_BATCH_MAX, Er as createEvent, F as DEVICE_CHILDREN_BATCH_MAX, Fn as RECORD_MAX_INDEX_FIELDS, Ft as makeInMemoryRecords, Gn as forgetKnownSecret, Gt as RecordRetentionSchema, H as adminUiCapability, Hn as createSecretsAccess, Hr as isSecretMarkerLike, Ht as RecordIndexSchema, I as CALLER_STAMPED_CAPABILITIES, In as RECORD_QUERY_MAX, It as defineEntryKind, Jn as scrubKnownSecrets, Jt as declarationsOf, Kn as knownSecretCount, Kt as StoredRecordKindDeclarationSchema, L as withoutCallerStamp, Ln as RECORD_SECRET_COLLECTION_PREFIX, Lr as SECRET_CLEAR, Lt as entryBody, Mn as RECORD_ID_MAX_LENGTH, N as deviceOpsCapability, Nn as RECORD_MAX_DATA_BYTES, On as RECORD_CLASSES, P as viewerUiCapability, Pn as RECORD_MAX_INDEXES, Qn as PEER_BYTES_STALL_MS, Qt as mapSecretLeaves, Rn as RECORD_SETTINGS_MAX_ROWS, Rr as classifySecretWrite, Rt as createRecordsAccess, Sn as UnindexedFilterError, Sr as normalizeSecretOwner, Tn as recordsErrorFromMessage, Un as MIN_SCRUBBED_LENGTH, Ur as makeSecretMarker, Ut as RecordKindDeclarationSchema, Vn as REVALIDATE_AFTER_MS, Vr as isSecretMarker, Vt as RecordFieldPathSchema, Wn as clearKnownSecrets, Wr as toSecretFieldView, Wt as RecordKindNameSchema, X as expandCapMethods, Xn as PEER_BYTES_CHUNK_BYTES, Xt as REMOVE_LEAF, Yn as shortSecretRefHash, Yt as defineRecordKinds, Zn as PEER_BYTES_MAX_OUTSTANDING, Zt as collectSecretLeaves, _ as readErrorI18n, _n as RecordTooLargeError, _r as arrayItemFieldPath, an as collectZodSecretPaths, at as readNodePin, b as isDeviceScopedCap, bn as RevConflictError, br as globalSecretScope, c as asString, cn as DeclarationRefusedError, ct as ReadinessRegistry, d as parseJsonUnknown, dn as InvalidRecordError, en as recordArrayItemPath, f as hfModelUrl, fn as NoCallerError, ft as scopeKey, g as ErrorI18nPayloadSchema, gn as RecordSecretUnavailableError, gr as SECRET_REF_SCHEME, hn as RecordNotFoundError, ir as BaseAddon, it as nodePin, jn as RECORD_DELETE_BATCH, kn as RECORD_DATABASES, ln as FilterRequiredError, lt as ReadinessTimeoutError, mn as RECORDS_ERROR_CODES, nn as recordSecretRef, o as asJsonObject, on as isZodSecret, or as normalizeAddonInitResult, p as BOOT_RECOVERY_BACKOFF_MS, pn as PlaintextSecretError, qn as registerKnownSecret, qt as assertValidDeclaration, r as maskUrlCredentials, rn as secretArrayPrefixes, rr as DisposerChain, sn as BatchTooLargeError, st as MODEL_FORMATS, t as sleep, tn as recordSecretCollection, tr as DATAPLANE_SECRET_HEADER, un as ForeignSecretMarkerError, vn as RecordUniqueViolationError, vr as buildSecretRef, w as createEventBusSliceSource, wn as asRecordsError, x as createDeviceProxy, xn as TransactRefusedError, xr as isSecretRef, y as DEVICE_SCOPED_CAPS, yn as RecordsError, yr as formatSecretScope, zn as RECORD_SWEEP_INTERVAL_MS, zr as isSecretClear, zt as assertTransactScope } from "./sleep-6AqUnQIT.mjs";
2
- import { t as EventCategory } from "./event-category-BfJwUd2S.mjs";
1
+ import { $n as PEER_BYTES_TICKET_TTL_MS, $t as parseSecretPath, A as HF_REPO, An as RECORD_DEFAULT_MAX_DATA_BYTES, B as describeCustomActions, Bn as resolveSecretViewsIn, Br as isSecretFieldView, Bt as EntryDescriptorSchema, C as addonSliceHandleApi, Cn as UnknownRecordKindError, Cr as parseSecretRef, Dn as RECORD_BATCH_MAX_BYTES, Dr as emitReadiness, En as RECORD_BATCH_MAX, Er as createEvent, F as DEVICE_CHILDREN_BATCH_MAX, Fn as RECORD_MAX_INDEX_FIELDS, Ft as makeInMemoryRecords, Gn as forgetKnownSecret, Gt as RecordRetentionSchema, H as adminUiCapability, Hn as createSecretsAccess, Hr as isSecretMarkerLike, Ht as RecordIndexSchema, I as CALLER_STAMPED_CAPABILITIES, In as RECORD_QUERY_MAX, It as defineEntryKind, Jn as scrubKnownSecrets, Jt as declarationsOf, Kn as knownSecretCount, Kt as StoredRecordKindDeclarationSchema, L as withoutCallerStamp, Ln as RECORD_SECRET_COLLECTION_PREFIX, Lr as SECRET_CLEAR, Lt as entryBody, Mn as RECORD_ID_MAX_LENGTH, N as deviceOpsCapability, Nn as RECORD_MAX_DATA_BYTES, On as RECORD_CLASSES, P as viewerUiCapability, Pn as RECORD_MAX_INDEXES, Qn as PEER_BYTES_STALL_MS, Qt as mapSecretLeaves, Rn as RECORD_SETTINGS_MAX_ROWS, Rr as classifySecretWrite, Rt as createRecordsAccess, Sn as UnindexedFilterError, Sr as normalizeSecretOwner, Tn as recordsErrorFromMessage, Un as MIN_SCRUBBED_LENGTH, Ur as makeSecretMarker, Ut as RecordKindDeclarationSchema, Vn as REVALIDATE_AFTER_MS, Vr as isSecretMarker, Vt as RecordFieldPathSchema, Wn as clearKnownSecrets, Wr as toSecretFieldView, Wt as RecordKindNameSchema, X as expandCapMethods, Xn as PEER_BYTES_CHUNK_BYTES, Xt as REMOVE_LEAF, Yn as shortSecretRefHash, Yt as defineRecordKinds, Zn as PEER_BYTES_MAX_OUTSTANDING, Zt as collectSecretLeaves, _ as readErrorI18n, _n as RecordTooLargeError, _r as arrayItemFieldPath, an as collectZodSecretPaths, at as readNodePin, b as isDeviceScopedCap, bn as RevConflictError, br as globalSecretScope, c as asString, cn as DeclarationRefusedError, ct as ReadinessRegistry, d as parseJsonUnknown, dn as InvalidRecordError, en as recordArrayItemPath, f as hfModelUrl, fn as NoCallerError, ft as scopeKey, g as ErrorI18nPayloadSchema, gn as RecordSecretUnavailableError, gr as SECRET_REF_SCHEME, hn as RecordNotFoundError, ir as BaseAddon, it as nodePin, jn as RECORD_DELETE_BATCH, kn as RECORD_DATABASES, ln as FilterRequiredError, lt as ReadinessTimeoutError, mn as RECORDS_ERROR_CODES, nn as recordSecretRef, o as asJsonObject, on as isZodSecret, or as normalizeAddonInitResult, p as BOOT_RECOVERY_BACKOFF_MS, pn as PlaintextSecretError, qn as registerKnownSecret, qt as assertValidDeclaration, r as maskUrlCredentials, rn as secretArrayPrefixes, rr as DisposerChain, sn as BatchTooLargeError, st as MODEL_FORMATS, t as sleep, tn as recordSecretCollection, tr as DATAPLANE_SECRET_HEADER, un as ForeignSecretMarkerError, vn as RecordUniqueViolationError, vr as buildSecretRef, w as createEventBusSliceSource, wn as asRecordsError, x as createDeviceProxy, xn as TransactRefusedError, xr as isSecretRef, y as DEVICE_SCOPED_CAPS, yn as RecordsError, yr as formatSecretScope, zn as RECORD_SWEEP_INTERVAL_MS, zr as isSecretClear, zt as assertTransactScope } from "./sleep-CHIEEJkY.mjs";
2
+ import { t as EventCategory } from "./event-category-fDPduoeC.mjs";
3
3
  import { a as DeviceType, t as errMsg } from "./err-msg-BXKzRBwg.mjs";
4
4
  //#region src/generated/cap-input-defaults.ts
5
5
  /**
@@ -110,7 +110,7 @@ export { EffectiveTuningSchema, ModelSubstitutionSchema, NativeCropRefSchema, Pi
110
110
  export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraDetectionSource, CameraSourceStream, CameraStatus, CameraStatusDegradation, CameraStatusDegradationReason, CameraStatusStage, ClusterModelChoice, ClusterModelChoiceUnreadableReason, DiskReconcileJob, InferenceDeviceExclusionReason, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, OccupancyLookAnswer, OccupancyLookRefusal, OccupancyLookRequest, SetCameraSensorsInput, } from './pipeline-orchestrator.cap.js';
111
111
  export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderStatusSchema, CameraDetectionSourceSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CapabilityBindingsSchema, CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, ClusterModelChoiceSchema, DiskReconcileJobSchema, GlobalMetricsSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, OccupancyLookAnswerSchema, OccupancyLookRefusalSchema, OccupancyLookRequestSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, SetCameraSensorsInputSchema, } from './pipeline-orchestrator.cap.js';
112
112
  export type { DetailParent, DetailResult, MotionSource, MotionSources, OccupancyBurstRefusal, ParkedFrameKind, ParkedTrackFrame, ParkRefusal, ParkTrackFrameResult, ReportMotionInput, RunDetailSubtreeInput, RunDetailSubtreeResult, RunnerFrameSource, RunnerInferenceDevice, RunnerJumpStepProvisioning, RunStatelessStepInput, RunStatelessStepResult, StatelessStepRefusal, } from './pipeline-runner.cap.js';
113
- export { type DetectionSources, DetectionSourcesSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, MOTION_SOURCE_LABELS, MotionSourceEnum, MotionSourcesSchema, motionSourceLabel, type NativeCropBbox, NativeCropBboxSchema, NativeCropResultSchema, OccupancyBurstRefusalSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, type SessionTrigger, SessionTriggerSchema, } from './pipeline-runner.cap.js';
113
+ export { type DetectionSources, DetectionSourcesSchema, FrameLazyCountersSchema, FrameLazyMetricsSchema, MOTION_SOURCE_LABELS, MotionSourceEnum, MotionSourcesSchema, motionSourceLabel, type NativeCropBbox, type NativeCropCapResult, NativeCropBboxSchema, NativeCropResultSchema, OccupancyBurstRefusalSchema, ParkedFrameKindSchema, ParkedTrackFrameSchema, ParkRefusalSchema, ParkTrackFrameResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerJumpStepProvisioningSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, type SessionTrigger, SessionTriggerSchema, } from './pipeline-runner.cap.js';
114
114
  export type { AudioClassifyOutcome, AudioNotClassifiedReason, } from './schemas/detection-shared.js';
115
115
  export { AUDIO_NOT_CLASSIFIED_REASONS, AudioChunkInputSchema, AudioClassificationLabelSchema, AudioClassifyOutcomeSchema, AudioLevelSchema, BoundingBoxSchema, FrameInputSchema, SpatialDetectionSchema, } from './schemas/detection-shared.js';
116
116
  export { CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, OrchestratorMetricsSchema, } from './schemas/orchestrator-metrics.js';
@@ -227,6 +227,7 @@ export { DAY_NAMES, DAYS_PER_WEEK, dayOfWeekToIndex, describeOnboardClamp, descr
227
227
  export { type IRecordingSignalProvider, type RecordingSignalRuntimeState, RecordingSignalRuntimeStateSchema, type RecordingSignalStatus, RecordingSignalStatusSchema, recordingSignalCapability, } from './recording-signal.cap.js';
228
228
  export { RESERVED_COLLECTION_SOURCES, type ReservedCollectionSource, reservedSourceOwner, } from './reserved-collection-sources.js';
229
229
  export { type ISceneMonitorProvider, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, type SceneCheck, SceneCheckSchema, type SceneCondition, SceneConditionSchema, type SceneConfirm, SceneConfirmSchema, type SceneMonitor, SceneMonitorSchema, type SceneMonitorState, SceneMonitorStateSchema, type SceneMonitorStatus, type SceneMonitorStatusForDevice, SceneMonitorStatusForDeviceSchema, SceneMonitorStatusSchema, type SceneReference, SceneReferenceSchema, type SceneUnavailable, SceneUnavailableSchema, type SceneUncoveredPolicy, SceneUncoveredPolicySchema, type SceneVerdict, SceneVerdictSchema, sceneMonitorCapability, } from './scene-monitor.cap.js';
230
+ export { type PackageLlmVerdict, PackageLlmVerdictSchema, } from './schemas/package-llm-verdict.js';
230
231
  export { type ZoneRule, type ZoneRuleMode, ZoneRuleModeEnum, ZoneRuleSchema, type ZoneRules, ZoneRulesArraySchema, } from './schemas/zone-rule.js';
231
232
  export { type IScriptRunnerProvider, type ScriptRunnerStatus, ScriptRunnerStatusSchema, scriptRunnerCapability, } from './script-runner.cap.js';
232
233
  export { type ISmokeProvider, type SmokeStatus, SmokeStatusSchema, smokeCapability, } from './smoke.cap.js';
@@ -250,8 +251,8 @@ export { type IZoneRulesProvider, type ZoneRuleStage, ZoneRuleStageEnum, zoneRul
250
251
  export { type IZonesProvider, type PolygonPoint, PolygonPointSchema, type Zone, type ZoneKind, ZoneKindEnum, ZoneSchema, zonesCapability, } from './zones.cap.js';
251
252
  export type { ITrainingCloudProvider, ProviderJobState, ProviderJobStatus, TrainerSourceRef, TrainingCredentialCheck, TrainingGpuOption, TrainingLogLine, TrainingProviderDefaults, TrainingProviderDescriptor, TrainingProviderEntry, TrainingProviderType, TrainingProviderUpdateEntryInput, TrainingRegionOption, } from './training-provider.cap.js';
252
253
  export { ProviderJobStateSchema, ProviderJobStatusSchema, TrainerSourceRefSchema, TrainingCredentialCheckSchema, TrainingGpuOptionSchema, TrainingLogLineSchema, TrainingProviderDefaultsSchema, TrainingProviderDescriptorSchema, TrainingProviderEntrySchema, TrainingProviderTypeSchema, TrainingProviderUpdateEntryInputSchema, TrainingRegionOptionSchema, trainingProviderCapability, } from './training-provider.cap.js';
253
- export type { ITrainingOrchestrator, TrainingBaseModel, TrainingCanary, TrainingCorpusSelection, TrainingFailureReason, TrainingJob, TrainingJobPlan, TrainingJobRequest, TrainingJobState, TrainingPreset, TrainingProgressPoint, TrainingRefusalReason, TrainingSplitPlan, } from './training.cap.js';
254
- export { TrainingBaseModelSchema, TrainingCanarySchema, TrainingCorpusSelectionSchema, TrainingFailureReasonSchema, TrainingJobPlanSchema, TrainingJobRequestSchema, TrainingJobSchema, TrainingJobStateSchema, TrainingPresetSchema, TrainingProgressPointSchema, TrainingRefusalReasonSchema, TrainingSplitPlanSchema, trainingCapability, } from './training.cap.js';
254
+ export type { ITrainingOrchestrator, TrainingAcceleratorRef, TrainingBaseModel, TrainingCanary, TrainingCanaryTarget, TrainingCorpusSelection, TrainingFailureReason, TrainingJob, TrainingJobPlan, TrainingJobRequest, TrainingJobState, TrainingPreset, TrainingProgressPoint, TrainingRefusalReason, TrainingSplitPlan, } from './training.cap.js';
255
+ export { TrainingAcceleratorRefSchema, TrainingBaseModelSchema, TrainingCanarySchema, TrainingCanaryTargetSchema, TrainingCorpusSelectionSchema, TrainingFailureReasonSchema, TrainingJobPlanSchema, TrainingJobRequestSchema, TrainingJobSchema, TrainingJobStateSchema, TrainingPresetSchema, TrainingProgressPointSchema, TrainingRefusalReasonSchema, TrainingSplitPlanSchema, trainingCapability, } from './training.cap.js';
255
256
  import type { IReadinessRegistry } from '../interfaces/readiness.js';
256
257
  import type { accessoriesCapability } from './accessories.cap.js';
257
258
  import type { addonPagesCapability } from './addon-pages.cap.js';
@@ -716,6 +716,12 @@ declare const ObjectEventSchema: z.ZodObject<{
716
716
  keyFrameMediaId: z.ZodOptional<z.ZodNumber>;
717
717
  mediaUrl: z.ZodOptional<z.ZodString>;
718
718
  observedAt: z.ZodOptional<z.ZodNumber>;
719
+ packagePossible: z.ZodOptional<z.ZodBoolean>;
720
+ packageLlmVerdict: z.ZodOptional<z.ZodObject<{
721
+ package: z.ZodBoolean;
722
+ confidence: z.ZodNumber;
723
+ reason: z.ZodString;
724
+ }, z.core.$strip>>;
719
725
  importance: z.ZodOptional<z.ZodNumber>;
720
726
  }, z.core.$strip>;
721
727
  export type ObjectEvent = z.infer<typeof ObjectEventSchema>;
@@ -3390,6 +3396,12 @@ export declare const ScoredObjectEventSchema: z.ZodObject<{
3390
3396
  keyFrameMediaId: z.ZodOptional<z.ZodNumber>;
3391
3397
  mediaUrl: z.ZodOptional<z.ZodString>;
3392
3398
  observedAt: z.ZodOptional<z.ZodNumber>;
3399
+ packagePossible: z.ZodOptional<z.ZodBoolean>;
3400
+ packageLlmVerdict: z.ZodOptional<z.ZodObject<{
3401
+ package: z.ZodBoolean;
3402
+ confidence: z.ZodNumber;
3403
+ reason: z.ZodString;
3404
+ }, z.core.$strip>>;
3393
3405
  importance: z.ZodOptional<z.ZodNumber>;
3394
3406
  score: z.ZodNumber;
3395
3407
  }, z.core.$strip>;
@@ -4273,6 +4285,12 @@ export declare const pipelineAnalyticsCapability: {
4273
4285
  keyFrameMediaId: z.ZodOptional<z.ZodNumber>;
4274
4286
  mediaUrl: z.ZodOptional<z.ZodString>;
4275
4287
  observedAt: z.ZodOptional<z.ZodNumber>;
4288
+ packagePossible: z.ZodOptional<z.ZodBoolean>;
4289
+ packageLlmVerdict: z.ZodOptional<z.ZodObject<{
4290
+ package: z.ZodBoolean;
4291
+ confidence: z.ZodNumber;
4292
+ reason: z.ZodString;
4293
+ }, z.core.$strip>>;
4276
4294
  importance: z.ZodOptional<z.ZodNumber>;
4277
4295
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
4278
4296
  readonly getAudioEvents: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
@@ -5030,6 +5048,9 @@ export declare const pipelineAnalyticsCapability: {
5030
5048
  decidedByBirthEvidence: z.ZodBoolean;
5031
5049
  bestScore: z.ZodNullable<z.ZodNumber>;
5032
5050
  appliedMinConfidence: z.ZodNullable<z.ZodNumber>;
5051
+ detectorModelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5052
+ detectorDeviceKey: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5053
+ detectorNodeId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
5033
5054
  firstSeen: z.ZodNullable<z.ZodNumber>;
5034
5055
  motionOnsetAt: z.ZodNullable<z.ZodNumber>;
5035
5056
  birthLatencyMs: z.ZodNullable<z.ZodNumber>;
@@ -7770,6 +7791,12 @@ export declare const pipelineAnalyticsCapability: {
7770
7791
  keyFrameMediaId: z.ZodOptional<z.ZodNumber>;
7771
7792
  mediaUrl: z.ZodOptional<z.ZodString>;
7772
7793
  observedAt: z.ZodOptional<z.ZodNumber>;
7794
+ packagePossible: z.ZodOptional<z.ZodBoolean>;
7795
+ packageLlmVerdict: z.ZodOptional<z.ZodObject<{
7796
+ package: z.ZodBoolean;
7797
+ confidence: z.ZodNumber;
7798
+ reason: z.ZodString;
7799
+ }, z.core.$strip>>;
7773
7800
  importance: z.ZodOptional<z.ZodNumber>;
7774
7801
  score: z.ZodNumber;
7775
7802
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind> & {
@@ -2,7 +2,6 @@ import { z } from 'zod';
2
2
  import type { ConfigField, ConfigUISchema } from '../interfaces/config-ui.js';
3
3
  import type { InferenceCapabilities, ModelAvailability } from '../interfaces/inference-capabilities.js';
4
4
  import type { AudioResult, FrameResult } from '../types/detection.js';
5
- import type { PipelineConfig } from '../types/pipeline.js';
6
5
  import { type InferProvider } from './capability-definition.js';
7
6
  /**
8
7
  * A root model's boxes standing in for one crop-kind step's own inference
@@ -327,7 +326,6 @@ declare const PipelineAddonSchemaSchema: z.ZodObject<{
327
326
  defaultModelId: z.ZodString;
328
327
  defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
329
328
  enabledByDefault: z.ZodOptional<z.ZodBoolean>;
330
- backfillIntoExistingOverrides: z.ZodOptional<z.ZodBoolean>;
331
329
  defaultConfidence: z.ZodNumber;
332
330
  group: z.ZodOptional<z.ZodString>;
333
331
  configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
@@ -441,7 +439,6 @@ declare const PipelineSlotSchemaSchema: z.ZodObject<{
441
439
  defaultModelId: z.ZodString;
442
440
  defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
443
441
  enabledByDefault: z.ZodOptional<z.ZodBoolean>;
444
- backfillIntoExistingOverrides: z.ZodOptional<z.ZodBoolean>;
445
442
  defaultConfidence: z.ZodNumber;
446
443
  group: z.ZodOptional<z.ZodString>;
447
444
  configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
@@ -591,7 +588,6 @@ declare const PipelineSchemaSchema: z.ZodObject<{
591
588
  defaultModelId: z.ZodString;
592
589
  defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
593
590
  enabledByDefault: z.ZodOptional<z.ZodBoolean>;
594
- backfillIntoExistingOverrides: z.ZodOptional<z.ZodBoolean>;
595
591
  defaultConfidence: z.ZodNumber;
596
592
  group: z.ZodOptional<z.ZodString>;
597
593
  configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
@@ -717,19 +713,6 @@ export declare const pipelineExecutorCapability: {
717
713
  }>;
718
714
  device: z.ZodOptional<z.ZodString>;
719
715
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
720
- readonly getDefaultSteps: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
721
- runtime: z.ZodLiteral<"python">;
722
- backend: z.ZodString;
723
- format: z.ZodEnum<{
724
- coreml: "coreml";
725
- gguf: "gguf";
726
- onnx: "onnx";
727
- openvino: "openvino";
728
- pt: "pt";
729
- tflite: "tflite";
730
- }>;
731
- device: z.ZodOptional<z.ZodString>;
732
- }, z.core.$strip>, z.ZodArray<z.ZodType<PipelineDefaultStepOutput, unknown, z.core.$ZodTypeInternals<PipelineDefaultStepOutput, unknown>>>, import("./capability-definition.js").CapabilityMethodKind>;
733
716
  /**
734
717
  * Per-node detection-engine provisioning snapshot. Returns the live
735
718
  * state of the lazy runtime-provisioning machine on `nodeId`
@@ -772,50 +755,6 @@ export declare const pipelineExecutorCapability: {
772
755
  }, z.core.$strip>, z.ZodObject<{
773
756
  success: z.ZodLiteral<true>;
774
757
  }, z.core.$strip>, "mutation">;
775
- /**
776
- * Clear THIS node's executor-side PER-DEVICE settings stores (the
777
- * per-camera step overrides the object-detection root reads via
778
- * `applyDeviceOverridesToTree`). `nodeId` is the ROUTING key — the
779
- * generated cap-router strips it (default `nodeIdMode: 'routing'`) and
780
- * dispatches to that node, so the provider method runs ON the target
781
- * node and receives no `nodeId`.
782
- *
783
- * This is the slimmed executor leg of the orchestrator's
784
- * `resetNodePipelineDefaults` flow (which owns the real reset: node
785
- * addonDefaults pins + per-camera orchestrator overrides). The legacy
786
- * `resetToDefault` — which reset a persisted global step-tree seed
787
- * nothing in the live per-camera path read — was removed together with
788
- * that seed.
789
- */
790
- readonly clearDeviceOverrides: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
791
- nodeId: z.ZodString;
792
- }, z.core.$strip>, z.ZodObject<{
793
- success: z.ZodLiteral<true>;
794
- clearedDevices: z.ZodNumber;
795
- }, z.core.$strip>, "mutation">;
796
- /**
797
- * Auto tune (D745): the MODEL-BOUND thresholds (`bindsToModel` keys of
798
- * the object-detection root, and their binding keys) stored in THIS node's
799
- * per-camera detector settings — and, unless `dryRun`, remove them so the
800
- * running model's own defaults apply. Every other key of a camera's store
801
- * is kept. `nodeId` is the ROUTING key. `deviceIds` absent ⇒ every camera
802
- * with a store. A camera whose store could not be read is `refused`, never
803
- * reported as clean.
804
- */
805
- readonly clearModelBoundDeviceOverrides: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
806
- nodeId: z.ZodString;
807
- deviceIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
808
- dryRun: z.ZodBoolean;
809
- }, z.core.$strip>, z.ZodObject<{
810
- entries: z.ZodReadonly<z.ZodArray<z.ZodObject<{
811
- deviceId: z.ZodNumber;
812
- keys: z.ZodReadonly<z.ZodArray<z.ZodString>>;
813
- }, z.core.$strip>>>;
814
- refused: z.ZodReadonly<z.ZodArray<z.ZodObject<{
815
- deviceId: z.ZodNumber;
816
- reason: z.ZodString;
817
- }, z.core.$strip>>>;
818
- }, z.core.$strip>, "mutation">;
819
758
  /**
820
759
  * Which of THIS node's inference devices the executor currently refuses,
821
760
  * and why. `nodeId` is the ROUTING key (stripped by the generated router).
@@ -1010,15 +949,12 @@ export declare const pipelineExecutorCapability: {
1010
949
  defaultModelId: z.ZodString;
1011
950
  defaultModelIdByFormat: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1012
951
  enabledByDefault: z.ZodOptional<z.ZodBoolean>;
1013
- backfillIntoExistingOverrides: z.ZodOptional<z.ZodBoolean>;
1014
952
  defaultConfidence: z.ZodNumber;
1015
953
  group: z.ZodOptional<z.ZodString>;
1016
954
  configSchema: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodCustom<ConfigField, ConfigField>>>>;
1017
955
  }, z.core.$strip>>>;
1018
956
  }, z.core.$strip>>>;
1019
957
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
1020
- readonly getGlobalSteps: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodType<PipelineDefaultStepOutput, unknown, z.core.$ZodTypeInternals<PipelineDefaultStepOutput, unknown>>>>>, import("./capability-definition.js").CapabilityMethodKind>;
1021
- readonly getGlobalPipelineConfig: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodCustom<PipelineConfig | null, PipelineConfig | null>, import("./capability-definition.js").CapabilityMethodKind>;
1022
958
  readonly getOrchestratorConfigSchema: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodCustom<ConfigUISchema, ConfigUISchema>, import("./capability-definition.js").CapabilityMethodKind>;
1023
959
  /**
1024
960
  * Gate B (pre-init config-correctness gate). PURE COMPUTE against this
@@ -35,10 +35,6 @@ declare const CameraPipelineConfigSchema: z.ZodObject<{
35
35
  settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
36
36
  }, z.core.$strip>>>;
37
37
  }, z.core.$strip>;
38
- declare const CameraStepOverridePatchSchema: z.ZodObject<{
39
- modelId: z.ZodOptional<z.ZodString>;
40
- settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
41
- }, z.core.$strip>;
42
38
  /** The three root-detector choices a camera has (D507: at most one root). */
43
39
  export declare const CameraDetectionSourceSchema: z.ZodEnum<{
44
40
  none: "none";
@@ -1081,6 +1077,7 @@ export declare const pipelineOrchestratorCapability: {
1081
1077
  "node-g": "node-g";
1082
1078
  "node-h": "node-h";
1083
1079
  }>>;
1080
+ stepSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
1084
1081
  inferenceDevices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1085
1082
  enabled: z.ZodBoolean;
1086
1083
  weight: z.ZodOptional<z.ZodNumber>;
@@ -1115,6 +1112,7 @@ export declare const pipelineOrchestratorCapability: {
1115
1112
  "node-g": "node-g";
1116
1113
  "node-h": "node-h";
1117
1114
  }>>;
1115
+ stepSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
1118
1116
  inferenceDevices: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1119
1117
  enabled: z.ZodBoolean;
1120
1118
  weight: z.ZodOptional<z.ZodNumber>;
@@ -1249,6 +1247,20 @@ export declare const pipelineOrchestratorCapability: {
1249
1247
  }, z.core.$strip>, z.ZodObject<{
1250
1248
  success: z.ZodLiteral<true>;
1251
1249
  }, z.core.$strip>, "mutation">;
1250
+ /**
1251
+ * Write or clear one step's NODE-wide settings (D927) — the content that
1252
+ * holds on every accelerator of the node (`agentSettings[node].stepSettings`).
1253
+ * `settings` is the whole bag for the step; `null` or `{}` clears it.
1254
+ * REFUSES a model-scoped key (a model id, a binding, a `minConfidence*`
1255
+ * floor): those are set on the accelerator (`setAgentInferenceDevices`).
1256
+ */
1257
+ readonly setNodeStepSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1258
+ agentNodeId: z.ZodString;
1259
+ addonId: z.ZodString;
1260
+ settings: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1261
+ }, z.core.$strip>, z.ZodObject<{
1262
+ success: z.ZodLiteral<true>;
1263
+ }, z.core.$strip>, "mutation">;
1252
1264
  /**
1253
1265
  * DEVICE-AWARE merged view of ONE node's inference accelerators. Joins each
1254
1266
  * physical device the node HAS — probed live via a node-pinned
@@ -1321,23 +1333,18 @@ export declare const pipelineOrchestratorCapability: {
1321
1333
  * (a) strips every `modelId` pin from that node's
1322
1334
  * `agentSettings.addonDefaults` (cells revert to Auto — the node
1323
1335
  * resolves its own hardware-aware format default at runtime);
1324
- * (b) clears per-camera step overrides scoped to that node
1325
- * (`stepOverridesByAgent[node]` + the wholesale
1326
- * `pipelineByAgent[node]` escape hatch);
1327
- * (c) clears the executor-side per-device settings stores on that node
1328
- * (`pipelineExecutor.clearDeviceOverrides`);
1329
- * (d) hot-reloads every camera assigned to the node.
1336
+ * (b) hot-reloads every camera assigned to the node.
1337
+ * There is no per-camera model to clear (D927).
1330
1338
  *
1331
1339
  * Returns the EFFECTIVE post-reset object-detection model for the node
1332
- * (the executor's pure hardware-aware default) so the UI can report what
1333
- * will actually run — not a value that never reaches the live path.
1340
+ * (the format default of the accelerator hosting the camera root) so the
1341
+ * UI can report what will actually run.
1334
1342
  */
1335
1343
  readonly resetNodePipelineDefaults: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
1336
1344
  agentNodeId: z.ZodString;
1337
1345
  }, z.core.$strip>, z.ZodObject<{
1338
1346
  success: z.ZodLiteral<true>;
1339
1347
  effectiveModelId: z.ZodNullable<z.ZodString>;
1340
- clearedCameraOverrides: z.ZodNumber;
1341
1348
  }, z.core.$strip>, "mutation">;
1342
1349
  /**
1343
1350
  * Auto tune (D745, D755) — DRY RUN. Recommends ONE detector family
@@ -1346,8 +1353,8 @@ export declare const pipelineOrchestratorCapability: {
1346
1353
  * that sustains at least `minSessionsPerDevice` parallel sessions at the
1347
1354
  * camera rate with the headroom kept free (no load input), and lists every write
1348
1355
  * the apply would make: the node model pins set, the enrichment pins and
1349
- * model-bound thresholds removed (node level and per camera), and the
1350
- * per-camera detector thresholds cleared. Writes nothing. Step
1356
+ * model-bound thresholds removed — all on the accelerators, the only
1357
+ * layer that carries a model (D927). Writes nothing. Step
1351
1358
  * enablement, device enablement, pins, recording, notifications, zones and
1352
1359
  * rules are never part of it. `planHash` names exactly this diff.
1353
1360
  */
@@ -1400,7 +1407,25 @@ export declare const pipelineOrchestratorCapability: {
1400
1407
  kind: z.ZodLiteral<"node-benchmark">;
1401
1408
  resultId: z.ZodString;
1402
1409
  measuredAtMs: z.ZodNumber;
1410
+ }, z.core.$strip>, z.ZodObject<{
1411
+ kind: z.ZodLiteral<"estimated">;
1412
+ estimatedFrom: z.ZodEnum<{
1413
+ "amd-phoenix": "amd-phoenix";
1414
+ "apple-m-base": "apple-m-base";
1415
+ "apple-m-pro": "apple-m-pro";
1416
+ "intel-core-ultra": "intel-core-ultra";
1417
+ "intel-n-series": "intel-n-series";
1418
+ unknown: "unknown";
1419
+ }>;
1403
1420
  }, z.core.$strip>], "kind">>;
1421
+ estimatedFrom: z.ZodOptional<z.ZodEnum<{
1422
+ "amd-phoenix": "amd-phoenix";
1423
+ "apple-m-base": "apple-m-base";
1424
+ "apple-m-pro": "apple-m-pro";
1425
+ "intel-core-ultra": "intel-core-ultra";
1426
+ "intel-n-series": "intel-n-series";
1427
+ unknown: "unknown";
1428
+ }>>;
1404
1429
  capacitySessions: z.ZodNumber;
1405
1430
  personRecall: z.ZodNumber;
1406
1431
  }, z.core.$strip>>;
@@ -1533,33 +1558,10 @@ export declare const pipelineOrchestratorCapability: {
1533
1558
  keys: z.ZodReadonly<z.ZodArray<z.ZodString>>;
1534
1559
  }, z.core.$strip>>>;
1535
1560
  }, z.core.$strip>>>;
1536
- cameraClears: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1537
- deviceId: z.ZodNumber;
1538
- source: z.ZodEnum<{
1539
- "step-override": "step-override";
1540
- wholesale: "wholesale";
1541
- }>;
1542
- nodeId: z.ZodString;
1543
- deviceKey: z.ZodNullable<z.ZodString>;
1544
- stepId: z.ZodString;
1545
- modelIdBefore: z.ZodNullable<z.ZodString>;
1546
- keys: z.ZodReadonly<z.ZodArray<z.ZodString>>;
1547
- }, z.core.$strip>>>;
1548
- detectorStoreClears: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1549
- deviceId: z.ZodNumber;
1550
- keys: z.ZodReadonly<z.ZodArray<z.ZodString>>;
1551
- }, z.core.$strip>>>;
1552
1561
  warnings: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1553
- kind: z.ZodLiteral<"detector-store-cluster-wide">;
1554
- skippedNodes: z.ZodReadonly<z.ZodArray<z.ZodString>>;
1555
- }, z.core.$strip>, z.ZodObject<{
1556
- kind: z.ZodLiteral<"detector-store-unreadable">;
1557
- error: z.ZodString;
1558
- }, z.core.$strip>, z.ZodObject<{
1559
1562
  kind: z.ZodLiteral<"custom-pin-kept">;
1560
1563
  nodeId: z.ZodString;
1561
- deviceKey: z.ZodNullable<z.ZodString>;
1562
- deviceId: z.ZodNullable<z.ZodNumber>;
1564
+ deviceKey: z.ZodString;
1563
1565
  modelId: z.ZodString;
1564
1566
  }, z.core.$strip>, z.ZodObject<{
1565
1567
  kind: z.ZodLiteral<"custom-registry-unreadable">;
@@ -1581,8 +1583,6 @@ export declare const pipelineOrchestratorCapability: {
1581
1583
  planHash: z.ZodString;
1582
1584
  phases: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1583
1585
  phase: z.ZodEnum<{
1584
- "camera-overrides": "camera-overrides";
1585
- "detector-thresholds": "detector-thresholds";
1586
1586
  download: "download";
1587
1587
  "node-models": "node-models";
1588
1588
  redispatch: "redispatch";
@@ -1594,8 +1594,6 @@ export declare const pipelineOrchestratorCapability: {
1594
1594
  kind: z.ZodLiteral<"aborted">;
1595
1595
  phases: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1596
1596
  phase: z.ZodEnum<{
1597
- "camera-overrides": "camera-overrides";
1598
- "detector-thresholds": "detector-thresholds";
1599
1597
  download: "download";
1600
1598
  "node-models": "node-models";
1601
1599
  redispatch: "redispatch";
@@ -1651,7 +1649,25 @@ export declare const pipelineOrchestratorCapability: {
1651
1649
  kind: z.ZodLiteral<"node-benchmark">;
1652
1650
  resultId: z.ZodString;
1653
1651
  measuredAtMs: z.ZodNumber;
1652
+ }, z.core.$strip>, z.ZodObject<{
1653
+ kind: z.ZodLiteral<"estimated">;
1654
+ estimatedFrom: z.ZodEnum<{
1655
+ "amd-phoenix": "amd-phoenix";
1656
+ "apple-m-base": "apple-m-base";
1657
+ "apple-m-pro": "apple-m-pro";
1658
+ "intel-core-ultra": "intel-core-ultra";
1659
+ "intel-n-series": "intel-n-series";
1660
+ unknown: "unknown";
1661
+ }>;
1654
1662
  }, z.core.$strip>], "kind">>;
1663
+ estimatedFrom: z.ZodOptional<z.ZodEnum<{
1664
+ "amd-phoenix": "amd-phoenix";
1665
+ "apple-m-base": "apple-m-base";
1666
+ "apple-m-pro": "apple-m-pro";
1667
+ "intel-core-ultra": "intel-core-ultra";
1668
+ "intel-n-series": "intel-n-series";
1669
+ unknown: "unknown";
1670
+ }>>;
1655
1671
  capacitySessions: z.ZodNumber;
1656
1672
  personRecall: z.ZodNumber;
1657
1673
  }, z.core.$strip>>;
@@ -1784,33 +1800,10 @@ export declare const pipelineOrchestratorCapability: {
1784
1800
  keys: z.ZodReadonly<z.ZodArray<z.ZodString>>;
1785
1801
  }, z.core.$strip>>>;
1786
1802
  }, z.core.$strip>>>;
1787
- cameraClears: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1788
- deviceId: z.ZodNumber;
1789
- source: z.ZodEnum<{
1790
- "step-override": "step-override";
1791
- wholesale: "wholesale";
1792
- }>;
1793
- nodeId: z.ZodString;
1794
- deviceKey: z.ZodNullable<z.ZodString>;
1795
- stepId: z.ZodString;
1796
- modelIdBefore: z.ZodNullable<z.ZodString>;
1797
- keys: z.ZodReadonly<z.ZodArray<z.ZodString>>;
1798
- }, z.core.$strip>>>;
1799
- detectorStoreClears: z.ZodReadonly<z.ZodArray<z.ZodObject<{
1800
- deviceId: z.ZodNumber;
1801
- keys: z.ZodReadonly<z.ZodArray<z.ZodString>>;
1802
- }, z.core.$strip>>>;
1803
1803
  warnings: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1804
- kind: z.ZodLiteral<"detector-store-cluster-wide">;
1805
- skippedNodes: z.ZodReadonly<z.ZodArray<z.ZodString>>;
1806
- }, z.core.$strip>, z.ZodObject<{
1807
- kind: z.ZodLiteral<"detector-store-unreadable">;
1808
- error: z.ZodString;
1809
- }, z.core.$strip>, z.ZodObject<{
1810
1804
  kind: z.ZodLiteral<"custom-pin-kept">;
1811
1805
  nodeId: z.ZodString;
1812
- deviceKey: z.ZodNullable<z.ZodString>;
1813
- deviceId: z.ZodNullable<z.ZodNumber>;
1806
+ deviceKey: z.ZodString;
1814
1807
  modelId: z.ZodString;
1815
1808
  }, z.core.$strip>, z.ZodObject<{
1816
1809
  kind: z.ZodLiteral<"custom-registry-unreadable">;
@@ -2317,17 +2310,6 @@ export declare const pipelineOrchestratorCapability: {
2317
2310
  }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
2318
2311
  stepToggles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2319
2312
  stepSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
2320
- stepOverridesByDevice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
2321
- modelId: z.ZodOptional<z.ZodString>;
2322
- settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2323
- }, z.core.$strip>>>>>;
2324
- pipelineByAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2325
- steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
2326
- audio: z.ZodNullable<z.ZodObject<{
2327
- modelId: z.ZodString;
2328
- enabled: z.ZodBoolean;
2329
- }, z.core.$strip>>;
2330
- }, z.core.$strip>>>;
2331
2313
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
2332
2314
  /** Set or clear the 3-state toggle for one (camera, addonId). Pass `enabled: null` to clear and revert to agent default. */
2333
2315
  readonly setCameraStepToggle: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
@@ -2379,38 +2361,14 @@ export declare const pipelineOrchestratorCapability: {
2379
2361
  }, z.core.$strip>, z.ZodObject<{
2380
2362
  success: z.ZodLiteral<true>;
2381
2363
  }, z.core.$strip>, "mutation">;
2382
- /** Read every per-(node,device) override map for a device. Null when device has no overrides. */
2383
- readonly getCameraStepOverrides: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2384
- deviceId: z.ZodNumber;
2385
- }, z.core.$strip>, z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
2386
- modelId: z.ZodOptional<z.ZodString>;
2387
- settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2388
- }, z.core.$strip>>>>>, import("./capability-definition.js").CapabilityMethodKind>;
2389
2364
  /**
2390
- * Write or clear the per-(camera,node,device) override for one addonId.
2391
- * `patch: null` clears the entry entirely for that (node, deviceKey, addon)
2392
- * triple (empty parents are pruned). Model/settings only — enablement is
2393
- * the per-camera `stepToggles` authority.
2394
- */
2395
- readonly setCameraStepOverride: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2396
- deviceId: z.ZodNumber;
2397
- agentNodeId: z.ZodString;
2398
- deviceKey: z.ZodString;
2399
- addonId: z.ZodString;
2400
- patch: z.ZodNullable<z.ZodObject<{
2401
- modelId: z.ZodOptional<z.ZodString>;
2402
- settings: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2403
- }, z.core.$strip>>;
2404
- }, z.core.$strip>, z.ZodObject<{
2405
- success: z.ZodLiteral<true>;
2406
- }, z.core.$strip>, "mutation">;
2407
- /**
2408
- * Write or clear one step's CAMERA-WIDE settings (D754) — the fields this
2409
- * camera overrides on every accelerator it runs on. `settings` is the
2410
- * whole field-level bag for that step (only the overridden keys; a
2411
- * model-bound field travels with its binding key); `null` or `{}` clears
2412
- * it. Merged at dispatch between the node base and the per-(node,device)
2413
- * override, key by key.
2365
+ * Write or clear one step's CAMERA-WIDE settings (D754) — the
2366
+ * camera-semantic fields this camera overrides on every accelerator it
2367
+ * runs on. `settings` is the whole field-level bag for that step (only the
2368
+ * overridden keys); `null` or `{}` clears it. Merged at dispatch over the
2369
+ * node base, key by key. REFUSES a model-scoped key — a model id, a model
2370
+ * binding or a `minConfidence*` floor (D927): those belong to the
2371
+ * accelerator that runs the model.
2414
2372
  */
2415
2373
  readonly setCameraStepSettings: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2416
2374
  deviceId: z.ZodNumber;
@@ -2419,20 +2377,6 @@ export declare const pipelineOrchestratorCapability: {
2419
2377
  }, z.core.$strip>, z.ZodObject<{
2420
2378
  success: z.ZodLiteral<true>;
2421
2379
  }, z.core.$strip>, "mutation">;
2422
- /** Write or clear the wholesale per-agent pipeline override. Pass `pipeline: null` to drop the override. */
2423
- readonly setCameraPipelineForAgent: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2424
- deviceId: z.ZodNumber;
2425
- agentNodeId: z.ZodString;
2426
- pipeline: z.ZodNullable<z.ZodObject<{
2427
- steps: z.ZodReadonly<z.ZodArray<z.ZodType<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown, z.core.$ZodTypeInternals<import("./pipeline-executor.cap.js").PipelineStepInputOutput, unknown>>>>;
2428
- audio: z.ZodNullable<z.ZodObject<{
2429
- modelId: z.ZodString;
2430
- enabled: z.ZodBoolean;
2431
- }, z.core.$strip>>;
2432
- }, z.core.$strip>>;
2433
- }, z.core.$strip>, z.ZodObject<{
2434
- success: z.ZodLiteral<true>;
2435
- }, z.core.$strip>, "mutation">;
2436
2380
  /** Resolve the effective pipeline for `(deviceId, agentNodeId?)` — walks the full precedence chain. Read-only preview used by the UI to show what will run. */
2437
2381
  readonly resolvePipeline: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
2438
2382
  deviceId: z.ZodNumber;
@@ -3163,4 +3107,4 @@ export type IngestOwner = z.infer<typeof IngestOwnerSchema>;
3163
3107
  export type NodeInferenceDevice = z.infer<typeof NodeInferenceDeviceSchema>;
3164
3108
  export type NodeInferenceDevices = z.infer<typeof NodeInferenceDevicesSchema>;
3165
3109
  export type InferenceDeviceExclusionReason = z.infer<typeof InferenceDeviceExclusionReasonSchema>;
3166
- export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraPipelineConfigSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStepOverridePatchSchema, CapabilityBindingsSchema, DiskReconcileJobSchema, GlobalMetricsSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, PipelineAssignmentSchema, };
3110
+ export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraPipelineConfigSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CapabilityBindingsSchema, DiskReconcileJobSchema, GlobalMetricsSchema, INFERENCE_DEVICE_EXCLUSION_REASONS, InferenceDeviceExclusionReasonSchema, IngestOwnerSchema, PipelineAssignmentSchema, };
@@ -223,6 +223,23 @@ export declare const platformProbeCapability: {
223
223
  }>;
224
224
  }, z.core.$strip>>>>;
225
225
  }, z.core.$strip>>>;
226
+ accelerators: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
227
+ deviceKey: z.ZodString;
228
+ fullDeviceName: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | null, string | null>>;
229
+ executionUnits: z.ZodPipe<z.ZodNullable<z.ZodNumber>, z.ZodTransform<number | null, number | null>>;
230
+ clockMHz: z.ZodPipe<z.ZodNullable<z.ZodNumber>, z.ZodTransform<number | null, number | null>>;
231
+ gops: z.ZodNullable<z.ZodObject<{
232
+ int8: z.ZodPipe<z.ZodNullable<z.ZodNumber>, z.ZodTransform<number | null, number | null>>;
233
+ fp16: z.ZodPipe<z.ZodNullable<z.ZodNumber>, z.ZodTransform<number | null, number | null>>;
234
+ }, z.core.$strip>>;
235
+ architecture: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | null, string | null>>;
236
+ npuName: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | null, string | null>>;
237
+ tops: z.ZodPipe<z.ZodNullable<z.ZodNumber>, z.ZodTransform<number | null, number | null>>;
238
+ vendor: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | null, string | null>>;
239
+ webgpuArchitecture: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | null, string | null>>;
240
+ webgpuDevice: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | null, string | null>>;
241
+ computeUnits: z.ZodPipe<z.ZodNullable<z.ZodNumber>, z.ZodTransform<number | null, number | null>>;
242
+ }, z.core.$strip>>>>;
226
243
  }, z.core.$strip>;
227
244
  scores: z.ZodReadonly<z.ZodArray<z.ZodObject<{
228
245
  runtime: z.ZodLiteral<"python">;
@@ -327,6 +344,23 @@ export declare const platformProbeCapability: {
327
344
  }>;
328
345
  }, z.core.$strip>>>>;
329
346
  }, z.core.$strip>>>;
347
+ accelerators: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
348
+ deviceKey: z.ZodString;
349
+ fullDeviceName: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | null, string | null>>;
350
+ executionUnits: z.ZodPipe<z.ZodNullable<z.ZodNumber>, z.ZodTransform<number | null, number | null>>;
351
+ clockMHz: z.ZodPipe<z.ZodNullable<z.ZodNumber>, z.ZodTransform<number | null, number | null>>;
352
+ gops: z.ZodNullable<z.ZodObject<{
353
+ int8: z.ZodPipe<z.ZodNullable<z.ZodNumber>, z.ZodTransform<number | null, number | null>>;
354
+ fp16: z.ZodPipe<z.ZodNullable<z.ZodNumber>, z.ZodTransform<number | null, number | null>>;
355
+ }, z.core.$strip>>;
356
+ architecture: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | null, string | null>>;
357
+ npuName: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | null, string | null>>;
358
+ tops: z.ZodPipe<z.ZodNullable<z.ZodNumber>, z.ZodTransform<number | null, number | null>>;
359
+ vendor: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | null, string | null>>;
360
+ webgpuArchitecture: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | null, string | null>>;
361
+ webgpuDevice: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string | null, string | null>>;
362
+ computeUnits: z.ZodPipe<z.ZodNullable<z.ZodNumber>, z.ZodTransform<number | null, number | null>>;
363
+ }, z.core.$strip>>>>;
330
364
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
331
365
  readonly resolveInferenceConfig: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
332
366
  requirements: z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * What the vision model must answer before a package event is emitted
4
+ * when a packages rule has "Confirm with the LLM" on.
5
+ *
6
+ * `package` is the verdict. `confidence` is 0..1. `reason` is the model's
7
+ * one-line explanation, stored on the event so a drop is not silent.
8
+ */
9
+ export declare const PackageLlmVerdictSchema: z.ZodObject<{
10
+ package: z.ZodBoolean;
11
+ confidence: z.ZodNumber;
12
+ reason: z.ZodString;
13
+ }, z.core.$strip>;
14
+ export type PackageLlmVerdict = z.infer<typeof PackageLlmVerdictSchema>;