@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
|
@@ -4,7 +4,7 @@ info:
|
|
|
4
4
|
version: 0.3.3
|
|
5
5
|
description: |
|
|
6
6
|
**Single Entry Point for All LLM Platform Agents**
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
This gateway provides a unified OpenAPI interface for:
|
|
9
9
|
- OSSA-compliant agents (validation, deployment, orchestration)
|
|
10
10
|
- Drupal llm-platform (content, users, sites, data management)
|
|
@@ -13,7 +13,7 @@ info:
|
|
|
13
13
|
- Langflow/LangChain/K-Agent workflows
|
|
14
14
|
- BuildKit (agent lifecycle management)
|
|
15
15
|
- GitLab CI/CD orchestration
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
**Architecture**:
|
|
18
18
|
- Protocol: HTTP/REST + gRPC (agent-mesh)
|
|
19
19
|
- Auth: API Key + JWT (GitLab SSO)
|
|
@@ -21,25 +21,20 @@ info:
|
|
|
21
21
|
- Tracing: Phoenix (all requests)
|
|
22
22
|
- Metrics: Prometheus
|
|
23
23
|
- Storage: Drupal llm-platform (single source of truth)
|
|
24
|
-
|
|
25
24
|
contact:
|
|
26
25
|
name: LLM Platform Team
|
|
27
26
|
url: https://github.com/blueflyio/openstandardagents
|
|
28
|
-
|
|
29
27
|
license:
|
|
30
28
|
name: MIT
|
|
31
29
|
url: https://opensource.org/licenses/MIT
|
|
32
|
-
|
|
33
30
|
servers:
|
|
34
31
|
- url: https://gateway.agent-buildkit.orb.local/api/v1
|
|
35
32
|
description: Production
|
|
36
33
|
- url: http://localhost:8080/api/v1
|
|
37
34
|
description: Local development (Orbstack)
|
|
38
|
-
|
|
39
35
|
security:
|
|
40
36
|
- ApiKeyAuth: []
|
|
41
37
|
- GitLabJWT: []
|
|
42
|
-
|
|
43
38
|
tags:
|
|
44
39
|
- name: agents
|
|
45
40
|
description: Agent lifecycle management (create, deploy, scale, delete)
|
|
@@ -53,15 +48,11 @@ tags:
|
|
|
53
48
|
description: GitLab CI/CD orchestration
|
|
54
49
|
- name: registry
|
|
55
50
|
description: Service discovery and health monitoring
|
|
56
|
-
|
|
57
51
|
paths:
|
|
58
|
-
# =================================================================
|
|
59
|
-
# AGENTS - Unified Agent Management
|
|
60
|
-
# =================================================================
|
|
61
|
-
|
|
62
52
|
/agents:
|
|
63
53
|
post:
|
|
64
|
-
tags:
|
|
54
|
+
tags:
|
|
55
|
+
- agents
|
|
65
56
|
summary: Create and deploy new agent
|
|
66
57
|
description: |
|
|
67
58
|
Creates an OSSA-compliant agent and deploys to K8s via Helm.
|
|
@@ -72,105 +63,123 @@ paths:
|
|
|
72
63
|
content:
|
|
73
64
|
application/json:
|
|
74
65
|
schema:
|
|
75
|
-
$ref:
|
|
66
|
+
$ref: "#/components/schemas/CreateAgentRequest"
|
|
76
67
|
responses:
|
|
77
|
-
|
|
68
|
+
"201":
|
|
78
69
|
description: Agent created and deployed
|
|
79
70
|
content:
|
|
80
71
|
application/json:
|
|
81
72
|
schema:
|
|
82
|
-
$ref:
|
|
83
|
-
|
|
73
|
+
$ref: "#/components/schemas/AgentResponse"
|
|
74
|
+
x-ossa-capability: gateway-create-agent
|
|
75
|
+
x-ossa-autonomy:
|
|
76
|
+
level: supervised
|
|
77
|
+
approval_required: true
|
|
84
78
|
get:
|
|
85
|
-
tags:
|
|
79
|
+
tags:
|
|
80
|
+
- agents
|
|
86
81
|
summary: List all agents
|
|
87
82
|
operationId: listAgents
|
|
88
83
|
parameters:
|
|
89
|
-
- $ref:
|
|
90
|
-
- $ref:
|
|
91
|
-
- $ref:
|
|
84
|
+
- $ref: "#/components/parameters/Namespace"
|
|
85
|
+
- $ref: "#/components/parameters/Status"
|
|
86
|
+
- $ref: "#/components/parameters/Framework"
|
|
92
87
|
responses:
|
|
93
|
-
|
|
88
|
+
"200":
|
|
94
89
|
description: List of agents
|
|
95
90
|
content:
|
|
96
91
|
application/json:
|
|
97
92
|
schema:
|
|
98
|
-
$ref:
|
|
99
|
-
|
|
93
|
+
$ref: "#/components/schemas/AgentList"
|
|
94
|
+
x-ossa-capability: gateway-list-agents
|
|
95
|
+
description: List all agents
|
|
100
96
|
/agents/{agentId}:
|
|
101
97
|
get:
|
|
102
|
-
tags:
|
|
98
|
+
tags:
|
|
99
|
+
- agents
|
|
103
100
|
summary: Get agent details
|
|
104
101
|
operationId: getAgent
|
|
105
102
|
parameters:
|
|
106
|
-
- $ref:
|
|
103
|
+
- $ref: "#/components/parameters/AgentId"
|
|
107
104
|
responses:
|
|
108
|
-
|
|
105
|
+
"200":
|
|
109
106
|
description: Agent details
|
|
110
107
|
content:
|
|
111
108
|
application/json:
|
|
112
109
|
schema:
|
|
113
|
-
$ref:
|
|
114
|
-
|
|
110
|
+
$ref: "#/components/schemas/AgentDetails"
|
|
111
|
+
x-ossa-capability: gateway-get-agent
|
|
112
|
+
description: Get agent details
|
|
115
113
|
put:
|
|
116
|
-
tags:
|
|
114
|
+
tags:
|
|
115
|
+
- agents
|
|
117
116
|
summary: Update agent
|
|
118
117
|
operationId: updateAgent
|
|
119
118
|
parameters:
|
|
120
|
-
- $ref:
|
|
119
|
+
- $ref: "#/components/parameters/AgentId"
|
|
121
120
|
requestBody:
|
|
122
121
|
required: true
|
|
123
122
|
content:
|
|
124
123
|
application/json:
|
|
125
124
|
schema:
|
|
126
|
-
$ref:
|
|
125
|
+
$ref: "#/components/schemas/UpdateAgentRequest"
|
|
127
126
|
responses:
|
|
128
|
-
|
|
127
|
+
"200":
|
|
129
128
|
description: Agent updated
|
|
130
129
|
content:
|
|
131
130
|
application/json:
|
|
132
131
|
schema:
|
|
133
|
-
$ref:
|
|
134
|
-
|
|
132
|
+
$ref: "#/components/schemas/AgentResponse"
|
|
133
|
+
x-ossa-capability: gateway-update-agent
|
|
134
|
+
x-ossa-autonomy:
|
|
135
|
+
level: supervised
|
|
136
|
+
approval_required: true
|
|
137
|
+
description: Update agent
|
|
135
138
|
delete:
|
|
136
|
-
tags:
|
|
139
|
+
tags:
|
|
140
|
+
- agents
|
|
137
141
|
summary: Delete agent
|
|
138
142
|
operationId: deleteAgent
|
|
139
143
|
parameters:
|
|
140
|
-
- $ref:
|
|
144
|
+
- $ref: "#/components/parameters/AgentId"
|
|
141
145
|
responses:
|
|
142
|
-
|
|
146
|
+
"204":
|
|
143
147
|
description: Agent deleted
|
|
144
|
-
|
|
148
|
+
x-ossa-capability: gateway-delete-agent
|
|
149
|
+
x-ossa-autonomy:
|
|
150
|
+
level: supervised
|
|
151
|
+
approval_required: true
|
|
152
|
+
description: Delete agent
|
|
145
153
|
/agents/{agentId}/execute:
|
|
146
154
|
post:
|
|
147
|
-
tags:
|
|
155
|
+
tags:
|
|
156
|
+
- agents
|
|
148
157
|
summary: Execute agent task
|
|
149
158
|
description: Send task to agent and get response
|
|
150
159
|
operationId: executeAgentTask
|
|
151
160
|
parameters:
|
|
152
|
-
- $ref:
|
|
161
|
+
- $ref: "#/components/parameters/AgentId"
|
|
153
162
|
requestBody:
|
|
154
163
|
required: true
|
|
155
164
|
content:
|
|
156
165
|
application/json:
|
|
157
166
|
schema:
|
|
158
|
-
$ref:
|
|
167
|
+
$ref: "#/components/schemas/AgentTaskRequest"
|
|
159
168
|
responses:
|
|
160
|
-
|
|
169
|
+
"200":
|
|
161
170
|
description: Task executed
|
|
162
171
|
content:
|
|
163
172
|
application/json:
|
|
164
173
|
schema:
|
|
165
|
-
$ref:
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
174
|
+
$ref: "#/components/schemas/AgentTaskResponse"
|
|
175
|
+
x-ossa-capability: gateway-execute-agent-task
|
|
176
|
+
x-ossa-autonomy:
|
|
177
|
+
level: supervised
|
|
178
|
+
approval_required: true
|
|
171
179
|
/drupal/content:
|
|
172
180
|
post:
|
|
173
|
-
tags:
|
|
181
|
+
tags:
|
|
182
|
+
- drupal
|
|
174
183
|
summary: Create Drupal content
|
|
175
184
|
description: Create content node via llm-platform API
|
|
176
185
|
operationId: createDrupalContent
|
|
@@ -179,17 +188,21 @@ paths:
|
|
|
179
188
|
content:
|
|
180
189
|
application/json:
|
|
181
190
|
schema:
|
|
182
|
-
$ref:
|
|
191
|
+
$ref: "#/components/schemas/DrupalContentRequest"
|
|
183
192
|
responses:
|
|
184
|
-
|
|
193
|
+
"201":
|
|
185
194
|
description: Content created
|
|
186
195
|
content:
|
|
187
196
|
application/json:
|
|
188
197
|
schema:
|
|
189
|
-
$ref:
|
|
190
|
-
|
|
198
|
+
$ref: "#/components/schemas/DrupalContentResponse"
|
|
199
|
+
x-ossa-capability: gateway-create-drupal-content
|
|
200
|
+
x-ossa-autonomy:
|
|
201
|
+
level: supervised
|
|
202
|
+
approval_required: true
|
|
191
203
|
get:
|
|
192
|
-
tags:
|
|
204
|
+
tags:
|
|
205
|
+
- drupal
|
|
193
206
|
summary: Query Drupal content
|
|
194
207
|
operationId: queryDrupalContent
|
|
195
208
|
parameters:
|
|
@@ -201,20 +214,25 @@ paths:
|
|
|
201
214
|
in: query
|
|
202
215
|
schema:
|
|
203
216
|
type: string
|
|
204
|
-
enum:
|
|
217
|
+
enum:
|
|
218
|
+
- published
|
|
219
|
+
- draft
|
|
220
|
+
- archived
|
|
205
221
|
responses:
|
|
206
|
-
|
|
222
|
+
"200":
|
|
207
223
|
description: Content list
|
|
208
224
|
content:
|
|
209
225
|
application/json:
|
|
210
226
|
schema:
|
|
211
227
|
type: array
|
|
212
228
|
items:
|
|
213
|
-
$ref:
|
|
214
|
-
|
|
229
|
+
$ref: "#/components/schemas/DrupalContentResponse"
|
|
230
|
+
x-ossa-capability: gateway-query-drupal-content
|
|
231
|
+
description: Query Drupal content
|
|
215
232
|
/drupal/users:
|
|
216
233
|
post:
|
|
217
|
-
tags:
|
|
234
|
+
tags:
|
|
235
|
+
- drupal
|
|
218
236
|
summary: Create Drupal user
|
|
219
237
|
operationId: createDrupalUser
|
|
220
238
|
requestBody:
|
|
@@ -222,22 +240,29 @@ paths:
|
|
|
222
240
|
content:
|
|
223
241
|
application/json:
|
|
224
242
|
schema:
|
|
225
|
-
$ref:
|
|
243
|
+
$ref: "#/components/schemas/DrupalUserRequest"
|
|
226
244
|
responses:
|
|
227
|
-
|
|
245
|
+
"201":
|
|
228
246
|
description: User created
|
|
229
|
-
|
|
247
|
+
x-ossa-capability: gateway-create-drupal-user
|
|
248
|
+
x-ossa-autonomy:
|
|
249
|
+
level: supervised
|
|
250
|
+
approval_required: true
|
|
251
|
+
description: Create Drupal user
|
|
230
252
|
get:
|
|
231
|
-
tags:
|
|
253
|
+
tags:
|
|
254
|
+
- drupal
|
|
232
255
|
summary: List users
|
|
233
256
|
operationId: listDrupalUsers
|
|
234
257
|
responses:
|
|
235
|
-
|
|
258
|
+
"200":
|
|
236
259
|
description: User list
|
|
237
|
-
|
|
260
|
+
x-ossa-capability: gateway-list-drupal-users
|
|
261
|
+
description: List users
|
|
238
262
|
/drupal/sites:
|
|
239
263
|
post:
|
|
240
|
-
tags:
|
|
264
|
+
tags:
|
|
265
|
+
- drupal
|
|
241
266
|
summary: Build new Drupal site
|
|
242
267
|
description: Agent creates complete Drupal site with modules/config
|
|
243
268
|
operationId: buildDrupalSite
|
|
@@ -246,22 +271,22 @@ paths:
|
|
|
246
271
|
content:
|
|
247
272
|
application/json:
|
|
248
273
|
schema:
|
|
249
|
-
$ref:
|
|
274
|
+
$ref: "#/components/schemas/DrupalSiteRequest"
|
|
250
275
|
responses:
|
|
251
|
-
|
|
276
|
+
"202":
|
|
252
277
|
description: Site creation started
|
|
253
278
|
content:
|
|
254
279
|
application/json:
|
|
255
280
|
schema:
|
|
256
|
-
$ref:
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
281
|
+
$ref: "#/components/schemas/DrupalJobResponse"
|
|
282
|
+
x-ossa-capability: gateway-build-drupal-site
|
|
283
|
+
x-ossa-autonomy:
|
|
284
|
+
level: supervised
|
|
285
|
+
approval_required: true
|
|
262
286
|
/workflows:
|
|
263
287
|
post:
|
|
264
|
-
tags:
|
|
288
|
+
tags:
|
|
289
|
+
- workflows
|
|
265
290
|
summary: Create workflow
|
|
266
291
|
description: Create Langflow or LangChain workflow
|
|
267
292
|
operationId: createWorkflow
|
|
@@ -270,13 +295,17 @@ paths:
|
|
|
270
295
|
content:
|
|
271
296
|
application/json:
|
|
272
297
|
schema:
|
|
273
|
-
$ref:
|
|
298
|
+
$ref: "#/components/schemas/WorkflowRequest"
|
|
274
299
|
responses:
|
|
275
|
-
|
|
300
|
+
"201":
|
|
276
301
|
description: Workflow created
|
|
277
|
-
|
|
302
|
+
x-ossa-capability: gateway-create-workflow
|
|
303
|
+
x-ossa-autonomy:
|
|
304
|
+
level: supervised
|
|
305
|
+
approval_required: true
|
|
278
306
|
get:
|
|
279
|
-
tags:
|
|
307
|
+
tags:
|
|
308
|
+
- workflows
|
|
280
309
|
summary: List workflows
|
|
281
310
|
operationId: listWorkflows
|
|
282
311
|
parameters:
|
|
@@ -284,14 +313,19 @@ paths:
|
|
|
284
313
|
in: query
|
|
285
314
|
schema:
|
|
286
315
|
type: string
|
|
287
|
-
enum:
|
|
316
|
+
enum:
|
|
317
|
+
- langflow
|
|
318
|
+
- langchain
|
|
319
|
+
- kagent
|
|
288
320
|
responses:
|
|
289
|
-
|
|
321
|
+
"200":
|
|
290
322
|
description: Workflow list
|
|
291
|
-
|
|
323
|
+
x-ossa-capability: gateway-list-workflows
|
|
324
|
+
description: List workflows
|
|
292
325
|
/workflows/{workflowId}/execute:
|
|
293
326
|
post:
|
|
294
|
-
tags:
|
|
327
|
+
tags:
|
|
328
|
+
- workflows
|
|
295
329
|
summary: Execute workflow
|
|
296
330
|
operationId: executeWorkflow
|
|
297
331
|
parameters:
|
|
@@ -311,16 +345,17 @@ paths:
|
|
|
311
345
|
type: object
|
|
312
346
|
additionalProperties: true
|
|
313
347
|
responses:
|
|
314
|
-
|
|
348
|
+
"200":
|
|
315
349
|
description: Workflow executed
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
350
|
+
x-ossa-capability: gateway-execute-workflow
|
|
351
|
+
x-ossa-autonomy:
|
|
352
|
+
level: supervised
|
|
353
|
+
approval_required: true
|
|
354
|
+
description: Execute workflow
|
|
321
355
|
/studio/sessions:
|
|
322
356
|
post:
|
|
323
|
-
tags:
|
|
357
|
+
tags:
|
|
358
|
+
- studio
|
|
324
359
|
summary: Create remote coding session
|
|
325
360
|
description: |
|
|
326
361
|
Creates coding session accessible from iOS/CarPlay.
|
|
@@ -331,26 +366,32 @@ paths:
|
|
|
331
366
|
content:
|
|
332
367
|
application/json:
|
|
333
368
|
schema:
|
|
334
|
-
$ref:
|
|
369
|
+
$ref: "#/components/schemas/StudioSessionRequest"
|
|
335
370
|
responses:
|
|
336
|
-
|
|
371
|
+
"201":
|
|
337
372
|
description: Session created
|
|
338
373
|
content:
|
|
339
374
|
application/json:
|
|
340
375
|
schema:
|
|
341
|
-
$ref:
|
|
342
|
-
|
|
376
|
+
$ref: "#/components/schemas/StudioSessionResponse"
|
|
377
|
+
x-ossa-capability: gateway-create-studio-session
|
|
378
|
+
x-ossa-autonomy:
|
|
379
|
+
level: supervised
|
|
380
|
+
approval_required: true
|
|
343
381
|
get:
|
|
344
|
-
tags:
|
|
382
|
+
tags:
|
|
383
|
+
- studio
|
|
345
384
|
summary: List active sessions
|
|
346
385
|
operationId: listStudioSessions
|
|
347
386
|
responses:
|
|
348
|
-
|
|
387
|
+
"200":
|
|
349
388
|
description: Active sessions
|
|
350
|
-
|
|
389
|
+
x-ossa-capability: gateway-list-studio-sessions
|
|
390
|
+
description: List active sessions
|
|
351
391
|
/studio/sessions/{sessionId}/tasks:
|
|
352
392
|
post:
|
|
353
|
-
tags:
|
|
393
|
+
tags:
|
|
394
|
+
- studio
|
|
354
395
|
summary: Queue task for agent
|
|
355
396
|
description: Queue coding task to run while you're mobile
|
|
356
397
|
operationId: queueStudioTask
|
|
@@ -365,18 +406,18 @@ paths:
|
|
|
365
406
|
content:
|
|
366
407
|
application/json:
|
|
367
408
|
schema:
|
|
368
|
-
$ref:
|
|
409
|
+
$ref: "#/components/schemas/StudioTaskRequest"
|
|
369
410
|
responses:
|
|
370
|
-
|
|
411
|
+
"202":
|
|
371
412
|
description: Task queued
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
413
|
+
x-ossa-capability: gateway-queue-studio-task
|
|
414
|
+
x-ossa-autonomy:
|
|
415
|
+
level: supervised
|
|
416
|
+
approval_required: true
|
|
377
417
|
/gitlab/pipelines:
|
|
378
418
|
post:
|
|
379
|
-
tags:
|
|
419
|
+
tags:
|
|
420
|
+
- gitlab
|
|
380
421
|
summary: Trigger pipeline for project
|
|
381
422
|
operationId: triggerPipeline
|
|
382
423
|
requestBody:
|
|
@@ -384,22 +425,29 @@ paths:
|
|
|
384
425
|
content:
|
|
385
426
|
application/json:
|
|
386
427
|
schema:
|
|
387
|
-
$ref:
|
|
428
|
+
$ref: "#/components/schemas/GitLabPipelineRequest"
|
|
388
429
|
responses:
|
|
389
|
-
|
|
430
|
+
"202":
|
|
390
431
|
description: Pipeline triggered
|
|
391
|
-
|
|
432
|
+
x-ossa-capability: gateway-trigger-pipeline
|
|
433
|
+
x-ossa-autonomy:
|
|
434
|
+
level: supervised
|
|
435
|
+
approval_required: true
|
|
436
|
+
description: Trigger pipeline for project
|
|
392
437
|
get:
|
|
393
|
-
tags:
|
|
438
|
+
tags:
|
|
439
|
+
- gitlab
|
|
394
440
|
summary: List pipelines
|
|
395
441
|
operationId: listPipelines
|
|
396
442
|
responses:
|
|
397
|
-
|
|
443
|
+
"200":
|
|
398
444
|
description: Pipeline list
|
|
399
|
-
|
|
445
|
+
x-ossa-capability: gateway-list-pipelines
|
|
446
|
+
description: List pipelines
|
|
400
447
|
/gitlab/packages:
|
|
401
448
|
get:
|
|
402
|
-
tags:
|
|
449
|
+
tags:
|
|
450
|
+
- gitlab
|
|
403
451
|
summary: List available packages
|
|
404
452
|
description: Query package registry
|
|
405
453
|
operationId: listGitLabPackages
|
|
@@ -410,22 +458,19 @@ paths:
|
|
|
410
458
|
type: string
|
|
411
459
|
example: "@llm"
|
|
412
460
|
responses:
|
|
413
|
-
|
|
461
|
+
"200":
|
|
414
462
|
description: Package list
|
|
415
463
|
content:
|
|
416
464
|
application/json:
|
|
417
465
|
schema:
|
|
418
466
|
type: array
|
|
419
467
|
items:
|
|
420
|
-
$ref:
|
|
421
|
-
|
|
422
|
-
# =================================================================
|
|
423
|
-
# REGISTRY - Service Discovery
|
|
424
|
-
# =================================================================
|
|
425
|
-
|
|
468
|
+
$ref: "#/components/schemas/GitLabPackage"
|
|
469
|
+
x-ossa-capability: gateway-list-git-lab-packages
|
|
426
470
|
/registry/discover:
|
|
427
471
|
get:
|
|
428
|
-
tags:
|
|
472
|
+
tags:
|
|
473
|
+
- registry
|
|
429
474
|
summary: Discover services
|
|
430
475
|
description: Query agent-router for available services/agents
|
|
431
476
|
operationId: discoverServices
|
|
@@ -439,27 +484,25 @@ paths:
|
|
|
439
484
|
schema:
|
|
440
485
|
type: string
|
|
441
486
|
responses:
|
|
442
|
-
|
|
487
|
+
"200":
|
|
443
488
|
description: Discovered services
|
|
444
489
|
content:
|
|
445
490
|
application/json:
|
|
446
491
|
schema:
|
|
447
492
|
type: array
|
|
448
493
|
items:
|
|
449
|
-
$ref:
|
|
450
|
-
|
|
494
|
+
$ref: "#/components/schemas/ServiceEndpoint"
|
|
495
|
+
x-ossa-capability: gateway-discover-services
|
|
451
496
|
components:
|
|
452
497
|
securitySchemes:
|
|
453
498
|
ApiKeyAuth:
|
|
454
499
|
type: apiKey
|
|
455
500
|
in: header
|
|
456
501
|
name: X-API-Key
|
|
457
|
-
|
|
458
502
|
GitLabJWT:
|
|
459
503
|
type: http
|
|
460
504
|
scheme: bearer
|
|
461
505
|
bearerFormat: JWT
|
|
462
|
-
|
|
463
506
|
parameters:
|
|
464
507
|
AgentId:
|
|
465
508
|
name: agentId
|
|
@@ -467,28 +510,32 @@ components:
|
|
|
467
510
|
required: true
|
|
468
511
|
schema:
|
|
469
512
|
type: string
|
|
470
|
-
|
|
471
513
|
Namespace:
|
|
472
514
|
name: namespace
|
|
473
515
|
in: query
|
|
474
516
|
schema:
|
|
475
517
|
type: string
|
|
476
518
|
default: agents
|
|
477
|
-
|
|
478
519
|
Status:
|
|
479
520
|
name: status
|
|
480
521
|
in: query
|
|
481
522
|
schema:
|
|
482
523
|
type: string
|
|
483
|
-
enum:
|
|
484
|
-
|
|
524
|
+
enum:
|
|
525
|
+
- running
|
|
526
|
+
- stopped
|
|
527
|
+
- error
|
|
485
528
|
Framework:
|
|
486
529
|
name: framework
|
|
487
530
|
in: query
|
|
488
531
|
schema:
|
|
489
532
|
type: string
|
|
490
|
-
enum:
|
|
491
|
-
|
|
533
|
+
enum:
|
|
534
|
+
- ossa
|
|
535
|
+
- langflow
|
|
536
|
+
- langchain
|
|
537
|
+
- kagent
|
|
538
|
+
- drupal
|
|
492
539
|
schemas:
|
|
493
540
|
CreateAgentRequest:
|
|
494
541
|
type: object
|
|
@@ -500,10 +547,13 @@ components:
|
|
|
500
547
|
type: string
|
|
501
548
|
format: uri
|
|
502
549
|
description: URL to OSSA manifest in GitLab
|
|
503
|
-
example:
|
|
550
|
+
example: https://github.com/blueflyio/openstandardagents/blob/main/examples/getting-started/hello-world-complete.ossa.yaml
|
|
504
551
|
deployment_target:
|
|
505
552
|
type: string
|
|
506
|
-
enum:
|
|
553
|
+
enum:
|
|
554
|
+
- kubernetes
|
|
555
|
+
- docker
|
|
556
|
+
- serverless
|
|
507
557
|
namespace:
|
|
508
558
|
type: string
|
|
509
559
|
default: agents
|
|
@@ -514,7 +564,6 @@ components:
|
|
|
514
564
|
type: string
|
|
515
565
|
description: GitLab package to use (if available)
|
|
516
566
|
example: "@llm/supercali-fragilisticagent@1.0.0"
|
|
517
|
-
|
|
518
567
|
AgentResponse:
|
|
519
568
|
type: object
|
|
520
569
|
properties:
|
|
@@ -524,7 +573,10 @@ components:
|
|
|
524
573
|
type: string
|
|
525
574
|
status:
|
|
526
575
|
type: string
|
|
527
|
-
enum:
|
|
576
|
+
enum:
|
|
577
|
+
- deploying
|
|
578
|
+
- running
|
|
579
|
+
- error
|
|
528
580
|
endpoints:
|
|
529
581
|
type: object
|
|
530
582
|
properties:
|
|
@@ -542,17 +594,15 @@ components:
|
|
|
542
594
|
format: uri
|
|
543
595
|
helm_release:
|
|
544
596
|
type: string
|
|
545
|
-
|
|
546
597
|
AgentList:
|
|
547
598
|
type: object
|
|
548
599
|
properties:
|
|
549
600
|
agents:
|
|
550
601
|
type: array
|
|
551
602
|
items:
|
|
552
|
-
$ref:
|
|
603
|
+
$ref: "#/components/schemas/AgentSummary"
|
|
553
604
|
total:
|
|
554
605
|
type: integer
|
|
555
|
-
|
|
556
606
|
AgentSummary:
|
|
557
607
|
type: object
|
|
558
608
|
properties:
|
|
@@ -566,10 +616,9 @@ components:
|
|
|
566
616
|
type: string
|
|
567
617
|
namespace:
|
|
568
618
|
type: string
|
|
569
|
-
|
|
570
619
|
AgentDetails:
|
|
571
620
|
allOf:
|
|
572
|
-
- $ref:
|
|
621
|
+
- $ref: "#/components/schemas/AgentResponse"
|
|
573
622
|
- type: object
|
|
574
623
|
properties:
|
|
575
624
|
ossa_manifest:
|
|
@@ -580,7 +629,6 @@ components:
|
|
|
580
629
|
type: array
|
|
581
630
|
items:
|
|
582
631
|
type: object
|
|
583
|
-
|
|
584
632
|
UpdateAgentRequest:
|
|
585
633
|
type: object
|
|
586
634
|
properties:
|
|
@@ -590,7 +638,6 @@ components:
|
|
|
590
638
|
type: string
|
|
591
639
|
helm_values:
|
|
592
640
|
type: object
|
|
593
|
-
|
|
594
641
|
AgentTaskRequest:
|
|
595
642
|
type: object
|
|
596
643
|
required:
|
|
@@ -606,7 +653,6 @@ components:
|
|
|
606
653
|
async:
|
|
607
654
|
type: boolean
|
|
608
655
|
default: false
|
|
609
|
-
|
|
610
656
|
AgentTaskResponse:
|
|
611
657
|
type: object
|
|
612
658
|
properties:
|
|
@@ -614,7 +660,11 @@ components:
|
|
|
614
660
|
type: string
|
|
615
661
|
status:
|
|
616
662
|
type: string
|
|
617
|
-
enum:
|
|
663
|
+
enum:
|
|
664
|
+
- queued
|
|
665
|
+
- running
|
|
666
|
+
- completed
|
|
667
|
+
- failed
|
|
618
668
|
output:
|
|
619
669
|
type: object
|
|
620
670
|
additionalProperties: true
|
|
@@ -622,8 +672,6 @@ components:
|
|
|
622
672
|
type: array
|
|
623
673
|
items:
|
|
624
674
|
type: object
|
|
625
|
-
|
|
626
|
-
# Drupal Schemas
|
|
627
675
|
DrupalContentRequest:
|
|
628
676
|
type: object
|
|
629
677
|
required:
|
|
@@ -642,9 +690,10 @@ components:
|
|
|
642
690
|
additionalProperties: true
|
|
643
691
|
status:
|
|
644
692
|
type: string
|
|
645
|
-
enum:
|
|
693
|
+
enum:
|
|
694
|
+
- published
|
|
695
|
+
- draft
|
|
646
696
|
default: draft
|
|
647
|
-
|
|
648
697
|
DrupalContentResponse:
|
|
649
698
|
type: object
|
|
650
699
|
properties:
|
|
@@ -662,7 +711,6 @@ components:
|
|
|
662
711
|
created:
|
|
663
712
|
type: string
|
|
664
713
|
format: date-time
|
|
665
|
-
|
|
666
714
|
DrupalUserRequest:
|
|
667
715
|
type: object
|
|
668
716
|
required:
|
|
@@ -678,7 +726,6 @@ components:
|
|
|
678
726
|
type: array
|
|
679
727
|
items:
|
|
680
728
|
type: string
|
|
681
|
-
|
|
682
729
|
DrupalSiteRequest:
|
|
683
730
|
type: object
|
|
684
731
|
required:
|
|
@@ -695,7 +742,6 @@ components:
|
|
|
695
742
|
type: string
|
|
696
743
|
config:
|
|
697
744
|
type: object
|
|
698
|
-
|
|
699
745
|
DrupalJobResponse:
|
|
700
746
|
type: object
|
|
701
747
|
properties:
|
|
@@ -706,8 +752,6 @@ components:
|
|
|
706
752
|
gitlab_pipeline:
|
|
707
753
|
type: string
|
|
708
754
|
format: uri
|
|
709
|
-
|
|
710
|
-
# Workflow Schemas
|
|
711
755
|
WorkflowRequest:
|
|
712
756
|
type: object
|
|
713
757
|
required:
|
|
@@ -716,7 +760,10 @@ components:
|
|
|
716
760
|
properties:
|
|
717
761
|
framework:
|
|
718
762
|
type: string
|
|
719
|
-
enum:
|
|
763
|
+
enum:
|
|
764
|
+
- langflow
|
|
765
|
+
- langchain
|
|
766
|
+
- kagent
|
|
720
767
|
definition:
|
|
721
768
|
type: object
|
|
722
769
|
additionalProperties: true
|
|
@@ -725,8 +772,6 @@ components:
|
|
|
725
772
|
items:
|
|
726
773
|
type: string
|
|
727
774
|
description: Agent IDs to include in workflow
|
|
728
|
-
|
|
729
|
-
# Studio Mobile API Schemas
|
|
730
775
|
StudioSessionRequest:
|
|
731
776
|
type: object
|
|
732
777
|
required:
|
|
@@ -735,14 +780,17 @@ components:
|
|
|
735
780
|
properties:
|
|
736
781
|
device_type:
|
|
737
782
|
type: string
|
|
738
|
-
enum:
|
|
783
|
+
enum:
|
|
784
|
+
- ios
|
|
785
|
+
- ipad
|
|
786
|
+
- carplay
|
|
787
|
+
- watch
|
|
739
788
|
repository:
|
|
740
789
|
type: string
|
|
741
790
|
description: GitLab repository URL
|
|
742
791
|
branch:
|
|
743
792
|
type: string
|
|
744
793
|
default: development
|
|
745
|
-
|
|
746
794
|
StudioSessionResponse:
|
|
747
795
|
type: object
|
|
748
796
|
properties:
|
|
@@ -758,7 +806,6 @@ components:
|
|
|
758
806
|
expires_at:
|
|
759
807
|
type: string
|
|
760
808
|
format: date-time
|
|
761
|
-
|
|
762
809
|
StudioTaskRequest:
|
|
763
810
|
type: object
|
|
764
811
|
required:
|
|
@@ -767,7 +814,11 @@ components:
|
|
|
767
814
|
properties:
|
|
768
815
|
task_type:
|
|
769
816
|
type: string
|
|
770
|
-
enum:
|
|
817
|
+
enum:
|
|
818
|
+
- code
|
|
819
|
+
- test
|
|
820
|
+
- deploy
|
|
821
|
+
- review
|
|
771
822
|
description:
|
|
772
823
|
type: string
|
|
773
824
|
files:
|
|
@@ -777,8 +828,6 @@ components:
|
|
|
777
828
|
agent_id:
|
|
778
829
|
type: string
|
|
779
830
|
description: Specific agent to use (optional)
|
|
780
|
-
|
|
781
|
-
# GitLab Schemas
|
|
782
831
|
GitLabPipelineRequest:
|
|
783
832
|
type: object
|
|
784
833
|
required:
|
|
@@ -795,7 +844,6 @@ components:
|
|
|
795
844
|
type: object
|
|
796
845
|
additionalProperties:
|
|
797
846
|
type: string
|
|
798
|
-
|
|
799
847
|
GitLabPackage:
|
|
800
848
|
type: object
|
|
801
849
|
properties:
|
|
@@ -805,12 +853,13 @@ components:
|
|
|
805
853
|
type: string
|
|
806
854
|
package_type:
|
|
807
855
|
type: string
|
|
808
|
-
enum:
|
|
856
|
+
enum:
|
|
857
|
+
- npm
|
|
858
|
+
- python
|
|
859
|
+
- generic
|
|
809
860
|
url:
|
|
810
861
|
type: string
|
|
811
862
|
format: uri
|
|
812
|
-
|
|
813
|
-
# Registry Schemas
|
|
814
863
|
ServiceEndpoint:
|
|
815
864
|
type: object
|
|
816
865
|
properties:
|
|
@@ -827,7 +876,22 @@ components:
|
|
|
827
876
|
type: string
|
|
828
877
|
health:
|
|
829
878
|
type: string
|
|
830
|
-
enum:
|
|
879
|
+
enum:
|
|
880
|
+
- healthy
|
|
881
|
+
- degraded
|
|
882
|
+
- unhealthy
|
|
831
883
|
framework:
|
|
832
884
|
type: string
|
|
833
|
-
|
|
885
|
+
x-ossa-metadata:
|
|
886
|
+
version: 0.3.3
|
|
887
|
+
compliance:
|
|
888
|
+
level: standard
|
|
889
|
+
observability:
|
|
890
|
+
tracing: true
|
|
891
|
+
metrics: true
|
|
892
|
+
logging: true
|
|
893
|
+
x-ossa:
|
|
894
|
+
version: 0.5.0
|
|
895
|
+
agent:
|
|
896
|
+
id: unified-agent-gateway
|
|
897
|
+
type: gateway
|