@bluefly/openstandardagents 0.4.9 → 0.5.1
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 +35 -4
- package/README.md +77 -62
- package/dist/.version.json +3 -3
- package/dist/adapters/a2a/a2a-protocol.js +4 -2
- package/dist/adapters/a2a/a2a-tool.js +4 -2
- package/dist/adapters/a2a/mcp-integration.d.ts +2 -1
- package/dist/adapters/a2a/mcp-integration.js +6 -3
- package/dist/adapters/browser/browser-exporter.d.ts +26 -0
- package/dist/adapters/browser/browser-exporter.js +73 -0
- package/dist/adapters/browser/browser-runner.d.ts +23 -0
- package/dist/adapters/browser/browser-runner.js +46 -0
- package/dist/adapters/browser/index.d.ts +9 -0
- package/dist/adapters/browser/index.js +9 -0
- package/dist/adapters/claude-code/adapter.js +2 -2
- package/dist/adapters/docker/generators.js +19 -19
- package/dist/adapters/docker/index.d.ts +2 -0
- package/dist/adapters/docker/index.js +2 -0
- package/dist/adapters/docker/openclaw-bridge.d.ts +57 -0
- package/dist/adapters/docker/openclaw-bridge.js +173 -0
- package/dist/adapters/drupal/generator.js +76 -76
- package/dist/adapters/drupal/index.d.ts +1 -0
- package/dist/adapters/drupal/index.js +2 -0
- package/dist/adapters/drupal/twig-renderer.d.ts +23 -0
- package/dist/adapters/drupal/twig-renderer.js +99 -0
- package/dist/adapters/gitlab/agent-generator.js +2 -1
- package/dist/adapters/openai-agents/adapter.js +2 -2
- package/dist/api/index.js +2 -1
- package/dist/api/routes/mcp.router.js +3 -1
- package/dist/api/routes/wizard.router.js +3 -1
- package/dist/cli/commands/agent/discover-type.command.js +1 -1
- package/dist/cli/commands/agent-card.command.js +37 -10
- package/dist/cli/commands/agents-sync.command.d.ts +2 -2
- package/dist/cli/commands/agents-sync.command.js +27 -17
- package/dist/cli/commands/catalog/config.js +1 -1
- package/dist/cli/commands/catalog/validate.command.js +2 -2
- package/dist/cli/commands/config.command.js +2 -2
- package/dist/cli/commands/daemon.command.js +32 -8
- package/dist/cli/commands/discover.d.ts +1 -1
- package/dist/cli/commands/discover.js +16 -8
- package/dist/cli/commands/economics.command.d.ts +9 -0
- package/dist/cli/commands/economics.command.js +113 -0
- package/dist/cli/commands/export.command.js +6 -3
- package/dist/cli/commands/mcp.command.js +3 -1
- package/dist/cli/commands/memory.command.d.ts +18 -0
- package/dist/cli/commands/memory.command.js +168 -0
- package/dist/cli/commands/publish.command.js +7 -4
- package/dist/cli/commands/serve-builder-routes.js +1 -1
- package/dist/cli/commands/usie-skills.command.d.ts +24 -0
- package/dist/cli/commands/usie-skills.command.js +297 -0
- package/dist/cli/commands/validate.command.js +8 -1
- package/dist/cli/commands/verify.d.ts +3 -3
- package/dist/cli/commands/verify.js +12 -6
- package/dist/cli/commands/workspace.command.d.ts +1 -0
- package/dist/cli/commands/workspace.command.js +28 -4
- package/dist/cli/index.js +12 -0
- package/dist/cli/schema-driven/schema-loader.js +5 -5
- package/dist/cli/workspace-validate.d.ts +23 -0
- package/dist/cli/workspace-validate.js +117 -0
- package/dist/data/platform-matrix.js +1 -4
- package/dist/generated/types.d.ts +97 -97
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/mcp-server/index.js +658 -982
- package/dist/mesh/discovery-gkg.d.ts +26 -0
- package/dist/mesh/discovery-gkg.js +92 -0
- package/dist/messenger/Handler/AgentBatchHandler.js +3 -2
- package/dist/messenger/Handler/AgentExecutionHandler.js +6 -1
- package/dist/package.json +43 -14
- package/dist/sdks/shared/types.d.ts +1 -1
- package/dist/services/agent-card-generator.js +6 -2
- package/dist/services/daemon/audit-log.service.js +3 -1
- package/dist/services/daemon/execution.service.js +8 -4
- package/dist/services/daemon/fs-watcher.service.js +6 -7
- package/dist/services/daemon/pairing.service.js +2 -1
- package/dist/services/daemon/skill-aggregator.service.js +105 -21
- package/dist/services/daemon/sse-endpoints.js +1 -1
- package/dist/services/daemon/ws-server.js +10 -3
- 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/governance/cedar-provider.js +12 -8
- package/dist/services/governance/cedar-validator.service.js +1 -1
- package/dist/services/mcp/bridge.service.js +40 -9
- package/dist/services/openapi-extensions-validation.d.ts +20 -0
- package/dist/services/openapi-extensions-validation.js +193 -0
- package/dist/services/release-automation/merge-request.service.d.ts +4 -4
- package/dist/services/release-automation/release-buttons.js +3 -3
- package/dist/services/release-automation/schemas/release.schema.d.ts +3 -3
- package/dist/services/runtime/openai.adapter.d.ts +46 -13
- package/dist/services/runtime/openai.adapter.js +169 -131
- package/dist/services/skill-registry.service.d.ts +1 -1
- package/dist/services/skills-pipeline/skills-research.service.js +47 -7
- package/dist/services/taxonomy-service.d.ts +3 -3
- package/dist/services/trust/trust.service.js +6 -4
- package/dist/services/validation-zod.service.js +3 -22
- package/dist/services/validators/index.d.ts +1 -0
- package/dist/services/validators/index.js +1 -0
- package/dist/services/validators/registry.d.ts +21 -0
- package/dist/services/validators/registry.js +42 -0
- package/dist/skills/test-skill/package.json +1 -1
- package/dist/spec/extensions/cognition.schema.json +87 -0
- package/dist/spec/extensions/role-manifest.md +188 -0
- package/dist/spec/layer4-economics/duadp-examples.json +44 -0
- package/dist/spec/v0.4/agent.schema.json +14 -0
- package/dist/spec/v0.4/extensions/mcp/README.md +1 -1
- package/dist/spec/v0.5/agent-builder-openapi.yaml +230 -0
- package/dist/spec/v0.5/agent.schema.json +34 -2
- package/dist/spec/v0.5/extensions/cognition/cognition.schema.json +78 -1
- package/dist/spec/v0.5/extensions/economics/context-pack.schema.json +91 -0
- package/dist/spec/v0.5/extensions/economics/execution-profile.schema.json +148 -0
- package/dist/spec/v0.5/extensions/economics/failure-semantics.schema.json +32 -0
- package/dist/spec/v0.5/extensions/economics/replay-packet.schema.json +120 -0
- package/dist/spec/v0.5/memory-hierarchy.yaml +120 -0
- package/dist/spec/v0.5/role.schema.json +268 -0
- package/dist/spec/v1/agent-card.schema.json +254 -0
- package/dist/types/cognition.zod.d.ts +312 -0
- package/dist/types/cognition.zod.js +223 -0
- package/dist/types/identity.zod.d.ts +5 -5
- package/dist/types/index.d.ts +54 -6
- package/dist/types/index.js +6 -2
- package/dist/types/personality.zod.d.ts +3 -3
- package/dist/types/role.d.ts +126 -0
- package/dist/types/role.js +38 -0
- package/dist/utils/http-client.d.ts +22 -0
- package/dist/utils/http-client.js +51 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/proxy-resolver.d.ts +36 -0
- package/dist/utils/proxy-resolver.js +59 -0
- package/dist/utils/user-agent.d.ts +11 -0
- package/dist/utils/user-agent.js +17 -0
- package/dist/validation/validator.js +1 -1
- package/dist/validation/version-compliance.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/README.md +1 -1
- package/examples/agentscope/react-assistant/agent.ossa.yaml +37 -33
- package/examples/drupal/content-moderator.ossa.yaml +2 -2
- package/examples/drupal/drupal-contributor-agent/.eslintrc.json +58 -0
- package/examples/drupal/drupal-contributor-agent/.prettierrc.json +10 -0
- package/examples/drupal/drupal-contributor-agent/package.json +55 -0
- package/examples/drupal/drupal-contributor-agent/src/core/index.ts +10 -0
- package/examples/drupal/drupal-contributor-agent/src/index.ts +17 -0
- package/examples/drupal/drupal-contributor-agent/src/types/index.ts +180 -0
- package/examples/drupal/drupal-contributor-agent/tsconfig.json +36 -0
- 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/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-cognition-sessions.yaml +580 -0
- package/openapi/agent-communication.yaml +260 -212
- package/openapi/agent-crud.yaml +237 -207
- 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 +299 -236
- 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 +109 -90
- 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 +48 -14
- package/openapi/schemas/common/agent.yaml +30 -29
- package/openapi/schemas/common/economics.yaml +98 -0
- 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 +5 -3
- package/openapi/uadp-openapi.yaml +243 -165
- package/openapi/version-management.openapi.yaml +142 -135
- package/package.json +43 -14
- package/spec/extensions/cognition.schema.json +87 -0
- package/spec/extensions/role-manifest.md +188 -0
- package/spec/layer4-economics/duadp-examples.json +44 -0
- package/spec/v0.4/agent.schema.json +14 -0
- package/spec/v0.4/extensions/mcp/README.md +1 -1
- package/spec/v0.5/agent-builder-openapi.yaml +230 -0
- package/spec/v0.5/agent.schema.json +34 -2
- package/spec/v0.5/extensions/cognition/cognition.schema.json +78 -1
- package/spec/v0.5/extensions/economics/context-pack.schema.json +91 -0
- package/spec/v0.5/extensions/economics/execution-profile.schema.json +148 -0
- package/spec/v0.5/extensions/economics/failure-semantics.schema.json +32 -0
- package/spec/v0.5/extensions/economics/replay-packet.schema.json +120 -0
- package/spec/v0.5/memory-hierarchy.yaml +120 -0
- package/spec/v0.5/role.schema.json +268 -0
- package/spec/v1/agent-card.schema.json +254 -0
- package/dist/adapters/a2a/__tests__/mcp-integration.spec.d.ts +0 -5
- package/dist/adapters/a2a/__tests__/mcp-integration.spec.js +0 -268
- package/dist/adapters/a2a/__tests__/mcp-transport.spec.d.ts +0 -5
- package/dist/adapters/a2a/__tests__/mcp-transport.spec.js +0 -203
- package/dist/mcp-server/__tests__/mcp-server.spec.d.ts +0 -8
- package/dist/mcp-server/__tests__/mcp-server.spec.js +0 -557
- package/dist/validation/__tests__/error-codes.test.d.ts +0 -5
- package/dist/validation/__tests__/error-codes.test.js +0 -252
- package/dist/version-management/core/version-manager.test.d.ts +0 -2
- package/dist/version-management/core/version-manager.test.js +0 -210
|
@@ -16,14 +16,12 @@ info:
|
|
|
16
16
|
- **Runtime Management**: Production deployment and lifecycle management
|
|
17
17
|
- **Compliance & Governance**: Policy enforcement and audit trails
|
|
18
18
|
- **Observability**: Comprehensive monitoring and tracing
|
|
19
|
-
|
|
20
19
|
contact:
|
|
21
20
|
name: Bluefly.io LLM Platform Team
|
|
22
21
|
url: https://github.com/blueflyio/openstandardagents
|
|
23
22
|
license:
|
|
24
23
|
name: MIT
|
|
25
24
|
url: https://opensource.org/licenses/MIT
|
|
26
|
-
|
|
27
25
|
servers:
|
|
28
26
|
- url: https://api.llm.bluefly.io/ossa/v1
|
|
29
27
|
description: Production server
|
|
@@ -31,71 +29,77 @@ servers:
|
|
|
31
29
|
description: Development server
|
|
32
30
|
- url: http://localhost:3000
|
|
33
31
|
description: Local development
|
|
34
|
-
|
|
35
32
|
security:
|
|
36
33
|
- ApiKeyAuth: []
|
|
37
34
|
- BearerAuth: []
|
|
38
|
-
- OAuth2:
|
|
39
|
-
|
|
35
|
+
- OAuth2:
|
|
36
|
+
- read
|
|
37
|
+
- write
|
|
38
|
+
- admin
|
|
40
39
|
paths:
|
|
41
|
-
# Health & Status
|
|
42
40
|
/health:
|
|
43
41
|
get:
|
|
44
|
-
|
|
45
42
|
summary: Health check
|
|
46
|
-
tags:
|
|
43
|
+
tags:
|
|
44
|
+
- Health
|
|
47
45
|
operationId: healthCheck
|
|
48
46
|
security: []
|
|
49
47
|
responses:
|
|
50
|
-
|
|
51
|
-
$ref:
|
|
52
|
-
|
|
53
|
-
$ref:
|
|
54
|
-
|
|
55
|
-
$ref:
|
|
48
|
+
"200":
|
|
49
|
+
$ref: "#/components/responses/HealthCheck"
|
|
50
|
+
"500":
|
|
51
|
+
$ref: "#/components/responses/InternalServerError"
|
|
52
|
+
"503":
|
|
53
|
+
$ref: "#/components/responses/ServiceUnavailable"
|
|
54
|
+
x-ossa-capability: core-health-check
|
|
55
|
+
description: Health check
|
|
56
56
|
/health/ready:
|
|
57
57
|
get:
|
|
58
58
|
summary: Readiness check
|
|
59
|
-
tags:
|
|
59
|
+
tags:
|
|
60
|
+
- Health
|
|
60
61
|
operationId: readinessCheck
|
|
61
62
|
security: []
|
|
62
63
|
responses:
|
|
63
|
-
|
|
64
|
-
$ref:
|
|
65
|
-
|
|
66
|
-
$ref:
|
|
67
|
-
|
|
68
|
-
$ref:
|
|
69
|
-
|
|
64
|
+
"200":
|
|
65
|
+
$ref: "#/components/responses/HealthCheck"
|
|
66
|
+
"500":
|
|
67
|
+
$ref: "#/components/responses/InternalServerError"
|
|
68
|
+
"503":
|
|
69
|
+
$ref: "#/components/responses/ServiceUnavailable"
|
|
70
|
+
x-ossa-capability: core-readiness-check
|
|
71
|
+
description: Readiness check
|
|
70
72
|
/health/live:
|
|
71
73
|
get:
|
|
72
74
|
summary: Liveness check
|
|
73
|
-
tags:
|
|
75
|
+
tags:
|
|
76
|
+
- Health
|
|
74
77
|
operationId: livenessCheck
|
|
75
78
|
security: []
|
|
76
79
|
responses:
|
|
77
|
-
|
|
78
|
-
$ref:
|
|
79
|
-
|
|
80
|
-
$ref:
|
|
81
|
-
|
|
82
|
-
$ref:
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
"200":
|
|
81
|
+
$ref: "#/components/responses/HealthCheck"
|
|
82
|
+
"500":
|
|
83
|
+
$ref: "#/components/responses/InternalServerError"
|
|
84
|
+
"503":
|
|
85
|
+
$ref: "#/components/responses/ServiceUnavailable"
|
|
86
|
+
x-ossa-capability: core-liveness-check
|
|
87
|
+
description: Liveness check
|
|
85
88
|
/agents:
|
|
86
89
|
get:
|
|
87
90
|
summary: List registered agents
|
|
88
91
|
description: Query the global agent registry
|
|
89
|
-
tags:
|
|
92
|
+
tags:
|
|
93
|
+
- Registry
|
|
90
94
|
operationId: listAgents
|
|
91
95
|
parameters:
|
|
92
|
-
- $ref:
|
|
93
|
-
- $ref:
|
|
94
|
-
- $ref:
|
|
96
|
+
- $ref: "#/components/parameters/Search"
|
|
97
|
+
- $ref: "#/components/parameters/Limit"
|
|
98
|
+
- $ref: "#/components/parameters/Offset"
|
|
95
99
|
- name: type
|
|
96
100
|
in: query
|
|
97
101
|
schema:
|
|
98
|
-
$ref:
|
|
102
|
+
$ref: "#/components/schemas/AgentType"
|
|
99
103
|
- name: capability
|
|
100
104
|
in: query
|
|
101
105
|
schema:
|
|
@@ -103,121 +107,145 @@ paths:
|
|
|
103
107
|
- name: status
|
|
104
108
|
in: query
|
|
105
109
|
schema:
|
|
106
|
-
$ref:
|
|
110
|
+
$ref: "#/components/schemas/AgentStatus"
|
|
107
111
|
responses:
|
|
108
|
-
|
|
112
|
+
"200":
|
|
109
113
|
description: List of agents
|
|
110
114
|
content:
|
|
111
115
|
application/json:
|
|
112
116
|
schema:
|
|
113
|
-
$ref:
|
|
114
|
-
|
|
117
|
+
$ref: "#/components/schemas/AgentsList"
|
|
118
|
+
x-ossa-capability: core-list-agents
|
|
115
119
|
post:
|
|
116
120
|
summary: Register new agent
|
|
117
|
-
tags:
|
|
121
|
+
tags:
|
|
122
|
+
- Registry
|
|
118
123
|
operationId: registerAgent
|
|
119
124
|
requestBody:
|
|
120
125
|
required: true
|
|
121
126
|
content:
|
|
122
127
|
application/json:
|
|
123
128
|
schema:
|
|
124
|
-
$ref:
|
|
129
|
+
$ref: "#/components/schemas/AgentManifest"
|
|
125
130
|
responses:
|
|
126
|
-
|
|
131
|
+
"201":
|
|
127
132
|
description: Agent registered
|
|
128
133
|
content:
|
|
129
134
|
application/json:
|
|
130
135
|
schema:
|
|
131
|
-
$ref:
|
|
132
|
-
|
|
133
|
-
$ref:
|
|
134
|
-
|
|
136
|
+
$ref: "#/components/schemas/AgentRegistration"
|
|
137
|
+
"400":
|
|
138
|
+
$ref: "#/components/responses/ValidationError"
|
|
139
|
+
x-ossa-capability: core-register-agent
|
|
140
|
+
x-ossa-autonomy:
|
|
141
|
+
level: supervised
|
|
142
|
+
approval_required: true
|
|
143
|
+
description: Register new agent
|
|
135
144
|
/agents/{agentId}:
|
|
136
145
|
get:
|
|
137
146
|
summary: Get agent details
|
|
138
|
-
tags:
|
|
147
|
+
tags:
|
|
148
|
+
- Registry
|
|
139
149
|
operationId: getAgent
|
|
140
150
|
parameters:
|
|
141
|
-
- $ref:
|
|
151
|
+
- $ref: "#/components/parameters/AgentId"
|
|
142
152
|
responses:
|
|
143
|
-
|
|
153
|
+
"200":
|
|
144
154
|
description: Agent details
|
|
145
155
|
content:
|
|
146
156
|
application/json:
|
|
147
157
|
schema:
|
|
148
|
-
$ref:
|
|
149
|
-
|
|
150
|
-
$ref:
|
|
151
|
-
|
|
158
|
+
$ref: "#/components/schemas/Agent"
|
|
159
|
+
"404":
|
|
160
|
+
$ref: "#/components/responses/NotFound"
|
|
161
|
+
x-ossa-capability: core-get-agent
|
|
162
|
+
description: Get agent details
|
|
152
163
|
put:
|
|
153
164
|
summary: Update agent registration
|
|
154
|
-
tags:
|
|
165
|
+
tags:
|
|
166
|
+
- Registry
|
|
155
167
|
operationId: updateAgent
|
|
156
168
|
parameters:
|
|
157
|
-
- $ref:
|
|
169
|
+
- $ref: "#/components/parameters/AgentId"
|
|
158
170
|
requestBody:
|
|
159
171
|
required: true
|
|
160
172
|
content:
|
|
161
173
|
application/json:
|
|
162
174
|
schema:
|
|
163
|
-
$ref:
|
|
175
|
+
$ref: "#/components/schemas/AgentManifest"
|
|
164
176
|
responses:
|
|
165
|
-
|
|
177
|
+
"200":
|
|
166
178
|
description: Agent updated
|
|
167
179
|
content:
|
|
168
180
|
application/json:
|
|
169
181
|
schema:
|
|
170
|
-
$ref:
|
|
171
|
-
|
|
182
|
+
$ref: "#/components/schemas/Agent"
|
|
183
|
+
x-ossa-capability: core-update-agent
|
|
184
|
+
x-ossa-autonomy:
|
|
185
|
+
level: supervised
|
|
186
|
+
approval_required: true
|
|
187
|
+
description: Update agent registration
|
|
172
188
|
delete:
|
|
173
189
|
summary: Unregister agent
|
|
174
|
-
tags:
|
|
190
|
+
tags:
|
|
191
|
+
- Registry
|
|
175
192
|
operationId: unregisterAgent
|
|
176
193
|
parameters:
|
|
177
|
-
- $ref:
|
|
194
|
+
- $ref: "#/components/parameters/AgentId"
|
|
178
195
|
responses:
|
|
179
|
-
|
|
196
|
+
"204":
|
|
180
197
|
description: Agent unregistered
|
|
181
|
-
|
|
182
|
-
|
|
198
|
+
x-ossa-capability: core-unregister-agent
|
|
199
|
+
x-ossa-autonomy:
|
|
200
|
+
level: supervised
|
|
201
|
+
approval_required: true
|
|
202
|
+
description: Unregister agent
|
|
183
203
|
/orchestration/workflows:
|
|
184
204
|
get:
|
|
185
205
|
summary: List workflows
|
|
186
|
-
tags:
|
|
206
|
+
tags:
|
|
207
|
+
- Orchestration
|
|
187
208
|
operationId: listWorkflows
|
|
188
209
|
parameters:
|
|
189
|
-
- $ref:
|
|
190
|
-
- $ref:
|
|
210
|
+
- $ref: "#/components/parameters/Limit"
|
|
211
|
+
- $ref: "#/components/parameters/Offset"
|
|
191
212
|
responses:
|
|
192
|
-
|
|
213
|
+
"200":
|
|
193
214
|
description: List of workflows
|
|
194
215
|
content:
|
|
195
216
|
application/json:
|
|
196
217
|
schema:
|
|
197
|
-
$ref:
|
|
198
|
-
|
|
218
|
+
$ref: "#/components/schemas/WorkflowsList"
|
|
219
|
+
x-ossa-capability: core-list-workflows
|
|
220
|
+
description: List workflows
|
|
199
221
|
post:
|
|
200
222
|
summary: Create workflow
|
|
201
|
-
tags:
|
|
223
|
+
tags:
|
|
224
|
+
- Orchestration
|
|
202
225
|
operationId: createWorkflow
|
|
203
226
|
requestBody:
|
|
204
227
|
required: true
|
|
205
228
|
content:
|
|
206
229
|
application/json:
|
|
207
230
|
schema:
|
|
208
|
-
$ref:
|
|
231
|
+
$ref: "#/components/schemas/WorkflowDefinition"
|
|
209
232
|
responses:
|
|
210
|
-
|
|
233
|
+
"201":
|
|
211
234
|
description: Workflow created
|
|
212
235
|
content:
|
|
213
236
|
application/json:
|
|
214
237
|
schema:
|
|
215
|
-
$ref:
|
|
216
|
-
|
|
238
|
+
$ref: "#/components/schemas/Workflow"
|
|
239
|
+
x-ossa-capability: core-create-workflow
|
|
240
|
+
x-ossa-autonomy:
|
|
241
|
+
level: supervised
|
|
242
|
+
approval_required: true
|
|
243
|
+
description: Create workflow
|
|
217
244
|
/orchestration/workflows/{workflowId}/execute:
|
|
218
245
|
post:
|
|
219
246
|
summary: Execute workflow
|
|
220
|
-
tags:
|
|
247
|
+
tags:
|
|
248
|
+
- Orchestration
|
|
221
249
|
operationId: executeWorkflow
|
|
222
250
|
parameters:
|
|
223
251
|
- name: workflowId
|
|
@@ -229,19 +257,24 @@ paths:
|
|
|
229
257
|
content:
|
|
230
258
|
application/json:
|
|
231
259
|
schema:
|
|
232
|
-
$ref:
|
|
260
|
+
$ref: "#/components/schemas/WorkflowExecutionRequest"
|
|
233
261
|
responses:
|
|
234
|
-
|
|
262
|
+
"202":
|
|
235
263
|
description: Workflow execution started
|
|
236
264
|
content:
|
|
237
265
|
application/json:
|
|
238
266
|
schema:
|
|
239
|
-
$ref:
|
|
240
|
-
|
|
267
|
+
$ref: "#/components/schemas/WorkflowExecution"
|
|
268
|
+
x-ossa-capability: core-execute-workflow
|
|
269
|
+
x-ossa-autonomy:
|
|
270
|
+
level: supervised
|
|
271
|
+
approval_required: true
|
|
272
|
+
description: Execute workflow
|
|
241
273
|
/orchestration/executions/{executionId}:
|
|
242
274
|
get:
|
|
243
275
|
summary: Get execution status
|
|
244
|
-
tags:
|
|
276
|
+
tags:
|
|
277
|
+
- Orchestration
|
|
245
278
|
operationId: getExecutionStatus
|
|
246
279
|
parameters:
|
|
247
280
|
- name: executionId
|
|
@@ -250,58 +283,65 @@ paths:
|
|
|
250
283
|
schema:
|
|
251
284
|
type: string
|
|
252
285
|
responses:
|
|
253
|
-
|
|
286
|
+
"200":
|
|
254
287
|
description: Execution status
|
|
255
288
|
content:
|
|
256
289
|
application/json:
|
|
257
290
|
schema:
|
|
258
|
-
$ref:
|
|
259
|
-
|
|
260
|
-
|
|
291
|
+
$ref: "#/components/schemas/WorkflowExecution"
|
|
292
|
+
x-ossa-capability: core-get-execution-status
|
|
293
|
+
description: Get execution status
|
|
261
294
|
/specification/validate:
|
|
262
295
|
post:
|
|
263
296
|
summary: Validate agent manifest
|
|
264
297
|
description: Validate an OSSA agent manifest against the specification
|
|
265
|
-
tags:
|
|
298
|
+
tags:
|
|
299
|
+
- Specification
|
|
266
300
|
operationId: validateManifest
|
|
267
301
|
requestBody:
|
|
268
302
|
required: true
|
|
269
303
|
content:
|
|
270
304
|
application/json:
|
|
271
305
|
schema:
|
|
272
|
-
$ref:
|
|
306
|
+
$ref: "#/components/schemas/AgentManifest"
|
|
273
307
|
application/yaml:
|
|
274
308
|
schema:
|
|
275
|
-
$ref:
|
|
309
|
+
$ref: "#/components/schemas/AgentManifest"
|
|
276
310
|
responses:
|
|
277
|
-
|
|
311
|
+
"200":
|
|
278
312
|
description: Validation result
|
|
279
313
|
content:
|
|
280
314
|
application/json:
|
|
281
315
|
schema:
|
|
282
|
-
$ref:
|
|
283
|
-
|
|
284
|
-
$ref:
|
|
285
|
-
|
|
286
|
-
$ref:
|
|
287
|
-
|
|
316
|
+
$ref: "#/components/schemas/ValidationResult"
|
|
317
|
+
"400":
|
|
318
|
+
$ref: "#/components/responses/ValidationError"
|
|
319
|
+
"500":
|
|
320
|
+
$ref: "#/components/responses/InternalServerError"
|
|
321
|
+
x-ossa-capability: core-validate-manifest
|
|
322
|
+
x-ossa-autonomy:
|
|
323
|
+
level: supervised
|
|
324
|
+
approval_required: true
|
|
288
325
|
/specification/taxonomies:
|
|
289
326
|
get:
|
|
290
327
|
summary: List agent taxonomies
|
|
291
|
-
tags:
|
|
328
|
+
tags:
|
|
329
|
+
- Specification
|
|
292
330
|
operationId: listTaxonomies
|
|
293
331
|
responses:
|
|
294
|
-
|
|
332
|
+
"200":
|
|
295
333
|
description: Available taxonomies
|
|
296
334
|
content:
|
|
297
335
|
application/json:
|
|
298
336
|
schema:
|
|
299
|
-
$ref:
|
|
300
|
-
|
|
337
|
+
$ref: "#/components/schemas/TaxonomiesList"
|
|
338
|
+
x-ossa-capability: core-list-taxonomies
|
|
339
|
+
description: List agent taxonomies
|
|
301
340
|
/specification/capabilities:
|
|
302
341
|
get:
|
|
303
342
|
summary: List capability definitions
|
|
304
|
-
tags:
|
|
343
|
+
tags:
|
|
344
|
+
- Specification
|
|
305
345
|
operationId: listCapabilities
|
|
306
346
|
parameters:
|
|
307
347
|
- name: category
|
|
@@ -309,37 +349,43 @@ paths:
|
|
|
309
349
|
schema:
|
|
310
350
|
type: string
|
|
311
351
|
responses:
|
|
312
|
-
|
|
352
|
+
"200":
|
|
313
353
|
description: Capability definitions
|
|
314
354
|
content:
|
|
315
355
|
application/json:
|
|
316
356
|
schema:
|
|
317
|
-
$ref:
|
|
318
|
-
|
|
319
|
-
|
|
357
|
+
$ref: "#/components/schemas/CapabilitiesList"
|
|
358
|
+
x-ossa-capability: core-list-capabilities
|
|
359
|
+
description: List capability definitions
|
|
320
360
|
/certification/request:
|
|
321
361
|
post:
|
|
322
362
|
summary: Request certification
|
|
323
|
-
tags:
|
|
363
|
+
tags:
|
|
364
|
+
- Certification
|
|
324
365
|
operationId: requestCertification
|
|
325
366
|
requestBody:
|
|
326
367
|
required: true
|
|
327
368
|
content:
|
|
328
369
|
application/json:
|
|
329
370
|
schema:
|
|
330
|
-
$ref:
|
|
371
|
+
$ref: "#/components/schemas/CertificationRequest"
|
|
331
372
|
responses:
|
|
332
|
-
|
|
373
|
+
"202":
|
|
333
374
|
description: Certification request accepted
|
|
334
375
|
content:
|
|
335
376
|
application/json:
|
|
336
377
|
schema:
|
|
337
|
-
$ref:
|
|
338
|
-
|
|
378
|
+
$ref: "#/components/schemas/CertificationProcess"
|
|
379
|
+
x-ossa-capability: core-request-certification
|
|
380
|
+
x-ossa-autonomy:
|
|
381
|
+
level: supervised
|
|
382
|
+
approval_required: true
|
|
383
|
+
description: Request certification
|
|
339
384
|
/certification/{certificationId}:
|
|
340
385
|
get:
|
|
341
386
|
summary: Get certification status
|
|
342
|
-
tags:
|
|
387
|
+
tags:
|
|
388
|
+
- Certification
|
|
343
389
|
operationId: getCertification
|
|
344
390
|
parameters:
|
|
345
391
|
- name: certificationId
|
|
@@ -348,106 +394,119 @@ paths:
|
|
|
348
394
|
schema:
|
|
349
395
|
type: string
|
|
350
396
|
responses:
|
|
351
|
-
|
|
397
|
+
"200":
|
|
352
398
|
description: Certification details
|
|
353
399
|
content:
|
|
354
400
|
application/json:
|
|
355
401
|
schema:
|
|
356
|
-
$ref:
|
|
357
|
-
|
|
358
|
-
|
|
402
|
+
$ref: "#/components/schemas/Certification"
|
|
403
|
+
x-ossa-capability: core-get-certification
|
|
404
|
+
description: Get certification status
|
|
359
405
|
/governance/policies:
|
|
360
406
|
get:
|
|
361
407
|
summary: List governance policies
|
|
362
|
-
tags:
|
|
408
|
+
tags:
|
|
409
|
+
- Governance
|
|
363
410
|
operationId: listPolicies
|
|
364
411
|
responses:
|
|
365
|
-
|
|
412
|
+
"200":
|
|
366
413
|
description: Governance policies
|
|
367
414
|
content:
|
|
368
415
|
application/json:
|
|
369
416
|
schema:
|
|
370
|
-
$ref:
|
|
371
|
-
|
|
417
|
+
$ref: "#/components/schemas/PoliciesList"
|
|
418
|
+
x-ossa-capability: core-list-policies
|
|
419
|
+
description: List governance policies
|
|
372
420
|
/governance/compliance/{agentId}:
|
|
373
421
|
get:
|
|
374
422
|
summary: Get agent compliance status
|
|
375
|
-
tags:
|
|
423
|
+
tags:
|
|
424
|
+
- Governance
|
|
376
425
|
operationId: getAgentCompliance
|
|
377
426
|
parameters:
|
|
378
|
-
- $ref:
|
|
427
|
+
- $ref: "#/components/parameters/AgentId"
|
|
379
428
|
responses:
|
|
380
|
-
|
|
429
|
+
"200":
|
|
381
430
|
description: Compliance status
|
|
382
431
|
content:
|
|
383
432
|
application/json:
|
|
384
433
|
schema:
|
|
385
|
-
$ref:
|
|
386
|
-
|
|
387
|
-
|
|
434
|
+
$ref: "#/components/schemas/ComplianceStatus"
|
|
435
|
+
x-ossa-capability: core-get-agent-compliance
|
|
436
|
+
description: Get agent compliance status
|
|
388
437
|
/federation/nodes:
|
|
389
438
|
get:
|
|
390
439
|
summary: List federation nodes
|
|
391
|
-
tags:
|
|
440
|
+
tags:
|
|
441
|
+
- Federation
|
|
392
442
|
operationId: listFederationNodes
|
|
393
443
|
responses:
|
|
394
|
-
|
|
444
|
+
"200":
|
|
395
445
|
description: Federation nodes
|
|
396
446
|
content:
|
|
397
447
|
application/json:
|
|
398
448
|
schema:
|
|
399
|
-
$ref:
|
|
400
|
-
|
|
449
|
+
$ref: "#/components/schemas/FederationNodesList"
|
|
450
|
+
x-ossa-capability: core-list-federation-nodes
|
|
451
|
+
description: List federation nodes
|
|
401
452
|
/federation/join:
|
|
402
453
|
post:
|
|
403
454
|
summary: Join federation
|
|
404
|
-
tags:
|
|
455
|
+
tags:
|
|
456
|
+
- Federation
|
|
405
457
|
operationId: joinFederation
|
|
406
458
|
requestBody:
|
|
407
459
|
required: true
|
|
408
460
|
content:
|
|
409
461
|
application/json:
|
|
410
462
|
schema:
|
|
411
|
-
$ref:
|
|
463
|
+
$ref: "#/components/schemas/FederationJoinRequest"
|
|
412
464
|
responses:
|
|
413
|
-
|
|
465
|
+
"201":
|
|
414
466
|
description: Joined federation
|
|
415
467
|
content:
|
|
416
468
|
application/json:
|
|
417
469
|
schema:
|
|
418
|
-
$ref:
|
|
419
|
-
|
|
420
|
-
|
|
470
|
+
$ref: "#/components/schemas/FederationMembership"
|
|
471
|
+
x-ossa-capability: core-join-federation
|
|
472
|
+
x-ossa-autonomy:
|
|
473
|
+
level: supervised
|
|
474
|
+
approval_required: true
|
|
475
|
+
description: Join federation
|
|
421
476
|
/monitoring/metrics:
|
|
422
477
|
get:
|
|
423
478
|
summary: Get platform metrics
|
|
424
|
-
tags:
|
|
479
|
+
tags:
|
|
480
|
+
- Monitoring
|
|
425
481
|
operationId: getPlatformMetrics
|
|
426
482
|
responses:
|
|
427
|
-
|
|
483
|
+
"200":
|
|
428
484
|
description: Platform metrics
|
|
429
485
|
content:
|
|
430
486
|
application/json:
|
|
431
487
|
schema:
|
|
432
|
-
$ref:
|
|
433
|
-
|
|
488
|
+
$ref: "#/components/schemas/PlatformMetrics"
|
|
489
|
+
x-ossa-capability: core-get-platform-metrics
|
|
490
|
+
description: Get platform metrics
|
|
434
491
|
/monitoring/events:
|
|
435
492
|
get:
|
|
436
493
|
summary: Get platform events
|
|
437
|
-
tags:
|
|
494
|
+
tags:
|
|
495
|
+
- Monitoring
|
|
438
496
|
operationId: getPlatformEvents
|
|
439
497
|
parameters:
|
|
440
|
-
- $ref:
|
|
441
|
-
- $ref:
|
|
442
|
-
- $ref:
|
|
498
|
+
- $ref: "#/components/parameters/StartTime"
|
|
499
|
+
- $ref: "#/components/parameters/EndTime"
|
|
500
|
+
- $ref: "#/components/parameters/Limit"
|
|
443
501
|
responses:
|
|
444
|
-
|
|
502
|
+
"200":
|
|
445
503
|
description: Platform events
|
|
446
504
|
content:
|
|
447
505
|
application/json:
|
|
448
506
|
schema:
|
|
449
|
-
$ref:
|
|
450
|
-
|
|
507
|
+
$ref: "#/components/schemas/EventsList"
|
|
508
|
+
x-ossa-capability: core-get-platform-events
|
|
509
|
+
description: Get platform events
|
|
451
510
|
components:
|
|
452
511
|
securitySchemes:
|
|
453
512
|
ApiKeyAuth:
|
|
@@ -468,7 +527,6 @@ components:
|
|
|
468
527
|
read: Read access
|
|
469
528
|
write: Write access
|
|
470
529
|
admin: Administrative access
|
|
471
|
-
|
|
472
530
|
parameters:
|
|
473
531
|
AgentId:
|
|
474
532
|
name: agentId
|
|
@@ -513,28 +571,25 @@ components:
|
|
|
513
571
|
schema:
|
|
514
572
|
type: string
|
|
515
573
|
format: date-time
|
|
516
|
-
|
|
517
574
|
schemas:
|
|
518
|
-
# Core Agent Types - Using shared schemas
|
|
519
575
|
AgentManifest:
|
|
520
|
-
$ref:
|
|
576
|
+
$ref: ../schemas/common/agent.yaml#/components/schemas/AgentManifest
|
|
521
577
|
Metadata:
|
|
522
|
-
$ref:
|
|
578
|
+
$ref: ../schemas/common/agent.yaml#/components/schemas/Metadata
|
|
523
579
|
AgentSpec:
|
|
524
|
-
$ref:
|
|
580
|
+
$ref: ../schemas/common/agent.yaml#/components/schemas/AgentSpec
|
|
525
581
|
AgentType:
|
|
526
|
-
$ref:
|
|
582
|
+
$ref: ../schemas/common/agent.yaml#/components/schemas/AgentType
|
|
527
583
|
AgentStatus:
|
|
528
|
-
$ref:
|
|
584
|
+
$ref: ../schemas/common/agent.yaml#/components/schemas/AgentStatus
|
|
529
585
|
Capability:
|
|
530
|
-
$ref:
|
|
586
|
+
$ref: ../schemas/common/agent.yaml#/components/schemas/Capability
|
|
531
587
|
Interface:
|
|
532
|
-
$ref:
|
|
588
|
+
$ref: ../schemas/common/agent.yaml#/components/schemas/Interface
|
|
533
589
|
Requirements:
|
|
534
|
-
$ref:
|
|
590
|
+
$ref: ../schemas/common/agent.yaml#/components/schemas/Requirements
|
|
535
591
|
ResourceRequirements:
|
|
536
|
-
$ref:
|
|
537
|
-
|
|
592
|
+
$ref: ../schemas/common/agent.yaml#/components/schemas/ResourceRequirements
|
|
538
593
|
Agent:
|
|
539
594
|
type: object
|
|
540
595
|
properties:
|
|
@@ -542,16 +597,15 @@ components:
|
|
|
542
597
|
type: string
|
|
543
598
|
format: uuid
|
|
544
599
|
manifest:
|
|
545
|
-
$ref:
|
|
600
|
+
$ref: "#/components/schemas/AgentManifest"
|
|
546
601
|
status:
|
|
547
|
-
$ref:
|
|
602
|
+
$ref: "#/components/schemas/AgentStatus"
|
|
548
603
|
registration:
|
|
549
|
-
$ref:
|
|
604
|
+
$ref: "#/components/schemas/AgentRegistration"
|
|
550
605
|
certification:
|
|
551
|
-
$ref:
|
|
606
|
+
$ref: "#/components/schemas/Certification"
|
|
552
607
|
metrics:
|
|
553
|
-
$ref:
|
|
554
|
-
|
|
608
|
+
$ref: "#/components/schemas/AgentMetrics"
|
|
555
609
|
AgentRegistration:
|
|
556
610
|
type: object
|
|
557
611
|
properties:
|
|
@@ -571,22 +625,19 @@ components:
|
|
|
571
625
|
type: string
|
|
572
626
|
federationNode:
|
|
573
627
|
type: string
|
|
574
|
-
|
|
575
628
|
AgentsList:
|
|
576
629
|
type: object
|
|
577
630
|
properties:
|
|
578
631
|
agents:
|
|
579
632
|
type: array
|
|
580
633
|
items:
|
|
581
|
-
$ref:
|
|
634
|
+
$ref: "#/components/schemas/Agent"
|
|
582
635
|
total:
|
|
583
636
|
type: integer
|
|
584
637
|
limit:
|
|
585
638
|
type: integer
|
|
586
639
|
offset:
|
|
587
640
|
type: integer
|
|
588
|
-
|
|
589
|
-
# Orchestration
|
|
590
641
|
WorkflowDefinition:
|
|
591
642
|
type: object
|
|
592
643
|
required:
|
|
@@ -602,16 +653,15 @@ components:
|
|
|
602
653
|
steps:
|
|
603
654
|
type: array
|
|
604
655
|
items:
|
|
605
|
-
$ref:
|
|
656
|
+
$ref: "#/components/schemas/WorkflowStep"
|
|
606
657
|
triggers:
|
|
607
658
|
type: array
|
|
608
659
|
items:
|
|
609
|
-
$ref:
|
|
660
|
+
$ref: "#/components/schemas/WorkflowTrigger"
|
|
610
661
|
timeout:
|
|
611
662
|
type: integer
|
|
612
663
|
retryPolicy:
|
|
613
|
-
$ref:
|
|
614
|
-
|
|
664
|
+
$ref: "#/components/schemas/RetryPolicy"
|
|
615
665
|
WorkflowStep:
|
|
616
666
|
type: object
|
|
617
667
|
required:
|
|
@@ -637,18 +687,20 @@ components:
|
|
|
637
687
|
timeout:
|
|
638
688
|
type: integer
|
|
639
689
|
retryPolicy:
|
|
640
|
-
$ref:
|
|
641
|
-
|
|
690
|
+
$ref: "#/components/schemas/RetryPolicy"
|
|
642
691
|
WorkflowTrigger:
|
|
643
692
|
type: object
|
|
644
693
|
properties:
|
|
645
694
|
type:
|
|
646
695
|
type: string
|
|
647
|
-
enum:
|
|
696
|
+
enum:
|
|
697
|
+
- manual
|
|
698
|
+
- scheduled
|
|
699
|
+
- event
|
|
700
|
+
- webhook
|
|
648
701
|
config:
|
|
649
702
|
type: object
|
|
650
703
|
additionalProperties: true
|
|
651
|
-
|
|
652
704
|
RetryPolicy:
|
|
653
705
|
type: object
|
|
654
706
|
properties:
|
|
@@ -658,7 +710,9 @@ components:
|
|
|
658
710
|
default: 3
|
|
659
711
|
backoffType:
|
|
660
712
|
type: string
|
|
661
|
-
enum:
|
|
713
|
+
enum:
|
|
714
|
+
- fixed
|
|
715
|
+
- exponential
|
|
662
716
|
default: exponential
|
|
663
717
|
initialDelay:
|
|
664
718
|
type: integer
|
|
@@ -666,7 +720,6 @@ components:
|
|
|
666
720
|
maxDelay:
|
|
667
721
|
type: integer
|
|
668
722
|
default: 60000
|
|
669
|
-
|
|
670
723
|
Workflow:
|
|
671
724
|
type: object
|
|
672
725
|
properties:
|
|
@@ -674,27 +727,29 @@ components:
|
|
|
674
727
|
type: string
|
|
675
728
|
format: uuid
|
|
676
729
|
definition:
|
|
677
|
-
$ref:
|
|
730
|
+
$ref: "#/components/schemas/WorkflowDefinition"
|
|
678
731
|
status:
|
|
679
732
|
type: string
|
|
680
|
-
enum:
|
|
733
|
+
enum:
|
|
734
|
+
- draft
|
|
735
|
+
- active
|
|
736
|
+
- suspended
|
|
737
|
+
- deprecated
|
|
681
738
|
createdAt:
|
|
682
739
|
type: string
|
|
683
740
|
format: date-time
|
|
684
741
|
updatedAt:
|
|
685
742
|
type: string
|
|
686
743
|
format: date-time
|
|
687
|
-
|
|
688
744
|
WorkflowsList:
|
|
689
745
|
type: object
|
|
690
746
|
properties:
|
|
691
747
|
workflows:
|
|
692
748
|
type: array
|
|
693
749
|
items:
|
|
694
|
-
$ref:
|
|
750
|
+
$ref: "#/components/schemas/Workflow"
|
|
695
751
|
total:
|
|
696
752
|
type: integer
|
|
697
|
-
|
|
698
753
|
WorkflowExecutionRequest:
|
|
699
754
|
type: object
|
|
700
755
|
properties:
|
|
@@ -706,9 +761,12 @@ components:
|
|
|
706
761
|
additionalProperties: true
|
|
707
762
|
priority:
|
|
708
763
|
type: string
|
|
709
|
-
enum:
|
|
764
|
+
enum:
|
|
765
|
+
- low
|
|
766
|
+
- normal
|
|
767
|
+
- high
|
|
768
|
+
- critical
|
|
710
769
|
default: normal
|
|
711
|
-
|
|
712
770
|
WorkflowExecution:
|
|
713
771
|
type: object
|
|
714
772
|
properties:
|
|
@@ -720,7 +778,12 @@ components:
|
|
|
720
778
|
format: uuid
|
|
721
779
|
status:
|
|
722
780
|
type: string
|
|
723
|
-
enum:
|
|
781
|
+
enum:
|
|
782
|
+
- pending
|
|
783
|
+
- running
|
|
784
|
+
- completed
|
|
785
|
+
- failed
|
|
786
|
+
- cancelled
|
|
724
787
|
startedAt:
|
|
725
788
|
type: string
|
|
726
789
|
format: date-time
|
|
@@ -730,15 +793,14 @@ components:
|
|
|
730
793
|
steps:
|
|
731
794
|
type: array
|
|
732
795
|
items:
|
|
733
|
-
$ref:
|
|
796
|
+
$ref: "#/components/schemas/StepExecution"
|
|
734
797
|
output:
|
|
735
798
|
type: object
|
|
736
799
|
additionalProperties: true
|
|
737
800
|
errors:
|
|
738
801
|
type: array
|
|
739
802
|
items:
|
|
740
|
-
$ref:
|
|
741
|
-
|
|
803
|
+
$ref: "#/components/schemas/ExecutionError"
|
|
742
804
|
StepExecution:
|
|
743
805
|
type: object
|
|
744
806
|
properties:
|
|
@@ -746,7 +808,12 @@ components:
|
|
|
746
808
|
type: string
|
|
747
809
|
status:
|
|
748
810
|
type: string
|
|
749
|
-
enum:
|
|
811
|
+
enum:
|
|
812
|
+
- pending
|
|
813
|
+
- running
|
|
814
|
+
- completed
|
|
815
|
+
- failed
|
|
816
|
+
- skipped
|
|
750
817
|
agentId:
|
|
751
818
|
type: string
|
|
752
819
|
startedAt:
|
|
@@ -759,20 +826,16 @@ components:
|
|
|
759
826
|
type: object
|
|
760
827
|
additionalProperties: true
|
|
761
828
|
error:
|
|
762
|
-
$ref:
|
|
763
|
-
|
|
829
|
+
$ref: "#/components/schemas/ExecutionError"
|
|
764
830
|
ExecutionError:
|
|
765
|
-
$ref:
|
|
766
|
-
|
|
767
|
-
# Specification & Taxonomy
|
|
831
|
+
$ref: ../schemas/common/errors.yaml#/components/schemas/ExecutionError
|
|
768
832
|
TaxonomiesList:
|
|
769
833
|
type: object
|
|
770
834
|
properties:
|
|
771
835
|
taxonomies:
|
|
772
836
|
type: array
|
|
773
837
|
items:
|
|
774
|
-
$ref:
|
|
775
|
-
|
|
838
|
+
$ref: "#/components/schemas/Taxonomy"
|
|
776
839
|
Taxonomy:
|
|
777
840
|
type: object
|
|
778
841
|
properties:
|
|
@@ -788,15 +851,13 @@ components:
|
|
|
788
851
|
type: string
|
|
789
852
|
version:
|
|
790
853
|
type: string
|
|
791
|
-
|
|
792
854
|
CapabilitiesList:
|
|
793
855
|
type: object
|
|
794
856
|
properties:
|
|
795
857
|
capabilities:
|
|
796
858
|
type: array
|
|
797
859
|
items:
|
|
798
|
-
$ref:
|
|
799
|
-
|
|
860
|
+
$ref: "#/components/schemas/CapabilityDefinition"
|
|
800
861
|
CapabilityDefinition:
|
|
801
862
|
type: object
|
|
802
863
|
properties:
|
|
@@ -816,7 +877,6 @@ components:
|
|
|
816
877
|
type: array
|
|
817
878
|
items:
|
|
818
879
|
type: object
|
|
819
|
-
|
|
820
880
|
ValidationResult:
|
|
821
881
|
type: object
|
|
822
882
|
properties:
|
|
@@ -825,22 +885,19 @@ components:
|
|
|
825
885
|
errors:
|
|
826
886
|
type: array
|
|
827
887
|
items:
|
|
828
|
-
$ref:
|
|
888
|
+
$ref: "#/components/schemas/ValidationError"
|
|
829
889
|
warnings:
|
|
830
890
|
type: array
|
|
831
891
|
items:
|
|
832
|
-
$ref:
|
|
892
|
+
$ref: "#/components/schemas/ValidationWarning"
|
|
833
893
|
score:
|
|
834
894
|
type: number
|
|
835
895
|
minimum: 0
|
|
836
896
|
maximum: 100
|
|
837
|
-
|
|
838
897
|
ValidationError:
|
|
839
|
-
$ref:
|
|
898
|
+
$ref: ../schemas/common/errors.yaml#/components/schemas/ValidationError
|
|
840
899
|
ValidationWarning:
|
|
841
|
-
$ref:
|
|
842
|
-
|
|
843
|
-
# Certification
|
|
900
|
+
$ref: ../schemas/common/errors.yaml#/components/schemas/ValidationWarning
|
|
844
901
|
CertificationRequest:
|
|
845
902
|
type: object
|
|
846
903
|
required:
|
|
@@ -852,12 +909,15 @@ components:
|
|
|
852
909
|
format: uuid
|
|
853
910
|
level:
|
|
854
911
|
type: string
|
|
855
|
-
enum:
|
|
912
|
+
enum:
|
|
913
|
+
- basic
|
|
914
|
+
- standard
|
|
915
|
+
- advanced
|
|
916
|
+
- enterprise
|
|
856
917
|
evidence:
|
|
857
918
|
type: array
|
|
858
919
|
items:
|
|
859
|
-
$ref:
|
|
860
|
-
|
|
920
|
+
$ref: "#/components/schemas/Evidence"
|
|
861
921
|
Evidence:
|
|
862
922
|
type: object
|
|
863
923
|
properties:
|
|
@@ -871,7 +931,6 @@ components:
|
|
|
871
931
|
data:
|
|
872
932
|
type: object
|
|
873
933
|
additionalProperties: true
|
|
874
|
-
|
|
875
934
|
CertificationProcess:
|
|
876
935
|
type: object
|
|
877
936
|
properties:
|
|
@@ -880,15 +939,18 @@ components:
|
|
|
880
939
|
format: uuid
|
|
881
940
|
status:
|
|
882
941
|
type: string
|
|
883
|
-
enum:
|
|
942
|
+
enum:
|
|
943
|
+
- pending
|
|
944
|
+
- in_review
|
|
945
|
+
- approved
|
|
946
|
+
- rejected
|
|
884
947
|
requestedAt:
|
|
885
948
|
type: string
|
|
886
949
|
format: date-time
|
|
887
950
|
steps:
|
|
888
951
|
type: array
|
|
889
952
|
items:
|
|
890
|
-
$ref:
|
|
891
|
-
|
|
953
|
+
$ref: "#/components/schemas/CertificationStep"
|
|
892
954
|
CertificationStep:
|
|
893
955
|
type: object
|
|
894
956
|
properties:
|
|
@@ -896,11 +958,13 @@ components:
|
|
|
896
958
|
type: string
|
|
897
959
|
status:
|
|
898
960
|
type: string
|
|
899
|
-
enum:
|
|
961
|
+
enum:
|
|
962
|
+
- pending
|
|
963
|
+
- passed
|
|
964
|
+
- failed
|
|
900
965
|
result:
|
|
901
966
|
type: object
|
|
902
967
|
additionalProperties: true
|
|
903
|
-
|
|
904
968
|
Certification:
|
|
905
969
|
type: object
|
|
906
970
|
properties:
|
|
@@ -922,16 +986,13 @@ components:
|
|
|
922
986
|
type: string
|
|
923
987
|
signature:
|
|
924
988
|
type: string
|
|
925
|
-
|
|
926
|
-
# Governance & Compliance
|
|
927
989
|
PoliciesList:
|
|
928
990
|
type: object
|
|
929
991
|
properties:
|
|
930
992
|
policies:
|
|
931
993
|
type: array
|
|
932
994
|
items:
|
|
933
|
-
$ref:
|
|
934
|
-
|
|
995
|
+
$ref: "#/components/schemas/Policy"
|
|
935
996
|
Policy:
|
|
936
997
|
type: object
|
|
937
998
|
properties:
|
|
@@ -943,15 +1004,21 @@ components:
|
|
|
943
1004
|
type: string
|
|
944
1005
|
type:
|
|
945
1006
|
type: string
|
|
946
|
-
enum:
|
|
1007
|
+
enum:
|
|
1008
|
+
- security
|
|
1009
|
+
- compliance
|
|
1010
|
+
- operational
|
|
1011
|
+
- quality
|
|
947
1012
|
rules:
|
|
948
1013
|
type: array
|
|
949
1014
|
items:
|
|
950
|
-
$ref:
|
|
1015
|
+
$ref: "#/components/schemas/PolicyRule"
|
|
951
1016
|
enforcement:
|
|
952
1017
|
type: string
|
|
953
|
-
enum:
|
|
954
|
-
|
|
1018
|
+
enum:
|
|
1019
|
+
- mandatory
|
|
1020
|
+
- recommended
|
|
1021
|
+
- optional
|
|
955
1022
|
PolicyRule:
|
|
956
1023
|
type: object
|
|
957
1024
|
properties:
|
|
@@ -963,8 +1030,11 @@ components:
|
|
|
963
1030
|
type: string
|
|
964
1031
|
severity:
|
|
965
1032
|
type: string
|
|
966
|
-
enum:
|
|
967
|
-
|
|
1033
|
+
enum:
|
|
1034
|
+
- info
|
|
1035
|
+
- warning
|
|
1036
|
+
- error
|
|
1037
|
+
- critical
|
|
968
1038
|
ComplianceStatus:
|
|
969
1039
|
type: object
|
|
970
1040
|
properties:
|
|
@@ -975,7 +1045,7 @@ components:
|
|
|
975
1045
|
policies:
|
|
976
1046
|
type: array
|
|
977
1047
|
items:
|
|
978
|
-
$ref:
|
|
1048
|
+
$ref: "#/components/schemas/PolicyCompliance"
|
|
979
1049
|
score:
|
|
980
1050
|
type: number
|
|
981
1051
|
minimum: 0
|
|
@@ -983,7 +1053,6 @@ components:
|
|
|
983
1053
|
lastChecked:
|
|
984
1054
|
type: string
|
|
985
1055
|
format: date-time
|
|
986
|
-
|
|
987
1056
|
PolicyCompliance:
|
|
988
1057
|
type: object
|
|
989
1058
|
properties:
|
|
@@ -994,8 +1063,7 @@ components:
|
|
|
994
1063
|
violations:
|
|
995
1064
|
type: array
|
|
996
1065
|
items:
|
|
997
|
-
$ref:
|
|
998
|
-
|
|
1066
|
+
$ref: "#/components/schemas/Violation"
|
|
999
1067
|
Violation:
|
|
1000
1068
|
type: object
|
|
1001
1069
|
properties:
|
|
@@ -1008,16 +1076,13 @@ components:
|
|
|
1008
1076
|
timestamp:
|
|
1009
1077
|
type: string
|
|
1010
1078
|
format: date-time
|
|
1011
|
-
|
|
1012
|
-
# Federation
|
|
1013
1079
|
FederationNodesList:
|
|
1014
1080
|
type: object
|
|
1015
1081
|
properties:
|
|
1016
1082
|
nodes:
|
|
1017
1083
|
type: array
|
|
1018
1084
|
items:
|
|
1019
|
-
$ref:
|
|
1020
|
-
|
|
1085
|
+
$ref: "#/components/schemas/FederationNode"
|
|
1021
1086
|
FederationNode:
|
|
1022
1087
|
type: object
|
|
1023
1088
|
properties:
|
|
@@ -1031,7 +1096,10 @@ components:
|
|
|
1031
1096
|
format: uri
|
|
1032
1097
|
status:
|
|
1033
1098
|
type: string
|
|
1034
|
-
enum:
|
|
1099
|
+
enum:
|
|
1100
|
+
- online
|
|
1101
|
+
- offline
|
|
1102
|
+
- degraded
|
|
1035
1103
|
region:
|
|
1036
1104
|
type: string
|
|
1037
1105
|
capabilities:
|
|
@@ -1041,7 +1109,6 @@ components:
|
|
|
1041
1109
|
joinedAt:
|
|
1042
1110
|
type: string
|
|
1043
1111
|
format: date-time
|
|
1044
|
-
|
|
1045
1112
|
FederationJoinRequest:
|
|
1046
1113
|
type: object
|
|
1047
1114
|
required:
|
|
@@ -1061,7 +1128,6 @@ components:
|
|
|
1061
1128
|
type: string
|
|
1062
1129
|
certificate:
|
|
1063
1130
|
type: string
|
|
1064
|
-
|
|
1065
1131
|
FederationMembership:
|
|
1066
1132
|
type: object
|
|
1067
1133
|
properties:
|
|
@@ -1070,26 +1136,26 @@ components:
|
|
|
1070
1136
|
format: uuid
|
|
1071
1137
|
status:
|
|
1072
1138
|
type: string
|
|
1073
|
-
enum:
|
|
1139
|
+
enum:
|
|
1140
|
+
- active
|
|
1141
|
+
- pending
|
|
1142
|
+
- suspended
|
|
1074
1143
|
joinedAt:
|
|
1075
1144
|
type: string
|
|
1076
1145
|
format: date-time
|
|
1077
1146
|
certificate:
|
|
1078
1147
|
type: string
|
|
1079
|
-
|
|
1080
|
-
# Monitoring & Metrics
|
|
1081
1148
|
PlatformMetrics:
|
|
1082
1149
|
type: object
|
|
1083
1150
|
properties:
|
|
1084
1151
|
agents:
|
|
1085
|
-
$ref:
|
|
1152
|
+
$ref: "#/components/schemas/AgentsMetrics"
|
|
1086
1153
|
workflows:
|
|
1087
|
-
$ref:
|
|
1154
|
+
$ref: "#/components/schemas/WorkflowsMetrics"
|
|
1088
1155
|
federation:
|
|
1089
|
-
$ref:
|
|
1156
|
+
$ref: "#/components/schemas/FederationMetrics"
|
|
1090
1157
|
system:
|
|
1091
|
-
$ref:
|
|
1092
|
-
|
|
1158
|
+
$ref: "#/components/schemas/SystemMetrics"
|
|
1093
1159
|
AgentsMetrics:
|
|
1094
1160
|
type: object
|
|
1095
1161
|
properties:
|
|
@@ -1105,7 +1171,6 @@ components:
|
|
|
1105
1171
|
type: object
|
|
1106
1172
|
additionalProperties:
|
|
1107
1173
|
type: integer
|
|
1108
|
-
|
|
1109
1174
|
WorkflowsMetrics:
|
|
1110
1175
|
type: object
|
|
1111
1176
|
properties:
|
|
@@ -1126,7 +1191,6 @@ components:
|
|
|
1126
1191
|
type: number
|
|
1127
1192
|
successRate:
|
|
1128
1193
|
type: number
|
|
1129
|
-
|
|
1130
1194
|
FederationMetrics:
|
|
1131
1195
|
type: object
|
|
1132
1196
|
properties:
|
|
@@ -1138,7 +1202,6 @@ components:
|
|
|
1138
1202
|
type: integer
|
|
1139
1203
|
crossNodeTraffic:
|
|
1140
1204
|
type: integer
|
|
1141
|
-
|
|
1142
1205
|
SystemMetrics:
|
|
1143
1206
|
type: object
|
|
1144
1207
|
properties:
|
|
@@ -1152,20 +1215,17 @@ components:
|
|
|
1152
1215
|
type: number
|
|
1153
1216
|
errorRate:
|
|
1154
1217
|
type: number
|
|
1155
|
-
|
|
1156
1218
|
AgentMetrics:
|
|
1157
|
-
$ref:
|
|
1158
|
-
|
|
1219
|
+
$ref: ../schemas/common/agent.yaml#/components/schemas/AgentMetrics
|
|
1159
1220
|
EventsList:
|
|
1160
1221
|
type: object
|
|
1161
1222
|
properties:
|
|
1162
1223
|
events:
|
|
1163
1224
|
type: array
|
|
1164
1225
|
items:
|
|
1165
|
-
$ref:
|
|
1226
|
+
$ref: "#/components/schemas/Event"
|
|
1166
1227
|
total:
|
|
1167
1228
|
type: integer
|
|
1168
|
-
|
|
1169
1229
|
Event:
|
|
1170
1230
|
type: object
|
|
1171
1231
|
properties:
|
|
@@ -1182,49 +1242,41 @@ components:
|
|
|
1182
1242
|
data:
|
|
1183
1243
|
type: object
|
|
1184
1244
|
additionalProperties: true
|
|
1185
|
-
|
|
1186
|
-
# Common - Using shared schemas
|
|
1187
1245
|
HealthStatus:
|
|
1188
|
-
$ref:
|
|
1246
|
+
$ref: ../schemas/common/metadata.yaml#/components/schemas/HealthStatus
|
|
1189
1247
|
Problem:
|
|
1190
|
-
$ref:
|
|
1191
|
-
|
|
1248
|
+
$ref: ../schemas/common/errors.yaml#/components/schemas/Problem
|
|
1192
1249
|
responses:
|
|
1193
1250
|
HealthCheck:
|
|
1194
1251
|
description: Service health status
|
|
1195
1252
|
content:
|
|
1196
1253
|
application/json:
|
|
1197
1254
|
schema:
|
|
1198
|
-
$ref:
|
|
1199
|
-
|
|
1255
|
+
$ref: "#/components/schemas/HealthStatus"
|
|
1200
1256
|
ValidationError:
|
|
1201
1257
|
description: Validation error
|
|
1202
1258
|
content:
|
|
1203
1259
|
application/problem+json:
|
|
1204
1260
|
schema:
|
|
1205
|
-
$ref:
|
|
1206
|
-
|
|
1261
|
+
$ref: "#/components/schemas/Problem"
|
|
1207
1262
|
NotFound:
|
|
1208
1263
|
description: Resource not found
|
|
1209
1264
|
content:
|
|
1210
1265
|
application/problem+json:
|
|
1211
1266
|
schema:
|
|
1212
|
-
$ref:
|
|
1213
|
-
|
|
1267
|
+
$ref: "#/components/schemas/Problem"
|
|
1214
1268
|
ServiceUnavailable:
|
|
1215
1269
|
description: Service unavailable
|
|
1216
1270
|
content:
|
|
1217
1271
|
application/problem+json:
|
|
1218
1272
|
schema:
|
|
1219
|
-
$ref:
|
|
1220
|
-
|
|
1273
|
+
$ref: "#/components/schemas/Problem"
|
|
1221
1274
|
InternalServerError:
|
|
1222
1275
|
description: Internal server error
|
|
1223
1276
|
content:
|
|
1224
1277
|
application/problem+json:
|
|
1225
1278
|
schema:
|
|
1226
|
-
$ref:
|
|
1227
|
-
|
|
1279
|
+
$ref: "#/components/schemas/Problem"
|
|
1228
1280
|
tags:
|
|
1229
1281
|
- name: Health
|
|
1230
1282
|
description: Service health and status
|
|
@@ -1242,7 +1294,6 @@ tags:
|
|
|
1242
1294
|
description: Federation and multi-tenancy
|
|
1243
1295
|
- name: Monitoring
|
|
1244
1296
|
description: Platform monitoring and metrics
|
|
1245
|
-
|
|
1246
1297
|
x-ossa-metadata:
|
|
1247
1298
|
version: 0.3.3
|
|
1248
1299
|
compliance:
|
|
@@ -1263,3 +1314,8 @@ x-ossa-metadata:
|
|
|
1263
1314
|
tracing: true
|
|
1264
1315
|
metrics: true
|
|
1265
1316
|
logging: true
|
|
1317
|
+
x-ossa:
|
|
1318
|
+
version: 0.5.0
|
|
1319
|
+
agent:
|
|
1320
|
+
id: ossa-core-api
|
|
1321
|
+
type: gateway
|