@bluefly/openstandardagents 0.3.2 → 0.3.3

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 (1060) hide show
  1. package/CHANGELOG.md +37 -1990
  2. package/README.md +163 -392
  3. package/dist/adapters/anthropic/runtime.d.ts +1 -1
  4. package/dist/adapters/anthropic/runtime.d.ts.map +1 -1
  5. package/dist/adapters/anthropic/runtime.js +1 -1
  6. package/dist/adapters/anthropic/runtime.js.map +1 -1
  7. package/dist/adapters/crewai-adapter.d.ts.map +1 -1
  8. package/dist/adapters/crewai-adapter.js +0 -1
  9. package/dist/adapters/crewai-adapter.js.map +1 -1
  10. package/dist/adapters/langchain-adapter.d.ts.map +1 -1
  11. package/dist/adapters/langchain-adapter.js +0 -1
  12. package/dist/adapters/langchain-adapter.js.map +1 -1
  13. package/dist/adapters/langflow-adapter.js +1 -1
  14. package/dist/adapters/langflow-adapter.js.map +1 -1
  15. package/dist/adapters/langfuse.adapter.d.ts +30 -0
  16. package/dist/adapters/langfuse.adapter.d.ts.map +1 -0
  17. package/dist/adapters/langfuse.adapter.js +61 -0
  18. package/dist/adapters/langfuse.adapter.js.map +1 -0
  19. package/dist/adapters/langsmith.adapter.d.ts +29 -0
  20. package/dist/adapters/langsmith.adapter.d.ts.map +1 -0
  21. package/dist/adapters/langsmith.adapter.js +60 -0
  22. package/dist/adapters/langsmith.adapter.js.map +1 -0
  23. package/dist/adapters/openapi-adapter.d.ts.map +1 -1
  24. package/dist/adapters/openapi-adapter.js +19 -15
  25. package/dist/adapters/openapi-adapter.js.map +1 -1
  26. package/dist/adapters/opentelemetry.adapter.d.ts +136 -0
  27. package/dist/adapters/opentelemetry.adapter.d.ts.map +1 -0
  28. package/dist/adapters/opentelemetry.adapter.js +239 -0
  29. package/dist/adapters/opentelemetry.adapter.js.map +1 -0
  30. package/dist/adapters/phoenix.adapter.d.ts +28 -0
  31. package/dist/adapters/phoenix.adapter.d.ts.map +1 -0
  32. package/dist/adapters/phoenix.adapter.js +63 -0
  33. package/dist/adapters/phoenix.adapter.js.map +1 -0
  34. package/dist/bot/ci-pipeline-bot.d.ts +1 -1
  35. package/dist/bot/ci-pipeline-bot.d.ts.map +1 -1
  36. package/dist/bot/ci-pipeline-bot.js +1 -1
  37. package/dist/bot/ci-pipeline-bot.js.map +1 -1
  38. package/dist/bot/compliance-bot.d.ts.map +1 -1
  39. package/dist/bot/compliance-bot.js +1 -1
  40. package/dist/bot/compliance-bot.js.map +1 -1
  41. package/dist/cli/commands/agent-card.command.d.ts +4 -0
  42. package/dist/cli/commands/agent-card.command.d.ts.map +1 -1
  43. package/dist/cli/commands/agent-card.command.js +9 -7
  44. package/dist/cli/commands/agent-card.command.js.map +1 -1
  45. package/dist/cli/commands/agents-md.command.d.ts.map +1 -1
  46. package/dist/cli/commands/agents-md.command.js +9 -11
  47. package/dist/cli/commands/agents-md.command.js.map +1 -1
  48. package/dist/cli/commands/agents.command.js +3 -3
  49. package/dist/cli/commands/agents.command.js.map +1 -1
  50. package/dist/cli/commands/catalog/config.d.ts +54 -0
  51. package/dist/cli/commands/catalog/config.d.ts.map +1 -0
  52. package/dist/cli/commands/catalog/config.js +113 -0
  53. package/dist/cli/commands/catalog/config.js.map +1 -0
  54. package/dist/cli/commands/catalog/convert.command.d.ts +8 -0
  55. package/dist/cli/commands/catalog/convert.command.d.ts.map +1 -0
  56. package/dist/cli/commands/catalog/convert.command.js +106 -0
  57. package/dist/cli/commands/catalog/convert.command.js.map +1 -0
  58. package/dist/cli/commands/catalog/diff.command.d.ts +8 -0
  59. package/dist/cli/commands/catalog/diff.command.d.ts.map +1 -0
  60. package/dist/cli/commands/catalog/diff.command.js +76 -0
  61. package/dist/cli/commands/catalog/diff.command.js.map +1 -0
  62. package/dist/cli/commands/catalog/index.d.ts +19 -0
  63. package/dist/cli/commands/catalog/index.d.ts.map +1 -0
  64. package/dist/cli/commands/catalog/index.js +40 -0
  65. package/dist/cli/commands/catalog/index.js.map +1 -0
  66. package/dist/cli/commands/catalog/list.command.d.ts +8 -0
  67. package/dist/cli/commands/catalog/list.command.d.ts.map +1 -0
  68. package/dist/cli/commands/catalog/list.command.js +101 -0
  69. package/dist/cli/commands/catalog/list.command.js.map +1 -0
  70. package/dist/cli/commands/catalog/pull.command.d.ts +8 -0
  71. package/dist/cli/commands/catalog/pull.command.d.ts.map +1 -0
  72. package/dist/cli/commands/catalog/pull.command.js +87 -0
  73. package/dist/cli/commands/catalog/pull.command.js.map +1 -0
  74. package/dist/cli/commands/catalog/push.command.d.ts +8 -0
  75. package/dist/cli/commands/catalog/push.command.d.ts.map +1 -0
  76. package/dist/cli/commands/catalog/push.command.js +98 -0
  77. package/dist/cli/commands/catalog/push.command.js.map +1 -0
  78. package/dist/cli/commands/catalog/schemas.d.ts +62 -0
  79. package/dist/cli/commands/catalog/schemas.d.ts.map +1 -0
  80. package/dist/cli/commands/catalog/schemas.js +55 -0
  81. package/dist/cli/commands/catalog/schemas.js.map +1 -0
  82. package/dist/cli/commands/catalog/sync.command.d.ts +8 -0
  83. package/dist/cli/commands/catalog/sync.command.d.ts.map +1 -0
  84. package/dist/cli/commands/catalog/sync.command.js +69 -0
  85. package/dist/cli/commands/catalog/sync.command.js.map +1 -0
  86. package/dist/cli/commands/catalog/validate.command.d.ts +8 -0
  87. package/dist/cli/commands/catalog/validate.command.d.ts.map +1 -0
  88. package/dist/cli/commands/catalog/validate.command.js +140 -0
  89. package/dist/cli/commands/catalog/validate.command.js.map +1 -0
  90. package/dist/cli/commands/compliance.command.d.ts +19 -0
  91. package/dist/cli/commands/compliance.command.d.ts.map +1 -0
  92. package/dist/cli/commands/compliance.command.js +218 -0
  93. package/dist/cli/commands/compliance.command.js.map +1 -0
  94. package/dist/cli/commands/contract.command.d.ts +5 -0
  95. package/dist/cli/commands/contract.command.d.ts.map +1 -1
  96. package/dist/cli/commands/contract.command.js +40 -63
  97. package/dist/cli/commands/contract.command.js.map +1 -1
  98. package/dist/cli/commands/dependencies.command.d.ts +5 -0
  99. package/dist/cli/commands/dependencies.command.d.ts.map +1 -1
  100. package/dist/cli/commands/dependencies.command.js +58 -108
  101. package/dist/cli/commands/dependencies.command.js.map +1 -1
  102. package/dist/cli/commands/diff.command.d.ts +4 -0
  103. package/dist/cli/commands/diff.command.d.ts.map +1 -1
  104. package/dist/cli/commands/diff.command.js +10 -10
  105. package/dist/cli/commands/diff.command.js.map +1 -1
  106. package/dist/cli/commands/docs.command.d.ts.map +1 -1
  107. package/dist/cli/commands/docs.command.js +2 -1
  108. package/dist/cli/commands/docs.command.js.map +1 -1
  109. package/dist/cli/commands/export.command.d.ts.map +1 -1
  110. package/dist/cli/commands/export.command.js +2 -2
  111. package/dist/cli/commands/export.command.js.map +1 -1
  112. package/dist/cli/commands/extension-team.command.d.ts +15 -0
  113. package/dist/cli/commands/extension-team.command.d.ts.map +1 -0
  114. package/dist/cli/commands/extension-team.command.js +117 -0
  115. package/dist/cli/commands/extension-team.command.js.map +1 -0
  116. package/dist/cli/commands/framework.command.d.ts +9 -0
  117. package/dist/cli/commands/framework.command.d.ts.map +1 -0
  118. package/dist/cli/commands/framework.command.js +179 -0
  119. package/dist/cli/commands/framework.command.js.map +1 -0
  120. package/dist/cli/commands/generate.command.d.ts.map +1 -1
  121. package/dist/cli/commands/generate.command.js +15 -8
  122. package/dist/cli/commands/generate.command.js.map +1 -1
  123. package/dist/cli/commands/github-sync.command.js +2 -2
  124. package/dist/cli/commands/github-sync.command.js.map +1 -1
  125. package/dist/cli/commands/import.command.d.ts.map +1 -1
  126. package/dist/cli/commands/import.command.js +2 -2
  127. package/dist/cli/commands/import.command.js.map +1 -1
  128. package/dist/cli/commands/install.command.d.ts.map +1 -1
  129. package/dist/cli/commands/install.command.js +3 -1
  130. package/dist/cli/commands/install.command.js.map +1 -1
  131. package/dist/cli/commands/langchain.command.d.ts +9 -0
  132. package/dist/cli/commands/langchain.command.d.ts.map +1 -0
  133. package/dist/cli/commands/langchain.command.js +110 -0
  134. package/dist/cli/commands/langchain.command.js.map +1 -0
  135. package/dist/cli/commands/langflow.command.d.ts +9 -0
  136. package/dist/cli/commands/langflow.command.d.ts.map +1 -0
  137. package/dist/cli/commands/langflow.command.js +111 -0
  138. package/dist/cli/commands/langflow.command.js.map +1 -0
  139. package/dist/cli/commands/lint.command.d.ts +5 -0
  140. package/dist/cli/commands/lint.command.d.ts.map +1 -1
  141. package/dist/cli/commands/lint.command.js +13 -57
  142. package/dist/cli/commands/lint.command.js.map +1 -1
  143. package/dist/cli/commands/llms-txt.command.d.ts +7 -0
  144. package/dist/cli/commands/llms-txt.command.d.ts.map +1 -0
  145. package/dist/cli/commands/llms-txt.command.js +119 -0
  146. package/dist/cli/commands/llms-txt.command.js.map +1 -0
  147. package/dist/cli/commands/migrate.command.js +4 -4
  148. package/dist/cli/commands/migrate.command.js.map +1 -1
  149. package/dist/cli/commands/publish.command.d.ts.map +1 -1
  150. package/dist/cli/commands/publish.command.js.map +1 -1
  151. package/dist/cli/commands/quickstart.command.d.ts.map +1 -1
  152. package/dist/cli/commands/quickstart.command.js +4 -10
  153. package/dist/cli/commands/quickstart.command.js.map +1 -1
  154. package/dist/cli/commands/registry.command.d.ts +4 -0
  155. package/dist/cli/commands/registry.command.d.ts.map +1 -1
  156. package/dist/cli/commands/registry.command.js +11 -12
  157. package/dist/cli/commands/registry.command.js.map +1 -1
  158. package/dist/cli/commands/scaffold.command.d.ts +19 -0
  159. package/dist/cli/commands/scaffold.command.d.ts.map +1 -0
  160. package/dist/cli/commands/scaffold.command.js +182 -0
  161. package/dist/cli/commands/scaffold.command.js.map +1 -0
  162. package/dist/cli/commands/schema.command.d.ts +4 -0
  163. package/dist/cli/commands/schema.command.d.ts.map +1 -1
  164. package/dist/cli/commands/schema.command.js +8 -5
  165. package/dist/cli/commands/schema.command.js.map +1 -1
  166. package/dist/cli/commands/setup.command.d.ts.map +1 -1
  167. package/dist/cli/commands/setup.command.js +23 -24
  168. package/dist/cli/commands/setup.command.js.map +1 -1
  169. package/dist/cli/commands/standardize.command.d.ts +19 -0
  170. package/dist/cli/commands/standardize.command.d.ts.map +1 -0
  171. package/dist/cli/commands/standardize.command.js +275 -0
  172. package/dist/cli/commands/standardize.command.js.map +1 -0
  173. package/dist/cli/commands/sync.command.js +3 -3
  174. package/dist/cli/commands/sync.command.js.map +1 -1
  175. package/dist/cli/commands/test.command.d.ts +8 -0
  176. package/dist/cli/commands/test.command.d.ts.map +1 -1
  177. package/dist/cli/commands/test.command.js +83 -15
  178. package/dist/cli/commands/test.command.js.map +1 -1
  179. package/dist/cli/commands/validate.command.d.ts +4 -0
  180. package/dist/cli/commands/validate.command.d.ts.map +1 -1
  181. package/dist/cli/commands/validate.command.js +30 -1
  182. package/dist/cli/commands/validate.command.js.map +1 -1
  183. package/dist/cli/commands/workspace.command.d.ts.map +1 -1
  184. package/dist/cli/commands/workspace.command.js +32 -42
  185. package/dist/cli/commands/workspace.command.js.map +1 -1
  186. package/dist/cli/extensions/gitlab-release.commands.d.ts +19 -0
  187. package/dist/cli/extensions/gitlab-release.commands.d.ts.map +1 -0
  188. package/dist/cli/extensions/gitlab-release.commands.js +341 -0
  189. package/dist/cli/extensions/gitlab-release.commands.js.map +1 -0
  190. package/dist/cli/extensions/gitlab.extension.d.ts +24 -0
  191. package/dist/cli/extensions/gitlab.extension.d.ts.map +1 -0
  192. package/dist/cli/extensions/gitlab.extension.js +64 -0
  193. package/dist/cli/extensions/gitlab.extension.js.map +1 -0
  194. package/dist/cli/extensions/index.d.ts +63 -0
  195. package/dist/cli/extensions/index.d.ts.map +1 -0
  196. package/dist/cli/extensions/index.js +181 -0
  197. package/dist/cli/extensions/index.js.map +1 -0
  198. package/dist/cli/index.d.ts +11 -1
  199. package/dist/cli/index.d.ts.map +1 -1
  200. package/dist/cli/index.js +111 -35
  201. package/dist/cli/index.js.map +1 -1
  202. package/dist/cli/utils/error-formatter.js +6 -6
  203. package/dist/cli/utils/error-formatter.js.map +1 -1
  204. package/dist/cli/utils/gitlab-config.d.ts +94 -0
  205. package/dist/cli/utils/gitlab-config.d.ts.map +1 -0
  206. package/dist/cli/utils/gitlab-config.js +180 -0
  207. package/dist/cli/utils/gitlab-config.js.map +1 -0
  208. package/dist/cli/utils/index.d.ts +11 -0
  209. package/dist/cli/utils/index.d.ts.map +1 -0
  210. package/dist/cli/utils/index.js +15 -0
  211. package/dist/cli/utils/index.js.map +1 -0
  212. package/dist/cli/utils/manifest-loader.d.ts +77 -0
  213. package/dist/cli/utils/manifest-loader.d.ts.map +1 -0
  214. package/dist/cli/utils/manifest-loader.js +153 -0
  215. package/dist/cli/utils/manifest-loader.js.map +1 -0
  216. package/dist/cli/utils/output.d.ts +134 -0
  217. package/dist/cli/utils/output.d.ts.map +1 -0
  218. package/dist/cli/utils/output.js +200 -0
  219. package/dist/cli/utils/output.js.map +1 -0
  220. package/dist/config/defaults.d.ts +138 -0
  221. package/dist/config/defaults.d.ts.map +1 -0
  222. package/dist/config/defaults.js +223 -0
  223. package/dist/config/defaults.js.map +1 -0
  224. package/dist/dev-cli/schemas/spec.schema.d.ts +38 -0
  225. package/dist/dev-cli/schemas/spec.schema.d.ts.map +1 -0
  226. package/dist/dev-cli/schemas/spec.schema.js +36 -0
  227. package/dist/dev-cli/schemas/spec.schema.js.map +1 -0
  228. package/dist/dev-cli/schemas/version.schema.d.ts +82 -0
  229. package/dist/dev-cli/schemas/version.schema.d.ts.map +1 -0
  230. package/dist/dev-cli/schemas/version.schema.js +83 -0
  231. package/dist/dev-cli/schemas/version.schema.js.map +1 -0
  232. package/dist/dev-cli/services/version-audit.service.d.ts +31 -0
  233. package/dist/dev-cli/services/version-audit.service.d.ts.map +1 -0
  234. package/dist/dev-cli/services/version-audit.service.js +168 -0
  235. package/dist/dev-cli/services/version-audit.service.js.map +1 -0
  236. package/dist/dev-cli/src/commands/release-prep.command.d.ts +12 -0
  237. package/dist/dev-cli/src/commands/release-prep.command.d.ts.map +1 -0
  238. package/dist/dev-cli/src/commands/release-prep.command.js +112 -0
  239. package/dist/dev-cli/src/commands/release-prep.command.js.map +1 -0
  240. package/dist/dev-cli/src/commands/release.command.d.ts +9 -0
  241. package/dist/dev-cli/src/commands/release.command.d.ts.map +1 -0
  242. package/dist/dev-cli/src/commands/release.command.js +112 -0
  243. package/dist/dev-cli/src/commands/release.command.js.map +1 -0
  244. package/dist/dev-cli/src/commands/spec.command.d.ts +9 -0
  245. package/dist/dev-cli/src/commands/spec.command.d.ts.map +1 -0
  246. package/dist/dev-cli/src/commands/spec.command.js +85 -0
  247. package/dist/dev-cli/src/commands/spec.command.js.map +1 -0
  248. package/dist/dev-cli/src/commands/version.command.d.ts +9 -0
  249. package/dist/dev-cli/src/commands/version.command.d.ts.map +1 -0
  250. package/dist/dev-cli/src/commands/version.command.js +114 -0
  251. package/dist/dev-cli/src/commands/version.command.js.map +1 -0
  252. package/dist/dev-cli/src/commands/workflow.command.d.ts +8 -0
  253. package/dist/dev-cli/src/commands/workflow.command.d.ts.map +1 -0
  254. package/dist/dev-cli/src/commands/workflow.command.js +93 -0
  255. package/dist/dev-cli/src/commands/workflow.command.js.map +1 -0
  256. package/dist/dev-cli/src/index.d.ts +14 -0
  257. package/dist/dev-cli/src/index.d.ts.map +1 -0
  258. package/dist/dev-cli/src/index.js +35 -0
  259. package/dist/dev-cli/src/index.js.map +1 -0
  260. package/dist/dev-cli/src/schemas/release-prep.schema.d.ts +112 -0
  261. package/dist/dev-cli/src/schemas/release-prep.schema.d.ts.map +1 -0
  262. package/dist/dev-cli/src/schemas/release-prep.schema.js +76 -0
  263. package/dist/dev-cli/src/schemas/release-prep.schema.js.map +1 -0
  264. package/dist/dev-cli/src/schemas/release.schema.d.ts +146 -0
  265. package/dist/dev-cli/src/schemas/release.schema.d.ts.map +1 -0
  266. package/dist/dev-cli/src/schemas/release.schema.js +77 -0
  267. package/dist/dev-cli/src/schemas/release.schema.js.map +1 -0
  268. package/dist/dev-cli/src/schemas/spec.schema.d.ts +34 -0
  269. package/dist/dev-cli/src/schemas/spec.schema.d.ts.map +1 -0
  270. package/dist/dev-cli/src/schemas/spec.schema.js +30 -0
  271. package/dist/dev-cli/src/schemas/spec.schema.js.map +1 -0
  272. package/dist/dev-cli/src/schemas/version.schema.d.ts +53 -0
  273. package/dist/dev-cli/src/schemas/version.schema.d.ts.map +1 -0
  274. package/dist/dev-cli/src/schemas/version.schema.js +43 -0
  275. package/dist/dev-cli/src/schemas/version.schema.js.map +1 -0
  276. package/dist/dev-cli/src/services/release-prep.service.d.ts +55 -0
  277. package/dist/dev-cli/src/services/release-prep.service.d.ts.map +1 -0
  278. package/dist/dev-cli/src/services/release-prep.service.js +492 -0
  279. package/dist/dev-cli/src/services/release-prep.service.js.map +1 -0
  280. package/dist/dev-cli/src/services/release-verify.service.d.ts +49 -0
  281. package/dist/dev-cli/src/services/release-verify.service.d.ts.map +1 -0
  282. package/dist/dev-cli/src/services/release-verify.service.js +385 -0
  283. package/dist/dev-cli/src/services/release-verify.service.js.map +1 -0
  284. package/dist/dev-cli/src/services/spec-generate.service.d.ts +18 -0
  285. package/dist/dev-cli/src/services/spec-generate.service.d.ts.map +1 -0
  286. package/dist/dev-cli/src/services/spec-generate.service.js +49 -0
  287. package/dist/dev-cli/src/services/spec-generate.service.js.map +1 -0
  288. package/dist/dev-cli/src/services/spec-validate.service.d.ts +17 -0
  289. package/dist/dev-cli/src/services/spec-validate.service.d.ts.map +1 -0
  290. package/dist/dev-cli/src/services/spec-validate.service.js +52 -0
  291. package/dist/dev-cli/src/services/spec-validate.service.js.map +1 -0
  292. package/dist/dev-cli/src/services/version-release.service.d.ts +17 -0
  293. package/dist/dev-cli/src/services/version-release.service.d.ts.map +1 -0
  294. package/dist/dev-cli/src/services/version-release.service.js +80 -0
  295. package/dist/dev-cli/src/services/version-release.service.js.map +1 -0
  296. package/dist/dev-cli/src/services/version-sync.service.d.ts +21 -0
  297. package/dist/dev-cli/src/services/version-sync.service.d.ts.map +1 -0
  298. package/dist/dev-cli/src/services/version-sync.service.js +98 -0
  299. package/dist/dev-cli/src/services/version-sync.service.js.map +1 -0
  300. package/dist/dev-cli/src/services/version-validate.service.d.ts +17 -0
  301. package/dist/dev-cli/src/services/version-validate.service.d.ts.map +1 -0
  302. package/dist/dev-cli/src/services/version-validate.service.js +52 -0
  303. package/dist/dev-cli/src/services/version-validate.service.js.map +1 -0
  304. package/dist/di-container.d.ts.map +1 -1
  305. package/dist/di-container.js +14 -3
  306. package/dist/di-container.js.map +1 -1
  307. package/dist/messaging/broker.d.ts +1 -1
  308. package/dist/messaging/broker.js +1 -1
  309. package/dist/messaging/channels.d.ts +1 -1
  310. package/dist/messaging/channels.js +1 -1
  311. package/dist/messaging/index.d.ts +1 -1
  312. package/dist/messaging/index.js +1 -1
  313. package/dist/messaging/protocols/memory.d.ts +1 -1
  314. package/dist/messaging/protocols/memory.js +1 -1
  315. package/dist/messaging/protocols/redis.d.ts +1 -1
  316. package/dist/messaging/protocols/redis.js +1 -1
  317. package/dist/messaging/types.d.ts +2 -2
  318. package/dist/messaging/types.js +1 -1
  319. package/dist/repositories/manifest.repository.d.ts +1 -1
  320. package/dist/repositories/manifest.repository.d.ts.map +1 -1
  321. package/dist/repositories/manifest.repository.js +18 -13
  322. package/dist/repositories/manifest.repository.js.map +1 -1
  323. package/dist/repositories/schema.repository.d.ts +2 -2
  324. package/dist/repositories/schema.repository.d.ts.map +1 -1
  325. package/dist/repositories/schema.repository.js +1 -1
  326. package/dist/runtime/crewai.runtime.d.ts +30 -0
  327. package/dist/runtime/crewai.runtime.d.ts.map +1 -0
  328. package/dist/runtime/crewai.runtime.js +106 -0
  329. package/dist/runtime/crewai.runtime.js.map +1 -0
  330. package/dist/runtime/langchain.runtime.d.ts +32 -0
  331. package/dist/runtime/langchain.runtime.d.ts.map +1 -0
  332. package/dist/runtime/langchain.runtime.js +75 -0
  333. package/dist/runtime/langchain.runtime.js.map +1 -0
  334. package/dist/runtime/langflow.runtime.d.ts +65 -0
  335. package/dist/runtime/langflow.runtime.d.ts.map +1 -0
  336. package/dist/runtime/langflow.runtime.js +140 -0
  337. package/dist/runtime/langflow.runtime.js.map +1 -0
  338. package/dist/sdks/index.d.ts +15 -0
  339. package/dist/sdks/index.d.ts.map +1 -0
  340. package/dist/sdks/index.js +17 -0
  341. package/dist/sdks/index.js.map +1 -0
  342. package/dist/sdks/python-generator/index.d.ts +18 -0
  343. package/dist/sdks/python-generator/index.d.ts.map +1 -0
  344. package/dist/sdks/python-generator/index.js +13 -0
  345. package/dist/sdks/python-generator/index.js.map +1 -0
  346. package/dist/sdks/shared/index.d.ts +24 -0
  347. package/dist/sdks/shared/index.d.ts.map +1 -0
  348. package/dist/sdks/shared/index.js +28 -0
  349. package/dist/sdks/shared/index.js.map +1 -0
  350. package/dist/sdks/shared/manifest-loader.d.ts +41 -0
  351. package/dist/sdks/shared/manifest-loader.d.ts.map +1 -0
  352. package/dist/sdks/shared/manifest-loader.js +45 -0
  353. package/dist/sdks/shared/manifest-loader.js.map +1 -0
  354. package/dist/sdks/shared/schema-validator.d.ts +34 -0
  355. package/dist/sdks/shared/schema-validator.d.ts.map +1 -0
  356. package/dist/sdks/shared/schema-validator.js +101 -0
  357. package/dist/sdks/shared/schema-validator.js.map +1 -0
  358. package/dist/sdks/shared/types.d.ts +43 -0
  359. package/dist/sdks/shared/types.d.ts.map +1 -0
  360. package/dist/sdks/shared/types.js +27 -0
  361. package/dist/sdks/shared/types.js.map +1 -0
  362. package/dist/sdks/shared/validation.d.ts +52 -0
  363. package/dist/sdks/shared/validation.d.ts.map +1 -0
  364. package/dist/sdks/shared/validation.js +37 -0
  365. package/dist/sdks/shared/validation.js.map +1 -0
  366. package/dist/sdks/typescript/client.d.ts +44 -0
  367. package/dist/sdks/typescript/client.d.ts.map +1 -0
  368. package/dist/sdks/typescript/client.js +51 -0
  369. package/dist/sdks/typescript/client.js.map +1 -0
  370. package/dist/sdks/typescript/events/cloudevents-emitter.d.ts.map +1 -0
  371. package/dist/sdks/typescript/events/cloudevents-emitter.js.map +1 -0
  372. package/dist/sdks/typescript/events/index.d.ts.map +1 -0
  373. package/dist/sdks/typescript/events/index.js.map +1 -0
  374. package/dist/sdks/typescript/index.d.ts +31 -0
  375. package/dist/sdks/typescript/index.d.ts.map +1 -0
  376. package/dist/sdks/typescript/index.js +36 -0
  377. package/dist/sdks/typescript/index.js.map +1 -0
  378. package/dist/sdks/typescript/manifest.d.ts +36 -0
  379. package/dist/sdks/typescript/manifest.d.ts.map +1 -0
  380. package/dist/sdks/typescript/manifest.js +85 -0
  381. package/dist/sdks/typescript/manifest.js.map +1 -0
  382. package/dist/sdks/typescript/tracing/index.d.ts.map +1 -0
  383. package/dist/sdks/typescript/tracing/index.js.map +1 -0
  384. package/dist/sdks/typescript/tracing/w3c-baggage.d.ts.map +1 -0
  385. package/dist/sdks/typescript/tracing/w3c-baggage.js.map +1 -0
  386. package/dist/sdks/typescript/types.d.ts +145 -0
  387. package/dist/sdks/typescript/types.d.ts.map +1 -0
  388. package/dist/sdks/typescript/types.js +51 -0
  389. package/dist/sdks/typescript/types.js.map +1 -0
  390. package/dist/sdks/typescript/validator.d.ts +26 -0
  391. package/dist/sdks/typescript/validator.d.ts.map +1 -0
  392. package/dist/sdks/typescript/validator.js +58 -0
  393. package/dist/sdks/typescript/validator.js.map +1 -0
  394. package/dist/services/agent-services/qdrant.service.js +2 -2
  395. package/dist/services/agent-services/qdrant.service.js.map +1 -1
  396. package/dist/services/codegen/codegen.service.d.ts +4 -2
  397. package/dist/services/codegen/codegen.service.d.ts.map +1 -1
  398. package/dist/services/codegen/codegen.service.js +8 -2
  399. package/dist/services/codegen/codegen.service.js.map +1 -1
  400. package/dist/services/codegen/generators/openapi-zod.generator.d.ts +79 -0
  401. package/dist/services/codegen/generators/openapi-zod.generator.d.ts.map +1 -0
  402. package/dist/services/codegen/generators/openapi-zod.generator.js +476 -0
  403. package/dist/services/codegen/generators/openapi-zod.generator.js.map +1 -0
  404. package/dist/services/codegen/generators/vscode.generator.js +1 -1
  405. package/dist/services/codegen/generators/zod.generator.d.ts.map +1 -1
  406. package/dist/services/codegen/generators/zod.generator.js +2 -1
  407. package/dist/services/codegen/generators/zod.generator.js.map +1 -1
  408. package/dist/services/codegen/index.d.ts +2 -0
  409. package/dist/services/codegen/index.d.ts.map +1 -1
  410. package/dist/services/codegen/index.js +2 -0
  411. package/dist/services/codegen/index.js.map +1 -1
  412. package/dist/services/extension-team/extension-team-kickoff.service.d.ts +85 -0
  413. package/dist/services/extension-team/extension-team-kickoff.service.d.ts.map +1 -0
  414. package/dist/services/extension-team/extension-team-kickoff.service.js +121 -0
  415. package/dist/services/extension-team/extension-team-kickoff.service.js.map +1 -0
  416. package/dist/services/framework-import/langchain-importer.service.d.ts +55 -0
  417. package/dist/services/framework-import/langchain-importer.service.d.ts.map +1 -0
  418. package/dist/services/framework-import/langchain-importer.service.js +149 -0
  419. package/dist/services/framework-import/langchain-importer.service.js.map +1 -0
  420. package/dist/services/framework-import/langflow-importer.service.d.ts +85 -0
  421. package/dist/services/framework-import/langflow-importer.service.d.ts.map +1 -0
  422. package/dist/services/framework-import/langflow-importer.service.js +260 -0
  423. package/dist/services/framework-import/langflow-importer.service.js.map +1 -0
  424. package/dist/services/github-sync/sync.service.js +2 -2
  425. package/dist/services/llms-txt/llms-txt.service.d.ts +59 -0
  426. package/dist/services/llms-txt/llms-txt.service.d.ts.map +1 -0
  427. package/dist/services/llms-txt/llms-txt.service.js +509 -0
  428. package/dist/services/llms-txt/llms-txt.service.js.map +1 -0
  429. package/dist/services/messaging/example.js +15 -15
  430. package/dist/services/messaging/example.js.map +1 -1
  431. package/dist/services/release-automation/generate-changelog.d.ts +7 -0
  432. package/dist/services/release-automation/generate-changelog.d.ts.map +1 -0
  433. package/dist/services/release-automation/generate-changelog.js +286 -0
  434. package/dist/services/release-automation/generate-changelog.js.map +1 -0
  435. package/dist/services/release-automation/increment-dev-tag.d.ts +7 -0
  436. package/dist/services/release-automation/increment-dev-tag.d.ts.map +1 -0
  437. package/dist/services/release-automation/increment-dev-tag.js +156 -0
  438. package/dist/services/release-automation/increment-dev-tag.js.map +1 -0
  439. package/dist/services/release-automation/release-buttons.d.ts +7 -0
  440. package/dist/services/release-automation/release-buttons.d.ts.map +1 -0
  441. package/dist/services/release-automation/release-buttons.js +165 -0
  442. package/dist/services/release-automation/release-buttons.js.map +1 -0
  443. package/dist/services/release-automation/schemas/release.schema.d.ts +2 -2
  444. package/dist/services/release-automation/tag.service.d.ts +3 -3
  445. package/dist/services/validation-zod.service.d.ts +36 -0
  446. package/dist/services/validation-zod.service.d.ts.map +1 -0
  447. package/dist/services/validation-zod.service.js +328 -0
  448. package/dist/services/validation-zod.service.js.map +1 -0
  449. package/dist/services/validation.service.js +1 -1
  450. package/dist/services/validation.service.js.map +1 -1
  451. package/dist/services/validators/contract.validator.d.ts +6 -5
  452. package/dist/services/validators/contract.validator.d.ts.map +1 -1
  453. package/dist/services/validators/contract.validator.js +6 -6
  454. package/dist/services/validators/contract.validator.js.map +1 -1
  455. package/dist/services/validators/dependencies.validator.js.map +1 -1
  456. package/dist/spec/examples/reference-agents/compliance-auditor/manifest.ossa.yaml +527 -0
  457. package/dist/spec/examples/reference-agents/doc-agent/manifest.ossa.yaml +776 -0
  458. package/dist/spec/examples/reference-agents/mr-reviewer/manifest.ossa.yaml +249 -0
  459. package/dist/spec/examples/reference-agents/mr-reviewer/system-prompt.md +154 -0
  460. package/dist/spec/examples/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +548 -0
  461. package/dist/spec/examples/reference-agents/ossa-validator-v0.3/system-prompt.md +135 -0
  462. package/dist/spec/examples/reference-agents/pipeline-fixer/manifest.ossa.yaml +336 -0
  463. package/dist/spec/examples/reference-agents/release-orchestrator/README.md +35 -0
  464. package/dist/spec/examples/reference-agents/release-orchestrator/manifest.ossa.yaml +233 -0
  465. package/dist/spec/extensions/a2a-messaging.md +5 -5
  466. package/dist/spec/extensions/manifest-extensions.md +4 -4
  467. package/dist/spec/extensions/openapi/ossa-openapi-extensions.schema.json +10 -10
  468. package/dist/spec/extensions/skills-compatibility.md +292 -0
  469. package/dist/spec/registry/README.md +1 -1
  470. package/dist/spec/registry/registry-spec.md +6 -6
  471. package/dist/spec/v0.3.2/MIGRATION-v0.3.1-to-v0.3.2.md +19 -19
  472. package/dist/spec/v0.3.2/UNIFIED-SCHEMA.md +3 -3
  473. package/dist/spec/v0.3.2/access_tiers.yaml +2 -2
  474. package/dist/spec/v0.3.2/adapters/drupal.md +7 -7
  475. package/dist/spec/v0.3.2/adapters/symfony.md +4 -4
  476. package/dist/spec/v0.3.2/agent-test.schema.json +2 -2
  477. package/dist/spec/v0.3.2/examples/access-tiers/README.md +4 -4
  478. package/dist/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +8 -22
  479. package/dist/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +11 -29
  480. package/dist/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +9 -27
  481. package/dist/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +4 -23
  482. package/dist/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +9 -24
  483. package/dist/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +5 -10
  484. package/dist/spec/v0.3.2/examples/drupal-content-writer.ossa.yaml +31 -50
  485. package/dist/spec/v0.3.2/examples/drupal-moderation-assistant.ossa.yaml +27 -43
  486. package/dist/spec/v0.3.2/examples/multi-provider-identity.ossa.yaml +4 -35
  487. package/dist/spec/v0.3.2/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +5 -18
  488. package/dist/spec/v0.3.2/examples/tasks/data-transform.ossa.yaml +37 -47
  489. package/dist/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +21 -43
  490. package/dist/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +59 -76
  491. package/dist/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +80 -92
  492. package/dist/spec/v0.3.2/extensions/agent-identity.yaml +3 -3
  493. package/dist/spec/v0.3.2/extensions/drupal.md +5 -5
  494. package/dist/spec/v0.3.2/infrastructure/service-ports.yaml +1 -1
  495. package/dist/spec/v0.3.2/ossa-0.3.2.schema.json +86 -15
  496. package/dist/spec/v0.3.2/protocols/delegation.yaml +1 -1
  497. package/dist/spec/v0.3.2/protocols/websocket.md +2 -2
  498. package/dist/spec/v0.3.2/runtime/RUNTIME.md +3 -3
  499. package/dist/spec/v0.3.2/runtime/memory-model.yaml +4 -4
  500. package/dist/spec/v0.3.2/runtime/runtime.yaml +4 -4
  501. package/dist/spec/v0.3.2/schemas/agent-unified.yaml +2 -2
  502. package/dist/spec/v0.3.2/schemas/capabilities.yaml +2 -2
  503. package/dist/spec/v0.3.2/schemas/functions.yaml +2 -2
  504. package/dist/spec/v0.3.2/schemas/messaging/channel.schema.json +2 -2
  505. package/dist/spec/v0.3.2/schemas/messaging/delivery-receipt.schema.json +2 -2
  506. package/dist/spec/v0.3.2/schemas/messaging/message.schema.json +3 -3
  507. package/dist/spec/v0.3.2/schemas/messaging/subscription.schema.json +2 -2
  508. package/dist/spec/v0.3.2/schemas/runtime.yaml +2 -2
  509. package/dist/spec/v0.3.2/schemas/taxonomy.yaml +3 -3
  510. package/dist/spec/v0.3.2/schemas/unified-llm.yaml +2 -2
  511. package/dist/spec/v0.3.2/taxonomy.yaml +2 -2
  512. package/dist/spec/v0.3.3/MIGRATION-v0.3.2-to-v0.3.3.md +117 -0
  513. package/dist/spec/{v0.3.0 → v0.3.3}/UNIFIED-SCHEMA.md +3 -3
  514. package/dist/spec/v0.3.3/access_tiers.yaml +375 -0
  515. package/{spec/v0.3.0 → dist/spec/v0.3.3}/adapters/drupal.md +7 -7
  516. package/dist/spec/{v0.3.0 → v0.3.3}/adapters/symfony.md +4 -4
  517. package/{spec/v0.3.0 → dist/spec/v0.3.3}/agent-test.schema.json +2 -2
  518. package/dist/spec/v0.3.3/examples/access-tiers/README.md +106 -0
  519. package/dist/spec/v0.3.3/examples/access-tiers/code-critic.ossa.yaml +105 -0
  520. package/dist/spec/v0.3.3/examples/access-tiers/compliance-governor.ossa.yaml +216 -0
  521. package/dist/spec/v0.3.3/examples/access-tiers/deployment-operator.ossa.yaml +183 -0
  522. package/dist/spec/v0.3.3/examples/access-tiers/doc-generator.ossa.yaml +98 -0
  523. package/dist/spec/v0.3.3/examples/access-tiers/security-scanner.ossa.yaml +118 -0
  524. package/dist/spec/v0.3.3/examples/agent-with-identity.ossa.yaml +63 -0
  525. package/dist/spec/{v0.3.0 → v0.3.3}/examples/drupal-content-writer.ossa.yaml +31 -50
  526. package/dist/spec/{v0.3.0 → v0.3.3}/examples/drupal-moderation-assistant.ossa.yaml +27 -43
  527. package/dist/spec/v0.3.3/examples/multi-provider-identity.ossa.yaml +205 -0
  528. package/dist/spec/{v0.3.0 → v0.3.3}/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +5 -18
  529. package/dist/spec/v0.3.3/examples/tasks/data-transform.ossa.yaml +137 -0
  530. package/dist/spec/v0.3.3/examples/tasks/publish-content.ossa.yaml +103 -0
  531. package/dist/spec/v0.3.3/examples/workflows/content-publishing.ossa.yaml +173 -0
  532. package/dist/spec/v0.3.3/examples/workflows/deployment-pipeline.ossa.yaml +235 -0
  533. package/dist/spec/v0.3.3/extensions/agent-identity.yaml +594 -0
  534. package/dist/spec/v0.3.3/extensions/agents-md.md +1219 -0
  535. package/dist/spec/v0.3.3/extensions/autogen.md +1124 -0
  536. package/dist/spec/v0.3.3/extensions/bedrock-agents.md +1320 -0
  537. package/dist/spec/v0.3.3/extensions/crewai.md +1575 -0
  538. package/dist/spec/v0.3.3/extensions/dify.md +1461 -0
  539. package/dist/spec/{v0.3.0 → v0.3.3}/extensions/drupal.md +5 -5
  540. package/dist/spec/v0.3.3/extensions/langchain.md +1092 -0
  541. package/dist/spec/v0.3.3/extensions/langflow.md +1055 -0
  542. package/dist/spec/v0.3.3/extensions/llamaindex.md +1519 -0
  543. package/dist/spec/v0.3.3/extensions/llms-txt.md +295 -0
  544. package/dist/spec/v0.3.3/extensions/openai-assistants.md +1632 -0
  545. package/dist/spec/v0.3.3/extensions/openai-swarm.md +1400 -0
  546. package/dist/spec/v0.3.3/extensions/opentelemetry.md +360 -0
  547. package/dist/spec/v0.3.3/extensions/semantic-kernel.md +1360 -0
  548. package/dist/spec/v0.3.3/extensions/vercel-ai.md +1197 -0
  549. package/dist/spec/v0.3.3/infrastructure/service-ports.yaml +324 -0
  550. package/dist/spec/v0.3.3/ossa-0.3.3.schema.json +9773 -0
  551. package/dist/spec/v0.3.3/protocols/delegation.yaml +239 -0
  552. package/dist/spec/{v0.3.0 → v0.3.3}/protocols/websocket.md +2 -2
  553. package/dist/spec/v0.3.3/runtime/RUNTIME.md +457 -0
  554. package/dist/spec/v0.3.3/runtime/memory-model.yaml +871 -0
  555. package/dist/spec/v0.3.3/runtime/runtime.yaml +926 -0
  556. package/dist/spec/{v0.3.0 → v0.3.3}/schemas/agent-unified.yaml +2 -2
  557. package/dist/spec/{v0.3.0 → v0.3.3}/schemas/capabilities.yaml +2 -2
  558. package/dist/spec/{v0.3.0 → v0.3.3}/schemas/functions.yaml +2 -2
  559. package/dist/spec/{v0.3.0 → v0.3.3}/schemas/messaging/channel.schema.json +2 -2
  560. package/dist/spec/{v0.3.0 → v0.3.3}/schemas/messaging/delivery-receipt.schema.json +2 -2
  561. package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/messaging/message.schema.json +3 -3
  562. package/dist/spec/{v0.3.0 → v0.3.3}/schemas/messaging/subscription.schema.json +2 -2
  563. package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/runtime.yaml +2 -2
  564. package/dist/spec/{v0.3.0 → v0.3.3}/schemas/taxonomy.yaml +3 -3
  565. package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/unified-llm.yaml +2 -2
  566. package/{spec/v0.3.0 → dist/spec/v0.3.3}/taxonomy.yaml +114 -7
  567. package/dist/types/generated/ossa-0.3.2.types.d.ts +4 -4
  568. package/dist/types/generated/ossa-0.3.2.types.js +2 -2
  569. package/dist/types/generated/ossa-0.3.2.zod.d.ts +4 -4
  570. package/dist/types/generated/ossa-0.3.2.zod.js +3 -3
  571. package/dist/types/generated/ossa-0.3.3.types.d.ts +367 -0
  572. package/dist/types/generated/ossa-0.3.3.types.d.ts.map +1 -0
  573. package/dist/types/generated/ossa-0.3.3.types.js +10 -0
  574. package/dist/types/generated/ossa-0.3.3.types.js.map +1 -0
  575. package/dist/types/generated/ossa-0.3.3.zod.d.ts +36 -0
  576. package/dist/types/generated/ossa-0.3.3.zod.d.ts.map +1 -0
  577. package/dist/types/generated/ossa-0.3.3.zod.js +25 -0
  578. package/dist/types/generated/ossa-0.3.3.zod.js.map +1 -0
  579. package/dist/types/identity.d.ts +405 -0
  580. package/dist/types/identity.d.ts.map +1 -0
  581. package/dist/types/identity.js +12 -0
  582. package/dist/types/identity.js.map +1 -0
  583. package/dist/types/identity.zod.d.ts +622 -0
  584. package/dist/types/identity.zod.d.ts.map +1 -0
  585. package/dist/types/identity.zod.js +263 -0
  586. package/dist/types/identity.zod.js.map +1 -0
  587. package/dist/types/index.d.ts +67 -0
  588. package/dist/types/index.d.ts.map +1 -1
  589. package/dist/types/llms-txt.zod.d.ts +320 -0
  590. package/dist/types/llms-txt.zod.d.ts.map +1 -0
  591. package/dist/types/llms-txt.zod.js +80 -0
  592. package/dist/types/llms-txt.zod.js.map +1 -0
  593. package/dist/types/personality.d.ts +141 -0
  594. package/dist/types/personality.d.ts.map +1 -0
  595. package/dist/types/personality.js +72 -0
  596. package/dist/types/personality.js.map +1 -0
  597. package/dist/types/personality.zod.d.ts +483 -0
  598. package/dist/types/personality.zod.d.ts.map +1 -0
  599. package/dist/types/personality.zod.js +160 -0
  600. package/dist/types/personality.zod.js.map +1 -0
  601. package/dist/types/prompts.d.ts +219 -0
  602. package/dist/types/prompts.d.ts.map +1 -0
  603. package/dist/types/prompts.js +163 -0
  604. package/dist/types/prompts.js.map +1 -0
  605. package/dist/types/prompts.zod.d.ts +252 -0
  606. package/dist/types/prompts.zod.d.ts.map +1 -0
  607. package/dist/types/prompts.zod.js +105 -0
  608. package/dist/types/prompts.zod.js.map +1 -0
  609. package/dist/utils/index.d.ts +1 -0
  610. package/dist/utils/index.d.ts.map +1 -1
  611. package/dist/utils/index.js +1 -0
  612. package/dist/utils/index.js.map +1 -1
  613. package/dist/utils/type-guards.d.ts +59 -0
  614. package/dist/utils/type-guards.d.ts.map +1 -0
  615. package/dist/utils/type-guards.js +170 -0
  616. package/dist/utils/type-guards.js.map +1 -0
  617. package/dist/utils/version.js +3 -3
  618. package/dist/utils/version.js.map +1 -1
  619. package/examples/adapters/drupal-eca-mapping.yaml +1 -1
  620. package/examples/adapters/drupal-eca-task.yaml +1 -1
  621. package/examples/adapters/drupal-flowdrop-mapping.yaml +1 -1
  622. package/examples/adapters/drupal-maestro-mapping.yaml +1 -1
  623. package/examples/adapters/mistral-agent.yaml +1 -1
  624. package/examples/adapters/symfony-messenger-task.yaml +1 -1
  625. package/examples/adapters/symfony-messenger-workflow.yaml +1 -1
  626. package/examples/adk-integration/code-review-workflow.yml +1 -1
  627. package/examples/adk-integration/customer-support.yml +1 -1
  628. package/examples/adk-integration/data-pipeline.yml +1 -1
  629. package/examples/advanced/reasoning-agent.yaml +1 -1
  630. package/examples/advanced/workflows/hybrid-model-strategy.yaml +1 -1
  631. package/examples/agent-manifests/critics/critic-agent.yaml +1 -1
  632. package/examples/agent-manifests/governors/governor-agent.yaml +1 -1
  633. package/examples/agent-manifests/integrators/integrator-agent.yaml +1 -1
  634. package/examples/agent-manifests/judges/judge-agent.yaml +1 -1
  635. package/examples/agent-manifests/monitors/monitor-agent.yaml +1 -1
  636. package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +1 -1
  637. package/examples/agent-manifests/sample-compliant-agent.yaml +1 -1
  638. package/examples/agent-manifests/workers/worker-agent.yaml +1 -1
  639. package/examples/agents/architecture-healer-enterprise.yaml +1 -1
  640. package/examples/agents/dependency-healer-npm.yaml +1 -1
  641. package/examples/agents/spec-healer-openapi.yaml +1 -1
  642. package/examples/agents/wiki-healer-production.yaml +1 -1
  643. package/examples/agents-md/code-agent.ossa.json +1 -1
  644. package/examples/agents-md/monorepo-agent.ossa.yaml +123 -104
  645. package/examples/anthropic/claude-assistant.ossa.json +1 -1
  646. package/examples/autogen/multi-agent.ossa.json +1 -1
  647. package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +13 -13
  648. package/examples/claude-code/code-reviewer.ossa.yaml +55 -47
  649. package/examples/claude-code/ossa-validator.ossa.yaml +62 -58
  650. package/examples/common_npm/agent-router.ossa.yaml +49 -171
  651. package/examples/contracts/data-consumer.ossa.yaml +2 -2
  652. package/examples/contracts/data-producer-v2.ossa.yaml +4 -4
  653. package/examples/contracts/data-producer.ossa.yaml +4 -4
  654. package/examples/crewai/research-team.ossa.json +1 -1
  655. package/examples/cursor/code-review-agent.ossa.json +1 -1
  656. package/examples/drupal/ai_agents_ossa-module/.agents/example-agent/agent.ossa.yaml +7 -11
  657. package/examples/drupal/gitlab-ml-recommender.ossa.yaml +53 -594
  658. package/examples/extensions/agents-md-advanced.yml +1 -1
  659. package/examples/extensions/agents-md-basic.yml +1 -1
  660. package/examples/extensions/agents-md-sync.yml +1 -1
  661. package/examples/extensions/agents-md-v1.yml +1 -1
  662. package/examples/extensions/drupal-v1.yml +1 -1
  663. package/examples/extensions/encryption-multi-provider.yaml +4 -4
  664. package/examples/extensions/kagent-v1.yml +1 -1
  665. package/examples/extensions/knowledge-sources.yaml +1 -1
  666. package/examples/extensions/mcp-full-featured.yaml +1 -1
  667. package/examples/getting-started/01-minimal-agent.ossa.yaml +24 -349
  668. package/examples/getting-started/02-agent-with-tools.ossa.yaml +187 -824
  669. package/examples/getting-started/03-agent-with-safety.ossa.yaml +66 -797
  670. package/examples/getting-started/04-agent-with-messaging.ossa.yaml +317 -754
  671. package/examples/getting-started/05-workflow-composition.ossa.yaml +98 -154
  672. package/examples/getting-started/hello-world-complete.ossa.yaml +61 -216
  673. package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +75 -336
  674. package/examples/kagent/compliance-validator.ossa.yaml +40 -51
  675. package/examples/kagent/cost-optimizer.ossa.yaml +30 -42
  676. package/examples/kagent/documentation-agent.ossa.yaml +29 -41
  677. package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +80 -263
  678. package/examples/kagent/k8s-troubleshooter.ossa.yaml +69 -224
  679. package/examples/kagent/security-scanner.ossa.yaml +54 -110
  680. package/examples/langchain/chain-agent.ossa.json +1 -1
  681. package/examples/langflow/workflow-agent.ossa.json +1 -1
  682. package/examples/langgraph/state-machine-agent.ossa.json +1 -1
  683. package/examples/llamaindex/rag-agent.ossa.json +1 -1
  684. package/examples/messaging/dependency-healer.ossa.yaml +2 -2
  685. package/examples/messaging/incident-responder.ossa.yaml +2 -2
  686. package/examples/messaging/routing-rules.ossa.yaml +2 -109
  687. package/examples/messaging/security-scanner.ossa.yaml +248 -241
  688. package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
  689. package/examples/multi-agent/conditional-router.ossa.yaml +32 -32
  690. package/examples/multi-agent/parallel-execution.ossa.yaml +43 -43
  691. package/examples/multi-agent/sequential-pipeline.ossa.yaml +35 -35
  692. package/examples/observability/activity-stream-full.yaml +1 -1
  693. package/examples/openai/basic-agent.ossa.yaml +33 -34
  694. package/examples/openai/multi-tool-agent.ossa.json +1 -1
  695. package/examples/openai/swarm-agent.ossa.json +1 -1
  696. package/examples/ossa-templates/01-code-assistant.ossa.yaml +114 -0
  697. package/examples/ossa-templates/02-security-scanner.ossa.yaml +103 -0
  698. package/examples/ossa-templates/03-ci-pipeline.ossa.yaml +100 -0
  699. package/examples/ossa-templates/04-code-reviewer.ossa.yaml +116 -0
  700. package/examples/ossa-templates/05-doc-generator.ossa.yaml +102 -0
  701. package/examples/ossa-templates/06-compliance-validator.ossa.yaml +132 -0
  702. package/examples/ossa-templates/07-workflow-orchestrator.ossa.yaml +110 -0
  703. package/examples/ossa-templates/08-content-writer.ossa.yaml +136 -0
  704. package/examples/ossa-templates/09-test-generator.ossa.yaml +113 -0
  705. package/examples/ossa-templates/10-data-transformer.ossa.yaml +102 -0
  706. package/examples/ossa-templates/README.md +98 -0
  707. package/examples/production/document-analyzer-openai.yml +1 -1
  708. package/examples/quickstart/support-agent.ossa.yaml +27 -29
  709. package/examples/rag-agent/index.ts +1 -1
  710. package/examples/real-world/gitlab-cicd-optimizer.ossa.yaml +2 -1
  711. package/examples/real-world/rag-documentation-assistant.ossa.yaml +2 -1
  712. package/examples/reference-implementations/typescript-client/package.json +1 -1
  713. package/examples/runtime-adapters/bedrock-claude-example.ossa.yaml +54 -420
  714. package/examples/schema/reusable-components.yaml +1 -1
  715. package/examples/showcase/ci-pipeline.ossa.yaml +27 -31
  716. package/examples/showcase/code-assistant.ossa.yaml +51 -65
  717. package/examples/showcase/code-reviewer.ossa.yaml +28 -31
  718. package/examples/showcase/compliance-validator.ossa.yaml +31 -32
  719. package/examples/showcase/content-writer.ossa.yaml +35 -32
  720. package/examples/showcase/data-transformer.ossa.yaml +35 -37
  721. package/examples/showcase/doc-generator.ossa.yaml +33 -35
  722. package/examples/showcase/security-scanner.ossa.yaml +33 -32
  723. package/examples/showcase/test-generator.ossa.yaml +25 -51
  724. package/examples/showcase/workflow-orchestrator.ossa.yaml +63 -78
  725. package/examples/tasks/batch-email-sender.yaml +1 -1
  726. package/examples/tasks/data-transform.yaml +1 -1
  727. package/examples/tasks/publish-content.yaml +1 -1
  728. package/examples/templates/ossa-compliance.yaml +1 -1
  729. package/examples/unified/security-scanner.ossa.yaml +224 -227
  730. package/examples/vercel/edge-agent.ossa.json +1 -1
  731. package/examples/workflows/batch-email-campaign.yaml +1 -1
  732. package/examples/workflows/content-review-publish.yaml +1 -1
  733. package/examples/workflows/simple-etl.yaml +1 -1
  734. package/junit.xml +1469 -0
  735. package/openapi/agent-communication.yaml +4 -45
  736. package/openapi/agent-crud.yaml +13 -65
  737. package/openapi/agent-discovery.yaml +3 -3
  738. package/openapi/agent-identity.yaml +8 -8
  739. package/openapi/cli-commands.openapi.yaml +1316 -110
  740. package/openapi/core/ossa-core-api.openapi.yaml +19 -257
  741. package/openapi/core/ossa-registry-api.openapi.yaml +1 -1
  742. package/openapi/core/ossa-registry.openapi.yaml +5 -36
  743. package/openapi/core/unified-agent-gateway.openapi.yaml +1 -1
  744. package/openapi/dev-cli.openapi.yml +867 -0
  745. package/openapi/github-sync.yaml +1 -1
  746. package/openapi/protocols/sse-streams.yaml +1 -1
  747. package/openapi/protocols/websocket-events.yaml +2 -2
  748. package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +3 -3
  749. package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +1 -1
  750. package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +1 -1
  751. package/openapi/reference-implementations/critic-agent-api.openapi.yaml +1 -1
  752. package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +1 -1
  753. package/openapi/reference-implementations/drupal-agent-api.openapi.yaml +1 -1
  754. package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +1 -1
  755. package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +3 -3
  756. package/openapi/reference-implementations/governor-agent-api.openapi.yaml +1 -1
  757. package/openapi/reference-implementations/helm-generator.openapi.yaml +1 -1
  758. package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +1 -1
  759. package/openapi/reference-implementations/judge-agent-api.openapi.yaml +1 -1
  760. package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +1 -1
  761. package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +1 -1
  762. package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +1 -1
  763. package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +1 -1
  764. package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +3 -3
  765. package/openapi/reference-implementations/self-evolving-ecosystem.openapi.yaml +1 -1
  766. package/openapi/reference-implementations/worker-agent-api.openapi.yaml +1 -1
  767. package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +1 -1
  768. package/openapi/schemas/common/agent.yaml +229 -0
  769. package/openapi/schemas/common/errors.yaml +75 -0
  770. package/openapi/schemas/common/metadata.yaml +62 -0
  771. package/openapi/schemas/common/pagination.yaml +72 -0
  772. package/openapi/schemas/common/security.yaml +88 -0
  773. package/openapi/schemas/index.yaml +88 -0
  774. package/package.json +29 -21
  775. package/spec/examples/reference-agents/compliance-auditor/manifest.ossa.yaml +527 -0
  776. package/spec/examples/reference-agents/doc-agent/manifest.ossa.yaml +776 -0
  777. package/spec/examples/reference-agents/mr-reviewer/manifest.ossa.yaml +249 -0
  778. package/spec/examples/reference-agents/mr-reviewer/system-prompt.md +154 -0
  779. package/spec/examples/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +548 -0
  780. package/spec/examples/reference-agents/ossa-validator-v0.3/system-prompt.md +135 -0
  781. package/spec/examples/reference-agents/pipeline-fixer/manifest.ossa.yaml +336 -0
  782. package/spec/examples/reference-agents/release-orchestrator/README.md +35 -0
  783. package/spec/examples/reference-agents/release-orchestrator/manifest.ossa.yaml +233 -0
  784. package/spec/extensions/a2a-messaging.md +5 -5
  785. package/spec/extensions/manifest-extensions.md +4 -4
  786. package/spec/extensions/openapi/ossa-openapi-extensions.schema.json +10 -10
  787. package/spec/extensions/skills-compatibility.md +292 -0
  788. package/spec/registry/README.md +1 -1
  789. package/spec/registry/registry-spec.md +6 -6
  790. package/spec/v0.3.2/MIGRATION-v0.3.1-to-v0.3.2.md +19 -19
  791. package/spec/v0.3.2/UNIFIED-SCHEMA.md +3 -3
  792. package/spec/v0.3.2/access_tiers.yaml +2 -2
  793. package/spec/v0.3.2/adapters/drupal.md +7 -7
  794. package/spec/v0.3.2/adapters/symfony.md +4 -4
  795. package/spec/v0.3.2/agent-test.schema.json +2 -2
  796. package/spec/v0.3.2/examples/access-tiers/README.md +4 -4
  797. package/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +8 -22
  798. package/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +11 -29
  799. package/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +9 -27
  800. package/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +4 -23
  801. package/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +9 -24
  802. package/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +5 -10
  803. package/spec/v0.3.2/examples/drupal-content-writer.ossa.yaml +31 -50
  804. package/spec/v0.3.2/examples/drupal-moderation-assistant.ossa.yaml +27 -43
  805. package/spec/v0.3.2/examples/multi-provider-identity.ossa.yaml +4 -35
  806. package/spec/v0.3.2/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +5 -18
  807. package/spec/v0.3.2/examples/tasks/data-transform.ossa.yaml +37 -47
  808. package/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +21 -43
  809. package/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +59 -76
  810. package/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +80 -92
  811. package/spec/v0.3.2/extensions/agent-identity.yaml +3 -3
  812. package/spec/v0.3.2/extensions/drupal.md +5 -5
  813. package/spec/v0.3.2/infrastructure/service-ports.yaml +1 -1
  814. package/spec/v0.3.2/ossa-0.3.2.schema.json +86 -15
  815. package/spec/v0.3.2/protocols/delegation.yaml +1 -1
  816. package/spec/v0.3.2/protocols/websocket.md +2 -2
  817. package/spec/v0.3.2/runtime/RUNTIME.md +3 -3
  818. package/spec/v0.3.2/runtime/memory-model.yaml +4 -4
  819. package/spec/v0.3.2/runtime/runtime.yaml +4 -4
  820. package/spec/v0.3.2/schemas/agent-unified.yaml +2 -2
  821. package/spec/v0.3.2/schemas/capabilities.yaml +2 -2
  822. package/spec/v0.3.2/schemas/functions.yaml +2 -2
  823. package/spec/v0.3.2/schemas/messaging/channel.schema.json +2 -2
  824. package/spec/v0.3.2/schemas/messaging/delivery-receipt.schema.json +2 -2
  825. package/spec/v0.3.2/schemas/messaging/message.schema.json +3 -3
  826. package/spec/v0.3.2/schemas/messaging/subscription.schema.json +2 -2
  827. package/spec/v0.3.2/schemas/runtime.yaml +2 -2
  828. package/spec/v0.3.2/schemas/taxonomy.yaml +3 -3
  829. package/spec/v0.3.2/schemas/unified-llm.yaml +2 -2
  830. package/spec/v0.3.2/taxonomy.yaml +2 -2
  831. package/spec/v0.3.3/MIGRATION-v0.3.2-to-v0.3.3.md +117 -0
  832. package/spec/{v0.3.0 → v0.3.3}/UNIFIED-SCHEMA.md +3 -3
  833. package/spec/v0.3.3/access_tiers.yaml +375 -0
  834. package/{dist/spec/v0.3.0 → spec/v0.3.3}/adapters/drupal.md +7 -7
  835. package/spec/{v0.3.0 → v0.3.3}/adapters/symfony.md +4 -4
  836. package/{dist/spec/v0.3.0 → spec/v0.3.3}/agent-test.schema.json +2 -2
  837. package/spec/v0.3.3/examples/access-tiers/README.md +106 -0
  838. package/spec/v0.3.3/examples/access-tiers/code-critic.ossa.yaml +105 -0
  839. package/spec/v0.3.3/examples/access-tiers/compliance-governor.ossa.yaml +216 -0
  840. package/spec/v0.3.3/examples/access-tiers/deployment-operator.ossa.yaml +183 -0
  841. package/spec/v0.3.3/examples/access-tiers/doc-generator.ossa.yaml +98 -0
  842. package/spec/v0.3.3/examples/access-tiers/security-scanner.ossa.yaml +118 -0
  843. package/spec/v0.3.3/examples/agent-with-identity.ossa.yaml +63 -0
  844. package/spec/{v0.3.0 → v0.3.3}/examples/drupal-content-writer.ossa.yaml +31 -50
  845. package/spec/{v0.3.0 → v0.3.3}/examples/drupal-moderation-assistant.ossa.yaml +27 -43
  846. package/spec/v0.3.3/examples/multi-provider-identity.ossa.yaml +205 -0
  847. package/spec/{v0.3.0 → v0.3.3}/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +5 -18
  848. package/spec/v0.3.3/examples/tasks/data-transform.ossa.yaml +137 -0
  849. package/spec/v0.3.3/examples/tasks/publish-content.ossa.yaml +103 -0
  850. package/spec/v0.3.3/examples/workflows/content-publishing.ossa.yaml +173 -0
  851. package/spec/v0.3.3/examples/workflows/deployment-pipeline.ossa.yaml +235 -0
  852. package/spec/v0.3.3/extensions/agent-identity.yaml +594 -0
  853. package/spec/v0.3.3/extensions/agents-md.md +1219 -0
  854. package/spec/v0.3.3/extensions/autogen.md +1124 -0
  855. package/spec/v0.3.3/extensions/bedrock-agents.md +1320 -0
  856. package/spec/v0.3.3/extensions/crewai.md +1575 -0
  857. package/spec/v0.3.3/extensions/dify.md +1461 -0
  858. package/spec/{v0.3.0 → v0.3.3}/extensions/drupal.md +5 -5
  859. package/spec/v0.3.3/extensions/langchain.md +1092 -0
  860. package/spec/v0.3.3/extensions/langflow.md +1055 -0
  861. package/spec/v0.3.3/extensions/llamaindex.md +1519 -0
  862. package/spec/v0.3.3/extensions/llms-txt.md +295 -0
  863. package/spec/v0.3.3/extensions/openai-assistants.md +1632 -0
  864. package/spec/v0.3.3/extensions/openai-swarm.md +1400 -0
  865. package/spec/v0.3.3/extensions/opentelemetry.md +360 -0
  866. package/spec/v0.3.3/extensions/semantic-kernel.md +1360 -0
  867. package/spec/v0.3.3/extensions/vercel-ai.md +1197 -0
  868. package/spec/v0.3.3/infrastructure/service-ports.yaml +324 -0
  869. package/spec/v0.3.3/ossa-0.3.3.schema.json +9773 -0
  870. package/spec/v0.3.3/protocols/a2a-communication.schema.json +897 -0
  871. package/spec/v0.3.3/protocols/delegation.yaml +239 -0
  872. package/spec/v0.3.3/protocols/identity-runtime.schema.json +482 -0
  873. package/spec/{v0.3.0 → v0.3.3}/protocols/websocket.md +2 -2
  874. package/spec/v0.3.3/runtime/RUNTIME.md +457 -0
  875. package/spec/v0.3.3/runtime/memory-model.yaml +871 -0
  876. package/spec/v0.3.3/runtime/runtime.yaml +926 -0
  877. package/spec/{v0.3.0 → v0.3.3}/schemas/agent-unified.yaml +2 -2
  878. package/spec/{v0.3.0 → v0.3.3}/schemas/capabilities.yaml +2 -2
  879. package/spec/{v0.3.0 → v0.3.3}/schemas/functions.yaml +2 -2
  880. package/spec/{v0.3.0 → v0.3.3}/schemas/messaging/channel.schema.json +2 -2
  881. package/spec/{v0.3.0 → v0.3.3}/schemas/messaging/delivery-receipt.schema.json +2 -2
  882. package/{dist/spec/v0.3.0 → spec/v0.3.3}/schemas/messaging/message.schema.json +3 -3
  883. package/spec/{v0.3.0 → v0.3.3}/schemas/messaging/subscription.schema.json +2 -2
  884. package/{dist/spec/v0.3.0 → spec/v0.3.3}/schemas/runtime.yaml +2 -2
  885. package/spec/{v0.3.0 → v0.3.3}/schemas/taxonomy.yaml +3 -3
  886. package/{dist/spec/v0.3.0 → spec/v0.3.3}/schemas/unified-llm.yaml +2 -2
  887. package/{dist/spec/v0.3.0 → spec/v0.3.3}/taxonomy.yaml +114 -7
  888. package/.devfile.yaml +0 -87
  889. package/.gitlab-ci-trigger +0 -1
  890. package/bin/ossa-dev +0 -42
  891. package/bin/ossa-export +0 -32
  892. package/bin/ossa-generate +0 -53
  893. package/bin/ossa-health +0 -40
  894. package/bin/ossa-init +0 -26
  895. package/bin/quickstart +0 -514
  896. package/bin/validate-ossa.ts +0 -273
  897. package/dist/cli/commands/release.command.d.ts +0 -8
  898. package/dist/cli/commands/release.command.d.ts.map +0 -1
  899. package/dist/cli/commands/release.command.js +0 -641
  900. package/dist/cli/commands/release.command.js.map +0 -1
  901. package/dist/sdk/events/cloudevents-emitter.d.ts.map +0 -1
  902. package/dist/sdk/events/cloudevents-emitter.js.map +0 -1
  903. package/dist/sdk/events/index.d.ts.map +0 -1
  904. package/dist/sdk/events/index.js.map +0 -1
  905. package/dist/sdk/tracing/index.d.ts.map +0 -1
  906. package/dist/sdk/tracing/index.js.map +0 -1
  907. package/dist/sdk/tracing/w3c-baggage.d.ts.map +0 -1
  908. package/dist/sdk/tracing/w3c-baggage.js.map +0 -1
  909. package/dist/spec/v0.1.9/agent-autonomous-extensions.json +0 -234
  910. package/dist/spec/v0.1.9/ecosystem-compliance.json +0 -235
  911. package/dist/spec/v0.1.9/ossa-v0.1.9.schema.json +0 -695
  912. package/dist/spec/v0.1.9/ossa-v0.1.9.schema.json.backup +0 -695
  913. package/dist/spec/v0.1.9/reasoning-compliance.json +0 -654
  914. package/dist/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
  915. package/dist/spec/v0.2.1/ossa-0.2.1.schema.json +0 -555
  916. package/dist/spec/v0.2.2/kagent-enhancements.json +0 -395
  917. package/dist/spec/v0.2.2/ossa-0.2.2.schema.json +0 -906
  918. package/dist/spec/v0.2.2/ossa-0.2.2.yaml +0 -448
  919. package/dist/spec/v0.2.2/ossa-reasoning-compliance-1.0.schema.json +0 -424
  920. package/dist/spec/v0.2.3/CHANGELOG.md +0 -176
  921. package/dist/spec/v0.2.3/README.md +0 -154
  922. package/dist/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +0 -343
  923. package/dist/spec/v0.2.3/ossa-0.2.3.schema.json +0 -1397
  924. package/dist/spec/v0.2.3/ossa-0.2.3.yaml +0 -448
  925. package/dist/spec/v0.2.4/CHANGELOG.md +0 -403
  926. package/dist/spec/v0.2.4/migrations/v0.2.3-to-v0.2.4.md +0 -599
  927. package/dist/spec/v0.2.4/ossa-0.2.4.schema.json +0 -1696
  928. package/dist/spec/v0.2.4/ossa-0.2.4.yaml +0 -581
  929. package/dist/spec/v0.2.5/CHANGELOG.md +0 -401
  930. package/dist/spec/v0.2.5/README.md +0 -72
  931. package/dist/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +0 -599
  932. package/dist/spec/v0.2.5/ossa-0.2.5.schema.json +0 -1696
  933. package/dist/spec/v0.2.5/ossa-0.2.5.yaml +0 -581
  934. package/dist/spec/v0.2.5-RC/CHANGELOG.md +0 -401
  935. package/dist/spec/v0.2.5-RC/README.md +0 -72
  936. package/dist/spec/v0.2.5-RC/migrations/v0.2.3-to-v0.2.4.md +0 -599
  937. package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +0 -1696
  938. package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +0 -581
  939. package/dist/spec/v0.2.6/CHANGELOG.md +0 -401
  940. package/dist/spec/v0.2.6/README.md +0 -72
  941. package/dist/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +0 -599
  942. package/dist/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +0 -65
  943. package/dist/spec/v0.2.6/ossa-0.2.6.schema.json +0 -1786
  944. package/dist/spec/v0.2.6/ossa-0.2.6.yaml +0 -581
  945. package/dist/spec/v0.2.6-dev/CHANGELOG.md +0 -164
  946. package/dist/spec/v0.2.6-dev/README.md +0 -75
  947. package/dist/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +0 -343
  948. package/dist/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +0 -599
  949. package/dist/spec/v0.2.6-dev/ossa-0.2.5.yaml +0 -581
  950. package/dist/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +0 -448
  951. package/dist/spec/v0.2.7/core/agentgraph.md +0 -324
  952. package/dist/spec/v0.2.7/resources/agentgraph.yaml +0 -135
  953. package/dist/spec/v0.2.8/CHANGELOG.md +0 -401
  954. package/dist/spec/v0.2.8/README.md +0 -72
  955. package/dist/spec/v0.2.8/migrations/v0.2.3-to-v0.2.4.md +0 -599
  956. package/dist/spec/v0.2.8/migrations/v0.2.5-RC-to-v0.2.6.md +0 -65
  957. package/dist/spec/v0.2.8/migrations/v0.2.6-to-v0.2.8.md +0 -81
  958. package/dist/spec/v0.2.8/ossa-0.2.8.schema.json +0 -3247
  959. package/dist/spec/v0.2.8/ossa-0.2.8.yaml +0 -581
  960. package/dist/spec/v0.2.9/a2a-protocol.md +0 -1337
  961. package/dist/spec/v0.2.9/agent.md +0 -1946
  962. package/dist/spec/v0.2.9/capabilities/index.yaml +0 -25
  963. package/dist/spec/v0.2.9/capabilities/memory.yaml +0 -251
  964. package/dist/spec/v0.2.9/capability-schema.md +0 -576
  965. package/dist/spec/v0.2.9/compliance-profiles.md +0 -533
  966. package/dist/spec/v0.2.9/conformance-testing.md +0 -1527
  967. package/dist/spec/v0.2.9/gitlab-duo-integration.md +0 -621
  968. package/dist/spec/v0.2.9/ossa-0.2.9.schema.json +0 -3699
  969. package/dist/spec/v0.2.9/runtime-semantics.md +0 -464
  970. package/dist/spec/v0.2.9/security-model.md +0 -1245
  971. package/dist/spec/v0.2.9/semantic-conventions.md +0 -347
  972. package/dist/spec/v0.2.9/types.ts +0 -522
  973. package/dist/spec/v0.3.0/ossa-0.3.0.schema.json +0 -2787
  974. package/examples/reference-implementations/curl-scripts/01-search-agents.sh +0 -72
  975. package/examples/reference-implementations/curl-scripts/02-get-agent-details.sh +0 -74
  976. package/examples/reference-implementations/curl-scripts/03-publish-agent.sh +0 -136
  977. package/examples/reference-implementations/curl-scripts/04-a2a-messaging.sh +0 -178
  978. package/examples/reference-implementations/curl-scripts/05-discovery.sh +0 -98
  979. package/schemas/agent.json +0 -523
  980. package/spec/v0.1.9/agent-autonomous-extensions.json +0 -234
  981. package/spec/v0.1.9/ecosystem-compliance.json +0 -235
  982. package/spec/v0.1.9/ossa-v0.1.9.schema.json +0 -695
  983. package/spec/v0.1.9/ossa-v0.1.9.schema.json.backup +0 -695
  984. package/spec/v0.1.9/reasoning-compliance.json +0 -654
  985. package/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
  986. package/spec/v0.2.1/ossa-0.2.1.schema.json +0 -555
  987. package/spec/v0.2.2/kagent-enhancements.json +0 -395
  988. package/spec/v0.2.2/ossa-0.2.2.schema.json +0 -906
  989. package/spec/v0.2.2/ossa-0.2.2.yaml +0 -448
  990. package/spec/v0.2.2/ossa-reasoning-compliance-1.0.schema.json +0 -424
  991. package/spec/v0.2.3/CHANGELOG.md +0 -176
  992. package/spec/v0.2.3/README.md +0 -154
  993. package/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +0 -343
  994. package/spec/v0.2.3/ossa-0.2.3.schema.json +0 -1397
  995. package/spec/v0.2.3/ossa-0.2.3.yaml +0 -448
  996. package/spec/v0.2.4/CHANGELOG.md +0 -403
  997. package/spec/v0.2.4/migrations/v0.2.3-to-v0.2.4.md +0 -599
  998. package/spec/v0.2.4/ossa-0.2.4.schema.json +0 -1696
  999. package/spec/v0.2.4/ossa-0.2.4.yaml +0 -581
  1000. package/spec/v0.2.5/CHANGELOG.md +0 -401
  1001. package/spec/v0.2.5/README.md +0 -72
  1002. package/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +0 -599
  1003. package/spec/v0.2.5/ossa-0.2.5.schema.json +0 -1696
  1004. package/spec/v0.2.5/ossa-0.2.5.yaml +0 -581
  1005. package/spec/v0.2.5-RC/CHANGELOG.md +0 -401
  1006. package/spec/v0.2.5-RC/README.md +0 -72
  1007. package/spec/v0.2.5-RC/migrations/v0.2.3-to-v0.2.4.md +0 -599
  1008. package/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +0 -1696
  1009. package/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +0 -581
  1010. package/spec/v0.2.6/CHANGELOG.md +0 -401
  1011. package/spec/v0.2.6/README.md +0 -72
  1012. package/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +0 -599
  1013. package/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +0 -65
  1014. package/spec/v0.2.6/ossa-0.2.6.schema.json +0 -1786
  1015. package/spec/v0.2.6/ossa-0.2.6.yaml +0 -581
  1016. package/spec/v0.2.6-dev/CHANGELOG.md +0 -164
  1017. package/spec/v0.2.6-dev/README.md +0 -75
  1018. package/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +0 -343
  1019. package/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +0 -599
  1020. package/spec/v0.2.6-dev/ossa-0.2.5.yaml +0 -581
  1021. package/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +0 -448
  1022. package/spec/v0.2.7/core/agentgraph.md +0 -324
  1023. package/spec/v0.2.7/resources/agentgraph.yaml +0 -135
  1024. package/spec/v0.2.8/CHANGELOG.md +0 -401
  1025. package/spec/v0.2.8/README.md +0 -72
  1026. package/spec/v0.2.8/migrations/v0.2.3-to-v0.2.4.md +0 -599
  1027. package/spec/v0.2.8/migrations/v0.2.5-RC-to-v0.2.6.md +0 -65
  1028. package/spec/v0.2.8/migrations/v0.2.6-to-v0.2.8.md +0 -81
  1029. package/spec/v0.2.8/ossa-0.2.8.schema.json +0 -3247
  1030. package/spec/v0.2.8/ossa-0.2.8.yaml +0 -581
  1031. package/spec/v0.2.9/a2a-protocol.md +0 -1337
  1032. package/spec/v0.2.9/agent.md +0 -1946
  1033. package/spec/v0.2.9/capabilities/index.yaml +0 -25
  1034. package/spec/v0.2.9/capabilities/memory.yaml +0 -251
  1035. package/spec/v0.2.9/capability-schema.md +0 -576
  1036. package/spec/v0.2.9/compliance-profiles.md +0 -533
  1037. package/spec/v0.2.9/conformance-testing.md +0 -1527
  1038. package/spec/v0.2.9/gitlab-duo-integration.md +0 -621
  1039. package/spec/v0.2.9/ossa-0.2.9.schema.json +0 -3699
  1040. package/spec/v0.2.9/runtime-semantics.md +0 -464
  1041. package/spec/v0.2.9/security-model.md +0 -1245
  1042. package/spec/v0.2.9/semantic-conventions.md +0 -347
  1043. package/spec/v0.2.9/types.ts +0 -522
  1044. package/spec/v0.3.0/ossa-0.3.0.schema.json +0 -2787
  1045. /package/dist/{sdk → sdks/typescript}/events/cloudevents-emitter.d.ts +0 -0
  1046. /package/dist/{sdk → sdks/typescript}/events/cloudevents-emitter.js +0 -0
  1047. /package/dist/{sdk → sdks/typescript}/events/index.d.ts +0 -0
  1048. /package/dist/{sdk → sdks/typescript}/events/index.js +0 -0
  1049. /package/dist/{sdk → sdks/typescript}/tracing/index.d.ts +0 -0
  1050. /package/dist/{sdk → sdks/typescript}/tracing/index.js +0 -0
  1051. /package/dist/{sdk → sdks/typescript}/tracing/w3c-baggage.d.ts +0 -0
  1052. /package/dist/{sdk → sdks/typescript}/tracing/w3c-baggage.js +0 -0
  1053. /package/{schemas/communication.json → dist/spec/v0.3.3/protocols/a2a-communication.schema.json} +0 -0
  1054. /package/{schemas/identity.json → dist/spec/v0.3.3/protocols/identity-runtime.schema.json} +0 -0
  1055. /package/dist/spec/{v0.3.0 → v0.3.3}/protocols/sse.md +0 -0
  1056. /package/dist/spec/{v0.3.0 → v0.3.3}/protocols/webrtc.md +0 -0
  1057. /package/dist/spec/{v0.3.0 → v0.3.3}/runtime-bindings/anthropic.yaml +0 -0
  1058. /package/spec/{v0.3.0 → v0.3.3}/protocols/sse.md +0 -0
  1059. /package/spec/{v0.3.0 → v0.3.3}/protocols/webrtc.md +0 -0
  1060. /package/spec/{v0.3.0 → v0.3.3}/runtime-bindings/anthropic.yaml +0 -0
@@ -1,866 +1,229 @@
1
- # ╔═══════════════════════════════════════════════════════════════════════════════╗
2
- # ║ ║
3
- # ║ ██████╗ ███████╗███████╗ █████╗ ██╗ ██╗ ██████╗ ██████╗ ██████╗ ║
4
- # ║ ██╔═══██╗██╔════╝██╔════╝██╔══██╗ ██║ ██║██╔═████╗ ╚════██╗██╔═████╗ ║
5
- # ║ ██║ ██║███████╗███████╗███████║ ██║ ██║██║██╔██║ █████╔╝██║██╔██║ ║
6
- # ║ ██║ ██║╚════██║╚════██║██╔══██║ ╚██╗ ██╔╝████╔╝██║ ╚═══██╗████╔╝██║ ║
7
- # ║ ╚██████╔╝███████║███████║██║ ██║ ╚████╔╝ ╚██████╔╝██╗██████╔╝╚██████╔╝ ║
8
- # ║ ╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚═════╝ ╚═╝╚═════╝ ╚═════╝ ║
9
- # ║ ║
10
- # ║ GETTING STARTED: 02 - AGENT WITH TOOLS ║
11
- # ║ ║
12
- # ╚═══════════════════════════════════════════════════════════════════════════════╝
13
- #
14
- # ┌─────────────────────────────────────────────────────────────────────────────────┐
15
- # │ WHAT YOU'LL LEARN │
16
- # ├─────────────────────────────────────────────────────────────────────────────────┤
17
- # │ │
18
- # │ ✓ How to give agents TOOLS to interact with external systems │
19
- # │ ✓ MCP (Model Context Protocol) - the standard for agent tools │
20
- # │ ✓ Function tools - custom capabilities with JSON Schema │
21
- # │ ✓ How tools work: function calling → execution → result → LLM decision │
22
- # │ ✓ Real example: GitHub API + filesystem + custom test runner │
23
- # │ │
24
- # └─────────────────────────────────────────────────────────────────────────────────┘
25
- #
26
- # ┌─────────────────────────────────────────────────────────────────────────────────┐
27
- # │ WHAT ARE TOOLS? │
28
- # ├─────────────────────────────────────────────────────────────────────────────────┤
29
- # │ │
30
- # │ Tools are CAPABILITIES that extend what an agent can do beyond text. │
31
- # │ │
32
- # │ Without tools: Agent can only READ and WRITE text │
33
- # │ With tools: Agent can INTERACT with the real world │
34
- # │ │
35
- # │ Think of tools like: │
36
- # │ • A human brain (LLM) + hands (tools) to manipulate the environment │
37
- # │ • A smart assistant who can actually DO things, not just talk │
38
- # │ │
39
- # │ Examples: │
40
- # │ ┌───────────────────────────────────────────────────────────────────┐ │
41
- # │ │ TOOL TYPE CAPABILITY EXAMPLE USE │ │
42
- # │ ├───────────────────────────────────────────────────────────────────┤ │
43
- # │ │ MCP (GitHub) Create PRs, issues, commits Code review │ │
44
- # │ │ MCP (Filesystem) Read/write files Edit config │ │
45
- # │ │ MCP (Database) Query PostgreSQL, MySQL Analyze data │ │
46
- # │ │ MCP (Slack) Send messages, read channels Notifications │ │
47
- # │ │ Function Custom logic in your runtime Run tests │ │
48
- # │ │ API Call REST endpoints Weather, stocks │ │
49
- # │ └───────────────────────────────────────────────────────────────────┘ │
50
- # │ │
51
- # └─────────────────────────────────────────────────────────────────────────────────┘
52
- #
53
- # ┌─────────────────────────────────────────────────────────────────────────────────┐
54
- # │ HOW TOOLS WORK: THE FUNCTION CALLING FLOW │
55
- # ├─────────────────────────────────────────────────────────────────────────────────┤
56
- # │ │
57
- # │ 1. USER → "Create a PR for the new login feature" │
58
- # │ │
59
- # │ 2. LLM THINKS → │
60
- # │ "I need to use the github tool's create_pull_request function" │
61
- # │ │
62
- # │ 3. LLM GENERATES FUNCTION CALL → │
63
- # │ { │
64
- # │ "tool": "github", │
65
- # │ "function": "create_pull_request", │
66
- # │ "arguments": { │
67
- # │ "title": "Add new login feature", │
68
- # │ "branch": "feature/login", │
69
- # │ "base": "main" │
70
- # │ } │
71
- # │ } │
72
- # │ │
73
- # │ 4. RUNTIME EXECUTES → Calls GitHub API via MCP server │
74
- # │ │
75
- # │ 5. RUNTIME RETURNS RESULT → │
76
- # │ { │
77
- # │ "pr_number": 42, │
78
- # │ "url": "https://github.com/org/repo/pull/42", │
79
- # │ "status": "open" │
80
- # │ } │
81
- # │ │
82
- # │ 6. LLM SEES RESULT → Formulates response to user │
83
- # │ │
84
- # │ 7. AGENT → "I've created PR #42 for the login feature. It's ready for review!" │
85
- # │ │
86
- # │ KEY INSIGHT: │
87
- # │ The LLM DECIDES when to use tools. The runtime EXECUTES them. │
88
- # │ This is called "agentic behavior" - the agent chooses its own actions. │
89
- # │ │
90
- # └─────────────────────────────────────────────────────────────────────────────────┘
91
- #
92
- # ┌─────────────────────────────────────────────────────────────────────────────────┐
93
- # │ HOW TO RUN THIS EXAMPLE │
94
- # ├─────────────────────────────────────────────────────────────────────────────────┤
95
- # │ │
96
- # │ STEP 1: Install MCP servers you'll use │
97
- # │ ──────────────────────────────────────── │
98
- # │ MCP servers are published to npm. You don't need to install them globally - │
99
- # │ the agent runtime will use npx to run them on-demand. │
100
- # │ │
101
- # │ Available MCP servers: │
102
- # │ • @modelcontextprotocol/server-github - GitHub API │
103
- # │ • @modelcontextprotocol/server-filesystem - File operations │
104
- # │ • @modelcontextprotocol/server-postgres - PostgreSQL queries │
105
- # │ • @modelcontextprotocol/server-slack - Slack integration │
106
- # │ • @modelcontextprotocol/server-memory - Persistent memory │
107
- # │ │
108
- # │ Find more: https://github.com/modelcontextprotocol/servers │
109
- # │ │
110
- # │ STEP 2: Set required environment variables │
111
- # │ ───────────────────────────────────────── │
112
- # │ # LLM provider (from example 01) │
113
- # │ $ export ANTHROPIC_API_KEY=sk-ant-... │
114
- # │ │
115
- # │ # GitHub tool authentication │
116
- # │ $ export GITHUB_TOKEN=ghp_... │
117
- # │ # Get token: https://github.com/settings/tokens │
118
- # │ # Required scopes: repo, read:user │
119
- # │ │
120
- # │ STEP 3: Validate the manifest │
121
- # │ ──────────────────────────── │
122
- # │ $ ossa validate 02-agent-with-tools.ossa.yaml │
123
- # │ │
124
- # │ Expected output: │
125
- # │ ✓ Schema validation passed │
126
- # │ ✓ Tools configuration valid │
127
- # │ ✓ MCP server paths resolved │
128
- # │ ✓ Ready to run │
129
- # │ │
130
- # │ STEP 4: Run the agent interactively │
131
- # │ ──────────────────────────────────── │
132
- # │ $ ossa run 02-agent-with-tools.ossa.yaml --interactive │
133
- # │ │
134
- # │ Try these prompts: │
135
- # │ │
136
- # │ > List files in /workspace │
137
- # │ Agent: [Uses filesystem tool to list directory] │
138
- # │ I found 15 files in /workspace: ... │
139
- # │ │
140
- # │ > Read the README.md file │
141
- # │ Agent: [Uses filesystem tool to read file] │
142
- # │ The README contains: ... │
143
- # │ │
144
- # │ > What's my latest GitHub PR? │
145
- # │ Agent: [Uses GitHub tool to list pull requests] │
146
- # │ Your most recent PR is #42: "Add login feature" ... │
147
- # │ │
148
- # │ > Run the tests │
149
- # │ Agent: [Uses run_tests function tool] │
150
- # │ Tests passed: 47/47 ✓ │
151
- # │ │
152
- # │ STEP 5: Test MCP servers directly (debugging) │
153
- # │ ───────────────────────────────────────────── │
154
- # │ You can test MCP servers outside of OSSA: │
155
- # │ │
156
- # │ # List available tools in GitHub MCP server │
157
- # │ $ npx @modelcontextprotocol/server-github list-tools │
158
- # │ │
159
- # │ # Test a specific function │
160
- # │ $ npx @modelcontextprotocol/server-github call-tool \ │
161
- # │ --tool get_pull_request \ │
162
- # │ --args '{"repo":"owner/name","pr_number":42}' │
163
- # │ │
164
- # │ STEP 6: Monitor tool usage (observability) │
165
- # │ ────────────────────────────────────────── │
166
- # │ $ ossa run 02-agent-with-tools.ossa.yaml \ │
167
- # │ --log-level debug \ │
168
- # │ --trace-tools │
169
- # │ │
170
- # │ Shows: │
171
- # │ • Which tools the agent chooses to use │
172
- # │ • Arguments passed to each tool │
173
- # │ • Results returned │
174
- # │ • Decision-making process │
175
- # │ │
176
- # └─────────────────────────────────────────────────────────────────────────────────┘
177
- #
178
- # ┌─────────────────────────────────────────────────────────────────────────────────┐
179
- # │ KEY CONCEPTS IN THIS EXAMPLE │
180
- # ├─────────────────────────────────────────────────────────────────────────────────┤
181
- # │ │
182
- # │ 1. MCP (Model Context Protocol) │
183
- # │ ───────────────────────────── │
184
- # │ An OPEN STANDARD for connecting LLMs to external tools. │
185
- # │ Like OpenAPI for REST APIs, but for agent tools. │
186
- # │ │
187
- # │ MCP defines: │
188
- # │ • How to describe available tools (JSON Schema) │
189
- # │ • How to execute functions (standardized RPC) │
190
- # │ • How to handle errors and retries │
191
- # │ • How to stream results (for long operations) │
192
- # │ │
193
- # │ Why MCP? │
194
- # │ • Write once, works with any LLM (Anthropic, OpenAI, Google, etc.) │
195
- # │ • Rich ecosystem of pre-built servers (GitHub, Slack, DBs, etc.) │
196
- # │ • Secure - tools run in separate processes with access controls │
197
- # │ • Portable - same tool works across frameworks (LangChain, CrewAI, etc.) │
198
- # │ │
199
- # │ 2. MCP Server Lifecycle │
200
- # │ ───────────────────── │
201
- # │ When you run the agent: │
202
- # │ │
203
- # │ a) Runtime spawns MCP server process: │
204
- # │ $ npx -y @modelcontextprotocol/server-github │
205
- # │ │
206
- # │ b) Server connects via stdio/HTTP and reports available tools: │
207
- # │ { │
208
- # │ "tools": [ │
209
- # │ {"name": "create_pull_request", ...}, │
210
- # │ {"name": "get_pull_request", ...}, │
211
- # │ {"name": "create_issue", ...} │
212
- # │ ] │
213
- # │ } │
214
- # │ │
215
- # │ c) LLM receives tool descriptions in system prompt │
216
- # │ │
217
- # │ d) When LLM calls a tool, runtime forwards request to MCP server │
218
- # │ │
219
- # │ e) MCP server executes (e.g., calls GitHub API), returns result │
220
- # │ │
221
- # │ f) Runtime passes result back to LLM for next decision │
222
- # │ │
223
- # │ 3. Function Tools (Custom Logic) │
224
- # │ ────────────────────────── │
225
- # │ When no MCP server exists for your use case, write a function tool. │
226
- # │ │
227
- # │ Components: │
228
- # │ • name: Unique identifier (e.g., "run_tests", "deploy_service") │
229
- # │ • description: What it does (LLM uses this to decide when to call it) │
230
- # │ • input_schema: JSON Schema defining valid arguments │
231
- # │ • implementation: Provided by the runtime (Python, Node.js, etc.) │
232
- # │ │
233
- # │ Example flow: │
234
- # │ 1. LLM decides to call run_tests with {"test_path": "tests/unit/"} │
235
- # │ 2. Runtime validates arguments against input_schema │
236
- # │ 3. Runtime executes your Python/Node.js function │
237
- # │ 4. Function returns {"status": "passed", "count": 47} │
238
- # │ 5. LLM sees result and responds to user │
239
- # │ │
240
- # │ 4. Tool Selection (How LLM Chooses) │
241
- # │ ───────────────────────────────── │
242
- # │ The LLM chooses tools based on: │
243
- # │ │
244
- # │ • User's request: "Create a PR" → github tool │
245
- # │ • Tool descriptions: Detailed description helps LLM make right choice │
246
- # │ • Context: Recent conversation, previous tool results │
247
- # │ • Constraints: Autonomy rules (see example 03) │
248
- # │ │
249
- # │ Best practices: │
250
- # │ ✓ Write DETAILED tool descriptions (when, why, what it returns) │
251
- # │ ✓ Use descriptive parameter names (repo_url vs url) │
252
- # │ ✓ Include examples in description: "Example: repo_url='owner/name'" │
253
- # │ ✓ Specify constraints: "Only works for public repositories" │
254
- # │ │
255
- # │ 5. Tool Configuration Patterns │
256
- # │ ──────────────────────────── │
257
- # │ │
258
- # │ MCP tool with environment variable: │
259
- # │ ```yaml │
260
- # │ - type: mcp │
261
- # │ name: github │
262
- # │ config: │
263
- # │ server: npx -y @modelcontextprotocol/server-github │
264
- # │ env: │
265
- # │ GITHUB_TOKEN: ${GITHUB_TOKEN} # From environment │
266
- # │ ``` │
267
- # │ │
268
- # │ MCP tool with arguments: │
269
- # │ ```yaml │
270
- # │ - type: mcp │
271
- # │ name: filesystem │
272
- # │ config: │
273
- # │ server: npx -y @modelcontextprotocol/server-filesystem │
274
- # │ args: │
275
- # │ - /workspace # Allowed root directory │
276
- # │ - --read-only false # Enable writes │
277
- # │ ``` │
278
- # │ │
279
- # │ Function tool with complex schema: │
280
- # │ ```yaml │
281
- # │ - type: function │
282
- # │ name: query_database │
283
- # │ description: Run SQL queries (SELECT only, no mutations) │
284
- # │ input_schema: │
285
- # │ type: object │
286
- # │ required: [query] │
287
- # │ properties: │
288
- # │ query: │
289
- # │ type: string │
290
- # │ description: SQL query to execute │
291
- # │ pattern: "^SELECT.*" # Enforce SELECT only │
292
- # │ limit: │
293
- # │ type: integer │
294
- # │ minimum: 1 │
295
- # │ maximum: 1000 │
296
- # │ default: 100 │
297
- # │ ``` │
298
- # │ │
299
- # └─────────────────────────────────────────────────────────────────────────────────┘
300
- #
301
- # ┌─────────────────────────────────────────────────────────────────────────────────┐
302
- # │ MCP SERVER DIRECTORY │
303
- # ├─────────────────────────────────────────────────────────────────────────────────┤
304
- # │ │
305
- # │ Official MCP servers (maintained by Anthropic): │
306
- # │ https://github.com/modelcontextprotocol/servers │
307
- # │ │
308
- # │ DEVELOPMENT TOOLS │
309
- # │ ──────────────────────────────────────────────────────────────────────── │
310
- # │ • server-github - PRs, issues, commits, code search │
311
- # │ • server-gitlab - GitLab API │
312
- # │ • server-filesystem - Read/write files (sandboxed) │
313
- # │ • server-git - Git operations (clone, commit, branch) │
314
- # │ │
315
- # │ DATA & DATABASES │
316
- # │ ──────────────────────────────────────────────────────────────────────── │
317
- # │ • server-postgres - PostgreSQL queries │
318
- # │ • server-sqlite - SQLite databases │
319
- # │ • server-mysql - MySQL/MariaDB │
320
- # │ • server-mongodb - MongoDB collections │
321
- # │ │
322
- # │ COMMUNICATION │
323
- # │ ──────────────────────────────────────────────────────────────────────── │
324
- # │ • server-slack - Send messages, read channels │
325
- # │ • server-email - Send emails (SMTP) │
326
- # │ • server-discord - Discord bot integration │
327
- # │ │
328
- # │ CLOUD PLATFORMS │
329
- # │ ──────────────────────────────────────────────────────────────────────── │
330
- # │ • server-aws - S3, Lambda, EC2 operations │
331
- # │ • server-gcp - Google Cloud Platform │
332
- # │ • server-kubernetes - K8s cluster management │
333
- # │ │
334
- # │ SPECIALIZED │
335
- # │ ──────────────────────────────────────────────────────────────────────── │
336
- # │ • server-memory - Persistent agent memory (RAG) │
337
- # │ • server-puppeteer - Browser automation │
338
- # │ • server-fetch - HTTP requests with retries │
339
- # │ • server-youtube - YouTube transcripts │
340
- # │ │
341
- # │ Community servers: Search npm for "mcp-server-*" │
342
- # │ │
343
- # └─────────────────────────────────────────────────────────────────────────────────┘
344
- #
345
- # ┌─────────────────────────────────────────────────────────────────────────────────┐
346
- # │ WRITING YOUR OWN MCP SERVER │
347
- # ├─────────────────────────────────────────────────────────────────────────────────┤
348
- # │ │
349
- # │ When to build a custom MCP server: │
350
- # │ • You need to integrate a service without an existing MCP server │
351
- # │ • You have complex business logic to expose │
352
- # │ • You want to reuse the tool across multiple agents/frameworks │
353
- # │ │
354
- # │ Quick start (TypeScript): │
355
- # │ │
356
- # │ ```typescript │
357
- # │ import { Server } from "@modelcontextprotocol/sdk/server/index.js"; │
358
- # │ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; │
359
- # │ │
360
- # │ const server = new Server({ │
361
- # │ name: "my-custom-server", │
362
- # │ version: "1.0.0" │
363
- # │ }, { │
364
- # │ capabilities: { tools: {} } │
365
- # │ }); │
366
- # │ │
367
- # │ // Define tools │
368
- # │ server.setRequestHandler(ListToolsRequestSchema, async () => ({ │
369
- # │ tools: [ │
370
- # │ { │
371
- # │ name: "send_notification", │
372
- # │ description: "Send a notification via internal system", │
373
- # │ inputSchema: { │
374
- # │ type: "object", │
375
- # │ properties: { │
376
- # │ message: { type: "string" }, │
377
- # │ priority: { type: "string", enum: ["low", "high"] } │
378
- # │ }, │
379
- # │ required: ["message"] │
380
- # │ } │
381
- # │ } │
382
- # │ ] │
383
- # │ })); │
384
- # │ │
385
- # │ // Handle tool calls │
386
- # │ server.setRequestHandler(CallToolRequestSchema, async (request) => { │
387
- # │ if (request.params.name === "send_notification") { │
388
- # │ const { message, priority } = request.params.arguments; │
389
- # │ // Your implementation here │
390
- # │ await sendToInternalSystem(message, priority); │
391
- # │ return { content: [{ type: "text", text: "Notification sent!" }] }; │
392
- # │ } │
393
- # │ }); │
394
- # │ │
395
- # │ // Start server │
396
- # │ const transport = new StdioServerTransport(); │
397
- # │ await server.connect(transport); │
398
- # │ ``` │
399
- # │ │
400
- # │ Then use in OSSA: │
401
- # │ ```yaml │
402
- # │ tools: │
403
- # │ - type: mcp │
404
- # │ name: my-custom-tool │
405
- # │ config: │
406
- # │ server: node /path/to/my-mcp-server.js │
407
- # │ ``` │
408
- # │ │
409
- # │ SDK documentation: https://modelcontextprotocol.io/docs │
410
- # │ │
411
- # └─────────────────────────────────────────────────────────────────────────────────┘
412
- #
413
- # ┌─────────────────────────────────────────────────────────────────────────────────┐
414
- # │ NEXT STEPS │
415
- # ├─────────────────────────────────────────────────────────────────────────────────┤
416
- # │ │
417
- # │ 03-agent-with-safety.ossa.yaml │
418
- # │ CRITICAL for production: PII detection, rate limiting, content filtering │
419
- # │ Learn: Guardrails, autonomy controls, compliance (SOC2, GDPR) │
420
- # │ │
421
- # │ 04-agent-with-messaging.ossa.yaml │
422
- # │ Multi-agent systems: Agents that communicate and coordinate │
423
- # │ Learn: Pub/sub, commands, event-driven architectures │
424
- # │ │
425
- # │ 05-workflow-composition.ossa.yaml │
426
- # │ Orchestration: Compose agents and tasks into complex pipelines │
427
- # │ Learn: DAGs, error handling, parallel execution │
428
- # │ │
429
- # └─────────────────────────────────────────────────────────────────────────────────┘
430
- #
431
- # ═══════════════════════════════════════════════════════════════════════════════════
432
- # THE ACTUAL MANIFEST STARTS HERE
433
- # ═══════════════════════════════════════════════════════════════════════════════════
434
-
435
- # ──────────────────────────────────────────────────────────────────────────────────
436
- # API VERSION (Required)
437
- # ──────────────────────────────────────────────────────────────────────────────────
438
- # Same as example 01 - using OSSA v0.3.0
439
- # ──────────────────────────────────────────────────────────────────────────────────
440
- apiVersion: ossa/v0.3.2
441
-
442
- # ──────────────────────────────────────────────────────────────────────────────────
443
- # KIND (Required)
444
- # ──────────────────────────────────────────────────────────────────────────────────
445
- # Agent - because we want LLM-powered reasoning + tool use
446
- # (Tasks don't use LLMs, Workflows compose multiple agents/tasks)
447
- # ──────────────────────────────────────────────────────────────────────────────────
1
+ apiVersion: ossa/v0.3.3
448
2
  kind: Agent
449
-
450
- # ──────────────────────────────────────────────────────────────────────────────────
451
- # METADATA (Required)
452
- # ──────────────────────────────────────────────────────────────────────────────────
453
3
  metadata:
454
- # Descriptive name - indicates this agent can assist with code
455
4
  name: code-assistant
456
-
457
- # Version 1.0.0 - production-ready with tools
458
5
  version: 1.0.0
6
+ description: 'Code review assistant with integrated tools for GitHub API, filesystem
459
7
 
460
- # Human-readable description for documentation and registries
461
- description: |
462
- Code review assistant with integrated tools for GitHub API, filesystem
463
8
  operations, and test execution. Demonstrates MCP (Model Context Protocol)
9
+
464
10
  integration and custom function tools.
465
11
 
12
+
466
13
  Capabilities:
14
+
467
15
  - Read and analyze source code files
16
+
468
17
  - Create and manage GitHub pull requests
18
+
469
19
  - Run project test suites
20
+
470
21
  - Provide code quality feedback
471
22
 
472
- # Labels for categorization
23
+ '
473
24
  labels:
474
- difficulty: beginner # Good intro to tools
475
- tutorial: "02" # Second in getting-started series
476
- capability: code-review # Primary use case
477
- tools: mcp # Uses MCP servers
478
-
479
- # ──────────────────────────────────────────────────────────────────────────────────
480
- # SPEC (Agent Configuration)
481
- # ──────────────────────────────────────────────────────────────────────────────────
25
+ difficulty: beginner
26
+ tutorial: '02'
27
+ capability: code-review
28
+ tools: mcp
482
29
  spec:
483
- # ────────────────────────────────────────────────────────────────────────────────
484
- # ROLE (System Prompt)
485
- # ────────────────────────────────────────────────────────────────────────────────
486
- # Define the agent's expertise and behavioral guidelines
487
- #
488
- # IMPORTANT: When agents have tools, the role should explain:
489
- # 1. What the agent can do (capabilities)
490
- # 2. When to use tools vs pure reasoning
491
- # 3. How to communicate tool usage to users (transparency)
492
- # 4. Safety guidelines (e.g., "Always explain before destructive actions")
493
- # ────────────────────────────────────────────────────────────────────────────────
494
- role: |
495
- You are an expert code review assistant with access to development tools.
30
+ role: 'You are an expert code review assistant with access to development tools.
31
+
496
32
 
497
33
  Your capabilities:
34
+
498
35
  1. **Code Analysis**: Read and analyze source code files using filesystem access
36
+
499
37
  2. **GitHub Integration**: Create PRs, review issues, examine commits
38
+
500
39
  3. **Testing**: Run project test suites and interpret results
40
+
501
41
  4. **Best Practices**: Provide feedback on code quality, patterns, and maintainability
502
42
 
43
+
503
44
  Working guidelines:
504
- - **Transparency**: Always explain which tools you're using and why
505
- - **Safety First**: Ask for confirmation before destructive operations (delete, force push)
45
+
46
+ - **Transparency**: Always explain which tools you''re using and why
47
+
48
+ - **Safety First**: Ask for confirmation before destructive operations (delete,
49
+ force push)
50
+
506
51
  - **Context Awareness**: Read relevant files before making recommendations
52
+
507
53
  - **Testing**: Run tests before suggesting code is ready to merge
54
+
508
55
  - **Incremental**: Start with simple analysis, go deeper if needed
509
56
 
57
+
510
58
  Communication style:
511
- - Be clear about what you're checking: "Let me read the main.py file..."
59
+
60
+ - Be clear about what you''re checking: "Let me read the main.py file..."
61
+
512
62
  - Explain tool results: "The tests show 3 failures in the auth module..."
63
+
513
64
  - Provide actionable feedback: "Consider extracting this logic into a helper function"
65
+
514
66
  - Use markdown for code suggestions and structured output
515
67
 
68
+
516
69
  When reviewing code:
70
+
517
71
  1. First, understand the context (read related files, check recent commits)
72
+
518
73
  2. Run tests if available
74
+
519
75
  3. Analyze for common issues: security, performance, readability
76
+
520
77
  4. Provide specific, actionable suggestions
521
- 5. Highlight what's done well, not just problems
522
78
 
523
- # ────────────────────────────────────────────────────────────────────────────────
524
- # LLM CONFIGURATION
525
- # ────────────────────────────────────────────────────────────────────────────────
526
- # For code review, we want focused, deterministic behavior
527
- # ────────────────────────────────────────────────────────────────────────────────
79
+ 5. Highlight what''s done well, not just problems
80
+
81
+ '
528
82
  llm:
529
- # Use environment variable for portability (same as example 01)
530
- provider: ${LLM_PROVIDER:-anthropic}
531
-
532
- # Default to Sonnet - good balance of speed and code understanding
533
- # For faster/cheaper: claude-haiku
534
- # For more complex analysis: claude-opus-4-20250514
535
- model: ${LLM_MODEL:-claude-sonnet-4-20250514}
536
-
537
- # Temperature 0.3 - lower than default (0.7) for more focused code analysis
538
- # Code review benefits from consistency and precision
539
- # Range guide for code tasks:
540
- # 0.0-0.2: Code generation, security analysis (very focused)
541
- # 0.2-0.4: Code review, refactoring suggestions (balanced)
542
- # 0.4-0.7: Architecture discussions, brainstorming (creative)
83
+ provider: anthropic
84
+ model: claude-sonnet-4-20250514
543
85
  temperature: 0.3
544
-
545
- # ────────────────────────────────────────────────────────────────────────────────
546
- # TOOLS (The Main Feature of This Example!)
547
- # ────────────────────────────────────────────────────────────────────────────────
548
- # Tools extend the agent's capabilities beyond text generation.
549
- # Each tool is described to the LLM, which decides when to use it.
550
- #
551
- # Tool types:
552
- # • mcp - Model Context Protocol server (standard, reusable)
553
- # • function - Custom logic implemented by runtime
554
- # • api - REST API endpoint (OpenAPI spec)
555
- #
556
- # The LLM sees tool descriptions in its system prompt and can call them
557
- # using structured function calling (supported by Claude, GPT-4, Gemini, etc.)
558
- # ────────────────────────────────────────────────────────────────────────────────
559
86
  tools:
560
- # ──────────────────────────────────────────────────────────────────────────────
561
- # TOOL 1: GitHub MCP Server
562
- # ──────────────────────────────────────────────────────────────────────────────
563
- # Connects to the official GitHub MCP server maintained by Anthropic.
564
- # Provides 20+ functions: create_pr, get_pr, create_issue, search_code, etc.
565
- #
566
- # How it works:
567
- # 1. Runtime spawns: npx -y @modelcontextprotocol/server-github
568
- # 2. MCP server connects via stdio and reports available functions
569
- # 3. LLM sees descriptions like "create_pull_request: Create a new PR..."
570
- # 4. When LLM calls a function, runtime forwards to MCP server
571
- # 5. MCP server uses GitHub API (authenticated with GITHUB_TOKEN)
572
- # 6. Result flows back: MCP server → runtime → LLM
573
- # ──────────────────────────────────────────────────────────────────────────────
574
- - type: mcp
575
-
576
- # Tool name - used in logs and by LLM to reference this capability
577
- # Convention: lowercase, descriptive (github, slack, database)
578
- name: github
579
-
580
- # Description - helps LLM understand when to use this tool
581
- # Be specific! Include what it CAN and CANNOT do.
582
- description: |
583
- GitHub API access for repository operations. Provides functions to:
584
- - Create, read, and update pull requests
585
- - Manage issues (create, comment, label, close)
586
- - Search code and repositories
587
- - Read file contents and directory structures
588
- - View commit history and diffs
589
-
590
- Requires: GITHUB_TOKEN environment variable with repo scope.
591
- Note: Cannot force push or delete repositories (safety constraints).
592
-
593
- # Configuration specific to this MCP server
594
- config:
595
- # server: Command to start the MCP server
596
- # npx -y: Run without install prompt, auto-install if needed
597
- # The server listens on stdio for commands from the runtime
598
- server: npx -y @modelcontextprotocol/server-github
599
-
600
- # Environment variables passed to the MCP server
601
- # The GitHub server needs GITHUB_TOKEN for API authentication
602
- env:
603
- # ${GITHUB_TOKEN} - reads from your shell environment
604
- # Get a token: https://github.com/settings/tokens
605
- # Required scopes: repo (for private repos) or public_repo (public only)
606
- GITHUB_TOKEN: ${GITHUB_TOKEN}
607
-
608
- # Optional: Configure timeout for MCP operations
609
- # Useful for slow APIs or large repo operations
610
- # timeout_seconds: 30
611
-
612
- # Optional: Restrict which GitHub functions are available
613
- # By default, all functions are exposed. You can allowlist:
614
- # allowed_functions:
615
- # - create_pull_request
616
- # - get_pull_request
617
- # - create_issue
618
- # This is useful for security (prevent certain operations) or
619
- # to simplify the LLM's choices (fewer options = better decisions)
620
-
621
- # ──────────────────────────────────────────────────────────────────────────────
622
- # TOOL 2: Filesystem MCP Server
623
- # ──────────────────────────────────────────────────────────────────────────────
624
- # Provides sandboxed file system access. The agent can read/write files
625
- # within specified directories.
626
- #
627
- # Security note:
628
- # The first argument (/workspace) defines the ROOT of accessible paths.
629
- # The agent CANNOT access files outside this directory (sandboxing).
630
- # This prevents accidental or malicious access to system files.
631
- # ──────────────────────────────────────────────────────────────────────────────
632
- - type: mcp
633
-
634
- name: filesystem
635
-
636
- description: |
637
- Read and write files within /workspace directory. Provides functions to:
638
- - List directory contents (recursive and non-recursive)
639
- - Read file contents (text and binary)
640
- - Write/update files (create if not exists)
641
- - Create directories
642
- - Check file existence and metadata
643
-
644
- Security: Sandboxed to /workspace - cannot access parent directories.
645
- Use this to analyze code, read configs, save reports.
646
-
647
- config:
648
- # MCP server for filesystem operations
649
- server: npx -y @modelcontextprotocol/server-filesystem
650
-
651
- # Arguments passed to the filesystem server
652
- # First arg: Root directory (all operations are relative to this)
653
- args:
654
- - /workspace
655
- # Optional: Enable/disable writes (default: writes enabled)
656
- # Add this for read-only access:
657
- # - --read-only true
658
-
659
- # Optional: File type restrictions
660
- # allowed_extensions:
661
- # - .py
662
- # - .js
663
- # - .md
664
- # - .yaml
665
- # denied_extensions:
666
- # - .env # Prevent reading secrets
667
- # - .key
668
- # - .pem
669
-
670
- # ──────────────────────────────────────────────────────────────────────────────
671
- # TOOL 3: Custom Function Tool
672
- # ──────────────────────────────────────────────────────────────────────────────
673
- # Function tools let you expose runtime-specific logic to the agent.
674
- # Unlike MCP (which spawns a separate process), functions run in your
675
- # application runtime (Python, Node.js, Go, etc.).
676
- #
677
- # Use function tools when:
678
- # • You need deep integration with your application logic
679
- # Performance is critical (no IPC overhead)
680
- # • The functionality is unique to your use case (no reusable MCP server)
681
- #
682
- # Use MCP when:
683
- # • You want to reuse the tool across multiple agents/frameworks
684
- # • You're integrating a third-party service (GitHub, Slack, AWS, etc.)
685
- # You want process isolation for security
686
- # ──────────────────────────────────────────────────────────────────────────────
687
- - type: function
688
-
689
- # Function name - unique identifier
690
- # Convention: verb_noun (run_tests, deploy_service, send_email)
691
- name: run_tests
692
-
693
- # Description for the LLM - be VERY specific about:
694
- # • What the function does
695
- # • When to use it (before merging? on demand?)
696
- # • What it returns (exit code? detailed results?)
697
- # • Any prerequisites (must install deps first? requires certain env?)
698
- description: |
699
- Execute the project's test suite and return results.
700
-
701
- Behavior:
702
- - Runs tests using the project's configured test runner (pytest, jest, etc.)
703
- - If test_path is provided, runs only those tests (file or directory)
704
- - If test_path is omitted, runs the full test suite
705
- - Returns: pass/fail status, number of tests, execution time, failure details
706
-
707
- Use this:
708
- - Before suggesting a PR is ready to merge
709
- - After making code changes to verify nothing broke
710
- - To verify a specific module works correctly
711
-
712
- Prerequisites:
713
- - Project dependencies must be installed (npm install, pip install, etc.)
714
- - Test configuration must exist (pytest.ini, jest.config.js, etc.)
715
-
716
- # Input schema - JSON Schema defining valid arguments
717
- # The LLM generates arguments matching this schema when calling the function
718
- # Runtime validates arguments before executing your function
719
- input_schema:
720
- type: object
721
-
722
- # Properties - available parameters
723
- properties:
724
- test_path:
725
- type: string
726
- description: |
727
- Optional path to specific test file or directory.
728
- Examples:
729
- - "tests/unit/auth_test.py" (single file)
730
- - "tests/integration/" (directory)
731
- - "" or null (all tests)
732
-
733
- # Optional: Pattern validation
734
- # pattern: "^tests/.*" # Must start with tests/
735
-
736
- verbose:
737
- type: boolean
738
- description: |
739
- If true, return detailed output for each test.
740
- If false, return summary only (faster, less token usage).
741
- default: false
742
-
743
- # You can add more parameters:
744
- # coverage:
745
- # type: boolean
746
- # description: Generate code coverage report
747
- # parallel:
748
- # type: boolean
749
- # description: Run tests in parallel (faster but may have side effects)
750
-
751
- # Required parameters - must be provided when calling function
752
- # Empty array = all parameters optional
753
- required: []
754
-
755
- # Optional: Additional constraints
756
- # additionalProperties: false # Reject unknown properties
757
-
758
- # Output schema - what the function returns
759
- # This helps the LLM understand the result structure
760
- # (Not enforced by runtime, but good for documentation)
761
- output_schema:
762
- type: object
763
- properties:
764
- status:
765
- type: string
766
- enum: [passed, failed, error]
767
- description: Overall test result
768
-
769
- total_tests:
770
- type: integer
771
- description: Number of tests executed
772
-
773
- passed_count:
774
- type: integer
775
- description: Number of passing tests
776
-
777
- failed_count:
778
- type: integer
779
- description: Number of failing tests
780
-
781
- duration_seconds:
782
- type: number
783
- description: Total execution time
784
-
785
- failures:
786
- type: array
787
- description: Details of failed tests (if any)
788
- items:
789
- type: object
790
- properties:
791
- test_name:
792
- type: string
793
- error_message:
794
- type: string
795
- file:
796
- type: string
797
- line:
798
- type: integer
799
-
800
- # Implementation is provided by the RUNTIME, not in the manifest.
801
- #
802
- # Example Python runtime implementation:
803
- # ```python
804
- # async def run_tests(test_path: str = "", verbose: bool = False):
805
- # import subprocess
806
- # cmd = ["pytest"]
807
- # if test_path:
808
- # cmd.append(test_path)
809
- # if verbose:
810
- # cmd.append("-v")
811
- # result = subprocess.run(cmd, capture_output=True, text=True)
812
- # # Parse result and return structured data matching output_schema
813
- # return {
814
- # "status": "passed" if result.returncode == 0 else "failed",
815
- # "total_tests": parse_pytest_output(result.stdout),
816
- # ...
817
- # }
818
- # ```
819
- #
820
- # Example Node.js runtime implementation:
821
- # ```javascript
822
- # async function run_tests({ test_path = "", verbose = false }) {
823
- # const { exec } = require('child_process');
824
- # const cmd = `jest ${test_path} ${verbose ? '--verbose' : ''}`;
825
- # const result = await execPromise(cmd);
826
- # return {
827
- # status: result.code === 0 ? 'passed' : 'failed',
828
- # total_tests: parseJestOutput(result.stdout),
829
- # ...
830
- # };
831
- # }
832
- # ```
833
-
834
- # ═══════════════════════════════════════════════════════════════════════════════════
835
- # SUMMARY: WHAT WE BUILT
836
- # ═══════════════════════════════════════════════════════════════════════════════════
837
- #
838
- # This agent can:
839
- # ✓ Understand natural language requests about code review
840
- # ✓ Read files from /workspace using filesystem MCP server
841
- # ✓ Interact with GitHub using github MCP server (PRs, issues, etc.)
842
- # ✓ Run tests using custom function tool
843
- # ✓ Reason about when and how to use each tool
844
- # ✓ Combine multiple tools to complete complex tasks
845
- #
846
- # Example interaction flow:
847
- # User: "Review the latest PR and run tests"
848
- # Agent: [Calls github.get_latest_pr()]
849
- # "I found PR #42: 'Add login feature'. Let me check the code."
850
- # [Calls filesystem.read_file("src/auth/login.py")]
851
- # "The code looks good. Running tests to verify..."
852
- # [Calls run_tests({ test_path: "tests/auth/" })]
853
- # "All 12 tests passed! The PR is ready to merge."
854
- #
855
- # What we learned:
856
- # → MCP servers provide reusable, standardized tools
857
- # → Function tools provide custom runtime logic
858
- # → Tools are described to the LLM, which chooses when to use them
859
- # → The runtime handles tool execution and passes results back to the LLM
860
- #
861
- # Next example (03-agent-with-safety.ossa.yaml):
862
- # → Production-ready safety: PII detection, rate limiting, guardrails
863
- # → Autonomy controls: human-in-the-loop, approval workflows
864
- # → Compliance: SOC2, GDPR, HIPAA considerations
865
- #
866
- # ═══════════════════════════════════════════════════════════════════════════════════
87
+ - type: mcp
88
+ name: github
89
+ description: 'GitHub API access for repository operations. Provides functions
90
+ to:
91
+
92
+ - Create, read, and update pull requests
93
+
94
+ - Manage issues (create, comment, label, close)
95
+
96
+ - Search code and repositories
97
+
98
+ - Read file contents and directory structures
99
+
100
+ - View commit history and diffs
101
+
102
+
103
+ Requires: GITHUB_TOKEN environment variable with repo scope.
104
+
105
+ Note: Cannot force push or delete repositories (safety constraints).
106
+
107
+ '
108
+ config:
109
+ server: npx -y @modelcontextprotocol/server-github
110
+ env:
111
+ GITHUB_TOKEN: ${GITHUB_TOKEN}
112
+ - type: mcp
113
+ name: filesystem
114
+ description: 'Read and write files within /workspace directory. Provides functions
115
+ to:
116
+
117
+ - List directory contents (recursive and non-recursive)
118
+
119
+ - Read file contents (text and binary)
120
+
121
+ - Write/update files (create if not exists)
122
+
123
+ - Create directories
124
+
125
+ - Check file existence and metadata
126
+
127
+
128
+ Security: Sandboxed to /workspace - cannot access parent directories.
129
+
130
+ Use this to analyze code, read configs, save reports.
131
+
132
+ '
133
+ config:
134
+ server: npx -y @modelcontextprotocol/server-filesystem
135
+ args:
136
+ - /workspace
137
+ - type: function
138
+ name: run_tests
139
+ description: 'Execute the project''s test suite and return results.
140
+
141
+
142
+ Behavior:
143
+
144
+ - Runs tests using the project''s configured test runner (pytest, jest, etc.)
145
+
146
+ - If test_path is provided, runs only those tests (file or directory)
147
+
148
+ - If test_path is omitted, runs the full test suite
149
+
150
+ - Returns: pass/fail status, number of tests, execution time, failure details
151
+
152
+
153
+ Use this:
154
+
155
+ - Before suggesting a PR is ready to merge
156
+
157
+ - After making code changes to verify nothing broke
158
+
159
+ - To verify a specific module works correctly
160
+
161
+
162
+ Prerequisites:
163
+
164
+ - Project dependencies must be installed (npm install, pip install, etc.)
165
+
166
+ - Test configuration must exist (pytest.ini, jest.config.js, etc.)
167
+
168
+ '
169
+ input_schema:
170
+ type: object
171
+ properties:
172
+ test_path:
173
+ type: string
174
+ description: 'Optional path to specific test file or directory.
175
+
176
+ Examples:
177
+
178
+ - "tests/unit/auth_test.py" (single file)
179
+
180
+ - "tests/integration/" (directory)
181
+
182
+ - "" or null (all tests)
183
+
184
+ '
185
+ verbose:
186
+ type: boolean
187
+ description: 'If true, return detailed output for each test.
188
+
189
+ If false, return summary only (faster, less token usage).
190
+
191
+ '
192
+ default: false
193
+ required: []
194
+ output_schema:
195
+ type: object
196
+ properties:
197
+ status:
198
+ type: string
199
+ enum:
200
+ - passed
201
+ - failed
202
+ - error
203
+ description: Overall test result
204
+ total_tests:
205
+ type: integer
206
+ description: Number of tests executed
207
+ passed_count:
208
+ type: integer
209
+ description: Number of passing tests
210
+ failed_count:
211
+ type: integer
212
+ description: Number of failing tests
213
+ duration_seconds:
214
+ type: number
215
+ description: Total execution time
216
+ failures:
217
+ type: array
218
+ description: Details of failed tests (if any)
219
+ items:
220
+ type: object
221
+ properties:
222
+ test_name:
223
+ type: string
224
+ error_message:
225
+ type: string
226
+ file:
227
+ type: string
228
+ line:
229
+ type: integer