@camstack/addon-pipeline 1.2.13 → 1.2.14

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 (25) hide show
  1. package/dist/audio-analyzer/index.js +1 -1
  2. package/dist/audio-analyzer/index.mjs +1 -1
  3. package/dist/detection-pipeline/index.js +2 -2
  4. package/dist/detection-pipeline/index.mjs +2 -2
  5. package/dist/{dist-DuI0Ypuu.mjs → dist-OjOsoSZG.mjs} +31 -31
  6. package/dist/motion-wasm/index.js +1 -1
  7. package/dist/motion-wasm/index.mjs +1 -1
  8. package/dist/pipeline-runner/index.js +2 -2
  9. package/dist/pipeline-runner/index.mjs +2 -2
  10. package/dist/recorder/index.js +1 -1
  11. package/dist/recorder/index.mjs +1 -1
  12. package/dist/{step-definitions-DqNWVeYB.mjs → step-definitions-B9vyUNYR.mjs} +1 -1
  13. package/dist/{step-definitions-Ck4_6GKK.js → step-definitions-DGCuoeCj.js} +1 -1
  14. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-5EJfCCjk.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-S2nRs43G.mjs} +1 -1
  15. package/dist/stream-broker/{hostInit-QaJMh7Ec.mjs → hostInit-p_rpDGqr.mjs} +1 -1
  16. package/dist/stream-broker/index.js +1 -1
  17. package/dist/stream-broker/index.mjs +1 -1
  18. package/dist/stream-broker/remoteEntry.js +1 -1
  19. package/embed-dist/assets/{MaskShapeCanvas-DI4BY7W2-Di-nvxaR.js → MaskShapeCanvas-DI4BY7W2-CaRFwVIZ.js} +1 -1
  20. package/embed-dist/assets/{MotionZonesSettings-NcxxQN8r-C6Nj76Lm.js → MotionZonesSettings-NcxxQN8r-o7HcwAxC.js} +1 -1
  21. package/embed-dist/assets/{PrivacyMaskSettings-APgPLF7p-DwVoJunF.js → PrivacyMaskSettings-APgPLF7p-B2TnFjvh.js} +1 -1
  22. package/embed-dist/assets/{index-CtDVz0vI.js → index-D4RNu5XI.js} +20 -20
  23. package/embed-dist/index.html +1 -1
  24. package/package.json +1 -1
  25. package/dist/{dist-BUd2xSjP.js → dist-DDTAur0R.js} +30 -30
@@ -4,7 +4,7 @@
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <title>CamStack Embed</title>
7
- <script type="module" crossorigin src="./assets/index-CtDVz0vI.js"></script>
7
+ <script type="module" crossorigin src="./assets/index-D4RNu5XI.js"></script>
8
8
  <link rel="stylesheet" crossorigin href="./assets/index-Dv5H-32C.css">
9
9
  </head>
10
10
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-pipeline",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "CamStack Pipeline bundle — runner, detection, motion, audio + stream broker. Multi-entry npm package shipping pipeline addons under a single bundle.",
5
5
  "keywords": [
6
6
  "camstack",
@@ -6531,6 +6531,36 @@ var ProfileRtspEntrySchema = object({
6531
6531
  resolution: CamStreamResolutionSchema.optional()
6532
6532
  });
6533
6533
  /**
6534
+ * Per-call node pinning for `ctx.api` capability calls.
6535
+ *
6536
+ * A capability call normally resolves to its DEFAULT provider — a `singleton`
6537
+ * cap resolves to the hub, a device-scoped cap to the device's owning node. To
6538
+ * query a SPECIFIC node's provider instead (e.g. a remote agent's own
6539
+ * in-process `platform-probe` hardware, which the hub cannot probe), pin the
6540
+ * call to that node.
6541
+ *
6542
+ * The nodeId rides OUT-OF-BAND in the tRPC call context (NOT in the validated
6543
+ * method args), so capability method signatures stay `nodeId`-free — node
6544
+ * targeting is a property of the CALL, not of the method. The transport lifts
6545
+ * it from `op.context` onto the `CapCallInput.nodeId` field (`ipcParentLink`),
6546
+ * and the hub parent's `onUnownedCall` passes it to the `CapRouteResolver`,
6547
+ * which classifies a pinned agent node as `agent-child-forward`
6548
+ * (`$agent-cap-fwd.forward` → the agent's in-process provider).
6549
+ *
6550
+ * Usage at a call site:
6551
+ *
6552
+ * await api.platformProbe.getCapabilities.query(undefined, nodePin(nodeId))
6553
+ */
6554
+ /** tRPC `op.context` key carrying a per-call node pin. */
6555
+ var CAP_NODE_PIN_CONTEXT_KEY = "__camstackNodePin";
6556
+ /**
6557
+ * Build the tRPC request options that pin a single capability call to `nodeId`.
6558
+ * Pass as the second argument to `.query(input, …)` / `.mutate(input, …)`.
6559
+ */
6560
+ function nodePin(nodeId) {
6561
+ return { context: { [CAP_NODE_PIN_CONTEXT_KEY]: nodeId } };
6562
+ }
6563
+ /**
6534
6564
  * Type-safe JSON parsing helpers.
6535
6565
  *
6536
6566
  * `JSON.parse` is typed as `any` in lib.es5.d.ts, which triggers
@@ -7847,36 +7877,6 @@ var EncodeProfileSchema = object({
7847
7877
  outputArgs: array(string()).optional()
7848
7878
  });
7849
7879
  var HF_BASE_URL = `https://huggingface.co/camstack/camstack-models/resolve/main`;
7850
- /**
7851
- * Per-call node pinning for `ctx.api` capability calls.
7852
- *
7853
- * A capability call normally resolves to its DEFAULT provider — a `singleton`
7854
- * cap resolves to the hub, a device-scoped cap to the device's owning node. To
7855
- * query a SPECIFIC node's provider instead (e.g. a remote agent's own
7856
- * in-process `platform-probe` hardware, which the hub cannot probe), pin the
7857
- * call to that node.
7858
- *
7859
- * The nodeId rides OUT-OF-BAND in the tRPC call context (NOT in the validated
7860
- * method args), so capability method signatures stay `nodeId`-free — node
7861
- * targeting is a property of the CALL, not of the method. The transport lifts
7862
- * it from `op.context` onto the `CapCallInput.nodeId` field (`ipcParentLink`),
7863
- * and the hub parent's `onUnownedCall` passes it to the `CapRouteResolver`,
7864
- * which classifies a pinned agent node as `agent-child-forward`
7865
- * (`$agent-cap-fwd.forward` → the agent's in-process provider).
7866
- *
7867
- * Usage at a call site:
7868
- *
7869
- * await api.platformProbe.getCapabilities.query(undefined, nodePin(nodeId))
7870
- */
7871
- /** tRPC `op.context` key carrying a per-call node pin. */
7872
- var CAP_NODE_PIN_CONTEXT_KEY = "__camstackNodePin";
7873
- /**
7874
- * Build the tRPC request options that pin a single capability call to `nodeId`.
7875
- * Pass as the second argument to `.query(input, …)` / `.mutate(input, …)`.
7876
- */
7877
- function nodePin(nodeId) {
7878
- return { context: { [CAP_NODE_PIN_CONTEXT_KEY]: nodeId } };
7879
- }
7880
7880
  function hfModelUrl(repo, path) {
7881
7881
  return `https://huggingface.co/${repo}/resolve/main/${path}`;
7882
7882
  }