@bluefly/openstandardagents 0.4.9 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.version.json +3 -3
- package/CHANGELOG.md +8 -8
- package/README.md +68 -58
- package/bin/postinstall +0 -0
- package/dist/.version.json +3 -3
- package/dist/adapters/claude-code/adapter.js +2 -2
- package/dist/adapters/docker/generators.js +19 -19
- package/dist/adapters/drupal/generator.js +76 -76
- package/dist/adapters/openai-agents/adapter.js +2 -2
- package/dist/cli/schema-driven/schema-loader.js +5 -5
- package/dist/mcp-server/__tests__/mcp-server.spec.js +20 -11
- package/dist/mcp-server/index.js +0 -0
- package/dist/package.json +24 -11
- package/dist/services/export/langchain/langchain-exporter.js +2 -2
- package/dist/services/export/langchain/memory-generator.js +2 -2
- package/dist/services/export/testing/test-generator.js +1 -1
- package/dist/services/taxonomy-service.d.ts +3 -3
- package/dist/skills/test-skill/package.json +1 -1
- package/dist/spec/extensions/role-manifest.md +188 -0
- package/dist/spec/v0.4/extensions/mcp/README.md +1 -1
- package/dist/spec/v0.5/agent.schema.json +2 -1
- package/dist/spec/v0.5/extensions/mcp/README.md +1 -1
- package/dist/spec/v0.5/role.schema.json +268 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/role.d.ts +126 -0
- package/dist/types/role.js +38 -0
- package/dist/validation/validator.js +1 -1
- package/examples/agents/01-customer-support-bot/agent.ossa.yaml +24 -31
- package/examples/agents/05-sales-assistant/agent.ossa.yaml +35 -23
- package/examples/agents/07-research-assistant/agent.ossa.yaml +27 -21
- package/examples/agents/10-meeting-assistant/agent.ossa.yaml +27 -35
- package/examples/agents/security-audit-agent.ossa.yaml +234 -0
- package/examples/agentscope/react-assistant/agent.ossa.yaml +36 -32
- package/examples/drupal/content-moderator.ossa.yaml +2 -2
- package/examples/drupal/drupal-contributor.ossa.yaml +247 -0
- package/examples/export/langchain/production-agent-with-memory/README.md +1 -1
- package/examples/export/langchain/production-agent-with-memory/agent.ossa.yaml +13 -23
- package/examples/export/langchain/production-agent-with-streaming/agent.ossa.yaml +1 -15
- package/examples/export/langchain/production-agent-with-tools/agent.ossa.yaml +28 -29
- package/examples/getting-started/01-minimal-agent.ossa.yaml +1 -1
- package/examples/getting-started/02-agent-with-tools.ossa.yaml +1 -1
- package/examples/getting-started/03-agent-with-safety.ossa.yaml +1 -1
- package/examples/getting-started/04-agent-with-messaging.ossa.yaml +1 -1
- package/examples/getting-started/05-workflow-composition.ossa.yaml +1 -1
- package/examples/getting-started/README.md +3 -3
- package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
- package/examples/gitlab-agents/gitlab-ci-agent.ossa.yaml +221 -0
- package/examples/hierarchical-agent.ossa.yaml +10 -53
- package/examples/kagent/ossa-kagent-anthropic.ossa.yaml +2 -25
- package/examples/kagent/ossa-kagent-mcp-tools.ossa.yaml +2 -30
- package/examples/kagent/ossa-kagent-multi-tool.ossa.yaml +2 -18
- package/examples/kagent/ossa-kagent-poc.ossa.yaml +2 -16
- package/examples/pipeline-agent.ossa.yaml +3 -3
- package/examples/platform-specific/claude-code-subagent.yaml +1 -1
- package/examples/platform-specific/cursor-coding-agent.yaml +1 -1
- package/examples/platform-specific/warp-terminal-agent.yaml +1 -1
- package/examples/production-ready/01-customer-support-bot/agent.ossa.yaml +24 -31
- package/examples/production-ready/05-sales-assistant/agent.ossa.yaml +35 -23
- package/examples/production-ready/07-research-assistant/agent.ossa.yaml +27 -19
- package/examples/production-ready/10-meeting-assistant/agent.ossa.yaml +27 -35
- package/examples/reference-implementations/python-client/examples/basic_usage.py +0 -0
- package/examples/reference-implementations/python-client/examples/publish_agent.py +0 -0
- package/examples/roles/drupal-developer.role.yaml +37 -0
- package/examples/roles/platform-operator.role.yaml +28 -0
- package/examples/roles/security-auditor.role.yaml +27 -0
- package/examples/swarm-agent.ossa.yaml +13 -51
- package/examples/team-agent.ossa.yaml +12 -61
- package/examples/team-lead-teammate.ossa.yaml +12 -17
- package/openapi/agent-communication.yaml +260 -212
- package/openapi/agent-crud.yaml +217 -187
- package/openapi/agent-discovery.yaml +119 -81
- package/openapi/agent-identity.yaml +219 -187
- package/openapi/agent-taxonomy.yaml +95 -38
- package/openapi/agents-md-service.yaml +103 -30
- package/openapi/cli/openapi.yaml +147 -40
- package/openapi/core/ossa-core-api.openapi.yaml +327 -271
- package/openapi/core/ossa-registry-api.openapi.yaml +298 -235
- package/openapi/core/ossa-registry.openapi.yaml +299 -159
- package/openapi/core/unified-agent-gateway.openapi.yaml +234 -170
- package/openapi/daemon-api.openapi.yaml +323 -181
- package/openapi/dev-cli/openapi.yaml +137 -113
- package/openapi/github-sync.yaml +62 -19
- package/openapi/marketplace-plugin.openapi.yaml +539 -466
- package/openapi/ossa-api.openapi.yaml +354 -213
- package/openapi/ossa-cli-enhancements.openapi.yaml +108 -89
- package/openapi/ossa-cli.yaml +260 -184
- package/openapi/protocols/sse-streams.yaml +66 -74
- package/openapi/protocols/websocket-events.yaml +61 -54
- package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +37 -20
- package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +35 -23
- package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +29 -18
- package/openapi/reference-implementations/critic-agent-api.openapi.yaml +45 -19
- package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +30 -24
- package/openapi/reference-implementations/drupal-agent-api.openapi.yaml +101 -50
- package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +33 -22
- package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +20 -16
- package/openapi/reference-implementations/governor-agent-api.openapi.yaml +41 -23
- package/openapi/reference-implementations/helm-generator.openapi.yaml +88 -46
- package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +30 -20
- package/openapi/reference-implementations/judge-agent-api.openapi.yaml +22 -16
- package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +32 -18
- package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +32 -21
- package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +34 -21
- package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +49 -27
- package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +27 -19
- package/openapi/reference-implementations/self-evolving-ecosystem.openapi.yaml +427 -293
- package/openapi/reference-implementations/worker-agent-api.openapi.yaml +34 -23
- package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +35 -21
- package/openapi/release-automation.openapi.yaml +47 -13
- package/openapi/schemas/common/agent.yaml +30 -29
- package/openapi/schemas/common/errors.yaml +13 -3
- package/openapi/schemas/common/metadata.yaml +22 -7
- package/openapi/schemas/common/pagination.yaml +18 -6
- package/openapi/schemas/common/security.yaml +13 -5
- package/openapi/schemas/index.yaml +49 -42
- package/openapi/uadp-asyncapi.yaml +4 -2
- package/openapi/uadp-openapi.yaml +243 -165
- package/openapi/version-management.openapi.yaml +142 -135
- package/package.json +114 -103
- package/spec/extensions/role-manifest.md +188 -0
- package/spec/v0.4/extensions/mcp/README.md +1 -1
- package/spec/v0.5/agent.schema.json +2 -1
- package/spec/v0.5/extensions/mcp/README.md +1 -1
- package/spec/v0.5/role.schema.json +268 -0
|
@@ -27,7 +27,6 @@ info:
|
|
|
27
27
|
url: https://github.com/blueflyio/openstandardagents
|
|
28
28
|
license:
|
|
29
29
|
name: MIT
|
|
30
|
-
|
|
31
30
|
servers:
|
|
32
31
|
- url: http://localhost:9000/api/v1
|
|
33
32
|
description: Local development
|
|
@@ -35,7 +34,6 @@ servers:
|
|
|
35
34
|
description: Local OrbStack
|
|
36
35
|
- url: https://evolution.llm.bluefly.io/api/v1
|
|
37
36
|
description: Production
|
|
38
|
-
|
|
39
37
|
tags:
|
|
40
38
|
- name: Ecosystem
|
|
41
39
|
description: Self-evolving ecosystem management
|
|
@@ -53,11 +51,8 @@ tags:
|
|
|
53
51
|
description: Real-time adaptation and self-improvement
|
|
54
52
|
- name: Health
|
|
55
53
|
description: System health and metrics
|
|
56
|
-
|
|
57
54
|
components:
|
|
58
55
|
schemas:
|
|
59
|
-
# MARK: - Core Ecosystem
|
|
60
|
-
|
|
61
56
|
Ecosystem:
|
|
62
57
|
type: object
|
|
63
58
|
required:
|
|
@@ -73,31 +68,33 @@ components:
|
|
|
73
68
|
format: uuid
|
|
74
69
|
name:
|
|
75
70
|
type: string
|
|
76
|
-
example:
|
|
71
|
+
example: Production Ecosystem
|
|
77
72
|
status:
|
|
78
73
|
type: string
|
|
79
|
-
enum:
|
|
74
|
+
enum:
|
|
75
|
+
- initializing
|
|
76
|
+
- evolving
|
|
77
|
+
- stable
|
|
78
|
+
- optimizing
|
|
79
|
+
- adapting
|
|
80
80
|
agents:
|
|
81
81
|
type: array
|
|
82
82
|
items:
|
|
83
|
-
$ref:
|
|
83
|
+
$ref: "#/components/schemas/Agent"
|
|
84
84
|
coordinationMatrix:
|
|
85
|
-
$ref:
|
|
85
|
+
$ref: "#/components/schemas/CoordinationMatrix"
|
|
86
86
|
evolutionState:
|
|
87
|
-
$ref:
|
|
87
|
+
$ref: "#/components/schemas/EvolutionState"
|
|
88
88
|
learningMetrics:
|
|
89
|
-
$ref:
|
|
89
|
+
$ref: "#/components/schemas/LearningMetrics"
|
|
90
90
|
performanceMetrics:
|
|
91
|
-
$ref:
|
|
91
|
+
$ref: "#/components/schemas/PerformanceMetrics"
|
|
92
92
|
created:
|
|
93
93
|
type: string
|
|
94
94
|
format: date-time
|
|
95
95
|
updated:
|
|
96
96
|
type: string
|
|
97
97
|
format: date-time
|
|
98
|
-
|
|
99
|
-
# MARK: - Multi-Agent Coordination
|
|
100
|
-
|
|
101
98
|
Agent:
|
|
102
99
|
type: object
|
|
103
100
|
required:
|
|
@@ -113,40 +110,49 @@ components:
|
|
|
113
110
|
format: uuid
|
|
114
111
|
name:
|
|
115
112
|
type: string
|
|
116
|
-
example:
|
|
113
|
+
example: Drupal Security Compliance Agent
|
|
117
114
|
type:
|
|
118
115
|
type: string
|
|
119
|
-
enum:
|
|
116
|
+
enum:
|
|
117
|
+
- orchestrator
|
|
118
|
+
- worker
|
|
119
|
+
- critic
|
|
120
|
+
- integrator
|
|
121
|
+
- specialist
|
|
120
122
|
description: OSSA agent type
|
|
121
123
|
role:
|
|
122
124
|
type: string
|
|
123
125
|
enum:
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
revenue_optimization,
|
|
131
|
-
]
|
|
126
|
+
- security_compliance
|
|
127
|
+
- performance_optimization
|
|
128
|
+
- research_innovation
|
|
129
|
+
- knowledge_management
|
|
130
|
+
- infrastructure_ops
|
|
131
|
+
- revenue_optimization
|
|
132
132
|
capabilities:
|
|
133
133
|
type: array
|
|
134
134
|
items:
|
|
135
135
|
type: string
|
|
136
136
|
example:
|
|
137
|
-
|
|
137
|
+
- iso42001_compliance
|
|
138
|
+
- nist_rmf_validation
|
|
139
|
+
- audit_automation
|
|
138
140
|
status:
|
|
139
141
|
type: string
|
|
140
|
-
enum:
|
|
142
|
+
enum:
|
|
143
|
+
- active
|
|
144
|
+
- learning
|
|
145
|
+
- adapting
|
|
146
|
+
- idle
|
|
147
|
+
- error
|
|
141
148
|
performance:
|
|
142
|
-
$ref:
|
|
149
|
+
$ref: "#/components/schemas/AgentPerformance"
|
|
143
150
|
learning:
|
|
144
|
-
$ref:
|
|
151
|
+
$ref: "#/components/schemas/AgentLearning"
|
|
145
152
|
coordination:
|
|
146
153
|
type: array
|
|
147
154
|
items:
|
|
148
|
-
$ref:
|
|
149
|
-
|
|
155
|
+
$ref: "#/components/schemas/CoordinationLink"
|
|
150
156
|
CoordinationMatrix:
|
|
151
157
|
type: object
|
|
152
158
|
description: Hierarchical coordination between agents
|
|
@@ -169,14 +175,21 @@ components:
|
|
|
169
175
|
dependencies:
|
|
170
176
|
type: array
|
|
171
177
|
items:
|
|
172
|
-
$ref:
|
|
178
|
+
$ref: "#/components/schemas/AgentDependency"
|
|
173
179
|
communicationProtocol:
|
|
174
180
|
type: string
|
|
175
|
-
enum:
|
|
181
|
+
enum:
|
|
182
|
+
- event_driven
|
|
183
|
+
- request_response
|
|
184
|
+
- streaming
|
|
185
|
+
- pub_sub
|
|
176
186
|
conflictResolution:
|
|
177
187
|
type: string
|
|
178
|
-
enum:
|
|
179
|
-
|
|
188
|
+
enum:
|
|
189
|
+
- consensus
|
|
190
|
+
- priority_based
|
|
191
|
+
- ai_mediation
|
|
192
|
+
- escalation
|
|
180
193
|
AgentDependency:
|
|
181
194
|
type: object
|
|
182
195
|
properties:
|
|
@@ -188,13 +201,16 @@ components:
|
|
|
188
201
|
format: uuid
|
|
189
202
|
type:
|
|
190
203
|
type: string
|
|
191
|
-
enum:
|
|
204
|
+
enum:
|
|
205
|
+
- requires
|
|
206
|
+
- provides
|
|
207
|
+
- collaborates
|
|
208
|
+
- monitors
|
|
192
209
|
strength:
|
|
193
210
|
type: number
|
|
194
211
|
minimum: 0
|
|
195
212
|
maximum: 1
|
|
196
213
|
description: Dependency strength (0-1)
|
|
197
|
-
|
|
198
214
|
CoordinationLink:
|
|
199
215
|
type: object
|
|
200
216
|
properties:
|
|
@@ -203,7 +219,11 @@ components:
|
|
|
203
219
|
format: uuid
|
|
204
220
|
linkType:
|
|
205
221
|
type: string
|
|
206
|
-
enum:
|
|
222
|
+
enum:
|
|
223
|
+
- peer
|
|
224
|
+
- supervisor
|
|
225
|
+
- subordinate
|
|
226
|
+
- collaborator
|
|
207
227
|
communicationFrequency:
|
|
208
228
|
type: number
|
|
209
229
|
description: Messages per hour
|
|
@@ -211,9 +231,6 @@ components:
|
|
|
211
231
|
type: number
|
|
212
232
|
minimum: 0
|
|
213
233
|
maximum: 1
|
|
214
|
-
|
|
215
|
-
# MARK: - Federated Learning
|
|
216
|
-
|
|
217
234
|
FederatedLearningSession:
|
|
218
235
|
type: object
|
|
219
236
|
required:
|
|
@@ -228,13 +245,11 @@ components:
|
|
|
228
245
|
modelType:
|
|
229
246
|
type: string
|
|
230
247
|
enum:
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
cognitive_load_prediction,
|
|
237
|
-
]
|
|
248
|
+
- code_completion
|
|
249
|
+
- bug_prediction
|
|
250
|
+
- productivity_optimization
|
|
251
|
+
- collaboration_enhancement
|
|
252
|
+
- cognitive_load_prediction
|
|
238
253
|
participants:
|
|
239
254
|
type: array
|
|
240
255
|
items:
|
|
@@ -244,7 +259,7 @@ components:
|
|
|
244
259
|
privacyBudget:
|
|
245
260
|
type: number
|
|
246
261
|
description: Differential privacy epsilon
|
|
247
|
-
example: 1
|
|
262
|
+
example: 1
|
|
248
263
|
rounds:
|
|
249
264
|
type: integer
|
|
250
265
|
minimum: 1
|
|
@@ -254,10 +269,14 @@ components:
|
|
|
254
269
|
default: 0.01
|
|
255
270
|
status:
|
|
256
271
|
type: string
|
|
257
|
-
enum:
|
|
272
|
+
enum:
|
|
273
|
+
- pending
|
|
274
|
+
- training
|
|
275
|
+
- aggregating
|
|
276
|
+
- completed
|
|
277
|
+
- failed
|
|
258
278
|
metrics:
|
|
259
|
-
$ref:
|
|
260
|
-
|
|
279
|
+
$ref: "#/components/schemas/LearningMetrics"
|
|
261
280
|
LearningMetrics:
|
|
262
281
|
type: object
|
|
263
282
|
properties:
|
|
@@ -279,9 +298,6 @@ components:
|
|
|
279
298
|
type: number
|
|
280
299
|
privacyBudgetUsed:
|
|
281
300
|
type: number
|
|
282
|
-
|
|
283
|
-
# MARK: - Psychology & Gamification
|
|
284
|
-
|
|
285
301
|
FlowStateOptimization:
|
|
286
302
|
type: object
|
|
287
303
|
description: Real-time flow state optimization based on Csikszentmihalyi research
|
|
@@ -295,16 +311,14 @@ components:
|
|
|
295
311
|
currentState:
|
|
296
312
|
type: string
|
|
297
313
|
enum:
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
relaxation,
|
|
307
|
-
]
|
|
314
|
+
- flow
|
|
315
|
+
- anxiety
|
|
316
|
+
- boredom
|
|
317
|
+
- apathy
|
|
318
|
+
- arousal
|
|
319
|
+
- control
|
|
320
|
+
- worry
|
|
321
|
+
- relaxation
|
|
308
322
|
skillLevel:
|
|
309
323
|
type: number
|
|
310
324
|
minimum: 0
|
|
@@ -326,7 +340,6 @@ components:
|
|
|
326
340
|
items:
|
|
327
341
|
type: string
|
|
328
342
|
description: AI recommendations to optimize flow
|
|
329
|
-
|
|
330
343
|
GamificationEvent:
|
|
331
344
|
type: object
|
|
332
345
|
required:
|
|
@@ -337,20 +350,18 @@ components:
|
|
|
337
350
|
eventType:
|
|
338
351
|
type: string
|
|
339
352
|
enum:
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
flow_state_achieved,
|
|
348
|
-
]
|
|
353
|
+
- achievement_unlocked
|
|
354
|
+
- level_up
|
|
355
|
+
- badge_earned
|
|
356
|
+
- challenge_completed
|
|
357
|
+
- leaderboard_rank_change
|
|
358
|
+
- skill_mastered
|
|
359
|
+
- flow_state_achieved
|
|
349
360
|
developerId:
|
|
350
361
|
type: string
|
|
351
362
|
format: uuid
|
|
352
363
|
achievement:
|
|
353
|
-
$ref:
|
|
364
|
+
$ref: "#/components/schemas/Achievement"
|
|
354
365
|
context:
|
|
355
366
|
type: object
|
|
356
367
|
additionalProperties: true
|
|
@@ -358,8 +369,7 @@ components:
|
|
|
358
369
|
type: string
|
|
359
370
|
format: date-time
|
|
360
371
|
impact:
|
|
361
|
-
$ref:
|
|
362
|
-
|
|
372
|
+
$ref: "#/components/schemas/MotivationImpact"
|
|
363
373
|
Achievement:
|
|
364
374
|
type: object
|
|
365
375
|
properties:
|
|
@@ -372,23 +382,25 @@ components:
|
|
|
372
382
|
category:
|
|
373
383
|
type: string
|
|
374
384
|
enum:
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
security,
|
|
382
|
-
]
|
|
385
|
+
- productivity
|
|
386
|
+
- quality
|
|
387
|
+
- collaboration
|
|
388
|
+
- learning
|
|
389
|
+
- innovation
|
|
390
|
+
- security
|
|
383
391
|
rarity:
|
|
384
392
|
type: string
|
|
385
|
-
enum:
|
|
393
|
+
enum:
|
|
394
|
+
- common
|
|
395
|
+
- uncommon
|
|
396
|
+
- rare
|
|
397
|
+
- epic
|
|
398
|
+
- legendary
|
|
386
399
|
points:
|
|
387
400
|
type: integer
|
|
388
401
|
gameCenterId:
|
|
389
402
|
type: string
|
|
390
403
|
description: Game Center achievement ID
|
|
391
|
-
|
|
392
404
|
MotivationImpact:
|
|
393
405
|
type: object
|
|
394
406
|
description: Psychological impact on developer motivation
|
|
@@ -413,9 +425,6 @@ components:
|
|
|
413
425
|
type: number
|
|
414
426
|
minimum: 0
|
|
415
427
|
maximum: 100
|
|
416
|
-
|
|
417
|
-
# MARK: - Cognitive Research
|
|
418
|
-
|
|
419
428
|
CognitiveLoadStudy:
|
|
420
429
|
type: object
|
|
421
430
|
description: ResearchKit cognitive load measurement
|
|
@@ -435,17 +444,16 @@ components:
|
|
|
435
444
|
type: string
|
|
436
445
|
format: uuid
|
|
437
446
|
biometricData:
|
|
438
|
-
$ref:
|
|
447
|
+
$ref: "#/components/schemas/BiometricData"
|
|
439
448
|
behavioralData:
|
|
440
|
-
$ref:
|
|
449
|
+
$ref: "#/components/schemas/BehavioralData"
|
|
441
450
|
nasaTLX:
|
|
442
|
-
$ref:
|
|
451
|
+
$ref: "#/components/schemas/NASATLX"
|
|
443
452
|
cognitiveLoad:
|
|
444
|
-
$ref:
|
|
453
|
+
$ref: "#/components/schemas/CognitiveLoad"
|
|
445
454
|
consent:
|
|
446
455
|
type: boolean
|
|
447
456
|
description: Participant consent status
|
|
448
|
-
|
|
449
457
|
BiometricData:
|
|
450
458
|
type: object
|
|
451
459
|
properties:
|
|
@@ -470,7 +478,6 @@ components:
|
|
|
470
478
|
type: number
|
|
471
479
|
pauseFrequency:
|
|
472
480
|
type: number
|
|
473
|
-
|
|
474
481
|
BehavioralData:
|
|
475
482
|
type: object
|
|
476
483
|
properties:
|
|
@@ -485,7 +492,6 @@ components:
|
|
|
485
492
|
type: integer
|
|
486
493
|
codeQualityScore:
|
|
487
494
|
type: number
|
|
488
|
-
|
|
489
495
|
NASATLX:
|
|
490
496
|
type: object
|
|
491
497
|
description: NASA Task Load Index
|
|
@@ -514,7 +520,6 @@ components:
|
|
|
514
520
|
type: integer
|
|
515
521
|
minimum: 0
|
|
516
522
|
maximum: 100
|
|
517
|
-
|
|
518
523
|
CognitiveLoad:
|
|
519
524
|
type: object
|
|
520
525
|
properties:
|
|
@@ -530,14 +535,15 @@ components:
|
|
|
530
535
|
type: number
|
|
531
536
|
prediction:
|
|
532
537
|
type: string
|
|
533
|
-
enum:
|
|
538
|
+
enum:
|
|
539
|
+
- low
|
|
540
|
+
- medium
|
|
541
|
+
- high
|
|
542
|
+
- overload
|
|
534
543
|
recommendations:
|
|
535
544
|
type: array
|
|
536
545
|
items:
|
|
537
546
|
type: string
|
|
538
|
-
|
|
539
|
-
# MARK: - Dynamic Revenue
|
|
540
|
-
|
|
541
547
|
DynamicPricing:
|
|
542
548
|
type: object
|
|
543
549
|
required:
|
|
@@ -547,7 +553,11 @@ components:
|
|
|
547
553
|
properties:
|
|
548
554
|
tier:
|
|
549
555
|
type: string
|
|
550
|
-
enum:
|
|
556
|
+
enum:
|
|
557
|
+
- freemium
|
|
558
|
+
- developer
|
|
559
|
+
- team
|
|
560
|
+
- enterprise
|
|
551
561
|
basePrice:
|
|
552
562
|
type: number
|
|
553
563
|
format: decimal
|
|
@@ -555,9 +565,9 @@ components:
|
|
|
555
565
|
type: number
|
|
556
566
|
format: decimal
|
|
557
567
|
marketConditions:
|
|
558
|
-
$ref:
|
|
568
|
+
$ref: "#/components/schemas/MarketConditions"
|
|
559
569
|
customerProfile:
|
|
560
|
-
$ref:
|
|
570
|
+
$ref: "#/components/schemas/CustomerProfile"
|
|
561
571
|
willingnessToPay:
|
|
562
572
|
type: number
|
|
563
573
|
description: Estimated willingness to pay (ML model)
|
|
@@ -568,7 +578,6 @@ components:
|
|
|
568
578
|
revenueImpact:
|
|
569
579
|
type: number
|
|
570
580
|
description: Expected revenue change
|
|
571
|
-
|
|
572
581
|
MarketConditions:
|
|
573
582
|
type: object
|
|
574
583
|
properties:
|
|
@@ -582,13 +591,17 @@ components:
|
|
|
582
591
|
type: string
|
|
583
592
|
economicIndicators:
|
|
584
593
|
type: object
|
|
585
|
-
|
|
586
594
|
CustomerProfile:
|
|
587
595
|
type: object
|
|
588
596
|
properties:
|
|
589
597
|
segment:
|
|
590
598
|
type: string
|
|
591
|
-
enum:
|
|
599
|
+
enum:
|
|
600
|
+
- individual
|
|
601
|
+
- small_team
|
|
602
|
+
- enterprise
|
|
603
|
+
- education
|
|
604
|
+
- open_source
|
|
592
605
|
usagePatterns:
|
|
593
606
|
type: object
|
|
594
607
|
valueRealized:
|
|
@@ -600,9 +613,6 @@ components:
|
|
|
600
613
|
type: number
|
|
601
614
|
minimum: 0
|
|
602
615
|
maximum: 1
|
|
603
|
-
|
|
604
|
-
# MARK: - Evolution State
|
|
605
|
-
|
|
606
616
|
EvolutionState:
|
|
607
617
|
type: object
|
|
608
618
|
description: Current state of ecosystem self-evolution
|
|
@@ -617,7 +627,7 @@ components:
|
|
|
617
627
|
adaptationHistory:
|
|
618
628
|
type: array
|
|
619
629
|
items:
|
|
620
|
-
$ref:
|
|
630
|
+
$ref: "#/components/schemas/AdaptationEvent"
|
|
621
631
|
currentOptimizations:
|
|
622
632
|
type: array
|
|
623
633
|
items:
|
|
@@ -628,7 +638,6 @@ components:
|
|
|
628
638
|
type: number
|
|
629
639
|
minimum: 0
|
|
630
640
|
maximum: 1
|
|
631
|
-
|
|
632
641
|
AdaptationEvent:
|
|
633
642
|
type: object
|
|
634
643
|
properties:
|
|
@@ -638,21 +647,18 @@ components:
|
|
|
638
647
|
type:
|
|
639
648
|
type: string
|
|
640
649
|
enum:
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
cost_reduced,
|
|
648
|
-
]
|
|
650
|
+
- agent_added
|
|
651
|
+
- agent_removed
|
|
652
|
+
- capability_enhanced
|
|
653
|
+
- coordination_optimized
|
|
654
|
+
- performance_improved
|
|
655
|
+
- cost_reduced
|
|
649
656
|
impact:
|
|
650
657
|
type: number
|
|
651
658
|
fitnessChange:
|
|
652
659
|
type: number
|
|
653
660
|
description:
|
|
654
661
|
type: string
|
|
655
|
-
|
|
656
662
|
AgentPerformance:
|
|
657
663
|
type: object
|
|
658
664
|
properties:
|
|
@@ -674,7 +680,6 @@ components:
|
|
|
674
680
|
maximum: 1
|
|
675
681
|
learningVelocity:
|
|
676
682
|
type: number
|
|
677
|
-
|
|
678
683
|
AgentLearning:
|
|
679
684
|
type: object
|
|
680
685
|
properties:
|
|
@@ -694,7 +699,6 @@ components:
|
|
|
694
699
|
knowledgeGraph:
|
|
695
700
|
type: object
|
|
696
701
|
description: Agent's knowledge representation
|
|
697
|
-
|
|
698
702
|
PerformanceMetrics:
|
|
699
703
|
type: object
|
|
700
704
|
properties:
|
|
@@ -716,9 +720,6 @@ components:
|
|
|
716
720
|
type: number
|
|
717
721
|
minimum: 0
|
|
718
722
|
maximum: 5
|
|
719
|
-
|
|
720
|
-
# MARK: - Requests/Responses
|
|
721
|
-
|
|
722
723
|
CreateEcosystemRequest:
|
|
723
724
|
type: object
|
|
724
725
|
required:
|
|
@@ -742,7 +743,12 @@ components:
|
|
|
742
743
|
type: string
|
|
743
744
|
type:
|
|
744
745
|
type: string
|
|
745
|
-
enum:
|
|
746
|
+
enum:
|
|
747
|
+
- orchestrator
|
|
748
|
+
- worker
|
|
749
|
+
- critic
|
|
750
|
+
- integrator
|
|
751
|
+
- specialist
|
|
746
752
|
role:
|
|
747
753
|
type: string
|
|
748
754
|
capabilities:
|
|
@@ -751,7 +757,10 @@ components:
|
|
|
751
757
|
type: string
|
|
752
758
|
coordinationStrategy:
|
|
753
759
|
type: string
|
|
754
|
-
enum:
|
|
760
|
+
enum:
|
|
761
|
+
- hierarchical
|
|
762
|
+
- mesh
|
|
763
|
+
- hybrid
|
|
755
764
|
default: hierarchical
|
|
756
765
|
learningEnabled:
|
|
757
766
|
type: boolean
|
|
@@ -759,7 +768,6 @@ components:
|
|
|
759
768
|
gamificationEnabled:
|
|
760
769
|
type: boolean
|
|
761
770
|
default: true
|
|
762
|
-
|
|
763
771
|
StartFederatedLearningRequest:
|
|
764
772
|
type: object
|
|
765
773
|
required:
|
|
@@ -769,13 +777,11 @@ components:
|
|
|
769
777
|
modelType:
|
|
770
778
|
type: string
|
|
771
779
|
enum:
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
cognitive_load_prediction,
|
|
778
|
-
]
|
|
780
|
+
- code_completion
|
|
781
|
+
- bug_prediction
|
|
782
|
+
- productivity_optimization
|
|
783
|
+
- collaboration_enhancement
|
|
784
|
+
- cognitive_load_prediction
|
|
779
785
|
participantAgentIds:
|
|
780
786
|
type: array
|
|
781
787
|
items:
|
|
@@ -783,14 +789,13 @@ components:
|
|
|
783
789
|
format: uuid
|
|
784
790
|
privacyBudget:
|
|
785
791
|
type: number
|
|
786
|
-
default: 1
|
|
792
|
+
default: 1
|
|
787
793
|
rounds:
|
|
788
794
|
type: integer
|
|
789
795
|
default: 10
|
|
790
796
|
convergenceThreshold:
|
|
791
797
|
type: number
|
|
792
798
|
default: 0.01
|
|
793
|
-
|
|
794
799
|
OptimizeFlowStateRequest:
|
|
795
800
|
type: object
|
|
796
801
|
required:
|
|
@@ -816,12 +821,15 @@ components:
|
|
|
816
821
|
properties:
|
|
817
822
|
preferredChallengeLevel:
|
|
818
823
|
type: string
|
|
819
|
-
enum:
|
|
824
|
+
enum:
|
|
825
|
+
- easy
|
|
826
|
+
- moderate
|
|
827
|
+
- challenging
|
|
828
|
+
- expert
|
|
820
829
|
learningGoals:
|
|
821
830
|
type: array
|
|
822
831
|
items:
|
|
823
832
|
type: string
|
|
824
|
-
|
|
825
833
|
OptimizePricingRequest:
|
|
826
834
|
type: object
|
|
827
835
|
required:
|
|
@@ -830,17 +838,24 @@ components:
|
|
|
830
838
|
properties:
|
|
831
839
|
tier:
|
|
832
840
|
type: string
|
|
833
|
-
enum:
|
|
841
|
+
enum:
|
|
842
|
+
- freemium
|
|
843
|
+
- developer
|
|
844
|
+
- team
|
|
845
|
+
- enterprise
|
|
834
846
|
customerId:
|
|
835
847
|
type: string
|
|
836
848
|
format: uuid
|
|
837
849
|
marketData:
|
|
838
|
-
$ref:
|
|
850
|
+
$ref: "#/components/schemas/MarketConditions"
|
|
839
851
|
targetMetric:
|
|
840
852
|
type: string
|
|
841
|
-
enum:
|
|
853
|
+
enum:
|
|
854
|
+
- revenue
|
|
855
|
+
- conversion
|
|
856
|
+
- retention
|
|
857
|
+
- ltv
|
|
842
858
|
default: revenue
|
|
843
|
-
|
|
844
859
|
EvolutionTrigger:
|
|
845
860
|
type: object
|
|
846
861
|
required:
|
|
@@ -849,24 +864,25 @@ components:
|
|
|
849
864
|
triggerType:
|
|
850
865
|
type: string
|
|
851
866
|
enum:
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
security_threat,
|
|
859
|
-
]
|
|
867
|
+
- performance_degradation
|
|
868
|
+
- new_capability_needed
|
|
869
|
+
- cost_optimization
|
|
870
|
+
- user_feedback
|
|
871
|
+
- market_change
|
|
872
|
+
- security_threat
|
|
860
873
|
context:
|
|
861
874
|
type: object
|
|
862
875
|
additionalProperties: true
|
|
863
876
|
priority:
|
|
864
877
|
type: string
|
|
865
|
-
enum:
|
|
878
|
+
enum:
|
|
879
|
+
- low
|
|
880
|
+
- medium
|
|
881
|
+
- high
|
|
882
|
+
- critical
|
|
866
883
|
autoExecute:
|
|
867
884
|
type: boolean
|
|
868
885
|
default: false
|
|
869
|
-
|
|
870
886
|
Error:
|
|
871
887
|
type: object
|
|
872
888
|
required:
|
|
@@ -880,26 +896,22 @@ components:
|
|
|
880
896
|
details:
|
|
881
897
|
type: object
|
|
882
898
|
additionalProperties: true
|
|
883
|
-
|
|
884
899
|
securitySchemes:
|
|
885
900
|
bearerAuth:
|
|
886
901
|
type: http
|
|
887
902
|
scheme: bearer
|
|
888
903
|
bearerFormat: JWT
|
|
889
|
-
|
|
890
904
|
security:
|
|
891
905
|
- bearerAuth: []
|
|
892
|
-
|
|
893
906
|
paths:
|
|
894
|
-
# MARK: - Health
|
|
895
|
-
|
|
896
907
|
/health:
|
|
897
908
|
get:
|
|
898
|
-
tags:
|
|
909
|
+
tags:
|
|
910
|
+
- Health
|
|
899
911
|
summary: Ecosystem health check
|
|
900
912
|
security: []
|
|
901
913
|
responses:
|
|
902
|
-
|
|
914
|
+
"200":
|
|
903
915
|
description: Healthy
|
|
904
916
|
content:
|
|
905
917
|
application/json:
|
|
@@ -908,7 +920,10 @@ paths:
|
|
|
908
920
|
properties:
|
|
909
921
|
status:
|
|
910
922
|
type: string
|
|
911
|
-
enum:
|
|
923
|
+
enum:
|
|
924
|
+
- healthy
|
|
925
|
+
- degraded
|
|
926
|
+
- critical
|
|
912
927
|
ecosystems:
|
|
913
928
|
type: integer
|
|
914
929
|
activeAgents:
|
|
@@ -920,21 +935,27 @@ paths:
|
|
|
920
935
|
timestamp:
|
|
921
936
|
type: string
|
|
922
937
|
format: date-time
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
938
|
+
x-ossa-capability: reference-get-/health
|
|
939
|
+
description: Ecosystem health check
|
|
940
|
+
operationId: getHealth
|
|
926
941
|
/ecosystems:
|
|
927
942
|
get:
|
|
928
|
-
tags:
|
|
943
|
+
tags:
|
|
944
|
+
- Ecosystem
|
|
929
945
|
summary: List all ecosystems
|
|
930
946
|
parameters:
|
|
931
947
|
- name: status
|
|
932
948
|
in: query
|
|
933
949
|
schema:
|
|
934
950
|
type: string
|
|
935
|
-
enum:
|
|
951
|
+
enum:
|
|
952
|
+
- initializing
|
|
953
|
+
- evolving
|
|
954
|
+
- stable
|
|
955
|
+
- optimizing
|
|
956
|
+
- adapting
|
|
936
957
|
responses:
|
|
937
|
-
|
|
958
|
+
"200":
|
|
938
959
|
description: List of ecosystems
|
|
939
960
|
content:
|
|
940
961
|
application/json:
|
|
@@ -944,30 +965,39 @@ paths:
|
|
|
944
965
|
ecosystems:
|
|
945
966
|
type: array
|
|
946
967
|
items:
|
|
947
|
-
$ref:
|
|
968
|
+
$ref: "#/components/schemas/Ecosystem"
|
|
948
969
|
count:
|
|
949
970
|
type: integer
|
|
950
|
-
|
|
971
|
+
x-ossa-capability: reference-get-/ecosystems
|
|
972
|
+
description: List all ecosystems
|
|
973
|
+
operationId: getEcosystems
|
|
951
974
|
post:
|
|
952
|
-
tags:
|
|
975
|
+
tags:
|
|
976
|
+
- Ecosystem
|
|
953
977
|
summary: Create new ecosystem
|
|
954
978
|
requestBody:
|
|
955
979
|
required: true
|
|
956
980
|
content:
|
|
957
981
|
application/json:
|
|
958
982
|
schema:
|
|
959
|
-
$ref:
|
|
983
|
+
$ref: "#/components/schemas/CreateEcosystemRequest"
|
|
960
984
|
responses:
|
|
961
|
-
|
|
985
|
+
"201":
|
|
962
986
|
description: Ecosystem created
|
|
963
987
|
content:
|
|
964
988
|
application/json:
|
|
965
989
|
schema:
|
|
966
|
-
$ref:
|
|
967
|
-
|
|
990
|
+
$ref: "#/components/schemas/Ecosystem"
|
|
991
|
+
x-ossa-capability: reference-post-/ecosystems
|
|
992
|
+
x-ossa-autonomy:
|
|
993
|
+
level: supervised
|
|
994
|
+
approval_required: true
|
|
995
|
+
description: Create new ecosystem
|
|
996
|
+
operationId: postEcosystems
|
|
968
997
|
/ecosystems/{ecosystemId}:
|
|
969
998
|
get:
|
|
970
|
-
tags:
|
|
999
|
+
tags:
|
|
1000
|
+
- Ecosystem
|
|
971
1001
|
summary: Get ecosystem details
|
|
972
1002
|
parameters:
|
|
973
1003
|
- name: ecosystemId
|
|
@@ -977,15 +1007,18 @@ paths:
|
|
|
977
1007
|
type: string
|
|
978
1008
|
format: uuid
|
|
979
1009
|
responses:
|
|
980
|
-
|
|
1010
|
+
"200":
|
|
981
1011
|
description: Ecosystem found
|
|
982
1012
|
content:
|
|
983
1013
|
application/json:
|
|
984
1014
|
schema:
|
|
985
|
-
$ref:
|
|
986
|
-
|
|
1015
|
+
$ref: "#/components/schemas/Ecosystem"
|
|
1016
|
+
x-ossa-capability: reference-get-/ecosystems/{ecosystem-id}
|
|
1017
|
+
description: Get ecosystem details
|
|
1018
|
+
operationId: getEcosystemsEcosystemid
|
|
987
1019
|
put:
|
|
988
|
-
tags:
|
|
1020
|
+
tags:
|
|
1021
|
+
- Ecosystem
|
|
989
1022
|
summary: Update ecosystem
|
|
990
1023
|
parameters:
|
|
991
1024
|
- name: ecosystemId
|
|
@@ -1008,15 +1041,21 @@ paths:
|
|
|
1008
1041
|
learningEnabled:
|
|
1009
1042
|
type: boolean
|
|
1010
1043
|
responses:
|
|
1011
|
-
|
|
1044
|
+
"200":
|
|
1012
1045
|
description: Updated
|
|
1013
1046
|
content:
|
|
1014
1047
|
application/json:
|
|
1015
1048
|
schema:
|
|
1016
|
-
$ref:
|
|
1017
|
-
|
|
1049
|
+
$ref: "#/components/schemas/Ecosystem"
|
|
1050
|
+
x-ossa-capability: reference-put-/ecosystems/{ecosystem-id}
|
|
1051
|
+
x-ossa-autonomy:
|
|
1052
|
+
level: supervised
|
|
1053
|
+
approval_required: true
|
|
1054
|
+
description: Update ecosystem
|
|
1055
|
+
operationId: putEcosystemsEcosystemid
|
|
1018
1056
|
delete:
|
|
1019
|
-
tags:
|
|
1057
|
+
tags:
|
|
1058
|
+
- Ecosystem
|
|
1020
1059
|
summary: Delete ecosystem
|
|
1021
1060
|
parameters:
|
|
1022
1061
|
- name: ecosystemId
|
|
@@ -1026,14 +1065,18 @@ paths:
|
|
|
1026
1065
|
type: string
|
|
1027
1066
|
format: uuid
|
|
1028
1067
|
responses:
|
|
1029
|
-
|
|
1068
|
+
"204":
|
|
1030
1069
|
description: Deleted
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1070
|
+
x-ossa-capability: reference-delete-/ecosystems/{ecosystem-id}
|
|
1071
|
+
x-ossa-autonomy:
|
|
1072
|
+
level: supervised
|
|
1073
|
+
approval_required: true
|
|
1074
|
+
description: Delete ecosystem
|
|
1075
|
+
operationId: deleteEcosystemsEcosystemid
|
|
1034
1076
|
/ecosystems/{ecosystemId}/agents:
|
|
1035
1077
|
get:
|
|
1036
|
-
tags:
|
|
1078
|
+
tags:
|
|
1079
|
+
- Agents
|
|
1037
1080
|
summary: List agents in ecosystem
|
|
1038
1081
|
parameters:
|
|
1039
1082
|
- name: ecosystemId
|
|
@@ -1046,13 +1089,18 @@ paths:
|
|
|
1046
1089
|
in: query
|
|
1047
1090
|
schema:
|
|
1048
1091
|
type: string
|
|
1049
|
-
enum:
|
|
1092
|
+
enum:
|
|
1093
|
+
- orchestrator
|
|
1094
|
+
- worker
|
|
1095
|
+
- critic
|
|
1096
|
+
- integrator
|
|
1097
|
+
- specialist
|
|
1050
1098
|
- name: role
|
|
1051
1099
|
in: query
|
|
1052
1100
|
schema:
|
|
1053
1101
|
type: string
|
|
1054
1102
|
responses:
|
|
1055
|
-
|
|
1103
|
+
"200":
|
|
1056
1104
|
description: List of agents
|
|
1057
1105
|
content:
|
|
1058
1106
|
application/json:
|
|
@@ -1062,10 +1110,13 @@ paths:
|
|
|
1062
1110
|
agents:
|
|
1063
1111
|
type: array
|
|
1064
1112
|
items:
|
|
1065
|
-
$ref:
|
|
1066
|
-
|
|
1113
|
+
$ref: "#/components/schemas/Agent"
|
|
1114
|
+
x-ossa-capability: reference-get-/ecosystems/{ecosystem-id}/agents
|
|
1115
|
+
description: List agents in ecosystem
|
|
1116
|
+
operationId: getEcosystemsEcosystemidAgents
|
|
1067
1117
|
post:
|
|
1068
|
-
tags:
|
|
1118
|
+
tags:
|
|
1119
|
+
- Agents
|
|
1069
1120
|
summary: Add agent to ecosystem
|
|
1070
1121
|
parameters:
|
|
1071
1122
|
- name: ecosystemId
|
|
@@ -1089,7 +1140,12 @@ paths:
|
|
|
1089
1140
|
type: string
|
|
1090
1141
|
type:
|
|
1091
1142
|
type: string
|
|
1092
|
-
enum:
|
|
1143
|
+
enum:
|
|
1144
|
+
- orchestrator
|
|
1145
|
+
- worker
|
|
1146
|
+
- critic
|
|
1147
|
+
- integrator
|
|
1148
|
+
- specialist
|
|
1093
1149
|
role:
|
|
1094
1150
|
type: string
|
|
1095
1151
|
capabilities:
|
|
@@ -1097,16 +1153,22 @@ paths:
|
|
|
1097
1153
|
items:
|
|
1098
1154
|
type: string
|
|
1099
1155
|
responses:
|
|
1100
|
-
|
|
1156
|
+
"201":
|
|
1101
1157
|
description: Agent added
|
|
1102
1158
|
content:
|
|
1103
1159
|
application/json:
|
|
1104
1160
|
schema:
|
|
1105
|
-
$ref:
|
|
1106
|
-
|
|
1161
|
+
$ref: "#/components/schemas/Agent"
|
|
1162
|
+
x-ossa-capability: reference-post-/ecosystems/{ecosystem-id}/agents
|
|
1163
|
+
x-ossa-autonomy:
|
|
1164
|
+
level: supervised
|
|
1165
|
+
approval_required: true
|
|
1166
|
+
description: Add agent to ecosystem
|
|
1167
|
+
operationId: postEcosystemsEcosystemidAgents
|
|
1107
1168
|
/ecosystems/{ecosystemId}/coordination:
|
|
1108
1169
|
get:
|
|
1109
|
-
tags:
|
|
1170
|
+
tags:
|
|
1171
|
+
- Agents
|
|
1110
1172
|
summary: Get coordination matrix
|
|
1111
1173
|
parameters:
|
|
1112
1174
|
- name: ecosystemId
|
|
@@ -1116,16 +1178,19 @@ paths:
|
|
|
1116
1178
|
type: string
|
|
1117
1179
|
format: uuid
|
|
1118
1180
|
responses:
|
|
1119
|
-
|
|
1181
|
+
"200":
|
|
1120
1182
|
description: Coordination matrix
|
|
1121
1183
|
content:
|
|
1122
1184
|
application/json:
|
|
1123
1185
|
schema:
|
|
1124
|
-
$ref:
|
|
1125
|
-
|
|
1186
|
+
$ref: "#/components/schemas/CoordinationMatrix"
|
|
1187
|
+
x-ossa-capability: reference-get-/ecosystems/{ecosystem-id}/coordination
|
|
1188
|
+
description: Get coordination matrix
|
|
1189
|
+
operationId: getEcosystemsEcosystemidCoordination
|
|
1126
1190
|
/ecosystems/{ecosystemId}/coordinate:
|
|
1127
1191
|
post:
|
|
1128
|
-
tags:
|
|
1192
|
+
tags:
|
|
1193
|
+
- Agents
|
|
1129
1194
|
summary: Coordinate agent action
|
|
1130
1195
|
description: Coordinate complex multi-agent workflow
|
|
1131
1196
|
parameters:
|
|
@@ -1148,13 +1213,11 @@ paths:
|
|
|
1148
1213
|
workflowType:
|
|
1149
1214
|
type: string
|
|
1150
1215
|
enum:
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
pricing_optimization,
|
|
1157
|
-
]
|
|
1216
|
+
- code_review
|
|
1217
|
+
- security_scan
|
|
1218
|
+
- performance_optimization
|
|
1219
|
+
- research_study
|
|
1220
|
+
- pricing_optimization
|
|
1158
1221
|
targetAgents:
|
|
1159
1222
|
type: array
|
|
1160
1223
|
items:
|
|
@@ -1164,7 +1227,7 @@ paths:
|
|
|
1164
1227
|
type: object
|
|
1165
1228
|
additionalProperties: true
|
|
1166
1229
|
responses:
|
|
1167
|
-
|
|
1230
|
+
"200":
|
|
1168
1231
|
description: Coordination result
|
|
1169
1232
|
content:
|
|
1170
1233
|
application/json:
|
|
@@ -1180,30 +1243,39 @@ paths:
|
|
|
1180
1243
|
type: array
|
|
1181
1244
|
items:
|
|
1182
1245
|
type: object
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1246
|
+
x-ossa-capability: reference-post-/ecosystems/{ecosystem-id}/coordinate
|
|
1247
|
+
x-ossa-autonomy:
|
|
1248
|
+
level: supervised
|
|
1249
|
+
approval_required: true
|
|
1250
|
+
operationId: postEcosystemsEcosystemidCoordinate
|
|
1186
1251
|
/learning/federated/sessions:
|
|
1187
1252
|
post:
|
|
1188
|
-
tags:
|
|
1253
|
+
tags:
|
|
1254
|
+
- Learning
|
|
1189
1255
|
summary: Start federated learning session
|
|
1190
1256
|
requestBody:
|
|
1191
1257
|
required: true
|
|
1192
1258
|
content:
|
|
1193
1259
|
application/json:
|
|
1194
1260
|
schema:
|
|
1195
|
-
$ref:
|
|
1261
|
+
$ref: "#/components/schemas/StartFederatedLearningRequest"
|
|
1196
1262
|
responses:
|
|
1197
|
-
|
|
1263
|
+
"201":
|
|
1198
1264
|
description: Session started
|
|
1199
1265
|
content:
|
|
1200
1266
|
application/json:
|
|
1201
1267
|
schema:
|
|
1202
|
-
$ref:
|
|
1203
|
-
|
|
1268
|
+
$ref: "#/components/schemas/FederatedLearningSession"
|
|
1269
|
+
x-ossa-capability: reference-post-/learning/federated/sessions
|
|
1270
|
+
x-ossa-autonomy:
|
|
1271
|
+
level: supervised
|
|
1272
|
+
approval_required: true
|
|
1273
|
+
description: Start federated learning session
|
|
1274
|
+
operationId: postLearningFederatedSessions
|
|
1204
1275
|
/learning/federated/sessions/{sessionId}:
|
|
1205
1276
|
get:
|
|
1206
|
-
tags:
|
|
1277
|
+
tags:
|
|
1278
|
+
- Learning
|
|
1207
1279
|
summary: Get learning session status
|
|
1208
1280
|
parameters:
|
|
1209
1281
|
- name: sessionId
|
|
@@ -1213,16 +1285,19 @@ paths:
|
|
|
1213
1285
|
type: string
|
|
1214
1286
|
format: uuid
|
|
1215
1287
|
responses:
|
|
1216
|
-
|
|
1288
|
+
"200":
|
|
1217
1289
|
description: Session details
|
|
1218
1290
|
content:
|
|
1219
1291
|
application/json:
|
|
1220
1292
|
schema:
|
|
1221
|
-
$ref:
|
|
1222
|
-
|
|
1293
|
+
$ref: "#/components/schemas/FederatedLearningSession"
|
|
1294
|
+
x-ossa-capability: reference-get-/learning/federated/sessions/{session-id}
|
|
1295
|
+
description: Get learning session status
|
|
1296
|
+
operationId: getLearningFederatedSessionsSessionid
|
|
1223
1297
|
/learning/federated/sessions/{sessionId}/results:
|
|
1224
1298
|
get:
|
|
1225
|
-
tags:
|
|
1299
|
+
tags:
|
|
1300
|
+
- Learning
|
|
1226
1301
|
summary: Get federated learning results
|
|
1227
1302
|
parameters:
|
|
1228
1303
|
- name: sessionId
|
|
@@ -1232,7 +1307,7 @@ paths:
|
|
|
1232
1307
|
type: string
|
|
1233
1308
|
format: uuid
|
|
1234
1309
|
responses:
|
|
1235
|
-
|
|
1310
|
+
"200":
|
|
1236
1311
|
description: Learning results
|
|
1237
1312
|
content:
|
|
1238
1313
|
application/json:
|
|
@@ -1242,33 +1317,40 @@ paths:
|
|
|
1242
1317
|
finalModel:
|
|
1243
1318
|
type: object
|
|
1244
1319
|
metrics:
|
|
1245
|
-
$ref:
|
|
1320
|
+
$ref: "#/components/schemas/LearningMetrics"
|
|
1246
1321
|
privacyGuarantees:
|
|
1247
1322
|
type: object
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1323
|
+
x-ossa-capability: reference-get-/learning/federated/sessions/{session-id}/results
|
|
1324
|
+
description: Get federated learning results
|
|
1325
|
+
operationId: getLearningFederatedSessionsSessionidResults
|
|
1251
1326
|
/psychology/flow-state:
|
|
1252
1327
|
post:
|
|
1253
|
-
tags:
|
|
1328
|
+
tags:
|
|
1329
|
+
- Psychology
|
|
1254
1330
|
summary: Optimize developer flow state
|
|
1255
1331
|
requestBody:
|
|
1256
1332
|
required: true
|
|
1257
1333
|
content:
|
|
1258
1334
|
application/json:
|
|
1259
1335
|
schema:
|
|
1260
|
-
$ref:
|
|
1336
|
+
$ref: "#/components/schemas/OptimizeFlowStateRequest"
|
|
1261
1337
|
responses:
|
|
1262
|
-
|
|
1338
|
+
"200":
|
|
1263
1339
|
description: Flow state optimization
|
|
1264
1340
|
content:
|
|
1265
1341
|
application/json:
|
|
1266
1342
|
schema:
|
|
1267
|
-
$ref:
|
|
1268
|
-
|
|
1343
|
+
$ref: "#/components/schemas/FlowStateOptimization"
|
|
1344
|
+
x-ossa-capability: reference-post-/psychology/flow-state
|
|
1345
|
+
x-ossa-autonomy:
|
|
1346
|
+
level: supervised
|
|
1347
|
+
approval_required: true
|
|
1348
|
+
description: Optimize developer flow state
|
|
1349
|
+
operationId: postPsychologyFlowState
|
|
1269
1350
|
/psychology/motivation/{developerId}:
|
|
1270
1351
|
get:
|
|
1271
|
-
tags:
|
|
1352
|
+
tags:
|
|
1353
|
+
- Psychology
|
|
1272
1354
|
summary: Get developer motivation profile
|
|
1273
1355
|
parameters:
|
|
1274
1356
|
- name: developerId
|
|
@@ -1278,48 +1360,61 @@ paths:
|
|
|
1278
1360
|
type: string
|
|
1279
1361
|
format: uuid
|
|
1280
1362
|
responses:
|
|
1281
|
-
|
|
1363
|
+
"200":
|
|
1282
1364
|
description: Motivation profile
|
|
1283
1365
|
content:
|
|
1284
1366
|
application/json:
|
|
1285
1367
|
schema:
|
|
1286
|
-
$ref:
|
|
1287
|
-
|
|
1368
|
+
$ref: "#/components/schemas/MotivationImpact"
|
|
1369
|
+
x-ossa-capability: reference-get-/psychology/motivation/{developer-id}
|
|
1370
|
+
description: Get developer motivation profile
|
|
1371
|
+
operationId: getPsychologyMotivationDeveloperid
|
|
1288
1372
|
/psychology/gamification/events:
|
|
1289
1373
|
post:
|
|
1290
|
-
tags:
|
|
1374
|
+
tags:
|
|
1375
|
+
- Psychology
|
|
1291
1376
|
summary: Record gamification event
|
|
1292
1377
|
requestBody:
|
|
1293
1378
|
required: true
|
|
1294
1379
|
content:
|
|
1295
1380
|
application/json:
|
|
1296
1381
|
schema:
|
|
1297
|
-
$ref:
|
|
1382
|
+
$ref: "#/components/schemas/GamificationEvent"
|
|
1298
1383
|
responses:
|
|
1299
|
-
|
|
1384
|
+
"201":
|
|
1300
1385
|
description: Event recorded
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1386
|
+
x-ossa-capability: reference-post-/psychology/gamification/events
|
|
1387
|
+
x-ossa-autonomy:
|
|
1388
|
+
level: supervised
|
|
1389
|
+
approval_required: true
|
|
1390
|
+
description: Record gamification event
|
|
1391
|
+
operationId: postPsychologyGamificationEvents
|
|
1304
1392
|
/research/cognitive-load:
|
|
1305
1393
|
post:
|
|
1306
|
-
tags:
|
|
1394
|
+
tags:
|
|
1395
|
+
- Research
|
|
1307
1396
|
summary: Submit cognitive load study data
|
|
1308
1397
|
requestBody:
|
|
1309
1398
|
required: true
|
|
1310
1399
|
content:
|
|
1311
1400
|
application/json:
|
|
1312
1401
|
schema:
|
|
1313
|
-
$ref:
|
|
1402
|
+
$ref: "#/components/schemas/CognitiveLoadStudy"
|
|
1314
1403
|
responses:
|
|
1315
|
-
|
|
1404
|
+
"201":
|
|
1316
1405
|
description: Data recorded
|
|
1317
|
-
|
|
1406
|
+
"403":
|
|
1318
1407
|
description: Consent not provided
|
|
1319
|
-
|
|
1408
|
+
x-ossa-capability: reference-post-/research/cognitive-load
|
|
1409
|
+
x-ossa-autonomy:
|
|
1410
|
+
level: supervised
|
|
1411
|
+
approval_required: true
|
|
1412
|
+
description: Submit cognitive load study data
|
|
1413
|
+
operationId: postResearchCognitiveLoad
|
|
1320
1414
|
/research/studies/{studyId}/insights:
|
|
1321
1415
|
get:
|
|
1322
|
-
tags:
|
|
1416
|
+
tags:
|
|
1417
|
+
- Research
|
|
1323
1418
|
summary: Get research insights
|
|
1324
1419
|
parameters:
|
|
1325
1420
|
- name: studyId
|
|
@@ -1329,7 +1424,7 @@ paths:
|
|
|
1329
1424
|
type: string
|
|
1330
1425
|
format: uuid
|
|
1331
1426
|
responses:
|
|
1332
|
-
|
|
1427
|
+
"200":
|
|
1333
1428
|
description: Research insights
|
|
1334
1429
|
content:
|
|
1335
1430
|
application/json:
|
|
@@ -1346,30 +1441,37 @@ paths:
|
|
|
1346
1441
|
type: array
|
|
1347
1442
|
items:
|
|
1348
1443
|
type: string
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1444
|
+
x-ossa-capability: reference-get-/research/studies/{study-id}/insights
|
|
1445
|
+
description: Get research insights
|
|
1446
|
+
operationId: getResearchStudiesStudyidInsights
|
|
1352
1447
|
/revenue/pricing/optimize:
|
|
1353
1448
|
post:
|
|
1354
|
-
tags:
|
|
1449
|
+
tags:
|
|
1450
|
+
- Revenue
|
|
1355
1451
|
summary: Optimize pricing dynamically
|
|
1356
1452
|
requestBody:
|
|
1357
1453
|
required: true
|
|
1358
1454
|
content:
|
|
1359
1455
|
application/json:
|
|
1360
1456
|
schema:
|
|
1361
|
-
$ref:
|
|
1457
|
+
$ref: "#/components/schemas/OptimizePricingRequest"
|
|
1362
1458
|
responses:
|
|
1363
|
-
|
|
1459
|
+
"200":
|
|
1364
1460
|
description: Optimized pricing
|
|
1365
1461
|
content:
|
|
1366
1462
|
application/json:
|
|
1367
1463
|
schema:
|
|
1368
|
-
$ref:
|
|
1369
|
-
|
|
1464
|
+
$ref: "#/components/schemas/DynamicPricing"
|
|
1465
|
+
x-ossa-capability: reference-post-/revenue/pricing/optimize
|
|
1466
|
+
x-ossa-autonomy:
|
|
1467
|
+
level: supervised
|
|
1468
|
+
approval_required: true
|
|
1469
|
+
description: Optimize pricing dynamically
|
|
1470
|
+
operationId: postRevenuePricingOptimize
|
|
1370
1471
|
/revenue/customer/{customerId}/value:
|
|
1371
1472
|
get:
|
|
1372
|
-
tags:
|
|
1473
|
+
tags:
|
|
1474
|
+
- Revenue
|
|
1373
1475
|
summary: Calculate customer value
|
|
1374
1476
|
parameters:
|
|
1375
1477
|
- name: customerId
|
|
@@ -1379,7 +1481,7 @@ paths:
|
|
|
1379
1481
|
type: string
|
|
1380
1482
|
format: uuid
|
|
1381
1483
|
responses:
|
|
1382
|
-
|
|
1484
|
+
"200":
|
|
1383
1485
|
description: Customer value metrics
|
|
1384
1486
|
content:
|
|
1385
1487
|
application/json:
|
|
@@ -1394,21 +1496,22 @@ paths:
|
|
|
1394
1496
|
type: number
|
|
1395
1497
|
upsellOpportunity:
|
|
1396
1498
|
type: object
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1499
|
+
x-ossa-capability: reference-get-/revenue/customer/{customer-id}/value
|
|
1500
|
+
description: Calculate customer value
|
|
1501
|
+
operationId: getRevenueCustomerCustomeridValue
|
|
1400
1502
|
/evolution/trigger:
|
|
1401
1503
|
post:
|
|
1402
|
-
tags:
|
|
1504
|
+
tags:
|
|
1505
|
+
- Evolution
|
|
1403
1506
|
summary: Trigger ecosystem evolution
|
|
1404
1507
|
requestBody:
|
|
1405
1508
|
required: true
|
|
1406
1509
|
content:
|
|
1407
1510
|
application/json:
|
|
1408
1511
|
schema:
|
|
1409
|
-
$ref:
|
|
1512
|
+
$ref: "#/components/schemas/EvolutionTrigger"
|
|
1410
1513
|
responses:
|
|
1411
|
-
|
|
1514
|
+
"202":
|
|
1412
1515
|
description: Evolution triggered
|
|
1413
1516
|
content:
|
|
1414
1517
|
application/json:
|
|
@@ -1423,10 +1526,16 @@ paths:
|
|
|
1423
1526
|
estimatedCompletion:
|
|
1424
1527
|
type: string
|
|
1425
1528
|
format: date-time
|
|
1426
|
-
|
|
1529
|
+
x-ossa-capability: reference-post-/evolution/trigger
|
|
1530
|
+
x-ossa-autonomy:
|
|
1531
|
+
level: supervised
|
|
1532
|
+
approval_required: true
|
|
1533
|
+
description: Trigger ecosystem evolution
|
|
1534
|
+
operationId: postEvolutionTrigger
|
|
1427
1535
|
/evolution/{ecosystemId}/status:
|
|
1428
1536
|
get:
|
|
1429
|
-
tags:
|
|
1537
|
+
tags:
|
|
1538
|
+
- Evolution
|
|
1430
1539
|
summary: Get evolution status
|
|
1431
1540
|
parameters:
|
|
1432
1541
|
- name: ecosystemId
|
|
@@ -1436,16 +1545,19 @@ paths:
|
|
|
1436
1545
|
type: string
|
|
1437
1546
|
format: uuid
|
|
1438
1547
|
responses:
|
|
1439
|
-
|
|
1548
|
+
"200":
|
|
1440
1549
|
description: Evolution state
|
|
1441
1550
|
content:
|
|
1442
1551
|
application/json:
|
|
1443
1552
|
schema:
|
|
1444
|
-
$ref:
|
|
1445
|
-
|
|
1553
|
+
$ref: "#/components/schemas/EvolutionState"
|
|
1554
|
+
x-ossa-capability: reference-get-/evolution/{ecosystem-id}/status
|
|
1555
|
+
description: Get evolution status
|
|
1556
|
+
operationId: getEvolutionEcosystemidStatus
|
|
1446
1557
|
/evolution/{ecosystemId}/adapt:
|
|
1447
1558
|
post:
|
|
1448
|
-
tags:
|
|
1559
|
+
tags:
|
|
1560
|
+
- Evolution
|
|
1449
1561
|
summary: Execute adaptation
|
|
1450
1562
|
description: Real-time ecosystem adaptation based on feedback
|
|
1451
1563
|
parameters:
|
|
@@ -1465,18 +1577,16 @@ paths:
|
|
|
1465
1577
|
adaptationType:
|
|
1466
1578
|
type: string
|
|
1467
1579
|
enum:
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
reduce_cost,
|
|
1474
|
-
]
|
|
1580
|
+
- add_capability
|
|
1581
|
+
- remove_capability
|
|
1582
|
+
- optimize_coordination
|
|
1583
|
+
- enhance_performance
|
|
1584
|
+
- reduce_cost
|
|
1475
1585
|
parameters:
|
|
1476
1586
|
type: object
|
|
1477
1587
|
additionalProperties: true
|
|
1478
1588
|
responses:
|
|
1479
|
-
|
|
1589
|
+
"200":
|
|
1480
1590
|
description: Adaptation executed
|
|
1481
1591
|
content:
|
|
1482
1592
|
application/json:
|
|
@@ -1490,12 +1600,15 @@ paths:
|
|
|
1490
1600
|
type: object
|
|
1491
1601
|
rollbackPlan:
|
|
1492
1602
|
type: object
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1603
|
+
x-ossa-capability: reference-post-/evolution/{ecosystem-id}/adapt
|
|
1604
|
+
x-ossa-autonomy:
|
|
1605
|
+
level: supervised
|
|
1606
|
+
approval_required: true
|
|
1607
|
+
operationId: postEvolutionEcosystemidAdapt
|
|
1496
1608
|
/metrics/ecosystem/{ecosystemId}:
|
|
1497
1609
|
get:
|
|
1498
|
-
tags:
|
|
1610
|
+
tags:
|
|
1611
|
+
- Health
|
|
1499
1612
|
summary: Get comprehensive ecosystem metrics
|
|
1500
1613
|
parameters:
|
|
1501
1614
|
- name: ecosystemId
|
|
@@ -1508,10 +1621,15 @@ paths:
|
|
|
1508
1621
|
in: query
|
|
1509
1622
|
schema:
|
|
1510
1623
|
type: string
|
|
1511
|
-
enum:
|
|
1624
|
+
enum:
|
|
1625
|
+
- 1h
|
|
1626
|
+
- 6h
|
|
1627
|
+
- 24h
|
|
1628
|
+
- 7d
|
|
1629
|
+
- 30d
|
|
1512
1630
|
default: 24h
|
|
1513
1631
|
responses:
|
|
1514
|
-
|
|
1632
|
+
"200":
|
|
1515
1633
|
description: Ecosystem metrics
|
|
1516
1634
|
content:
|
|
1517
1635
|
application/json:
|
|
@@ -1519,12 +1637,28 @@ paths:
|
|
|
1519
1637
|
type: object
|
|
1520
1638
|
properties:
|
|
1521
1639
|
performance:
|
|
1522
|
-
$ref:
|
|
1640
|
+
$ref: "#/components/schemas/PerformanceMetrics"
|
|
1523
1641
|
learning:
|
|
1524
|
-
$ref:
|
|
1642
|
+
$ref: "#/components/schemas/LearningMetrics"
|
|
1525
1643
|
evolution:
|
|
1526
|
-
$ref:
|
|
1644
|
+
$ref: "#/components/schemas/EvolutionState"
|
|
1527
1645
|
agents:
|
|
1528
1646
|
type: array
|
|
1529
1647
|
items:
|
|
1530
|
-
$ref:
|
|
1648
|
+
$ref: "#/components/schemas/AgentPerformance"
|
|
1649
|
+
x-ossa-capability: reference-get-/metrics/ecosystem/{ecosystem-id}
|
|
1650
|
+
description: Get comprehensive ecosystem metrics
|
|
1651
|
+
operationId: getMetricsEcosystemEcosystemid
|
|
1652
|
+
x-ossa-metadata:
|
|
1653
|
+
version: 0.3.3
|
|
1654
|
+
compliance:
|
|
1655
|
+
level: standard
|
|
1656
|
+
observability:
|
|
1657
|
+
tracing: true
|
|
1658
|
+
metrics: true
|
|
1659
|
+
logging: true
|
|
1660
|
+
x-ossa:
|
|
1661
|
+
version: 0.5.0
|
|
1662
|
+
agent:
|
|
1663
|
+
id: reference-implementations-self-evolving-ecosystem
|
|
1664
|
+
type: specialist
|