libp2p-mesh 2026.6.1 → 2026.6.2

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/index.js CHANGED
@@ -99,6 +99,16 @@ function createLibp2pMeshConfigSchema() {
99
99
  items: { type: "string" },
100
100
  description: "Multiaddrs of relay nodes to reserve a slot on (each entry must end in /p2p/<peer-id>).",
101
101
  },
102
+ relayChannel: {
103
+ type: "string",
104
+ deprecated: true,
105
+ description: "Deprecated compatibility field from older libp2p-mesh versions. Use relayList for relay nodes.",
106
+ },
107
+ relayAccountId: {
108
+ type: "string",
109
+ deprecated: true,
110
+ description: "Deprecated compatibility field from older libp2p-mesh versions. This value is ignored.",
111
+ },
102
112
  discoverRelays: {
103
113
  type: "number",
104
114
  default: 0,
@@ -162,6 +162,13 @@ export interface MeshConfig {
162
162
  * reservation open with each one so other peers can dial us through them.
163
163
  */
164
164
  relayList?: string[];
165
+ /**
166
+ * Deprecated pre-2026.6 config keys kept so existing OpenClaw configs keep
167
+ * validating after upgrade. Relay selection is now configured with
168
+ * `relayList`; inbound display uses `inboundChannel`/`inboundTarget`.
169
+ */
170
+ relayChannel?: string;
171
+ relayAccountId?: string;
165
172
  /**
166
173
  * Number of relays to auto-discover via content routing. Requires DHT.
167
174
  * Default `0` (disabled). Set to e.g. `2` to look up public relays.
package/index.ts CHANGED
@@ -101,6 +101,16 @@ function createLibp2pMeshConfigSchema(): OpenClawPluginConfigSchema {
101
101
  items: { type: "string" },
102
102
  description: "Multiaddrs of relay nodes to reserve a slot on (each entry must end in /p2p/<peer-id>).",
103
103
  },
104
+ relayChannel: {
105
+ type: "string",
106
+ deprecated: true,
107
+ description: "Deprecated compatibility field from older libp2p-mesh versions. Use relayList for relay nodes.",
108
+ },
109
+ relayAccountId: {
110
+ type: "string",
111
+ deprecated: true,
112
+ description: "Deprecated compatibility field from older libp2p-mesh versions. This value is ignored.",
113
+ },
104
114
  discoverRelays: {
105
115
  type: "number",
106
116
  default: 0,
@@ -4,6 +4,17 @@
4
4
  "onStartup": true
5
5
  },
6
6
  "channels": ["libp2p-mesh"],
7
+ "channelConfigs": {
8
+ "libp2p-mesh": {
9
+ "label": "P2P Mesh",
10
+ "description": "libp2p mesh network channel.",
11
+ "schema": {
12
+ "type": "object",
13
+ "additionalProperties": false,
14
+ "properties": {}
15
+ }
16
+ }
17
+ },
7
18
  "enabledByDefault": true,
8
19
  "name": "libp2p Mesh Network",
9
20
  "description": "P2P network for cross-instance agent communication via libp2p.",
@@ -91,6 +102,16 @@
91
102
  "items": { "type": "string" },
92
103
  "description": "Multiaddrs of relays to reserve a slot on (each entry must end in /p2p/<peer-id>)."
93
104
  },
105
+ "relayChannel": {
106
+ "type": "string",
107
+ "deprecated": true,
108
+ "description": "Deprecated compatibility field from older libp2p-mesh versions. Use relayList for relay nodes."
109
+ },
110
+ "relayAccountId": {
111
+ "type": "string",
112
+ "deprecated": true,
113
+ "description": "Deprecated compatibility field from older libp2p-mesh versions. This value is ignored."
114
+ },
94
115
  "discoverRelays": {
95
116
  "type": "number",
96
117
  "default": 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libp2p-mesh",
3
- "version": "2026.6.1",
3
+ "version": "2026.6.2",
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/types.ts CHANGED
@@ -187,6 +187,13 @@ export interface MeshConfig {
187
187
  * reservation open with each one so other peers can dial us through them.
188
188
  */
189
189
  relayList?: string[];
190
+ /**
191
+ * Deprecated pre-2026.6 config keys kept so existing OpenClaw configs keep
192
+ * validating after upgrade. Relay selection is now configured with
193
+ * `relayList`; inbound display uses `inboundChannel`/`inboundTarget`.
194
+ */
195
+ relayChannel?: string;
196
+ relayAccountId?: string;
190
197
  /**
191
198
  * Number of relays to auto-discover via content routing. Requires DHT.
192
199
  * Default `0` (disabled). Set to e.g. `2` to look up public relays.