@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
  Governance agent enforcing policies, compliance, and security standards across systems.
7
7
  Validates compliance, assesses risks, and generates audit reports.
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:
@@ -21,24 +23,25 @@ x-ossa-metadata:
21
23
  governance:
22
24
  approved: true
23
25
  approvedBy: Governance Team
24
- approvalDate: "2024-01-15"
25
-
26
+ approvalDate: 2024-01-15
27
+ observability:
28
+ tracing: true
29
+ metrics: true
30
+ logging: true
26
31
  x-ossa:
27
32
  version: 0.2.5-RC
28
33
  agent:
29
- id: policy-compliance-governor
34
+ id: reference-implementations-governor-agent-api
30
35
  type: governor
31
36
  compliance:
32
37
  standards:
33
38
  - openapi-first
34
39
  - type-safe
35
40
  validated: true
36
- validatedAt: "2024-01-15T10:00:00Z"
37
-
41
+ validatedAt: 2024-01-15T10:00:00Z
38
42
  servers:
39
43
  - url: https://governor.platform.com/api/v1
40
44
  description: Production
41
-
42
45
  tags:
43
46
  - name: policies
44
47
  description: Policy enforcement operations
@@ -46,14 +49,14 @@ tags:
46
49
  description: Compliance validation operations
47
50
  - name: audit
48
51
  description: Audit operations
49
-
50
52
  paths:
51
53
  /policies/enforce:
52
54
  post:
53
55
  summary: Enforce policy
54
56
  description: Enforce policy on a resource or action
55
57
  operationId: enforcePolicy
56
- tags: [policies]
58
+ tags:
59
+ - policies
57
60
  x-ossa-capability: enforce-policies
58
61
  x-ossa-autonomy:
59
62
  level: supervised
@@ -64,7 +67,9 @@ paths:
64
67
  application/json:
65
68
  schema:
66
69
  type: object
67
- required: [policy, resource]
70
+ required:
71
+ - policy
72
+ - resource
68
73
  properties:
69
74
  policy:
70
75
  type: string
@@ -74,10 +79,13 @@ paths:
74
79
  description: Resource to enforce policy on
75
80
  mode:
76
81
  type: string
77
- enum: [advisory, blocking, logging]
82
+ enum:
83
+ - advisory
84
+ - blocking
85
+ - logging
78
86
  default: blocking
79
87
  responses:
80
- '200':
88
+ "200":
81
89
  description: Policy enforced
82
90
  content:
83
91
  application/json:
@@ -92,13 +100,13 @@ paths:
92
100
  type: array
93
101
  items:
94
102
  type: object
95
-
96
103
  /compliance/validate:
97
104
  post:
98
105
  summary: Validate compliance
99
106
  description: Validate resource or system against compliance framework
100
107
  operationId: validateCompliance
101
- tags: [compliance]
108
+ tags:
109
+ - compliance
102
110
  x-ossa-capability: validate-compliance
103
111
  x-ossa-autonomy:
104
112
  level: autonomous
@@ -109,11 +117,18 @@ paths:
109
117
  application/json:
110
118
  schema:
111
119
  type: object
112
- required: [framework, resource]
120
+ required:
121
+ - framework
122
+ - resource
113
123
  properties:
114
124
  framework:
115
125
  type: string
116
- enum: [soc2, pci-dss, gdpr, hipaa, iso27001]
126
+ enum:
127
+ - soc2
128
+ - pci-dss
129
+ - gdpr
130
+ - hipaa
131
+ - iso27001
117
132
  resource:
118
133
  type: object
119
134
  controls:
@@ -121,7 +136,7 @@ paths:
121
136
  items:
122
137
  type: string
123
138
  responses:
124
- '200':
139
+ "200":
125
140
  description: Compliance validation completed
126
141
  content:
127
142
  application/json:
@@ -143,13 +158,13 @@ paths:
143
158
  type: string
144
159
  score:
145
160
  type: number
146
-
147
161
  /audit/generate:
148
162
  post:
149
163
  summary: Generate audit report
150
164
  description: Generate audit report for compliance tracking
151
165
  operationId: generateAuditReport
152
- tags: [audit]
166
+ tags:
167
+ - audit
153
168
  x-ossa-capability: generate-reports
154
169
  x-ossa-autonomy:
155
170
  level: autonomous
@@ -160,7 +175,8 @@ paths:
160
175
  application/json:
161
176
  schema:
162
177
  type: object
163
- required: [period]
178
+ required:
179
+ - period
164
180
  properties:
165
181
  period:
166
182
  type: object
@@ -173,10 +189,13 @@ paths:
173
189
  format: date-time
174
190
  format:
175
191
  type: string
176
- enum: [json, pdf, html]
192
+ enum:
193
+ - json
194
+ - pdf
195
+ - html
177
196
  default: json
178
197
  responses:
179
- '200':
198
+ "200":
180
199
  description: Audit report generated
181
200
  content:
182
201
  application/json:
@@ -190,4 +209,3 @@ paths:
190
209
  format: uri
191
210
  summary:
192
211
  type: object
193
-
@@ -10,11 +10,12 @@ info:
10
10
  - Supports multi-cloud deployments
11
11
  - Includes compliance and security policies
12
12
  - Auto-generates Kubernetes resources
13
-
13
+ contact:
14
+ name: Bluefly OSSA Team
15
+ url: https://gitlab.com/blueflyio/ossa/openstandardagents
14
16
  servers:
15
17
  - url: http://localhost:3101/api/v1
16
18
  description: Local development
17
-
18
19
  tags:
19
20
  - name: generate
20
21
  description: Helm chart generation
@@ -22,53 +23,63 @@ tags:
22
23
  description: Chart validation
23
24
  - name: templates
24
25
  description: Template management
25
-
26
26
  paths:
27
27
  /generate:
28
28
  post:
29
29
  summary: Generate Helm chart from OSSA manifest
30
30
  operationId: generateHelmChart
31
- tags: [generate]
31
+ tags:
32
+ - generate
32
33
  requestBody:
33
34
  required: true
34
35
  content:
35
36
  application/json:
36
37
  schema:
37
- $ref: '#/components/schemas/GenerateRequest'
38
+ $ref: "#/components/schemas/GenerateRequest"
38
39
  responses:
39
- '200':
40
+ "200":
40
41
  description: Helm chart generated
41
42
  content:
42
43
  application/json:
43
44
  schema:
44
- $ref: '#/components/schemas/GenerateResponse'
45
- '400':
46
- $ref: '#/components/responses/BadRequest'
47
-
45
+ $ref: "#/components/schemas/GenerateResponse"
46
+ "400":
47
+ $ref: "#/components/responses/BadRequest"
48
+ x-ossa-capability: reference-generate-helm-chart
49
+ x-ossa-autonomy:
50
+ level: supervised
51
+ approval_required: true
52
+ description: Generate Helm chart from OSSA manifest
48
53
  /generate/batch:
49
54
  post:
50
55
  summary: Generate Helm charts for multiple agents
51
56
  operationId: generateBatch
52
- tags: [generate]
57
+ tags:
58
+ - generate
53
59
  requestBody:
54
60
  required: true
55
61
  content:
56
62
  application/json:
57
63
  schema:
58
- $ref: '#/components/schemas/BatchGenerateRequest'
64
+ $ref: "#/components/schemas/BatchGenerateRequest"
59
65
  responses:
60
- '200':
66
+ "200":
61
67
  description: Batch generation complete
62
68
  content:
63
69
  application/json:
64
70
  schema:
65
- $ref: '#/components/schemas/BatchGenerateResponse'
66
-
71
+ $ref: "#/components/schemas/BatchGenerateResponse"
72
+ x-ossa-capability: reference-generate-batch
73
+ x-ossa-autonomy:
74
+ level: supervised
75
+ approval_required: true
76
+ description: Generate Helm charts for multiple agents
67
77
  /validate:
68
78
  post:
69
79
  summary: Validate Helm chart
70
80
  operationId: validateChart
71
- tags: [validate]
81
+ tags:
82
+ - validate
72
83
  requestBody:
73
84
  required: true
74
85
  content:
@@ -82,44 +93,55 @@ paths:
82
93
  type: string
83
94
  format: binary
84
95
  responses:
85
- '200':
96
+ "200":
86
97
  description: Validation result
87
98
  content:
88
99
  application/json:
89
100
  schema:
90
- $ref: '#/components/schemas/ValidationResponse'
91
-
101
+ $ref: "#/components/schemas/ValidationResponse"
102
+ x-ossa-capability: reference-validate-chart
103
+ x-ossa-autonomy:
104
+ level: supervised
105
+ approval_required: true
106
+ description: Validate Helm chart
92
107
  /templates:
93
108
  get:
94
109
  summary: List available templates
95
110
  operationId: listTemplates
96
- tags: [templates]
111
+ tags:
112
+ - templates
97
113
  responses:
98
- '200':
114
+ "200":
99
115
  description: Template list
100
116
  content:
101
117
  application/json:
102
118
  schema:
103
- $ref: '#/components/schemas/TemplateListResponse'
104
-
119
+ $ref: "#/components/schemas/TemplateListResponse"
120
+ x-ossa-capability: reference-list-templates
121
+ description: List available templates
105
122
  post:
106
123
  summary: Create custom template
107
124
  operationId: createTemplate
108
- tags: [templates]
125
+ tags:
126
+ - templates
109
127
  requestBody:
110
128
  required: true
111
129
  content:
112
130
  application/json:
113
131
  schema:
114
- $ref: '#/components/schemas/TemplateCreateRequest'
132
+ $ref: "#/components/schemas/TemplateCreateRequest"
115
133
  responses:
116
- '201':
134
+ "201":
117
135
  description: Template created
118
136
  content:
119
137
  application/json:
120
138
  schema:
121
- $ref: '#/components/schemas/Template'
122
-
139
+ $ref: "#/components/schemas/Template"
140
+ x-ossa-capability: reference-create-template
141
+ x-ossa-autonomy:
142
+ level: supervised
143
+ approval_required: true
144
+ description: Create custom template
123
145
  components:
124
146
  schemas:
125
147
  GenerateRequest:
@@ -131,8 +153,7 @@ components:
131
153
  type: object
132
154
  description: OSSA agent manifest
133
155
  options:
134
- $ref: '#/components/schemas/GenerationOptions'
135
-
156
+ $ref: "#/components/schemas/GenerationOptions"
136
157
  GenerationOptions:
137
158
  type: object
138
159
  properties:
@@ -155,7 +176,10 @@ components:
155
176
  type: string
156
177
  pullPolicy:
157
178
  type: string
158
- enum: [Always, IfNotPresent, Never]
179
+ enum:
180
+ - Always
181
+ - IfNotPresent
182
+ - Never
159
183
  default: IfNotPresent
160
184
  resources:
161
185
  type: object
@@ -215,7 +239,11 @@ components:
215
239
  type: array
216
240
  items:
217
241
  type: string
218
- enum: [fedramp, iso27001, soc2, hipaa]
242
+ enum:
243
+ - fedramp
244
+ - iso27001
245
+ - soc2
246
+ - hipaa
219
247
  policies:
220
248
  type: array
221
249
  items:
@@ -232,7 +260,6 @@ components:
232
260
  jaeger:
233
261
  type: boolean
234
262
  default: false
235
-
236
263
  GenerateResponse:
237
264
  type: object
238
265
  required:
@@ -265,7 +292,6 @@ components:
265
292
  type: string
266
293
  size:
267
294
  type: integer
268
-
269
295
  BatchGenerateRequest:
270
296
  type: object
271
297
  required:
@@ -281,8 +307,7 @@ components:
281
307
  manifest:
282
308
  type: object
283
309
  options:
284
- $ref: '#/components/schemas/GenerationOptions'
285
-
310
+ $ref: "#/components/schemas/GenerationOptions"
286
311
  BatchGenerateResponse:
287
312
  type: object
288
313
  required:
@@ -301,7 +326,6 @@ components:
301
326
  type: string
302
327
  error:
303
328
  type: string
304
-
305
329
  ValidationResponse:
306
330
  type: object
307
331
  required:
@@ -319,7 +343,6 @@ components:
319
343
  type: string
320
344
  metadata:
321
345
  type: object
322
-
323
346
  Template:
324
347
  type: object
325
348
  required:
@@ -335,13 +358,17 @@ components:
335
358
  type: string
336
359
  type:
337
360
  type: string
338
- enum: [deployment, statefulset, daemonset, job, cronjob]
361
+ enum:
362
+ - deployment
363
+ - statefulset
364
+ - daemonset
365
+ - job
366
+ - cronjob
339
367
  template:
340
368
  type: string
341
369
  created_at:
342
370
  type: string
343
371
  format: date-time
344
-
345
372
  TemplateListResponse:
346
373
  type: object
347
374
  required:
@@ -350,8 +377,7 @@ components:
350
377
  data:
351
378
  type: array
352
379
  items:
353
- $ref: '#/components/schemas/Template'
354
-
380
+ $ref: "#/components/schemas/Template"
355
381
  TemplateCreateRequest:
356
382
  type: object
357
383
  required:
@@ -365,10 +391,14 @@ components:
365
391
  type: string
366
392
  type:
367
393
  type: string
368
- enum: [deployment, statefulset, daemonset, job, cronjob]
394
+ enum:
395
+ - deployment
396
+ - statefulset
397
+ - daemonset
398
+ - job
399
+ - cronjob
369
400
  template:
370
401
  type: string
371
-
372
402
  Error:
373
403
  type: object
374
404
  required:
@@ -379,11 +409,23 @@ components:
379
409
  type: string
380
410
  message:
381
411
  type: string
382
-
383
412
  responses:
384
413
  BadRequest:
385
414
  description: Bad request
386
415
  content:
387
416
  application/json:
388
417
  schema:
389
- $ref: '#/components/schemas/Error'
418
+ $ref: "#/components/schemas/Error"
419
+ x-ossa-metadata:
420
+ version: 0.3.3
421
+ compliance:
422
+ level: standard
423
+ observability:
424
+ tracing: true
425
+ metrics: true
426
+ logging: true
427
+ x-ossa:
428
+ version: 0.5.0
429
+ agent:
430
+ id: reference-implementations-helm-generator
431
+ type: specialist
@@ -5,7 +5,9 @@ info:
5
5
  description: |
6
6
  Enterprise integration agent for connecting heterogeneous systems and APIs.
7
7
  Transforms protocols, maps schemas, and routes messages between systems.
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,23 +15,24 @@ 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.2.5-RC
19
24
  agent:
20
- id: multi-system-integrator
25
+ id: reference-implementations-integrator-agent-api
21
26
  type: integrator
22
27
  compliance:
23
28
  standards:
24
29
  - openapi-first
25
30
  - type-safe
26
31
  validated: true
27
- validatedAt: "2024-01-15T10:00:00Z"
28
-
32
+ validatedAt: 2024-01-15T10:00:00Z
29
33
  servers:
30
34
  - url: https://integrator.platform.com/api/v1
31
35
  description: Production
32
-
33
36
  tags:
34
37
  - name: integration
35
38
  description: System integration operations
@@ -37,14 +40,14 @@ tags:
37
40
  description: Data transformation operations
38
41
  - name: routing
39
42
  description: Message routing operations
40
-
41
43
  paths:
42
44
  /integrate/connect:
43
45
  post:
44
46
  summary: Connect systems
45
47
  description: Establish connection between two or more systems
46
48
  operationId: connectSystems
47
- tags: [integration]
49
+ tags:
50
+ - integration
48
51
  x-ossa-capability: connect-systems
49
52
  x-ossa-autonomy:
50
53
  level: supervised
@@ -55,7 +58,8 @@ paths:
55
58
  application/json:
56
59
  schema:
57
60
  type: object
58
- required: [systems]
61
+ required:
62
+ - systems
59
63
  properties:
60
64
  systems:
61
65
  type: array
@@ -72,7 +76,7 @@ paths:
72
76
  type: object
73
77
  description: Schema mapping configuration
74
78
  responses:
75
- '200':
79
+ "200":
76
80
  description: Systems connected
77
81
  content:
78
82
  application/json:
@@ -83,14 +87,16 @@ paths:
83
87
  type: string
84
88
  status:
85
89
  type: string
86
- enum: [connected, failed]
87
-
90
+ enum:
91
+ - connected
92
+ - failed
88
93
  /transform:
89
94
  post:
90
95
  summary: Transform data
91
96
  description: Transform data between different formats and schemas
92
97
  operationId: transformData
93
- tags: [transformation]
98
+ tags:
99
+ - transformation
94
100
  x-ossa-capability: map-schemas
95
101
  x-ossa-autonomy:
96
102
  level: autonomous
@@ -101,7 +107,10 @@ paths:
101
107
  application/json:
102
108
  schema:
103
109
  type: object
104
- required: [data, from_format, to_format]
110
+ required:
111
+ - data
112
+ - from_format
113
+ - to_format
105
114
  properties:
106
115
  data:
107
116
  type: object
@@ -112,7 +121,7 @@ paths:
112
121
  mapping:
113
122
  type: object
114
123
  responses:
115
- '200':
124
+ "200":
116
125
  description: Data transformed
117
126
  content:
118
127
  application/json:
@@ -123,13 +132,13 @@ paths:
123
132
  type: object
124
133
  metadata:
125
134
  type: object
126
-
127
135
  /route:
128
136
  post:
129
137
  summary: Route message
130
138
  description: Route message to appropriate system based on routing rules
131
139
  operationId: routeMessage
132
- tags: [routing]
140
+ tags:
141
+ - routing
133
142
  x-ossa-capability: route-messages
134
143
  x-ossa-autonomy:
135
144
  level: autonomous
@@ -140,7 +149,9 @@ paths:
140
149
  application/json:
141
150
  schema:
142
151
  type: object
143
- required: [message, destination]
152
+ required:
153
+ - message
154
+ - destination
144
155
  properties:
145
156
  message:
146
157
  type: object
@@ -149,7 +160,7 @@ paths:
149
160
  routing_rules:
150
161
  type: object
151
162
  responses:
152
- '200':
163
+ "200":
153
164
  description: Message routed
154
165
  content:
155
166
  application/json:
@@ -162,4 +173,3 @@ paths:
162
173
  type: string
163
174
  status:
164
175
  type: string
165
-