@camstack/types 1.2.321 → 1.2.323

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 (43) hide show
  1. package/dist/addon.js +3 -14
  2. package/dist/addon.mjs +3 -14
  3. package/dist/capabilities/decoder.cap.d.ts +0 -211
  4. package/dist/capabilities/index.d.ts +8 -8
  5. package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
  6. package/dist/capabilities/llm.cap.d.ts +4 -4
  7. package/dist/capabilities/local-network.cap.d.ts +11 -11
  8. package/dist/capabilities/metrics-provider.cap.d.ts +2 -2
  9. package/dist/capabilities/pipeline-executor.cap.d.ts +1 -112
  10. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +18 -303
  11. package/dist/capabilities/pipeline-runner.cap.d.ts +0 -2
  12. package/dist/capabilities/schemas/streaming-shared.d.ts +9 -79
  13. package/dist/capabilities/stream-broker.cap.d.ts +0 -85
  14. package/dist/capabilities/webrtc-session.cap.d.ts +0 -2
  15. package/dist/client.js +3 -89
  16. package/dist/client.mjs +3 -89
  17. package/dist/enums/event-category.d.ts +0 -9
  18. package/dist/enums.js +1 -1
  19. package/dist/enums.mjs +1 -1
  20. package/dist/{event-category-BGmz_oxW.mjs → event-category-B_0XEcLF.mjs} +0 -9
  21. package/dist/{event-category-DmS_tLsU.js → event-category-CtBAl88K.js} +0 -9
  22. package/dist/ffmpeg/hwaccel.d.ts +1 -1
  23. package/dist/generated/addon-api.d.ts +0 -161
  24. package/dist/generated/cap-input-defaults.d.ts +1 -1
  25. package/dist/generated/method-access-map.d.ts +1 -1
  26. package/dist/generated/method-device-selectors.d.ts +2 -2
  27. package/dist/generated/system-proxy.d.ts +4 -4
  28. package/dist/index.d.ts +2 -3
  29. package/dist/index.js +33 -425
  30. package/dist/index.mjs +34 -416
  31. package/dist/interfaces/api-responses.d.ts +0 -19
  32. package/dist/interfaces/capability.d.ts +1 -2
  33. package/dist/interfaces/event-bus.d.ts +0 -13
  34. package/dist/interfaces/pipeline-executor-capability.d.ts +1 -15
  35. package/dist/interfaces/pipeline-runner-capability.d.ts +0 -1
  36. package/dist/interfaces/stream-broker.d.ts +2 -67
  37. package/dist/{sleep-DAJ9Er57.mjs → sleep-BNeXenvr.mjs} +11 -86
  38. package/dist/{sleep-AalHiRYL.js → sleep-DPar9AHl.js} +10 -115
  39. package/dist/types/camera-pipeline.d.ts +3 -20
  40. package/dist/types/detection.d.ts +1 -1
  41. package/dist/types/pipeline-schema.d.ts +1 -8
  42. package/package.json +1 -1
  43. package/dist/interfaces/decoder.d.ts +0 -89
@@ -499,15 +499,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
499
499
  EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
500
500
  EventCategory["AgentBackupActivated"] = "agent.backup.activated";
501
501
  EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
502
- /**
503
- * Per-agent hwaccel preference changed (user override set, cleared, or
504
- * re-probed). Observability event — decoders pull the current pref at
505
- * `createSession`, so running sessions keep their current backend until
506
- * they rotate naturally (camera add/remove, stream restart). Future
507
- * work can wire a listener in stream-broker that force-rotates live
508
- * sessions; for now this event powers logs + admin-UI toast feedback.
509
- */
510
- EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
511
502
  EventCategory["MotionAnalysis"] = "detection.motion-analysis";
512
503
  /** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
513
504
  EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * - the raw kernel resolver (`ctx.kernel.hwaccel.resolve()`) returns
11
11
  * `['qsv','vaapi']` for an Intel host — qsv FIRST;
12
- * - `addon-decoder-ffmpeg`'s `DECODE_HWACCEL_RANK` puts **vaapi above qsv on
12
+ * - the decoder addon's `DECODE_HWACCEL_RANK` (`addon-decoder-nodeav`) puts **vaapi above qsv on
13
13
  * purpose**, because on this exact hub a qsv decode child exits `code=171`
14
14
  * producing no frames, while vaapi decodes 8 MP h264 at ~50 fps.
15
15
  *
@@ -1959,13 +1959,6 @@ export type AppRouter = TrpcCoreRouter<{
1959
1959
  errorShape: AugmentedErrorShape;
1960
1960
  transformer: true;
1961
1961
  }, TRPCDecorateCreateRouterOptions<{
1962
- supportsCodec: TRPCQueryProcedure<{
1963
- input: {
1964
- [x: string]: unknown;
1965
- } & z.input<typeof decoderCapability.methods.supportsCodec.input>;
1966
- output: z.infer<typeof decoderCapability.methods.supportsCodec.output>;
1967
- meta: object;
1968
- }>;
1969
1962
  getInfo: TRPCQueryProcedure<{
1970
1963
  input: {
1971
1964
  nodeId?: string | undefined;
@@ -1973,83 +1966,6 @@ export type AppRouter = TrpcCoreRouter<{
1973
1966
  output: z.infer<typeof decoderCapability.methods.getInfo.output>;
1974
1967
  meta: object;
1975
1968
  }>;
1976
- createSession: TRPCQueryProcedure<{
1977
- input: {
1978
- [x: string]: unknown;
1979
- } & z.input<typeof decoderCapability.methods.createSession.input>;
1980
- output: z.infer<typeof decoderCapability.methods.createSession.output>;
1981
- meta: object;
1982
- }>;
1983
- destroySession: TRPCQueryProcedure<{
1984
- input: {
1985
- [x: string]: unknown;
1986
- } & z.input<typeof decoderCapability.methods.destroySession.input>;
1987
- output: z.infer<typeof decoderCapability.methods.destroySession.output>;
1988
- meta: object;
1989
- }>;
1990
- pushPacket: TRPCQueryProcedure<{
1991
- input: {
1992
- [x: string]: unknown;
1993
- } & z.input<typeof decoderCapability.methods.pushPacket.input>;
1994
- output: z.infer<typeof decoderCapability.methods.pushPacket.output>;
1995
- meta: object;
1996
- }>;
1997
- openStream: TRPCQueryProcedure<{
1998
- input: {
1999
- [x: string]: unknown;
2000
- } & z.input<typeof decoderCapability.methods.openStream.input>;
2001
- output: z.infer<typeof decoderCapability.methods.openStream.output>;
2002
- meta: object;
2003
- }>;
2004
- pullFrames: TRPCQueryProcedure<{
2005
- input: {
2006
- [x: string]: unknown;
2007
- } & z.input<typeof decoderCapability.methods.pullFrames.input>;
2008
- output: z.infer<typeof decoderCapability.methods.pullFrames.output>;
2009
- meta: object;
2010
- }>;
2011
- pullHandles: TRPCQueryProcedure<{
2012
- input: {
2013
- [x: string]: unknown;
2014
- } & z.input<typeof decoderCapability.methods.pullHandles.input>;
2015
- output: z.infer<typeof decoderCapability.methods.pullHandles.output>;
2016
- meta: object;
2017
- }>;
2018
- getFrame: TRPCQueryProcedure<{
2019
- input: {
2020
- [x: string]: unknown;
2021
- } & z.input<typeof decoderCapability.methods.getFrame.input>;
2022
- output: z.infer<typeof decoderCapability.methods.getFrame.output>;
2023
- meta: object;
2024
- }>;
2025
- getShmStats: TRPCQueryProcedure<{
2026
- input: {
2027
- [x: string]: unknown;
2028
- } & z.input<typeof decoderCapability.methods.getShmStats.input>;
2029
- output: z.infer<typeof decoderCapability.methods.getShmStats.output>;
2030
- meta: object;
2031
- }>;
2032
- updateConfig: TRPCQueryProcedure<{
2033
- input: {
2034
- [x: string]: unknown;
2035
- } & z.input<typeof decoderCapability.methods.updateConfig.input>;
2036
- output: z.infer<typeof decoderCapability.methods.updateConfig.output>;
2037
- meta: object;
2038
- }>;
2039
- getStats: TRPCQueryProcedure<{
2040
- input: {
2041
- [x: string]: unknown;
2042
- } & z.input<typeof decoderCapability.methods.getStats.input>;
2043
- output: z.infer<typeof decoderCapability.methods.getStats.output>;
2044
- meta: object;
2045
- }>;
2046
- listActiveSessions: TRPCQueryProcedure<{
2047
- input: {
2048
- nodeId?: string | undefined;
2049
- } | undefined;
2050
- output: z.infer<typeof decoderCapability.methods.listActiveSessions.output>;
2051
- meta: object;
2052
- }>;
2053
1969
  reprobeHwaccel: TRPCMutationProcedure<{
2054
1970
  input: {
2055
1971
  nodeId?: string | undefined;
@@ -6175,34 +6091,6 @@ export type AppRouter = TrpcCoreRouter<{
6175
6091
  output: z.infer<typeof pipelineExecutorCapability.methods.validatePipeline.output>;
6176
6092
  meta: object;
6177
6093
  }>;
6178
- listTemplates: TRPCQueryProcedure<{
6179
- input: {
6180
- nodeId?: string | undefined;
6181
- } | undefined;
6182
- output: z.infer<typeof pipelineExecutorCapability.methods.listTemplates.output>;
6183
- meta: object;
6184
- }>;
6185
- saveTemplate: TRPCMutationProcedure<{
6186
- input: {
6187
- [x: string]: unknown;
6188
- } & z.input<typeof pipelineExecutorCapability.methods.saveTemplate.input>;
6189
- output: z.infer<typeof pipelineExecutorCapability.methods.saveTemplate.output>;
6190
- meta: object;
6191
- }>;
6192
- updateTemplate: TRPCMutationProcedure<{
6193
- input: {
6194
- [x: string]: unknown;
6195
- } & z.input<typeof pipelineExecutorCapability.methods.updateTemplate.input>;
6196
- output: z.infer<typeof pipelineExecutorCapability.methods.updateTemplate.output>;
6197
- meta: object;
6198
- }>;
6199
- deleteTemplate: TRPCMutationProcedure<{
6200
- input: {
6201
- [x: string]: unknown;
6202
- } & z.input<typeof pipelineExecutorCapability.methods.deleteTemplate.input>;
6203
- output: z.infer<typeof pipelineExecutorCapability.methods.deleteTemplate.output>;
6204
- meta: object;
6205
- }>;
6206
6094
  getCapabilities: TRPCQueryProcedure<{
6207
6095
  input: {
6208
6096
  nodeId?: string | undefined;
@@ -6742,34 +6630,6 @@ export type AppRouter = TrpcCoreRouter<{
6742
6630
  output: z.infer<typeof pipelineOrchestratorCapability.methods.getReconcileFromDiskStatus.output>;
6743
6631
  meta: object;
6744
6632
  }>;
6745
- listTemplates: TRPCQueryProcedure<{
6746
- input: {
6747
- nodeId?: string | undefined;
6748
- } | undefined;
6749
- output: z.infer<typeof pipelineOrchestratorCapability.methods.listTemplates.output>;
6750
- meta: object;
6751
- }>;
6752
- saveTemplate: TRPCMutationProcedure<{
6753
- input: {
6754
- [x: string]: unknown;
6755
- } & z.input<typeof pipelineOrchestratorCapability.methods.saveTemplate.input>;
6756
- output: z.infer<typeof pipelineOrchestratorCapability.methods.saveTemplate.output>;
6757
- meta: object;
6758
- }>;
6759
- updateTemplate: TRPCMutationProcedure<{
6760
- input: {
6761
- [x: string]: unknown;
6762
- } & z.input<typeof pipelineOrchestratorCapability.methods.updateTemplate.input>;
6763
- output: z.infer<typeof pipelineOrchestratorCapability.methods.updateTemplate.output>;
6764
- meta: object;
6765
- }>;
6766
- deleteTemplate: TRPCMutationProcedure<{
6767
- input: {
6768
- [x: string]: unknown;
6769
- } & z.input<typeof pipelineOrchestratorCapability.methods.deleteTemplate.input>;
6770
- output: z.infer<typeof pipelineOrchestratorCapability.methods.deleteTemplate.output>;
6771
- meta: object;
6772
- }>;
6773
6633
  }>>;
6774
6634
  pipelineRunner: TRPCBuiltRouter<{
6775
6635
  ctx: TrpcContext;
@@ -8664,27 +8524,6 @@ export type AppRouter = TrpcCoreRouter<{
8664
8524
  output: z.infer<typeof streamBrokerCapability.methods.unsubscribeAudioChunks.output>;
8665
8525
  meta: object;
8666
8526
  }>;
8667
- subscribeFrames: TRPCMutationProcedure<{
8668
- input: {
8669
- [x: string]: unknown;
8670
- } & z.input<typeof streamBrokerCapability.methods.subscribeFrames.input>;
8671
- output: z.infer<typeof streamBrokerCapability.methods.subscribeFrames.output>;
8672
- meta: object;
8673
- }>;
8674
- pullFrameHandles: TRPCQueryProcedure<{
8675
- input: {
8676
- [x: string]: unknown;
8677
- } & z.input<typeof streamBrokerCapability.methods.pullFrameHandles.input>;
8678
- output: z.infer<typeof streamBrokerCapability.methods.pullFrameHandles.output>;
8679
- meta: object;
8680
- }>;
8681
- unsubscribeFrames: TRPCMutationProcedure<{
8682
- input: {
8683
- [x: string]: unknown;
8684
- } & z.input<typeof streamBrokerCapability.methods.unsubscribeFrames.input>;
8685
- output: z.infer<typeof streamBrokerCapability.methods.unsubscribeFrames.output>;
8686
- meta: object;
8687
- }>;
8688
8527
  setPreBufferDuration: TRPCMutationProcedure<{
8689
8528
  input: {
8690
8529
  [x: string]: unknown;
@@ -11,7 +11,7 @@
11
11
  * Plain data, zero Zod: a forked runner must not import the schema barrel
12
12
  * (~144MB RSS per runner — D28).
13
13
  *
14
- * Coverage: 25 caps, 63 methods with defaults.
14
+ * Coverage: 24 caps, 59 methods with defaults.
15
15
  */
16
16
  export declare const CAP_INPUT_DEFAULTS: Readonly<Record<string, Readonly<Record<string, Readonly<Record<string, unknown>>>>>>;
17
17
  /**
@@ -6,7 +6,7 @@
6
6
  * scope+access check inside `protectedProcedure` (see
7
7
  * `server/backend/src/api/trpc/trpc.middleware.ts`).
8
8
  *
9
- * Coverage: 1235 method paths across 165 capabilities.
9
+ * Coverage: 1212 method paths across 165 capabilities.
10
10
  */
11
11
  import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
12
12
  export interface MethodAccessRecord {
@@ -6,8 +6,8 @@
6
6
  * system-scope cap that takes a deviceId was previously never device-filtered
7
7
  * — see the generator header).
8
8
  *
9
- * Coverage: 512 methods carry a device reference, of which
10
- * 162 are on SYSTEM-scope caps.
9
+ * Coverage: 511 methods carry a device reference, of which
10
+ * 161 are on SYSTEM-scope caps.
11
11
  *
12
12
  * Top-level fields, number arrays, and one-level arrays of objects carrying
13
13
  * a numeric device field (targets[].deviceId) are all mapped; the matcher
@@ -68,7 +68,7 @@ export interface SystemProxy {
68
68
  readonly calendars: Pick<InferProvider<typeof calendarsCapability>, 'listCalendars' | 'listEvents' | 'getPreferences' | 'setCalendarPreference'>;
69
69
  readonly connectionTest: Pick<InferProvider<typeof connectionTestCapability>, 'testSettings' | 'describeTest'>;
70
70
  readonly coreBlocks: Pick<InferProvider<typeof coreBlocksCapability>, 'list' | 'get' | 'create' | 'update' | 'delete' | 'setEnabled' | 'restart' | 'compile' | 'getBlockSettings' | 'updateBlockSettings' | 'getTypeDefs' | 'createComposition' | 'updateComposition' | 'getComposition' | 'listCompositions' | 'getCustomization' | 'listComposableCaps' | 'validateComposition'>;
71
- readonly decoder: Pick<InferProvider<typeof decoderCapability>, 'supportsCodec' | 'getInfo' | 'createSession' | 'destroySession' | 'pushPacket' | 'openStream' | 'pullFrames' | 'pullHandles' | 'getFrame' | 'getShmStats' | 'updateConfig' | 'getStats' | 'listActiveSessions' | 'reprobeHwaccel'>;
71
+ readonly decoder: Pick<InferProvider<typeof decoderCapability>, 'getInfo' | 'reprobeHwaccel'>;
72
72
  readonly deviceAdoption: Pick<InferProvider<typeof deviceAdoptionCapability>, 'listCandidateFilters' | 'listCandidates' | 'getCandidate' | 'refresh' | 'adopt' | 'release' | 'resync'>;
73
73
  readonly deviceExport: Pick<InferProvider<typeof deviceExportCapability>, 'getStatus' | 'listSupportedDeviceKinds' | 'listExposedDevices' | 'exposeDevice' | 'unexposeDevice'>;
74
74
  readonly deviceManager: Pick<InferProvider<typeof deviceManagerCapability>, 'allocateDeviceId' | 'migrateDevice' | 'registerDevice' | 'removeDevice' | 'persistConfig' | 'getRoleDisplayDefaults' | 'setRoleDisplayDefaults' | 'listLocations' | 'addLocation' | 'removeLocation' | 'renameLocation' | 'listLocationIcons' | 'setLocationIcon' | 'listLocationDescriptions' | 'setLocationDescription' | 'listSiteZones' | 'setSiteZone' | 'removeSiteZone' | 'renameSiteZone' | 'setLocationZone' | 'listPersistedByAddon' | 'listAll' | 'getChildren' | 'getChildrenBatch' | 'getLinkedDevicesBatch' | 'removeByIntegration' | 'getBindingsBatch' | 'getAllBindings' | 'listDeviceIdsByCaps' | 'listWrappersForCap' | 'listBindableCapsForDeviceType' | 'discoverDevices' | 'adoptDevice' | 'getCreationSchema' | 'createDevice' | 'testCreationField' | 'adoptionListCandidateFilters' | 'adoptionListCandidates' | 'adoptionRefresh' | 'adoptionAdopt' | 'adoptionRelease' | 'adoptionStartJob' | 'adoptionListJobs' | 'adoptionCancelJob' | 'adoptionResync' | 'discoveryProviders' | 'discoverAllProviders' | 'discoverProvider' | 'providerCreationType' | 'providerDiscoveryParamsSchema' | 'getDeviceStatusAggregateBatch'>;
@@ -87,8 +87,8 @@ export interface SystemProxy {
87
87
  readonly notificationOutput: Pick<InferProvider<typeof notificationOutputCapability>, 'listTargetKinds' | 'listTargets' | 'getTarget' | 'discoverTargets' | 'probeTargetConfig' | 'send' | 'testTarget' | 'upsertTarget' | 'deleteTarget' | 'setTargetEnabled'>;
88
88
  readonly notificationRules: Pick<InferProvider<typeof notificationRulesCapability>, 'listRules' | 'getRule' | 'createRule' | 'updateRule' | 'deleteRule' | 'setRuleEnabled' | 'listSequences' | 'getSequence' | 'createSequence' | 'updateSequence' | 'deleteSequence' | 'getClipRetentionAsks' | 'listDeviceMutes' | 'testRule' | 'previewStateSummary' | 'getConditionCatalog' | 'getTemplateCatalog' | 'previewTemplate' | 'getHistory' | 'getRuleLastRuns' | 'resolveArtifactUrl' | 'listSnoozes' | 'createSnooze' | 'cancelSnooze' | 'getAlarmConfig' | 'setAlarmConfig' | 'createAlarmProfile' | 'renameAlarmProfile' | 'deleteAlarmProfile' | 'activateAlarmProfile' | 'getAlarmSensors'>;
89
89
  readonly osdManager: Pick<InferProvider<typeof osdManagerCapability>, 'getConditionSupport' | 'copyDeviceConfiguration' | 'listTemplates' | 'upsertTemplate' | 'deleteTemplate'>;
90
- readonly pipelineExecutor: Pick<InferProvider<typeof pipelineExecutorCapability>, 'getAvailableEngines' | 'getSelectedEngine' | 'getDefaultSteps' | 'getEngineProvisioning' | 'getVideoPipelineSteps' | 'setVideoPipelineSteps' | 'clearDeviceOverrides' | 'clearModelBoundDeviceOverrides' | 'getInferenceDeviceHealth' | 'rearmInferenceDevice' | 'getSchema' | 'getGlobalSteps' | 'getGlobalPipelineConfig' | 'getOrchestratorConfigSchema' | 'validatePipeline' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate' | 'getCapabilities' | 'getAddonModels' | 'downloadModel' | 'deleteModel' | 'cacheFrameInPool' | 'inferCached' | 'uncacheFrame' | 'getEffectiveTuning' | 'listLoadedEngines' | 'spinEngine' | 'killEngine' | 'listReferenceImages' | 'getReferenceImage' | 'getReferenceAudioFiles' | 'getReferenceAudio' | 'getAudioCapabilities' | 'runAudioTest' | 'getDetectionConfigSchema'>;
91
- readonly pipelineOrchestrator: Pick<InferProvider<typeof pipelineOrchestratorCapability>, 'requestOccupancyLook' | 'pauseForStorageMigration' | 'resumeForStorageMigration' | 'rebalance' | 'getPipelineAssignments' | 'getAgentLoad' | 'getClusterModelChoice' | 'getGlobalMetrics' | 'getCapabilityBindings' | 'setCapabilityBinding' | 'getIngestOwner' | 'getAudioNodeLoad' | 'getAudioAssignments' | 'getAgentSettings' | 'listAgentSettings' | 'removeAgentSettings' | 'setAgentMaxCameras' | 'setAgentCapabilities' | 'setAgentDecodeLimits' | 'setAgentReachableHost' | 'setAgentInferenceDevices' | 'getNodeInferenceDevices' | 'resetNodePipelineDefaults' | 'planAutoTune' | 'applyAutoTune' | 'setLoadBalancingShares' | 'getPlacementStats' | 'suggestShares' | 'getEffectiveShares' | 'setShareSource' | 'getCameraStatuses' | 'setCameraSensors' | 'reconcileFromDisk' | 'getReconcileFromDiskStatus' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate'>;
90
+ readonly pipelineExecutor: Pick<InferProvider<typeof pipelineExecutorCapability>, 'getAvailableEngines' | 'getSelectedEngine' | 'getDefaultSteps' | 'getEngineProvisioning' | 'getVideoPipelineSteps' | 'setVideoPipelineSteps' | 'clearDeviceOverrides' | 'clearModelBoundDeviceOverrides' | 'getInferenceDeviceHealth' | 'rearmInferenceDevice' | 'getSchema' | 'getGlobalSteps' | 'getGlobalPipelineConfig' | 'getOrchestratorConfigSchema' | 'validatePipeline' | 'getCapabilities' | 'getAddonModels' | 'downloadModel' | 'deleteModel' | 'cacheFrameInPool' | 'inferCached' | 'uncacheFrame' | 'getEffectiveTuning' | 'listLoadedEngines' | 'spinEngine' | 'killEngine' | 'listReferenceImages' | 'getReferenceImage' | 'getReferenceAudioFiles' | 'getReferenceAudio' | 'getAudioCapabilities' | 'runAudioTest' | 'getDetectionConfigSchema'>;
91
+ readonly pipelineOrchestrator: Pick<InferProvider<typeof pipelineOrchestratorCapability>, 'requestOccupancyLook' | 'pauseForStorageMigration' | 'resumeForStorageMigration' | 'rebalance' | 'getPipelineAssignments' | 'getAgentLoad' | 'getClusterModelChoice' | 'getGlobalMetrics' | 'getCapabilityBindings' | 'setCapabilityBinding' | 'getIngestOwner' | 'getAudioNodeLoad' | 'getAudioAssignments' | 'getAgentSettings' | 'listAgentSettings' | 'removeAgentSettings' | 'setAgentMaxCameras' | 'setAgentCapabilities' | 'setAgentDecodeLimits' | 'setAgentReachableHost' | 'setAgentInferenceDevices' | 'getNodeInferenceDevices' | 'resetNodePipelineDefaults' | 'planAutoTune' | 'applyAutoTune' | 'setLoadBalancingShares' | 'getPlacementStats' | 'suggestShares' | 'getEffectiveShares' | 'setShareSource' | 'getCameraStatuses' | 'setCameraSensors' | 'reconcileFromDisk' | 'getReconcileFromDiskStatus'>;
92
92
  readonly pipelineRunner: Pick<InferProvider<typeof pipelineRunnerCapability>, 'attachCamera' | 'reportMotion' | 'getLocalLoad' | 'getLocalMetrics' | 'getAllCameraMetrics' | 'getLocalCameras' | 'getNativeCrop' | 'runStatelessStep'>;
93
93
  readonly plateGallery: Pick<InferProvider<typeof plateGalleryCapability>, 'getPlateMedia' | 'searchPlates' | 'suggestPlateClusters' | 'correctPlateText' | 'deletePlate' | 'listVehicles' | 'createVehicle' | 'renameVehicle' | 'deleteVehicle' | 'listVehicleSamples' | 'removeVehicleSample' | 'assignPlate' | 'unassignPlate' | 'assignPlates' | 'unassignPlates'>;
94
94
  readonly recordingArchive: Pick<InferProvider<typeof recordingArchiveCapability>, 'getAvailabilityBatch' | 'getDaysWithRecordingsBatch' | 'getStorageUsage' | 'listOpsLog' | 'pauseForStorageMigration' | 'resumeForStorageMigration' | 'refreshStorageLocationsForMigration' | 'startStorageMigrationMove' | 'getStorageMigrationMoveStatus' | 'cancelStorageMigrationMove' | 'relocateFootage' | 'listRelocateJobs' | 'getRelocateResidue' | 'reconcileLedgerAgainstDisk' | 'cancelRelocateJob' | 'planStorageRebalance' | 'startStorageRebalance' | 'getPlacement' | 'setDevicePlacement'>;
@@ -97,7 +97,7 @@ export interface SystemProxy {
97
97
  readonly settingsStore: Pick<InferProvider<typeof settingsStoreCapability>, 'get' | 'set' | 'query' | 'upsert' | 'insert' | 'insertMany' | 'update' | 'delete' | 'deleteWhere' | 'updateWhere' | 'count' | 'aggregate' | 'histogram' | 'isEmpty' | 'declareCollection'>;
98
98
  readonly storage: Pick<InferProvider<typeof storageCapability>, 'resolve' | 'write' | 'read' | 'exists' | 'list' | 'delete' | 'getAvailableSpace' | 'beginUpload' | 'writeChunk' | 'finalizeUpload' | 'abortUpload' | 'beginDownload' | 'readChunk' | 'endDownload' | 'listLocations' | 'listLocationDeclarations' | 'upsertLocation' | 'deleteLocation' | 'listDrainProgress' | 'testLocation' | 'listProviders' | 'testConfig'>;
99
99
  readonly storageMigration: Pick<InferProvider<typeof storageMigrationCapability>, 'plan' | 'start' | 'status' | 'cancel' | 'movers' | 'residue' | 'drain' | 'cleanupStart' | 'cleanupStatus' | 'cleanupCancel' | 'history'>;
100
- readonly streamBroker: Pick<InferProvider<typeof streamBrokerCapability>, 'fetchEventMedia' | 'listAllCameraStreams' | 'listAllProfileSlots' | 'getBrokerStats' | 'probeStream' | 'listClients' | 'killClient' | 'getStreamUrl' | 'getStreamWithCodec' | 'releaseStreamWithCodec' | 'acquireEgressTranscode' | 'releaseEgressTranscode' | 'subscribeAudioChunks' | 'pullAudioChunks' | 'unsubscribeAudioChunks' | 'subscribeFrames' | 'pullFrameHandles' | 'unsubscribeFrames' | 'setPreBufferDuration' | 'getPreBufferInfo' | 'getRtspPort' | 'getAllRtspEntries' | 'getRtspEntry' | 'regenerateRtspToken' | 'setRtspEnabled' | 'isRtspEnabled'>;
100
+ readonly streamBroker: Pick<InferProvider<typeof streamBrokerCapability>, 'fetchEventMedia' | 'listAllCameraStreams' | 'listAllProfileSlots' | 'getBrokerStats' | 'probeStream' | 'listClients' | 'killClient' | 'getStreamUrl' | 'getStreamWithCodec' | 'releaseStreamWithCodec' | 'acquireEgressTranscode' | 'releaseEgressTranscode' | 'subscribeAudioChunks' | 'pullAudioChunks' | 'unsubscribeAudioChunks' | 'setPreBufferDuration' | 'getPreBufferInfo' | 'getRtspPort' | 'getAllRtspEntries' | 'getRtspEntry' | 'regenerateRtspToken' | 'setRtspEnabled' | 'isRtspEnabled'>;
101
101
  readonly system: Pick<InferProvider<typeof systemCapability>, 'info' | 'health' | 'featureFlags' | 'networkAddresses' | 'getRetentionConfig' | 'setRetentionConfig' | 'forceRetentionCleanup' | 'getSiteLocation' | 'setSiteLocation' | 'detectSiteLocation' | 'getRequestCensus' | 'getLoadContributions' | 'getFailureContributions' | 'getLoggingSettings' | 'setLoggingSettings'>;
102
102
  readonly terminalSession: Pick<InferProvider<typeof terminalSessionCapability>, 'listProfiles' | 'listInstances' | 'createInstance' | 'updateInstance' | 'deleteInstance' | 'setInstanceEnabled' | 'listLegacyCameras' | 'adoptLegacyMonitor' | 'listSessions' | 'openSession' | 'resize' | 'pullOutput' | 'writeInput' | 'close'>;
103
103
  readonly toast: Pick<InferProvider<typeof toastCapability>, 'onToast'>;
package/dist/index.d.ts CHANGED
@@ -53,7 +53,6 @@ export type * from './interfaces/context.js';
53
53
  export * from './interfaces/birth-decision-ledger.js';
54
54
  export * from './interfaces/debug-note-archive.js';
55
55
  export * from './interfaces/track-relations.js';
56
- export type * from './interfaces/decoder.js';
57
56
  export type * from './interfaces/detection-addon.js';
58
57
  export type { DeviceEvent, DeviceMetadata, DeviceState } from './interfaces/device.js';
59
58
  export { autoAssignProfiles, classifyStream, classifyStreams, parseCameraStreamConfig, streamPixels, toStreamSourceEntry, } from './interfaces/device-capabilities/camera.js';
@@ -125,7 +124,7 @@ export * from './stream-selection.js';
125
124
  export type { AgentAddonConfig, AgentPipelineSettings, CameraPipelineSettings, CameraStepOverridePatch, DeviceStepConfig, } from './types/agent-pipeline-settings.js';
126
125
  export * from './types/analytics.js';
127
126
  export * from './types/appearance.js';
128
- export type { CameraPipelineConfig, PipelineTemplate as CameraPipelineTemplate, } from './types/camera-pipeline.js';
127
+ export type { CameraPipelineConfig } from './types/camera-pipeline.js';
129
128
  export * from './types/config.js';
130
129
  export * from './types/detection.js';
131
130
  export * from './types/overlay-layer.js';
@@ -140,7 +139,7 @@ export * from './types/model-variant-groups.js';
140
139
  export * from './types/models.js';
141
140
  export * from './types/clip-model.js';
142
141
  export * from './types/pipeline.js';
143
- export type { AvailableEngine, PipelineAddonSchema, PipelineDefaultStep, PipelineModelOption, PipelineSchema, PipelineSlotSchema, PipelineTemplate, PipelineTemplateStep, TemplateValidationResult, } from './types/pipeline-schema.js';
142
+ export type { AvailableEngine, PipelineAddonSchema, PipelineDefaultStep, PipelineModelOption, PipelineSchema, PipelineSlotSchema, } from './types/pipeline-schema.js';
144
143
  export * from './types/pipeline-step.js';
145
144
  export * from './types/tracked.js';
146
145
  export { type BearerPayloadShape, type BearerPrincipal, classifyBearerPrincipal, methodAccessForHttpMethod, type PrincipalAddonReachInput, type PrincipalAddonReachVerdict, principalMayReachAddon, scopesAllowAddon, scopesAllowDeviceCap, } from './auth/principal-scope.js';