clawnexus 0.2.1 → 0.2.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.
@@ -163,10 +163,12 @@ class RegistryStore extends node_events_1.EventEmitter {
163
163
  }
164
164
  if (agentMatches.length === 1)
165
165
  return agentMatches[0];
166
- // 5. address
166
+ // 5. address or address:port
167
167
  for (const inst of this.instances.values()) {
168
168
  if (inst.address === query)
169
169
  return inst;
170
+ if (`${inst.address}:${inst.gateway_port}` === query)
171
+ return inst;
170
172
  }
171
173
  return undefined;
172
174
  }
@@ -179,7 +181,8 @@ class RegistryStore extends node_events_1.EventEmitter {
179
181
  inst.auto_name.toLowerCase() === q ||
180
182
  inst.display_name.toLowerCase() === q ||
181
183
  inst.agent_id.toLowerCase() === q ||
182
- inst.address === query) {
184
+ inst.address === query ||
185
+ `${inst.address}:${inst.gateway_port}` === query) {
183
186
  results.push(inst);
184
187
  }
185
188
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawnexus",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "ClawNexus daemon and CLI — AI instance registry for OpenClaw",
5
5
  "license": "MIT",
6
6
  "author": "alan-silverstreams <alan@silverstream.tech>",