@bluefly/openstandardagents 0.4.9 → 0.5.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/.version.json +3 -3
- package/CHANGELOG.md +8 -8
- package/README.md +68 -58
- package/bin/postinstall +0 -0
- package/dist/.version.json +3 -3
- package/dist/adapters/claude-code/adapter.js +2 -2
- package/dist/adapters/docker/generators.js +19 -19
- package/dist/adapters/drupal/generator.js +76 -76
- package/dist/adapters/openai-agents/adapter.js +2 -2
- package/dist/cli/schema-driven/schema-loader.js +5 -5
- package/dist/mcp-server/__tests__/mcp-server.spec.js +20 -11
- package/dist/mcp-server/index.js +0 -0
- package/dist/package.json +24 -11
- package/dist/services/export/langchain/langchain-exporter.js +2 -2
- package/dist/services/export/langchain/memory-generator.js +2 -2
- package/dist/services/export/testing/test-generator.js +1 -1
- package/dist/services/taxonomy-service.d.ts +3 -3
- package/dist/skills/test-skill/package.json +1 -1
- package/dist/spec/extensions/role-manifest.md +188 -0
- package/dist/spec/v0.4/extensions/mcp/README.md +1 -1
- package/dist/spec/v0.5/agent.schema.json +2 -1
- package/dist/spec/v0.5/extensions/mcp/README.md +1 -1
- package/dist/spec/v0.5/role.schema.json +268 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/role.d.ts +126 -0
- package/dist/types/role.js +38 -0
- package/dist/validation/validator.js +1 -1
- package/examples/agents/01-customer-support-bot/agent.ossa.yaml +24 -31
- package/examples/agents/05-sales-assistant/agent.ossa.yaml +35 -23
- package/examples/agents/07-research-assistant/agent.ossa.yaml +27 -21
- package/examples/agents/10-meeting-assistant/agent.ossa.yaml +27 -35
- package/examples/agents/security-audit-agent.ossa.yaml +234 -0
- package/examples/agentscope/react-assistant/agent.ossa.yaml +36 -32
- package/examples/drupal/content-moderator.ossa.yaml +2 -2
- package/examples/drupal/drupal-contributor.ossa.yaml +247 -0
- package/examples/export/langchain/production-agent-with-memory/README.md +1 -1
- package/examples/export/langchain/production-agent-with-memory/agent.ossa.yaml +13 -23
- package/examples/export/langchain/production-agent-with-streaming/agent.ossa.yaml +1 -15
- package/examples/export/langchain/production-agent-with-tools/agent.ossa.yaml +28 -29
- package/examples/getting-started/01-minimal-agent.ossa.yaml +1 -1
- package/examples/getting-started/02-agent-with-tools.ossa.yaml +1 -1
- package/examples/getting-started/03-agent-with-safety.ossa.yaml +1 -1
- package/examples/getting-started/04-agent-with-messaging.ossa.yaml +1 -1
- package/examples/getting-started/05-workflow-composition.ossa.yaml +1 -1
- package/examples/getting-started/README.md +3 -3
- package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
- package/examples/gitlab-agents/gitlab-ci-agent.ossa.yaml +221 -0
- package/examples/hierarchical-agent.ossa.yaml +10 -53
- package/examples/kagent/ossa-kagent-anthropic.ossa.yaml +2 -25
- package/examples/kagent/ossa-kagent-mcp-tools.ossa.yaml +2 -30
- package/examples/kagent/ossa-kagent-multi-tool.ossa.yaml +2 -18
- package/examples/kagent/ossa-kagent-poc.ossa.yaml +2 -16
- package/examples/pipeline-agent.ossa.yaml +3 -3
- package/examples/platform-specific/claude-code-subagent.yaml +1 -1
- package/examples/platform-specific/cursor-coding-agent.yaml +1 -1
- package/examples/platform-specific/warp-terminal-agent.yaml +1 -1
- package/examples/production-ready/01-customer-support-bot/agent.ossa.yaml +24 -31
- package/examples/production-ready/05-sales-assistant/agent.ossa.yaml +35 -23
- package/examples/production-ready/07-research-assistant/agent.ossa.yaml +27 -19
- package/examples/production-ready/10-meeting-assistant/agent.ossa.yaml +27 -35
- package/examples/reference-implementations/python-client/examples/basic_usage.py +0 -0
- package/examples/reference-implementations/python-client/examples/publish_agent.py +0 -0
- package/examples/roles/drupal-developer.role.yaml +37 -0
- package/examples/roles/platform-operator.role.yaml +28 -0
- package/examples/roles/security-auditor.role.yaml +27 -0
- package/examples/swarm-agent.ossa.yaml +13 -51
- package/examples/team-agent.ossa.yaml +12 -61
- package/examples/team-lead-teammate.ossa.yaml +12 -17
- package/openapi/agent-communication.yaml +260 -212
- package/openapi/agent-crud.yaml +217 -187
- package/openapi/agent-discovery.yaml +119 -81
- package/openapi/agent-identity.yaml +219 -187
- package/openapi/agent-taxonomy.yaml +95 -38
- package/openapi/agents-md-service.yaml +103 -30
- package/openapi/cli/openapi.yaml +147 -40
- package/openapi/core/ossa-core-api.openapi.yaml +327 -271
- package/openapi/core/ossa-registry-api.openapi.yaml +298 -235
- package/openapi/core/ossa-registry.openapi.yaml +299 -159
- package/openapi/core/unified-agent-gateway.openapi.yaml +234 -170
- package/openapi/daemon-api.openapi.yaml +323 -181
- package/openapi/dev-cli/openapi.yaml +137 -113
- package/openapi/github-sync.yaml +62 -19
- package/openapi/marketplace-plugin.openapi.yaml +539 -466
- package/openapi/ossa-api.openapi.yaml +354 -213
- package/openapi/ossa-cli-enhancements.openapi.yaml +108 -89
- package/openapi/ossa-cli.yaml +260 -184
- package/openapi/protocols/sse-streams.yaml +66 -74
- package/openapi/protocols/websocket-events.yaml +61 -54
- package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +37 -20
- package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +35 -23
- package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +29 -18
- package/openapi/reference-implementations/critic-agent-api.openapi.yaml +45 -19
- package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +30 -24
- package/openapi/reference-implementations/drupal-agent-api.openapi.yaml +101 -50
- package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +33 -22
- package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +20 -16
- package/openapi/reference-implementations/governor-agent-api.openapi.yaml +41 -23
- package/openapi/reference-implementations/helm-generator.openapi.yaml +88 -46
- package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +30 -20
- package/openapi/reference-implementations/judge-agent-api.openapi.yaml +22 -16
- package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +32 -18
- package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +32 -21
- package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +34 -21
- package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +49 -27
- package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +27 -19
- package/openapi/reference-implementations/self-evolving-ecosystem.openapi.yaml +427 -293
- package/openapi/reference-implementations/worker-agent-api.openapi.yaml +34 -23
- package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +35 -21
- package/openapi/release-automation.openapi.yaml +47 -13
- package/openapi/schemas/common/agent.yaml +30 -29
- package/openapi/schemas/common/errors.yaml +13 -3
- package/openapi/schemas/common/metadata.yaml +22 -7
- package/openapi/schemas/common/pagination.yaml +18 -6
- package/openapi/schemas/common/security.yaml +13 -5
- package/openapi/schemas/index.yaml +49 -42
- package/openapi/uadp-asyncapi.yaml +4 -2
- package/openapi/uadp-openapi.yaml +243 -165
- package/openapi/version-management.openapi.yaml +142 -135
- package/package.json +114 -103
- package/spec/extensions/role-manifest.md +188 -0
- package/spec/v0.4/extensions/mcp/README.md +1 -1
- package/spec/v0.5/agent.schema.json +2 -1
- package/spec/v0.5/extensions/mcp/README.md +1 -1
- package/spec/v0.5/role.schema.json +268 -0
|
@@ -24,20 +24,19 @@ info:
|
|
|
24
24
|
- Performance metrics and health scoring
|
|
25
25
|
|
|
26
26
|
OSSA Compliance: v0.1.9
|
|
27
|
-
|
|
27
|
+
contact:
|
|
28
|
+
name: Bluefly OSSA Team
|
|
29
|
+
url: https://gitlab.com/blueflyio/ossa/openstandardagents
|
|
28
30
|
servers:
|
|
29
31
|
- url: https://registry.openstandardagents.org/api/v1
|
|
30
32
|
description: Production registry
|
|
31
|
-
# Local development server (commented to avoid lint warning)
|
|
32
|
-
# - url: http://localhost:8080/api/v1
|
|
33
|
-
# description: Local development
|
|
34
|
-
|
|
35
33
|
paths:
|
|
36
34
|
/agents:
|
|
37
35
|
get:
|
|
38
36
|
operationId: listAgents
|
|
39
37
|
summary: List all registered agents
|
|
40
|
-
tags:
|
|
38
|
+
tags:
|
|
39
|
+
- Agents
|
|
41
40
|
security:
|
|
42
41
|
- ApiKeyAuth: []
|
|
43
42
|
parameters:
|
|
@@ -45,7 +44,15 @@ paths:
|
|
|
45
44
|
in: query
|
|
46
45
|
schema:
|
|
47
46
|
type: string
|
|
48
|
-
enum:
|
|
47
|
+
enum:
|
|
48
|
+
- compliance
|
|
49
|
+
- chat
|
|
50
|
+
- orchestration
|
|
51
|
+
- audit
|
|
52
|
+
- workflow
|
|
53
|
+
- monitoring
|
|
54
|
+
- data_sync
|
|
55
|
+
- search
|
|
49
56
|
- name: certified
|
|
50
57
|
in: query
|
|
51
58
|
schema:
|
|
@@ -54,7 +61,12 @@ paths:
|
|
|
54
61
|
in: query
|
|
55
62
|
schema:
|
|
56
63
|
type: string
|
|
57
|
-
enum:
|
|
64
|
+
enum:
|
|
65
|
+
- aws
|
|
66
|
+
- gcp
|
|
67
|
+
- azure
|
|
68
|
+
- local
|
|
69
|
+
- hybrid
|
|
58
70
|
- name: page
|
|
59
71
|
in: query
|
|
60
72
|
schema:
|
|
@@ -66,29 +78,33 @@ paths:
|
|
|
66
78
|
type: integer
|
|
67
79
|
default: 20
|
|
68
80
|
responses:
|
|
69
|
-
|
|
81
|
+
"200":
|
|
70
82
|
description: List of agents
|
|
71
83
|
content:
|
|
72
84
|
application/json:
|
|
73
85
|
schema:
|
|
74
86
|
type: object
|
|
75
|
-
required:
|
|
87
|
+
required:
|
|
88
|
+
- agents
|
|
89
|
+
- pagination
|
|
76
90
|
properties:
|
|
77
91
|
agents:
|
|
78
92
|
type: array
|
|
79
93
|
items:
|
|
80
|
-
$ref:
|
|
94
|
+
$ref: "#/components/schemas/Agent"
|
|
81
95
|
pagination:
|
|
82
|
-
$ref:
|
|
83
|
-
|
|
84
|
-
$ref:
|
|
85
|
-
|
|
86
|
-
$ref:
|
|
87
|
-
|
|
96
|
+
$ref: "#/components/schemas/Pagination"
|
|
97
|
+
"400":
|
|
98
|
+
$ref: "#/components/responses/BadRequest"
|
|
99
|
+
"401":
|
|
100
|
+
$ref: "#/components/responses/Unauthorized"
|
|
101
|
+
x-ossa-capability: registry-list-agents
|
|
102
|
+
description: List all registered agents
|
|
88
103
|
post:
|
|
89
104
|
operationId: registerAgent
|
|
90
105
|
summary: Register a new agent
|
|
91
|
-
tags:
|
|
106
|
+
tags:
|
|
107
|
+
- Agents
|
|
92
108
|
security:
|
|
93
109
|
- ApiKeyAuth: []
|
|
94
110
|
requestBody:
|
|
@@ -96,87 +112,104 @@ paths:
|
|
|
96
112
|
content:
|
|
97
113
|
application/json:
|
|
98
114
|
schema:
|
|
99
|
-
$ref:
|
|
115
|
+
$ref: "#/components/schemas/AgentRegistration"
|
|
100
116
|
responses:
|
|
101
|
-
|
|
117
|
+
"201":
|
|
102
118
|
description: Agent registered
|
|
103
119
|
content:
|
|
104
120
|
application/json:
|
|
105
121
|
schema:
|
|
106
|
-
$ref:
|
|
107
|
-
|
|
108
|
-
$ref:
|
|
109
|
-
|
|
110
|
-
$ref:
|
|
111
|
-
|
|
122
|
+
$ref: "#/components/schemas/Agent"
|
|
123
|
+
"400":
|
|
124
|
+
$ref: "#/components/responses/BadRequest"
|
|
125
|
+
"401":
|
|
126
|
+
$ref: "#/components/responses/Unauthorized"
|
|
127
|
+
x-ossa-capability: registry-register-agent
|
|
128
|
+
x-ossa-autonomy:
|
|
129
|
+
level: supervised
|
|
130
|
+
approval_required: true
|
|
131
|
+
description: Register a new agent
|
|
112
132
|
/agents/{agentId}:
|
|
113
133
|
get:
|
|
114
134
|
operationId: getAgent
|
|
115
135
|
summary: Get agent details
|
|
116
|
-
tags:
|
|
136
|
+
tags:
|
|
137
|
+
- Agents
|
|
117
138
|
security:
|
|
118
139
|
- ApiKeyAuth: []
|
|
119
140
|
parameters:
|
|
120
|
-
- $ref:
|
|
141
|
+
- $ref: "#/components/parameters/AgentId"
|
|
121
142
|
responses:
|
|
122
|
-
|
|
143
|
+
"200":
|
|
123
144
|
description: Agent details
|
|
124
145
|
content:
|
|
125
146
|
application/json:
|
|
126
147
|
schema:
|
|
127
|
-
$ref:
|
|
128
|
-
|
|
129
|
-
$ref:
|
|
130
|
-
|
|
148
|
+
$ref: "#/components/schemas/Agent"
|
|
149
|
+
"404":
|
|
150
|
+
$ref: "#/components/responses/NotFound"
|
|
151
|
+
x-ossa-capability: registry-get-agent
|
|
152
|
+
description: Get agent details
|
|
131
153
|
put:
|
|
132
154
|
operationId: updateAgent
|
|
133
155
|
summary: Update agent metadata
|
|
134
|
-
tags:
|
|
156
|
+
tags:
|
|
157
|
+
- Agents
|
|
135
158
|
security:
|
|
136
159
|
- ApiKeyAuth: []
|
|
137
160
|
parameters:
|
|
138
|
-
- $ref:
|
|
161
|
+
- $ref: "#/components/parameters/AgentId"
|
|
139
162
|
requestBody:
|
|
140
163
|
required: true
|
|
141
164
|
content:
|
|
142
165
|
application/json:
|
|
143
166
|
schema:
|
|
144
|
-
$ref:
|
|
167
|
+
$ref: "#/components/schemas/AgentUpdate"
|
|
145
168
|
responses:
|
|
146
|
-
|
|
169
|
+
"200":
|
|
147
170
|
description: Agent updated
|
|
148
171
|
content:
|
|
149
172
|
application/json:
|
|
150
173
|
schema:
|
|
151
|
-
$ref:
|
|
152
|
-
|
|
153
|
-
$ref:
|
|
154
|
-
|
|
174
|
+
$ref: "#/components/schemas/Agent"
|
|
175
|
+
"404":
|
|
176
|
+
$ref: "#/components/responses/NotFound"
|
|
177
|
+
x-ossa-capability: registry-update-agent
|
|
178
|
+
x-ossa-autonomy:
|
|
179
|
+
level: supervised
|
|
180
|
+
approval_required: true
|
|
181
|
+
description: Update agent metadata
|
|
155
182
|
delete:
|
|
156
183
|
operationId: deleteAgent
|
|
157
184
|
summary: Deprecate an agent
|
|
158
|
-
tags:
|
|
185
|
+
tags:
|
|
186
|
+
- Agents
|
|
159
187
|
security:
|
|
160
188
|
- ApiKeyAuth: []
|
|
161
189
|
parameters:
|
|
162
|
-
- $ref:
|
|
190
|
+
- $ref: "#/components/parameters/AgentId"
|
|
163
191
|
responses:
|
|
164
|
-
|
|
192
|
+
"204":
|
|
165
193
|
description: Agent deprecated
|
|
166
|
-
|
|
167
|
-
$ref:
|
|
168
|
-
|
|
194
|
+
"404":
|
|
195
|
+
$ref: "#/components/responses/NotFound"
|
|
196
|
+
x-ossa-capability: registry-delete-agent
|
|
197
|
+
x-ossa-autonomy:
|
|
198
|
+
level: supervised
|
|
199
|
+
approval_required: true
|
|
200
|
+
description: Deprecate an agent
|
|
169
201
|
/agents/{agentId}/versions:
|
|
170
202
|
get:
|
|
171
203
|
operationId: listAgentVersions
|
|
172
204
|
summary: List agent versions
|
|
173
|
-
tags:
|
|
205
|
+
tags:
|
|
206
|
+
- Versions
|
|
174
207
|
security:
|
|
175
208
|
- ApiKeyAuth: []
|
|
176
209
|
parameters:
|
|
177
|
-
- $ref:
|
|
210
|
+
- $ref: "#/components/parameters/AgentId"
|
|
178
211
|
responses:
|
|
179
|
-
|
|
212
|
+
"200":
|
|
180
213
|
description: Agent versions
|
|
181
214
|
content:
|
|
182
215
|
application/json:
|
|
@@ -186,49 +219,56 @@ paths:
|
|
|
186
219
|
versions:
|
|
187
220
|
type: array
|
|
188
221
|
items:
|
|
189
|
-
$ref:
|
|
190
|
-
|
|
191
|
-
$ref:
|
|
192
|
-
|
|
193
|
-
$ref:
|
|
194
|
-
|
|
222
|
+
$ref: "#/components/schemas/AgentVersion"
|
|
223
|
+
"400":
|
|
224
|
+
$ref: "#/components/responses/BadRequest"
|
|
225
|
+
"404":
|
|
226
|
+
$ref: "#/components/responses/NotFound"
|
|
227
|
+
x-ossa-capability: registry-list-agent-versions
|
|
228
|
+
description: List agent versions
|
|
195
229
|
post:
|
|
196
230
|
operationId: publishVersion
|
|
197
231
|
summary: Publish new agent version
|
|
198
|
-
tags:
|
|
232
|
+
tags:
|
|
233
|
+
- Versions
|
|
199
234
|
security:
|
|
200
235
|
- ApiKeyAuth: []
|
|
201
236
|
parameters:
|
|
202
|
-
- $ref:
|
|
237
|
+
- $ref: "#/components/parameters/AgentId"
|
|
203
238
|
requestBody:
|
|
204
239
|
required: true
|
|
205
240
|
content:
|
|
206
241
|
application/json:
|
|
207
242
|
schema:
|
|
208
|
-
$ref:
|
|
243
|
+
$ref: "#/components/schemas/VersionPublish"
|
|
209
244
|
responses:
|
|
210
|
-
|
|
245
|
+
"201":
|
|
211
246
|
description: Version published
|
|
212
247
|
content:
|
|
213
248
|
application/json:
|
|
214
249
|
schema:
|
|
215
|
-
$ref:
|
|
216
|
-
|
|
217
|
-
$ref:
|
|
218
|
-
|
|
219
|
-
$ref:
|
|
220
|
-
|
|
250
|
+
$ref: "#/components/schemas/AgentVersion"
|
|
251
|
+
"400":
|
|
252
|
+
$ref: "#/components/responses/BadRequest"
|
|
253
|
+
"404":
|
|
254
|
+
$ref: "#/components/responses/NotFound"
|
|
255
|
+
x-ossa-capability: registry-publish-version
|
|
256
|
+
x-ossa-autonomy:
|
|
257
|
+
level: supervised
|
|
258
|
+
approval_required: true
|
|
259
|
+
description: Publish new agent version
|
|
221
260
|
/agents/{agentId}/certifications:
|
|
222
261
|
get:
|
|
223
262
|
operationId: listCertifications
|
|
224
263
|
summary: List agent certifications
|
|
225
|
-
tags:
|
|
264
|
+
tags:
|
|
265
|
+
- Certifications
|
|
226
266
|
security:
|
|
227
267
|
- ApiKeyAuth: []
|
|
228
268
|
parameters:
|
|
229
|
-
- $ref:
|
|
269
|
+
- $ref: "#/components/parameters/AgentId"
|
|
230
270
|
responses:
|
|
231
|
-
|
|
271
|
+
"200":
|
|
232
272
|
description: Certifications
|
|
233
273
|
content:
|
|
234
274
|
application/json:
|
|
@@ -238,91 +278,105 @@ paths:
|
|
|
238
278
|
certifications:
|
|
239
279
|
type: array
|
|
240
280
|
items:
|
|
241
|
-
$ref:
|
|
242
|
-
|
|
243
|
-
$ref:
|
|
244
|
-
|
|
245
|
-
$ref:
|
|
246
|
-
|
|
281
|
+
$ref: "#/components/schemas/Certification"
|
|
282
|
+
"400":
|
|
283
|
+
$ref: "#/components/responses/BadRequest"
|
|
284
|
+
"404":
|
|
285
|
+
$ref: "#/components/responses/NotFound"
|
|
286
|
+
x-ossa-capability: registry-list-certifications
|
|
287
|
+
description: List agent certifications
|
|
247
288
|
post:
|
|
248
289
|
operationId: addCertification
|
|
249
290
|
summary: Add certification
|
|
250
|
-
tags:
|
|
291
|
+
tags:
|
|
292
|
+
- Certifications
|
|
251
293
|
security:
|
|
252
294
|
- ApiKeyAuth: []
|
|
253
295
|
parameters:
|
|
254
|
-
- $ref:
|
|
296
|
+
- $ref: "#/components/parameters/AgentId"
|
|
255
297
|
requestBody:
|
|
256
298
|
required: true
|
|
257
299
|
content:
|
|
258
300
|
application/json:
|
|
259
301
|
schema:
|
|
260
|
-
$ref:
|
|
302
|
+
$ref: "#/components/schemas/CertificationRequest"
|
|
261
303
|
responses:
|
|
262
|
-
|
|
304
|
+
"201":
|
|
263
305
|
description: Certification added
|
|
264
306
|
content:
|
|
265
307
|
application/json:
|
|
266
308
|
schema:
|
|
267
|
-
$ref:
|
|
268
|
-
|
|
269
|
-
$ref:
|
|
270
|
-
|
|
271
|
-
$ref:
|
|
272
|
-
|
|
309
|
+
$ref: "#/components/schemas/Certification"
|
|
310
|
+
"400":
|
|
311
|
+
$ref: "#/components/responses/BadRequest"
|
|
312
|
+
"404":
|
|
313
|
+
$ref: "#/components/responses/NotFound"
|
|
314
|
+
x-ossa-capability: registry-add-certification
|
|
315
|
+
x-ossa-autonomy:
|
|
316
|
+
level: supervised
|
|
317
|
+
approval_required: true
|
|
318
|
+
description: Add certification
|
|
273
319
|
/agents/{agentId}/deploy:
|
|
274
320
|
post:
|
|
275
321
|
operationId: deployAgent
|
|
276
322
|
summary: Deploy agent to environment
|
|
277
|
-
tags:
|
|
323
|
+
tags:
|
|
324
|
+
- Deployment
|
|
278
325
|
security:
|
|
279
326
|
- ApiKeyAuth: []
|
|
280
327
|
parameters:
|
|
281
|
-
- $ref:
|
|
328
|
+
- $ref: "#/components/parameters/AgentId"
|
|
282
329
|
requestBody:
|
|
283
330
|
required: true
|
|
284
331
|
content:
|
|
285
332
|
application/json:
|
|
286
333
|
schema:
|
|
287
|
-
$ref:
|
|
334
|
+
$ref: "#/components/schemas/DeploymentRequest"
|
|
288
335
|
responses:
|
|
289
|
-
|
|
336
|
+
"202":
|
|
290
337
|
description: Deployment initiated
|
|
291
338
|
content:
|
|
292
339
|
application/json:
|
|
293
340
|
schema:
|
|
294
|
-
$ref:
|
|
295
|
-
|
|
296
|
-
$ref:
|
|
297
|
-
|
|
298
|
-
$ref:
|
|
299
|
-
|
|
341
|
+
$ref: "#/components/schemas/DeploymentStatus"
|
|
342
|
+
"400":
|
|
343
|
+
$ref: "#/components/responses/BadRequest"
|
|
344
|
+
"404":
|
|
345
|
+
$ref: "#/components/responses/NotFound"
|
|
346
|
+
x-ossa-capability: registry-deploy-agent
|
|
347
|
+
x-ossa-autonomy:
|
|
348
|
+
level: supervised
|
|
349
|
+
approval_required: true
|
|
350
|
+
description: Deploy agent to environment
|
|
300
351
|
/agents/{agentId}/health:
|
|
301
352
|
get:
|
|
302
353
|
operationId: getAgentHealth
|
|
303
354
|
summary: Get agent health metrics
|
|
304
|
-
tags:
|
|
355
|
+
tags:
|
|
356
|
+
- Health
|
|
305
357
|
security:
|
|
306
358
|
- ApiKeyAuth: []
|
|
307
359
|
parameters:
|
|
308
|
-
- $ref:
|
|
360
|
+
- $ref: "#/components/parameters/AgentId"
|
|
309
361
|
responses:
|
|
310
|
-
|
|
362
|
+
"200":
|
|
311
363
|
description: Health metrics
|
|
312
364
|
content:
|
|
313
365
|
application/json:
|
|
314
366
|
schema:
|
|
315
|
-
$ref:
|
|
316
|
-
|
|
317
|
-
$ref:
|
|
318
|
-
|
|
319
|
-
$ref:
|
|
320
|
-
|
|
367
|
+
$ref: "#/components/schemas/HealthMetrics"
|
|
368
|
+
"400":
|
|
369
|
+
$ref: "#/components/responses/BadRequest"
|
|
370
|
+
"404":
|
|
371
|
+
$ref: "#/components/responses/NotFound"
|
|
372
|
+
x-ossa-capability: registry-get-agent-health
|
|
373
|
+
description: Get agent health metrics
|
|
321
374
|
/compliance/validate:
|
|
322
375
|
post:
|
|
323
376
|
operationId: validateCompliance
|
|
324
377
|
summary: Validate agent compliance
|
|
325
|
-
tags:
|
|
378
|
+
tags:
|
|
379
|
+
- Compliance
|
|
326
380
|
security:
|
|
327
381
|
- ApiKeyAuth: []
|
|
328
382
|
requestBody:
|
|
@@ -330,28 +384,33 @@ paths:
|
|
|
330
384
|
content:
|
|
331
385
|
application/json:
|
|
332
386
|
schema:
|
|
333
|
-
$ref:
|
|
387
|
+
$ref: "#/components/schemas/ComplianceValidation"
|
|
334
388
|
responses:
|
|
335
|
-
|
|
389
|
+
"200":
|
|
336
390
|
description: Compliance validation result
|
|
337
391
|
content:
|
|
338
392
|
application/json:
|
|
339
393
|
schema:
|
|
340
|
-
$ref:
|
|
341
|
-
|
|
394
|
+
$ref: "#/components/schemas/ComplianceResult"
|
|
395
|
+
x-ossa-capability: registry-validate-compliance
|
|
396
|
+
x-ossa-autonomy:
|
|
397
|
+
level: supervised
|
|
398
|
+
approval_required: true
|
|
399
|
+
description: Validate agent compliance
|
|
342
400
|
/search:
|
|
343
401
|
post:
|
|
344
402
|
operationId: searchAgents
|
|
345
403
|
summary: Search agents
|
|
346
|
-
tags:
|
|
404
|
+
tags:
|
|
405
|
+
- Search
|
|
347
406
|
requestBody:
|
|
348
407
|
required: true
|
|
349
408
|
content:
|
|
350
409
|
application/json:
|
|
351
410
|
schema:
|
|
352
|
-
$ref:
|
|
411
|
+
$ref: "#/components/schemas/SearchQuery"
|
|
353
412
|
responses:
|
|
354
|
-
|
|
413
|
+
"200":
|
|
355
414
|
description: Search results
|
|
356
415
|
content:
|
|
357
416
|
application/json:
|
|
@@ -361,21 +420,24 @@ paths:
|
|
|
361
420
|
results:
|
|
362
421
|
type: array
|
|
363
422
|
items:
|
|
364
|
-
$ref:
|
|
423
|
+
$ref: "#/components/schemas/SearchResult"
|
|
365
424
|
facets:
|
|
366
425
|
type: object
|
|
367
426
|
additionalProperties:
|
|
368
427
|
type: array
|
|
369
428
|
items:
|
|
370
429
|
type: object
|
|
371
|
-
|
|
430
|
+
x-ossa-capability: registry-search-agents
|
|
431
|
+
x-ossa-autonomy:
|
|
432
|
+
level: supervised
|
|
433
|
+
approval_required: true
|
|
434
|
+
description: Search agents
|
|
372
435
|
components:
|
|
373
436
|
securitySchemes:
|
|
374
437
|
ApiKeyAuth:
|
|
375
438
|
type: apiKey
|
|
376
439
|
in: header
|
|
377
440
|
name: X-OSSA-API-Key
|
|
378
|
-
|
|
379
441
|
parameters:
|
|
380
442
|
AgentId:
|
|
381
443
|
name: agentId
|
|
@@ -383,8 +445,7 @@ components:
|
|
|
383
445
|
required: true
|
|
384
446
|
schema:
|
|
385
447
|
type: string
|
|
386
|
-
pattern:
|
|
387
|
-
|
|
448
|
+
pattern: ^[a-z0-9-]+$
|
|
388
449
|
schemas:
|
|
389
450
|
Agent:
|
|
390
451
|
type: object
|
|
@@ -399,20 +460,33 @@ components:
|
|
|
399
460
|
properties:
|
|
400
461
|
id:
|
|
401
462
|
type: string
|
|
402
|
-
pattern:
|
|
463
|
+
pattern: ^[a-z0-9-]+$
|
|
403
464
|
name:
|
|
404
465
|
type: string
|
|
405
466
|
description:
|
|
406
467
|
type: string
|
|
407
468
|
role:
|
|
408
469
|
type: string
|
|
409
|
-
enum:
|
|
470
|
+
enum:
|
|
471
|
+
- compliance
|
|
472
|
+
- chat
|
|
473
|
+
- orchestration
|
|
474
|
+
- audit
|
|
475
|
+
- workflow
|
|
476
|
+
- monitoring
|
|
477
|
+
- data_sync
|
|
478
|
+
- search
|
|
479
|
+
- custom
|
|
410
480
|
version:
|
|
411
481
|
type: string
|
|
412
|
-
pattern:
|
|
482
|
+
pattern: ^\d+\.\d+\.\d+$
|
|
413
483
|
status:
|
|
414
484
|
type: string
|
|
415
|
-
enum:
|
|
485
|
+
enum:
|
|
486
|
+
- active
|
|
487
|
+
- deprecated
|
|
488
|
+
- beta
|
|
489
|
+
- experimental
|
|
416
490
|
author:
|
|
417
491
|
type: object
|
|
418
492
|
properties:
|
|
@@ -434,7 +508,12 @@ components:
|
|
|
434
508
|
type: array
|
|
435
509
|
items:
|
|
436
510
|
type: string
|
|
437
|
-
enum:
|
|
511
|
+
enum:
|
|
512
|
+
- aws
|
|
513
|
+
- gcp
|
|
514
|
+
- azure
|
|
515
|
+
- local
|
|
516
|
+
- hybrid
|
|
438
517
|
regions:
|
|
439
518
|
type: array
|
|
440
519
|
items:
|
|
@@ -450,9 +529,14 @@ components:
|
|
|
450
529
|
type: array
|
|
451
530
|
items:
|
|
452
531
|
type: string
|
|
453
|
-
enum:
|
|
532
|
+
enum:
|
|
533
|
+
- fedramp
|
|
534
|
+
- iso27001
|
|
535
|
+
- soc2
|
|
536
|
+
- hipaa
|
|
537
|
+
- gdpr
|
|
454
538
|
metrics:
|
|
455
|
-
$ref:
|
|
539
|
+
$ref: "#/components/schemas/AgentMetrics"
|
|
456
540
|
certifications:
|
|
457
541
|
type: array
|
|
458
542
|
items:
|
|
@@ -465,7 +549,6 @@ components:
|
|
|
465
549
|
updatedAt:
|
|
466
550
|
type: string
|
|
467
551
|
format: date-time
|
|
468
|
-
|
|
469
552
|
AgentRegistration:
|
|
470
553
|
type: object
|
|
471
554
|
required:
|
|
@@ -480,10 +563,19 @@ components:
|
|
|
480
563
|
type: string
|
|
481
564
|
role:
|
|
482
565
|
type: string
|
|
483
|
-
enum:
|
|
566
|
+
enum:
|
|
567
|
+
- compliance
|
|
568
|
+
- chat
|
|
569
|
+
- orchestration
|
|
570
|
+
- audit
|
|
571
|
+
- workflow
|
|
572
|
+
- monitoring
|
|
573
|
+
- data_sync
|
|
574
|
+
- search
|
|
575
|
+
- custom
|
|
484
576
|
version:
|
|
485
577
|
type: string
|
|
486
|
-
pattern:
|
|
578
|
+
pattern: ^\d+\.\d+\.\d+$
|
|
487
579
|
manifest:
|
|
488
580
|
type: object
|
|
489
581
|
description: OSSA agent manifest
|
|
@@ -505,7 +597,6 @@ components:
|
|
|
505
597
|
type: object
|
|
506
598
|
signature:
|
|
507
599
|
type: string
|
|
508
|
-
|
|
509
600
|
AgentUpdate:
|
|
510
601
|
type: object
|
|
511
602
|
properties:
|
|
@@ -513,12 +604,15 @@ components:
|
|
|
513
604
|
type: string
|
|
514
605
|
status:
|
|
515
606
|
type: string
|
|
516
|
-
enum:
|
|
607
|
+
enum:
|
|
608
|
+
- active
|
|
609
|
+
- deprecated
|
|
610
|
+
- beta
|
|
611
|
+
- experimental
|
|
517
612
|
capabilities:
|
|
518
613
|
type: array
|
|
519
614
|
items:
|
|
520
615
|
type: string
|
|
521
|
-
|
|
522
616
|
AgentVersion:
|
|
523
617
|
type: object
|
|
524
618
|
required:
|
|
@@ -528,7 +622,7 @@ components:
|
|
|
528
622
|
properties:
|
|
529
623
|
version:
|
|
530
624
|
type: string
|
|
531
|
-
pattern:
|
|
625
|
+
pattern: ^\d+\.\d+\.\d+$
|
|
532
626
|
releaseDate:
|
|
533
627
|
type: string
|
|
534
628
|
format: date-time
|
|
@@ -540,7 +634,6 @@ components:
|
|
|
540
634
|
type: boolean
|
|
541
635
|
signature:
|
|
542
636
|
type: string
|
|
543
|
-
|
|
544
637
|
VersionPublish:
|
|
545
638
|
type: object
|
|
546
639
|
required:
|
|
@@ -549,7 +642,7 @@ components:
|
|
|
549
642
|
properties:
|
|
550
643
|
version:
|
|
551
644
|
type: string
|
|
552
|
-
pattern:
|
|
645
|
+
pattern: ^\d+\.\d+\.\d+$
|
|
553
646
|
changelog:
|
|
554
647
|
type: string
|
|
555
648
|
manifest:
|
|
@@ -558,7 +651,6 @@ components:
|
|
|
558
651
|
type: boolean
|
|
559
652
|
signature:
|
|
560
653
|
type: string
|
|
561
|
-
|
|
562
654
|
Certification:
|
|
563
655
|
type: object
|
|
564
656
|
required:
|
|
@@ -568,7 +660,13 @@ components:
|
|
|
568
660
|
properties:
|
|
569
661
|
type:
|
|
570
662
|
type: string
|
|
571
|
-
enum:
|
|
663
|
+
enum:
|
|
664
|
+
- fedramp
|
|
665
|
+
- iso27001
|
|
666
|
+
- soc2
|
|
667
|
+
- hipaa
|
|
668
|
+
- gdpr
|
|
669
|
+
- custom
|
|
572
670
|
issuedAt:
|
|
573
671
|
type: string
|
|
574
672
|
format: date-time
|
|
@@ -582,7 +680,6 @@ components:
|
|
|
582
680
|
format: uri
|
|
583
681
|
verified:
|
|
584
682
|
type: boolean
|
|
585
|
-
|
|
586
683
|
CertificationRequest:
|
|
587
684
|
type: object
|
|
588
685
|
required:
|
|
@@ -591,14 +688,19 @@ components:
|
|
|
591
688
|
properties:
|
|
592
689
|
type:
|
|
593
690
|
type: string
|
|
594
|
-
enum:
|
|
691
|
+
enum:
|
|
692
|
+
- fedramp
|
|
693
|
+
- iso27001
|
|
694
|
+
- soc2
|
|
695
|
+
- hipaa
|
|
696
|
+
- gdpr
|
|
697
|
+
- custom
|
|
595
698
|
expiresAt:
|
|
596
699
|
type: string
|
|
597
700
|
format: date-time
|
|
598
701
|
certificateUrl:
|
|
599
702
|
type: string
|
|
600
703
|
format: uri
|
|
601
|
-
|
|
602
704
|
DeploymentRequest:
|
|
603
705
|
type: object
|
|
604
706
|
required:
|
|
@@ -607,10 +709,18 @@ components:
|
|
|
607
709
|
properties:
|
|
608
710
|
environment:
|
|
609
711
|
type: string
|
|
610
|
-
enum:
|
|
712
|
+
enum:
|
|
713
|
+
- development
|
|
714
|
+
- staging
|
|
715
|
+
- production
|
|
611
716
|
cloud:
|
|
612
717
|
type: string
|
|
613
|
-
enum:
|
|
718
|
+
enum:
|
|
719
|
+
- aws
|
|
720
|
+
- gcp
|
|
721
|
+
- azure
|
|
722
|
+
- local
|
|
723
|
+
- hybrid
|
|
614
724
|
region:
|
|
615
725
|
type: string
|
|
616
726
|
namespace:
|
|
@@ -618,7 +728,6 @@ components:
|
|
|
618
728
|
config:
|
|
619
729
|
type: object
|
|
620
730
|
additionalProperties: true
|
|
621
|
-
|
|
622
731
|
DeploymentStatus:
|
|
623
732
|
type: object
|
|
624
733
|
required:
|
|
@@ -630,7 +739,12 @@ components:
|
|
|
630
739
|
type: string
|
|
631
740
|
status:
|
|
632
741
|
type: string
|
|
633
|
-
enum:
|
|
742
|
+
enum:
|
|
743
|
+
- pending
|
|
744
|
+
- deploying
|
|
745
|
+
- deployed
|
|
746
|
+
- failed
|
|
747
|
+
- rollback
|
|
634
748
|
startedAt:
|
|
635
749
|
type: string
|
|
636
750
|
format: date-time
|
|
@@ -643,7 +757,6 @@ components:
|
|
|
643
757
|
type: array
|
|
644
758
|
items:
|
|
645
759
|
type: string
|
|
646
|
-
|
|
647
760
|
HealthMetrics:
|
|
648
761
|
type: object
|
|
649
762
|
required:
|
|
@@ -675,7 +788,6 @@ components:
|
|
|
675
788
|
type: boolean
|
|
676
789
|
soc2:
|
|
677
790
|
type: boolean
|
|
678
|
-
|
|
679
791
|
AgentMetrics:
|
|
680
792
|
type: object
|
|
681
793
|
properties:
|
|
@@ -691,7 +803,6 @@ components:
|
|
|
691
803
|
type: number
|
|
692
804
|
minimum: 0
|
|
693
805
|
maximum: 1
|
|
694
|
-
|
|
695
806
|
ComplianceValidation:
|
|
696
807
|
type: object
|
|
697
808
|
required:
|
|
@@ -704,8 +815,12 @@ components:
|
|
|
704
815
|
type: array
|
|
705
816
|
items:
|
|
706
817
|
type: string
|
|
707
|
-
enum:
|
|
708
|
-
|
|
818
|
+
enum:
|
|
819
|
+
- fedramp
|
|
820
|
+
- iso27001
|
|
821
|
+
- soc2
|
|
822
|
+
- hipaa
|
|
823
|
+
- gdpr
|
|
709
824
|
ComplianceResult:
|
|
710
825
|
type: object
|
|
711
826
|
required:
|
|
@@ -731,7 +846,6 @@ components:
|
|
|
731
846
|
type: array
|
|
732
847
|
items:
|
|
733
848
|
type: string
|
|
734
|
-
|
|
735
849
|
SearchQuery:
|
|
736
850
|
type: object
|
|
737
851
|
properties:
|
|
@@ -756,20 +870,22 @@ components:
|
|
|
756
870
|
type: boolean
|
|
757
871
|
sort:
|
|
758
872
|
type: string
|
|
759
|
-
enum:
|
|
873
|
+
enum:
|
|
874
|
+
- relevance
|
|
875
|
+
- downloads
|
|
876
|
+
- health
|
|
877
|
+
- recent
|
|
760
878
|
page:
|
|
761
879
|
type: integer
|
|
762
880
|
limit:
|
|
763
881
|
type: integer
|
|
764
|
-
|
|
765
882
|
SearchResult:
|
|
766
883
|
type: object
|
|
767
884
|
properties:
|
|
768
885
|
agent:
|
|
769
|
-
$ref:
|
|
886
|
+
$ref: "#/components/schemas/Agent"
|
|
770
887
|
relevance:
|
|
771
888
|
type: number
|
|
772
|
-
|
|
773
889
|
Pagination:
|
|
774
890
|
type: object
|
|
775
891
|
required:
|
|
@@ -785,7 +901,6 @@ components:
|
|
|
785
901
|
type: integer
|
|
786
902
|
pages:
|
|
787
903
|
type: integer
|
|
788
|
-
|
|
789
904
|
Error:
|
|
790
905
|
type: object
|
|
791
906
|
required:
|
|
@@ -800,25 +915,50 @@ components:
|
|
|
800
915
|
type: string
|
|
801
916
|
details:
|
|
802
917
|
type: object
|
|
803
|
-
|
|
804
918
|
responses:
|
|
805
919
|
BadRequest:
|
|
806
920
|
description: Bad request
|
|
807
921
|
content:
|
|
808
922
|
application/json:
|
|
809
923
|
schema:
|
|
810
|
-
$ref:
|
|
811
|
-
|
|
924
|
+
$ref: "#/components/schemas/Error"
|
|
812
925
|
Unauthorized:
|
|
813
926
|
description: Unauthorized
|
|
814
927
|
content:
|
|
815
928
|
application/json:
|
|
816
929
|
schema:
|
|
817
|
-
$ref:
|
|
818
|
-
|
|
930
|
+
$ref: "#/components/schemas/Error"
|
|
819
931
|
NotFound:
|
|
820
932
|
description: Not found
|
|
821
933
|
content:
|
|
822
934
|
application/json:
|
|
823
935
|
schema:
|
|
824
|
-
$ref:
|
|
936
|
+
$ref: "#/components/schemas/Error"
|
|
937
|
+
x-ossa-metadata:
|
|
938
|
+
version: 0.3.3
|
|
939
|
+
compliance:
|
|
940
|
+
level: standard
|
|
941
|
+
observability:
|
|
942
|
+
tracing: true
|
|
943
|
+
metrics: true
|
|
944
|
+
logging: true
|
|
945
|
+
x-ossa:
|
|
946
|
+
version: 0.5.0
|
|
947
|
+
agent:
|
|
948
|
+
id: ossa-registry
|
|
949
|
+
type: gateway
|
|
950
|
+
tags:
|
|
951
|
+
- name: Agents
|
|
952
|
+
description: Agents operations
|
|
953
|
+
- name: Certifications
|
|
954
|
+
description: Certifications operations
|
|
955
|
+
- name: Compliance
|
|
956
|
+
description: Compliance operations
|
|
957
|
+
- name: Deployment
|
|
958
|
+
description: Deployment operations
|
|
959
|
+
- name: Health
|
|
960
|
+
description: Health operations
|
|
961
|
+
- name: Search
|
|
962
|
+
description: Search operations
|
|
963
|
+
- name: Versions
|
|
964
|
+
description: Versions operations
|