@camstack/types 1.0.4 → 1.0.6

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 (59) hide show
  1. package/dist/addon.d.ts +34 -0
  2. package/dist/addon.js +22 -0
  3. package/dist/addon.mjs +3 -0
  4. package/dist/capabilities/addons.cap.d.ts +10 -10
  5. package/dist/capabilities/advanced-notifier.cap.d.ts +4 -4
  6. package/dist/capabilities/alerts.cap.d.ts +10 -10
  7. package/dist/capabilities/audio-codec.cap.d.ts +2 -2
  8. package/dist/capabilities/camera-streams.cap.d.ts +15 -15
  9. package/dist/capabilities/consumables.cap.d.ts +4 -4
  10. package/dist/capabilities/cover.cap.d.ts +4 -4
  11. package/dist/capabilities/decoder.cap.d.ts +1 -1
  12. package/dist/capabilities/index.d.ts +2 -1
  13. package/dist/capabilities/local-network.cap.d.ts +6 -6
  14. package/dist/capabilities/log-destination.cap.d.ts +5 -5
  15. package/dist/capabilities/media-player.cap.d.ts +4 -4
  16. package/dist/capabilities/mesh-network.cap.d.ts +3 -3
  17. package/dist/capabilities/metrics-provider.cap.d.ts +33 -3
  18. package/dist/capabilities/network-access.cap.d.ts +7 -7
  19. package/dist/capabilities/oauth-integration.cap.d.ts +2 -2
  20. package/dist/capabilities/pipeline-executor.cap.d.ts +48 -1
  21. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +524 -4
  22. package/dist/capabilities/platform-probe.cap.d.ts +1 -1
  23. package/dist/capabilities/restreamer.cap.d.ts +2 -2
  24. package/dist/capabilities/schemas/streaming-shared.d.ts +9 -9
  25. package/dist/capabilities/sso-bridge.cap.d.ts +3 -3
  26. package/dist/capabilities/storage.cap.d.ts +1 -1
  27. package/dist/capabilities/stream-broker.cap.d.ts +28 -28
  28. package/dist/capabilities/stream-params.cap.d.ts +14 -14
  29. package/dist/capabilities/user-management.cap.d.ts +20 -20
  30. package/dist/capabilities/vacuum-control.cap.d.ts +13 -13
  31. package/dist/capabilities/valve.cap.d.ts +4 -4
  32. package/dist/capabilities/webrtc-session.cap.d.ts +12 -12
  33. package/dist/deps/binary-downloader.d.ts +1 -1
  34. package/dist/deps/ffmpeg-downloader.d.ts +1 -1
  35. package/dist/deps/python-downloader.d.ts +1 -1
  36. package/dist/device/base-device-provider.d.ts +4 -1
  37. package/dist/encode-profile.d.ts +2 -2
  38. package/dist/enums/event-category.d.ts +12 -0
  39. package/dist/err-msg-COpsHMw2.js +18 -0
  40. package/dist/err-msg-IQTHeDzc.mjs +13 -0
  41. package/dist/generated/addon-api.d.ts +438 -12
  42. package/dist/generated/device-proxy.d.ts +1 -1
  43. package/dist/generated/method-access-map.d.ts +1 -1
  44. package/dist/generated/system-proxy.d.ts +3 -3
  45. package/dist/health/wiring-health.d.ts +16 -16
  46. package/dist/index.js +1435 -4646
  47. package/dist/index.mjs +485 -3711
  48. package/dist/interfaces/event-bus.d.ts +15 -0
  49. package/dist/interfaces/metrics-provider.d.ts +3 -1
  50. package/dist/interfaces/pipeline-executor-capability.d.ts +8 -0
  51. package/dist/lifecycle/job.d.ts +6 -6
  52. package/dist/node.js +3 -3
  53. package/dist/node.mjs +1 -1
  54. package/dist/schemas/auth-records.d.ts +4 -4
  55. package/dist/sleep-D7JeS58T.mjs +3507 -0
  56. package/dist/sleep-DnS0eJh_.js +3920 -0
  57. package/dist/storage/filesystem-storage-provider.d.ts +2 -1
  58. package/dist/types/agent-pipeline-settings.d.ts +7 -0
  59. package/package.json +6 -1
@@ -1,4 +1,5 @@
1
- import type { IStorageProvider, StorageLocationType, StorageResolveInput, StorageWriteInput, StorageReadInput, StorageExistsInput, StorageListInput, StorageDeleteInput, StorageAvailableSpaceInput } from '../index.js';
1
+ import type { IStorageProvider, StorageResolveInput, StorageWriteInput, StorageReadInput, StorageExistsInput, StorageListInput, StorageDeleteInput, StorageAvailableSpaceInput } from '../interfaces/storage.js';
2
+ import type { StorageLocationType } from '../interfaces/storage-location.js';
2
3
  /**
3
4
  * Filesystem storage provider — serves all location types from a local directory tree.
4
5
  *
@@ -54,6 +54,13 @@ export interface CameraStepOverridePatch {
54
54
  */
55
55
  export interface AgentPipelineSettings {
56
56
  readonly addonDefaults: Readonly<Record<string, AgentAddonConfig>>;
57
+ /**
58
+ * Optional per-node camera capacity cap. When set, the load balancer will
59
+ * not assign more than this many cameras to this agent. `null` = unlimited.
60
+ * Defaults to `null` on the Zod schema so existing persisted blobs load
61
+ * without migration.
62
+ */
63
+ readonly maxCameras?: number | null;
57
64
  }
58
65
  /**
59
66
  * Per-camera pipeline settings. Sparse by design — a camera that has
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",
@@ -29,6 +29,11 @@
29
29
  "import": "./dist/node.mjs",
30
30
  "require": "./dist/node.js"
31
31
  },
32
+ "./addon": {
33
+ "types": "./dist/addon.d.ts",
34
+ "import": "./dist/addon.mjs",
35
+ "require": "./dist/addon.js"
36
+ },
32
37
  "./catalogs": {
33
38
  "types": "./dist/catalogs/index.d.ts",
34
39
  "import": "./dist/catalogs/index.mjs",