@camstack/addon-pipeline 1.2.204 → 1.2.206

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 (33) hide show
  1. package/dist/audio-analyzer/index.js +2 -2
  2. package/dist/audio-analyzer/index.mjs +2 -2
  3. package/dist/{default-detection-model-ClY8fk-K.mjs → default-detection-model-C_v4levg.mjs} +1 -1
  4. package/dist/{default-detection-model-CfIEdJop.js → default-detection-model-CcDkPxU8.js} +1 -1
  5. package/dist/detection-pipeline/index.js +5 -5
  6. package/dist/detection-pipeline/index.mjs +4 -4
  7. package/dist/{dist-Czm3CW8M.js → dist-CNPNWUoG.js} +38 -9
  8. package/dist/{dist-B5x2ogXC.mjs → dist-DrKpb33H.mjs} +38 -9
  9. package/dist/{lazy-sharp-AhHg_Hb-.js → lazy-sharp-BW3zCwk0.js} +1 -1
  10. package/dist/motion-wasm/index.js +296 -18
  11. package/dist/motion-wasm/index.mjs +295 -17
  12. package/dist/{node-Bx76sJbU.mjs → node-C6B8HJW_.mjs} +1 -1
  13. package/dist/{node-u0M7kQe-.js → node-h-nvNfmU.js} +1 -1
  14. package/dist/pipeline-runner/index.js +5 -5
  15. package/dist/pipeline-runner/index.mjs +4 -4
  16. package/dist/{process-memory-iiE4Q2mt.mjs → process-memory-C1F0SJcc.mjs} +1 -1
  17. package/dist/{process-memory-D5JcMSDA.js → process-memory-DL51Hzcr.js} +1 -1
  18. package/dist/recorder/index.js +2 -2
  19. package/dist/recorder/index.mjs +2 -2
  20. package/dist/{segment-demux-js-BcbB_hcJ.mjs → segment-demux-js-BgaS1a5g.mjs} +1 -1
  21. package/dist/{segment-demux-js-CSt1T2Vi.js → segment-demux-js-BidvAwag.js} +1 -1
  22. package/dist/session-decode/decode-worker-child.js +2 -2
  23. package/dist/session-decode/decode-worker-child.mjs +1 -1
  24. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BSWELhoJ.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BjZ2kba0.mjs} +3 -3
  25. package/dist/stream-broker/demux-worker-child.js +1 -1
  26. package/dist/stream-broker/demux-worker-child.mjs +1 -1
  27. package/dist/stream-broker/{hostInit-BJlv_j8i.mjs → hostInit-C8APD5CI.mjs} +3 -3
  28. package/dist/stream-broker/index.js +3 -3
  29. package/dist/stream-broker/index.mjs +3 -3
  30. package/dist/stream-broker/remoteEntry.js +1 -1
  31. package/dist/{worker-protocol-B4C4seRh.js → worker-protocol-C3cr5_6w.js} +1 -1
  32. package/dist/{worker-protocol-ClwpoGoP.mjs → worker-protocol-D3HMNvw_.mjs} +1 -1
  33. package/package.json +1 -1
@@ -2,8 +2,8 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-Czm3CW8M.js");
6
- const require_process_memory = require("../process-memory-D5JcMSDA.js");
5
+ const require_dist = require("../dist-CNPNWUoG.js");
6
+ const require_process_memory = require("../process-memory-DL51Hzcr.js");
7
7
  let node_fs = require("node:fs");
8
8
  node_fs = require_dist.__toESM(node_fs);
9
9
  let node_path = require("node:path");
@@ -1,6 +1,6 @@
1
1
  import { n as __require } from "../chunk-DnnnRqeS.mjs";
2
- import { Dt as resolvePoolMemoryPolicy, It as errMsg, Jt as hydrateSchema, M as audioAnalyzerCapability, S as PoolMemoryWatchdog, Ut as BaseAddon, j as audioAnalysisCapability, n as AUDIO_BACKEND_CHOICES, ot as mapAudioLabelToMacro, s as DEFAULT_AUDIO_ANALYZER_CONFIG, v as HF_BASE_URL } from "../dist-B5x2ogXC.mjs";
3
- import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-iiE4Q2mt.mjs";
2
+ import { Dt as resolvePoolMemoryPolicy, It as errMsg, Jt as hydrateSchema, M as audioAnalyzerCapability, S as PoolMemoryWatchdog, Ut as BaseAddon, j as audioAnalysisCapability, n as AUDIO_BACKEND_CHOICES, ot as mapAudioLabelToMacro, s as DEFAULT_AUDIO_ANALYZER_CONFIG, v as HF_BASE_URL } from "../dist-DrKpb33H.mjs";
3
+ import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-C1F0SJcc.mjs";
4
4
  import * as fs from "node:fs";
5
5
  import * as path$1 from "node:path";
6
6
  import { downloadFile } from "@camstack/system/addon-utils";
@@ -1,4 +1,4 @@
1
- import { N as audioKindId, a as COCO_80_LABELS, o as COCO_TO_MACRO, r as AUDIO_MACRO_LABELS, tt as hfModelUrl } from "./dist-B5x2ogXC.mjs";
1
+ import { N as audioKindId, a as COCO_80_LABELS, o as COCO_TO_MACRO, r as AUDIO_MACRO_LABELS, tt as hfModelUrl } from "./dist-DrKpb33H.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  //#region src/detection-pipeline/registry/model-catalogs.ts
4
4
  var HF_REPO = "camstack/camstack-models";
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-Czm3CW8M.js");
1
+ const require_dist = require("./dist-CNPNWUoG.js");
2
2
  let node_crypto = require("node:crypto");
3
3
  //#region src/detection-pipeline/registry/model-catalogs.ts
4
4
  var HF_REPO = "camstack/camstack-models";
@@ -2,12 +2,12 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-Czm3CW8M.js");
6
- const require_node = require("../node-u0M7kQe-.js");
7
- const require_default_detection_model = require("../default-detection-model-CfIEdJop.js");
8
- const require_lazy_sharp = require("../lazy-sharp-AhHg_Hb-.js");
5
+ const require_dist = require("../dist-CNPNWUoG.js");
6
+ const require_node = require("../node-h-nvNfmU.js");
7
+ const require_default_detection_model = require("../default-detection-model-CcDkPxU8.js");
8
+ const require_lazy_sharp = require("../lazy-sharp-BW3zCwk0.js");
9
9
  const require_event_loop_stall_monitor = require("../event-loop-stall-monitor-DaUBcb13.js");
10
- const require_process_memory = require("../process-memory-D5JcMSDA.js");
10
+ const require_process_memory = require("../process-memory-DL51Hzcr.js");
11
11
  let node_os = require("node:os");
12
12
  node_os = require_dist.__toESM(node_os);
13
13
  let node_fs = require("node:fs");
@@ -1,10 +1,10 @@
1
1
  import { n as __require } from "../chunk-DnnnRqeS.mjs";
2
- import { $t as parseJsonUnknown, B as defaultDeviceFor$1, Dt as resolvePoolMemoryPolicy, G as detectionPipelineCapability, It as errMsg, J as enumerateInferenceDevices, Jt as hydrateSchema, Pt as supportedRuntimes$1, Qt as nodePin, S as PoolMemoryWatchdog, Ut as BaseAddon, X as evaluateZoneRules, c as DEFAULT_CLUSTER_STEP_MODELS, gt as pickClusterStepSettings, hn as EventCategory, ht as pickClusterStepModels, in as array, it as loadContributionCapability, k as YAMNET_TO_MACRO, kt as runtimeDevices$1, l as DEFAULT_CLUSTER_STEP_SETTINGS, m as DEVICE_BACKEND_TO_FORMAT, mn as union, nn as sleep, nt as inferModelProvider, pn as string, pt as overlayClusterStepSettings, qt as createEvent, t as APPLE_SA_TO_MACRO, un as object, wt as resolveClusterStepModelId, yt as pipelineExecutorCapability } from "../dist-B5x2ogXC.mjs";
3
- import { o as readProcessCost } from "../node-Bx76sJbU.mjs";
4
- import { a as ALL_PIPELINE_STEPS, c as getStep, d as landmarkPrecisionVerdict, l as getStepDefinition, n as resolveDefaultDetectionModel, o as ALL_STEPS, r as localFrameRegistry, s as getDefaultModelForFormat, u as resolveModelForFormat } from "../default-detection-model-ClY8fk-K.mjs";
2
+ import { $t as parseJsonUnknown, B as defaultDeviceFor$1, Dt as resolvePoolMemoryPolicy, G as detectionPipelineCapability, It as errMsg, J as enumerateInferenceDevices, Jt as hydrateSchema, Pt as supportedRuntimes$1, Qt as nodePin, S as PoolMemoryWatchdog, Ut as BaseAddon, X as evaluateZoneRules, c as DEFAULT_CLUSTER_STEP_MODELS, gt as pickClusterStepSettings, hn as EventCategory, ht as pickClusterStepModels, in as array, it as loadContributionCapability, k as YAMNET_TO_MACRO, kt as runtimeDevices$1, l as DEFAULT_CLUSTER_STEP_SETTINGS, m as DEVICE_BACKEND_TO_FORMAT, mn as union, nn as sleep, nt as inferModelProvider, pn as string, pt as overlayClusterStepSettings, qt as createEvent, t as APPLE_SA_TO_MACRO, un as object, wt as resolveClusterStepModelId, yt as pipelineExecutorCapability } from "../dist-DrKpb33H.mjs";
3
+ import { o as readProcessCost } from "../node-C6B8HJW_.mjs";
4
+ import { a as ALL_PIPELINE_STEPS, c as getStep, d as landmarkPrecisionVerdict, l as getStepDefinition, n as resolveDefaultDetectionModel, o as ALL_STEPS, r as localFrameRegistry, s as getDefaultModelForFormat, u as resolveModelForFormat } from "../default-detection-model-C_v4levg.mjs";
5
5
  import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
6
6
  import { n as startEventLoopStallMonitor } from "../event-loop-stall-monitor-DXLNBMkY.mjs";
7
- import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-iiE4Q2mt.mjs";
7
+ import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-C1F0SJcc.mjs";
8
8
  import * as os from "node:os";
9
9
  import * as fs from "node:fs";
10
10
  import * as path$1 from "node:path";
@@ -14074,6 +14074,9 @@ var QueryFilterSchema = object({
14074
14074
  whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
14075
14075
  /** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
14076
14076
  whereNot: record(string(), unknown()).optional(),
14077
+ /** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
14078
+ * empty list excludes nothing. See `QueryFilter.whereNotIn`. */
14079
+ whereNotIn: record(string(), array(unknown())).optional(),
14077
14080
  orderBy: object({
14078
14081
  field: string(),
14079
14082
  direction: _enum(["asc", "desc"])
@@ -14094,7 +14097,8 @@ var MutationFilterSchema = object({
14094
14097
  where: record(string(), unknown()).optional(),
14095
14098
  whereIn: record(string(), array(unknown())).optional(),
14096
14099
  whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
14097
- whereNot: record(string(), unknown()).optional()
14100
+ whereNot: record(string(), unknown()).optional(),
14101
+ whereNotIn: record(string(), array(unknown())).optional()
14098
14102
  });
14099
14103
  /**
14100
14104
  * One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
@@ -21196,10 +21200,12 @@ var TrackSourceSchema = _enum([
21196
21200
  * Terminal for the plain `markForTrain` toggle: returning it to `staging` is
21197
21201
  * a deliberate action of the retrain page, not a side effect of a checkbox.
21198
21202
  *
21199
- * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` because
21200
- * the store's filter language has only positive equality and `whereIn` — no
21201
- * negation, no IS NULL — so a NULL would be unselectable by ANY predicate and
21202
- * would make the entire pre-column history immortal in one deploy.
21203
+ * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` so that
21204
+ * every row is selectable by a positive predicate. (The filter language has
21205
+ * since grown the NULL-safe `whereNot` / `whereNotIn` and an `IS NULL` reading
21206
+ * of `where: { f: null }`, which is how {@link TrackSourceSchema} can be
21207
+ * filtered on a NULLABLE column — see `excludeSources`. It did not when this
21208
+ * column was designed, and a NOT NULL column is still the better shape.)
21203
21209
  */
21204
21210
  var RetrainStatusSchema = _enum([
21205
21211
  "none",
@@ -21935,7 +21941,9 @@ var RecentTracksQueryInput = object({
21935
21941
  * whose class list is unreadable are kept, and the client's rule stays the
21936
21942
  * exact one.
21937
21943
  */
21938
- classes: array(string()).optional()
21944
+ classes: array(string()).optional(),
21945
+ /** See {@link ExcludeSourcesDoc}. */
21946
+ excludeSources: array(TrackSourceSchema).optional()
21939
21947
  });
21940
21948
  /**
21941
21949
  * A Summary (D359): the per-camera session envelope that references tracks.
@@ -22363,7 +22371,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
22363
22371
  * selected is an operator who has not narrowed anything, and an empty
22364
22372
  * timeline would read as a camera that saw nothing.
22365
22373
  */
22366
- classes: array(string()).optional()
22374
+ classes: array(string()).optional(),
22375
+ /** See {@link ExcludeSourcesDoc}. */
22376
+ excludeSources: array(TrackSourceSchema).optional()
22367
22377
  }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
22368
22378
  kind: "mutation",
22369
22379
  auth: "admin"
@@ -30155,8 +30165,27 @@ var PrivacyMaskRegionSchema = object({
30155
30165
  });
30156
30166
  object({
30157
30167
  enabled: boolean(),
30158
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
30159
- regions: array(PrivacyMaskRegionSchema),
30168
+ /**
30169
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
30170
+ *
30171
+ * `null` means "no answer" — the provider has never reached this camera
30172
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
30173
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
30174
+ * has no zones": those two look identical to an operator right up to the
30175
+ * moment one of them is acted on, and acting on them differs completely.
30176
+ * The switch group turned an unanswered read into *"nothing is set up for
30177
+ * it to act on"* — an instruction to go and draw a zone that already
30178
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
30179
+ * from deleting the mask it could not read.
30180
+ *
30181
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
30182
+ * has no zones. The distinction is the same one {@link
30183
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
30184
+ * microphone, on the very same payload — both planes come from ONE refresh,
30185
+ * so it was never coherent for one of them to be able to say "unknown"
30186
+ * while the other could not.
30187
+ */
30188
+ regions: array(PrivacyMaskRegionSchema).nullable(),
30160
30189
  /**
30161
30190
  * Is the camera capturing sound right now? Read from the camera, never from
30162
30191
  * a server-side mirror.
@@ -14051,6 +14051,9 @@ var QueryFilterSchema = object({
14051
14051
  whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
14052
14052
  /** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
14053
14053
  whereNot: record(string(), unknown()).optional(),
14054
+ /** NULL-safe exclusion of a SET — `whereNot` for more than one value. An
14055
+ * empty list excludes nothing. See `QueryFilter.whereNotIn`. */
14056
+ whereNotIn: record(string(), array(unknown())).optional(),
14054
14057
  orderBy: object({
14055
14058
  field: string(),
14056
14059
  direction: _enum(["asc", "desc"])
@@ -14071,7 +14074,8 @@ var MutationFilterSchema = object({
14071
14074
  where: record(string(), unknown()).optional(),
14072
14075
  whereIn: record(string(), array(unknown())).optional(),
14073
14076
  whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
14074
- whereNot: record(string(), unknown()).optional()
14077
+ whereNot: record(string(), unknown()).optional(),
14078
+ whereNotIn: record(string(), array(unknown())).optional()
14075
14079
  });
14076
14080
  /**
14077
14081
  * One scalar an {@link settingsStoreCapability.methods.aggregate} call asks for.
@@ -21173,10 +21177,12 @@ var TrackSourceSchema = _enum([
21173
21177
  * Terminal for the plain `markForTrain` toggle: returning it to `staging` is
21174
21178
  * a deliberate action of the retrain page, not a side effect of a checkbox.
21175
21179
  *
21176
- * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` because
21177
- * the store's filter language has only positive equality and `whereIn` — no
21178
- * negation, no IS NULL — so a NULL would be unselectable by ANY predicate and
21179
- * would make the entire pre-column history immortal in one deploy.
21180
+ * There is no `null`. The state is stored `TEXT NOT NULL DEFAULT 'none'` so that
21181
+ * every row is selectable by a positive predicate. (The filter language has
21182
+ * since grown the NULL-safe `whereNot` / `whereNotIn` and an `IS NULL` reading
21183
+ * of `where: { f: null }`, which is how {@link TrackSourceSchema} can be
21184
+ * filtered on a NULLABLE column — see `excludeSources`. It did not when this
21185
+ * column was designed, and a NOT NULL column is still the better shape.)
21180
21186
  */
21181
21187
  var RetrainStatusSchema = _enum([
21182
21188
  "none",
@@ -21912,7 +21918,9 @@ var RecentTracksQueryInput = object({
21912
21918
  * whose class list is unreadable are kept, and the client's rule stays the
21913
21919
  * exact one.
21914
21920
  */
21915
- classes: array(string()).optional()
21921
+ classes: array(string()).optional(),
21922
+ /** See {@link ExcludeSourcesDoc}. */
21923
+ excludeSources: array(TrackSourceSchema).optional()
21916
21924
  });
21917
21925
  /**
21918
21926
  * A Summary (D359): the per-camera session envelope that references tracks.
@@ -22340,7 +22348,9 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
22340
22348
  * selected is an operator who has not narrowed anything, and an empty
22341
22349
  * timeline would read as a camera that saw nothing.
22342
22350
  */
22343
- classes: array(string()).optional()
22351
+ classes: array(string()).optional(),
22352
+ /** See {@link ExcludeSourcesDoc}. */
22353
+ excludeSources: array(TrackSourceSchema).optional()
22344
22354
  }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
22345
22355
  kind: "mutation",
22346
22356
  auth: "admin"
@@ -30132,8 +30142,27 @@ var PrivacyMaskRegionSchema = object({
30132
30142
  });
30133
30143
  object({
30134
30144
  enabled: boolean(),
30135
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
30136
- regions: array(PrivacyMaskRegionSchema),
30145
+ /**
30146
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
30147
+ *
30148
+ * `null` means "no answer" — the provider has never reached this camera
30149
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
30150
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
30151
+ * has no zones": those two look identical to an operator right up to the
30152
+ * moment one of them is acted on, and acting on them differs completely.
30153
+ * The switch group turned an unanswered read into *"nothing is set up for
30154
+ * it to act on"* — an instruction to go and draw a zone that already
30155
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
30156
+ * from deleting the mask it could not read.
30157
+ *
30158
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
30159
+ * has no zones. The distinction is the same one {@link
30160
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
30161
+ * microphone, on the very same payload — both planes come from ONE refresh,
30162
+ * so it was never coherent for one of them to be able to say "unknown"
30163
+ * while the other could not.
30164
+ */
30165
+ regions: array(PrivacyMaskRegionSchema).nullable(),
30137
30166
  /**
30138
30167
  * Is the camera capturing sound right now? Read from the camera, never from
30139
30168
  * a server-side mirror.
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-Czm3CW8M.js");
1
+ const require_dist = require("./dist-CNPNWUoG.js");
2
2
  let node_path = require("node:path");
3
3
  node_path = require_dist.__toESM(node_path);
4
4
  let node_url = require("node:url");