agent-relay-server 0.44.0 → 0.46.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 +92 -1
- package/package.json +2 -2
- package/public/assets/display-ConJ9cJB.js.map +1 -1
- package/src/db/blackboard.ts +171 -0
- package/src/db/index.ts +1 -0
- package/src/db/migrations.ts +17 -0
- package/src/db/schema.ts +15 -0
- package/src/mcp-blackboard-tools.ts +131 -0
- package/src/mcp-plan-tools.ts +2 -0
- package/src/mcp.ts +3 -0
- package/src/routes/blackboard.ts +54 -0
- package/src/routes/index.ts +3 -0
- package/src/security.ts +2 -0
- package/src/services/plan-graph.ts +33 -13
- 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.46.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",
|
|
@@ -7024,6 +7024,97 @@
|
|
|
7024
7024
|
]
|
|
7025
7025
|
}
|
|
7026
7026
|
},
|
|
7027
|
+
"/api/blackboard": {
|
|
7028
|
+
"get": {
|
|
7029
|
+
"operationId": "getBlackboardRoute",
|
|
7030
|
+
"summary": "Read team blackboard entries",
|
|
7031
|
+
"tags": [
|
|
7032
|
+
"Blackboard"
|
|
7033
|
+
],
|
|
7034
|
+
"description": "Returns active epistemic blackboard entries for a team. Admin/dashboard callers pass `team`; component tokens are constrained to their own derived team identity. Mutations are MCP-only.",
|
|
7035
|
+
"parameters": [
|
|
7036
|
+
{
|
|
7037
|
+
"name": "team",
|
|
7038
|
+
"in": "query",
|
|
7039
|
+
"schema": {
|
|
7040
|
+
"type": "string"
|
|
7041
|
+
},
|
|
7042
|
+
"description": "Team id for admin/dashboard reads. Ignored for component tokens, which use their signed caller identity."
|
|
7043
|
+
},
|
|
7044
|
+
{
|
|
7045
|
+
"name": "kind",
|
|
7046
|
+
"in": "query",
|
|
7047
|
+
"schema": {
|
|
7048
|
+
"type": "string",
|
|
7049
|
+
"enum": [
|
|
7050
|
+
"decision",
|
|
7051
|
+
"fact",
|
|
7052
|
+
"ruled_out"
|
|
7053
|
+
]
|
|
7054
|
+
},
|
|
7055
|
+
"description": "Optional entry-kind filter."
|
|
7056
|
+
}
|
|
7057
|
+
],
|
|
7058
|
+
"responses": {
|
|
7059
|
+
"200": {
|
|
7060
|
+
"description": "Success",
|
|
7061
|
+
"content": {
|
|
7062
|
+
"application/json": {}
|
|
7063
|
+
}
|
|
7064
|
+
}
|
|
7065
|
+
},
|
|
7066
|
+
"security": [
|
|
7067
|
+
{
|
|
7068
|
+
"bearerAuth": []
|
|
7069
|
+
},
|
|
7070
|
+
{
|
|
7071
|
+
"tokenHeader": []
|
|
7072
|
+
},
|
|
7073
|
+
{
|
|
7074
|
+
"tokenQuery": []
|
|
7075
|
+
}
|
|
7076
|
+
]
|
|
7077
|
+
}
|
|
7078
|
+
},
|
|
7079
|
+
"/api/blackboard/{id}": {
|
|
7080
|
+
"get": {
|
|
7081
|
+
"operationId": "getBlackboardEntryRoute",
|
|
7082
|
+
"summary": "Get blackboard entry by id",
|
|
7083
|
+
"tags": [
|
|
7084
|
+
"Blackboard"
|
|
7085
|
+
],
|
|
7086
|
+
"description": "Returns one blackboard entry and its supersession chain. Component tokens can only read entries from their derived caller team.",
|
|
7087
|
+
"parameters": [
|
|
7088
|
+
{
|
|
7089
|
+
"name": "id",
|
|
7090
|
+
"in": "path",
|
|
7091
|
+
"required": true,
|
|
7092
|
+
"schema": {
|
|
7093
|
+
"type": "string"
|
|
7094
|
+
}
|
|
7095
|
+
}
|
|
7096
|
+
],
|
|
7097
|
+
"responses": {
|
|
7098
|
+
"200": {
|
|
7099
|
+
"description": "Success",
|
|
7100
|
+
"content": {
|
|
7101
|
+
"application/json": {}
|
|
7102
|
+
}
|
|
7103
|
+
}
|
|
7104
|
+
},
|
|
7105
|
+
"security": [
|
|
7106
|
+
{
|
|
7107
|
+
"bearerAuth": []
|
|
7108
|
+
},
|
|
7109
|
+
{
|
|
7110
|
+
"tokenHeader": []
|
|
7111
|
+
},
|
|
7112
|
+
{
|
|
7113
|
+
"tokenQuery": []
|
|
7114
|
+
}
|
|
7115
|
+
]
|
|
7116
|
+
}
|
|
7117
|
+
},
|
|
7027
7118
|
"/api/spec": {
|
|
7028
7119
|
"get": {
|
|
7029
7120
|
"operationId": "getApiSpec",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-relay-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.46.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.30"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"prepack": "bun run build:dashboard:bundle >&2",
|