@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
package/openapi/cli/openapi.yaml
CHANGED
|
@@ -76,7 +76,7 @@ paths:
|
|
|
76
76
|
Validate OSSA agent/task/workflow manifest against JSON schema.
|
|
77
77
|
Supports OpenAPI extensions validation with --openapi flag.
|
|
78
78
|
operationId: cliValidate
|
|
79
|
-
tags: [Validation]
|
|
79
|
+
tags: [ Validation ]
|
|
80
80
|
requestBody:
|
|
81
81
|
required: true
|
|
82
82
|
content:
|
|
@@ -92,13 +92,17 @@ paths:
|
|
|
92
92
|
$ref: '#/components/schemas/ValidateResponse'
|
|
93
93
|
'400':
|
|
94
94
|
$ref: '#/components/responses/ValidationError'
|
|
95
|
+
x-ossa-capability: cli-validate
|
|
96
|
+
x-ossa-autonomy:
|
|
97
|
+
level: supervised
|
|
98
|
+
approval_required: true
|
|
95
99
|
|
|
96
100
|
/cli/lint:
|
|
97
101
|
post:
|
|
98
102
|
summary: "Lint manifest (CLI: ossa lint)"
|
|
99
103
|
description: Lint OSSA manifest for best practices and style
|
|
100
104
|
operationId: cliLint
|
|
101
|
-
tags: [Validation]
|
|
105
|
+
tags: [ Validation ]
|
|
102
106
|
requestBody:
|
|
103
107
|
required: true
|
|
104
108
|
content:
|
|
@@ -112,13 +116,17 @@ paths:
|
|
|
112
116
|
application/json:
|
|
113
117
|
schema:
|
|
114
118
|
$ref: '#/components/schemas/LintResponse'
|
|
119
|
+
x-ossa-capability: cli-lint
|
|
120
|
+
x-ossa-autonomy:
|
|
121
|
+
level: supervised
|
|
122
|
+
approval_required: true
|
|
115
123
|
|
|
116
124
|
/cli/diff:
|
|
117
125
|
post:
|
|
118
126
|
summary: "Diff manifests (CLI: ossa diff)"
|
|
119
127
|
description: Compare two OSSA manifests and show differences
|
|
120
128
|
operationId: cliDiff
|
|
121
|
-
tags: [Validation]
|
|
129
|
+
tags: [ Validation ]
|
|
122
130
|
requestBody:
|
|
123
131
|
required: true
|
|
124
132
|
content:
|
|
@@ -132,6 +140,10 @@ paths:
|
|
|
132
140
|
application/json:
|
|
133
141
|
schema:
|
|
134
142
|
$ref: '#/components/schemas/DiffResponse'
|
|
143
|
+
x-ossa-capability: cli-diff
|
|
144
|
+
x-ossa-autonomy:
|
|
145
|
+
level: supervised
|
|
146
|
+
approval_required: true
|
|
135
147
|
|
|
136
148
|
# ============================================================================
|
|
137
149
|
# EXPORT/IMPORT COMMANDS
|
|
@@ -144,7 +156,7 @@ paths:
|
|
|
144
156
|
Supported platforms: cursor, openai, anthropic, langchain, crewai,
|
|
145
157
|
autogen, langflow, langgraph, llamaindex, vercel-ai
|
|
146
158
|
operationId: cliExport
|
|
147
|
-
tags: [Export]
|
|
159
|
+
tags: [ Export ]
|
|
148
160
|
requestBody:
|
|
149
161
|
required: true
|
|
150
162
|
content:
|
|
@@ -160,13 +172,17 @@ paths:
|
|
|
160
172
|
$ref: '#/components/schemas/ExportResponse'
|
|
161
173
|
'400':
|
|
162
174
|
$ref: '#/components/responses/ValidationError'
|
|
175
|
+
x-ossa-capability: cli-export
|
|
176
|
+
x-ossa-autonomy:
|
|
177
|
+
level: supervised
|
|
178
|
+
approval_required: true
|
|
163
179
|
|
|
164
180
|
/cli/import:
|
|
165
181
|
post:
|
|
166
182
|
summary: "Import manifest (CLI: ossa import)"
|
|
167
183
|
description: Import from platform-specific format to OSSA manifest
|
|
168
184
|
operationId: cliImport
|
|
169
|
-
tags: [Import]
|
|
185
|
+
tags: [ Import ]
|
|
170
186
|
requestBody:
|
|
171
187
|
required: true
|
|
172
188
|
content:
|
|
@@ -180,6 +196,10 @@ paths:
|
|
|
180
196
|
application/json:
|
|
181
197
|
schema:
|
|
182
198
|
$ref: '#/components/schemas/ImportResponse'
|
|
199
|
+
x-ossa-capability: cli-import
|
|
200
|
+
x-ossa-autonomy:
|
|
201
|
+
level: supervised
|
|
202
|
+
approval_required: true
|
|
183
203
|
|
|
184
204
|
# ============================================================================
|
|
185
205
|
# GENERATION COMMANDS
|
|
@@ -189,7 +209,7 @@ paths:
|
|
|
189
209
|
summary: "Initialize manifest (CLI: ossa init)"
|
|
190
210
|
description: Create a new OSSA agent/task/workflow manifest
|
|
191
211
|
operationId: cliInit
|
|
192
|
-
tags: [Generation]
|
|
212
|
+
tags: [ Generation ]
|
|
193
213
|
requestBody:
|
|
194
214
|
required: true
|
|
195
215
|
content:
|
|
@@ -203,13 +223,17 @@ paths:
|
|
|
203
223
|
application/json:
|
|
204
224
|
schema:
|
|
205
225
|
$ref: '#/components/schemas/InitResponse'
|
|
226
|
+
x-ossa-capability: cli-init
|
|
227
|
+
x-ossa-autonomy:
|
|
228
|
+
level: supervised
|
|
229
|
+
approval_required: true
|
|
206
230
|
|
|
207
231
|
/cli/generate:
|
|
208
232
|
post:
|
|
209
233
|
summary: "Generate code (CLI: ossa generate)"
|
|
210
234
|
description: Generate code, types, or configurations from OSSA manifest
|
|
211
235
|
operationId: cliGenerate
|
|
212
|
-
tags: [Generation]
|
|
236
|
+
tags: [ Generation ]
|
|
213
237
|
requestBody:
|
|
214
238
|
required: true
|
|
215
239
|
content:
|
|
@@ -223,13 +247,17 @@ paths:
|
|
|
223
247
|
application/json:
|
|
224
248
|
schema:
|
|
225
249
|
$ref: '#/components/schemas/GenerateResponse'
|
|
250
|
+
x-ossa-capability: cli-generate
|
|
251
|
+
x-ossa-autonomy:
|
|
252
|
+
level: supervised
|
|
253
|
+
approval_required: true
|
|
226
254
|
|
|
227
255
|
/cli/migrate:
|
|
228
256
|
post:
|
|
229
257
|
summary: "Migrate manifest (CLI: ossa migrate)"
|
|
230
258
|
description: Migrate OSSA manifest between versions
|
|
231
259
|
operationId: cliMigrate
|
|
232
|
-
tags: [Migration]
|
|
260
|
+
tags: [ Migration ]
|
|
233
261
|
requestBody:
|
|
234
262
|
required: true
|
|
235
263
|
content:
|
|
@@ -243,6 +271,10 @@ paths:
|
|
|
243
271
|
application/json:
|
|
244
272
|
schema:
|
|
245
273
|
$ref: '#/components/schemas/MigrateResponse'
|
|
274
|
+
x-ossa-capability: cli-migrate
|
|
275
|
+
x-ossa-autonomy:
|
|
276
|
+
level: supervised
|
|
277
|
+
approval_required: true
|
|
246
278
|
|
|
247
279
|
/cli/upgrade:
|
|
248
280
|
post:
|
|
@@ -251,7 +283,7 @@ paths:
|
|
|
251
283
|
Automatically upgrade manifest(s) to the latest OSSA schema version.
|
|
252
284
|
Supports dry-run mode, automatic backups, and recursive directory processing.
|
|
253
285
|
operationId: cliUpgrade
|
|
254
|
-
tags: [Migration]
|
|
286
|
+
tags: [ Migration ]
|
|
255
287
|
requestBody:
|
|
256
288
|
required: true
|
|
257
289
|
content:
|
|
@@ -267,6 +299,10 @@ paths:
|
|
|
267
299
|
$ref: '#/components/schemas/UpgradeResponse'
|
|
268
300
|
'400':
|
|
269
301
|
$ref: '#/components/responses/ValidationError'
|
|
302
|
+
x-ossa-capability: cli-upgrade
|
|
303
|
+
x-ossa-autonomy:
|
|
304
|
+
level: supervised
|
|
305
|
+
approval_required: true
|
|
270
306
|
|
|
271
307
|
/cli/estimate:
|
|
272
308
|
post:
|
|
@@ -275,7 +311,7 @@ paths:
|
|
|
275
311
|
Estimate token counts and projected costs for an agent.
|
|
276
312
|
Supports scenario-based projections and multi-model comparison.
|
|
277
313
|
operationId: cliEstimate
|
|
278
|
-
tags: [Cost Estimation]
|
|
314
|
+
tags: [ Cost Estimation ]
|
|
279
315
|
requestBody:
|
|
280
316
|
required: true
|
|
281
317
|
content:
|
|
@@ -289,6 +325,10 @@ paths:
|
|
|
289
325
|
application/json:
|
|
290
326
|
schema:
|
|
291
327
|
$ref: '#/components/schemas/EstimateResponse'
|
|
328
|
+
x-ossa-capability: cli-estimate
|
|
329
|
+
x-ossa-autonomy:
|
|
330
|
+
level: supervised
|
|
331
|
+
approval_required: true
|
|
292
332
|
|
|
293
333
|
# ============================================================================
|
|
294
334
|
# AGENT CRUD COMMANDS
|
|
@@ -298,7 +338,7 @@ paths:
|
|
|
298
338
|
summary: "List agents (CLI: ossa agents list)"
|
|
299
339
|
description: List all agents with filtering
|
|
300
340
|
operationId: cliAgentList
|
|
301
|
-
tags: [Agents]
|
|
341
|
+
tags: [ Agents ]
|
|
302
342
|
parameters:
|
|
303
343
|
- name: search
|
|
304
344
|
in: query
|
|
@@ -328,12 +368,13 @@ paths:
|
|
|
328
368
|
application/json:
|
|
329
369
|
schema:
|
|
330
370
|
$ref: '#/components/schemas/AgentsList'
|
|
371
|
+
x-ossa-capability: cli-agent-list
|
|
331
372
|
|
|
332
373
|
post:
|
|
333
374
|
summary: "Create agent (CLI: ossa agents create)"
|
|
334
375
|
description: Create a new agent from manifest
|
|
335
376
|
operationId: cliAgentCreate
|
|
336
|
-
tags: [Agents]
|
|
377
|
+
tags: [ Agents ]
|
|
337
378
|
requestBody:
|
|
338
379
|
required: true
|
|
339
380
|
content:
|
|
@@ -349,13 +390,17 @@ paths:
|
|
|
349
390
|
$ref: '#/components/schemas/AgentResponse'
|
|
350
391
|
'400':
|
|
351
392
|
$ref: '#/components/responses/ValidationError'
|
|
393
|
+
x-ossa-capability: cli-agent-create
|
|
394
|
+
x-ossa-autonomy:
|
|
395
|
+
level: supervised
|
|
396
|
+
approval_required: true
|
|
352
397
|
|
|
353
398
|
/cli/agents/{name}:
|
|
354
399
|
get:
|
|
355
400
|
summary: "Get agent (CLI: ossa agents get)"
|
|
356
401
|
description: Get detailed information about an agent
|
|
357
402
|
operationId: cliAgentGet
|
|
358
|
-
tags: [Agents]
|
|
403
|
+
tags: [ Agents ]
|
|
359
404
|
parameters:
|
|
360
405
|
- $ref: '#/components/parameters/AgentName'
|
|
361
406
|
responses:
|
|
@@ -367,12 +412,13 @@ paths:
|
|
|
367
412
|
$ref: '#/components/schemas/AgentResponse'
|
|
368
413
|
'404':
|
|
369
414
|
$ref: '#/components/responses/NotFound'
|
|
415
|
+
x-ossa-capability: cli-agent-get
|
|
370
416
|
|
|
371
417
|
put:
|
|
372
418
|
summary: "Update agent (CLI: ossa agents update)"
|
|
373
419
|
description: Update an existing agent
|
|
374
420
|
operationId: cliAgentUpdate
|
|
375
|
-
tags: [Agents]
|
|
421
|
+
tags: [ Agents ]
|
|
376
422
|
parameters:
|
|
377
423
|
- $ref: '#/components/parameters/AgentName'
|
|
378
424
|
requestBody:
|
|
@@ -392,12 +438,16 @@ paths:
|
|
|
392
438
|
$ref: '#/components/responses/ValidationError'
|
|
393
439
|
'404':
|
|
394
440
|
$ref: '#/components/responses/NotFound'
|
|
441
|
+
x-ossa-capability: cli-agent-update
|
|
442
|
+
x-ossa-autonomy:
|
|
443
|
+
level: supervised
|
|
444
|
+
approval_required: true
|
|
395
445
|
|
|
396
446
|
delete:
|
|
397
447
|
summary: "Delete agent (CLI: ossa agents delete)"
|
|
398
448
|
description: Delete an agent
|
|
399
449
|
operationId: cliAgentDelete
|
|
400
|
-
tags: [Agents]
|
|
450
|
+
tags: [ Agents ]
|
|
401
451
|
parameters:
|
|
402
452
|
- $ref: '#/components/parameters/AgentName'
|
|
403
453
|
- name: force
|
|
@@ -410,6 +460,10 @@ paths:
|
|
|
410
460
|
description: Agent deleted
|
|
411
461
|
'404':
|
|
412
462
|
$ref: '#/components/responses/NotFound'
|
|
463
|
+
x-ossa-capability: cli-agent-delete
|
|
464
|
+
x-ossa-autonomy:
|
|
465
|
+
level: supervised
|
|
466
|
+
approval_required: true
|
|
413
467
|
|
|
414
468
|
# ============================================================================
|
|
415
469
|
# REGISTRY COMMANDS
|
|
@@ -419,7 +473,7 @@ paths:
|
|
|
419
473
|
summary: "Publish agent (CLI: ossa publish)"
|
|
420
474
|
description: Publish agent to registry
|
|
421
475
|
operationId: cliPublish
|
|
422
|
-
tags: [Registry]
|
|
476
|
+
tags: [ Registry ]
|
|
423
477
|
requestBody:
|
|
424
478
|
required: true
|
|
425
479
|
content:
|
|
@@ -433,13 +487,17 @@ paths:
|
|
|
433
487
|
application/json:
|
|
434
488
|
schema:
|
|
435
489
|
$ref: '#/components/schemas/PublishResponse'
|
|
490
|
+
x-ossa-capability: cli-publish
|
|
491
|
+
x-ossa-autonomy:
|
|
492
|
+
level: supervised
|
|
493
|
+
approval_required: true
|
|
436
494
|
|
|
437
495
|
/cli/registry/search:
|
|
438
496
|
get:
|
|
439
497
|
summary: "Search registry (CLI: ossa search)"
|
|
440
498
|
description: Search for agents in registry
|
|
441
499
|
operationId: cliSearch
|
|
442
|
-
tags: [Registry]
|
|
500
|
+
tags: [ Registry ]
|
|
443
501
|
parameters:
|
|
444
502
|
- name: query
|
|
445
503
|
in: query
|
|
@@ -458,13 +516,14 @@ paths:
|
|
|
458
516
|
application/json:
|
|
459
517
|
schema:
|
|
460
518
|
$ref: '#/components/schemas/SearchResponse'
|
|
519
|
+
x-ossa-capability: cli-search
|
|
461
520
|
|
|
462
521
|
/cli/registry/install:
|
|
463
522
|
post:
|
|
464
523
|
summary: "Install agent (CLI: ossa install)"
|
|
465
524
|
description: Install agent from registry
|
|
466
525
|
operationId: cliInstall
|
|
467
|
-
tags: [Registry]
|
|
526
|
+
tags: [ Registry ]
|
|
468
527
|
requestBody:
|
|
469
528
|
required: true
|
|
470
529
|
content:
|
|
@@ -478,13 +537,17 @@ paths:
|
|
|
478
537
|
application/json:
|
|
479
538
|
schema:
|
|
480
539
|
$ref: '#/components/schemas/InstallResponse'
|
|
540
|
+
x-ossa-capability: cli-install
|
|
541
|
+
x-ossa-autonomy:
|
|
542
|
+
level: supervised
|
|
543
|
+
approval_required: true
|
|
481
544
|
|
|
482
545
|
/cli/registry/info/{name}:
|
|
483
546
|
get:
|
|
484
547
|
summary: "Get agent info (CLI: ossa info)"
|
|
485
548
|
description: Get detailed information about a registry agent
|
|
486
549
|
operationId: cliInfo
|
|
487
|
-
tags: [Registry]
|
|
550
|
+
tags: [ Registry ]
|
|
488
551
|
parameters:
|
|
489
552
|
- $ref: '#/components/parameters/AgentName'
|
|
490
553
|
responses:
|
|
@@ -494,6 +557,7 @@ paths:
|
|
|
494
557
|
application/json:
|
|
495
558
|
schema:
|
|
496
559
|
$ref: '#/components/schemas/InfoResponse'
|
|
560
|
+
x-ossa-capability: cli-info
|
|
497
561
|
|
|
498
562
|
# ============================================================================
|
|
499
563
|
# SCHEMA COMMANDS
|
|
@@ -503,7 +567,7 @@ paths:
|
|
|
503
567
|
summary: "Get schema (CLI: ossa schema)"
|
|
504
568
|
description: Get OSSA JSON schema
|
|
505
569
|
operationId: cliSchema
|
|
506
|
-
tags: [Schema]
|
|
570
|
+
tags: [ Schema ]
|
|
507
571
|
parameters:
|
|
508
572
|
- name: version
|
|
509
573
|
in: query
|
|
@@ -514,7 +578,7 @@ paths:
|
|
|
514
578
|
in: query
|
|
515
579
|
schema:
|
|
516
580
|
type: string
|
|
517
|
-
enum: [json, yaml]
|
|
581
|
+
enum: [ json, yaml ]
|
|
518
582
|
default: json
|
|
519
583
|
responses:
|
|
520
584
|
'200':
|
|
@@ -523,6 +587,7 @@ paths:
|
|
|
523
587
|
application/json:
|
|
524
588
|
schema:
|
|
525
589
|
type: object
|
|
590
|
+
x-ossa-capability: cli-schema
|
|
526
591
|
|
|
527
592
|
# ============================================================================
|
|
528
593
|
# TESTING COMMANDS
|
|
@@ -535,7 +600,7 @@ paths:
|
|
|
535
600
|
Supports pre-defined test scenarios and watch mode for development.
|
|
536
601
|
Mock mode allows testing without API keys using deterministic responses.
|
|
537
602
|
operationId: cliTest
|
|
538
|
-
tags: [Testing]
|
|
603
|
+
tags: [ Testing ]
|
|
539
604
|
requestBody:
|
|
540
605
|
required: true
|
|
541
606
|
content:
|
|
@@ -549,6 +614,10 @@ paths:
|
|
|
549
614
|
application/json:
|
|
550
615
|
schema:
|
|
551
616
|
$ref: '#/components/schemas/TestResponse'
|
|
617
|
+
x-ossa-capability: cli-test
|
|
618
|
+
x-ossa-autonomy:
|
|
619
|
+
level: supervised
|
|
620
|
+
approval_required: true
|
|
552
621
|
|
|
553
622
|
# ============================================================================
|
|
554
623
|
# DEPLOYMENT COMMANDS
|
|
@@ -558,7 +627,7 @@ paths:
|
|
|
558
627
|
summary: "Deploy agent (CLI: ossa deploy)"
|
|
559
628
|
description: Deploy agent to runtime environment
|
|
560
629
|
operationId: cliDeploy
|
|
561
|
-
tags: [Deployment]
|
|
630
|
+
tags: [ Deployment ]
|
|
562
631
|
requestBody:
|
|
563
632
|
required: true
|
|
564
633
|
content:
|
|
@@ -572,13 +641,17 @@ paths:
|
|
|
572
641
|
application/json:
|
|
573
642
|
schema:
|
|
574
643
|
$ref: '#/components/schemas/DeployResponse'
|
|
644
|
+
x-ossa-capability: cli-deploy
|
|
645
|
+
x-ossa-autonomy:
|
|
646
|
+
level: supervised
|
|
647
|
+
approval_required: true
|
|
575
648
|
|
|
576
649
|
/cli/run:
|
|
577
650
|
post:
|
|
578
651
|
summary: "Run agent (CLI: ossa run)"
|
|
579
652
|
description: Run agent locally or in development mode
|
|
580
653
|
operationId: cliRun
|
|
581
|
-
tags: [Deployment]
|
|
654
|
+
tags: [ Deployment ]
|
|
582
655
|
requestBody:
|
|
583
656
|
required: true
|
|
584
657
|
content:
|
|
@@ -592,13 +665,17 @@ paths:
|
|
|
592
665
|
application/json:
|
|
593
666
|
schema:
|
|
594
667
|
$ref: '#/components/schemas/RunResponse'
|
|
668
|
+
x-ossa-capability: cli-run
|
|
669
|
+
x-ossa-autonomy:
|
|
670
|
+
level: supervised
|
|
671
|
+
approval_required: true
|
|
595
672
|
|
|
596
673
|
/cli/status:
|
|
597
674
|
get:
|
|
598
675
|
summary: "Get deployment status (CLI: ossa status)"
|
|
599
676
|
description: Get deployment status for an agent
|
|
600
677
|
operationId: cliStatus
|
|
601
|
-
tags: [Deployment]
|
|
678
|
+
tags: [ Deployment ]
|
|
602
679
|
parameters:
|
|
603
680
|
- name: name
|
|
604
681
|
in: query
|
|
@@ -611,13 +688,14 @@ paths:
|
|
|
611
688
|
application/json:
|
|
612
689
|
schema:
|
|
613
690
|
$ref: '#/components/schemas/StatusResponse'
|
|
691
|
+
x-ossa-capability: cli-status
|
|
614
692
|
|
|
615
693
|
/cli/stop:
|
|
616
694
|
post:
|
|
617
695
|
summary: "Stop agent (CLI: ossa stop)"
|
|
618
696
|
description: Stop a running agent
|
|
619
697
|
operationId: cliStop
|
|
620
|
-
tags: [Deployment]
|
|
698
|
+
tags: [ Deployment ]
|
|
621
699
|
requestBody:
|
|
622
700
|
required: true
|
|
623
701
|
content:
|
|
@@ -631,13 +709,17 @@ paths:
|
|
|
631
709
|
application/json:
|
|
632
710
|
schema:
|
|
633
711
|
$ref: '#/components/schemas/StopResponse'
|
|
712
|
+
x-ossa-capability: cli-stop
|
|
713
|
+
x-ossa-autonomy:
|
|
714
|
+
level: supervised
|
|
715
|
+
approval_required: true
|
|
634
716
|
|
|
635
717
|
/cli/rollback:
|
|
636
718
|
post:
|
|
637
719
|
summary: "Rollback deployment (CLI: ossa rollback)"
|
|
638
720
|
description: Rollback to previous deployment
|
|
639
721
|
operationId: cliRollback
|
|
640
|
-
tags: [Deployment]
|
|
722
|
+
tags: [ Deployment ]
|
|
641
723
|
requestBody:
|
|
642
724
|
required: true
|
|
643
725
|
content:
|
|
@@ -651,6 +733,10 @@ paths:
|
|
|
651
733
|
application/json:
|
|
652
734
|
schema:
|
|
653
735
|
$ref: '#/components/schemas/RollbackResponse'
|
|
736
|
+
x-ossa-capability: cli-rollback
|
|
737
|
+
x-ossa-autonomy:
|
|
738
|
+
level: supervised
|
|
739
|
+
approval_required: true
|
|
654
740
|
|
|
655
741
|
# ============================================================================
|
|
656
742
|
# LLMS.TXT COMMANDS
|
|
@@ -660,7 +746,7 @@ paths:
|
|
|
660
746
|
summary: "Generate llms.txt (CLI: ossa llms-txt generate)"
|
|
661
747
|
description: Generate llms.txt file from OSSA manifest
|
|
662
748
|
operationId: cliLlmsTxtGenerate
|
|
663
|
-
tags: [llms.txt]
|
|
749
|
+
tags: [ llms.txt ]
|
|
664
750
|
requestBody:
|
|
665
751
|
required: true
|
|
666
752
|
content:
|
|
@@ -674,13 +760,17 @@ paths:
|
|
|
674
760
|
application/json:
|
|
675
761
|
schema:
|
|
676
762
|
$ref: '#/components/schemas/LlmsTxtGenerateResponse'
|
|
763
|
+
x-ossa-capability: cli-llms-txt-generate
|
|
764
|
+
x-ossa-autonomy:
|
|
765
|
+
level: supervised
|
|
766
|
+
approval_required: true
|
|
677
767
|
|
|
678
768
|
/cli/llms-txt/validate:
|
|
679
769
|
post:
|
|
680
770
|
summary: "Validate llms.txt (CLI: ossa llms-txt validate)"
|
|
681
771
|
description: Validate llms.txt file against OSSA manifest
|
|
682
772
|
operationId: cliLlmsTxtValidate
|
|
683
|
-
tags: [llms.txt]
|
|
773
|
+
tags: [ llms.txt ]
|
|
684
774
|
requestBody:
|
|
685
775
|
required: true
|
|
686
776
|
content:
|
|
@@ -694,13 +784,17 @@ paths:
|
|
|
694
784
|
application/json:
|
|
695
785
|
schema:
|
|
696
786
|
$ref: '#/components/schemas/LlmsTxtValidateResponse'
|
|
787
|
+
x-ossa-capability: cli-llms-txt-validate
|
|
788
|
+
x-ossa-autonomy:
|
|
789
|
+
level: supervised
|
|
790
|
+
approval_required: true
|
|
697
791
|
|
|
698
792
|
/cli/llms-txt/sync:
|
|
699
793
|
post:
|
|
700
794
|
summary: "Sync llms.txt (CLI: ossa llms-txt sync)"
|
|
701
795
|
description: Sync llms.txt with manifest changes
|
|
702
796
|
operationId: cliLlmsTxtSync
|
|
703
|
-
tags: [llms.txt]
|
|
797
|
+
tags: [ llms.txt ]
|
|
704
798
|
requestBody:
|
|
705
799
|
required: true
|
|
706
800
|
content:
|
|
@@ -714,6 +808,10 @@ paths:
|
|
|
714
808
|
application/json:
|
|
715
809
|
schema:
|
|
716
810
|
$ref: '#/components/schemas/LlmsTxtSyncResponse'
|
|
811
|
+
x-ossa-capability: cli-llms-txt-sync
|
|
812
|
+
x-ossa-autonomy:
|
|
813
|
+
level: supervised
|
|
814
|
+
approval_required: true
|
|
717
815
|
|
|
718
816
|
components:
|
|
719
817
|
parameters:
|
|
@@ -732,7 +830,7 @@ components:
|
|
|
732
830
|
# ============================================================================
|
|
733
831
|
Kind:
|
|
734
832
|
type: string
|
|
735
|
-
enum: [Agent, Task, Workflow]
|
|
833
|
+
enum: [ Agent, Task, Workflow ]
|
|
736
834
|
description: OSSA manifest kind
|
|
737
835
|
|
|
738
836
|
ExportPlatform:
|
|
@@ -841,7 +939,7 @@ components:
|
|
|
841
939
|
properties:
|
|
842
940
|
severity:
|
|
843
941
|
type: string
|
|
844
|
-
enum: [error, warning, info]
|
|
942
|
+
enum: [ error, warning, info ]
|
|
845
943
|
path:
|
|
846
944
|
type: string
|
|
847
945
|
message:
|
|
@@ -864,7 +962,7 @@ components:
|
|
|
864
962
|
type: string
|
|
865
963
|
format:
|
|
866
964
|
type: string
|
|
867
|
-
enum: [unified, json, side-by-side]
|
|
965
|
+
enum: [ unified, json, side-by-side ]
|
|
868
966
|
default: unified
|
|
869
967
|
|
|
870
968
|
DiffResponse:
|
|
@@ -883,7 +981,7 @@ components:
|
|
|
883
981
|
type: string
|
|
884
982
|
type:
|
|
885
983
|
type: string
|
|
886
|
-
enum: [added, removed, modified]
|
|
984
|
+
enum: [ added, removed, modified ]
|
|
887
985
|
before:
|
|
888
986
|
type: string
|
|
889
987
|
after:
|
|
@@ -962,7 +1060,7 @@ components:
|
|
|
962
1060
|
$ref: '#/components/schemas/Kind'
|
|
963
1061
|
template:
|
|
964
1062
|
type: string
|
|
965
|
-
enum: [minimal, standard, enterprise]
|
|
1063
|
+
enum: [ minimal, standard, enterprise ]
|
|
966
1064
|
default: standard
|
|
967
1065
|
output:
|
|
968
1066
|
type: string
|
|
@@ -1098,7 +1196,7 @@ components:
|
|
|
1098
1196
|
type: string
|
|
1099
1197
|
status:
|
|
1100
1198
|
type: string
|
|
1101
|
-
enum: [upgraded, skipped, failed]
|
|
1199
|
+
enum: [ upgraded, skipped, failed ]
|
|
1102
1200
|
message:
|
|
1103
1201
|
type: string
|
|
1104
1202
|
currentVersion:
|
|
@@ -1124,7 +1222,7 @@ components:
|
|
|
1124
1222
|
default: 100
|
|
1125
1223
|
timeframe:
|
|
1126
1224
|
type: string
|
|
1127
|
-
enum: [day, week, month, year]
|
|
1225
|
+
enum: [ day, week, month, year ]
|
|
1128
1226
|
description: Timeframe for cost projection
|
|
1129
1227
|
default: month
|
|
1130
1228
|
compare:
|
|
@@ -1397,11 +1495,11 @@ components:
|
|
|
1397
1495
|
type: string
|
|
1398
1496
|
environment:
|
|
1399
1497
|
type: string
|
|
1400
|
-
enum: [local, dev, staging, production]
|
|
1498
|
+
enum: [ local, dev, staging, production ]
|
|
1401
1499
|
default: local
|
|
1402
1500
|
driver:
|
|
1403
1501
|
type: string
|
|
1404
|
-
enum: [local, docker, kubernetes]
|
|
1502
|
+
enum: [ local, docker, kubernetes ]
|
|
1405
1503
|
default: local
|
|
1406
1504
|
dryRun:
|
|
1407
1505
|
type: boolean
|
|
@@ -1449,7 +1547,7 @@ components:
|
|
|
1449
1547
|
type: string
|
|
1450
1548
|
status:
|
|
1451
1549
|
type: string
|
|
1452
|
-
enum: [running, stopped, error, deploying]
|
|
1550
|
+
enum: [ running, stopped, error, deploying ]
|
|
1453
1551
|
deploymentId:
|
|
1454
1552
|
type: string
|
|
1455
1553
|
uptime:
|
|
@@ -1623,3 +1721,12 @@ x-ossa-metadata:
|
|
|
1623
1721
|
approved: true
|
|
1624
1722
|
approvedBy: OSSA Standards Team
|
|
1625
1723
|
approvalDate: 2026-01-09
|
|
1724
|
+
observability:
|
|
1725
|
+
tracing: true
|
|
1726
|
+
metrics: true
|
|
1727
|
+
logging: true
|
|
1728
|
+
x-ossa:
|
|
1729
|
+
version: 0.5.0
|
|
1730
|
+
agent:
|
|
1731
|
+
id: ossa-cli
|
|
1732
|
+
type: gateway
|