agent-relay-server 0.19.3 → 0.21.0

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/docs/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "Agent Relay API",
5
- "version": "0.17.0",
5
+ "version": "0.19.3",
6
6
  "description": "Real-time message bus for inter-agent communication. Agent-first: this spec is designed for machine consumption — agents can self-discover the full API surface via GET /api/spec.",
7
7
  "license": {
8
8
  "name": "MIT",
@@ -10774,21 +10774,57 @@
10774
10774
  "System"
10775
10775
  ],
10776
10776
  "description": "Returns agent count, online count, and message statistics.",
10777
+ "parameters": [
10778
+ {
10779
+ "name": "period",
10780
+ "in": "query",
10781
+ "schema": {
10782
+ "type": "string"
10783
+ }
10784
+ }
10785
+ ],
10777
10786
  "responses": {
10778
10787
  "200": {
10779
10788
  "description": "Success",
10780
10789
  "content": {
10781
10790
  "application/json": {}
10782
10791
  }
10792
+ }
10793
+ },
10794
+ "security": [
10795
+ {
10796
+ "bearerAuth": []
10783
10797
  },
10784
- "404": {
10785
- "description": "Not found",
10798
+ {
10799
+ "tokenHeader": []
10800
+ },
10801
+ {
10802
+ "tokenQuery": []
10803
+ }
10804
+ ]
10805
+ }
10806
+ },
10807
+ "/api/stats/analytics": {
10808
+ "get": {
10809
+ "operationId": "getAnalyticsRoute",
10810
+ "summary": "Get Analytics",
10811
+ "tags": [
10812
+ "System"
10813
+ ],
10814
+ "parameters": [
10815
+ {
10816
+ "name": "period",
10817
+ "in": "query",
10818
+ "schema": {
10819
+ "type": "string"
10820
+ }
10821
+ }
10822
+ ],
10823
+ "responses": {
10824
+ "200": {
10825
+ "description": "Success",
10786
10826
  "content": {
10787
- "application/json": {
10788
- "schema": {
10789
- "$ref": "#/components/schemas/Error"
10790
- }
10791
- }
10827
+ "application/json": {}
10792
10828
  }
10793
10829
  }
10794
10830
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-relay-server",
3
- "version": "0.19.3",
3
+ "version": "0.21.0",
4
4
  "description": "Lightweight HTTP message relay for inter-agent communication across machines",
5
5
  "module": "src/index.ts",
6
6
  "type": "module",
@@ -33,7 +33,7 @@
33
33
  "CONTRIBUTING.md"
34
34
  ],
35
35
  "dependencies": {
36
- "agent-relay-sdk": "0.2.10"
36
+ "agent-relay-sdk": "0.2.12"
37
37
  },
38
38
  "scripts": {
39
39
  "prepack": "bun run build:dashboard:bundle >&2",