@bluefly/openstandardagents 0.2.9 → 0.3.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 (836) hide show
  1. package/CHANGELOG.md +1766 -212
  2. package/README.md +517 -168
  3. package/bin/ossa-generate +9 -16
  4. package/bin/quickstart +514 -0
  5. package/dist/adapters/anthropic/client.d.ts +144 -0
  6. package/dist/adapters/anthropic/client.d.ts.map +1 -0
  7. package/dist/adapters/anthropic/client.js +364 -0
  8. package/dist/adapters/anthropic/client.js.map +1 -0
  9. package/dist/adapters/anthropic/config.d.ts +149 -0
  10. package/dist/adapters/anthropic/config.d.ts.map +1 -0
  11. package/dist/adapters/anthropic/config.js +157 -0
  12. package/dist/adapters/anthropic/config.js.map +1 -0
  13. package/dist/adapters/anthropic/index.d.ts +40 -0
  14. package/dist/adapters/anthropic/index.d.ts.map +1 -0
  15. package/dist/adapters/anthropic/index.js +40 -0
  16. package/dist/adapters/anthropic/index.js.map +1 -0
  17. package/dist/adapters/anthropic/messages.d.ts +93 -0
  18. package/dist/adapters/anthropic/messages.d.ts.map +1 -0
  19. package/dist/adapters/anthropic/messages.js +318 -0
  20. package/dist/adapters/anthropic/messages.js.map +1 -0
  21. package/dist/adapters/anthropic/runtime.d.ts +136 -0
  22. package/dist/adapters/anthropic/runtime.d.ts.map +1 -0
  23. package/dist/adapters/anthropic/runtime.js +287 -0
  24. package/dist/adapters/anthropic/runtime.js.map +1 -0
  25. package/dist/adapters/anthropic/tools.d.ts +126 -0
  26. package/dist/adapters/anthropic/tools.d.ts.map +1 -0
  27. package/dist/adapters/anthropic/tools.js +329 -0
  28. package/dist/adapters/anthropic/tools.js.map +1 -0
  29. package/dist/adapters/crewai-adapter.d.ts +57 -0
  30. package/dist/adapters/crewai-adapter.d.ts.map +1 -0
  31. package/dist/adapters/crewai-adapter.js +164 -0
  32. package/dist/adapters/crewai-adapter.js.map +1 -0
  33. package/dist/adapters/drupal/index.d.ts +109 -0
  34. package/dist/adapters/drupal/index.d.ts.map +1 -0
  35. package/dist/adapters/drupal/index.js +292 -0
  36. package/dist/adapters/drupal/index.js.map +1 -0
  37. package/dist/adapters/langchain-adapter.d.ts +45 -0
  38. package/dist/adapters/langchain-adapter.d.ts.map +1 -0
  39. package/dist/adapters/langchain-adapter.js +133 -0
  40. package/dist/adapters/langchain-adapter.js.map +1 -0
  41. package/dist/adapters/langflow-adapter.d.ts +50 -0
  42. package/dist/adapters/langflow-adapter.d.ts.map +1 -0
  43. package/dist/adapters/langflow-adapter.js +232 -0
  44. package/dist/adapters/langflow-adapter.js.map +1 -0
  45. package/dist/adapters/openapi-adapter.d.ts +93 -0
  46. package/dist/adapters/openapi-adapter.d.ts.map +1 -0
  47. package/dist/adapters/openapi-adapter.js +311 -0
  48. package/dist/adapters/openapi-adapter.js.map +1 -0
  49. package/dist/adapters/symfony/index.d.ts +163 -0
  50. package/dist/adapters/symfony/index.d.ts.map +1 -0
  51. package/dist/adapters/symfony/index.js +271 -0
  52. package/dist/adapters/symfony/index.js.map +1 -0
  53. package/dist/cli/commands/agents-md.command.d.ts +7 -0
  54. package/dist/cli/commands/agents-md.command.d.ts.map +1 -0
  55. package/dist/cli/commands/agents-md.command.js +148 -0
  56. package/dist/cli/commands/agents-md.command.js.map +1 -0
  57. package/dist/cli/commands/contract.command.d.ts +10 -0
  58. package/dist/cli/commands/contract.command.d.ts.map +1 -0
  59. package/dist/cli/commands/contract.command.js +402 -0
  60. package/dist/cli/commands/contract.command.js.map +1 -0
  61. package/dist/cli/commands/dependencies.command.d.ts +10 -0
  62. package/dist/cli/commands/dependencies.command.d.ts.map +1 -0
  63. package/dist/cli/commands/dependencies.command.js +318 -0
  64. package/dist/cli/commands/dependencies.command.js.map +1 -0
  65. package/dist/cli/commands/deploy.command.d.ts +4 -0
  66. package/dist/cli/commands/deploy.command.d.ts.map +1 -0
  67. package/dist/cli/commands/deploy.command.js +172 -0
  68. package/dist/cli/commands/deploy.command.js.map +1 -0
  69. package/dist/cli/commands/deploy.d.ts +22 -0
  70. package/dist/cli/commands/deploy.d.ts.map +1 -0
  71. package/dist/cli/commands/deploy.js +319 -0
  72. package/dist/cli/commands/deploy.js.map +1 -0
  73. package/dist/cli/commands/export.command.d.ts +7 -0
  74. package/dist/cli/commands/export.command.d.ts.map +1 -0
  75. package/dist/cli/commands/export.command.js +56 -0
  76. package/dist/cli/commands/export.command.js.map +1 -0
  77. package/dist/cli/commands/generate.command.d.ts +7 -0
  78. package/dist/cli/commands/generate.command.d.ts.map +1 -0
  79. package/dist/cli/commands/generate.command.js +66 -0
  80. package/dist/cli/commands/generate.command.js.map +1 -0
  81. package/dist/cli/commands/github-sync.command.d.ts +3 -0
  82. package/dist/cli/commands/github-sync.command.d.ts.map +1 -0
  83. package/dist/cli/commands/github-sync.command.js +51 -0
  84. package/dist/cli/commands/github-sync.command.js.map +1 -0
  85. package/dist/cli/commands/gitlab-agent.command.d.ts +8 -0
  86. package/dist/cli/commands/gitlab-agent.command.d.ts.map +1 -0
  87. package/dist/cli/commands/gitlab-agent.command.js +201 -0
  88. package/dist/cli/commands/gitlab-agent.command.js.map +1 -0
  89. package/dist/cli/commands/import.command.d.ts +7 -0
  90. package/dist/cli/commands/import.command.d.ts.map +1 -0
  91. package/dist/cli/commands/import.command.js +36 -0
  92. package/dist/cli/commands/import.command.js.map +1 -0
  93. package/dist/cli/commands/info.command.d.ts +3 -0
  94. package/dist/cli/commands/info.command.d.ts.map +1 -0
  95. package/dist/cli/commands/info.command.js +45 -0
  96. package/dist/cli/commands/info.command.js.map +1 -0
  97. package/dist/cli/commands/init.command.d.ts +7 -0
  98. package/dist/cli/commands/init.command.d.ts.map +1 -0
  99. package/dist/cli/commands/init.command.js +139 -0
  100. package/dist/cli/commands/init.command.js.map +1 -0
  101. package/dist/cli/commands/install.command.d.ts +3 -0
  102. package/dist/cli/commands/install.command.d.ts.map +1 -0
  103. package/dist/cli/commands/install.command.js +44 -0
  104. package/dist/cli/commands/install.command.js.map +1 -0
  105. package/dist/cli/commands/migrate.command.d.ts +22 -0
  106. package/dist/cli/commands/migrate.command.d.ts.map +1 -0
  107. package/dist/cli/commands/migrate.command.js +157 -0
  108. package/dist/cli/commands/migrate.command.js.map +1 -0
  109. package/dist/cli/commands/publish.command.d.ts +3 -0
  110. package/dist/cli/commands/publish.command.d.ts.map +1 -0
  111. package/dist/cli/commands/publish.command.js +76 -0
  112. package/dist/cli/commands/publish.command.js.map +1 -0
  113. package/dist/cli/commands/quickstart.command.d.ts +10 -0
  114. package/dist/cli/commands/quickstart.command.d.ts.map +1 -0
  115. package/dist/cli/commands/quickstart.command.js +257 -0
  116. package/dist/cli/commands/quickstart.command.js.map +1 -0
  117. package/dist/cli/commands/release.command.d.ts +8 -0
  118. package/dist/cli/commands/release.command.d.ts.map +1 -0
  119. package/dist/cli/commands/release.command.js +641 -0
  120. package/dist/cli/commands/release.command.js.map +1 -0
  121. package/dist/cli/commands/run.command.d.ts +7 -0
  122. package/dist/cli/commands/run.command.d.ts.map +1 -0
  123. package/dist/cli/commands/run.command.js +125 -0
  124. package/dist/cli/commands/run.command.js.map +1 -0
  125. package/dist/cli/commands/schema.command.d.ts +7 -0
  126. package/dist/cli/commands/schema.command.d.ts.map +1 -0
  127. package/dist/cli/commands/schema.command.js +76 -0
  128. package/dist/cli/commands/schema.command.js.map +1 -0
  129. package/dist/cli/commands/search.command.d.ts +3 -0
  130. package/dist/cli/commands/search.command.d.ts.map +1 -0
  131. package/dist/cli/commands/search.command.js +45 -0
  132. package/dist/cli/commands/search.command.js.map +1 -0
  133. package/dist/cli/commands/setup.command.d.ts +11 -0
  134. package/dist/cli/commands/setup.command.d.ts.map +1 -0
  135. package/dist/cli/commands/setup.command.js +350 -0
  136. package/dist/cli/commands/setup.command.js.map +1 -0
  137. package/dist/cli/commands/sync.command.d.ts +3 -0
  138. package/dist/cli/commands/sync.command.d.ts.map +1 -0
  139. package/dist/cli/commands/sync.command.js +51 -0
  140. package/dist/cli/commands/sync.command.js.map +1 -0
  141. package/dist/cli/commands/test.command.d.ts +3 -0
  142. package/dist/cli/commands/test.command.d.ts.map +1 -0
  143. package/dist/cli/commands/test.command.js +91 -0
  144. package/dist/cli/commands/test.command.js.map +1 -0
  145. package/dist/cli/commands/validate.command.d.ts +7 -0
  146. package/dist/cli/commands/validate.command.d.ts.map +1 -0
  147. package/dist/cli/commands/validate.command.js +143 -0
  148. package/dist/cli/commands/validate.command.js.map +1 -0
  149. package/dist/cli/index.d.ts +7 -0
  150. package/dist/cli/index.d.ts.map +1 -0
  151. package/dist/cli/index.js +148 -0
  152. package/dist/cli/index.js.map +1 -0
  153. package/dist/cli/utils/error-formatter.d.ts +19 -0
  154. package/dist/cli/utils/error-formatter.d.ts.map +1 -0
  155. package/dist/cli/utils/error-formatter.js +330 -0
  156. package/dist/cli/utils/error-formatter.js.map +1 -0
  157. package/dist/deploy/base-driver.d.ts +39 -0
  158. package/dist/deploy/base-driver.d.ts.map +1 -0
  159. package/dist/deploy/base-driver.js +63 -0
  160. package/dist/deploy/base-driver.js.map +1 -0
  161. package/dist/deploy/docker-driver.d.ts +32 -0
  162. package/dist/deploy/docker-driver.d.ts.map +1 -0
  163. package/dist/deploy/docker-driver.js +246 -0
  164. package/dist/deploy/docker-driver.js.map +1 -0
  165. package/dist/deploy/index.d.ts +15 -0
  166. package/dist/deploy/index.d.ts.map +1 -0
  167. package/dist/deploy/index.js +28 -0
  168. package/dist/deploy/index.js.map +1 -0
  169. package/dist/deploy/k8s-driver.d.ts +40 -0
  170. package/dist/deploy/k8s-driver.d.ts.map +1 -0
  171. package/dist/deploy/k8s-driver.js +372 -0
  172. package/dist/deploy/k8s-driver.js.map +1 -0
  173. package/dist/deploy/local-driver.d.ts +20 -0
  174. package/dist/deploy/local-driver.d.ts.map +1 -0
  175. package/dist/deploy/local-driver.js +150 -0
  176. package/dist/deploy/local-driver.js.map +1 -0
  177. package/dist/deploy/types.d.ts +103 -0
  178. package/dist/deploy/types.d.ts.map +1 -0
  179. package/dist/deploy/types.js +6 -0
  180. package/dist/deploy/types.js.map +1 -0
  181. package/dist/di-container.d.ts.map +1 -1
  182. package/dist/di-container.js +14 -0
  183. package/dist/di-container.js.map +1 -1
  184. package/dist/index.d.ts +2 -1
  185. package/dist/index.d.ts.map +1 -1
  186. package/dist/index.js +3 -1
  187. package/dist/index.js.map +1 -1
  188. package/dist/mesh/client.d.ts +144 -0
  189. package/dist/mesh/client.d.ts.map +1 -0
  190. package/dist/mesh/client.js +424 -0
  191. package/dist/mesh/client.js.map +1 -0
  192. package/dist/mesh/discovery.d.ts +176 -0
  193. package/dist/mesh/discovery.d.ts.map +1 -0
  194. package/dist/mesh/discovery.js +288 -0
  195. package/dist/mesh/discovery.js.map +1 -0
  196. package/dist/mesh/index.d.ts +89 -0
  197. package/dist/mesh/index.d.ts.map +1 -0
  198. package/dist/mesh/index.js +92 -0
  199. package/dist/mesh/index.js.map +1 -0
  200. package/dist/mesh/routing.d.ts +158 -0
  201. package/dist/mesh/routing.d.ts.map +1 -0
  202. package/dist/mesh/routing.js +360 -0
  203. package/dist/mesh/routing.js.map +1 -0
  204. package/dist/mesh/types.d.ts +439 -0
  205. package/dist/mesh/types.d.ts.map +1 -0
  206. package/dist/mesh/types.js +6 -0
  207. package/dist/mesh/types.js.map +1 -0
  208. package/dist/messaging/broker.d.ts +76 -0
  209. package/dist/messaging/broker.d.ts.map +1 -0
  210. package/dist/messaging/broker.js +145 -0
  211. package/dist/messaging/broker.js.map +1 -0
  212. package/dist/messaging/channels.d.ts +70 -0
  213. package/dist/messaging/channels.d.ts.map +1 -0
  214. package/dist/messaging/channels.js +183 -0
  215. package/dist/messaging/channels.js.map +1 -0
  216. package/dist/messaging/index.d.ts +10 -0
  217. package/dist/messaging/index.d.ts.map +1 -0
  218. package/dist/messaging/index.js +10 -0
  219. package/dist/messaging/index.js.map +1 -0
  220. package/dist/messaging/protocols/memory.d.ts +83 -0
  221. package/dist/messaging/protocols/memory.d.ts.map +1 -0
  222. package/dist/messaging/protocols/memory.js +293 -0
  223. package/dist/messaging/protocols/memory.js.map +1 -0
  224. package/dist/messaging/protocols/redis.d.ts +83 -0
  225. package/dist/messaging/protocols/redis.d.ts.map +1 -0
  226. package/dist/messaging/protocols/redis.js +223 -0
  227. package/dist/messaging/protocols/redis.js.map +1 -0
  228. package/dist/messaging/types.d.ts +180 -0
  229. package/dist/messaging/types.d.ts.map +1 -0
  230. package/dist/messaging/types.js +6 -0
  231. package/dist/messaging/types.js.map +1 -0
  232. package/dist/repositories/manifest.repository.d.ts +1 -1
  233. package/dist/repositories/manifest.repository.d.ts.map +1 -1
  234. package/dist/repositories/manifest.repository.js +7 -6
  235. package/dist/repositories/manifest.repository.js.map +1 -1
  236. package/dist/repositories/schema.repository.d.ts +4 -0
  237. package/dist/repositories/schema.repository.d.ts.map +1 -1
  238. package/dist/repositories/schema.repository.js +10 -3
  239. package/dist/repositories/schema.repository.js.map +1 -1
  240. package/dist/sdk/events/cloudevents-emitter.d.ts +56 -0
  241. package/dist/sdk/events/cloudevents-emitter.d.ts.map +1 -0
  242. package/dist/sdk/events/cloudevents-emitter.js +101 -0
  243. package/dist/sdk/events/cloudevents-emitter.js.map +1 -0
  244. package/dist/sdk/events/index.d.ts +2 -0
  245. package/dist/sdk/events/index.d.ts.map +1 -0
  246. package/dist/sdk/events/index.js +2 -0
  247. package/dist/sdk/events/index.js.map +1 -0
  248. package/dist/sdk/tracing/index.d.ts +2 -0
  249. package/dist/sdk/tracing/index.d.ts.map +1 -0
  250. package/dist/sdk/tracing/index.js +2 -0
  251. package/dist/sdk/tracing/index.js.map +1 -0
  252. package/dist/sdk/tracing/w3c-baggage.d.ts +40 -0
  253. package/dist/sdk/tracing/w3c-baggage.d.ts.map +1 -0
  254. package/dist/sdk/tracing/w3c-baggage.js +148 -0
  255. package/dist/sdk/tracing/w3c-baggage.js.map +1 -0
  256. package/dist/services/agent-services/qdrant.service.d.ts +60 -0
  257. package/dist/services/agent-services/qdrant.service.d.ts.map +1 -0
  258. package/dist/services/agent-services/qdrant.service.js +168 -0
  259. package/dist/services/agent-services/qdrant.service.js.map +1 -0
  260. package/dist/services/agents-md/agents-md.service.d.ts +61 -0
  261. package/dist/services/agents-md/agents-md.service.d.ts.map +1 -0
  262. package/dist/services/agents-md/agents-md.service.js +348 -0
  263. package/dist/services/agents-md/agents-md.service.js.map +1 -0
  264. package/dist/services/deployment/deployment.service.d.ts +19 -0
  265. package/dist/services/deployment/deployment.service.d.ts.map +1 -0
  266. package/dist/services/deployment/deployment.service.js +87 -0
  267. package/dist/services/deployment/deployment.service.js.map +1 -0
  268. package/dist/services/generation.service.d.ts +3 -1
  269. package/dist/services/generation.service.d.ts.map +1 -1
  270. package/dist/services/generation.service.js +34 -68
  271. package/dist/services/generation.service.js.map +1 -1
  272. package/dist/services/github-sync/github-client.js +2 -2
  273. package/dist/services/github-sync/github-client.js.map +1 -1
  274. package/dist/services/github-sync/schemas.d.ts +1 -1
  275. package/dist/services/github-sync/schemas.d.ts.map +1 -1
  276. package/dist/services/github-sync/schemas.js.map +1 -1
  277. package/dist/services/github-sync/sync.service.d.ts.map +1 -1
  278. package/dist/services/github-sync/sync.service.js +4 -2
  279. package/dist/services/github-sync/sync.service.js.map +1 -1
  280. package/dist/services/gitlab-agent.service.d.ts.map +1 -1
  281. package/dist/services/gitlab-agent.service.js +3 -1
  282. package/dist/services/gitlab-agent.service.js.map +1 -1
  283. package/dist/services/messaging/example.d.ts +6 -0
  284. package/dist/services/messaging/example.d.ts.map +1 -0
  285. package/dist/services/messaging/example.js +260 -0
  286. package/dist/services/messaging/example.js.map +1 -0
  287. package/dist/services/messaging/index.d.ts +81 -0
  288. package/dist/services/messaging/index.d.ts.map +1 -0
  289. package/dist/services/messaging/index.js +85 -0
  290. package/dist/services/messaging/index.js.map +1 -0
  291. package/dist/services/messaging/memory-broker.d.ts +103 -0
  292. package/dist/services/messaging/memory-broker.d.ts.map +1 -0
  293. package/dist/services/messaging/memory-broker.js +435 -0
  294. package/dist/services/messaging/memory-broker.js.map +1 -0
  295. package/dist/services/messaging/messaging.service.d.ts +150 -0
  296. package/dist/services/messaging/messaging.service.d.ts.map +1 -0
  297. package/dist/services/messaging/messaging.service.js +456 -0
  298. package/dist/services/messaging/messaging.service.js.map +1 -0
  299. package/dist/services/messaging/messaging.types.d.ts +319 -0
  300. package/dist/services/messaging/messaging.types.d.ts.map +1 -0
  301. package/dist/services/messaging/messaging.types.js +68 -0
  302. package/dist/services/messaging/messaging.types.js.map +1 -0
  303. package/dist/services/migration.service.d.ts +45 -4
  304. package/dist/services/migration.service.d.ts.map +1 -1
  305. package/dist/services/migration.service.js +248 -31
  306. package/dist/services/migration.service.js.map +1 -1
  307. package/dist/services/registry/registry.service.d.ts +39 -0
  308. package/dist/services/registry/registry.service.d.ts.map +1 -0
  309. package/dist/services/registry/registry.service.js +169 -0
  310. package/dist/services/registry/registry.service.js.map +1 -0
  311. package/dist/services/release-automation/base-crud.service.d.ts.map +1 -1
  312. package/dist/services/release-automation/base-crud.service.js.map +1 -1
  313. package/dist/services/release-automation/merge-request.service.d.ts.map +1 -1
  314. package/dist/services/release-automation/merge-request.service.js +4 -4
  315. package/dist/services/release-automation/merge-request.service.js.map +1 -1
  316. package/dist/services/release-automation/milestone.service.d.ts.map +1 -1
  317. package/dist/services/release-automation/milestone.service.js.map +1 -1
  318. package/dist/services/release-automation/release.service.d.ts +4 -4
  319. package/dist/services/release-automation/release.service.d.ts.map +1 -1
  320. package/dist/services/release-automation/release.service.js +1 -3
  321. package/dist/services/release-automation/release.service.js.map +1 -1
  322. package/dist/services/release-automation/schemas/release.schema.d.ts +3 -3
  323. package/dist/services/release-automation/schemas/release.schema.d.ts.map +1 -1
  324. package/dist/services/release-automation/schemas/release.schema.js +11 -23
  325. package/dist/services/release-automation/schemas/release.schema.js.map +1 -1
  326. package/dist/services/release-automation/tag.service.d.ts.map +1 -1
  327. package/dist/services/release-automation/tag.service.js +4 -1
  328. package/dist/services/release-automation/tag.service.js.map +1 -1
  329. package/dist/services/release-automation/webhook.service.d.ts +2 -2
  330. package/dist/services/release-automation/webhook.service.d.ts.map +1 -1
  331. package/dist/services/release-automation/webhook.service.js +27 -14
  332. package/dist/services/release-automation/webhook.service.js.map +1 -1
  333. package/dist/services/runtime/anthropic.adapter.d.ts +145 -0
  334. package/dist/services/runtime/anthropic.adapter.d.ts.map +1 -0
  335. package/dist/services/runtime/anthropic.adapter.js +525 -0
  336. package/dist/services/runtime/anthropic.adapter.js.map +1 -0
  337. package/dist/services/runtime/azure.adapter.d.ts +389 -0
  338. package/dist/services/runtime/azure.adapter.d.ts.map +1 -0
  339. package/dist/services/runtime/azure.adapter.js +515 -0
  340. package/dist/services/runtime/azure.adapter.js.map +1 -0
  341. package/dist/services/runtime/bedrock.adapter.d.ts +170 -0
  342. package/dist/services/runtime/bedrock.adapter.d.ts.map +1 -0
  343. package/dist/services/runtime/bedrock.adapter.js +667 -0
  344. package/dist/services/runtime/bedrock.adapter.js.map +1 -0
  345. package/dist/services/runtime/claude/capability-mapper.d.ts.map +1 -1
  346. package/dist/services/runtime/claude/capability-mapper.js.map +1 -1
  347. package/dist/services/runtime/claude/claude-adapter.d.ts.map +1 -1
  348. package/dist/services/runtime/claude/claude-adapter.js +3 -7
  349. package/dist/services/runtime/claude/claude-adapter.js.map +1 -1
  350. package/dist/services/runtime/claude/manifest-parser.d.ts.map +1 -1
  351. package/dist/services/runtime/claude/manifest-parser.js +2 -2
  352. package/dist/services/runtime/claude/manifest-parser.js.map +1 -1
  353. package/dist/services/runtime/gemini.adapter.d.ts +190 -0
  354. package/dist/services/runtime/gemini.adapter.d.ts.map +1 -0
  355. package/dist/services/runtime/gemini.adapter.js +603 -0
  356. package/dist/services/runtime/gemini.adapter.js.map +1 -0
  357. package/dist/services/runtime/mistral.adapter.d.ts +201 -0
  358. package/dist/services/runtime/mistral.adapter.d.ts.map +1 -0
  359. package/dist/services/runtime/mistral.adapter.js +654 -0
  360. package/dist/services/runtime/mistral.adapter.js.map +1 -0
  361. package/dist/services/runtime/ollama.adapter.d.ts +187 -0
  362. package/dist/services/runtime/ollama.adapter.d.ts.map +1 -0
  363. package/dist/services/runtime/ollama.adapter.js +525 -0
  364. package/dist/services/runtime/ollama.adapter.js.map +1 -0
  365. package/dist/services/runtime/openai.adapter.d.ts.map +1 -1
  366. package/dist/services/runtime/openai.adapter.js.map +1 -1
  367. package/dist/services/test-runner/test-runner.service.d.ts +21 -0
  368. package/dist/services/test-runner/test-runner.service.d.ts.map +1 -0
  369. package/dist/services/test-runner/test-runner.service.js +91 -0
  370. package/dist/services/test-runner/test-runner.service.js.map +1 -0
  371. package/dist/services/validation.service.d.ts.map +1 -1
  372. package/dist/services/validation.service.js +38 -13
  373. package/dist/services/validation.service.js.map +1 -1
  374. package/dist/services/validators/anthropic.validator.d.ts.map +1 -1
  375. package/dist/services/validators/anthropic.validator.js +2 -5
  376. package/dist/services/validators/anthropic.validator.js.map +1 -1
  377. package/dist/services/validators/autogen.validator.d.ts.map +1 -1
  378. package/dist/services/validators/autogen.validator.js +1 -2
  379. package/dist/services/validators/autogen.validator.js.map +1 -1
  380. package/dist/services/validators/contract.validator.d.ts +90 -0
  381. package/dist/services/validators/contract.validator.d.ts.map +1 -0
  382. package/dist/services/validators/contract.validator.js +508 -0
  383. package/dist/services/validators/contract.validator.js.map +1 -0
  384. package/dist/services/validators/crewai.validator.d.ts.map +1 -1
  385. package/dist/services/validators/crewai.validator.js.map +1 -1
  386. package/dist/services/validators/cursor.validator.d.ts.map +1 -1
  387. package/dist/services/validators/cursor.validator.js.map +1 -1
  388. package/dist/services/validators/dependencies.validator.d.ts +104 -0
  389. package/dist/services/validators/dependencies.validator.d.ts.map +1 -0
  390. package/dist/services/validators/dependencies.validator.js +386 -0
  391. package/dist/services/validators/dependencies.validator.js.map +1 -0
  392. package/dist/services/validators/index.d.ts +1 -0
  393. package/dist/services/validators/index.d.ts.map +1 -1
  394. package/dist/services/validators/index.js +1 -0
  395. package/dist/services/validators/index.js.map +1 -1
  396. package/dist/services/validators/langchain.validator.d.ts.map +1 -1
  397. package/dist/services/validators/langchain.validator.js +4 -13
  398. package/dist/services/validators/langchain.validator.js.map +1 -1
  399. package/dist/services/validators/langflow.validator.d.ts.map +1 -1
  400. package/dist/services/validators/langflow.validator.js +1 -2
  401. package/dist/services/validators/langflow.validator.js.map +1 -1
  402. package/dist/services/validators/langgraph.validator.d.ts.map +1 -1
  403. package/dist/services/validators/langgraph.validator.js +1 -2
  404. package/dist/services/validators/langgraph.validator.js.map +1 -1
  405. package/dist/services/validators/llamaindex.validator.d.ts.map +1 -1
  406. package/dist/services/validators/llamaindex.validator.js +4 -13
  407. package/dist/services/validators/llamaindex.validator.js.map +1 -1
  408. package/dist/services/validators/messaging.validator.d.ts +77 -0
  409. package/dist/services/validators/messaging.validator.d.ts.map +1 -0
  410. package/dist/services/validators/messaging.validator.js +296 -0
  411. package/dist/services/validators/messaging.validator.js.map +1 -0
  412. package/dist/services/validators/openai.validator.d.ts.map +1 -1
  413. package/dist/services/validators/openai.validator.js +1 -6
  414. package/dist/services/validators/openai.validator.js.map +1 -1
  415. package/dist/services/validators/vercel-ai.validator.d.ts.map +1 -1
  416. package/dist/services/validators/vercel-ai.validator.js +1 -3
  417. package/dist/services/validators/vercel-ai.validator.js.map +1 -1
  418. package/dist/spec/extensions/a2a-messaging.md +471 -0
  419. package/dist/spec/extensions/manifest-extensions.md +550 -0
  420. package/dist/spec/registry/README.md +472 -0
  421. package/dist/spec/registry/openapi.yaml +1124 -0
  422. package/dist/spec/registry/registry-api.schema.json +731 -0
  423. package/dist/spec/registry/registry-spec.md +2239 -0
  424. package/dist/spec/schema/agent-test.schema.json +117 -0
  425. package/dist/spec/schema/components/activity-stream.schema.json +94 -0
  426. package/dist/spec/schema/components/constraints.schema.json +84 -0
  427. package/dist/spec/schema/components/dependencies.schema.json +147 -0
  428. package/dist/spec/schema/components/encryption.schema.json +115 -0
  429. package/dist/spec/schema/components/identity.schema.json +48 -0
  430. package/dist/spec/schema/components/index.json +37 -0
  431. package/dist/spec/schema/components/llm-config.schema.json +67 -0
  432. package/dist/spec/schema/components/metadata.schema.json +37 -0
  433. package/dist/spec/schema/components/tool.schema.json +64 -0
  434. package/dist/spec/schema/extensions/a2a.extension.schema.json +127 -0
  435. package/dist/spec/v0.2.8/ossa-0.2.8.schema.json +95 -1
  436. package/dist/spec/v0.3.0/UNIFIED-SCHEMA.md +120 -0
  437. package/dist/spec/v0.3.0/adapters/drupal.md +541 -0
  438. package/dist/spec/v0.3.0/adapters/symfony.md +659 -0
  439. package/dist/spec/v0.3.0/agent-test.schema.json +75 -0
  440. package/dist/spec/v0.3.0/examples/drupal-content-writer.ossa.yaml +110 -0
  441. package/dist/spec/v0.3.0/examples/drupal-moderation-assistant.ossa.yaml +96 -0
  442. package/dist/spec/v0.3.0/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +144 -0
  443. package/dist/spec/v0.3.0/extensions/drupal.md +417 -0
  444. package/dist/spec/v0.3.0/ossa-0.3.0.schema.json +2787 -0
  445. package/dist/spec/v0.3.0/protocols/sse.md +494 -0
  446. package/dist/spec/v0.3.0/protocols/webrtc.md +600 -0
  447. package/dist/spec/v0.3.0/protocols/websocket.md +362 -0
  448. package/dist/spec/v0.3.0/schemas/agent-unified.yaml +165 -0
  449. package/dist/spec/v0.3.0/schemas/capabilities.yaml +102 -0
  450. package/dist/spec/v0.3.0/schemas/functions.yaml +75 -0
  451. package/dist/spec/v0.3.0/schemas/messaging/channel.schema.json +245 -0
  452. package/dist/spec/v0.3.0/schemas/messaging/delivery-receipt.schema.json +192 -0
  453. package/dist/spec/v0.3.0/schemas/messaging/message.schema.json +205 -0
  454. package/dist/spec/v0.3.0/schemas/messaging/subscription.schema.json +214 -0
  455. package/dist/spec/v0.3.0/schemas/runtime.yaml +102 -0
  456. package/dist/spec/v0.3.0/schemas/taxonomy.yaml +533 -0
  457. package/dist/spec/v0.3.0/schemas/unified-llm.yaml +91 -0
  458. package/dist/spec/v0.3.0/taxonomy.yaml +256 -0
  459. package/dist/testing/fixtures.d.ts +61 -0
  460. package/dist/testing/fixtures.d.ts.map +1 -0
  461. package/dist/testing/fixtures.js +291 -0
  462. package/dist/testing/fixtures.js.map +1 -0
  463. package/dist/testing/index.d.ts +10 -0
  464. package/dist/testing/index.d.ts.map +1 -0
  465. package/dist/testing/index.js +10 -0
  466. package/dist/testing/index.js.map +1 -0
  467. package/dist/testing/reporters/base.d.ts +24 -0
  468. package/dist/testing/reporters/base.d.ts.map +1 -0
  469. package/dist/testing/reporters/base.js +5 -0
  470. package/dist/testing/reporters/base.js.map +1 -0
  471. package/dist/testing/reporters/console.d.ts +18 -0
  472. package/dist/testing/reporters/console.d.ts.map +1 -0
  473. package/dist/testing/reporters/console.js +76 -0
  474. package/dist/testing/reporters/console.js.map +1 -0
  475. package/dist/testing/reporters/json.d.ts +29 -0
  476. package/dist/testing/reporters/json.d.ts.map +1 -0
  477. package/dist/testing/reporters/json.js +40 -0
  478. package/dist/testing/reporters/json.js.map +1 -0
  479. package/dist/testing/runner.d.ts +96 -0
  480. package/dist/testing/runner.d.ts.map +1 -0
  481. package/dist/testing/runner.js +401 -0
  482. package/dist/testing/runner.js.map +1 -0
  483. package/dist/transports/index.d.ts +8 -0
  484. package/dist/transports/index.d.ts.map +1 -0
  485. package/dist/transports/index.js +11 -0
  486. package/dist/transports/index.js.map +1 -0
  487. package/dist/transports/sse.d.ts +166 -0
  488. package/dist/transports/sse.d.ts.map +1 -0
  489. package/dist/transports/sse.js +309 -0
  490. package/dist/transports/sse.js.map +1 -0
  491. package/dist/transports/webrtc.d.ts +183 -0
  492. package/dist/transports/webrtc.d.ts.map +1 -0
  493. package/dist/transports/webrtc.js +478 -0
  494. package/dist/transports/webrtc.js.map +1 -0
  495. package/dist/transports/websocket.d.ts +204 -0
  496. package/dist/transports/websocket.d.ts.map +1 -0
  497. package/dist/transports/websocket.js +397 -0
  498. package/dist/transports/websocket.js.map +1 -0
  499. package/dist/types/generated/ossa-0.3.0.types.d.ts +316 -0
  500. package/dist/types/generated/ossa-0.3.0.types.d.ts.map +1 -0
  501. package/dist/types/generated/ossa-0.3.0.types.js +8 -0
  502. package/dist/types/generated/ossa-0.3.0.types.js.map +1 -0
  503. package/dist/types/generated/ossa-0.3.0.zod.d.ts +17 -0
  504. package/dist/types/generated/ossa-0.3.0.zod.d.ts.map +1 -0
  505. package/dist/types/generated/ossa-0.3.0.zod.js +3 -0
  506. package/dist/types/generated/ossa-0.3.0.zod.js.map +1 -0
  507. package/dist/types/index.d.ts +124 -2
  508. package/dist/types/index.d.ts.map +1 -1
  509. package/dist/types/index.js +8 -1
  510. package/dist/types/index.js.map +1 -1
  511. package/dist/types/messaging.d.ts +116 -0
  512. package/dist/types/messaging.d.ts.map +1 -0
  513. package/dist/types/messaging.js +6 -0
  514. package/dist/types/messaging.js.map +1 -0
  515. package/dist/types/policy.d.ts.map +1 -1
  516. package/dist/types/policy.js.map +1 -1
  517. package/dist/types/task.d.ts +222 -0
  518. package/dist/types/task.d.ts.map +1 -0
  519. package/dist/types/task.js +40 -0
  520. package/dist/types/task.js.map +1 -0
  521. package/dist/types/workflow.d.ts +283 -0
  522. package/dist/types/workflow.d.ts.map +1 -0
  523. package/dist/types/workflow.js +51 -0
  524. package/dist/types/workflow.js.map +1 -0
  525. package/dist/utils/path-validator.d.ts +24 -0
  526. package/dist/utils/path-validator.d.ts.map +1 -0
  527. package/dist/utils/path-validator.js +70 -0
  528. package/dist/utils/path-validator.js.map +1 -0
  529. package/dist/utils/version.d.ts +17 -8
  530. package/dist/utils/version.d.ts.map +1 -1
  531. package/dist/utils/version.js +84 -30
  532. package/dist/utils/version.js.map +1 -1
  533. package/dist/utils/yaml-parser.d.ts +23 -0
  534. package/dist/utils/yaml-parser.d.ts.map +1 -0
  535. package/dist/utils/yaml-parser.js +34 -0
  536. package/dist/utils/yaml-parser.js.map +1 -0
  537. package/examples/adapters/drupal-eca-mapping.yaml +153 -0
  538. package/examples/adapters/drupal-eca-task.yaml +48 -0
  539. package/examples/adapters/drupal-flowdrop-mapping.yaml +463 -0
  540. package/examples/adapters/drupal-maestro-mapping.yaml +369 -0
  541. package/examples/adapters/mistral-README.md +367 -0
  542. package/examples/adapters/mistral-agent.yaml +147 -0
  543. package/examples/adapters/symfony-messenger-task.yaml +135 -0
  544. package/examples/adapters/symfony-messenger-workflow.yaml +352 -0
  545. package/examples/adk-integration/code-review-workflow.yml +1 -1
  546. package/examples/adk-integration/customer-support.yml +1 -1
  547. package/examples/adk-integration/data-pipeline.yml +1 -1
  548. package/examples/advanced/reasoning-agent.yaml +1 -1
  549. package/examples/advanced/workflows/hybrid-model-strategy.yaml +1 -18
  550. package/examples/agent-manifests/critics/critic-agent.yaml +1 -1
  551. package/examples/agent-manifests/governors/governor-agent.yaml +1 -1
  552. package/examples/agent-manifests/integrators/integrator-agent.yaml +1 -1
  553. package/examples/agent-manifests/judges/judge-agent.yaml +1 -1
  554. package/examples/agent-manifests/monitors/monitor-agent.yaml +1 -1
  555. package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +1 -1
  556. package/examples/agent-manifests/sample-compliant-agent.yaml +1 -1
  557. package/examples/agent-manifests/workers/worker-agent.yaml +1 -1
  558. package/examples/agent-mesh/README.ts +311 -0
  559. package/examples/agent-mesh/basic-usage.ts +461 -0
  560. package/examples/agents/architecture-healer-enterprise.yaml +143 -0
  561. package/examples/agents/dependency-healer-npm.yaml +81 -0
  562. package/examples/agents/spec-healer-openapi.yaml +59 -0
  563. package/examples/agents/wiki-healer-production.yaml +131 -0
  564. package/examples/agents-md/code-agent.ossa.json +1 -1
  565. package/examples/agents-md/monorepo-agent.ossa.yaml +1 -1
  566. package/examples/anthropic/claude-assistant.ossa.json +1 -1
  567. package/examples/anthropic-adapter-example.ts +374 -0
  568. package/examples/anthropic-simple.ts +70 -0
  569. package/examples/autogen/multi-agent.ossa.json +1 -1
  570. package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +37 -0
  571. package/examples/bridges/.gitlab-ci.yml +293 -0
  572. package/examples/bridges/k8s/deployment.yaml +14 -14
  573. package/examples/ci/multi-project-release-example.yml +401 -0
  574. package/examples/claude-code/code-reviewer.ossa.yaml +1 -1
  575. package/examples/claude-code/ossa-validator.ossa.yaml +1 -1
  576. package/examples/common_npm/agent-router.ossa.yaml +1 -1
  577. package/examples/common_npm/agent-router.v0.2.2.ossa.yaml +1 -1
  578. package/examples/contracts/data-consumer.ossa.yaml +171 -0
  579. package/examples/contracts/data-producer-v2.ossa.yaml +227 -0
  580. package/examples/contracts/data-producer.ossa.yaml +217 -0
  581. package/examples/coordinator-agent/README.md +180 -0
  582. package/examples/coordinator-agent/index.ts +440 -0
  583. package/examples/coordinator-agent/manifest.yaml +41 -0
  584. package/examples/crewai/research-team.ossa.json +1 -1
  585. package/examples/cursor/code-review-agent.ossa.json +1 -1
  586. package/examples/drupal/ai_agents_ossa-module/.agents/example-agent/agent.ossa.yaml +37 -0
  587. package/examples/drupal/gitlab-ml-recommender.ossa.yaml +1 -1
  588. package/examples/drupal/gitlab-ml-recommender.v0.2.2.ossa.yaml +1 -1
  589. package/examples/extensions/agents-md-advanced.yml +177 -0
  590. package/examples/extensions/agents-md-basic.yml +74 -0
  591. package/examples/extensions/agents-md-sync.yml +96 -0
  592. package/examples/extensions/agents-md-v1.yml +1 -1
  593. package/examples/extensions/drupal-v1.yml +1 -1
  594. package/examples/extensions/encryption-multi-provider.yaml +120 -0
  595. package/examples/extensions/kagent-v1.yml +2 -2
  596. package/examples/extensions/knowledge-sources.yaml +59 -0
  597. package/examples/extensions/mcp-full-featured.yaml +150 -0
  598. package/examples/getting-started/01-minimal-agent.ossa.yaml +376 -0
  599. package/examples/getting-started/02-agent-with-tools.ossa.yaml +866 -0
  600. package/examples/getting-started/03-agent-with-safety.ossa.yaml +868 -0
  601. package/examples/getting-started/04-agent-with-messaging.ossa.yaml +829 -0
  602. package/examples/getting-started/05-workflow-composition.ossa.yaml +209 -0
  603. package/examples/getting-started/README.md +69 -0
  604. package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
  605. package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +4 -4
  606. package/examples/kagent/compliance-validator.ossa.yaml +1 -1
  607. package/examples/kagent/cost-optimizer.ossa.yaml +1 -1
  608. package/examples/kagent/documentation-agent.ossa.yaml +1 -1
  609. package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +1 -1
  610. package/examples/kagent/k8s-troubleshooter-v1.v0.2.2.ossa.yaml +1 -1
  611. package/examples/kagent/k8s-troubleshooter.ossa.yaml +1 -1
  612. package/examples/kagent/security-scanner.ossa.yaml +1 -1
  613. package/examples/langchain/chain-agent.ossa.json +1 -1
  614. package/examples/langflow/workflow-agent.ossa.json +1 -1
  615. package/examples/langgraph/state-machine-agent.ossa.json +1 -1
  616. package/examples/llamaindex/rag-agent.ossa.json +1 -1
  617. package/examples/messaging/dependency-healer.ossa.yaml +354 -0
  618. package/examples/messaging/incident-responder.ossa.yaml +477 -0
  619. package/examples/messaging/routing-rules.ossa.yaml +307 -0
  620. package/examples/messaging/security-scanner.ossa.yaml +328 -0
  621. package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
  622. package/examples/mistral-adapter-example.ts +435 -0
  623. package/examples/mistral-simple.ts +56 -0
  624. package/examples/multi-agent/conditional-router.ossa.yaml +1 -1
  625. package/examples/multi-agent/parallel-execution.ossa.yaml +1 -1
  626. package/examples/multi-agent/sequential-pipeline.ossa.yaml +1 -1
  627. package/examples/observability/activity-stream-full.yaml +133 -0
  628. package/examples/observability/gitlab-ci-template.yml +304 -0
  629. package/examples/openai/basic-agent.ossa.yaml +1 -1
  630. package/examples/openai/multi-tool-agent.ossa.json +1 -1
  631. package/examples/openai/swarm-agent.ossa.json +1 -1
  632. package/examples/production/document-analyzer-openai.yml +1 -1
  633. package/examples/quickstart/support-agent.ossa.yaml +1 -1
  634. package/examples/rag-agent/README.md +136 -0
  635. package/examples/rag-agent/index.ts +272 -0
  636. package/examples/rag-agent/manifest.yaml +45 -0
  637. package/examples/real-world/gitlab-cicd-optimizer.ossa.yaml +163 -0
  638. package/examples/real-world/rag-documentation-assistant.ossa.yaml +235 -0
  639. package/examples/reference-implementations/README.md +321 -0
  640. package/examples/reference-implementations/curl-scripts/01-search-agents.sh +72 -0
  641. package/examples/reference-implementations/curl-scripts/02-get-agent-details.sh +74 -0
  642. package/examples/reference-implementations/curl-scripts/03-publish-agent.sh +136 -0
  643. package/examples/reference-implementations/curl-scripts/04-a2a-messaging.sh +178 -0
  644. package/examples/reference-implementations/curl-scripts/05-discovery.sh +98 -0
  645. package/examples/reference-implementations/curl-scripts/README.md +277 -0
  646. package/examples/reference-implementations/python-client/README.md +282 -0
  647. package/examples/reference-implementations/python-client/examples/basic_usage.py +84 -0
  648. package/examples/reference-implementations/python-client/examples/publish_agent.py +137 -0
  649. package/examples/reference-implementations/python-client/ossa_client/__init__.py +80 -0
  650. package/examples/reference-implementations/python-client/ossa_client/agents.py +240 -0
  651. package/examples/reference-implementations/python-client/ossa_client/client.py +164 -0
  652. package/examples/reference-implementations/python-client/ossa_client/discovery.py +153 -0
  653. package/examples/reference-implementations/python-client/ossa_client/messaging.py +227 -0
  654. package/examples/reference-implementations/python-client/requirements.txt +2 -0
  655. package/examples/reference-implementations/python-client/setup.py +40 -0
  656. package/examples/reference-implementations/typescript-client/README.md +227 -0
  657. package/examples/reference-implementations/typescript-client/examples/basic-usage.ts +86 -0
  658. package/examples/reference-implementations/typescript-client/examples/messaging.ts +185 -0
  659. package/examples/reference-implementations/typescript-client/examples/publish-agent.ts +138 -0
  660. package/examples/reference-implementations/typescript-client/package.json +40 -0
  661. package/examples/reference-implementations/typescript-client/src/agents.ts +285 -0
  662. package/examples/reference-implementations/typescript-client/src/client.ts +161 -0
  663. package/examples/reference-implementations/typescript-client/src/discovery.ts +244 -0
  664. package/examples/reference-implementations/typescript-client/src/index.ts +67 -0
  665. package/examples/reference-implementations/typescript-client/src/messaging.ts +385 -0
  666. package/examples/reference-implementations/typescript-client/tsconfig.json +25 -0
  667. package/examples/runtime-adapters/bedrock-claude-example.ossa.yaml +465 -0
  668. package/examples/schema/reusable-components.yaml +95 -0
  669. package/examples/tasks/batch-email-sender.yaml +105 -0
  670. package/examples/tasks/data-transform.yaml +82 -0
  671. package/examples/tasks/publish-content.yaml +86 -0
  672. package/examples/templates/ossa-compliance.yaml +1 -1
  673. package/examples/unified/security-scanner.ossa.yaml +311 -0
  674. package/examples/vercel/edge-agent.ossa.json +1 -1
  675. package/examples/workflow-agent/README.md +175 -0
  676. package/examples/workflow-agent/index.ts +408 -0
  677. package/examples/workflow-agent/manifest.yaml +41 -0
  678. package/examples/workflows/batch-email-campaign.yaml +140 -0
  679. package/examples/workflows/content-review-publish.yaml +156 -0
  680. package/examples/workflows/simple-etl.yaml +151 -0
  681. package/openapi/agent-communication.yaml +1113 -0
  682. package/openapi/agent-crud.yaml +1124 -0
  683. package/openapi/agent-discovery.yaml +677 -0
  684. package/openapi/agent-identity.yaml +620 -0
  685. package/openapi/protocols/sse-streams.yaml +479 -0
  686. package/openapi/protocols/websocket-events.yaml +427 -0
  687. package/openapi/schemas/discovery.json +488 -0
  688. package/package.json +91 -33
  689. package/schemas/agent.json +523 -0
  690. package/schemas/communication.json +897 -0
  691. package/schemas/identity.json +482 -0
  692. package/spec/extensions/a2a-messaging.md +471 -0
  693. package/spec/extensions/manifest-extensions.md +550 -0
  694. package/spec/registry/README.md +472 -0
  695. package/spec/registry/openapi.yaml +1124 -0
  696. package/spec/registry/registry-api.schema.json +731 -0
  697. package/spec/registry/registry-spec.md +2239 -0
  698. package/spec/schema/agent-test.schema.json +117 -0
  699. package/spec/schema/components/activity-stream.schema.json +94 -0
  700. package/spec/schema/components/constraints.schema.json +84 -0
  701. package/spec/schema/components/dependencies.schema.json +147 -0
  702. package/spec/schema/components/encryption.schema.json +115 -0
  703. package/spec/schema/components/identity.schema.json +48 -0
  704. package/spec/schema/components/index.json +37 -0
  705. package/spec/schema/components/llm-config.schema.json +67 -0
  706. package/spec/schema/components/metadata.schema.json +37 -0
  707. package/spec/schema/components/tool.schema.json +64 -0
  708. package/spec/schema/extensions/a2a.extension.schema.json +127 -0
  709. package/spec/v0.2.8/ossa-0.2.8.schema.json +95 -1
  710. package/spec/v0.3.0/UNIFIED-SCHEMA.md +120 -0
  711. package/spec/v0.3.0/adapters/drupal.md +541 -0
  712. package/spec/v0.3.0/adapters/symfony.md +659 -0
  713. package/spec/v0.3.0/agent-test.schema.json +75 -0
  714. package/spec/v0.3.0/examples/drupal-content-writer.ossa.yaml +110 -0
  715. package/spec/v0.3.0/examples/drupal-moderation-assistant.ossa.yaml +96 -0
  716. package/spec/v0.3.0/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +144 -0
  717. package/spec/v0.3.0/extensions/drupal.md +417 -0
  718. package/spec/v0.3.0/ossa-0.3.0.schema.json +2787 -0
  719. package/spec/v0.3.0/protocols/sse.md +494 -0
  720. package/spec/v0.3.0/protocols/webrtc.md +600 -0
  721. package/spec/v0.3.0/protocols/websocket.md +362 -0
  722. package/spec/v0.3.0/schemas/agent-unified.yaml +165 -0
  723. package/spec/v0.3.0/schemas/capabilities.yaml +102 -0
  724. package/spec/v0.3.0/schemas/functions.yaml +75 -0
  725. package/spec/v0.3.0/schemas/messaging/channel.schema.json +245 -0
  726. package/spec/v0.3.0/schemas/messaging/delivery-receipt.schema.json +192 -0
  727. package/spec/v0.3.0/schemas/messaging/message.schema.json +205 -0
  728. package/spec/v0.3.0/schemas/messaging/subscription.schema.json +214 -0
  729. package/spec/v0.3.0/schemas/runtime.yaml +102 -0
  730. package/spec/v0.3.0/schemas/taxonomy.yaml +533 -0
  731. package/spec/v0.3.0/schemas/unified-llm.yaml +91 -0
  732. package/spec/v0.3.0/taxonomy.yaml +256 -0
  733. package/.cursorrules +0 -84
  734. package/.devfile.yaml +0 -87
  735. package/.env.example +0 -63
  736. package/.eslintrc.cjs +0 -43
  737. package/.github/AGENTS.md +0 -245
  738. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -63
  739. package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -40
  740. package/.github/PULL_REQUEST_TEMPLATE.md +0 -39
  741. package/.github/agents/github-issue-triage.ossa.yaml +0 -99
  742. package/.github/agents/github-pr-triage.ossa.yaml +0 -137
  743. package/.github/dependabot.yml +0 -58
  744. package/.github/workflows/ci.yml +0 -154
  745. package/.github/workflows/codeql.yml +0 -41
  746. package/.github/workflows/dependabot-auto-merge.yml +0 -28
  747. package/.github/workflows/dependabot-comment.yml +0 -34
  748. package/.github/workflows/issue-sync-to-gitlab.yml +0 -138
  749. package/.github/workflows/pr-triage-to-gitlab.yml +0 -164
  750. package/.github/workflows/release.yml +0 -103
  751. package/.husky/pre-commit +0 -5
  752. package/.kiro/config.json +0 -21
  753. package/.kiro/settings/mcp.json +0 -61
  754. package/.kiro/specs/scripts-migration-api-first/design.md +0 -883
  755. package/.kiro/specs/scripts-migration-api-first/requirements.md +0 -165
  756. package/.kiro/specs/scripts-migration-api-first/tasks.md +0 -539
  757. package/.kiro/specs/website-brand-identity/design.md +0 -1060
  758. package/.kiro/specs/website-brand-identity/requirements.md +0 -287
  759. package/.kiro/specs/website-brand-identity/tasks.md +0 -981
  760. package/.prettierignore +0 -7
  761. package/.prettierrc.json +0 -10
  762. package/.redocly.yaml +0 -9
  763. package/.releaserc.json +0 -85
  764. package/.version.json +0 -6
  765. package/.wiki-config.json +0 -24
  766. package/CODEOWNERS +0 -75
  767. package/CONTRIBUTING.md +0 -366
  768. package/bin/validate-ossa-0.2.2.ts +0 -244
  769. package/bin/validate-ossa-0.2.4.ts +0 -244
  770. package/docs/brand-guide/01-brand-overview.md +0 -37
  771. package/docs/brand-guide/02-logo-usage.md +0 -43
  772. package/docs/brand-guide/03-color-palette.md +0 -70
  773. package/docs/brand-guide/04-typography.md +0 -82
  774. package/docs/brand-guide/05-voice-and-tone.md +0 -108
  775. package/docs/brand-guide/06-visual-elements.md +0 -137
  776. package/docs/brand-guide/07-application-examples.md +0 -153
  777. package/docs/brand-guide/OssaLogo/OssA_Logo.svg +0 -21
  778. package/docs/brand-guide/OssaLogo/brand.af +0 -0
  779. package/docs/brand-guide/README.md +0 -107
  780. package/docs/comparison.md +0 -315
  781. package/docs/operations/automation-roadmap.md +0 -245
  782. package/docs/operations/github-sync-strategy.md +0 -357
  783. package/docs/specs/policy-dsl.md +0 -925
  784. package/eslint-report.json +0 -1
  785. package/gl-code-quality-report.json +0 -62
  786. package/infrastructure/docker-compose.yml +0 -33
  787. package/infrastructure/gitlab-agent/rbac.yaml +0 -126
  788. package/infrastructure/gitlab-agent/values.yaml +0 -150
  789. package/infrastructure/k8s/monitoring/00-namespace.yaml +0 -7
  790. package/infrastructure/k8s/monitoring/01-prometheus.yaml +0 -142
  791. package/infrastructure/k8s/monitoring/02-grafana.yaml +0 -63
  792. package/infrastructure/k8s/monitoring/03-lightweight.yaml +0 -121
  793. package/infrastructure/k8s/monitoring/README.md +0 -73
  794. package/infrastructure/k8s/monitoring/deploy.sh +0 -38
  795. package/junit.xml +0 -1
  796. package/llms-ctx-full.txt +0 -39
  797. package/llms-ctx.txt +0 -39
  798. package/llms.txt +0 -47
  799. package/release.config.js +0 -79
  800. package/scripts/README.md +0 -128
  801. package/scripts/auto-rebase-mrs.ts +0 -106
  802. package/scripts/batch-dependabot.sh +0 -57
  803. package/scripts/bump-version.ts +0 -57
  804. package/scripts/compliance-audit.ts +0 -796
  805. package/scripts/configure-gitlab-branch-protection.ts +0 -95
  806. package/scripts/create-issue-helper.ts +0 -238
  807. package/scripts/create-milestone-issue.ts +0 -73
  808. package/scripts/enhanced-version-manager.ts +0 -257
  809. package/scripts/eslint-to-codequality.cjs +0 -34
  810. package/scripts/fix-schema-formats.js +0 -82
  811. package/scripts/gen-types.ts +0 -51
  812. package/scripts/gen-zod.ts +0 -51
  813. package/scripts/generate-agents-catalog.ts +0 -78
  814. package/scripts/generate-api-docs.ts +0 -219
  815. package/scripts/generate-cli-docs.ts +0 -410
  816. package/scripts/generate-config-docs.ts +0 -109
  817. package/scripts/generate-errors-docs.ts +0 -76
  818. package/scripts/generate-examples-docs.ts +0 -100
  819. package/scripts/generate-llms-ctx.sh +0 -17
  820. package/scripts/generate-schema-docs.ts +0 -317
  821. package/scripts/generate-types-docs.ts +0 -48
  822. package/scripts/lowercase-docs.ts +0 -43
  823. package/scripts/manage-milestone-mrs.ts +0 -279
  824. package/scripts/process-doc-templates.ts +0 -37
  825. package/scripts/rebase-all-mrs.sh +0 -75
  826. package/scripts/schemas/package.schema.ts +0 -75
  827. package/scripts/setup-branch-protection.sh +0 -33
  828. package/scripts/sync-github-pr.sh +0 -48
  829. package/scripts/sync-version.js +0 -32
  830. package/scripts/sync-version.ts +0 -39
  831. package/scripts/sync-versions.ts +0 -488
  832. package/scripts/sync-wiki.sh +0 -50
  833. package/scripts/validate-all.js +0 -127
  834. package/scripts/validate-schema.ts +0 -50
  835. package/test-results/junit.xml +0 -337
  836. package/test-results.xml +0 -1
@@ -0,0 +1,1113 @@
1
+ openapi: 3.1.0
2
+ jsonSchemaDialect: https://spec.openapis.org/oas/3.1/dialect/base
3
+ info:
4
+ title: OSSA Agent Communication API
5
+ version: 0.3.0
6
+ description: |
7
+ # OSSA Agent-to-Agent Communication Standards
8
+
9
+ Agent-to-Agent (A2A) messaging protocol for OSSA v0.3.0+, enabling coordinated
10
+ multi-agent systems with direct messaging, pub/sub channels, and async patterns.
11
+
12
+ ## Key Capabilities
13
+ - **Direct Messaging**: Point-to-point message delivery between agents
14
+ - **Pub/Sub Channels**: Topic-based message broadcasting
15
+ - **Async Patterns**: Webhooks and Server-Sent Events (SSE) for streaming
16
+ - **Message Types**: Structured task coordination (assign, complete, query)
17
+ - **Delivery Guarantees**: At-least-once delivery with message acknowledgment
18
+
19
+ ## Message Flow Patterns
20
+ 1. **Task Assignment**: Orchestrator → Worker (TaskAssigned)
21
+ 2. **Task Completion**: Worker → Orchestrator (TaskCompleted)
22
+ 3. **Query/Response**: Agent A ↔ Agent B (QueryRequest/QueryResponse)
23
+ 4. **Broadcast**: Publisher → Channel → Subscribers
24
+
25
+ contact:
26
+ name: Bluefly.io LLM Platform Team
27
+ url: https://github.com/blueflyio/openstandardagents
28
+ license:
29
+ name: MIT
30
+ url: https://opensource.org/licenses/MIT
31
+
32
+ servers:
33
+ - url: https://a2a.llm.bluefly.io/v1
34
+ description: Production A2A server
35
+ - url: https://a2a-dev.llm.bluefly.io/v1
36
+ description: Development A2A server
37
+ - url: http://localhost:3100
38
+ description: Local development
39
+
40
+ security:
41
+ - ApiKeyAuth: []
42
+ - BearerAuth: []
43
+ - AgentMTLS: []
44
+
45
+ paths:
46
+ # Direct Messaging
47
+ /messages:
48
+ post:
49
+ summary: Send message to agent
50
+ description: |
51
+ Send a message to a target agent. Supports both synchronous (request/reply)
52
+ and asynchronous (fire-and-forget) patterns.
53
+
54
+ For async delivery, use webhookUrl in the request. The response will be
55
+ delivered to the webhook endpoint when available.
56
+ tags: [Messaging]
57
+ operationId: sendMessage
58
+ requestBody:
59
+ required: true
60
+ content:
61
+ application/json:
62
+ schema:
63
+ $ref: '#/components/schemas/SendMessageRequest'
64
+ examples:
65
+ taskAssignment:
66
+ summary: Assign task to worker
67
+ value:
68
+ to: agent://worker-001
69
+ from: agent://orchestrator-main
70
+ type: TaskAssigned
71
+ payload:
72
+ taskId: task-123
73
+ action: analyze_document
74
+ input:
75
+ documentUrl: https://example.com/doc.pdf
76
+ priority: high
77
+ webhookUrl: https://orchestrator.example.com/webhooks/task-123
78
+ queryRequest:
79
+ summary: Query another agent
80
+ value:
81
+ to: agent://specialist-nlp
82
+ from: agent://worker-002
83
+ type: QueryRequest
84
+ payload:
85
+ query: "Extract entities from text"
86
+ context:
87
+ text: "Apple Inc. is headquartered in Cupertino, California."
88
+ timeout: 30000
89
+ responses:
90
+ '202':
91
+ description: Message accepted for delivery
92
+ content:
93
+ application/json:
94
+ schema:
95
+ $ref: '#/components/schemas/MessageResponse'
96
+ '400':
97
+ $ref: '#/components/responses/ValidationError'
98
+ '401':
99
+ $ref: '#/components/responses/Unauthorized'
100
+ '404':
101
+ description: Target agent not found
102
+ content:
103
+ application/problem+json:
104
+ schema:
105
+ $ref: '#/components/schemas/Problem'
106
+ '500':
107
+ $ref: '#/components/responses/InternalServerError'
108
+
109
+ /messages/{messageId}:
110
+ get:
111
+ summary: Get message status
112
+ description: |
113
+ Retrieve the delivery status and metadata for a previously sent message.
114
+ Includes delivery timestamps, acknowledgment status, and any errors.
115
+ tags: [Messaging]
116
+ operationId: getMessageStatus
117
+ parameters:
118
+ - name: messageId
119
+ in: path
120
+ required: true
121
+ description: Unique message identifier
122
+ schema:
123
+ type: string
124
+ format: uuid
125
+ responses:
126
+ '200':
127
+ description: Message status
128
+ content:
129
+ application/json:
130
+ schema:
131
+ $ref: '#/components/schemas/Message'
132
+ '404':
133
+ $ref: '#/components/responses/NotFound'
134
+ '500':
135
+ $ref: '#/components/responses/InternalServerError'
136
+
137
+ /messages/{messageId}/acknowledge:
138
+ post:
139
+ summary: Acknowledge message receipt
140
+ description: |
141
+ Acknowledge successful processing of a received message. Required for
142
+ at-least-once delivery guarantee. Unacknowledged messages may be redelivered.
143
+ tags: [Messaging]
144
+ operationId: acknowledgeMessage
145
+ parameters:
146
+ - name: messageId
147
+ in: path
148
+ required: true
149
+ schema:
150
+ type: string
151
+ format: uuid
152
+ requestBody:
153
+ content:
154
+ application/json:
155
+ schema:
156
+ type: object
157
+ properties:
158
+ result:
159
+ type: string
160
+ enum: [success, failure]
161
+ default: success
162
+ error:
163
+ type: string
164
+ description: Error message if result is failure
165
+ responses:
166
+ '204':
167
+ description: Message acknowledged
168
+ '404':
169
+ $ref: '#/components/responses/NotFound'
170
+ '500':
171
+ $ref: '#/components/responses/InternalServerError'
172
+
173
+ # Pub/Sub Channels
174
+ /channels:
175
+ get:
176
+ summary: List available channels
177
+ description: List all communication channels the authenticated agent has access to
178
+ tags: [Channels]
179
+ operationId: listChannels
180
+ parameters:
181
+ - name: filter
182
+ in: query
183
+ description: Filter channels by type or topic
184
+ schema:
185
+ type: string
186
+ - $ref: '#/components/parameters/Limit'
187
+ - $ref: '#/components/parameters/Offset'
188
+ responses:
189
+ '200':
190
+ description: List of channels
191
+ content:
192
+ application/json:
193
+ schema:
194
+ $ref: '#/components/schemas/ChannelsList'
195
+ '500':
196
+ $ref: '#/components/responses/InternalServerError'
197
+
198
+ post:
199
+ summary: Create communication channel
200
+ description: |
201
+ Create a new pub/sub channel for message broadcasting. Channels enable
202
+ many-to-many communication between agents.
203
+ tags: [Channels]
204
+ operationId: createChannel
205
+ requestBody:
206
+ required: true
207
+ content:
208
+ application/json:
209
+ schema:
210
+ $ref: '#/components/schemas/CreateChannelRequest'
211
+ examples:
212
+ taskUpdates:
213
+ summary: Task updates channel
214
+ value:
215
+ name: task-updates
216
+ topic: tasks.status.updates
217
+ description: Real-time task status updates
218
+ retentionPolicy:
219
+ retentionDays: 7
220
+ maxMessages: 10000
221
+ agentEvents:
222
+ summary: Agent lifecycle events
223
+ value:
224
+ name: agent-events
225
+ topic: agents.lifecycle.*
226
+ description: Agent started, stopped, error events
227
+ retentionPolicy:
228
+ retentionDays: 30
229
+ responses:
230
+ '201':
231
+ description: Channel created
232
+ content:
233
+ application/json:
234
+ schema:
235
+ $ref: '#/components/schemas/Channel'
236
+ '400':
237
+ $ref: '#/components/responses/ValidationError'
238
+ '409':
239
+ description: Channel already exists
240
+ content:
241
+ application/problem+json:
242
+ schema:
243
+ $ref: '#/components/schemas/Problem'
244
+ '500':
245
+ $ref: '#/components/responses/InternalServerError'
246
+
247
+ /channels/{channelId}:
248
+ get:
249
+ summary: Get channel details
250
+ description: Retrieve channel metadata, subscriber count, and configuration
251
+ tags: [Channels]
252
+ operationId: getChannel
253
+ parameters:
254
+ - $ref: '#/components/parameters/ChannelId'
255
+ responses:
256
+ '200':
257
+ description: Channel details
258
+ content:
259
+ application/json:
260
+ schema:
261
+ $ref: '#/components/schemas/Channel'
262
+ '404':
263
+ $ref: '#/components/responses/NotFound'
264
+
265
+ delete:
266
+ summary: Delete channel
267
+ description: |
268
+ Delete a communication channel. All subscriptions will be removed.
269
+ Messages in the channel will be deleted according to retention policy.
270
+ tags: [Channels]
271
+ operationId: deleteChannel
272
+ parameters:
273
+ - $ref: '#/components/parameters/ChannelId'
274
+ responses:
275
+ '204':
276
+ description: Channel deleted
277
+ '404':
278
+ $ref: '#/components/responses/NotFound'
279
+ '500':
280
+ $ref: '#/components/responses/InternalServerError'
281
+
282
+ /channels/{channelId}/subscribe:
283
+ post:
284
+ summary: Subscribe to channel
285
+ description: |
286
+ Subscribe to a channel to receive published messages. Supports both
287
+ push (webhook) and pull (polling) delivery modes.
288
+ tags: [Channels]
289
+ operationId: subscribeToChannel
290
+ parameters:
291
+ - $ref: '#/components/parameters/ChannelId'
292
+ requestBody:
293
+ required: true
294
+ content:
295
+ application/json:
296
+ schema:
297
+ $ref: '#/components/schemas/SubscribeRequest'
298
+ examples:
299
+ webhookSubscription:
300
+ summary: Webhook-based subscription
301
+ value:
302
+ agentId: agent://worker-003
303
+ deliveryMode: push
304
+ webhookUrl: https://worker-003.example.com/channels/task-updates
305
+ filter:
306
+ messageTypes: [TaskAssigned, TaskCompleted]
307
+ pollingSubscription:
308
+ summary: Polling-based subscription
309
+ value:
310
+ agentId: agent://monitor-001
311
+ deliveryMode: pull
312
+ filter:
313
+ messageTypes: [TaskCompleted]
314
+ responses:
315
+ '201':
316
+ description: Subscription created
317
+ content:
318
+ application/json:
319
+ schema:
320
+ $ref: '#/components/schemas/Subscription'
321
+ '400':
322
+ $ref: '#/components/responses/ValidationError'
323
+ '404':
324
+ description: Channel not found
325
+ content:
326
+ application/problem+json:
327
+ schema:
328
+ $ref: '#/components/schemas/Problem'
329
+ '500':
330
+ $ref: '#/components/responses/InternalServerError'
331
+
332
+ /channels/{channelId}/unsubscribe:
333
+ post:
334
+ summary: Unsubscribe from channel
335
+ description: Remove subscription from a channel
336
+ tags: [Channels]
337
+ operationId: unsubscribeFromChannel
338
+ parameters:
339
+ - $ref: '#/components/parameters/ChannelId'
340
+ requestBody:
341
+ required: true
342
+ content:
343
+ application/json:
344
+ schema:
345
+ type: object
346
+ required: [subscriptionId]
347
+ properties:
348
+ subscriptionId:
349
+ type: string
350
+ format: uuid
351
+ responses:
352
+ '204':
353
+ description: Unsubscribed successfully
354
+ '404':
355
+ $ref: '#/components/responses/NotFound'
356
+
357
+ /channels/{channelId}/publish:
358
+ post:
359
+ summary: Publish message to channel
360
+ description: |
361
+ Broadcast a message to all channel subscribers. Message will be delivered
362
+ according to each subscriber's delivery mode (push/pull).
363
+ tags: [Channels]
364
+ operationId: publishToChannel
365
+ parameters:
366
+ - $ref: '#/components/parameters/ChannelId'
367
+ requestBody:
368
+ required: true
369
+ content:
370
+ application/json:
371
+ schema:
372
+ $ref: '#/components/schemas/PublishMessageRequest'
373
+ examples:
374
+ taskCompleted:
375
+ summary: Broadcast task completion
376
+ value:
377
+ type: TaskCompleted
378
+ payload:
379
+ taskId: task-123
380
+ status: completed
381
+ result:
382
+ entities: ["Apple Inc.", "Cupertino", "California"]
383
+ completedAt: "2025-12-18T14:30:00Z"
384
+ agentStarted:
385
+ summary: Agent lifecycle event
386
+ value:
387
+ type: AgentStarted
388
+ payload:
389
+ agentId: agent://worker-005
390
+ version: 1.2.0
391
+ capabilities: [text_analysis, entity_extraction]
392
+ startedAt: "2025-12-18T14:25:00Z"
393
+ responses:
394
+ '202':
395
+ description: Message published
396
+ content:
397
+ application/json:
398
+ schema:
399
+ $ref: '#/components/schemas/PublishResponse'
400
+ '400':
401
+ $ref: '#/components/responses/ValidationError'
402
+ '404':
403
+ description: Channel not found
404
+ content:
405
+ application/problem+json:
406
+ schema:
407
+ $ref: '#/components/schemas/Problem'
408
+ '500':
409
+ $ref: '#/components/responses/InternalServerError'
410
+
411
+ /channels/{channelId}/messages:
412
+ get:
413
+ summary: Pull messages from channel
414
+ description: |
415
+ Poll for messages from a channel (pull-based delivery). Only available
416
+ for subscriptions with deliveryMode: pull.
417
+ tags: [Channels]
418
+ operationId: pullChannelMessages
419
+ parameters:
420
+ - $ref: '#/components/parameters/ChannelId'
421
+ - name: subscriptionId
422
+ in: query
423
+ required: true
424
+ schema:
425
+ type: string
426
+ format: uuid
427
+ - name: maxMessages
428
+ in: query
429
+ description: Maximum number of messages to return
430
+ schema:
431
+ type: integer
432
+ minimum: 1
433
+ maximum: 100
434
+ default: 10
435
+ - name: ackMode
436
+ in: query
437
+ description: Acknowledgment mode
438
+ schema:
439
+ type: string
440
+ enum: [auto, manual]
441
+ default: manual
442
+ responses:
443
+ '200':
444
+ description: Messages retrieved
445
+ content:
446
+ application/json:
447
+ schema:
448
+ type: object
449
+ properties:
450
+ messages:
451
+ type: array
452
+ items:
453
+ $ref: '#/components/schemas/Message'
454
+ hasMore:
455
+ type: boolean
456
+ '404':
457
+ $ref: '#/components/responses/NotFound'
458
+
459
+ # Streaming (Server-Sent Events)
460
+ /stream:
461
+ get:
462
+ summary: Stream messages via SSE
463
+ description: |
464
+ Open a Server-Sent Events stream to receive real-time messages.
465
+ Client maintains persistent connection for streaming updates.
466
+ tags: [Streaming]
467
+ operationId: streamMessages
468
+ parameters:
469
+ - name: agentId
470
+ in: query
471
+ required: true
472
+ description: Agent identifier to stream messages for
473
+ schema:
474
+ type: string
475
+ - name: filter
476
+ in: query
477
+ description: Filter messages by type (comma-separated)
478
+ schema:
479
+ type: string
480
+ example: "TaskAssigned,TaskCompleted"
481
+ responses:
482
+ '200':
483
+ description: SSE stream
484
+ content:
485
+ text/event-stream:
486
+ schema:
487
+ type: string
488
+ description: |
489
+ Server-Sent Events stream. Each event contains:
490
+ - event: message type (e.g., "TaskAssigned")
491
+ - data: JSON-encoded message payload
492
+ - id: message ID for resumption
493
+ examples:
494
+ taskAssignedEvent:
495
+ summary: Task assignment event
496
+ value: |
497
+ event: TaskAssigned
498
+ id: msg-123
499
+ data: {"taskId":"task-456","action":"analyze_document","input":{"documentUrl":"https://example.com/doc.pdf"}}
500
+
501
+ event: TaskCompleted
502
+ id: msg-124
503
+ data: {"taskId":"task-456","status":"completed","result":{"summary":"Document analyzed"}}
504
+ '401':
505
+ $ref: '#/components/responses/Unauthorized'
506
+
507
+ # Webhooks (for async callbacks)
508
+ /webhooks:
509
+ post:
510
+ summary: Register webhook endpoint
511
+ description: |
512
+ Register a webhook endpoint to receive async message delivery.
513
+ The A2A platform will POST messages to the registered URL.
514
+ tags: [Webhooks]
515
+ operationId: registerWebhook
516
+ requestBody:
517
+ required: true
518
+ content:
519
+ application/json:
520
+ schema:
521
+ $ref: '#/components/schemas/WebhookRegistration'
522
+ responses:
523
+ '201':
524
+ description: Webhook registered
525
+ content:
526
+ application/json:
527
+ schema:
528
+ type: object
529
+ properties:
530
+ webhookId:
531
+ type: string
532
+ format: uuid
533
+ url:
534
+ type: string
535
+ format: uri
536
+ secret:
537
+ type: string
538
+ description: HMAC secret for verifying webhook authenticity
539
+ '400':
540
+ $ref: '#/components/responses/ValidationError'
541
+
542
+ /webhooks/{webhookId}:
543
+ delete:
544
+ summary: Unregister webhook
545
+ description: Remove a webhook endpoint registration
546
+ tags: [Webhooks]
547
+ operationId: unregisterWebhook
548
+ parameters:
549
+ - name: webhookId
550
+ in: path
551
+ required: true
552
+ schema:
553
+ type: string
554
+ format: uuid
555
+ responses:
556
+ '204':
557
+ description: Webhook unregistered
558
+ '404':
559
+ $ref: '#/components/responses/NotFound'
560
+
561
+ # Health
562
+ /health:
563
+ get:
564
+ summary: Health check
565
+ tags: [Health]
566
+ operationId: healthCheck
567
+ security: []
568
+ responses:
569
+ '200':
570
+ $ref: '#/components/responses/HealthCheck'
571
+ '503':
572
+ $ref: '#/components/responses/ServiceUnavailable'
573
+
574
+ components:
575
+ securitySchemes:
576
+ ApiKeyAuth:
577
+ type: apiKey
578
+ in: header
579
+ name: X-API-Key
580
+ description: API key authentication for agent services
581
+ BearerAuth:
582
+ type: http
583
+ scheme: bearer
584
+ bearerFormat: JWT
585
+ description: JWT bearer token authentication
586
+ AgentMTLS:
587
+ type: mutualTLS
588
+ description: Mutual TLS authentication for agent-to-agent trust
589
+
590
+ parameters:
591
+ ChannelId:
592
+ name: channelId
593
+ in: path
594
+ required: true
595
+ description: Channel identifier
596
+ schema:
597
+ type: string
598
+ format: uuid
599
+ Limit:
600
+ name: limit
601
+ in: query
602
+ description: Number of items to return
603
+ schema:
604
+ type: integer
605
+ minimum: 1
606
+ maximum: 100
607
+ default: 20
608
+ Offset:
609
+ name: offset
610
+ in: query
611
+ description: Number of items to skip
612
+ schema:
613
+ type: integer
614
+ minimum: 0
615
+ default: 0
616
+
617
+ schemas:
618
+ # Message Schemas
619
+ SendMessageRequest:
620
+ type: object
621
+ required:
622
+ - to
623
+ - from
624
+ - type
625
+ - payload
626
+ properties:
627
+ to:
628
+ type: string
629
+ format: uri
630
+ description: Target agent URI (e.g., agent://worker-001)
631
+ pattern: '^agent://[a-z0-9]([-a-z0-9]*[a-z0-9])?$'
632
+ from:
633
+ type: string
634
+ format: uri
635
+ description: Source agent URI
636
+ pattern: '^agent://[a-z0-9]([-a-z0-9]*[a-z0-9])?$'
637
+ type:
638
+ $ref: '#/components/schemas/MessageType'
639
+ payload:
640
+ $ref: '#/components/schemas/MessagePayload'
641
+ correlationId:
642
+ type: string
643
+ description: Correlation ID for request/reply pattern
644
+ timeout:
645
+ type: integer
646
+ description: Message timeout in milliseconds
647
+ minimum: 1000
648
+ maximum: 300000
649
+ default: 30000
650
+ priority:
651
+ type: string
652
+ enum: [low, normal, high, critical]
653
+ default: normal
654
+ webhookUrl:
655
+ type: string
656
+ format: uri
657
+ description: URL for async response delivery
658
+
659
+ MessageType:
660
+ type: string
661
+ enum:
662
+ - TaskAssigned
663
+ - TaskCompleted
664
+ - TaskFailed
665
+ - QueryRequest
666
+ - QueryResponse
667
+ - AgentStarted
668
+ - AgentStopped
669
+ - AgentError
670
+ - Custom
671
+ description: |
672
+ Standard message types for A2A communication:
673
+ - TaskAssigned: Assign a task to an agent
674
+ - TaskCompleted: Notify task completion
675
+ - TaskFailed: Notify task failure
676
+ - QueryRequest: Request information from an agent
677
+ - QueryResponse: Response to a query request
678
+ - AgentStarted: Agent lifecycle event (started)
679
+ - AgentStopped: Agent lifecycle event (stopped)
680
+ - AgentError: Agent error notification
681
+ - Custom: Custom application-specific message type
682
+
683
+ MessagePayload:
684
+ type: object
685
+ description: |
686
+ Message payload structure varies by message type. See schemas for each type.
687
+ additionalProperties: true
688
+
689
+ Message:
690
+ type: object
691
+ required:
692
+ - id
693
+ - to
694
+ - from
695
+ - type
696
+ - payload
697
+ - status
698
+ - createdAt
699
+ properties:
700
+ id:
701
+ type: string
702
+ format: uuid
703
+ description: Unique message identifier
704
+ to:
705
+ type: string
706
+ format: uri
707
+ description: Target agent URI
708
+ from:
709
+ type: string
710
+ format: uri
711
+ description: Source agent URI
712
+ type:
713
+ $ref: '#/components/schemas/MessageType'
714
+ payload:
715
+ $ref: '#/components/schemas/MessagePayload'
716
+ correlationId:
717
+ type: string
718
+ description: Correlation ID for request/reply pattern
719
+ status:
720
+ type: string
721
+ enum: [pending, delivered, acknowledged, failed]
722
+ description: Message delivery status
723
+ priority:
724
+ type: string
725
+ enum: [low, normal, high, critical]
726
+ createdAt:
727
+ type: string
728
+ format: date-time
729
+ description: Message creation timestamp
730
+ deliveredAt:
731
+ type: string
732
+ format: date-time
733
+ description: Message delivery timestamp
734
+ acknowledgedAt:
735
+ type: string
736
+ format: date-time
737
+ description: Message acknowledgment timestamp
738
+ error:
739
+ type: string
740
+ description: Error message if status is failed
741
+
742
+ MessageResponse:
743
+ type: object
744
+ required:
745
+ - messageId
746
+ - status
747
+ properties:
748
+ messageId:
749
+ type: string
750
+ format: uuid
751
+ description: Unique message identifier
752
+ status:
753
+ type: string
754
+ enum: [accepted, queued]
755
+ description: Initial message status
756
+ estimatedDelivery:
757
+ type: string
758
+ format: date-time
759
+ description: Estimated delivery time
760
+
761
+ # Channel Schemas
762
+ CreateChannelRequest:
763
+ type: object
764
+ required:
765
+ - name
766
+ - topic
767
+ properties:
768
+ name:
769
+ type: string
770
+ pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$'
771
+ description: Channel name (lowercase, hyphen-separated)
772
+ topic:
773
+ type: string
774
+ description: Topic pattern (supports wildcards, e.g., tasks.*.updates)
775
+ description:
776
+ type: string
777
+ retentionPolicy:
778
+ $ref: '#/components/schemas/RetentionPolicy'
779
+ accessControl:
780
+ $ref: '#/components/schemas/AccessControl'
781
+
782
+ Channel:
783
+ type: object
784
+ required:
785
+ - id
786
+ - name
787
+ - topic
788
+ - createdAt
789
+ properties:
790
+ id:
791
+ type: string
792
+ format: uuid
793
+ name:
794
+ type: string
795
+ topic:
796
+ type: string
797
+ description:
798
+ type: string
799
+ subscriberCount:
800
+ type: integer
801
+ minimum: 0
802
+ messageCount:
803
+ type: integer
804
+ minimum: 0
805
+ retentionPolicy:
806
+ $ref: '#/components/schemas/RetentionPolicy'
807
+ accessControl:
808
+ $ref: '#/components/schemas/AccessControl'
809
+ createdAt:
810
+ type: string
811
+ format: date-time
812
+ updatedAt:
813
+ type: string
814
+ format: date-time
815
+
816
+ ChannelsList:
817
+ type: object
818
+ properties:
819
+ channels:
820
+ type: array
821
+ items:
822
+ $ref: '#/components/schemas/Channel'
823
+ total:
824
+ type: integer
825
+ limit:
826
+ type: integer
827
+ offset:
828
+ type: integer
829
+
830
+ RetentionPolicy:
831
+ type: object
832
+ properties:
833
+ retentionDays:
834
+ type: integer
835
+ minimum: 1
836
+ maximum: 365
837
+ default: 7
838
+ description: Number of days to retain messages
839
+ maxMessages:
840
+ type: integer
841
+ minimum: 100
842
+ default: 10000
843
+ description: Maximum number of messages to retain
844
+
845
+ AccessControl:
846
+ type: object
847
+ properties:
848
+ public:
849
+ type: boolean
850
+ default: false
851
+ description: Whether channel is publicly accessible
852
+ allowedAgents:
853
+ type: array
854
+ items:
855
+ type: string
856
+ description: List of agent URIs allowed to access channel
857
+
858
+ # Subscription Schemas
859
+ SubscribeRequest:
860
+ type: object
861
+ required:
862
+ - agentId
863
+ - deliveryMode
864
+ properties:
865
+ agentId:
866
+ type: string
867
+ format: uri
868
+ pattern: '^agent://[a-z0-9]([-a-z0-9]*[a-z0-9])?$'
869
+ description: Subscribing agent URI
870
+ deliveryMode:
871
+ type: string
872
+ enum: [push, pull]
873
+ description: Message delivery mode (push=webhook, pull=polling)
874
+ webhookUrl:
875
+ type: string
876
+ format: uri
877
+ description: Webhook URL (required if deliveryMode=push)
878
+ filter:
879
+ $ref: '#/components/schemas/SubscriptionFilter'
880
+
881
+ SubscriptionFilter:
882
+ type: object
883
+ properties:
884
+ messageTypes:
885
+ type: array
886
+ items:
887
+ $ref: '#/components/schemas/MessageType'
888
+ description: Filter by message types
889
+ agentFilter:
890
+ type: string
891
+ description: Filter by source agent pattern (supports wildcards)
892
+
893
+ Subscription:
894
+ type: object
895
+ required:
896
+ - id
897
+ - channelId
898
+ - agentId
899
+ - deliveryMode
900
+ - createdAt
901
+ properties:
902
+ id:
903
+ type: string
904
+ format: uuid
905
+ channelId:
906
+ type: string
907
+ format: uuid
908
+ agentId:
909
+ type: string
910
+ format: uri
911
+ deliveryMode:
912
+ type: string
913
+ enum: [push, pull]
914
+ webhookUrl:
915
+ type: string
916
+ format: uri
917
+ filter:
918
+ $ref: '#/components/schemas/SubscriptionFilter'
919
+ status:
920
+ type: string
921
+ enum: [active, paused, failed]
922
+ createdAt:
923
+ type: string
924
+ format: date-time
925
+ lastDeliveryAt:
926
+ type: string
927
+ format: date-time
928
+
929
+ # Publish Schemas
930
+ PublishMessageRequest:
931
+ type: object
932
+ required:
933
+ - type
934
+ - payload
935
+ properties:
936
+ type:
937
+ $ref: '#/components/schemas/MessageType'
938
+ payload:
939
+ $ref: '#/components/schemas/MessagePayload'
940
+ attributes:
941
+ type: object
942
+ additionalProperties:
943
+ type: string
944
+ description: Custom message attributes
945
+
946
+ PublishResponse:
947
+ type: object
948
+ properties:
949
+ messageId:
950
+ type: string
951
+ format: uuid
952
+ publishedAt:
953
+ type: string
954
+ format: date-time
955
+ subscriberCount:
956
+ type: integer
957
+ description: Number of subscribers message was delivered to
958
+
959
+ # Webhook Schemas
960
+ WebhookRegistration:
961
+ type: object
962
+ required:
963
+ - url
964
+ - agentId
965
+ properties:
966
+ url:
967
+ type: string
968
+ format: uri
969
+ description: Webhook endpoint URL
970
+ agentId:
971
+ type: string
972
+ format: uri
973
+ pattern: '^agent://[a-z0-9]([-a-z0-9]*[a-z0-9])?$'
974
+ description:
975
+ type: string
976
+ events:
977
+ type: array
978
+ items:
979
+ $ref: '#/components/schemas/MessageType'
980
+ description: Event types to deliver to this webhook
981
+
982
+ # Health Schema
983
+ HealthStatus:
984
+ type: object
985
+ properties:
986
+ status:
987
+ type: string
988
+ enum: [healthy, degraded, unhealthy]
989
+ version:
990
+ type: string
991
+ uptime:
992
+ type: integer
993
+ timestamp:
994
+ type: string
995
+ format: date-time
996
+ checks:
997
+ type: object
998
+ additionalProperties:
999
+ type: object
1000
+ properties:
1001
+ status:
1002
+ type: string
1003
+ enum: [pass, fail]
1004
+ message:
1005
+ type: string
1006
+
1007
+ # Error Schema (RFC7807)
1008
+ Problem:
1009
+ type: object
1010
+ description: RFC7807 Problem Details
1011
+ required:
1012
+ - type
1013
+ - title
1014
+ - status
1015
+ - traceId
1016
+ properties:
1017
+ type:
1018
+ type: string
1019
+ format: uri
1020
+ default: about:blank
1021
+ title:
1022
+ type: string
1023
+ status:
1024
+ type: integer
1025
+ format: int32
1026
+ detail:
1027
+ type: string
1028
+ instance:
1029
+ type: string
1030
+ format: uri
1031
+ traceId:
1032
+ type: string
1033
+ errors:
1034
+ type: object
1035
+ additionalProperties:
1036
+ type: array
1037
+ items:
1038
+ type: string
1039
+
1040
+ responses:
1041
+ HealthCheck:
1042
+ description: Service health status
1043
+ content:
1044
+ application/json:
1045
+ schema:
1046
+ $ref: '#/components/schemas/HealthStatus'
1047
+
1048
+ ValidationError:
1049
+ description: Validation error
1050
+ content:
1051
+ application/problem+json:
1052
+ schema:
1053
+ $ref: '#/components/schemas/Problem'
1054
+
1055
+ Unauthorized:
1056
+ description: Unauthorized
1057
+ content:
1058
+ application/problem+json:
1059
+ schema:
1060
+ $ref: '#/components/schemas/Problem'
1061
+
1062
+ NotFound:
1063
+ description: Resource not found
1064
+ content:
1065
+ application/problem+json:
1066
+ schema:
1067
+ $ref: '#/components/schemas/Problem'
1068
+
1069
+ ServiceUnavailable:
1070
+ description: Service unavailable
1071
+ content:
1072
+ application/problem+json:
1073
+ schema:
1074
+ $ref: '#/components/schemas/Problem'
1075
+
1076
+ InternalServerError:
1077
+ description: Internal server error
1078
+ content:
1079
+ application/problem+json:
1080
+ schema:
1081
+ $ref: '#/components/schemas/Problem'
1082
+
1083
+ tags:
1084
+ - name: Messaging
1085
+ description: Direct agent-to-agent messaging
1086
+ - name: Channels
1087
+ description: Pub/sub channel management
1088
+ - name: Streaming
1089
+ description: Server-Sent Events streaming
1090
+ - name: Webhooks
1091
+ description: Webhook registration and management
1092
+ - name: Health
1093
+ description: Service health and status
1094
+
1095
+ x-ossa-metadata:
1096
+ version: 0.3.0
1097
+ specification: OSSA Agent Communication Standards
1098
+ compliance:
1099
+ level: standard
1100
+ frameworks:
1101
+ - OSSA v0.3.0
1102
+ - OpenAPI 3.1
1103
+ - RFC7807
1104
+ patterns:
1105
+ - Point-to-point messaging
1106
+ - Pub/sub channels
1107
+ - Request/reply
1108
+ - Server-Sent Events
1109
+ - Webhooks
1110
+ deliveryGuarantees:
1111
+ - At-least-once delivery
1112
+ - Message acknowledgment
1113
+ - Retry with exponential backoff