@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
|
@@ -9,19 +9,21 @@ info:
|
|
|
9
9
|
- Domain expertise (devops, security, data, ml, etc.)
|
|
10
10
|
- Capability level (tier_1_read, tier_2_write, tier_3_full, tier_4_policy)
|
|
11
11
|
- Runtime environment (kubernetes, docker, serverless, local)
|
|
12
|
-
|
|
12
|
+
contact:
|
|
13
|
+
name: Bluefly OSSA Team
|
|
14
|
+
url: https://gitlab.com/blueflyio/ossa/openstandardagents
|
|
13
15
|
servers:
|
|
14
16
|
- url: http://localhost:3000/api/v1
|
|
15
17
|
description: Local development
|
|
16
|
-
|
|
17
18
|
paths:
|
|
18
19
|
/taxonomy/categories:
|
|
19
20
|
get:
|
|
20
21
|
summary: List all taxonomy categories
|
|
21
22
|
operationId: listTaxonomyCategories
|
|
22
|
-
tags:
|
|
23
|
+
tags:
|
|
24
|
+
- Taxonomy
|
|
23
25
|
responses:
|
|
24
|
-
|
|
26
|
+
"200":
|
|
25
27
|
description: List of taxonomy categories
|
|
26
28
|
content:
|
|
27
29
|
application/json:
|
|
@@ -31,32 +33,40 @@ paths:
|
|
|
31
33
|
categories:
|
|
32
34
|
type: array
|
|
33
35
|
items:
|
|
34
|
-
$ref:
|
|
36
|
+
$ref: "#/components/schemas/TaxonomyCategory"
|
|
35
37
|
total:
|
|
36
38
|
type: integer
|
|
39
|
+
x-ossa-capability: list-taxonomy-categories
|
|
40
|
+
description: List all taxonomy categories
|
|
37
41
|
post:
|
|
38
42
|
summary: Create new category
|
|
39
43
|
operationId: createTaxonomyCategory
|
|
40
|
-
tags:
|
|
44
|
+
tags:
|
|
45
|
+
- Taxonomy
|
|
41
46
|
requestBody:
|
|
42
47
|
required: true
|
|
43
48
|
content:
|
|
44
49
|
application/json:
|
|
45
50
|
schema:
|
|
46
|
-
$ref:
|
|
51
|
+
$ref: "#/components/schemas/TaxonomyCategoryInput"
|
|
47
52
|
responses:
|
|
48
|
-
|
|
53
|
+
"201":
|
|
49
54
|
description: Category created
|
|
50
55
|
content:
|
|
51
56
|
application/json:
|
|
52
57
|
schema:
|
|
53
|
-
$ref:
|
|
54
|
-
|
|
58
|
+
$ref: "#/components/schemas/TaxonomyCategory"
|
|
59
|
+
x-ossa-capability: create-taxonomy-category
|
|
60
|
+
x-ossa-autonomy:
|
|
61
|
+
level: supervised
|
|
62
|
+
approval_required: true
|
|
63
|
+
description: Create new category
|
|
55
64
|
/taxonomy/categories/{categoryId}:
|
|
56
65
|
get:
|
|
57
66
|
summary: Get category by ID
|
|
58
67
|
operationId: getTaxonomyCategory
|
|
59
|
-
tags:
|
|
68
|
+
tags:
|
|
69
|
+
- Taxonomy
|
|
60
70
|
parameters:
|
|
61
71
|
- name: categoryId
|
|
62
72
|
in: path
|
|
@@ -64,19 +74,21 @@ paths:
|
|
|
64
74
|
schema:
|
|
65
75
|
type: string
|
|
66
76
|
responses:
|
|
67
|
-
|
|
77
|
+
"200":
|
|
68
78
|
description: Taxonomy category details
|
|
69
79
|
content:
|
|
70
80
|
application/json:
|
|
71
81
|
schema:
|
|
72
|
-
$ref:
|
|
73
|
-
|
|
82
|
+
$ref: "#/components/schemas/TaxonomyCategory"
|
|
83
|
+
"404":
|
|
74
84
|
description: Category not found
|
|
75
|
-
|
|
85
|
+
x-ossa-capability: get-taxonomy-category
|
|
86
|
+
description: Get category by ID
|
|
76
87
|
put:
|
|
77
88
|
summary: Update category
|
|
78
89
|
operationId: updateTaxonomyCategory
|
|
79
|
-
tags:
|
|
90
|
+
tags:
|
|
91
|
+
- Taxonomy
|
|
80
92
|
parameters:
|
|
81
93
|
- name: categoryId
|
|
82
94
|
in: path
|
|
@@ -88,19 +100,24 @@ paths:
|
|
|
88
100
|
content:
|
|
89
101
|
application/json:
|
|
90
102
|
schema:
|
|
91
|
-
$ref:
|
|
103
|
+
$ref: "#/components/schemas/TaxonomyCategoryInput"
|
|
92
104
|
responses:
|
|
93
|
-
|
|
105
|
+
"200":
|
|
94
106
|
description: Category updated
|
|
95
107
|
content:
|
|
96
108
|
application/json:
|
|
97
109
|
schema:
|
|
98
|
-
$ref:
|
|
99
|
-
|
|
110
|
+
$ref: "#/components/schemas/TaxonomyCategory"
|
|
111
|
+
x-ossa-capability: update-taxonomy-category
|
|
112
|
+
x-ossa-autonomy:
|
|
113
|
+
level: supervised
|
|
114
|
+
approval_required: true
|
|
115
|
+
description: Update category
|
|
100
116
|
delete:
|
|
101
117
|
summary: Delete category
|
|
102
118
|
operationId: deleteTaxonomyCategory
|
|
103
|
-
tags:
|
|
119
|
+
tags:
|
|
120
|
+
- Taxonomy
|
|
104
121
|
parameters:
|
|
105
122
|
- name: categoryId
|
|
106
123
|
in: path
|
|
@@ -108,16 +125,21 @@ paths:
|
|
|
108
125
|
schema:
|
|
109
126
|
type: string
|
|
110
127
|
responses:
|
|
111
|
-
|
|
128
|
+
"204":
|
|
112
129
|
description: Category deleted
|
|
113
|
-
|
|
130
|
+
"404":
|
|
114
131
|
description: Category not found
|
|
115
|
-
|
|
132
|
+
x-ossa-capability: delete-taxonomy-category
|
|
133
|
+
x-ossa-autonomy:
|
|
134
|
+
level: supervised
|
|
135
|
+
approval_required: true
|
|
136
|
+
description: Delete category
|
|
116
137
|
/taxonomy/classify:
|
|
117
138
|
post:
|
|
118
139
|
summary: Classify an agent manifest
|
|
119
140
|
operationId: classifyAgent
|
|
120
|
-
tags:
|
|
141
|
+
tags:
|
|
142
|
+
- Taxonomy
|
|
121
143
|
requestBody:
|
|
122
144
|
required: true
|
|
123
145
|
content:
|
|
@@ -129,18 +151,23 @@ paths:
|
|
|
129
151
|
type: object
|
|
130
152
|
description: OSSA agent manifest to classify
|
|
131
153
|
responses:
|
|
132
|
-
|
|
154
|
+
"200":
|
|
133
155
|
description: Classification result
|
|
134
156
|
content:
|
|
135
157
|
application/json:
|
|
136
158
|
schema:
|
|
137
|
-
$ref:
|
|
138
|
-
|
|
159
|
+
$ref: "#/components/schemas/AgentClassification"
|
|
160
|
+
x-ossa-capability: classify-agent
|
|
161
|
+
x-ossa-autonomy:
|
|
162
|
+
level: supervised
|
|
163
|
+
approval_required: true
|
|
164
|
+
description: Classify an agent manifest
|
|
139
165
|
/taxonomy/validate:
|
|
140
166
|
post:
|
|
141
167
|
summary: Validate taxonomy assignment
|
|
142
168
|
operationId: validateTaxonomy
|
|
143
|
-
tags:
|
|
169
|
+
tags:
|
|
170
|
+
- Taxonomy
|
|
144
171
|
requestBody:
|
|
145
172
|
required: true
|
|
146
173
|
content:
|
|
@@ -153,13 +180,17 @@ paths:
|
|
|
153
180
|
manifest:
|
|
154
181
|
type: object
|
|
155
182
|
responses:
|
|
156
|
-
|
|
183
|
+
"200":
|
|
157
184
|
description: Validation result
|
|
158
185
|
content:
|
|
159
186
|
application/json:
|
|
160
187
|
schema:
|
|
161
|
-
$ref:
|
|
162
|
-
|
|
188
|
+
$ref: "#/components/schemas/ValidationResult"
|
|
189
|
+
x-ossa-capability: validate-taxonomy
|
|
190
|
+
x-ossa-autonomy:
|
|
191
|
+
level: supervised
|
|
192
|
+
approval_required: true
|
|
193
|
+
description: Validate taxonomy assignment
|
|
163
194
|
components:
|
|
164
195
|
schemas:
|
|
165
196
|
TaxonomyCategory:
|
|
@@ -184,7 +215,12 @@ components:
|
|
|
184
215
|
description: Category description
|
|
185
216
|
type:
|
|
186
217
|
type: string
|
|
187
|
-
enum:
|
|
218
|
+
enum:
|
|
219
|
+
- role
|
|
220
|
+
- domain
|
|
221
|
+
- capability
|
|
222
|
+
- runtime
|
|
223
|
+
- custom
|
|
188
224
|
description: Category type
|
|
189
225
|
level:
|
|
190
226
|
type: integer
|
|
@@ -211,7 +247,6 @@ components:
|
|
|
211
247
|
updated_at:
|
|
212
248
|
type: string
|
|
213
249
|
format: date-time
|
|
214
|
-
|
|
215
250
|
TaxonomyCategoryInput:
|
|
216
251
|
type: object
|
|
217
252
|
required:
|
|
@@ -225,7 +260,12 @@ components:
|
|
|
225
260
|
type: string
|
|
226
261
|
type:
|
|
227
262
|
type: string
|
|
228
|
-
enum:
|
|
263
|
+
enum:
|
|
264
|
+
- role
|
|
265
|
+
- domain
|
|
266
|
+
- capability
|
|
267
|
+
- runtime
|
|
268
|
+
- custom
|
|
229
269
|
level:
|
|
230
270
|
type: integer
|
|
231
271
|
minimum: 1
|
|
@@ -241,7 +281,6 @@ components:
|
|
|
241
281
|
type: array
|
|
242
282
|
items:
|
|
243
283
|
type: string
|
|
244
|
-
|
|
245
284
|
AgentClassification:
|
|
246
285
|
type: object
|
|
247
286
|
required:
|
|
@@ -280,7 +319,6 @@ components:
|
|
|
280
319
|
items:
|
|
281
320
|
type: string
|
|
282
321
|
description: Suggested categories based on manifest analysis
|
|
283
|
-
|
|
284
322
|
ValidationResult:
|
|
285
323
|
type: object
|
|
286
324
|
required:
|
|
@@ -304,7 +342,10 @@ components:
|
|
|
304
342
|
type: string
|
|
305
343
|
severity:
|
|
306
344
|
type: string
|
|
307
|
-
enum:
|
|
345
|
+
enum:
|
|
346
|
+
- error
|
|
347
|
+
- warning
|
|
348
|
+
- info
|
|
308
349
|
warnings:
|
|
309
350
|
type: array
|
|
310
351
|
items:
|
|
@@ -319,3 +360,19 @@ components:
|
|
|
319
360
|
items:
|
|
320
361
|
type: string
|
|
321
362
|
description: Recommendations for improving taxonomy fit
|
|
363
|
+
x-ossa-metadata:
|
|
364
|
+
version: 0.3.6
|
|
365
|
+
compliance:
|
|
366
|
+
level: standard
|
|
367
|
+
observability:
|
|
368
|
+
tracing: true
|
|
369
|
+
metrics: true
|
|
370
|
+
logging: true
|
|
371
|
+
x-ossa:
|
|
372
|
+
version: 0.5.0
|
|
373
|
+
agent:
|
|
374
|
+
id: agent-taxonomy-api
|
|
375
|
+
type: specialist
|
|
376
|
+
tags:
|
|
377
|
+
- name: Taxonomy
|
|
378
|
+
description: Taxonomy operations
|
|
@@ -3,11 +3,12 @@ info:
|
|
|
3
3
|
title: OSSA AGENTS.md Generation Service
|
|
4
4
|
description: Service for generating and managing agents.md documentation files for repositories.
|
|
5
5
|
version: 1.0.0
|
|
6
|
-
|
|
6
|
+
contact:
|
|
7
|
+
name: Bluefly OSSA Team
|
|
8
|
+
url: https://gitlab.com/blueflyio/ossa/openstandardagents
|
|
7
9
|
servers:
|
|
8
10
|
- url: /api/v1/agents-md
|
|
9
11
|
description: v1 API root
|
|
10
|
-
|
|
11
12
|
paths:
|
|
12
13
|
/generate:
|
|
13
14
|
post:
|
|
@@ -38,17 +39,23 @@ paths:
|
|
|
38
39
|
type: boolean
|
|
39
40
|
default: false
|
|
40
41
|
responses:
|
|
41
|
-
|
|
42
|
+
"200":
|
|
42
43
|
description: Successfully generated AGENTS.md
|
|
43
44
|
content:
|
|
44
45
|
application/json:
|
|
45
46
|
schema:
|
|
46
|
-
$ref:
|
|
47
|
-
|
|
47
|
+
$ref: "#/components/schemas/GenerationResult"
|
|
48
|
+
"400":
|
|
48
49
|
description: Invalid request
|
|
49
|
-
|
|
50
|
+
"500":
|
|
50
51
|
description: Internal server error
|
|
51
|
-
|
|
52
|
+
x-ossa-capability: agents-md-generate-agents-md
|
|
53
|
+
x-ossa-autonomy:
|
|
54
|
+
level: supervised
|
|
55
|
+
approval_required: true
|
|
56
|
+
description: Generate AGENTS.md for a repository
|
|
57
|
+
tags:
|
|
58
|
+
- Generate
|
|
52
59
|
/batch:
|
|
53
60
|
post:
|
|
54
61
|
summary: Batch generate AGENTS.md for multiple repositories
|
|
@@ -65,12 +72,12 @@ paths:
|
|
|
65
72
|
repos:
|
|
66
73
|
type: array
|
|
67
74
|
items:
|
|
68
|
-
$ref:
|
|
75
|
+
$ref: "#/components/schemas/RepoConfig"
|
|
69
76
|
parallel:
|
|
70
77
|
type: boolean
|
|
71
78
|
default: true
|
|
72
79
|
responses:
|
|
73
|
-
|
|
80
|
+
"200":
|
|
74
81
|
description: Batch generation completed
|
|
75
82
|
content:
|
|
76
83
|
application/json:
|
|
@@ -80,7 +87,7 @@ paths:
|
|
|
80
87
|
results:
|
|
81
88
|
type: array
|
|
82
89
|
items:
|
|
83
|
-
$ref:
|
|
90
|
+
$ref: "#/components/schemas/GenerationResult"
|
|
84
91
|
summary:
|
|
85
92
|
type: object
|
|
86
93
|
properties:
|
|
@@ -90,7 +97,13 @@ paths:
|
|
|
90
97
|
type: integer
|
|
91
98
|
failed:
|
|
92
99
|
type: integer
|
|
93
|
-
|
|
100
|
+
x-ossa-capability: agents-md-batch-generate-agents-md
|
|
101
|
+
x-ossa-autonomy:
|
|
102
|
+
level: supervised
|
|
103
|
+
approval_required: true
|
|
104
|
+
description: Batch generate AGENTS.md for multiple repositories
|
|
105
|
+
tags:
|
|
106
|
+
- Batch
|
|
94
107
|
/:
|
|
95
108
|
get:
|
|
96
109
|
summary: List all repositories with AGENTS.md status
|
|
@@ -100,10 +113,13 @@ paths:
|
|
|
100
113
|
in: query
|
|
101
114
|
schema:
|
|
102
115
|
type: string
|
|
103
|
-
enum:
|
|
116
|
+
enum:
|
|
117
|
+
- has_agents_md
|
|
118
|
+
- missing_agents_md
|
|
119
|
+
- all
|
|
104
120
|
default: all
|
|
105
121
|
responses:
|
|
106
|
-
|
|
122
|
+
"200":
|
|
107
123
|
description: List of repository statuses
|
|
108
124
|
content:
|
|
109
125
|
application/json:
|
|
@@ -124,7 +140,10 @@ paths:
|
|
|
124
140
|
format: date-time
|
|
125
141
|
validates:
|
|
126
142
|
type: boolean
|
|
127
|
-
|
|
143
|
+
x-ossa-capability: agents-md-list-repos-status
|
|
144
|
+
description: List all repositories with AGENTS.md status
|
|
145
|
+
tags:
|
|
146
|
+
- General
|
|
128
147
|
/{repoId}:
|
|
129
148
|
parameters:
|
|
130
149
|
- name: repoId
|
|
@@ -136,7 +155,7 @@ paths:
|
|
|
136
155
|
summary: Get AGENTS.md status for a repository
|
|
137
156
|
operationId: getRepoStatus
|
|
138
157
|
responses:
|
|
139
|
-
|
|
158
|
+
"200":
|
|
140
159
|
description: Repository AGENTS.md status
|
|
141
160
|
content:
|
|
142
161
|
application/json:
|
|
@@ -152,8 +171,12 @@ paths:
|
|
|
152
171
|
format: date-time
|
|
153
172
|
validates:
|
|
154
173
|
type: boolean
|
|
155
|
-
|
|
174
|
+
"404":
|
|
156
175
|
description: Repository not found
|
|
176
|
+
x-ossa-capability: agents-md-get-repo-status
|
|
177
|
+
description: Get AGENTS.md status for a repository
|
|
178
|
+
tags:
|
|
179
|
+
- "{RepoId}"
|
|
157
180
|
put:
|
|
158
181
|
summary: Regenerate or update AGENTS.md for a repository
|
|
159
182
|
operationId: updateAgentsMd
|
|
@@ -169,7 +192,7 @@ paths:
|
|
|
169
192
|
type: boolean
|
|
170
193
|
default: false
|
|
171
194
|
responses:
|
|
172
|
-
|
|
195
|
+
"200":
|
|
173
196
|
description: Successfully updated AGENTS.md
|
|
174
197
|
content:
|
|
175
198
|
application/json:
|
|
@@ -182,6 +205,13 @@ paths:
|
|
|
182
205
|
type: string
|
|
183
206
|
commit_sha:
|
|
184
207
|
type: string
|
|
208
|
+
x-ossa-capability: agents-md-update-agents-md
|
|
209
|
+
x-ossa-autonomy:
|
|
210
|
+
level: supervised
|
|
211
|
+
approval_required: true
|
|
212
|
+
description: Regenerate or update AGENTS.md for a repository
|
|
213
|
+
tags:
|
|
214
|
+
- "{RepoId}"
|
|
185
215
|
delete:
|
|
186
216
|
summary: Remove AGENTS.md from a repository
|
|
187
217
|
operationId: deleteAgentsMd
|
|
@@ -195,7 +225,7 @@ paths:
|
|
|
195
225
|
type: boolean
|
|
196
226
|
default: false
|
|
197
227
|
responses:
|
|
198
|
-
|
|
228
|
+
"200":
|
|
199
229
|
description: Successfully deleted AGENTS.md
|
|
200
230
|
content:
|
|
201
231
|
application/json:
|
|
@@ -204,16 +234,24 @@ paths:
|
|
|
204
234
|
properties:
|
|
205
235
|
status:
|
|
206
236
|
type: string
|
|
207
|
-
enum:
|
|
237
|
+
enum:
|
|
238
|
+
- success
|
|
239
|
+
- failure
|
|
208
240
|
commit_sha:
|
|
209
241
|
type: string
|
|
210
|
-
|
|
242
|
+
x-ossa-capability: agents-md-delete-agents-md
|
|
243
|
+
x-ossa-autonomy:
|
|
244
|
+
level: supervised
|
|
245
|
+
approval_required: true
|
|
246
|
+
description: Remove AGENTS.md from a repository
|
|
247
|
+
tags:
|
|
248
|
+
- "{RepoId}"
|
|
211
249
|
/template:
|
|
212
250
|
get:
|
|
213
251
|
summary: Get current AGENTS.md template
|
|
214
252
|
operationId: getTemplate
|
|
215
253
|
responses:
|
|
216
|
-
|
|
254
|
+
"200":
|
|
217
255
|
description: Current template content and variables
|
|
218
256
|
content:
|
|
219
257
|
application/json:
|
|
@@ -226,6 +264,10 @@ paths:
|
|
|
226
264
|
type: array
|
|
227
265
|
items:
|
|
228
266
|
type: string
|
|
267
|
+
x-ossa-capability: agents-md-get-template
|
|
268
|
+
description: Get current AGENTS.md template
|
|
269
|
+
tags:
|
|
270
|
+
- Template
|
|
229
271
|
put:
|
|
230
272
|
summary: Update AGENTS.md template
|
|
231
273
|
operationId: updateTemplate
|
|
@@ -241,7 +283,7 @@ paths:
|
|
|
241
283
|
template:
|
|
242
284
|
type: string
|
|
243
285
|
responses:
|
|
244
|
-
|
|
286
|
+
"200":
|
|
245
287
|
description: Template updated successfully
|
|
246
288
|
content:
|
|
247
289
|
application/json:
|
|
@@ -250,10 +292,18 @@ paths:
|
|
|
250
292
|
properties:
|
|
251
293
|
status:
|
|
252
294
|
type: string
|
|
253
|
-
enum:
|
|
295
|
+
enum:
|
|
296
|
+
- success
|
|
297
|
+
- failure
|
|
254
298
|
validation:
|
|
255
|
-
$ref:
|
|
256
|
-
|
|
299
|
+
$ref: "#/components/schemas/ValidationResult"
|
|
300
|
+
x-ossa-capability: agents-md-update-template
|
|
301
|
+
x-ossa-autonomy:
|
|
302
|
+
level: supervised
|
|
303
|
+
approval_required: true
|
|
304
|
+
description: Update AGENTS.md template
|
|
305
|
+
tags:
|
|
306
|
+
- Template
|
|
257
307
|
components:
|
|
258
308
|
schemas:
|
|
259
309
|
RepoConfig:
|
|
@@ -277,7 +327,6 @@ components:
|
|
|
277
327
|
type: string
|
|
278
328
|
wiki_url:
|
|
279
329
|
type: string
|
|
280
|
-
|
|
281
330
|
GenerationResult:
|
|
282
331
|
type: object
|
|
283
332
|
required:
|
|
@@ -290,16 +339,17 @@ components:
|
|
|
290
339
|
type: string
|
|
291
340
|
status:
|
|
292
341
|
type: string
|
|
293
|
-
enum:
|
|
342
|
+
enum:
|
|
343
|
+
- success
|
|
344
|
+
- failed
|
|
294
345
|
content:
|
|
295
346
|
type: string
|
|
296
347
|
commit_sha:
|
|
297
348
|
type: string
|
|
298
349
|
validation:
|
|
299
|
-
$ref:
|
|
350
|
+
$ref: "#/components/schemas/ValidationResult"
|
|
300
351
|
error:
|
|
301
352
|
type: string
|
|
302
|
-
|
|
303
353
|
ValidationResult:
|
|
304
354
|
type: object
|
|
305
355
|
required:
|
|
@@ -318,7 +368,6 @@ components:
|
|
|
318
368
|
type: array
|
|
319
369
|
items:
|
|
320
370
|
type: string
|
|
321
|
-
|
|
322
371
|
TemplateVariables:
|
|
323
372
|
type: object
|
|
324
373
|
properties:
|
|
@@ -336,3 +385,27 @@ components:
|
|
|
336
385
|
type: string
|
|
337
386
|
WIKI_URL:
|
|
338
387
|
type: string
|
|
388
|
+
x-ossa-metadata:
|
|
389
|
+
version: 1.0.0
|
|
390
|
+
compliance:
|
|
391
|
+
level: standard
|
|
392
|
+
observability:
|
|
393
|
+
tracing: true
|
|
394
|
+
metrics: true
|
|
395
|
+
logging: true
|
|
396
|
+
x-ossa:
|
|
397
|
+
version: 0.5.0
|
|
398
|
+
agent:
|
|
399
|
+
id: agents-md-service
|
|
400
|
+
type: worker
|
|
401
|
+
tags:
|
|
402
|
+
- name: Batch
|
|
403
|
+
description: Batch operations
|
|
404
|
+
- name: General
|
|
405
|
+
description: General operations
|
|
406
|
+
- name: Generate
|
|
407
|
+
description: Generate operations
|
|
408
|
+
- name: Template
|
|
409
|
+
description: Template operations
|
|
410
|
+
- name: "{RepoId}"
|
|
411
|
+
description: "{RepoId} operations"
|