@camstack/addon-post-analysis 1.2.230 → 1.2.231

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.
@@ -72320,7 +72320,9 @@ var SummarySealer = class {
72320
72320
  if (this.sweepInFlight) return;
72321
72321
  this.sweepInFlight = true;
72322
72322
  try {
72323
- const open = await this.deps.summaries.listOpen();
72323
+ const mine = this.deps.analysedDeviceIds();
72324
+ const open = [];
72325
+ for (const deviceId of mine) open.push(...await this.deps.summaries.listOpen(deviceId));
72324
72326
  for (const summary of open) {
72325
72327
  const born = await this.splitIfApart(summary);
72326
72328
  await this.sealIfDone(summary);
@@ -75411,6 +75413,7 @@ var PipelineAnalyticsAddon = class PipelineAnalyticsAddon extends require_dist.B
75411
75413
  });
75412
75414
  this.summarySealer = new SummarySealer({
75413
75415
  summaries: this.summaryStore,
75416
+ analysedDeviceIds: () => [...this.lastFrameDimsByDevice.keys()],
75414
75417
  openTrackIds: async (deviceId) => this.residents.trackIdsForDevice(deviceId),
75415
75418
  isCameraQuiet: async (deviceId) => (this.stationaryRegistry?.count(deviceId) ?? 0) === 0,
75416
75419
  now: () => Date.now(),
@@ -72246,7 +72246,9 @@ var SummarySealer = class {
72246
72246
  if (this.sweepInFlight) return;
72247
72247
  this.sweepInFlight = true;
72248
72248
  try {
72249
- const open = await this.deps.summaries.listOpen();
72249
+ const mine = this.deps.analysedDeviceIds();
72250
+ const open = [];
72251
+ for (const deviceId of mine) open.push(...await this.deps.summaries.listOpen(deviceId));
72250
72252
  for (const summary of open) {
72251
72253
  const born = await this.splitIfApart(summary);
72252
72254
  await this.sealIfDone(summary);
@@ -75337,6 +75339,7 @@ var PipelineAnalyticsAddon = class PipelineAnalyticsAddon extends BaseAddon {
75337
75339
  });
75338
75340
  this.summarySealer = new SummarySealer({
75339
75341
  summaries: this.summaryStore,
75342
+ analysedDeviceIds: () => [...this.lastFrameDimsByDevice.keys()],
75340
75343
  openTrackIds: async (deviceId) => this.residents.trackIdsForDevice(deviceId),
75341
75344
  isCameraQuiet: async (deviceId) => (this.stationaryRegistry?.count(deviceId) ?? 0) === 0,
75342
75345
  now: () => Date.now(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-post-analysis",
3
- "version": "1.2.230",
3
+ "version": "1.2.231",
4
4
  "description": "Post-Analysis bundle — enrichment, embedding-encoder, pipeline-analytics. Multi-entry npm package shipping addons that consume pipeline output.",
5
5
  "keywords": [
6
6
  "camstack",