Commit 6994233
fix: include endpoints in /worlds response and list_worlds discovery (#153)
The gateway `/worlds` endpoint omitted `endpoints`, causing the plugin's
`list_worlds` tool to report 'no endpoint' for all gateway-discovered
worlds.
## Changes
- **gateway/server.mjs**: Add `endpoints` field to `/worlds` response
objects
- **src/index.ts**: Parse `endpoints` from gateway response and store
them in `registryWorlds` and `discoveredPeers`
---------
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>1 parent 29ce8c3 commit 6994233
13 files changed
Lines changed: 790 additions & 466 deletions
File tree
- .changeset
- .github/workflows
- gateway
- src
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments