@camstack/agent 1.1.47 → 1.1.48

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.
package/dist/cli.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  import { createRequire as __cr } from 'node:module'; const require = globalThis.require ?? __cr(import.meta.url);
3
3
  import {
4
4
  startAgent
5
- } from "./chunk-Z7VZQCFX.mjs";
5
+ } from "./chunk-P6AJ6S7H.mjs";
6
6
  import "./chunk-Y6BUFOWG.mjs";
7
7
 
8
8
  // src/cli.ts
package/dist/index.js CHANGED
@@ -2708,6 +2708,13 @@ async function startAgent(configPath) {
2708
2708
  });
2709
2709
  agentUdsRegistry = new import_system3.LocalChildRegistry({
2710
2710
  server: (0, import_system3.createLocalTransport)().createServer(agentNodeId),
2711
+ // The agent's own id — a cap call pinned to THIS agent (e.g. the
2712
+ // benchmark running `pipeline-executor.runPipeline` on the very node it
2713
+ // is on) is served by the co-resident sibling instead of being forwarded
2714
+ // to the hub (the agent has no CapRouteResolver, and the hub would reject
2715
+ // it with "no provider registered" unless it knew the agent hosts the
2716
+ // cap). A pin to ANOTHER node still bypasses the sibling → onUnownedCall.
2717
+ ownNodeId: agentNodeId,
2711
2718
  onUnownedCall
2712
2719
  });
2713
2720
  await agentUdsRegistry.start();