@camstack/addon-pipeline-orchestrator 1.1.29 → 1.1.31

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.
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.1.18",
6
+ version: "1.1.19",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_pipeline_orchestrator_widgets",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.1.31",
21
+ version: "1.1.32",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_pipeline_orchestrator_widgets",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.1.26",
36
+ version: "1.1.27",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_pipeline_orchestrator_widgets",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.1.31",
39
+ version: "1.1.32",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.1.18",
48
+ version: "1.1.19",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -99,7 +99,7 @@ async function r() {
99
99
  }
100
100
  },
101
101
  "@camstack/ui-library": {
102
- version: "1.1.26",
102
+ version: "1.1.27",
103
103
  scope: "default",
104
104
  shareConfig: {
105
105
  singleton: !0,
package/dist/index.js CHANGED
@@ -17625,7 +17625,15 @@ var FrameworkPackageStatusSchema = object({
17625
17625
  latestVersion: string().nullable(),
17626
17626
  hasUpdate: boolean(),
17627
17627
  /** Optional manifest description for the row tooltip. */
17628
- description: string().optional()
17628
+ description: string().optional(),
17629
+ /**
17630
+ * Content build-id (md5 of the resolved `dist/` tree) of the code the hub
17631
+ * ACTUALLY loaded. Framework packages ship code changes without always
17632
+ * bumping `currentVersion`, so semver alone hides "same version, new code".
17633
+ * `null` when the dist can't be hashed (not installed / empty). The admin-UI
17634
+ * surfaces this so a stale-code hub is visible even at an unchanged version.
17635
+ */
17636
+ buildId: string().nullable()
17629
17637
  });
17630
17638
  var LogStreamEntrySchema = object({
17631
17639
  timestamp: string(),
@@ -24822,8 +24830,8 @@ var PipelineWatchdog = class {
24822
24830
  const now = this.deps.now();
24823
24831
  for (const cam of this.cameras.values()) {
24824
24832
  const { line, stalled, recoveries } = this.evaluate(cam, now);
24825
- if (stalled) this.deps.logger.warn(line);
24826
- else this.deps.logger.info(line);
24833
+ if (stalled) this.deps.logger.warn(line, { tags: { deviceId: cam.deviceId } });
24834
+ else this.deps.logger.info(line, { tags: { deviceId: cam.deviceId } });
24827
24835
  for (const r of recoveries) {
24828
24836
  const rt = this.state.get(cam.deviceId)?.get(r.stage);
24829
24837
  if (rt) {
@@ -25668,7 +25676,10 @@ var PipelineOrchestratorAddon = class PipelineOrchestratorAddon extends BaseAddo
25668
25676
  if (!isEvent(event, EventCategory.PipelineInferenceResult)) return;
25669
25677
  this.handleInferenceResult(event.data).catch((err) => {
25670
25678
  const msg = errMsg(err);
25671
- this.ctx.logger.error("PipelineInferenceResult post-processing failed", { meta: { error: msg } });
25679
+ this.ctx.logger.error("PipelineInferenceResult post-processing failed", {
25680
+ tags: { deviceId: event.data.deviceId },
25681
+ meta: { error: msg }
25682
+ });
25672
25683
  });
25673
25684
  });
25674
25685
  const PROFILE_SLOTS_DEBOUNCE_MS = 200;
package/dist/index.mjs CHANGED
@@ -17621,7 +17621,15 @@ var FrameworkPackageStatusSchema = object({
17621
17621
  latestVersion: string().nullable(),
17622
17622
  hasUpdate: boolean(),
17623
17623
  /** Optional manifest description for the row tooltip. */
17624
- description: string().optional()
17624
+ description: string().optional(),
17625
+ /**
17626
+ * Content build-id (md5 of the resolved `dist/` tree) of the code the hub
17627
+ * ACTUALLY loaded. Framework packages ship code changes without always
17628
+ * bumping `currentVersion`, so semver alone hides "same version, new code".
17629
+ * `null` when the dist can't be hashed (not installed / empty). The admin-UI
17630
+ * surfaces this so a stale-code hub is visible even at an unchanged version.
17631
+ */
17632
+ buildId: string().nullable()
17625
17633
  });
17626
17634
  var LogStreamEntrySchema = object({
17627
17635
  timestamp: string(),
@@ -24818,8 +24826,8 @@ var PipelineWatchdog = class {
24818
24826
  const now = this.deps.now();
24819
24827
  for (const cam of this.cameras.values()) {
24820
24828
  const { line, stalled, recoveries } = this.evaluate(cam, now);
24821
- if (stalled) this.deps.logger.warn(line);
24822
- else this.deps.logger.info(line);
24829
+ if (stalled) this.deps.logger.warn(line, { tags: { deviceId: cam.deviceId } });
24830
+ else this.deps.logger.info(line, { tags: { deviceId: cam.deviceId } });
24823
24831
  for (const r of recoveries) {
24824
24832
  const rt = this.state.get(cam.deviceId)?.get(r.stage);
24825
24833
  if (rt) {
@@ -25664,7 +25672,10 @@ var PipelineOrchestratorAddon = class PipelineOrchestratorAddon extends BaseAddo
25664
25672
  if (!isEvent(event, EventCategory.PipelineInferenceResult)) return;
25665
25673
  this.handleInferenceResult(event.data).catch((err) => {
25666
25674
  const msg = errMsg(err);
25667
- this.ctx.logger.error("PipelineInferenceResult post-processing failed", { meta: { error: msg } });
25675
+ this.ctx.logger.error("PipelineInferenceResult post-processing failed", {
25676
+ tags: { deviceId: event.data.deviceId },
25677
+ meta: { error: msg }
25678
+ });
25668
25679
  });
25669
25680
  });
25670
25681
  const PROFILE_SLOTS_DEBOUNCE_MS = 200;
@@ -30,7 +30,7 @@ async function d(e) {
30
30
  }
31
31
  }
32
32
  async function f() {
33
- return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-C-lBA08G.mjs")).catch((e) => {
33
+ return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-B5x-vmYL.mjs")).catch((e) => {
34
34
  throw l = void 0, e;
35
35
  }), l;
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-pipeline-orchestrator",
3
- "version": "1.1.29",
3
+ "version": "1.1.31",
4
4
  "description": "Hub-side camera-to-agent load balancer — tracks runner capacity and dispatches attachCamera calls to the optimal pipeline-runner instance",
5
5
  "keywords": [
6
6
  "camstack",