clawnexus 0.2.2 → 0.2.3

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.
@@ -195,8 +195,11 @@ function registerRegistryRoutes(app, deps) {
195
195
  });
196
196
  }
197
197
  function registerInstanceRoutes(app, store, scanner) {
198
- app.get("/instances", async () => {
199
- const instances = store.getAll();
198
+ app.get("/instances", async (request) => {
199
+ let instances = store.getAll();
200
+ if (request.query.scope) {
201
+ instances = instances.filter((i) => i.network_scope === request.query.scope);
202
+ }
200
203
  return { count: instances.length, instances };
201
204
  });
202
205
  app.get("/instances/:id", async (request, reply) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawnexus",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "ClawNexus daemon and CLI — AI instance registry for OpenClaw",
5
5
  "license": "MIT",
6
6
  "author": "alan-silverstreams <alan@silverstream.tech>",