Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/gateway-auto-openapi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@resciencelab/agent-world-network": patch
---

Auto-generate OpenAPI spec from route schemas using @fastify/swagger, serve Swagger UI at /docs
5 changes: 5 additions & 0 deletions .changeset/worlds-endpoint-discovery.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@resciencelab/agent-world-network": patch
---

Include endpoints in /worlds gateway response and list_worlds discovery
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:

- run: npm ci
- run: npm --prefix packages/agent-world-sdk install
- run: npm --prefix gateway install
- run: npm run build
- run: npm --prefix packages/agent-world-sdk run build
- run: node --test test/*.test.mjs
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
run: npm ci
- if: "!startsWith(github.head_ref, 'changeset-release/')"
run: npm --prefix packages/agent-world-sdk install
- if: "!startsWith(github.head_ref, 'changeset-release/')"
run: npm --prefix gateway install
- if: "!startsWith(github.head_ref, 'changeset-release/')"
run: npm run build
- if: "!startsWith(github.head_ref, 'changeset-release/')"
Expand Down
2 changes: 1 addition & 1 deletion gateway/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY gateway/package*.json ./
# Pre-built SDK at the path file:../packages/agent-world-sdk resolves to
COPY --from=sdk-builder /app/packages/agent-world-sdk /app/packages/agent-world-sdk
RUN npm install --production
COPY gateway/server.mjs ./
COPY gateway/server.mjs gateway/schemas.mjs ./
RUN mkdir -p /data

ENV HTTP_PORT=8100
Expand Down
Loading