libp2p-mesh 2026.6.4 → 2026.6.5

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.
@@ -16,7 +16,7 @@ export function registerLibp2pMesh(api) {
16
16
  const store = createInstancePeerStore({ logger: api.logger });
17
17
  const delivery = createOpenClawRuntimeInboundDelivery({
18
18
  config: api.config,
19
- loadAdapter: api.runtime.channel.outbound.loadAdapter,
19
+ loadAdapter: (channel) => api.runtime.channel.outbound.loadAdapter(channel),
20
20
  logger: api.logger,
21
21
  });
22
22
  const router = createInstanceRouter({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libp2p-mesh",
3
- "version": "2026.6.4",
3
+ "version": "2026.6.5",
4
4
  "description": "OpenClaw libp2p P2P mesh network plugin for cross-instance agent communication",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/plugin.ts CHANGED
@@ -20,7 +20,7 @@ export function registerLibp2pMesh(api: OpenClawPluginApi) {
20
20
  const store = createInstancePeerStore({ logger: api.logger });
21
21
  const delivery = createOpenClawRuntimeInboundDelivery({
22
22
  config: api.config,
23
- loadAdapter: api.runtime.channel.outbound.loadAdapter,
23
+ loadAdapter: (channel: string) => api.runtime.channel.outbound.loadAdapter(channel),
24
24
  logger: api.logger,
25
25
  });
26
26
  const router = createInstanceRouter({