@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
@@ -0,0 +1,1320 @@
1
+ # Amazon Bedrock Agents Extension for OSSA v0.3.3
2
+
3
+ **Version:** 0.3.3
4
+ **Status:** Stable
5
+ **Last Updated:** 2025-12-31
6
+
7
+ ## Overview
8
+
9
+ The Amazon Bedrock Agents extension enables bidirectional mapping between OSSA manifests and AWS Bedrock Agents. This extension supports:
10
+
11
+ - **Agent Runtime**: Bedrock Agents managed agent service
12
+ - **Action Groups**: Lambda-backed functions mapped to OSSA capabilities
13
+ - **Knowledge Bases**: RAG integration via Bedrock Knowledge Bases
14
+ - **Guardrails**: Safety configuration via Bedrock Guardrails
15
+ - **Foundation Models**: Claude, Titan, and other Bedrock-hosted models
16
+ - **Session Management**: Stateful conversations with session attributes
17
+ - **Tracing**: Observability via AWS X-Ray and CloudWatch
18
+
19
+ ## Extension Schema
20
+
21
+ ```yaml
22
+ extensions:
23
+ bedrock:
24
+ type: object
25
+ description: "Amazon Bedrock Agents extension for OSSA manifests"
26
+ required:
27
+ - foundation_model
28
+ properties:
29
+ agent_id:
30
+ type: string
31
+ pattern: "^[A-Z0-9]{10}$"
32
+ description: "Bedrock Agent ID (10-character alphanumeric)"
33
+ examples:
34
+ - "ABCD123456"
35
+
36
+ agent_alias_id:
37
+ type: string
38
+ pattern: "^[A-Z0-9]{10}$"
39
+ description: "Agent alias ID for versioned deployments"
40
+ examples:
41
+ - "TSTALIASID"
42
+
43
+ agent_version:
44
+ type: string
45
+ description: "Agent version (DRAFT or numeric)"
46
+ default: "DRAFT"
47
+ examples:
48
+ - "DRAFT"
49
+ - "1"
50
+ - "2"
51
+
52
+ foundation_model:
53
+ type: object
54
+ required:
55
+ - model_id
56
+ properties:
57
+ model_id:
58
+ type: string
59
+ description: "Bedrock foundation model identifier"
60
+ enum:
61
+ - anthropic.claude-3-5-sonnet-20241022-v2:0
62
+ - anthropic.claude-sonnet-4-20250514-v1:0
63
+ - anthropic.claude-opus-4-20250514-v1:0
64
+ - anthropic.claude-3-haiku-20240307-v1:0
65
+ - anthropic.claude-instant-v1
66
+ - amazon.titan-text-express-v1
67
+ - amazon.titan-text-premier-v1:0
68
+ - meta.llama3-1-70b-instruct-v1:0
69
+ - meta.llama3-1-405b-instruct-v1:0
70
+ - cohere.command-r-plus-v1:0
71
+ - mistral.mistral-large-2407-v1:0
72
+ examples:
73
+ - "anthropic.claude-sonnet-4-20250514-v1:0"
74
+
75
+ inference_profile_arn:
76
+ type: string
77
+ pattern: "^arn:aws:bedrock:[a-z0-9-]+:[0-9]+:inference-profile/.*$"
78
+ description: "Cross-region inference profile ARN for high availability"
79
+
80
+ inference_config:
81
+ type: object
82
+ properties:
83
+ max_tokens:
84
+ type: integer
85
+ minimum: 1
86
+ maximum: 8192
87
+ default: 4096
88
+ temperature:
89
+ type: number
90
+ minimum: 0
91
+ maximum: 1
92
+ default: 0.7
93
+ top_p:
94
+ type: number
95
+ minimum: 0
96
+ maximum: 1
97
+ default: 0.9
98
+ stop_sequences:
99
+ type: array
100
+ items:
101
+ type: string
102
+ maxItems: 4
103
+
104
+ action_groups:
105
+ type: array
106
+ description: "Action groups mapping to OSSA capabilities"
107
+ items:
108
+ type: object
109
+ required:
110
+ - name
111
+ - executor
112
+ properties:
113
+ name:
114
+ type: string
115
+ pattern: "^[a-zA-Z][a-zA-Z0-9_-]{0,99}$"
116
+ description: "Action group name"
117
+
118
+ description:
119
+ type: string
120
+ maxLength: 200
121
+ description: "Action group description"
122
+
123
+ executor:
124
+ type: object
125
+ description: "Lambda or return-control executor"
126
+ properties:
127
+ type:
128
+ type: string
129
+ enum:
130
+ - lambda
131
+ - return_control
132
+ - custom_control
133
+ default: lambda
134
+
135
+ lambda_arn:
136
+ type: string
137
+ pattern: "^arn:aws:lambda:[a-z0-9-]+:[0-9]+:function:.*$"
138
+ description: "Lambda function ARN"
139
+
140
+ custom_control:
141
+ type: string
142
+ enum:
143
+ - RETURN_CONTROL
144
+ description: "Return control to invoking application"
145
+
146
+ api_schema:
147
+ type: object
148
+ description: "OpenAPI schema configuration"
149
+ properties:
150
+ source:
151
+ type: string
152
+ enum:
153
+ - s3
154
+ - inline
155
+ default: inline
156
+
157
+ s3_uri:
158
+ type: string
159
+ pattern: "^s3://[a-z0-9][a-z0-9.-]*[a-z0-9]/.*$"
160
+ description: "S3 URI for OpenAPI spec"
161
+
162
+ inline:
163
+ type: object
164
+ description: "Inline OpenAPI specification"
165
+ additionalProperties: true
166
+
167
+ function_schema:
168
+ type: object
169
+ description: "Function-based schema (alternative to OpenAPI)"
170
+ properties:
171
+ functions:
172
+ type: array
173
+ items:
174
+ type: object
175
+ required:
176
+ - name
177
+ properties:
178
+ name:
179
+ type: string
180
+ description:
181
+ type: string
182
+ parameters:
183
+ type: object
184
+ additionalProperties: true
185
+ require_confirmation:
186
+ type: string
187
+ enum:
188
+ - ENABLED
189
+ - DISABLED
190
+ default: DISABLED
191
+
192
+ parent_action_group_signature:
193
+ type: string
194
+ enum:
195
+ - AMAZON.UserInput
196
+ - AMAZON.CodeInterpreter
197
+ description: "Built-in action group signature"
198
+
199
+ skip_resource_in_use_check:
200
+ type: boolean
201
+ default: false
202
+
203
+ knowledge_base_ids:
204
+ type: array
205
+ description: "Bedrock Knowledge Base associations"
206
+ items:
207
+ type: object
208
+ required:
209
+ - knowledge_base_id
210
+ properties:
211
+ knowledge_base_id:
212
+ type: string
213
+ pattern: "^[A-Z0-9]{10}$"
214
+ description: "Knowledge Base ID"
215
+
216
+ description:
217
+ type: string
218
+ maxLength: 200
219
+ description: "Description of knowledge base purpose"
220
+
221
+ retrieval_config:
222
+ type: object
223
+ properties:
224
+ vector_search:
225
+ type: object
226
+ properties:
227
+ number_of_results:
228
+ type: integer
229
+ minimum: 1
230
+ maximum: 100
231
+ default: 5
232
+
233
+ override_search_type:
234
+ type: string
235
+ enum:
236
+ - HYBRID
237
+ - SEMANTIC
238
+ default: SEMANTIC
239
+
240
+ filter:
241
+ type: object
242
+ description: "Metadata filter configuration"
243
+ additionalProperties: true
244
+
245
+ guardrail_config:
246
+ type: object
247
+ description: "Bedrock Guardrails configuration"
248
+ properties:
249
+ guardrail_id:
250
+ type: string
251
+ pattern: "^[a-z0-9]{12}$"
252
+ description: "Guardrail identifier"
253
+
254
+ guardrail_version:
255
+ type: string
256
+ description: "Guardrail version (DRAFT or numeric)"
257
+ default: "DRAFT"
258
+
259
+ trace:
260
+ type: string
261
+ enum:
262
+ - enabled
263
+ - disabled
264
+ default: enabled
265
+ description: "Enable guardrail trace in responses"
266
+
267
+ content_policy:
268
+ type: object
269
+ description: "Content filtering thresholds"
270
+ properties:
271
+ filters:
272
+ type: array
273
+ items:
274
+ type: object
275
+ properties:
276
+ type:
277
+ type: string
278
+ enum:
279
+ - SEXUAL
280
+ - VIOLENCE
281
+ - HATE
282
+ - INSULTS
283
+ - MISCONDUCT
284
+ - PROMPT_ATTACK
285
+ input_strength:
286
+ type: string
287
+ enum: [NONE, LOW, MEDIUM, HIGH]
288
+ output_strength:
289
+ type: string
290
+ enum: [NONE, LOW, MEDIUM, HIGH]
291
+
292
+ topic_policy:
293
+ type: object
294
+ description: "Denied topics configuration"
295
+ properties:
296
+ topics:
297
+ type: array
298
+ items:
299
+ type: object
300
+ properties:
301
+ name:
302
+ type: string
303
+ definition:
304
+ type: string
305
+ examples:
306
+ type: array
307
+ items:
308
+ type: string
309
+ type:
310
+ type: string
311
+ enum: [DENY]
312
+
313
+ word_policy:
314
+ type: object
315
+ description: "Word and phrase filtering"
316
+ properties:
317
+ words:
318
+ type: array
319
+ items:
320
+ type: string
321
+ managed_word_lists:
322
+ type: array
323
+ items:
324
+ type: string
325
+ enum: [PROFANITY]
326
+
327
+ sensitive_info_policy:
328
+ type: object
329
+ description: "PII and regex-based filtering"
330
+ properties:
331
+ pii_entities:
332
+ type: array
333
+ items:
334
+ type: object
335
+ properties:
336
+ type:
337
+ type: string
338
+ enum:
339
+ - ADDRESS
340
+ - AGE
341
+ - AWS_ACCESS_KEY
342
+ - AWS_SECRET_KEY
343
+ - CA_HEALTH_NUMBER
344
+ - CA_SOCIAL_INSURANCE_NUMBER
345
+ - CREDIT_DEBIT_CARD_CVV
346
+ - CREDIT_DEBIT_CARD_EXPIRY
347
+ - CREDIT_DEBIT_CARD_NUMBER
348
+ - DRIVER_ID
349
+ - EMAIL
350
+ - INTERNATIONAL_BANK_ACCOUNT_NUMBER
351
+ - IP_ADDRESS
352
+ - LICENSE_PLATE
353
+ - MAC_ADDRESS
354
+ - NAME
355
+ - PASSWORD
356
+ - PHONE
357
+ - PIN
358
+ - SWIFT_CODE
359
+ - UK_NATIONAL_HEALTH_SERVICE_NUMBER
360
+ - UK_NATIONAL_INSURANCE_NUMBER
361
+ - UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER
362
+ - URL
363
+ - USERNAME
364
+ - US_BANK_ACCOUNT_NUMBER
365
+ - US_BANK_ROUTING_NUMBER
366
+ - US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER
367
+ - US_PASSPORT_NUMBER
368
+ - US_SOCIAL_SECURITY_NUMBER
369
+ - VEHICLE_IDENTIFICATION_NUMBER
370
+ action:
371
+ type: string
372
+ enum: [BLOCK, ANONYMIZE]
373
+
374
+ regex_patterns:
375
+ type: array
376
+ items:
377
+ type: object
378
+ properties:
379
+ name:
380
+ type: string
381
+ pattern:
382
+ type: string
383
+ action:
384
+ type: string
385
+ enum: [BLOCK, ANONYMIZE]
386
+
387
+ contextual_grounding:
388
+ type: object
389
+ description: "Hallucination detection thresholds"
390
+ properties:
391
+ grounding_threshold:
392
+ type: number
393
+ minimum: 0
394
+ maximum: 1
395
+ default: 0.7
396
+ relevance_threshold:
397
+ type: number
398
+ minimum: 0
399
+ maximum: 1
400
+ default: 0.7
401
+
402
+ session_config:
403
+ type: object
404
+ description: "Session management configuration"
405
+ properties:
406
+ idle_session_ttl_seconds:
407
+ type: integer
408
+ minimum: 60
409
+ maximum: 3600
410
+ default: 600
411
+ description: "Session timeout in seconds"
412
+
413
+ session_attributes:
414
+ type: object
415
+ description: "Default session attributes"
416
+ additionalProperties:
417
+ type: string
418
+
419
+ prompt_session_attributes:
420
+ type: object
421
+ description: "Prompt-level session attributes"
422
+ additionalProperties:
423
+ type: string
424
+
425
+ memory_config:
426
+ type: object
427
+ description: "Memory configuration for multi-turn conversations"
428
+ properties:
429
+ enabled_memory_types:
430
+ type: array
431
+ items:
432
+ type: string
433
+ enum:
434
+ - SESSION_SUMMARY
435
+ storage_days:
436
+ type: integer
437
+ minimum: 1
438
+ maximum: 30
439
+ default: 30
440
+
441
+ orchestration:
442
+ type: object
443
+ description: "Agent orchestration configuration"
444
+ properties:
445
+ instruction:
446
+ type: string
447
+ maxLength: 4000
448
+ description: "Agent instruction prompt"
449
+
450
+ prompt_override:
451
+ type: object
452
+ description: "Custom prompt templates"
453
+ properties:
454
+ pre_processing:
455
+ type: object
456
+ properties:
457
+ template:
458
+ type: string
459
+ inference_config:
460
+ type: object
461
+ orchestration:
462
+ type: object
463
+ properties:
464
+ template:
465
+ type: string
466
+ inference_config:
467
+ type: object
468
+ knowledge_base_response_generation:
469
+ type: object
470
+ properties:
471
+ template:
472
+ type: string
473
+ inference_config:
474
+ type: object
475
+ post_processing:
476
+ type: object
477
+ properties:
478
+ template:
479
+ type: string
480
+ inference_config:
481
+ type: object
482
+
483
+ observability:
484
+ type: object
485
+ description: "Tracing and monitoring configuration"
486
+ properties:
487
+ trace_enabled:
488
+ type: boolean
489
+ default: true
490
+ description: "Enable agent trace in responses"
491
+
492
+ cloudwatch:
493
+ type: object
494
+ properties:
495
+ log_group_arn:
496
+ type: string
497
+ pattern: "^arn:aws:logs:[a-z0-9-]+:[0-9]+:log-group:.*$"
498
+ log_level:
499
+ type: string
500
+ enum:
501
+ - NONE
502
+ - ERROR
503
+ - WARN
504
+ - INFO
505
+ - DEBUG
506
+ default: INFO
507
+
508
+ xray:
509
+ type: object
510
+ properties:
511
+ enabled:
512
+ type: boolean
513
+ default: true
514
+ sampling_rate:
515
+ type: number
516
+ minimum: 0
517
+ maximum: 1
518
+ default: 0.05
519
+
520
+ iam:
521
+ type: object
522
+ description: "IAM configuration for agent execution"
523
+ properties:
524
+ agent_resource_role_arn:
525
+ type: string
526
+ pattern: "^arn:aws:iam::[0-9]+:role/.*$"
527
+ description: "IAM role ARN for agent execution"
528
+
529
+ customer_encryption_key_arn:
530
+ type: string
531
+ pattern: "^arn:aws:kms:[a-z0-9-]+:[0-9]+:key/.*$"
532
+ description: "KMS key ARN for encryption at rest"
533
+ ```
534
+
535
+ ## Bidirectional Mapping Tables
536
+
537
+ ### Agent Kind Mapping
538
+
539
+ | OSSA Field | Bedrock Agent Field | Direction | Notes |
540
+ |------------|---------------------|-----------|-------|
541
+ | `metadata.name` | `agentName` | Bidirectional | DNS-1123 format in OSSA |
542
+ | `metadata.description` | `description` | Bidirectional | Max 200 chars in Bedrock |
543
+ | `metadata.version` | `agentVersion` | OSSA -> Bedrock | Semver in OSSA, numeric in Bedrock |
544
+ | `spec.role` | `instruction` | Bidirectional | System prompt |
545
+ | `spec.llm.model` | `foundationModel` | Bidirectional | Model ID mapping required |
546
+ | `spec.llm.temperature` | `inferenceConfiguration.temperature` | Bidirectional | 0-1 range |
547
+ | `spec.llm.max_tokens` | `inferenceConfiguration.maximumLength` | Bidirectional | |
548
+ | `spec.tools` | `actionGroups` | Bidirectional | See Action Groups mapping |
549
+ | `spec.safety` | `guardrailConfiguration` | Bidirectional | See Guardrails mapping |
550
+ | `spec.state` | `memoryConfiguration` | Bidirectional | Session memory |
551
+
552
+ ### Action Groups to Capabilities Mapping
553
+
554
+ | OSSA Capability | Bedrock Action Group | Mapping Strategy |
555
+ |-----------------|---------------------|------------------|
556
+ | `spec.tools[].name` | `actionGroupName` | Direct mapping |
557
+ | `spec.tools[].description` | `description` | Direct mapping |
558
+ | `spec.tools[].parameters` | `functionSchema.functions[].parameters` | JSON Schema conversion |
559
+ | `spec.tools[].openapi_ref` | `apiSchema.s3.s3Uri` | S3 reference |
560
+ | `spec.tools[].handler` | `actionGroupExecutor.lambda` | Lambda ARN binding |
561
+ | `AMAZON.UserInput` | Parent action group | Built-in user input handler |
562
+ | `AMAZON.CodeInterpreter` | Parent action group | Built-in code execution |
563
+
564
+ ### Knowledge Bases to Resources Mapping
565
+
566
+ | OSSA Resource | Bedrock Knowledge Base | Notes |
567
+ |---------------|----------------------|-------|
568
+ | `spec.resources[].type: rag` | `knowledgeBaseId` | Knowledge Base association |
569
+ | `spec.resources[].uri` | S3 data source | Via KB configuration |
570
+ | `spec.resources[].query.top_k` | `retrievalConfiguration.vectorSearchConfiguration.numberOfResults` | |
571
+ | `spec.resources[].query.filter` | `retrievalConfiguration.vectorSearchConfiguration.filter` | Metadata filtering |
572
+
573
+ ### Guardrails to Safety Mapping
574
+
575
+ | OSSA Safety | Bedrock Guardrail | Notes |
576
+ |-------------|-------------------|-------|
577
+ | `spec.safety.content_filters` | `contentPolicyConfig.filtersConfig` | Content moderation |
578
+ | `spec.safety.prohibited_topics` | `topicPolicyConfig.topicsConfig` | Denied topics |
579
+ | `spec.safety.blocked_terms` | `wordPolicyConfig.wordsConfig` | Word blocking |
580
+ | `spec.safety.pii_handling` | `sensitiveInformationPolicyConfig` | PII detection |
581
+ | `spec.constraints.require_grounding` | `contextualGroundingPolicyConfig` | Hallucination check |
582
+
583
+ ### Session State Mapping
584
+
585
+ | OSSA State | Bedrock Session | Notes |
586
+ |------------|-----------------|-------|
587
+ | `spec.state.persistence` | `memoryConfiguration` | Memory type config |
588
+ | `spec.state.ttl_seconds` | `idleSessionTTLInSeconds` | Session timeout |
589
+ | `runtime.session_id` | `sessionId` | Unique session identifier |
590
+ | `runtime.context` | `sessionState.sessionAttributes` | Key-value state |
591
+ | `runtime.prompt_context` | `sessionState.promptSessionAttributes` | Per-prompt context |
592
+
593
+ ### Observability Mapping
594
+
595
+ | OSSA Observability | Bedrock Trace | Notes |
596
+ |--------------------|---------------|-------|
597
+ | `spec.observability.tracing.enabled` | `enableTrace` | Enable trace output |
598
+ | `spec.observability.tracing.provider: xray` | X-Ray integration | Automatic with Bedrock |
599
+ | `spec.observability.logging.level` | CloudWatch log level | Via agent logging config |
600
+ | Trace output | `trace.orchestrationTrace` | Reasoning trace |
601
+ | Trace output | `trace.preProcessingTrace` | Input preprocessing |
602
+ | Trace output | `trace.postProcessingTrace` | Output postprocessing |
603
+ | Trace output | `trace.failureTrace` | Error details |
604
+ | Trace output | `trace.guardrailTrace` | Guardrail invocations |
605
+
606
+ ## Example Manifests
607
+
608
+ ### Basic Bedrock Agent
609
+
610
+ ```yaml
611
+ apiVersion: ossa/v0.3.3
612
+ kind: Agent
613
+ metadata:
614
+ name: customer-support-agent
615
+ version: 1.0.0
616
+ description: Customer support agent with product knowledge
617
+
618
+ spec:
619
+ role: |
620
+ You are a helpful customer support agent for Acme Corp.
621
+ Answer questions about products, orders, and returns.
622
+ Be polite and professional at all times.
623
+
624
+ llm:
625
+ provider: bedrock
626
+ model: anthropic.claude-sonnet-4-20250514-v1:0
627
+ temperature: 0.7
628
+ max_tokens: 4096
629
+
630
+ tools:
631
+ - name: search_orders
632
+ description: Search customer orders by order ID or email
633
+ parameters:
634
+ type: object
635
+ properties:
636
+ order_id:
637
+ type: string
638
+ email:
639
+ type: string
640
+ required: []
641
+
642
+ - name: create_return
643
+ description: Create a return request for an order
644
+ parameters:
645
+ type: object
646
+ properties:
647
+ order_id:
648
+ type: string
649
+ reason:
650
+ type: string
651
+ enum: [damaged, wrong_item, not_needed, other]
652
+ required: [order_id, reason]
653
+
654
+ safety:
655
+ content_filters:
656
+ - type: HATE
657
+ input_strength: HIGH
658
+ output_strength: HIGH
659
+ - type: INSULTS
660
+ input_strength: MEDIUM
661
+ output_strength: HIGH
662
+
663
+ state:
664
+ persistence: session
665
+ ttl_seconds: 600
666
+
667
+ observability:
668
+ tracing:
669
+ enabled: true
670
+ provider: xray
671
+ logging:
672
+ level: info
673
+
674
+ extensions:
675
+ bedrock:
676
+ foundation_model:
677
+ model_id: anthropic.claude-sonnet-4-20250514-v1:0
678
+ inference_config:
679
+ max_tokens: 4096
680
+ temperature: 0.7
681
+ top_p: 0.9
682
+
683
+ action_groups:
684
+ - name: OrderManagement
685
+ description: Manage customer orders and returns
686
+ executor:
687
+ type: lambda
688
+ lambda_arn: arn:aws:lambda:us-east-1:123456789012:function:order-management
689
+
690
+ function_schema:
691
+ functions:
692
+ - name: search_orders
693
+ description: Search customer orders
694
+ parameters:
695
+ type: object
696
+ properties:
697
+ order_id:
698
+ type: string
699
+ description: Order ID to search
700
+ email:
701
+ type: string
702
+ description: Customer email
703
+ require_confirmation: DISABLED
704
+
705
+ - name: create_return
706
+ description: Create return request
707
+ parameters:
708
+ type: object
709
+ properties:
710
+ order_id:
711
+ type: string
712
+ reason:
713
+ type: string
714
+ required:
715
+ - order_id
716
+ - reason
717
+ require_confirmation: ENABLED
718
+
719
+ knowledge_base_ids:
720
+ - knowledge_base_id: KBABCD1234
721
+ description: Product catalog and FAQ
722
+ retrieval_config:
723
+ vector_search:
724
+ number_of_results: 5
725
+ override_search_type: HYBRID
726
+
727
+ guardrail_config:
728
+ guardrail_id: abc123def456
729
+ guardrail_version: "1"
730
+ trace: enabled
731
+ content_policy:
732
+ filters:
733
+ - type: HATE
734
+ input_strength: HIGH
735
+ output_strength: HIGH
736
+ - type: INSULTS
737
+ input_strength: MEDIUM
738
+ output_strength: HIGH
739
+
740
+ session_config:
741
+ idle_session_ttl_seconds: 600
742
+ memory_config:
743
+ enabled_memory_types:
744
+ - SESSION_SUMMARY
745
+ storage_days: 7
746
+
747
+ observability:
748
+ trace_enabled: true
749
+ cloudwatch:
750
+ log_group_arn: arn:aws:logs:us-east-1:123456789012:log-group:/aws/bedrock/agents/customer-support
751
+ log_level: INFO
752
+ xray:
753
+ enabled: true
754
+ sampling_rate: 0.1
755
+
756
+ iam:
757
+ agent_resource_role_arn: arn:aws:iam::123456789012:role/BedrockAgentRole
758
+ ```
759
+
760
+ ### RAG-Enabled Research Agent
761
+
762
+ ```yaml
763
+ apiVersion: ossa/v0.3.3
764
+ kind: Agent
765
+ metadata:
766
+ name: research-assistant
767
+ version: 1.0.0
768
+ description: Research assistant with access to document knowledge base
769
+
770
+ spec:
771
+ role: |
772
+ You are a research assistant that helps users find and synthesize
773
+ information from internal documents and research papers.
774
+ Always cite sources when providing information.
775
+
776
+ llm:
777
+ provider: bedrock
778
+ model: anthropic.claude-opus-4-20250514-v1:0
779
+ temperature: 0.3
780
+ max_tokens: 8192
781
+
782
+ resources:
783
+ - name: research_documents
784
+ type: rag
785
+ description: Internal research documents and papers
786
+ query:
787
+ top_k: 10
788
+ threshold: 0.7
789
+
790
+ constraints:
791
+ require_grounding: true
792
+ max_iterations: 5
793
+ timeout_seconds: 120
794
+
795
+ extensions:
796
+ bedrock:
797
+ foundation_model:
798
+ model_id: anthropic.claude-opus-4-20250514-v1:0
799
+ inference_profile_arn: arn:aws:bedrock:us-east-1:123456789012:inference-profile/research-profile
800
+ inference_config:
801
+ max_tokens: 8192
802
+ temperature: 0.3
803
+
804
+ knowledge_base_ids:
805
+ - knowledge_base_id: KBRESEARCH1
806
+ description: Research papers and internal documents
807
+ retrieval_config:
808
+ vector_search:
809
+ number_of_results: 10
810
+ override_search_type: HYBRID
811
+ filter:
812
+ andAll:
813
+ - equals:
814
+ key: status
815
+ value: published
816
+
817
+ guardrail_config:
818
+ guardrail_id: research12345
819
+ contextual_grounding:
820
+ grounding_threshold: 0.7
821
+ relevance_threshold: 0.8
822
+
823
+ action_groups:
824
+ - name: UserInput
825
+ parent_action_group_signature: AMAZON.UserInput
826
+
827
+ orchestration:
828
+ instruction: |
829
+ You are a research assistant. When answering questions:
830
+ 1. Search the knowledge base for relevant documents
831
+ 2. Synthesize information from multiple sources
832
+ 3. Always cite the source documents
833
+ 4. If information is not found, clearly state that
834
+ ```
835
+
836
+ ### Code Generation Agent with Interpreter
837
+
838
+ ```yaml
839
+ apiVersion: ossa/v0.3.3
840
+ kind: Agent
841
+ metadata:
842
+ name: code-assistant
843
+ version: 1.0.0
844
+ description: Code generation and execution agent
845
+
846
+ spec:
847
+ role: |
848
+ You are a coding assistant that can write, explain, and execute code.
849
+ Support Python, JavaScript, and SQL queries.
850
+
851
+ llm:
852
+ provider: bedrock
853
+ model: anthropic.claude-sonnet-4-20250514-v1:0
854
+ temperature: 0.2
855
+ max_tokens: 4096
856
+
857
+ tools:
858
+ - name: execute_code
859
+ type: code_interpreter
860
+ description: Execute Python code in a sandboxed environment
861
+
862
+ extensions:
863
+ bedrock:
864
+ foundation_model:
865
+ model_id: anthropic.claude-sonnet-4-20250514-v1:0
866
+ inference_config:
867
+ temperature: 0.2
868
+ max_tokens: 4096
869
+
870
+ action_groups:
871
+ - name: CodeInterpreter
872
+ parent_action_group_signature: AMAZON.CodeInterpreter
873
+
874
+ - name: DatabaseQueries
875
+ description: Execute SQL queries on approved databases
876
+ executor:
877
+ type: lambda
878
+ lambda_arn: arn:aws:lambda:us-east-1:123456789012:function:sql-executor
879
+
880
+ api_schema:
881
+ source: s3
882
+ s3_uri: s3://my-bucket/openapi/database-api.yaml
883
+
884
+ guardrail_config:
885
+ guardrail_id: code123guard
886
+ sensitive_info_policy:
887
+ pii_entities:
888
+ - type: AWS_ACCESS_KEY
889
+ action: BLOCK
890
+ - type: AWS_SECRET_KEY
891
+ action: BLOCK
892
+ - type: PASSWORD
893
+ action: BLOCK
894
+ regex_patterns:
895
+ - name: API_KEY_PATTERN
896
+ pattern: "(?i)api[_-]?key['\"]?\\s*[:=]\\s*['\"]?[a-zA-Z0-9]{20,}"
897
+ action: BLOCK
898
+ ```
899
+
900
+ ### Multi-Agent Supervisor with Return Control
901
+
902
+ ```yaml
903
+ apiVersion: ossa/v0.3.3
904
+ kind: Agent
905
+ metadata:
906
+ name: workflow-supervisor
907
+ version: 1.0.0
908
+ description: Supervisor agent that orchestrates sub-agents
909
+
910
+ spec:
911
+ type: supervisor
912
+ role: |
913
+ You are a workflow supervisor that coordinates multiple specialized agents.
914
+ Delegate tasks to appropriate agents and synthesize their outputs.
915
+
916
+ llm:
917
+ provider: bedrock
918
+ model: anthropic.claude-sonnet-4-20250514-v1:0
919
+
920
+ access:
921
+ tier: tier_3_write_elevated
922
+ permissions:
923
+ - execute_commands
924
+ - modify_configs
925
+
926
+ delegation:
927
+ enabled: true
928
+ allowed_tiers:
929
+ - tier_1_read
930
+ - tier_2_write_limited
931
+ allowed_operations:
932
+ - analyze
933
+ - generate
934
+ - validate
935
+
936
+ extensions:
937
+ bedrock:
938
+ foundation_model:
939
+ model_id: anthropic.claude-sonnet-4-20250514-v1:0
940
+
941
+ action_groups:
942
+ - name: AgentOrchestration
943
+ description: Delegate tasks to specialized agents
944
+ executor:
945
+ type: return_control
946
+ custom_control: RETURN_CONTROL
947
+
948
+ function_schema:
949
+ functions:
950
+ - name: invoke_analyzer
951
+ description: Invoke the code analyzer agent
952
+ parameters:
953
+ type: object
954
+ properties:
955
+ code_path:
956
+ type: string
957
+ analysis_type:
958
+ type: string
959
+ enum: [security, performance, quality]
960
+ required: [code_path, analysis_type]
961
+
962
+ - name: invoke_generator
963
+ description: Invoke the code generator agent
964
+ parameters:
965
+ type: object
966
+ properties:
967
+ specification:
968
+ type: string
969
+ language:
970
+ type: string
971
+ required: [specification, language]
972
+
973
+ session_config:
974
+ idle_session_ttl_seconds: 1800
975
+ memory_config:
976
+ enabled_memory_types:
977
+ - SESSION_SUMMARY
978
+ storage_days: 30
979
+ ```
980
+
981
+ ## OpenAPI Integration
982
+
983
+ Bedrock Agents support OpenAPI 3.0 schemas for action group definitions. OSSA tools with OpenAPI references can be directly mapped:
984
+
985
+ ### OSSA Tool with OpenAPI Reference
986
+
987
+ ```yaml
988
+ spec:
989
+ tools:
990
+ - name: order_api
991
+ description: Order management API
992
+ openapi_ref: s3://my-bucket/openapi/orders-v1.yaml
993
+ ```
994
+
995
+ ### Equivalent Bedrock Action Group
996
+
997
+ ```yaml
998
+ extensions:
999
+ bedrock:
1000
+ action_groups:
1001
+ - name: OrderAPI
1002
+ description: Order management API
1003
+ executor:
1004
+ type: lambda
1005
+ lambda_arn: arn:aws:lambda:us-east-1:123456789012:function:order-api
1006
+ api_schema:
1007
+ source: s3
1008
+ s3_uri: s3://my-bucket/openapi/orders-v1.yaml
1009
+ ```
1010
+
1011
+ ### Inline OpenAPI Schema
1012
+
1013
+ ```yaml
1014
+ extensions:
1015
+ bedrock:
1016
+ action_groups:
1017
+ - name: ProductSearch
1018
+ description: Search products
1019
+ executor:
1020
+ type: lambda
1021
+ lambda_arn: arn:aws:lambda:us-east-1:123456789012:function:product-search
1022
+ api_schema:
1023
+ source: inline
1024
+ inline:
1025
+ openapi: "3.0.0"
1026
+ info:
1027
+ title: Product Search API
1028
+ version: "1.0"
1029
+ paths:
1030
+ /search:
1031
+ post:
1032
+ operationId: searchProducts
1033
+ description: Search products by criteria
1034
+ requestBody:
1035
+ required: true
1036
+ content:
1037
+ application/json:
1038
+ schema:
1039
+ type: object
1040
+ properties:
1041
+ query:
1042
+ type: string
1043
+ category:
1044
+ type: string
1045
+ max_price:
1046
+ type: number
1047
+ responses:
1048
+ "200":
1049
+ description: Search results
1050
+ content:
1051
+ application/json:
1052
+ schema:
1053
+ type: array
1054
+ items:
1055
+ $ref: "#/components/schemas/Product"
1056
+ components:
1057
+ schemas:
1058
+ Product:
1059
+ type: object
1060
+ properties:
1061
+ id:
1062
+ type: string
1063
+ name:
1064
+ type: string
1065
+ price:
1066
+ type: number
1067
+ ```
1068
+
1069
+ ## Zod Validation Schema
1070
+
1071
+ For TypeScript/JavaScript applications, use the following Zod schema for validation:
1072
+
1073
+ ```typescript
1074
+ import { z } from 'zod';
1075
+
1076
+ export const BedrockFoundationModelSchema = z.object({
1077
+ model_id: z.enum([
1078
+ 'anthropic.claude-3-5-sonnet-20241022-v2:0',
1079
+ 'anthropic.claude-sonnet-4-20250514-v1:0',
1080
+ 'anthropic.claude-opus-4-20250514-v1:0',
1081
+ 'anthropic.claude-3-haiku-20240307-v1:0',
1082
+ 'anthropic.claude-instant-v1',
1083
+ 'amazon.titan-text-express-v1',
1084
+ 'amazon.titan-text-premier-v1:0',
1085
+ 'meta.llama3-1-70b-instruct-v1:0',
1086
+ 'meta.llama3-1-405b-instruct-v1:0',
1087
+ 'cohere.command-r-plus-v1:0',
1088
+ 'mistral.mistral-large-2407-v1:0',
1089
+ ]),
1090
+ inference_profile_arn: z.string()
1091
+ .regex(/^arn:aws:bedrock:[a-z0-9-]+:[0-9]+:inference-profile\/.*$/)
1092
+ .optional(),
1093
+ inference_config: z.object({
1094
+ max_tokens: z.number().min(1).max(8192).default(4096),
1095
+ temperature: z.number().min(0).max(1).default(0.7),
1096
+ top_p: z.number().min(0).max(1).default(0.9),
1097
+ stop_sequences: z.array(z.string()).max(4).optional(),
1098
+ }).optional(),
1099
+ });
1100
+
1101
+ export const BedrockActionGroupSchema = z.object({
1102
+ name: z.string().regex(/^[a-zA-Z][a-zA-Z0-9_-]{0,99}$/),
1103
+ description: z.string().max(200).optional(),
1104
+ executor: z.object({
1105
+ type: z.enum(['lambda', 'return_control', 'custom_control']).default('lambda'),
1106
+ lambda_arn: z.string()
1107
+ .regex(/^arn:aws:lambda:[a-z0-9-]+:[0-9]+:function:.*$/)
1108
+ .optional(),
1109
+ custom_control: z.enum(['RETURN_CONTROL']).optional(),
1110
+ }),
1111
+ api_schema: z.object({
1112
+ source: z.enum(['s3', 'inline']).default('inline'),
1113
+ s3_uri: z.string()
1114
+ .regex(/^s3:\/\/[a-z0-9][a-z0-9.-]*[a-z0-9]\/.*$/)
1115
+ .optional(),
1116
+ inline: z.record(z.unknown()).optional(),
1117
+ }).optional(),
1118
+ function_schema: z.object({
1119
+ functions: z.array(z.object({
1120
+ name: z.string(),
1121
+ description: z.string().optional(),
1122
+ parameters: z.record(z.unknown()).optional(),
1123
+ require_confirmation: z.enum(['ENABLED', 'DISABLED']).default('DISABLED'),
1124
+ })),
1125
+ }).optional(),
1126
+ parent_action_group_signature: z.enum([
1127
+ 'AMAZON.UserInput',
1128
+ 'AMAZON.CodeInterpreter',
1129
+ ]).optional(),
1130
+ skip_resource_in_use_check: z.boolean().default(false),
1131
+ });
1132
+
1133
+ export const BedrockKnowledgeBaseSchema = z.object({
1134
+ knowledge_base_id: z.string().regex(/^[A-Z0-9]{10}$/),
1135
+ description: z.string().max(200).optional(),
1136
+ retrieval_config: z.object({
1137
+ vector_search: z.object({
1138
+ number_of_results: z.number().min(1).max(100).default(5),
1139
+ override_search_type: z.enum(['HYBRID', 'SEMANTIC']).default('SEMANTIC'),
1140
+ filter: z.record(z.unknown()).optional(),
1141
+ }).optional(),
1142
+ }).optional(),
1143
+ });
1144
+
1145
+ export const BedrockGuardrailSchema = z.object({
1146
+ guardrail_id: z.string().regex(/^[a-z0-9]{12}$/),
1147
+ guardrail_version: z.string().default('DRAFT'),
1148
+ trace: z.enum(['enabled', 'disabled']).default('enabled'),
1149
+ content_policy: z.object({
1150
+ filters: z.array(z.object({
1151
+ type: z.enum(['SEXUAL', 'VIOLENCE', 'HATE', 'INSULTS', 'MISCONDUCT', 'PROMPT_ATTACK']),
1152
+ input_strength: z.enum(['NONE', 'LOW', 'MEDIUM', 'HIGH']),
1153
+ output_strength: z.enum(['NONE', 'LOW', 'MEDIUM', 'HIGH']),
1154
+ })),
1155
+ }).optional(),
1156
+ topic_policy: z.object({
1157
+ topics: z.array(z.object({
1158
+ name: z.string(),
1159
+ definition: z.string(),
1160
+ examples: z.array(z.string()).optional(),
1161
+ type: z.literal('DENY'),
1162
+ })),
1163
+ }).optional(),
1164
+ word_policy: z.object({
1165
+ words: z.array(z.string()).optional(),
1166
+ managed_word_lists: z.array(z.enum(['PROFANITY'])).optional(),
1167
+ }).optional(),
1168
+ sensitive_info_policy: z.object({
1169
+ pii_entities: z.array(z.object({
1170
+ type: z.string(),
1171
+ action: z.enum(['BLOCK', 'ANONYMIZE']),
1172
+ })).optional(),
1173
+ regex_patterns: z.array(z.object({
1174
+ name: z.string(),
1175
+ pattern: z.string(),
1176
+ action: z.enum(['BLOCK', 'ANONYMIZE']),
1177
+ })).optional(),
1178
+ }).optional(),
1179
+ contextual_grounding: z.object({
1180
+ grounding_threshold: z.number().min(0).max(1).default(0.7),
1181
+ relevance_threshold: z.number().min(0).max(1).default(0.7),
1182
+ }).optional(),
1183
+ });
1184
+
1185
+ export const BedrockSessionConfigSchema = z.object({
1186
+ idle_session_ttl_seconds: z.number().min(60).max(3600).default(600),
1187
+ session_attributes: z.record(z.string()).optional(),
1188
+ prompt_session_attributes: z.record(z.string()).optional(),
1189
+ memory_config: z.object({
1190
+ enabled_memory_types: z.array(z.enum(['SESSION_SUMMARY'])),
1191
+ storage_days: z.number().min(1).max(30).default(30),
1192
+ }).optional(),
1193
+ });
1194
+
1195
+ export const BedrockObservabilitySchema = z.object({
1196
+ trace_enabled: z.boolean().default(true),
1197
+ cloudwatch: z.object({
1198
+ log_group_arn: z.string()
1199
+ .regex(/^arn:aws:logs:[a-z0-9-]+:[0-9]+:log-group:.*$/)
1200
+ .optional(),
1201
+ log_level: z.enum(['NONE', 'ERROR', 'WARN', 'INFO', 'DEBUG']).default('INFO'),
1202
+ }).optional(),
1203
+ xray: z.object({
1204
+ enabled: z.boolean().default(true),
1205
+ sampling_rate: z.number().min(0).max(1).default(0.05),
1206
+ }).optional(),
1207
+ });
1208
+
1209
+ export const BedrockAgentsExtensionSchema = z.object({
1210
+ agent_id: z.string().regex(/^[A-Z0-9]{10}$/).optional(),
1211
+ agent_alias_id: z.string().regex(/^[A-Z0-9]{10}$/).optional(),
1212
+ agent_version: z.string().default('DRAFT'),
1213
+ foundation_model: BedrockFoundationModelSchema,
1214
+ action_groups: z.array(BedrockActionGroupSchema).optional(),
1215
+ knowledge_base_ids: z.array(BedrockKnowledgeBaseSchema).optional(),
1216
+ guardrail_config: BedrockGuardrailSchema.optional(),
1217
+ session_config: BedrockSessionConfigSchema.optional(),
1218
+ orchestration: z.object({
1219
+ instruction: z.string().max(4000).optional(),
1220
+ prompt_override: z.record(z.object({
1221
+ template: z.string().optional(),
1222
+ inference_config: z.record(z.unknown()).optional(),
1223
+ })).optional(),
1224
+ }).optional(),
1225
+ observability: BedrockObservabilitySchema.optional(),
1226
+ iam: z.object({
1227
+ agent_resource_role_arn: z.string()
1228
+ .regex(/^arn:aws:iam::[0-9]+:role\/.*$/)
1229
+ .optional(),
1230
+ customer_encryption_key_arn: z.string()
1231
+ .regex(/^arn:aws:kms:[a-z0-9-]+:[0-9]+:key\/.*$/)
1232
+ .optional(),
1233
+ }).optional(),
1234
+ });
1235
+ ```
1236
+
1237
+ ## CRUD Operations
1238
+
1239
+ ### Create Agent from OSSA Manifest
1240
+
1241
+ ```typescript
1242
+ import { BedrockAgentClient, CreateAgentCommand } from '@aws-sdk/client-bedrock-agent';
1243
+ import { OSSAManifest, BedrockAgentsExtension } from './types';
1244
+
1245
+ async function createAgentFromOSSA(manifest: OSSAManifest): Promise<string> {
1246
+ const client = new BedrockAgentClient({ region: 'us-east-1' });
1247
+ const bedrock = manifest.extensions?.bedrock as BedrockAgentsExtension;
1248
+
1249
+ const command = new CreateAgentCommand({
1250
+ agentName: manifest.metadata.name,
1251
+ description: manifest.metadata.description,
1252
+ instruction: manifest.spec.role || bedrock?.orchestration?.instruction,
1253
+ foundationModel: bedrock?.foundation_model?.model_id,
1254
+ agentResourceRoleArn: bedrock?.iam?.agent_resource_role_arn,
1255
+ idleSessionTTLInSeconds: bedrock?.session_config?.idle_session_ttl_seconds,
1256
+ customerEncryptionKeyArn: bedrock?.iam?.customer_encryption_key_arn,
1257
+ guardrailConfiguration: bedrock?.guardrail_config ? {
1258
+ guardrailIdentifier: bedrock.guardrail_config.guardrail_id,
1259
+ guardrailVersion: bedrock.guardrail_config.guardrail_version,
1260
+ } : undefined,
1261
+ memoryConfiguration: bedrock?.session_config?.memory_config ? {
1262
+ enabledMemoryTypes: bedrock.session_config.memory_config.enabled_memory_types,
1263
+ storageDays: bedrock.session_config.memory_config.storage_days,
1264
+ } : undefined,
1265
+ });
1266
+
1267
+ const response = await client.send(command);
1268
+ return response.agent!.agentId!;
1269
+ }
1270
+ ```
1271
+
1272
+ ### Export Bedrock Agent to OSSA Manifest
1273
+
1274
+ ```typescript
1275
+ import { BedrockAgentClient, GetAgentCommand } from '@aws-sdk/client-bedrock-agent';
1276
+
1277
+ async function exportAgentToOSSA(agentId: string): Promise<OSSAManifest> {
1278
+ const client = new BedrockAgentClient({ region: 'us-east-1' });
1279
+
1280
+ const { agent } = await client.send(new GetAgentCommand({ agentId }));
1281
+
1282
+ return {
1283
+ apiVersion: 'ossa/v0.3.3',
1284
+ kind: 'Agent',
1285
+ metadata: {
1286
+ name: agent!.agentName!.toLowerCase().replace(/[^a-z0-9-]/g, '-'),
1287
+ version: `${agent!.agentVersion}.0.0`,
1288
+ description: agent!.description,
1289
+ },
1290
+ spec: {
1291
+ role: agent!.instruction,
1292
+ llm: {
1293
+ provider: 'bedrock',
1294
+ model: agent!.foundationModel,
1295
+ },
1296
+ },
1297
+ extensions: {
1298
+ bedrock: {
1299
+ agent_id: agent!.agentId,
1300
+ agent_version: agent!.agentVersion,
1301
+ foundation_model: {
1302
+ model_id: agent!.foundationModel!,
1303
+ },
1304
+ session_config: {
1305
+ idle_session_ttl_seconds: agent!.idleSessionTTLInSeconds,
1306
+ },
1307
+ },
1308
+ },
1309
+ };
1310
+ }
1311
+ ```
1312
+
1313
+ ## Related
1314
+
1315
+ - [Amazon Bedrock Agents Documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/agents.html)
1316
+ - [Bedrock Agents API Reference](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgent.html)
1317
+ - [Bedrock Knowledge Bases](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html)
1318
+ - [Bedrock Guardrails](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html)
1319
+ - [OSSA Manifest Schema](../ossa-0.3.3.schema.json)
1320
+ - [MCP Extension](../../extensions/manifest-extensions.md)