@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,7 +5,9 @@ info:
|
|
|
5
5
|
description: |
|
|
6
6
|
High-performance worker agent for distributed data processing tasks.
|
|
7
7
|
Executes tasks delegated by orchestrator agents.
|
|
8
|
-
|
|
8
|
+
contact:
|
|
9
|
+
name: Bluefly OSSA Team
|
|
10
|
+
url: https://gitlab.com/blueflyio/ossa/openstandardagents
|
|
9
11
|
x-ossa-metadata:
|
|
10
12
|
version: 0.2.5-RC
|
|
11
13
|
compliance:
|
|
@@ -13,38 +15,39 @@ x-ossa-metadata:
|
|
|
13
15
|
frameworks:
|
|
14
16
|
- OSSA
|
|
15
17
|
- OpenAPI 3.1
|
|
16
|
-
|
|
18
|
+
observability:
|
|
19
|
+
tracing: true
|
|
20
|
+
metrics: true
|
|
21
|
+
logging: true
|
|
17
22
|
x-ossa:
|
|
18
23
|
version: 0.2.5-RC
|
|
19
24
|
agent:
|
|
20
|
-
id:
|
|
25
|
+
id: reference-implementations-worker-agent-api
|
|
21
26
|
type: worker
|
|
22
27
|
compliance:
|
|
23
28
|
standards:
|
|
24
29
|
- openapi-first
|
|
25
30
|
- type-safe
|
|
26
31
|
validated: true
|
|
27
|
-
validatedAt:
|
|
28
|
-
|
|
32
|
+
validatedAt: 2024-01-15T10:00:00Z
|
|
29
33
|
servers:
|
|
30
34
|
- url: https://worker.platform.com/api/v1
|
|
31
35
|
description: Production
|
|
32
36
|
- url: http://worker:3000/api/v1
|
|
33
37
|
description: Kubernetes internal
|
|
34
|
-
|
|
35
38
|
tags:
|
|
36
39
|
- name: processing
|
|
37
40
|
description: Data processing operations
|
|
38
41
|
- name: tasks
|
|
39
42
|
description: Task management operations
|
|
40
|
-
|
|
41
43
|
paths:
|
|
42
44
|
/process:
|
|
43
45
|
post:
|
|
44
46
|
summary: Process data records
|
|
45
47
|
description: Process a batch of data records with transformation and validation
|
|
46
48
|
operationId: processRecords
|
|
47
|
-
tags:
|
|
49
|
+
tags:
|
|
50
|
+
- processing
|
|
48
51
|
x-ossa-capability: process-records
|
|
49
52
|
x-ossa-autonomy:
|
|
50
53
|
level: autonomous
|
|
@@ -55,7 +58,8 @@ paths:
|
|
|
55
58
|
application/json:
|
|
56
59
|
schema:
|
|
57
60
|
type: object
|
|
58
|
-
required:
|
|
61
|
+
required:
|
|
62
|
+
- records
|
|
59
63
|
properties:
|
|
60
64
|
records:
|
|
61
65
|
type: array
|
|
@@ -68,7 +72,7 @@ paths:
|
|
|
68
72
|
type: object
|
|
69
73
|
description: Validation rules
|
|
70
74
|
responses:
|
|
71
|
-
|
|
75
|
+
"200":
|
|
72
76
|
description: Processing completed
|
|
73
77
|
content:
|
|
74
78
|
application/json:
|
|
@@ -87,13 +91,13 @@ paths:
|
|
|
87
91
|
type: array
|
|
88
92
|
items:
|
|
89
93
|
type: object
|
|
90
|
-
|
|
91
94
|
/transform:
|
|
92
95
|
post:
|
|
93
96
|
summary: Transform data
|
|
94
97
|
description: Apply transformation rules to input data
|
|
95
98
|
operationId: transformData
|
|
96
|
-
tags:
|
|
99
|
+
tags:
|
|
100
|
+
- processing
|
|
97
101
|
x-ossa-capability: transform-data
|
|
98
102
|
x-ossa-autonomy:
|
|
99
103
|
level: autonomous
|
|
@@ -104,7 +108,9 @@ paths:
|
|
|
104
108
|
application/json:
|
|
105
109
|
schema:
|
|
106
110
|
type: object
|
|
107
|
-
required:
|
|
111
|
+
required:
|
|
112
|
+
- data
|
|
113
|
+
- rules
|
|
108
114
|
properties:
|
|
109
115
|
data:
|
|
110
116
|
type: object
|
|
@@ -113,7 +119,7 @@ paths:
|
|
|
113
119
|
items:
|
|
114
120
|
type: object
|
|
115
121
|
responses:
|
|
116
|
-
|
|
122
|
+
"200":
|
|
117
123
|
description: Transformation completed
|
|
118
124
|
content:
|
|
119
125
|
application/json:
|
|
@@ -124,13 +130,13 @@ paths:
|
|
|
124
130
|
type: object
|
|
125
131
|
metadata:
|
|
126
132
|
type: object
|
|
127
|
-
|
|
128
133
|
/validate:
|
|
129
134
|
post:
|
|
130
135
|
summary: Validate input data
|
|
131
136
|
description: Validate input data against schema and business rules
|
|
132
137
|
operationId: validateInput
|
|
133
|
-
tags:
|
|
138
|
+
tags:
|
|
139
|
+
- processing
|
|
134
140
|
x-ossa-capability: validate-input
|
|
135
141
|
x-ossa-autonomy:
|
|
136
142
|
level: autonomous
|
|
@@ -141,7 +147,9 @@ paths:
|
|
|
141
147
|
application/json:
|
|
142
148
|
schema:
|
|
143
149
|
type: object
|
|
144
|
-
required:
|
|
150
|
+
required:
|
|
151
|
+
- data
|
|
152
|
+
- schema
|
|
145
153
|
properties:
|
|
146
154
|
data:
|
|
147
155
|
type: object
|
|
@@ -152,7 +160,7 @@ paths:
|
|
|
152
160
|
items:
|
|
153
161
|
type: string
|
|
154
162
|
responses:
|
|
155
|
-
|
|
163
|
+
"200":
|
|
156
164
|
description: Validation completed
|
|
157
165
|
content:
|
|
158
166
|
application/json:
|
|
@@ -169,13 +177,13 @@ paths:
|
|
|
169
177
|
type: array
|
|
170
178
|
items:
|
|
171
179
|
type: string
|
|
172
|
-
|
|
173
180
|
/tasks/{task_id}/status:
|
|
174
181
|
get:
|
|
175
182
|
summary: Get task status
|
|
176
183
|
description: Retrieve the status of an asynchronous task
|
|
177
184
|
operationId: getTaskStatus
|
|
178
|
-
tags:
|
|
185
|
+
tags:
|
|
186
|
+
- tasks
|
|
179
187
|
x-ossa-capability: report-progress
|
|
180
188
|
x-ossa-autonomy:
|
|
181
189
|
level: autonomous
|
|
@@ -187,7 +195,7 @@ paths:
|
|
|
187
195
|
schema:
|
|
188
196
|
type: string
|
|
189
197
|
responses:
|
|
190
|
-
|
|
198
|
+
"200":
|
|
191
199
|
description: Task status
|
|
192
200
|
content:
|
|
193
201
|
application/json:
|
|
@@ -198,11 +206,14 @@ paths:
|
|
|
198
206
|
type: string
|
|
199
207
|
status:
|
|
200
208
|
type: string
|
|
201
|
-
enum:
|
|
209
|
+
enum:
|
|
210
|
+
- pending
|
|
211
|
+
- running
|
|
212
|
+
- completed
|
|
213
|
+
- failed
|
|
202
214
|
progress:
|
|
203
215
|
type: number
|
|
204
216
|
minimum: 0
|
|
205
217
|
maximum: 100
|
|
206
218
|
result:
|
|
207
219
|
type: object
|
|
208
|
-
|
|
@@ -5,7 +5,9 @@ info:
|
|
|
5
5
|
description: |
|
|
6
6
|
Advanced workflow orchestration agent that coordinates multi-step processes,
|
|
7
7
|
manages agent swarms, and provides intelligent task routing.
|
|
8
|
-
|
|
8
|
+
contact:
|
|
9
|
+
name: Bluefly OSSA Team
|
|
10
|
+
url: https://gitlab.com/blueflyio/ossa/openstandardagents
|
|
9
11
|
x-ossa-metadata:
|
|
10
12
|
version: 0.2.5-RC
|
|
11
13
|
compliance:
|
|
@@ -13,36 +15,37 @@ x-ossa-metadata:
|
|
|
13
15
|
frameworks:
|
|
14
16
|
- OSSA
|
|
15
17
|
- OpenAPI 3.1
|
|
16
|
-
|
|
18
|
+
observability:
|
|
19
|
+
tracing: true
|
|
20
|
+
metrics: true
|
|
21
|
+
logging: true
|
|
17
22
|
x-ossa:
|
|
18
23
|
version: 0.2.5-RC
|
|
19
24
|
agent:
|
|
20
|
-
id: workflow-orchestrator
|
|
25
|
+
id: reference-implementations-workflow-orchestrator-api
|
|
21
26
|
type: orchestrator
|
|
22
27
|
compliance:
|
|
23
28
|
standards:
|
|
24
29
|
- openapi-first
|
|
25
30
|
- type-safe
|
|
26
31
|
validated: true
|
|
27
|
-
validatedAt:
|
|
28
|
-
|
|
32
|
+
validatedAt: 2024-01-15T10:00:00Z
|
|
29
33
|
servers:
|
|
30
34
|
- url: https://workflow-orchestrator.platform.com/api/v1
|
|
31
35
|
description: Production
|
|
32
|
-
|
|
33
36
|
tags:
|
|
34
37
|
- name: workflows
|
|
35
38
|
description: Workflow execution operations
|
|
36
39
|
- name: coordination
|
|
37
40
|
description: Agent coordination operations
|
|
38
|
-
|
|
39
41
|
paths:
|
|
40
42
|
/workflows/execute:
|
|
41
43
|
post:
|
|
42
44
|
summary: Execute workflow
|
|
43
45
|
description: Execute multi-step workflow with agent coordination
|
|
44
46
|
operationId: executeWorkflow
|
|
45
|
-
tags:
|
|
47
|
+
tags:
|
|
48
|
+
- workflows
|
|
46
49
|
x-ossa-capability: execute_workflow
|
|
47
50
|
x-ossa-autonomy:
|
|
48
51
|
level: semi-autonomous
|
|
@@ -53,11 +56,14 @@ paths:
|
|
|
53
56
|
application/json:
|
|
54
57
|
schema:
|
|
55
58
|
type: object
|
|
56
|
-
required:
|
|
59
|
+
required:
|
|
60
|
+
- workflow_definition
|
|
57
61
|
properties:
|
|
58
62
|
workflow_definition:
|
|
59
63
|
type: object
|
|
60
|
-
required:
|
|
64
|
+
required:
|
|
65
|
+
- name
|
|
66
|
+
- steps
|
|
61
67
|
properties:
|
|
62
68
|
name:
|
|
63
69
|
type: string
|
|
@@ -87,7 +93,7 @@ paths:
|
|
|
87
93
|
retry:
|
|
88
94
|
type: object
|
|
89
95
|
responses:
|
|
90
|
-
|
|
96
|
+
"202":
|
|
91
97
|
description: Workflow execution started
|
|
92
98
|
content:
|
|
93
99
|
application/json:
|
|
@@ -98,14 +104,18 @@ paths:
|
|
|
98
104
|
type: string
|
|
99
105
|
status:
|
|
100
106
|
type: string
|
|
101
|
-
enum:
|
|
102
|
-
|
|
107
|
+
enum:
|
|
108
|
+
- pending
|
|
109
|
+
- running
|
|
110
|
+
- completed
|
|
111
|
+
- failed
|
|
103
112
|
/workflows/{workflow_id}:
|
|
104
113
|
get:
|
|
105
114
|
summary: Get workflow status
|
|
106
115
|
description: Retrieve workflow execution status and results
|
|
107
116
|
operationId: getWorkflowStatus
|
|
108
|
-
tags:
|
|
117
|
+
tags:
|
|
118
|
+
- workflows
|
|
109
119
|
x-ossa-capability: execute_workflow
|
|
110
120
|
x-ossa-autonomy:
|
|
111
121
|
level: autonomous
|
|
@@ -117,7 +127,7 @@ paths:
|
|
|
117
127
|
schema:
|
|
118
128
|
type: string
|
|
119
129
|
responses:
|
|
120
|
-
|
|
130
|
+
"200":
|
|
121
131
|
description: Workflow status
|
|
122
132
|
content:
|
|
123
133
|
application/json:
|
|
@@ -141,13 +151,13 @@ paths:
|
|
|
141
151
|
type: object
|
|
142
152
|
result:
|
|
143
153
|
type: object
|
|
144
|
-
|
|
145
154
|
/coordinate/swarm:
|
|
146
155
|
post:
|
|
147
156
|
summary: Coordinate agent swarm
|
|
148
157
|
description: Coordinate multiple agents for parallel task execution
|
|
149
158
|
operationId: coordinateSwarm
|
|
150
|
-
tags:
|
|
159
|
+
tags:
|
|
160
|
+
- coordination
|
|
151
161
|
x-ossa-capability: coordinate_agents
|
|
152
162
|
x-ossa-autonomy:
|
|
153
163
|
level: semi-autonomous
|
|
@@ -158,7 +168,9 @@ paths:
|
|
|
158
168
|
application/json:
|
|
159
169
|
schema:
|
|
160
170
|
type: object
|
|
161
|
-
required:
|
|
171
|
+
required:
|
|
172
|
+
- agents
|
|
173
|
+
- task
|
|
162
174
|
properties:
|
|
163
175
|
agents:
|
|
164
176
|
type: array
|
|
@@ -173,9 +185,12 @@ paths:
|
|
|
173
185
|
type: object
|
|
174
186
|
strategy:
|
|
175
187
|
type: string
|
|
176
|
-
enum:
|
|
188
|
+
enum:
|
|
189
|
+
- parallel
|
|
190
|
+
- sequential
|
|
191
|
+
- priority
|
|
177
192
|
responses:
|
|
178
|
-
|
|
193
|
+
"200":
|
|
179
194
|
description: Swarm coordination initiated
|
|
180
195
|
content:
|
|
181
196
|
application/json:
|
|
@@ -190,4 +205,3 @@ paths:
|
|
|
190
205
|
type: object
|
|
191
206
|
status:
|
|
192
207
|
type: string
|
|
193
|
-
|
|
@@ -5,7 +5,7 @@ info:
|
|
|
5
5
|
description: |
|
|
6
6
|
OpenAPI specification for agent-based release automation.
|
|
7
7
|
Integrates semantic-release, Keep a Changelog format, and agent orchestration.
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
FOLLOWS DRY PRINCIPLE: Single source of truth for release automation schemas.
|
|
10
10
|
contact:
|
|
11
11
|
name: OSSA Release Team
|
|
@@ -13,13 +13,11 @@ info:
|
|
|
13
13
|
license:
|
|
14
14
|
name: Apache-2.0
|
|
15
15
|
url: https://www.apache.org/licenses/LICENSE-2.0.html
|
|
16
|
-
|
|
17
16
|
servers:
|
|
18
17
|
- url: http://localhost:4000/api/v1
|
|
19
18
|
description: Local development server
|
|
20
19
|
- url: https://your-registry.example.com/api/v1
|
|
21
20
|
description: Production API server (set OSSA_REGISTRY_URL)
|
|
22
|
-
|
|
23
21
|
tags:
|
|
24
22
|
- name: release
|
|
25
23
|
description: Release orchestration and automation
|
|
@@ -27,7 +25,6 @@ tags:
|
|
|
27
25
|
description: Changelog generation and management
|
|
28
26
|
- name: version
|
|
29
27
|
description: Version management and validation
|
|
30
|
-
|
|
31
28
|
paths:
|
|
32
29
|
/release/analyze:
|
|
33
30
|
post:
|
|
@@ -57,7 +54,7 @@ paths:
|
|
|
57
54
|
type: boolean
|
|
58
55
|
default: false
|
|
59
56
|
responses:
|
|
60
|
-
|
|
57
|
+
"200":
|
|
61
58
|
description: Release analysis complete
|
|
62
59
|
content:
|
|
63
60
|
application/json:
|
|
@@ -68,12 +65,20 @@ paths:
|
|
|
68
65
|
type: boolean
|
|
69
66
|
releaseType:
|
|
70
67
|
type: string
|
|
71
|
-
enum:
|
|
68
|
+
enum:
|
|
69
|
+
- major
|
|
70
|
+
- minor
|
|
71
|
+
- patch
|
|
72
|
+
- prerelease
|
|
72
73
|
currentVersion:
|
|
73
74
|
type: string
|
|
74
75
|
nextVersion:
|
|
75
76
|
type: string
|
|
76
|
-
|
|
77
|
+
x-ossa-capability: analyze-release
|
|
78
|
+
x-ossa-autonomy:
|
|
79
|
+
level: supervised
|
|
80
|
+
approval_required: true
|
|
81
|
+
description: Analyze commits and determine release type
|
|
77
82
|
/release/execute:
|
|
78
83
|
post:
|
|
79
84
|
operationId: executeRelease
|
|
@@ -95,9 +100,13 @@ paths:
|
|
|
95
100
|
type: boolean
|
|
96
101
|
default: false
|
|
97
102
|
responses:
|
|
98
|
-
|
|
103
|
+
"200":
|
|
99
104
|
description: Release executed successfully
|
|
100
|
-
|
|
105
|
+
x-ossa-capability: execute-release
|
|
106
|
+
x-ossa-autonomy:
|
|
107
|
+
level: supervised
|
|
108
|
+
approval_required: true
|
|
109
|
+
description: Execute full release workflow via agent orchestration
|
|
101
110
|
/changelog/generate:
|
|
102
111
|
post:
|
|
103
112
|
operationId: generateChangelog
|
|
@@ -117,12 +126,19 @@ paths:
|
|
|
117
126
|
type: string
|
|
118
127
|
format:
|
|
119
128
|
type: string
|
|
120
|
-
enum:
|
|
129
|
+
enum:
|
|
130
|
+
- keepachangelog
|
|
131
|
+
- markdown
|
|
132
|
+
- json
|
|
121
133
|
default: keepachangelog
|
|
122
134
|
responses:
|
|
123
|
-
|
|
135
|
+
"200":
|
|
124
136
|
description: Changelog generated successfully
|
|
125
|
-
|
|
137
|
+
x-ossa-capability: generate-changelog
|
|
138
|
+
x-ossa-autonomy:
|
|
139
|
+
level: supervised
|
|
140
|
+
approval_required: true
|
|
141
|
+
description: Generate changelog following Keep a Changelog format
|
|
126
142
|
/changelog/validate:
|
|
127
143
|
post:
|
|
128
144
|
operationId: validateChangelog
|
|
@@ -140,5 +156,23 @@ paths:
|
|
|
140
156
|
type: string
|
|
141
157
|
default: CHANGELOG.md
|
|
142
158
|
responses:
|
|
143
|
-
|
|
159
|
+
"200":
|
|
144
160
|
description: Changelog validation result
|
|
161
|
+
x-ossa-capability: validate-changelog
|
|
162
|
+
x-ossa-autonomy:
|
|
163
|
+
level: supervised
|
|
164
|
+
approval_required: true
|
|
165
|
+
description: Validate changelog follows Keep a Changelog format
|
|
166
|
+
x-ossa-metadata:
|
|
167
|
+
version: 0.5.0
|
|
168
|
+
compliance:
|
|
169
|
+
level: standard
|
|
170
|
+
observability:
|
|
171
|
+
tracing: true
|
|
172
|
+
metrics: true
|
|
173
|
+
logging: true
|
|
174
|
+
x-ossa:
|
|
175
|
+
version: 0.5.0
|
|
176
|
+
agent:
|
|
177
|
+
id: release-automation
|
|
178
|
+
type: orchestrator
|
|
@@ -16,10 +16,9 @@ components:
|
|
|
16
16
|
type: string
|
|
17
17
|
const: AgentManifest
|
|
18
18
|
metadata:
|
|
19
|
-
$ref:
|
|
19
|
+
$ref: "#/components/schemas/Metadata"
|
|
20
20
|
spec:
|
|
21
|
-
$ref:
|
|
22
|
-
|
|
21
|
+
$ref: "#/components/schemas/AgentSpec"
|
|
23
22
|
Metadata:
|
|
24
23
|
type: object
|
|
25
24
|
required:
|
|
@@ -28,10 +27,10 @@ components:
|
|
|
28
27
|
properties:
|
|
29
28
|
name:
|
|
30
29
|
type: string
|
|
31
|
-
pattern:
|
|
30
|
+
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
32
31
|
version:
|
|
33
32
|
type: string
|
|
34
|
-
pattern:
|
|
33
|
+
pattern: ^\d+\.\d+\.\d+(-[a-zA-Z0-9]+)?$
|
|
35
34
|
namespace:
|
|
36
35
|
type: string
|
|
37
36
|
labels:
|
|
@@ -42,7 +41,6 @@ components:
|
|
|
42
41
|
type: object
|
|
43
42
|
additionalProperties:
|
|
44
43
|
type: string
|
|
45
|
-
|
|
46
44
|
AgentSpec:
|
|
47
45
|
type: object
|
|
48
46
|
required:
|
|
@@ -50,7 +48,7 @@ components:
|
|
|
50
48
|
- capabilities
|
|
51
49
|
properties:
|
|
52
50
|
type:
|
|
53
|
-
$ref:
|
|
51
|
+
$ref: "#/components/schemas/AgentType"
|
|
54
52
|
description:
|
|
55
53
|
type: string
|
|
56
54
|
role:
|
|
@@ -70,17 +68,16 @@ components:
|
|
|
70
68
|
capabilities:
|
|
71
69
|
type: array
|
|
72
70
|
items:
|
|
73
|
-
$ref:
|
|
71
|
+
$ref: "#/components/schemas/Capability"
|
|
74
72
|
interfaces:
|
|
75
73
|
type: array
|
|
76
74
|
items:
|
|
77
|
-
$ref:
|
|
75
|
+
$ref: "#/components/schemas/Interface"
|
|
78
76
|
requirements:
|
|
79
|
-
$ref:
|
|
77
|
+
$ref: "#/components/schemas/Requirements"
|
|
80
78
|
configuration:
|
|
81
79
|
type: object
|
|
82
80
|
additionalProperties: true
|
|
83
|
-
|
|
84
81
|
AgentType:
|
|
85
82
|
type: string
|
|
86
83
|
enum:
|
|
@@ -91,7 +88,6 @@ components:
|
|
|
91
88
|
- monitor
|
|
92
89
|
- gateway
|
|
93
90
|
description: Agent type classification
|
|
94
|
-
|
|
95
91
|
AgentStatus:
|
|
96
92
|
type: string
|
|
97
93
|
enum:
|
|
@@ -101,7 +97,6 @@ components:
|
|
|
101
97
|
- suspended
|
|
102
98
|
- deprecated
|
|
103
99
|
description: Current operational status of the agent
|
|
104
|
-
|
|
105
100
|
Capability:
|
|
106
101
|
type: object
|
|
107
102
|
required:
|
|
@@ -128,7 +123,6 @@ components:
|
|
|
128
123
|
parameters:
|
|
129
124
|
type: object
|
|
130
125
|
additionalProperties: true
|
|
131
|
-
|
|
132
126
|
Interface:
|
|
133
127
|
type: object
|
|
134
128
|
required:
|
|
@@ -156,14 +150,13 @@ components:
|
|
|
156
150
|
config:
|
|
157
151
|
type: object
|
|
158
152
|
additionalProperties: true
|
|
159
|
-
|
|
160
153
|
Requirements:
|
|
161
154
|
type: object
|
|
162
155
|
properties:
|
|
163
156
|
runtime:
|
|
164
157
|
type: string
|
|
165
158
|
resources:
|
|
166
|
-
$ref:
|
|
159
|
+
$ref: "#/components/schemas/ResourceRequirements"
|
|
167
160
|
dependencies:
|
|
168
161
|
type: array
|
|
169
162
|
items:
|
|
@@ -172,22 +165,20 @@ components:
|
|
|
172
165
|
type: object
|
|
173
166
|
additionalProperties:
|
|
174
167
|
type: string
|
|
175
|
-
|
|
176
168
|
ResourceRequirements:
|
|
177
169
|
type: object
|
|
178
170
|
properties:
|
|
179
171
|
cpu:
|
|
180
172
|
type: string
|
|
181
|
-
pattern:
|
|
173
|
+
pattern: ^[0-9]+m?$
|
|
182
174
|
memory:
|
|
183
175
|
type: string
|
|
184
|
-
pattern:
|
|
176
|
+
pattern: ^[0-9]+(Mi|Gi)$
|
|
185
177
|
storage:
|
|
186
178
|
type: string
|
|
187
|
-
pattern:
|
|
179
|
+
pattern: ^[0-9]+(Mi|Gi)$
|
|
188
180
|
gpu:
|
|
189
181
|
type: string
|
|
190
|
-
|
|
191
182
|
Agent:
|
|
192
183
|
type: object
|
|
193
184
|
properties:
|
|
@@ -195,16 +186,15 @@ components:
|
|
|
195
186
|
type: string
|
|
196
187
|
format: uuid
|
|
197
188
|
manifest:
|
|
198
|
-
$ref:
|
|
189
|
+
$ref: "#/components/schemas/AgentManifest"
|
|
199
190
|
status:
|
|
200
|
-
$ref:
|
|
191
|
+
$ref: "#/components/schemas/AgentStatus"
|
|
201
192
|
registration:
|
|
202
|
-
$ref:
|
|
193
|
+
$ref: "#/components/schemas/AgentRegistration"
|
|
203
194
|
certification:
|
|
204
|
-
$ref:
|
|
195
|
+
$ref: "#/components/schemas/Certification"
|
|
205
196
|
metrics:
|
|
206
|
-
$ref:
|
|
207
|
-
|
|
197
|
+
$ref: "#/components/schemas/AgentMetrics"
|
|
208
198
|
AgentRegistration:
|
|
209
199
|
type: object
|
|
210
200
|
properties:
|
|
@@ -224,7 +214,6 @@ components:
|
|
|
224
214
|
type: string
|
|
225
215
|
federationNode:
|
|
226
216
|
type: string
|
|
227
|
-
|
|
228
217
|
Certification:
|
|
229
218
|
type: object
|
|
230
219
|
description: Certification or compliance attestation for the agent
|
|
@@ -241,7 +230,6 @@ components:
|
|
|
241
230
|
expiresAt:
|
|
242
231
|
type: string
|
|
243
232
|
format: date-time
|
|
244
|
-
|
|
245
233
|
AgentMetrics:
|
|
246
234
|
type: object
|
|
247
235
|
properties:
|
|
@@ -261,3 +249,16 @@ components:
|
|
|
261
249
|
type: string
|
|
262
250
|
format: date-time
|
|
263
251
|
description: Timestamp of last activity
|
|
252
|
+
x-ossa-metadata:
|
|
253
|
+
version: 0.5.0
|
|
254
|
+
compliance:
|
|
255
|
+
level: standard
|
|
256
|
+
observability:
|
|
257
|
+
tracing: true
|
|
258
|
+
metrics: true
|
|
259
|
+
logging: true
|
|
260
|
+
x-ossa:
|
|
261
|
+
version: 0.5.0
|
|
262
|
+
agent:
|
|
263
|
+
id: schemas-common-agent
|
|
264
|
+
type: specialist
|
|
@@ -39,7 +39,6 @@ components:
|
|
|
39
39
|
items:
|
|
40
40
|
type: string
|
|
41
41
|
description: Validation errors by field
|
|
42
|
-
|
|
43
42
|
ValidationError:
|
|
44
43
|
type: object
|
|
45
44
|
properties:
|
|
@@ -49,7 +48,6 @@ components:
|
|
|
49
48
|
type: string
|
|
50
49
|
rule:
|
|
51
50
|
type: string
|
|
52
|
-
|
|
53
51
|
ValidationWarning:
|
|
54
52
|
type: object
|
|
55
53
|
properties:
|
|
@@ -59,7 +57,6 @@ components:
|
|
|
59
57
|
type: string
|
|
60
58
|
suggestion:
|
|
61
59
|
type: string
|
|
62
|
-
|
|
63
60
|
ExecutionError:
|
|
64
61
|
type: object
|
|
65
62
|
properties:
|
|
@@ -73,3 +70,16 @@ components:
|
|
|
73
70
|
timestamp:
|
|
74
71
|
type: string
|
|
75
72
|
format: date-time
|
|
73
|
+
x-ossa-metadata:
|
|
74
|
+
version: 0.5.0
|
|
75
|
+
compliance:
|
|
76
|
+
level: standard
|
|
77
|
+
observability:
|
|
78
|
+
tracing: true
|
|
79
|
+
metrics: true
|
|
80
|
+
logging: true
|
|
81
|
+
x-ossa:
|
|
82
|
+
version: 0.5.0
|
|
83
|
+
agent:
|
|
84
|
+
id: schemas-common-errors
|
|
85
|
+
type: specialist
|