agent-relay-server 0.57.2 → 0.58.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 +151 -1
- package/package.json +2 -2
- package/public/assets/display-CketawEF.js.map +1 -1
- package/src/db/index.ts +2 -0
- package/src/db/project-entries.ts +270 -0
- package/src/db/projects.ts +304 -0
- package/src/db/schema.ts +50 -0
- package/src/db/teams.ts +13 -2
- package/src/mcp-project-tools.ts +352 -0
- package/src/mcp.ts +3 -0
- package/src/project-ingest.ts +186 -0
- package/src/routes/index.ts +5 -0
- package/src/routes/projects.ts +55 -0
- package/src/runtime-tokens.ts +6 -0
- package/src/security.ts +4 -0
- package/src/services/spawn-agent.ts +7 -1
- package/src/services/team.ts +5 -1
- package/src/token-db.ts +3 -3
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.
|
|
5
|
+
"version": "0.58.0",
|
|
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",
|
|
@@ -7386,6 +7386,156 @@
|
|
|
7386
7386
|
]
|
|
7387
7387
|
}
|
|
7388
7388
|
},
|
|
7389
|
+
"/api/projects": {
|
|
7390
|
+
"get": {
|
|
7391
|
+
"operationId": "getProjectsRoute",
|
|
7392
|
+
"summary": "Get Projects",
|
|
7393
|
+
"tags": [
|
|
7394
|
+
"Other"
|
|
7395
|
+
],
|
|
7396
|
+
"responses": {
|
|
7397
|
+
"200": {
|
|
7398
|
+
"description": "Success",
|
|
7399
|
+
"content": {
|
|
7400
|
+
"application/json": {}
|
|
7401
|
+
}
|
|
7402
|
+
}
|
|
7403
|
+
},
|
|
7404
|
+
"security": [
|
|
7405
|
+
{
|
|
7406
|
+
"bearerAuth": []
|
|
7407
|
+
},
|
|
7408
|
+
{
|
|
7409
|
+
"tokenHeader": []
|
|
7410
|
+
},
|
|
7411
|
+
{
|
|
7412
|
+
"tokenQuery": []
|
|
7413
|
+
}
|
|
7414
|
+
]
|
|
7415
|
+
}
|
|
7416
|
+
},
|
|
7417
|
+
"/api/projects/{id}": {
|
|
7418
|
+
"get": {
|
|
7419
|
+
"operationId": "getProjectRoute",
|
|
7420
|
+
"summary": "Get Project",
|
|
7421
|
+
"tags": [
|
|
7422
|
+
"Other"
|
|
7423
|
+
],
|
|
7424
|
+
"parameters": [
|
|
7425
|
+
{
|
|
7426
|
+
"name": "id",
|
|
7427
|
+
"in": "path",
|
|
7428
|
+
"required": true,
|
|
7429
|
+
"schema": {
|
|
7430
|
+
"type": "string"
|
|
7431
|
+
}
|
|
7432
|
+
}
|
|
7433
|
+
],
|
|
7434
|
+
"responses": {
|
|
7435
|
+
"200": {
|
|
7436
|
+
"description": "Success",
|
|
7437
|
+
"content": {
|
|
7438
|
+
"application/json": {}
|
|
7439
|
+
}
|
|
7440
|
+
}
|
|
7441
|
+
},
|
|
7442
|
+
"security": [
|
|
7443
|
+
{
|
|
7444
|
+
"bearerAuth": []
|
|
7445
|
+
},
|
|
7446
|
+
{
|
|
7447
|
+
"tokenHeader": []
|
|
7448
|
+
},
|
|
7449
|
+
{
|
|
7450
|
+
"tokenQuery": []
|
|
7451
|
+
}
|
|
7452
|
+
]
|
|
7453
|
+
}
|
|
7454
|
+
},
|
|
7455
|
+
"/api/projects/{id}/entries": {
|
|
7456
|
+
"get": {
|
|
7457
|
+
"operationId": "getProjectEntriesRoute",
|
|
7458
|
+
"summary": "Get Project Entries",
|
|
7459
|
+
"tags": [
|
|
7460
|
+
"Other"
|
|
7461
|
+
],
|
|
7462
|
+
"parameters": [
|
|
7463
|
+
{
|
|
7464
|
+
"name": "id",
|
|
7465
|
+
"in": "path",
|
|
7466
|
+
"required": true,
|
|
7467
|
+
"schema": {
|
|
7468
|
+
"type": "string"
|
|
7469
|
+
}
|
|
7470
|
+
}
|
|
7471
|
+
],
|
|
7472
|
+
"responses": {
|
|
7473
|
+
"200": {
|
|
7474
|
+
"description": "Success",
|
|
7475
|
+
"content": {
|
|
7476
|
+
"application/json": {}
|
|
7477
|
+
}
|
|
7478
|
+
}
|
|
7479
|
+
},
|
|
7480
|
+
"security": [
|
|
7481
|
+
{
|
|
7482
|
+
"bearerAuth": []
|
|
7483
|
+
},
|
|
7484
|
+
{
|
|
7485
|
+
"tokenHeader": []
|
|
7486
|
+
},
|
|
7487
|
+
{
|
|
7488
|
+
"tokenQuery": []
|
|
7489
|
+
}
|
|
7490
|
+
]
|
|
7491
|
+
}
|
|
7492
|
+
},
|
|
7493
|
+
"/api/projects/{id}/entries/{entryId}": {
|
|
7494
|
+
"get": {
|
|
7495
|
+
"operationId": "getProjectEntryRoute",
|
|
7496
|
+
"summary": "Get Project Entry",
|
|
7497
|
+
"tags": [
|
|
7498
|
+
"Other"
|
|
7499
|
+
],
|
|
7500
|
+
"parameters": [
|
|
7501
|
+
{
|
|
7502
|
+
"name": "id",
|
|
7503
|
+
"in": "path",
|
|
7504
|
+
"required": true,
|
|
7505
|
+
"schema": {
|
|
7506
|
+
"type": "string"
|
|
7507
|
+
}
|
|
7508
|
+
},
|
|
7509
|
+
{
|
|
7510
|
+
"name": "entryId",
|
|
7511
|
+
"in": "path",
|
|
7512
|
+
"required": true,
|
|
7513
|
+
"schema": {
|
|
7514
|
+
"type": "string"
|
|
7515
|
+
}
|
|
7516
|
+
}
|
|
7517
|
+
],
|
|
7518
|
+
"responses": {
|
|
7519
|
+
"200": {
|
|
7520
|
+
"description": "Success",
|
|
7521
|
+
"content": {
|
|
7522
|
+
"application/json": {}
|
|
7523
|
+
}
|
|
7524
|
+
}
|
|
7525
|
+
},
|
|
7526
|
+
"security": [
|
|
7527
|
+
{
|
|
7528
|
+
"bearerAuth": []
|
|
7529
|
+
},
|
|
7530
|
+
{
|
|
7531
|
+
"tokenHeader": []
|
|
7532
|
+
},
|
|
7533
|
+
{
|
|
7534
|
+
"tokenQuery": []
|
|
7535
|
+
}
|
|
7536
|
+
]
|
|
7537
|
+
}
|
|
7538
|
+
},
|
|
7389
7539
|
"/api/spec": {
|
|
7390
7540
|
"get": {
|
|
7391
7541
|
"operationId": "getApiSpec",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-relay-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.58.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.
|
|
36
|
+
"agent-relay-sdk": "0.2.34"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"prepack": "bun run build:dashboard:bundle >&2",
|