@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.
Files changed (125) hide show
  1. package/.version.json +3 -3
  2. package/CHANGELOG.md +8 -8
  3. package/README.md +68 -58
  4. package/bin/postinstall +0 -0
  5. package/dist/.version.json +3 -3
  6. package/dist/adapters/claude-code/adapter.js +2 -2
  7. package/dist/adapters/docker/generators.js +19 -19
  8. package/dist/adapters/drupal/generator.js +76 -76
  9. package/dist/adapters/openai-agents/adapter.js +2 -2
  10. package/dist/cli/schema-driven/schema-loader.js +5 -5
  11. package/dist/mcp-server/__tests__/mcp-server.spec.js +20 -11
  12. package/dist/mcp-server/index.js +0 -0
  13. package/dist/package.json +24 -11
  14. package/dist/services/export/langchain/langchain-exporter.js +2 -2
  15. package/dist/services/export/langchain/memory-generator.js +2 -2
  16. package/dist/services/export/testing/test-generator.js +1 -1
  17. package/dist/services/taxonomy-service.d.ts +3 -3
  18. package/dist/skills/test-skill/package.json +1 -1
  19. package/dist/spec/extensions/role-manifest.md +188 -0
  20. package/dist/spec/v0.4/extensions/mcp/README.md +1 -1
  21. package/dist/spec/v0.5/agent.schema.json +2 -1
  22. package/dist/spec/v0.5/extensions/mcp/README.md +1 -1
  23. package/dist/spec/v0.5/role.schema.json +268 -0
  24. package/dist/types/index.d.ts +2 -0
  25. package/dist/types/index.js +2 -0
  26. package/dist/types/role.d.ts +126 -0
  27. package/dist/types/role.js +38 -0
  28. package/dist/validation/validator.js +1 -1
  29. package/examples/agents/01-customer-support-bot/agent.ossa.yaml +24 -31
  30. package/examples/agents/05-sales-assistant/agent.ossa.yaml +35 -23
  31. package/examples/agents/07-research-assistant/agent.ossa.yaml +27 -21
  32. package/examples/agents/10-meeting-assistant/agent.ossa.yaml +27 -35
  33. package/examples/agents/security-audit-agent.ossa.yaml +234 -0
  34. package/examples/agentscope/react-assistant/agent.ossa.yaml +36 -32
  35. package/examples/drupal/content-moderator.ossa.yaml +2 -2
  36. package/examples/drupal/drupal-contributor.ossa.yaml +247 -0
  37. package/examples/export/langchain/production-agent-with-memory/README.md +1 -1
  38. package/examples/export/langchain/production-agent-with-memory/agent.ossa.yaml +13 -23
  39. package/examples/export/langchain/production-agent-with-streaming/agent.ossa.yaml +1 -15
  40. package/examples/export/langchain/production-agent-with-tools/agent.ossa.yaml +28 -29
  41. package/examples/getting-started/01-minimal-agent.ossa.yaml +1 -1
  42. package/examples/getting-started/02-agent-with-tools.ossa.yaml +1 -1
  43. package/examples/getting-started/03-agent-with-safety.ossa.yaml +1 -1
  44. package/examples/getting-started/04-agent-with-messaging.ossa.yaml +1 -1
  45. package/examples/getting-started/05-workflow-composition.ossa.yaml +1 -1
  46. package/examples/getting-started/README.md +3 -3
  47. package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
  48. package/examples/gitlab-agents/gitlab-ci-agent.ossa.yaml +221 -0
  49. package/examples/hierarchical-agent.ossa.yaml +10 -53
  50. package/examples/kagent/ossa-kagent-anthropic.ossa.yaml +2 -25
  51. package/examples/kagent/ossa-kagent-mcp-tools.ossa.yaml +2 -30
  52. package/examples/kagent/ossa-kagent-multi-tool.ossa.yaml +2 -18
  53. package/examples/kagent/ossa-kagent-poc.ossa.yaml +2 -16
  54. package/examples/pipeline-agent.ossa.yaml +3 -3
  55. package/examples/platform-specific/claude-code-subagent.yaml +1 -1
  56. package/examples/platform-specific/cursor-coding-agent.yaml +1 -1
  57. package/examples/platform-specific/warp-terminal-agent.yaml +1 -1
  58. package/examples/production-ready/01-customer-support-bot/agent.ossa.yaml +24 -31
  59. package/examples/production-ready/05-sales-assistant/agent.ossa.yaml +35 -23
  60. package/examples/production-ready/07-research-assistant/agent.ossa.yaml +27 -19
  61. package/examples/production-ready/10-meeting-assistant/agent.ossa.yaml +27 -35
  62. package/examples/reference-implementations/python-client/examples/basic_usage.py +0 -0
  63. package/examples/reference-implementations/python-client/examples/publish_agent.py +0 -0
  64. package/examples/roles/drupal-developer.role.yaml +37 -0
  65. package/examples/roles/platform-operator.role.yaml +28 -0
  66. package/examples/roles/security-auditor.role.yaml +27 -0
  67. package/examples/swarm-agent.ossa.yaml +13 -51
  68. package/examples/team-agent.ossa.yaml +12 -61
  69. package/examples/team-lead-teammate.ossa.yaml +12 -17
  70. package/openapi/agent-communication.yaml +260 -212
  71. package/openapi/agent-crud.yaml +217 -187
  72. package/openapi/agent-discovery.yaml +119 -81
  73. package/openapi/agent-identity.yaml +219 -187
  74. package/openapi/agent-taxonomy.yaml +95 -38
  75. package/openapi/agents-md-service.yaml +103 -30
  76. package/openapi/cli/openapi.yaml +147 -40
  77. package/openapi/core/ossa-core-api.openapi.yaml +327 -271
  78. package/openapi/core/ossa-registry-api.openapi.yaml +298 -235
  79. package/openapi/core/ossa-registry.openapi.yaml +299 -159
  80. package/openapi/core/unified-agent-gateway.openapi.yaml +234 -170
  81. package/openapi/daemon-api.openapi.yaml +323 -181
  82. package/openapi/dev-cli/openapi.yaml +137 -113
  83. package/openapi/github-sync.yaml +62 -19
  84. package/openapi/marketplace-plugin.openapi.yaml +539 -466
  85. package/openapi/ossa-api.openapi.yaml +354 -213
  86. package/openapi/ossa-cli-enhancements.openapi.yaml +108 -89
  87. package/openapi/ossa-cli.yaml +260 -184
  88. package/openapi/protocols/sse-streams.yaml +66 -74
  89. package/openapi/protocols/websocket-events.yaml +61 -54
  90. package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +37 -20
  91. package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +35 -23
  92. package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +29 -18
  93. package/openapi/reference-implementations/critic-agent-api.openapi.yaml +45 -19
  94. package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +30 -24
  95. package/openapi/reference-implementations/drupal-agent-api.openapi.yaml +101 -50
  96. package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +33 -22
  97. package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +20 -16
  98. package/openapi/reference-implementations/governor-agent-api.openapi.yaml +41 -23
  99. package/openapi/reference-implementations/helm-generator.openapi.yaml +88 -46
  100. package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +30 -20
  101. package/openapi/reference-implementations/judge-agent-api.openapi.yaml +22 -16
  102. package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +32 -18
  103. package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +32 -21
  104. package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +34 -21
  105. package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +49 -27
  106. package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +27 -19
  107. package/openapi/reference-implementations/self-evolving-ecosystem.openapi.yaml +427 -293
  108. package/openapi/reference-implementations/worker-agent-api.openapi.yaml +34 -23
  109. package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +35 -21
  110. package/openapi/release-automation.openapi.yaml +47 -13
  111. package/openapi/schemas/common/agent.yaml +30 -29
  112. package/openapi/schemas/common/errors.yaml +13 -3
  113. package/openapi/schemas/common/metadata.yaml +22 -7
  114. package/openapi/schemas/common/pagination.yaml +18 -6
  115. package/openapi/schemas/common/security.yaml +13 -5
  116. package/openapi/schemas/index.yaml +49 -42
  117. package/openapi/uadp-asyncapi.yaml +4 -2
  118. package/openapi/uadp-openapi.yaml +243 -165
  119. package/openapi/version-management.openapi.yaml +142 -135
  120. package/package.json +114 -103
  121. package/spec/extensions/role-manifest.md +188 -0
  122. package/spec/v0.4/extensions/mcp/README.md +1 -1
  123. package/spec/v0.5/agent.schema.json +2 -1
  124. package/spec/v0.5/extensions/mcp/README.md +1 -1
  125. package/spec/v0.5/role.schema.json +268 -0
@@ -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: "2024-01-15"
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: multi-workflow-orchestrator
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: "2024-01-15T10:30:00Z"
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: [workflows]
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: [workflow_id, steps]
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: [worker, specialist, critic]
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: [low, normal, high, critical]
106
+ enum:
107
+ - low
108
+ - normal
109
+ - high
110
+ - critical
99
111
  default: normal
100
112
  responses:
101
- '202':
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: [pending, running, completed, failed]
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: [workflows]
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
- '200':
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: [agents]
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: [capability]
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: [worker, specialist, critic, orchestrator]
193
+ enum:
194
+ - worker
195
+ - specialist
196
+ - critic
197
+ - orchestrator
177
198
  filters:
178
199
  type: object
179
200
  responses:
180
- '200':
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: [resources]
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: [workflow_id, resources]
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
- '200':
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: "2024-01-15T10:00:00Z"
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: [support]
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: [message]
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
- '200':
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: [orders]
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
- '200':
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: [pending, processing, shipped, delivered, cancelled]
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
- '404':
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: [orders]
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
- '200':
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
-