@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
|
@@ -5,7 +5,9 @@ info:
|
|
|
5
5
|
description: |
|
|
6
6
|
Enterprise orchestrator managing complex multi-agent workflows across distributed systems.
|
|
7
7
|
Coordinates worker agents, manages dependencies, and handles failure recovery.
|
|
8
|
-
|
|
8
|
+
contact:
|
|
9
|
+
name: Bluefly OSSA Team
|
|
10
|
+
url: https://gitlab.com/blueflyio/ossa/openstandardagents
|
|
9
11
|
x-ossa-metadata:
|
|
10
12
|
version: 0.2.5-RC
|
|
11
13
|
compliance:
|
|
@@ -16,12 +18,15 @@ x-ossa-metadata:
|
|
|
16
18
|
governance:
|
|
17
19
|
approved: true
|
|
18
20
|
approvedBy: Platform Team
|
|
19
|
-
approvalDate:
|
|
20
|
-
|
|
21
|
+
approvalDate: 2024-01-15
|
|
22
|
+
observability:
|
|
23
|
+
tracing: true
|
|
24
|
+
metrics: true
|
|
25
|
+
logging: true
|
|
21
26
|
x-ossa:
|
|
22
27
|
version: 0.2.5-RC
|
|
23
28
|
agent:
|
|
24
|
-
id:
|
|
29
|
+
id: reference-implementations-orchestrator-agent-api
|
|
25
30
|
type: orchestrator
|
|
26
31
|
compliance:
|
|
27
32
|
standards:
|
|
@@ -31,14 +36,12 @@ x-ossa:
|
|
|
31
36
|
- solid
|
|
32
37
|
- type-safe
|
|
33
38
|
validated: true
|
|
34
|
-
validatedAt:
|
|
35
|
-
|
|
39
|
+
validatedAt: 2024-01-15T10:30:00Z
|
|
36
40
|
servers:
|
|
37
41
|
- url: https://orchestrator.platform.com/api/v1
|
|
38
42
|
description: Production
|
|
39
43
|
- url: http://orchestrator:3000/api/v1
|
|
40
44
|
description: Kubernetes internal
|
|
41
|
-
|
|
42
45
|
tags:
|
|
43
46
|
- name: workflows
|
|
44
47
|
description: Workflow orchestration operations
|
|
@@ -46,7 +49,6 @@ tags:
|
|
|
46
49
|
description: Agent coordination operations
|
|
47
50
|
- name: resources
|
|
48
51
|
description: Resource allocation operations
|
|
49
|
-
|
|
50
52
|
paths:
|
|
51
53
|
/workflows:
|
|
52
54
|
post:
|
|
@@ -55,7 +57,8 @@ paths:
|
|
|
55
57
|
Creates a new workflow definition and starts execution.
|
|
56
58
|
Orchestrates multiple agents to complete complex multi-step processes.
|
|
57
59
|
operationId: createWorkflow
|
|
58
|
-
tags:
|
|
60
|
+
tags:
|
|
61
|
+
- workflows
|
|
59
62
|
x-ossa-capability: orchestrate-workflows
|
|
60
63
|
x-ossa-autonomy:
|
|
61
64
|
level: semi-autonomous
|
|
@@ -74,7 +77,9 @@ paths:
|
|
|
74
77
|
application/json:
|
|
75
78
|
schema:
|
|
76
79
|
type: object
|
|
77
|
-
required:
|
|
80
|
+
required:
|
|
81
|
+
- workflow_id
|
|
82
|
+
- steps
|
|
78
83
|
properties:
|
|
79
84
|
workflow_id:
|
|
80
85
|
type: string
|
|
@@ -88,17 +93,24 @@ paths:
|
|
|
88
93
|
type: string
|
|
89
94
|
agent_type:
|
|
90
95
|
type: string
|
|
91
|
-
enum:
|
|
96
|
+
enum:
|
|
97
|
+
- worker
|
|
98
|
+
- specialist
|
|
99
|
+
- critic
|
|
92
100
|
capability:
|
|
93
101
|
type: string
|
|
94
102
|
input:
|
|
95
103
|
type: object
|
|
96
104
|
priority:
|
|
97
105
|
type: string
|
|
98
|
-
enum:
|
|
106
|
+
enum:
|
|
107
|
+
- low
|
|
108
|
+
- normal
|
|
109
|
+
- high
|
|
110
|
+
- critical
|
|
99
111
|
default: normal
|
|
100
112
|
responses:
|
|
101
|
-
|
|
113
|
+
"202":
|
|
102
114
|
description: Workflow execution started
|
|
103
115
|
content:
|
|
104
116
|
application/json:
|
|
@@ -109,18 +121,22 @@ paths:
|
|
|
109
121
|
type: string
|
|
110
122
|
status:
|
|
111
123
|
type: string
|
|
112
|
-
enum:
|
|
124
|
+
enum:
|
|
125
|
+
- pending
|
|
126
|
+
- running
|
|
127
|
+
- completed
|
|
128
|
+
- failed
|
|
113
129
|
steps:
|
|
114
130
|
type: array
|
|
115
131
|
items:
|
|
116
132
|
type: object
|
|
117
|
-
|
|
118
133
|
/workflows/{workflow_id}:
|
|
119
134
|
get:
|
|
120
135
|
summary: Get workflow status
|
|
121
136
|
description: Retrieve the current status of a workflow execution
|
|
122
137
|
operationId: getWorkflowStatus
|
|
123
|
-
tags:
|
|
138
|
+
tags:
|
|
139
|
+
- workflows
|
|
124
140
|
x-ossa-capability: orchestrate-workflows
|
|
125
141
|
x-ossa-autonomy:
|
|
126
142
|
level: autonomous
|
|
@@ -132,7 +148,7 @@ paths:
|
|
|
132
148
|
schema:
|
|
133
149
|
type: string
|
|
134
150
|
responses:
|
|
135
|
-
|
|
151
|
+
"200":
|
|
136
152
|
description: Workflow status
|
|
137
153
|
content:
|
|
138
154
|
application/json:
|
|
@@ -149,13 +165,13 @@ paths:
|
|
|
149
165
|
type: object
|
|
150
166
|
aggregated_result:
|
|
151
167
|
type: object
|
|
152
|
-
|
|
153
168
|
/agents/discover:
|
|
154
169
|
post:
|
|
155
170
|
summary: Discover agents by capability
|
|
156
171
|
description: Find agents that match specific capability requirements
|
|
157
172
|
operationId: discoverAgents
|
|
158
|
-
tags:
|
|
173
|
+
tags:
|
|
174
|
+
- agents
|
|
159
175
|
x-ossa-capability: coordinate-agents
|
|
160
176
|
x-ossa-autonomy:
|
|
161
177
|
level: autonomous
|
|
@@ -166,18 +182,23 @@ paths:
|
|
|
166
182
|
application/json:
|
|
167
183
|
schema:
|
|
168
184
|
type: object
|
|
169
|
-
required:
|
|
185
|
+
required:
|
|
186
|
+
- capability
|
|
170
187
|
properties:
|
|
171
188
|
capability:
|
|
172
189
|
type: string
|
|
173
190
|
description: Required capability name
|
|
174
191
|
agent_type:
|
|
175
192
|
type: string
|
|
176
|
-
enum:
|
|
193
|
+
enum:
|
|
194
|
+
- worker
|
|
195
|
+
- specialist
|
|
196
|
+
- critic
|
|
197
|
+
- orchestrator
|
|
177
198
|
filters:
|
|
178
199
|
type: object
|
|
179
200
|
responses:
|
|
180
|
-
|
|
201
|
+
"200":
|
|
181
202
|
description: List of matching agents
|
|
182
203
|
content:
|
|
183
204
|
application/json:
|
|
@@ -197,13 +218,13 @@ paths:
|
|
|
197
218
|
type: string
|
|
198
219
|
status:
|
|
199
220
|
type: string
|
|
200
|
-
|
|
201
221
|
/resources/allocate:
|
|
202
222
|
post:
|
|
203
223
|
summary: Allocate resources for workflow
|
|
204
224
|
description: Allocate compute, memory, and token budgets for workflow execution
|
|
205
225
|
operationId: allocateResources
|
|
206
|
-
tags:
|
|
226
|
+
tags:
|
|
227
|
+
- resources
|
|
207
228
|
x-ossa-capability: resource-allocation
|
|
208
229
|
x-ossa-autonomy:
|
|
209
230
|
level: semi-autonomous
|
|
@@ -214,7 +235,9 @@ paths:
|
|
|
214
235
|
application/json:
|
|
215
236
|
schema:
|
|
216
237
|
type: object
|
|
217
|
-
required:
|
|
238
|
+
required:
|
|
239
|
+
- workflow_id
|
|
240
|
+
- resources
|
|
218
241
|
properties:
|
|
219
242
|
workflow_id:
|
|
220
243
|
type: string
|
|
@@ -228,7 +251,7 @@ paths:
|
|
|
228
251
|
tokens:
|
|
229
252
|
type: integer
|
|
230
253
|
responses:
|
|
231
|
-
|
|
254
|
+
"200":
|
|
232
255
|
description: Resources allocated
|
|
233
256
|
content:
|
|
234
257
|
application/json:
|
|
@@ -239,4 +262,3 @@ paths:
|
|
|
239
262
|
type: string
|
|
240
263
|
resources:
|
|
241
264
|
type: object
|
|
242
|
-
|
|
@@ -5,7 +5,9 @@ info:
|
|
|
5
5
|
description: |
|
|
6
6
|
A helpful customer support agent that answers questions and helps with orders.
|
|
7
7
|
Demonstrates OSSA quickstart patterns for production-ready agents.
|
|
8
|
-
|
|
8
|
+
contact:
|
|
9
|
+
name: Bluefly OSSA Team
|
|
10
|
+
url: https://gitlab.com/blueflyio/ossa/openstandardagents
|
|
9
11
|
x-ossa-metadata:
|
|
10
12
|
version: 0.2.5-RC
|
|
11
13
|
compliance:
|
|
@@ -13,28 +15,28 @@ x-ossa-metadata:
|
|
|
13
15
|
frameworks:
|
|
14
16
|
- OSSA
|
|
15
17
|
- OpenAPI 3.1
|
|
16
|
-
|
|
18
|
+
observability:
|
|
19
|
+
tracing: true
|
|
20
|
+
metrics: true
|
|
21
|
+
logging: true
|
|
17
22
|
x-ossa:
|
|
18
23
|
version: 0.3.3
|
|
19
24
|
agent:
|
|
20
|
-
id: support-agent
|
|
25
|
+
id: reference-implementations-quickstart-support-agent-api
|
|
21
26
|
type: specialist
|
|
22
27
|
compliance:
|
|
23
28
|
standards:
|
|
24
29
|
- openapi-first
|
|
25
30
|
validated: true
|
|
26
|
-
validatedAt:
|
|
27
|
-
|
|
31
|
+
validatedAt: 2024-01-15T10:00:00Z
|
|
28
32
|
servers:
|
|
29
33
|
- url: http://localhost:3000
|
|
30
34
|
description: Local development server
|
|
31
|
-
|
|
32
35
|
tags:
|
|
33
36
|
- name: support
|
|
34
37
|
description: Customer support operations
|
|
35
38
|
- name: orders
|
|
36
39
|
description: Order management operations
|
|
37
|
-
|
|
38
40
|
paths:
|
|
39
41
|
/chat:
|
|
40
42
|
post:
|
|
@@ -43,7 +45,8 @@ paths:
|
|
|
43
45
|
Interactive chat endpoint for customer support.
|
|
44
46
|
The agent can answer questions about orders, shipping, returns, and products.
|
|
45
47
|
operationId: chat
|
|
46
|
-
tags:
|
|
48
|
+
tags:
|
|
49
|
+
- support
|
|
47
50
|
x-ossa-capability: customer_support
|
|
48
51
|
x-ossa-autonomy:
|
|
49
52
|
level: supervised
|
|
@@ -59,7 +62,8 @@ paths:
|
|
|
59
62
|
application/json:
|
|
60
63
|
schema:
|
|
61
64
|
type: object
|
|
62
|
-
required:
|
|
65
|
+
required:
|
|
66
|
+
- message
|
|
63
67
|
properties:
|
|
64
68
|
message:
|
|
65
69
|
type: string
|
|
@@ -71,7 +75,7 @@ paths:
|
|
|
71
75
|
type: object
|
|
72
76
|
description: Additional context for the conversation
|
|
73
77
|
responses:
|
|
74
|
-
|
|
78
|
+
"200":
|
|
75
79
|
description: Support response
|
|
76
80
|
content:
|
|
77
81
|
application/json:
|
|
@@ -90,13 +94,13 @@ paths:
|
|
|
90
94
|
type: array
|
|
91
95
|
items:
|
|
92
96
|
type: string
|
|
93
|
-
|
|
94
97
|
/orders/{order_id}/status:
|
|
95
98
|
get:
|
|
96
99
|
summary: Get order status
|
|
97
100
|
description: Retrieve the status of a customer order
|
|
98
101
|
operationId: getOrderStatus
|
|
99
|
-
tags:
|
|
102
|
+
tags:
|
|
103
|
+
- orders
|
|
100
104
|
x-ossa-capability: order_tracking
|
|
101
105
|
x-ossa-autonomy:
|
|
102
106
|
level: autonomous
|
|
@@ -109,7 +113,7 @@ paths:
|
|
|
109
113
|
type: string
|
|
110
114
|
description: The order ID to look up (e.g., ORD-12345)
|
|
111
115
|
responses:
|
|
112
|
-
|
|
116
|
+
"200":
|
|
113
117
|
description: Order status retrieved
|
|
114
118
|
content:
|
|
115
119
|
application/json:
|
|
@@ -120,7 +124,12 @@ paths:
|
|
|
120
124
|
type: string
|
|
121
125
|
status:
|
|
122
126
|
type: string
|
|
123
|
-
enum:
|
|
127
|
+
enum:
|
|
128
|
+
- pending
|
|
129
|
+
- processing
|
|
130
|
+
- shipped
|
|
131
|
+
- delivered
|
|
132
|
+
- cancelled
|
|
124
133
|
tracking_number:
|
|
125
134
|
type: string
|
|
126
135
|
estimated_delivery:
|
|
@@ -137,15 +146,15 @@ paths:
|
|
|
137
146
|
type: integer
|
|
138
147
|
price:
|
|
139
148
|
type: number
|
|
140
|
-
|
|
149
|
+
"404":
|
|
141
150
|
description: Order not found
|
|
142
|
-
|
|
143
151
|
/orders/{order_id}/track:
|
|
144
152
|
get:
|
|
145
153
|
summary: Track order package
|
|
146
154
|
description: Get detailed tracking information for an order
|
|
147
155
|
operationId: trackOrder
|
|
148
|
-
tags:
|
|
156
|
+
tags:
|
|
157
|
+
- orders
|
|
149
158
|
x-ossa-capability: order_tracking
|
|
150
159
|
x-ossa-autonomy:
|
|
151
160
|
level: autonomous
|
|
@@ -157,7 +166,7 @@ paths:
|
|
|
157
166
|
schema:
|
|
158
167
|
type: string
|
|
159
168
|
responses:
|
|
160
|
-
|
|
169
|
+
"200":
|
|
161
170
|
description: Tracking information
|
|
162
171
|
content:
|
|
163
172
|
application/json:
|
|
@@ -184,4 +193,3 @@ paths:
|
|
|
184
193
|
type: string
|
|
185
194
|
description:
|
|
186
195
|
type: string
|
|
187
|
-
|