@camstack/types 1.2.41 → 1.2.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/canonical-hash-7nfBbEqR.mjs +35 -0
- package/dist/canonical-hash-BcZHRHIx.js +40 -0
- package/dist/cap-call-context.d.ts +26 -0
- package/dist/capabilities/index.d.ts +5 -5
- package/dist/capabilities/notification-rules.cap.d.ts +41 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +92 -4
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +149 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts +119 -1
- package/dist/capabilities/platform-probe.cap.d.ts +3 -3
- package/dist/capabilities/privacy-mask.cap.d.ts +69 -9
- package/dist/capabilities/recording.cap.d.ts +30 -0
- package/dist/capabilities/snapshot.cap.d.ts +1 -1
- package/dist/capabilities/stream-broker.cap.d.ts +304 -0
- package/dist/capabilities/stream-params.cap.d.ts +8 -4
- package/dist/device/device-profile.d.ts +12 -4
- package/dist/device/system-mirror.d.ts +11 -0
- package/dist/encode-profile.d.ts +2 -0
- package/dist/ffmpeg/encode-defaults.d.ts +107 -0
- package/dist/ffmpeg/hwaccel.d.ts +98 -0
- package/dist/ffmpeg/invocation.d.ts +348 -0
- package/dist/ffmpeg/process.d.ts +135 -0
- package/dist/ffmpeg/sharing-key.d.ts +91 -0
- package/dist/generated/addon-api.d.ts +92 -4
- package/dist/generated/device-proxy.d.ts +2 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/index.d.ts +7 -0
- package/dist/index.js +2069 -42
- package/dist/index.mjs +2006 -43
- package/dist/interfaces/camera-switches.d.ts +375 -0
- package/dist/interfaces/inference-engine.d.ts +24 -3
- package/dist/interfaces/ops-log.d.ts +4 -0
- package/dist/interfaces/pipeline-runner-capability.d.ts +9 -1
- package/dist/node.d.ts +2 -0
- package/dist/node.js +270 -36
- package/dist/node.mjs +269 -36
- package/dist/pipeline/native-lease.d.ts +150 -0
- package/dist/{sleep-DTce7-ch.js → sleep-Bx9IIoT0.js} +43 -1
- package/dist/{sleep-CXimb854.mjs → sleep-DtstvzWm.mjs} +38 -2
- package/dist/utils/addon-id.d.ts +30 -0
- package/package.json +1 -1
|
@@ -4370,6 +4370,20 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
4370
4370
|
output: z.infer<typeof notificationRulesCapability.methods.setRuleEnabled.output>;
|
|
4371
4371
|
meta: object;
|
|
4372
4372
|
}>;
|
|
4373
|
+
listDeviceMutes: TRPCQueryProcedure<{
|
|
4374
|
+
input: {
|
|
4375
|
+
[x: string]: unknown;
|
|
4376
|
+
} & z.input<typeof notificationRulesCapability.methods.listDeviceMutes.input>;
|
|
4377
|
+
output: z.infer<typeof notificationRulesCapability.methods.listDeviceMutes.output>;
|
|
4378
|
+
meta: object;
|
|
4379
|
+
}>;
|
|
4380
|
+
setDeviceMuted: TRPCMutationProcedure<{
|
|
4381
|
+
input: {
|
|
4382
|
+
[x: string]: unknown;
|
|
4383
|
+
} & z.input<typeof notificationRulesCapability.methods.setDeviceMuted.input>;
|
|
4384
|
+
output: z.infer<typeof notificationRulesCapability.methods.setDeviceMuted.output>;
|
|
4385
|
+
meta: object;
|
|
4386
|
+
}>;
|
|
4373
4387
|
testRule: TRPCMutationProcedure<{
|
|
4374
4388
|
input: {
|
|
4375
4389
|
[x: string]: unknown;
|
|
@@ -4735,6 +4749,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
4735
4749
|
output: z.infer<typeof pipelineAnalyticsCapability.methods.deleteTracks.output>;
|
|
4736
4750
|
meta: object;
|
|
4737
4751
|
}>;
|
|
4752
|
+
setTrackFlags: TRPCMutationProcedure<{
|
|
4753
|
+
input: {
|
|
4754
|
+
[x: string]: unknown;
|
|
4755
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.setTrackFlags.input>;
|
|
4756
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.setTrackFlags.output>;
|
|
4757
|
+
meta: object;
|
|
4758
|
+
}>;
|
|
4738
4759
|
getEventStoreFootprint: TRPCQueryProcedure<{
|
|
4739
4760
|
input: {
|
|
4740
4761
|
[x: string]: unknown;
|
|
@@ -5358,6 +5379,20 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
5358
5379
|
output: z.infer<typeof pipelineOrchestratorCapability.methods.resolvePipeline.output>;
|
|
5359
5380
|
meta: object;
|
|
5360
5381
|
}>;
|
|
5382
|
+
getCameraSwitches: TRPCQueryProcedure<{
|
|
5383
|
+
input: {
|
|
5384
|
+
[x: string]: unknown;
|
|
5385
|
+
} & z.input<typeof pipelineOrchestratorCapability.methods.getCameraSwitches.input>;
|
|
5386
|
+
output: z.infer<typeof pipelineOrchestratorCapability.methods.getCameraSwitches.output>;
|
|
5387
|
+
meta: object;
|
|
5388
|
+
}>;
|
|
5389
|
+
setCameraSwitch: TRPCMutationProcedure<{
|
|
5390
|
+
input: {
|
|
5391
|
+
[x: string]: unknown;
|
|
5392
|
+
} & z.input<typeof pipelineOrchestratorCapability.methods.setCameraSwitch.input>;
|
|
5393
|
+
output: z.infer<typeof pipelineOrchestratorCapability.methods.setCameraSwitch.output>;
|
|
5394
|
+
meta: object;
|
|
5395
|
+
}>;
|
|
5361
5396
|
getCameraStatus: TRPCQueryProcedure<{
|
|
5362
5397
|
input: {
|
|
5363
5398
|
[x: string]: unknown;
|
|
@@ -5477,6 +5512,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
5477
5512
|
output: z.infer<typeof pipelineRunnerCapability.methods.runDetailSubtree.output>;
|
|
5478
5513
|
meta: object;
|
|
5479
5514
|
}>;
|
|
5515
|
+
runStatelessStep: TRPCMutationProcedure<{
|
|
5516
|
+
input: {
|
|
5517
|
+
[x: string]: unknown;
|
|
5518
|
+
} & z.input<typeof pipelineRunnerCapability.methods.runStatelessStep.input>;
|
|
5519
|
+
output: z.infer<typeof pipelineRunnerCapability.methods.runStatelessStep.output>;
|
|
5520
|
+
meta: object;
|
|
5521
|
+
}>;
|
|
5480
5522
|
}>>;
|
|
5481
5523
|
plateGallery: TRPCBuiltRouter<{
|
|
5482
5524
|
ctx: TrpcContext;
|
|
@@ -5704,6 +5746,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
5704
5746
|
output: z.infer<typeof privacyMaskCapability.methods.setMask.output>;
|
|
5705
5747
|
meta: object;
|
|
5706
5748
|
}>;
|
|
5749
|
+
setAudioEnabled: TRPCMutationProcedure<{
|
|
5750
|
+
input: {
|
|
5751
|
+
[x: string]: unknown;
|
|
5752
|
+
} & z.input<typeof privacyMaskCapability.methods.setAudioEnabled.input>;
|
|
5753
|
+
output: z.infer<typeof privacyMaskCapability.methods.setAudioEnabled.output>;
|
|
5754
|
+
meta: object;
|
|
5755
|
+
}>;
|
|
5707
5756
|
}>>;
|
|
5708
5757
|
ptz: TRPCBuiltRouter<{
|
|
5709
5758
|
ctx: TrpcContext;
|
|
@@ -5928,6 +5977,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
5928
5977
|
output: z.infer<typeof recordingCapability.methods.readSegmentBytes.output>;
|
|
5929
5978
|
meta: object;
|
|
5930
5979
|
}>;
|
|
5980
|
+
readGopBytes: TRPCQueryProcedure<{
|
|
5981
|
+
input: {
|
|
5982
|
+
[x: string]: unknown;
|
|
5983
|
+
} & z.input<typeof recordingCapability.methods.readGopBytes.input>;
|
|
5984
|
+
output: z.infer<typeof recordingCapability.methods.readGopBytes.output>;
|
|
5985
|
+
meta: object;
|
|
5986
|
+
}>;
|
|
5931
5987
|
setDeviceConfig: TRPCMutationProcedure<{
|
|
5932
5988
|
input: {
|
|
5933
5989
|
[x: string]: unknown;
|
|
@@ -6827,6 +6883,20 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
6827
6883
|
output: z.infer<typeof streamBrokerCapability.methods.releaseStreamWithCodec.output>;
|
|
6828
6884
|
meta: object;
|
|
6829
6885
|
}>;
|
|
6886
|
+
acquireEgressTranscode: TRPCMutationProcedure<{
|
|
6887
|
+
input: {
|
|
6888
|
+
[x: string]: unknown;
|
|
6889
|
+
} & z.input<typeof streamBrokerCapability.methods.acquireEgressTranscode.input>;
|
|
6890
|
+
output: z.infer<typeof streamBrokerCapability.methods.acquireEgressTranscode.output>;
|
|
6891
|
+
meta: object;
|
|
6892
|
+
}>;
|
|
6893
|
+
releaseEgressTranscode: TRPCMutationProcedure<{
|
|
6894
|
+
input: {
|
|
6895
|
+
[x: string]: unknown;
|
|
6896
|
+
} & z.input<typeof streamBrokerCapability.methods.releaseEgressTranscode.input>;
|
|
6897
|
+
output: z.infer<typeof streamBrokerCapability.methods.releaseEgressTranscode.output>;
|
|
6898
|
+
meta: object;
|
|
6899
|
+
}>;
|
|
6830
6900
|
subscribeAudioChunks: TRPCMutationProcedure<{
|
|
6831
6901
|
input: {
|
|
6832
6902
|
[x: string]: unknown;
|
|
@@ -8274,14 +8344,14 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
8274
8344
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
8275
8345
|
listCapabilities: import("@trpc/server").TRPCQueryProcedure<{
|
|
8276
8346
|
input: void;
|
|
8277
|
-
output: import("
|
|
8347
|
+
output: import("packages/types/dist").CapabilityInfo[];
|
|
8278
8348
|
meta: object;
|
|
8279
8349
|
}>;
|
|
8280
8350
|
getCapability: import("@trpc/server").TRPCQueryProcedure<{
|
|
8281
8351
|
input: {
|
|
8282
8352
|
name: string;
|
|
8283
8353
|
};
|
|
8284
|
-
output: import("
|
|
8354
|
+
output: import("packages/types/dist").CapabilityInfo | null;
|
|
8285
8355
|
meta: object;
|
|
8286
8356
|
}>;
|
|
8287
8357
|
setActiveSingleton: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -8353,14 +8423,14 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
8353
8423
|
}>> & import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
8354
8424
|
listCapabilities: import("@trpc/server").TRPCQueryProcedure<{
|
|
8355
8425
|
input: void;
|
|
8356
|
-
output: import("
|
|
8426
|
+
output: import("packages/types/dist").CapabilityInfo[];
|
|
8357
8427
|
meta: object;
|
|
8358
8428
|
}>;
|
|
8359
8429
|
getCapability: import("@trpc/server").TRPCQueryProcedure<{
|
|
8360
8430
|
input: {
|
|
8361
8431
|
name: string;
|
|
8362
8432
|
};
|
|
8363
|
-
output: import("
|
|
8433
|
+
output: import("packages/types/dist").CapabilityInfo | null;
|
|
8364
8434
|
meta: object;
|
|
8365
8435
|
}>;
|
|
8366
8436
|
setActiveSingleton: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -8778,6 +8848,15 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
8778
8848
|
errorShape: AugmentedErrorShape;
|
|
8779
8849
|
transformer: true;
|
|
8780
8850
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
8851
|
+
repairNodeAddons: import("@trpc/server").TRPCMutationProcedure<{
|
|
8852
|
+
input: {
|
|
8853
|
+
nodeId: string;
|
|
8854
|
+
};
|
|
8855
|
+
output: {
|
|
8856
|
+
success: boolean;
|
|
8857
|
+
};
|
|
8858
|
+
meta: object;
|
|
8859
|
+
}>;
|
|
8781
8860
|
forgetNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
8782
8861
|
input: {
|
|
8783
8862
|
nodeId: string;
|
|
@@ -8788,6 +8867,15 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
8788
8867
|
meta: object;
|
|
8789
8868
|
}>;
|
|
8790
8869
|
}>> & import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
8870
|
+
repairNodeAddons: import("@trpc/server").TRPCMutationProcedure<{
|
|
8871
|
+
input: {
|
|
8872
|
+
nodeId: string;
|
|
8873
|
+
};
|
|
8874
|
+
output: {
|
|
8875
|
+
success: boolean;
|
|
8876
|
+
};
|
|
8877
|
+
meta: object;
|
|
8878
|
+
}>;
|
|
8791
8879
|
forgetNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
8792
8880
|
input: {
|
|
8793
8881
|
nodeId: string;
|
|
@@ -273,10 +273,10 @@ export interface DeviceProxy {
|
|
|
273
273
|
readonly faceGallery: Pick<InferDeviceProxyCap<typeof faceGalleryCapability>, 'getFaceByTrack'>;
|
|
274
274
|
readonly networkQuality: Pick<InferDeviceProxyCap<typeof networkQualityCapability>, 'getDeviceStats' | 'reportClientStats'>;
|
|
275
275
|
readonly pipelineExecutor: Pick<InferDeviceProxyCap<typeof pipelineExecutorCapability>, 'runPipeline' | 'runPipelineBatch'>;
|
|
276
|
-
readonly pipelineOrchestrator: Pick<InferDeviceProxyCap<typeof pipelineOrchestratorCapability>, 'assignPipeline' | 'unassignPipeline' | 'setPipelineDevicePin' | 'getPipelineDevicePin' | 'getPipelineAssignment' | 'getCameraMetrics' | 'assignAudio' | 'unassignAudio' | 'getAudioAssignment' | 'getAudioAssignments' | 'getCameraSettings' | 'setCameraStepToggle' | 'getCameraStepOverrides' | 'setCameraStepOverride' | 'setCameraPipelineForAgent' | 'resolvePipeline' | 'getCameraStatus' | 'getDeviceSettingsContribution' | 'getDeviceLiveContribution' | 'applyDeviceSettingsPatch'>;
|
|
276
|
+
readonly pipelineOrchestrator: Pick<InferDeviceProxyCap<typeof pipelineOrchestratorCapability>, 'assignPipeline' | 'unassignPipeline' | 'setPipelineDevicePin' | 'getPipelineDevicePin' | 'getPipelineAssignment' | 'getCameraMetrics' | 'assignAudio' | 'unassignAudio' | 'getAudioAssignment' | 'getAudioAssignments' | 'getCameraSettings' | 'setCameraStepToggle' | 'getCameraStepOverrides' | 'setCameraStepOverride' | 'setCameraPipelineForAgent' | 'resolvePipeline' | 'getCameraSwitches' | 'setCameraSwitch' | 'getCameraStatus' | 'getDeviceSettingsContribution' | 'getDeviceLiveContribution' | 'applyDeviceSettingsPatch'>;
|
|
277
277
|
readonly pipelineRunner: Pick<InferDeviceProxyCap<typeof pipelineRunnerCapability>, 'detachCamera' | 'getCameraMetrics' | 'runDetailSubtree'>;
|
|
278
278
|
readonly plateGallery: Pick<InferDeviceProxyCap<typeof plateGalleryCapability>, 'listPlates' | 'getPlateByTrack'>;
|
|
279
|
-
readonly recording: Pick<InferDeviceProxyCap<typeof recordingCapability>, 'getAvailability' | 'getDaysWithRecordings' | 'getPlaybackManifest' | 'getDeviceConfig' | 'locateSegment' | 'readSegmentBytes' | 'setDeviceConfig' | 'rescanStorage' | 'pruneFootage' | 'deleteFootprint' | 'renderGif' | 'renderClip' | 'getStatus' | 'getDeviceSettingsContribution' | 'getDeviceLiveContribution' | 'applyDeviceSettingsPatch'>;
|
|
279
|
+
readonly recording: Pick<InferDeviceProxyCap<typeof recordingCapability>, 'getAvailability' | 'getDaysWithRecordings' | 'getPlaybackManifest' | 'getDeviceConfig' | 'locateSegment' | 'readSegmentBytes' | 'readGopBytes' | 'setDeviceConfig' | 'rescanStorage' | 'pruneFootage' | 'deleteFootprint' | 'renderGif' | 'renderClip' | 'getStatus' | 'getDeviceSettingsContribution' | 'getDeviceLiveContribution' | 'applyDeviceSettingsPatch'>;
|
|
280
280
|
readonly recordingExport: Pick<InferDeviceProxyCap<typeof recordingExportCapability>, 'createExport' | 'listExports'>;
|
|
281
281
|
readonly streamBroker: Pick<InferDeviceProxyCap<typeof streamBrokerCapability>, 'publishCameraStream' | 'retractCameraStream' | 'assignProfile' | 'unassignProfile' | 'renderPreBufferClip' | 'restartProfile' | 'getDeviceSettingsContribution' | 'getDeviceLiveContribution' | 'applyDeviceSettingsPatch'>;
|
|
282
282
|
}
|
|
@@ -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:
|
|
9
|
+
* Coverage: 876 method paths across 120 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -80,14 +80,14 @@ export interface SystemProxy {
|
|
|
80
80
|
readonly notificationOutput: Pick<InferProvider<typeof notificationOutputCapability>, 'listTargetKinds' | 'listTargets' | 'discoverTargets' | 'send' | 'testTarget' | 'upsertTarget' | 'deleteTarget' | 'setTargetEnabled'>;
|
|
81
81
|
readonly pipelineExecutor: Pick<InferProvider<typeof pipelineExecutorCapability>, 'getAvailableEngines' | 'getSelectedEngine' | 'getDefaultSteps' | 'getEngineProvisioning' | 'getVideoPipelineSteps' | 'setVideoPipelineSteps' | 'clearDeviceOverrides' | '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'>;
|
|
82
82
|
readonly pipelineOrchestrator: Pick<InferProvider<typeof pipelineOrchestratorCapability>, 'rebalance' | 'getPipelineAssignments' | 'getAgentLoad' | 'getGlobalMetrics' | 'getCapabilityBindings' | 'setCapabilityBinding' | 'getIngestOwner' | 'getAudioNodeLoad' | 'getAgentSettings' | 'listAgentSettings' | 'removeAgentSettings' | 'setAgentMaxCameras' | 'setAgentDetectWeight' | 'setAgentCapabilities' | 'setAgentReachableHost' | 'setAgentInferenceDevices' | 'getNodeInferenceDevices' | 'resetNodePipelineDefaults' | 'getCameraStatuses' | 'listTemplates' | 'saveTemplate' | 'updateTemplate' | 'deleteTemplate'>;
|
|
83
|
-
readonly pipelineRunner: Pick<InferProvider<typeof pipelineRunnerCapability>, 'attachCamera' | 'reportMotion' | 'getLocalLoad' | 'getLocalMetrics' | 'getAllCameraMetrics' | 'getLocalCameras' | 'getNativeCrop'>;
|
|
83
|
+
readonly pipelineRunner: Pick<InferProvider<typeof pipelineRunnerCapability>, 'attachCamera' | 'reportMotion' | 'getLocalLoad' | 'getLocalMetrics' | 'getAllCameraMetrics' | 'getLocalCameras' | 'getNativeCrop' | 'runStatelessStep'>;
|
|
84
84
|
readonly plateGallery: Pick<InferProvider<typeof plateGalleryCapability>, 'getPlateMedia' | 'searchPlates' | 'suggestPlateClusters' | 'correctPlateText' | 'deletePlate' | 'listVehicles' | 'createVehicle' | 'renameVehicle' | 'deleteVehicle' | 'listVehicleSamples' | 'removeVehicleSample' | 'assignPlate' | 'unassignPlate' | 'assignPlates' | 'unassignPlates'>;
|
|
85
85
|
readonly recording: Pick<InferProvider<typeof recordingCapability>, 'getStorageUsage' | 'listOpsLog' | 'relocateFootage' | 'getRelocateStatus' | 'cancelRelocate'>;
|
|
86
86
|
readonly recordingExport: Pick<InferProvider<typeof recordingExportCapability>, 'getExport' | 'cancelExport' | 'deleteExport' | 'getDownloadUrl'>;
|
|
87
87
|
readonly serverManagement: Pick<InferProvider<typeof serverManagementCapability>, 'getServerPackageStatus' | 'checkServerUpdate' | 'applyServerUpdate' | 'rollbackServerUpdate' | 'restartServer'>;
|
|
88
88
|
readonly settingsStore: Pick<InferProvider<typeof settingsStoreCapability>, 'get' | 'set' | 'query' | 'insert' | 'update' | 'delete' | 'deleteWhere' | 'updateWhere' | 'count' | 'histogram' | 'isEmpty' | 'declareCollection'>;
|
|
89
89
|
readonly storage: Pick<InferProvider<typeof storageCapability>, 'resolve' | 'write' | 'read' | 'exists' | 'list' | 'delete' | 'getAvailableSpace' | 'beginUpload' | 'writeChunk' | 'finalizeUpload' | 'abortUpload' | 'beginDownload' | 'readChunk' | 'endDownload' | 'listLocations' | 'getDefaultLocation' | 'listLocationDeclarations' | 'upsertLocation' | 'deleteLocation' | 'testLocation' | 'listProviders' | 'testConfig'>;
|
|
90
|
-
readonly streamBroker: Pick<InferProvider<typeof streamBrokerCapability>, 'listAllCameraStreams' | 'listAllProfileSlots' | 'getBrokerStats' | 'probeStream' | 'listClients' | 'killClient' | 'getStreamUrl' | 'getStreamWithCodec' | 'releaseStreamWithCodec' | 'subscribeAudioChunks' | 'pullAudioChunks' | 'unsubscribeAudioChunks' | 'subscribeFrames' | 'pullFrameHandles' | 'unsubscribeFrames' | 'setPreBufferDuration' | 'getPreBufferInfo' | 'getRtspPort' | 'getAllRtspEntries' | 'getRtspEntry' | 'regenerateRtspToken' | 'setRtspEnabled' | 'isRtspEnabled'>;
|
|
90
|
+
readonly streamBroker: Pick<InferProvider<typeof streamBrokerCapability>, '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'>;
|
|
91
91
|
readonly system: Pick<InferProvider<typeof systemCapability>, 'info' | 'health' | 'featureFlags' | 'networkAddresses' | 'getRetentionConfig' | 'setRetentionConfig' | 'forceRetentionCleanup'>;
|
|
92
92
|
readonly terminalSession: Pick<InferProvider<typeof terminalSessionCapability>, 'listProfiles' | 'listSessions' | 'openSession' | 'resize' | 'close'>;
|
|
93
93
|
readonly toast: Pick<InferProvider<typeof toastCapability>, 'onToast'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,10 @@ export type { IAuthProvider } from './capabilities/auth-provider.cap.js';
|
|
|
8
8
|
export type { DisposerChainOptions, DisposerFn } from './disposer-chain.js';
|
|
9
9
|
export { DisposerChain } from './disposer-chain.js';
|
|
10
10
|
export * from './encode-profile.js';
|
|
11
|
+
export * from './ffmpeg/invocation.js';
|
|
12
|
+
export * from './ffmpeg/encode-defaults.js';
|
|
13
|
+
export * from './ffmpeg/hwaccel.js';
|
|
14
|
+
export * from './ffmpeg/sharing-key.js';
|
|
11
15
|
export * from './health/wiring-health.js';
|
|
12
16
|
export type * from './interfaces/addon.js';
|
|
13
17
|
export { DEFAULT_ADDON_PLACEMENT, isAgentOnlyPlacement, isDeployableToAgent, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveRunnerId, } from './interfaces/addon.js';
|
|
@@ -26,6 +30,7 @@ export type { AudioClassificationResult, IAudioAnalyzer } from './interfaces/aud
|
|
|
26
30
|
export type * from './interfaces/audio-inference-engine.js';
|
|
27
31
|
export type * from './interfaces/auth.js';
|
|
28
32
|
export type * from './interfaces/camera-pipeline.js';
|
|
33
|
+
export * from './interfaces/camera-switches.js';
|
|
29
34
|
export type * from './interfaces/capability.js';
|
|
30
35
|
export type * from './interfaces/config-port.js';
|
|
31
36
|
export type * from './interfaces/config-ui.js';
|
|
@@ -183,6 +188,7 @@ export type { CameraDetectionCapabilities, CameraMotionConfig, CameraNativeDetec
|
|
|
183
188
|
export { DEVICE_TYPE_INFO, type DeviceTypeInfo } from './types/device-type.js';
|
|
184
189
|
export * from './units/index.js';
|
|
185
190
|
export { bestLocationMatch, locationSimilarity } from './util/location-match.js';
|
|
191
|
+
export { bareAddonId, isSameAddonId } from './utils/addon-id.js';
|
|
186
192
|
export { cosineSimilarity } from './utils/cosine-similarity.js';
|
|
187
193
|
export { ElementConfigStore } from './utils/element-config-store.js';
|
|
188
194
|
export { errMsg } from './utils/err-msg.js';
|
|
@@ -199,6 +205,7 @@ export { sleep, sleepCancellable } from './utils/sleep.js';
|
|
|
199
205
|
export { decodeVectorBase64, encodeVectorBase64, vectorDimFromBase64, } from './utils/vector-codec.js';
|
|
200
206
|
export { evaluateZoneRules, type ZoneRuleEvalResult } from './utils/zone-rule-eval.js';
|
|
201
207
|
export { DEFAULT_DETAIL_CROP_CONVENTION, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, type DetailCropConvention, DetailCropConventionSchema, type DetailCropRect, deriveDetailCropRect, type HydratedSettingsSection, type HydratedSettingsView, pickDetailCropConvention, readDetailCropConvention, } from './pipeline/detail-crop.js';
|
|
208
|
+
export { DEFAULT_NATIVE_LEASE_SETTINGS, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TTL_FIELD, NATIVE_LEASE_TTL_KEY, type NativeLeaseAdmission, NativeLeaseAdmissionSchema, type NativeLeaseKnob, type NativeLeaseNumberKnob, type NativeLeaseSettings, NativeLeaseSettingsSchema, type NativeLeaseSettingsOverride, pickNativeLeaseOverride, readNativeLeaseOverride, } from './pipeline/native-lease.js';
|
|
202
209
|
export { bindAddonActions } from './helpers/bind-addon-actions.js';
|
|
203
210
|
export type { DeviceOption, InferenceDeviceDescriptor, RuntimeId, } from './inference/runtime-capabilities.js';
|
|
204
211
|
export { defaultDeviceFor, enumerateInferenceDevices, modelFormatForRuntime, runtimeDevices, scoreRuntimes, supportedRuntimes, } from './inference/runtime-capabilities.js';
|