@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
|
@@ -5,17 +5,18 @@ info:
|
|
|
5
5
|
description: |
|
|
6
6
|
Developer CLI for OSSA version management and spec generation.
|
|
7
7
|
**Separate from npm package** - Only for developers working on OSSA itself.
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
Architecture:
|
|
10
10
|
- OpenAPI-First: This spec drives all CLI commands
|
|
11
11
|
- Zod Validation: All inputs/outputs validated with Zod schemas
|
|
12
12
|
- DRY: Single source of truth (.version.json)
|
|
13
13
|
- SOLID: Each command is a separate service
|
|
14
|
-
|
|
14
|
+
contact:
|
|
15
|
+
name: Bluefly OSSA Team
|
|
16
|
+
url: https://gitlab.com/blueflyio/ossa/openstandardagents
|
|
15
17
|
servers:
|
|
16
18
|
- url: cli://ossa-dev
|
|
17
19
|
description: OSSA Developer CLI
|
|
18
|
-
|
|
19
20
|
paths:
|
|
20
21
|
/version/release:
|
|
21
22
|
post:
|
|
@@ -31,19 +32,22 @@ paths:
|
|
|
31
32
|
content:
|
|
32
33
|
application/json:
|
|
33
34
|
schema:
|
|
34
|
-
$ref:
|
|
35
|
+
$ref: "#/components/schemas/VersionReleaseRequest"
|
|
35
36
|
responses:
|
|
36
|
-
|
|
37
|
+
"200":
|
|
37
38
|
description: Release prepared successfully
|
|
38
39
|
content:
|
|
39
40
|
application/json:
|
|
40
41
|
schema:
|
|
41
|
-
$ref:
|
|
42
|
-
|
|
43
|
-
$ref:
|
|
44
|
-
|
|
45
|
-
$ref:
|
|
46
|
-
|
|
42
|
+
$ref: "#/components/schemas/VersionReleaseResponse"
|
|
43
|
+
"400":
|
|
44
|
+
$ref: "#/components/responses/BadRequest"
|
|
45
|
+
"500":
|
|
46
|
+
$ref: "#/components/responses/InternalError"
|
|
47
|
+
x-ossa-capability: dev-cli-version-release
|
|
48
|
+
x-ossa-autonomy:
|
|
49
|
+
level: supervised
|
|
50
|
+
approval_required: true
|
|
47
51
|
/version/validate:
|
|
48
52
|
get:
|
|
49
53
|
operationId: versionValidate
|
|
@@ -54,15 +58,15 @@ paths:
|
|
|
54
58
|
tags:
|
|
55
59
|
- Version Management
|
|
56
60
|
responses:
|
|
57
|
-
|
|
61
|
+
"200":
|
|
58
62
|
description: Validation results
|
|
59
63
|
content:
|
|
60
64
|
application/json:
|
|
61
65
|
schema:
|
|
62
|
-
$ref:
|
|
63
|
-
|
|
64
|
-
$ref:
|
|
65
|
-
|
|
66
|
+
$ref: "#/components/schemas/VersionValidateResponse"
|
|
67
|
+
"400":
|
|
68
|
+
$ref: "#/components/responses/BadRequest"
|
|
69
|
+
x-ossa-capability: dev-cli-version-validate
|
|
66
70
|
/version/audit:
|
|
67
71
|
get:
|
|
68
72
|
operationId: versionAudit
|
|
@@ -80,13 +84,13 @@ paths:
|
|
|
80
84
|
default: false
|
|
81
85
|
description: Automatically replace hardcoded versions with 0.3.6
|
|
82
86
|
responses:
|
|
83
|
-
|
|
87
|
+
"200":
|
|
84
88
|
description: Audit results
|
|
85
89
|
content:
|
|
86
90
|
application/json:
|
|
87
91
|
schema:
|
|
88
|
-
$ref:
|
|
89
|
-
|
|
92
|
+
$ref: "#/components/schemas/VersionAuditResponse"
|
|
93
|
+
x-ossa-capability: dev-cli-version-audit
|
|
90
94
|
/version/status:
|
|
91
95
|
get:
|
|
92
96
|
operationId: versionStatus
|
|
@@ -101,13 +105,13 @@ paths:
|
|
|
101
105
|
tags:
|
|
102
106
|
- Version Management
|
|
103
107
|
responses:
|
|
104
|
-
|
|
108
|
+
"200":
|
|
105
109
|
description: Version status
|
|
106
110
|
content:
|
|
107
111
|
application/json:
|
|
108
112
|
schema:
|
|
109
|
-
$ref:
|
|
110
|
-
|
|
113
|
+
$ref: "#/components/schemas/VersionStatusResponse"
|
|
114
|
+
x-ossa-capability: dev-cli-version-status
|
|
111
115
|
/version/check:
|
|
112
116
|
get:
|
|
113
117
|
operationId: versionCheck
|
|
@@ -118,13 +122,13 @@ paths:
|
|
|
118
122
|
tags:
|
|
119
123
|
- Version Management
|
|
120
124
|
responses:
|
|
121
|
-
|
|
125
|
+
"200":
|
|
122
126
|
description: Check results
|
|
123
127
|
content:
|
|
124
128
|
application/json:
|
|
125
129
|
schema:
|
|
126
|
-
$ref:
|
|
127
|
-
|
|
130
|
+
$ref: "#/components/schemas/VersionCheckResponse"
|
|
131
|
+
x-ossa-capability: dev-cli-version-check
|
|
128
132
|
/version/sync:
|
|
129
133
|
post:
|
|
130
134
|
operationId: versionSync
|
|
@@ -139,15 +143,18 @@ paths:
|
|
|
139
143
|
content:
|
|
140
144
|
application/json:
|
|
141
145
|
schema:
|
|
142
|
-
$ref:
|
|
146
|
+
$ref: "#/components/schemas/VersionSyncRequest"
|
|
143
147
|
responses:
|
|
144
|
-
|
|
148
|
+
"200":
|
|
145
149
|
description: Sync complete
|
|
146
150
|
content:
|
|
147
151
|
application/json:
|
|
148
152
|
schema:
|
|
149
|
-
$ref:
|
|
150
|
-
|
|
153
|
+
$ref: "#/components/schemas/VersionSyncResponse"
|
|
154
|
+
x-ossa-capability: dev-cli-version-sync
|
|
155
|
+
x-ossa-autonomy:
|
|
156
|
+
level: supervised
|
|
157
|
+
approval_required: true
|
|
151
158
|
/spec/generate:
|
|
152
159
|
post:
|
|
153
160
|
operationId: specGenerate
|
|
@@ -163,19 +170,22 @@ paths:
|
|
|
163
170
|
content:
|
|
164
171
|
application/json:
|
|
165
172
|
schema:
|
|
166
|
-
$ref:
|
|
173
|
+
$ref: "#/components/schemas/SpecGenerateRequest"
|
|
167
174
|
responses:
|
|
168
|
-
|
|
175
|
+
"200":
|
|
169
176
|
description: Spec generated successfully
|
|
170
177
|
content:
|
|
171
178
|
application/json:
|
|
172
179
|
schema:
|
|
173
|
-
$ref:
|
|
174
|
-
|
|
175
|
-
$ref:
|
|
176
|
-
|
|
177
|
-
$ref:
|
|
178
|
-
|
|
180
|
+
$ref: "#/components/schemas/SpecGenerateResponse"
|
|
181
|
+
"400":
|
|
182
|
+
$ref: "#/components/responses/BadRequest"
|
|
183
|
+
"500":
|
|
184
|
+
$ref: "#/components/responses/InternalError"
|
|
185
|
+
x-ossa-capability: dev-cli-spec-generate
|
|
186
|
+
x-ossa-autonomy:
|
|
187
|
+
level: supervised
|
|
188
|
+
approval_required: true
|
|
179
189
|
/spec/validate:
|
|
180
190
|
post:
|
|
181
191
|
operationId: specValidate
|
|
@@ -190,15 +200,18 @@ paths:
|
|
|
190
200
|
content:
|
|
191
201
|
application/json:
|
|
192
202
|
schema:
|
|
193
|
-
$ref:
|
|
203
|
+
$ref: "#/components/schemas/SpecValidateRequest"
|
|
194
204
|
responses:
|
|
195
|
-
|
|
205
|
+
"200":
|
|
196
206
|
description: Validation results
|
|
197
207
|
content:
|
|
198
208
|
application/json:
|
|
199
209
|
schema:
|
|
200
|
-
$ref:
|
|
201
|
-
|
|
210
|
+
$ref: "#/components/schemas/SpecValidateResponse"
|
|
211
|
+
x-ossa-capability: dev-cli-spec-validate
|
|
212
|
+
x-ossa-autonomy:
|
|
213
|
+
level: supervised
|
|
214
|
+
approval_required: true
|
|
202
215
|
/workflow/release:
|
|
203
216
|
get:
|
|
204
217
|
operationId: workflowRelease
|
|
@@ -208,13 +221,13 @@ paths:
|
|
|
208
221
|
tags:
|
|
209
222
|
- Workflow Help
|
|
210
223
|
responses:
|
|
211
|
-
|
|
224
|
+
"200":
|
|
212
225
|
description: Workflow guide
|
|
213
226
|
content:
|
|
214
227
|
application/json:
|
|
215
228
|
schema:
|
|
216
|
-
$ref:
|
|
217
|
-
|
|
229
|
+
$ref: "#/components/schemas/WorkflowResponse"
|
|
230
|
+
x-ossa-capability: dev-cli-workflow-release
|
|
218
231
|
/workflow/validate:
|
|
219
232
|
get:
|
|
220
233
|
operationId: workflowValidate
|
|
@@ -224,13 +237,13 @@ paths:
|
|
|
224
237
|
tags:
|
|
225
238
|
- Workflow Help
|
|
226
239
|
responses:
|
|
227
|
-
|
|
240
|
+
"200":
|
|
228
241
|
description: Workflow guide
|
|
229
242
|
content:
|
|
230
243
|
application/json:
|
|
231
244
|
schema:
|
|
232
|
-
$ref:
|
|
233
|
-
|
|
245
|
+
$ref: "#/components/schemas/WorkflowResponse"
|
|
246
|
+
x-ossa-capability: dev-cli-workflow-validate
|
|
234
247
|
/release/verify:
|
|
235
248
|
post:
|
|
236
249
|
operationId: releaseVerify
|
|
@@ -246,19 +259,22 @@ paths:
|
|
|
246
259
|
content:
|
|
247
260
|
application/json:
|
|
248
261
|
schema:
|
|
249
|
-
$ref:
|
|
262
|
+
$ref: "#/components/schemas/ReleaseVerifyRequest"
|
|
250
263
|
responses:
|
|
251
|
-
|
|
264
|
+
"200":
|
|
252
265
|
description: Verification results
|
|
253
266
|
content:
|
|
254
267
|
application/json:
|
|
255
268
|
schema:
|
|
256
|
-
$ref:
|
|
257
|
-
|
|
258
|
-
$ref:
|
|
259
|
-
|
|
260
|
-
$ref:
|
|
261
|
-
|
|
269
|
+
$ref: "#/components/schemas/ReleaseVerifyResponse"
|
|
270
|
+
"400":
|
|
271
|
+
$ref: "#/components/responses/BadRequest"
|
|
272
|
+
"500":
|
|
273
|
+
$ref: "#/components/responses/InternalError"
|
|
274
|
+
x-ossa-capability: dev-cli-release-verify
|
|
275
|
+
x-ossa-autonomy:
|
|
276
|
+
level: supervised
|
|
277
|
+
approval_required: true
|
|
262
278
|
/release/prep:
|
|
263
279
|
post:
|
|
264
280
|
operationId: releasePrep
|
|
@@ -273,19 +289,22 @@ paths:
|
|
|
273
289
|
content:
|
|
274
290
|
application/json:
|
|
275
291
|
schema:
|
|
276
|
-
$ref:
|
|
292
|
+
$ref: "#/components/schemas/ReleasePrepRequest"
|
|
277
293
|
responses:
|
|
278
|
-
|
|
294
|
+
"200":
|
|
279
295
|
description: Preparation results
|
|
280
296
|
content:
|
|
281
297
|
application/json:
|
|
282
298
|
schema:
|
|
283
|
-
$ref:
|
|
284
|
-
|
|
285
|
-
$ref:
|
|
286
|
-
|
|
287
|
-
$ref:
|
|
288
|
-
|
|
299
|
+
$ref: "#/components/schemas/ReleasePrepResponse"
|
|
300
|
+
"400":
|
|
301
|
+
$ref: "#/components/responses/BadRequest"
|
|
302
|
+
"500":
|
|
303
|
+
$ref: "#/components/responses/InternalError"
|
|
304
|
+
x-ossa-capability: dev-cli-release-prep
|
|
305
|
+
x-ossa-autonomy:
|
|
306
|
+
level: supervised
|
|
307
|
+
approval_required: true
|
|
289
308
|
components:
|
|
290
309
|
schemas:
|
|
291
310
|
VersionReleaseRequest:
|
|
@@ -295,7 +314,10 @@ components:
|
|
|
295
314
|
properties:
|
|
296
315
|
bumpType:
|
|
297
316
|
type: string
|
|
298
|
-
enum:
|
|
317
|
+
enum:
|
|
318
|
+
- patch
|
|
319
|
+
- minor
|
|
320
|
+
- major
|
|
299
321
|
description: Version bump type
|
|
300
322
|
dryRun:
|
|
301
323
|
type: boolean
|
|
@@ -305,7 +327,6 @@ components:
|
|
|
305
327
|
type: boolean
|
|
306
328
|
default: false
|
|
307
329
|
description: Skip validation after bump
|
|
308
|
-
|
|
309
330
|
VersionReleaseResponse:
|
|
310
331
|
type: object
|
|
311
332
|
required:
|
|
@@ -330,7 +351,6 @@ components:
|
|
|
330
351
|
items:
|
|
331
352
|
type: string
|
|
332
353
|
description: Next steps for release
|
|
333
|
-
|
|
334
354
|
VersionValidateResponse:
|
|
335
355
|
type: object
|
|
336
356
|
required:
|
|
@@ -352,7 +372,6 @@ components:
|
|
|
352
372
|
type: object
|
|
353
373
|
additionalProperties:
|
|
354
374
|
type: string
|
|
355
|
-
|
|
356
375
|
VersionAuditResponse:
|
|
357
376
|
type: object
|
|
358
377
|
required:
|
|
@@ -362,13 +381,12 @@ components:
|
|
|
362
381
|
files:
|
|
363
382
|
type: array
|
|
364
383
|
items:
|
|
365
|
-
$ref:
|
|
384
|
+
$ref: "#/components/schemas/HardcodedVersionFile"
|
|
366
385
|
total:
|
|
367
386
|
type: integer
|
|
368
387
|
fixed:
|
|
369
388
|
type: integer
|
|
370
389
|
description: Number of files fixed (if fix=true)
|
|
371
|
-
|
|
372
390
|
HardcodedVersionFile:
|
|
373
391
|
type: object
|
|
374
392
|
required:
|
|
@@ -387,7 +405,6 @@ components:
|
|
|
387
405
|
suggested:
|
|
388
406
|
type: string
|
|
389
407
|
description: Suggested replacement with 0.3.6
|
|
390
|
-
|
|
391
408
|
VersionStatusResponse:
|
|
392
409
|
type: object
|
|
393
410
|
required:
|
|
@@ -426,9 +443,11 @@ components:
|
|
|
426
443
|
description: Files with hardcoded versions
|
|
427
444
|
health:
|
|
428
445
|
type: string
|
|
429
|
-
enum:
|
|
446
|
+
enum:
|
|
447
|
+
- healthy
|
|
448
|
+
- warning
|
|
449
|
+
- error
|
|
430
450
|
description: Overall version health status
|
|
431
|
-
|
|
432
451
|
VersionCheckResponse:
|
|
433
452
|
type: object
|
|
434
453
|
required:
|
|
@@ -437,7 +456,10 @@ components:
|
|
|
437
456
|
properties:
|
|
438
457
|
status:
|
|
439
458
|
type: string
|
|
440
|
-
enum:
|
|
459
|
+
enum:
|
|
460
|
+
- OK
|
|
461
|
+
- WARN
|
|
462
|
+
- ERROR
|
|
441
463
|
description: Check status
|
|
442
464
|
consistent:
|
|
443
465
|
type: boolean
|
|
@@ -450,7 +472,6 @@ components:
|
|
|
450
472
|
message:
|
|
451
473
|
type: string
|
|
452
474
|
description: Human-readable status message
|
|
453
|
-
|
|
454
475
|
VersionSyncRequest:
|
|
455
476
|
type: object
|
|
456
477
|
properties:
|
|
@@ -462,7 +483,6 @@ components:
|
|
|
462
483
|
items:
|
|
463
484
|
type: string
|
|
464
485
|
description: Specific files to sync (defaults to all)
|
|
465
|
-
|
|
466
486
|
VersionSyncResponse:
|
|
467
487
|
type: object
|
|
468
488
|
required:
|
|
@@ -477,7 +497,6 @@ components:
|
|
|
477
497
|
type: array
|
|
478
498
|
items:
|
|
479
499
|
type: string
|
|
480
|
-
|
|
481
500
|
SpecGenerateRequest:
|
|
482
501
|
type: object
|
|
483
502
|
properties:
|
|
@@ -489,7 +508,6 @@ components:
|
|
|
489
508
|
type: boolean
|
|
490
509
|
default: true
|
|
491
510
|
description: Validate generated spec
|
|
492
|
-
|
|
493
511
|
SpecGenerateResponse:
|
|
494
512
|
type: object
|
|
495
513
|
required:
|
|
@@ -505,8 +523,7 @@ components:
|
|
|
505
523
|
items:
|
|
506
524
|
type: string
|
|
507
525
|
validation:
|
|
508
|
-
$ref:
|
|
509
|
-
|
|
526
|
+
$ref: "#/components/schemas/SpecValidationResult"
|
|
510
527
|
SpecValidateRequest:
|
|
511
528
|
type: object
|
|
512
529
|
required:
|
|
@@ -515,7 +532,6 @@ components:
|
|
|
515
532
|
specPath:
|
|
516
533
|
type: string
|
|
517
534
|
description: Path to spec file to validate
|
|
518
|
-
|
|
519
535
|
SpecValidateResponse:
|
|
520
536
|
type: object
|
|
521
537
|
required:
|
|
@@ -532,7 +548,6 @@ components:
|
|
|
532
548
|
type: array
|
|
533
549
|
items:
|
|
534
550
|
type: string
|
|
535
|
-
|
|
536
551
|
SpecValidationResult:
|
|
537
552
|
type: object
|
|
538
553
|
required:
|
|
@@ -545,7 +560,6 @@ components:
|
|
|
545
560
|
type: array
|
|
546
561
|
items:
|
|
547
562
|
type: string
|
|
548
|
-
|
|
549
563
|
WorkflowResponse:
|
|
550
564
|
type: object
|
|
551
565
|
required:
|
|
@@ -569,7 +583,6 @@ components:
|
|
|
569
583
|
optional:
|
|
570
584
|
type: boolean
|
|
571
585
|
default: false
|
|
572
|
-
|
|
573
586
|
ReleaseVerifyRequest:
|
|
574
587
|
type: object
|
|
575
588
|
properties:
|
|
@@ -584,7 +597,6 @@ components:
|
|
|
584
597
|
type: boolean
|
|
585
598
|
default: false
|
|
586
599
|
description: Skip CI configuration validation
|
|
587
|
-
|
|
588
600
|
ReleaseVerifyResponse:
|
|
589
601
|
type: object
|
|
590
602
|
required:
|
|
@@ -608,13 +620,13 @@ components:
|
|
|
608
620
|
type: string
|
|
609
621
|
description: Version tag (e.g., v0.3.3)
|
|
610
622
|
repository:
|
|
611
|
-
$ref:
|
|
623
|
+
$ref: "#/components/schemas/RepositoryState"
|
|
612
624
|
versionState:
|
|
613
|
-
$ref:
|
|
625
|
+
$ref: "#/components/schemas/VersionState"
|
|
614
626
|
tagState:
|
|
615
|
-
$ref:
|
|
627
|
+
$ref: "#/components/schemas/TagState"
|
|
616
628
|
ciConfig:
|
|
617
|
-
$ref:
|
|
629
|
+
$ref: "#/components/schemas/CIConfigState"
|
|
618
630
|
description: CI configuration state (optional if skipCIConfig=true)
|
|
619
631
|
errors:
|
|
620
632
|
type: array
|
|
@@ -631,7 +643,6 @@ components:
|
|
|
631
643
|
items:
|
|
632
644
|
type: string
|
|
633
645
|
description: Next steps to complete release
|
|
634
|
-
|
|
635
646
|
RepositoryState:
|
|
636
647
|
type: object
|
|
637
648
|
required:
|
|
@@ -649,8 +660,7 @@ components:
|
|
|
649
660
|
checks:
|
|
650
661
|
type: array
|
|
651
662
|
items:
|
|
652
|
-
$ref:
|
|
653
|
-
|
|
663
|
+
$ref: "#/components/schemas/RepositoryCheck"
|
|
654
664
|
RepositoryCheck:
|
|
655
665
|
type: object
|
|
656
666
|
required:
|
|
@@ -664,7 +674,6 @@ components:
|
|
|
664
674
|
type: boolean
|
|
665
675
|
message:
|
|
666
676
|
type: string
|
|
667
|
-
|
|
668
677
|
VersionState:
|
|
669
678
|
type: object
|
|
670
679
|
required:
|
|
@@ -685,8 +694,7 @@ components:
|
|
|
685
694
|
checks:
|
|
686
695
|
type: array
|
|
687
696
|
items:
|
|
688
|
-
$ref:
|
|
689
|
-
|
|
697
|
+
$ref: "#/components/schemas/RepositoryCheck"
|
|
690
698
|
TagState:
|
|
691
699
|
type: object
|
|
692
700
|
required:
|
|
@@ -711,8 +719,7 @@ components:
|
|
|
711
719
|
checks:
|
|
712
720
|
type: array
|
|
713
721
|
items:
|
|
714
|
-
$ref:
|
|
715
|
-
|
|
722
|
+
$ref: "#/components/schemas/RepositoryCheck"
|
|
716
723
|
CIConfigState:
|
|
717
724
|
type: object
|
|
718
725
|
required:
|
|
@@ -722,12 +729,11 @@ components:
|
|
|
722
729
|
files:
|
|
723
730
|
type: array
|
|
724
731
|
items:
|
|
725
|
-
$ref:
|
|
732
|
+
$ref: "#/components/schemas/CIConfigCheck"
|
|
726
733
|
checks:
|
|
727
734
|
type: array
|
|
728
735
|
items:
|
|
729
|
-
$ref:
|
|
730
|
-
|
|
736
|
+
$ref: "#/components/schemas/RepositoryCheck"
|
|
731
737
|
CIConfigCheck:
|
|
732
738
|
type: object
|
|
733
739
|
required:
|
|
@@ -745,8 +751,7 @@ components:
|
|
|
745
751
|
checks:
|
|
746
752
|
type: array
|
|
747
753
|
items:
|
|
748
|
-
$ref:
|
|
749
|
-
|
|
754
|
+
$ref: "#/components/schemas/RepositoryCheck"
|
|
750
755
|
ReleasePrepRequest:
|
|
751
756
|
type: object
|
|
752
757
|
required:
|
|
@@ -767,7 +772,6 @@ components:
|
|
|
767
772
|
type: boolean
|
|
768
773
|
default: false
|
|
769
774
|
description: Skip NPM validation
|
|
770
|
-
|
|
771
775
|
ReleasePrepResponse:
|
|
772
776
|
type: object
|
|
773
777
|
required:
|
|
@@ -789,11 +793,11 @@ components:
|
|
|
789
793
|
versionTag:
|
|
790
794
|
type: string
|
|
791
795
|
gitlab:
|
|
792
|
-
$ref:
|
|
796
|
+
$ref: "#/components/schemas/GitLabValidation"
|
|
793
797
|
github:
|
|
794
|
-
$ref:
|
|
798
|
+
$ref: "#/components/schemas/GitHubValidation"
|
|
795
799
|
npm:
|
|
796
|
-
$ref:
|
|
800
|
+
$ref: "#/components/schemas/NPMValidation"
|
|
797
801
|
allErrors:
|
|
798
802
|
type: array
|
|
799
803
|
items:
|
|
@@ -805,7 +809,7 @@ components:
|
|
|
805
809
|
checklist:
|
|
806
810
|
type: array
|
|
807
811
|
items:
|
|
808
|
-
$ref:
|
|
812
|
+
$ref: "#/components/schemas/ChecklistItem"
|
|
809
813
|
nextSteps:
|
|
810
814
|
type: array
|
|
811
815
|
items:
|
|
@@ -814,7 +818,6 @@ components:
|
|
|
814
818
|
type: array
|
|
815
819
|
items:
|
|
816
820
|
type: string
|
|
817
|
-
|
|
818
821
|
GitLabValidation:
|
|
819
822
|
type: object
|
|
820
823
|
required:
|
|
@@ -858,7 +861,6 @@ components:
|
|
|
858
861
|
type: array
|
|
859
862
|
items:
|
|
860
863
|
type: string
|
|
861
|
-
|
|
862
864
|
GitHubValidation:
|
|
863
865
|
type: object
|
|
864
866
|
required:
|
|
@@ -888,7 +890,6 @@ components:
|
|
|
888
890
|
type: array
|
|
889
891
|
items:
|
|
890
892
|
type: string
|
|
891
|
-
|
|
892
893
|
NPMValidation:
|
|
893
894
|
type: object
|
|
894
895
|
required:
|
|
@@ -923,7 +924,6 @@ components:
|
|
|
923
924
|
type: array
|
|
924
925
|
items:
|
|
925
926
|
type: string
|
|
926
|
-
|
|
927
927
|
ChecklistItem:
|
|
928
928
|
type: object
|
|
929
929
|
required:
|
|
@@ -938,10 +938,13 @@ components:
|
|
|
938
938
|
type: string
|
|
939
939
|
status:
|
|
940
940
|
type: string
|
|
941
|
-
enum:
|
|
941
|
+
enum:
|
|
942
|
+
- pass
|
|
943
|
+
- fail
|
|
944
|
+
- warning
|
|
945
|
+
- skip
|
|
942
946
|
message:
|
|
943
947
|
type: string
|
|
944
|
-
|
|
945
948
|
responses:
|
|
946
949
|
BadRequest:
|
|
947
950
|
description: Bad request
|
|
@@ -954,7 +957,6 @@ components:
|
|
|
954
957
|
type: string
|
|
955
958
|
details:
|
|
956
959
|
type: object
|
|
957
|
-
|
|
958
960
|
InternalError:
|
|
959
961
|
description: Internal server error
|
|
960
962
|
content:
|
|
@@ -966,3 +968,25 @@ components:
|
|
|
966
968
|
type: string
|
|
967
969
|
details:
|
|
968
970
|
type: object
|
|
971
|
+
x-ossa-metadata:
|
|
972
|
+
version: 1.0.0
|
|
973
|
+
compliance:
|
|
974
|
+
level: standard
|
|
975
|
+
observability:
|
|
976
|
+
tracing: true
|
|
977
|
+
metrics: true
|
|
978
|
+
logging: true
|
|
979
|
+
x-ossa:
|
|
980
|
+
version: 0.5.0
|
|
981
|
+
agent:
|
|
982
|
+
id: ossa-dev-cli
|
|
983
|
+
type: gateway
|
|
984
|
+
tags:
|
|
985
|
+
- name: Release Management
|
|
986
|
+
description: Release Management operations
|
|
987
|
+
- name: Spec Generation
|
|
988
|
+
description: Spec Generation operations
|
|
989
|
+
- name: Version Management
|
|
990
|
+
description: Version Management operations
|
|
991
|
+
- name: Workflow Help
|
|
992
|
+
description: Workflow Help operations
|