@bluefly/openstandardagents 0.2.4 → 0.2.5-RC

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 (355) hide show
  1. package/.cursorrules +84 -0
  2. package/.devfile.yaml +87 -0
  3. package/.env.example +25 -3
  4. package/.github/workflows/release.yml +1 -1
  5. package/.kiro/specs/agent-buildkit-templates/design.md +495 -0
  6. package/.kiro/specs/agent-buildkit-templates/requirements.md +165 -0
  7. package/.kiro/specs/kiro-ide-supercharger/README.md +202 -0
  8. package/.kiro/specs/kiro-ide-supercharger/design.md +1005 -0
  9. package/.kiro/specs/kiro-ide-supercharger/requirements.md +141 -0
  10. package/.kiro/specs/kiro-ide-supercharger/tasks.md +507 -0
  11. package/.kiro/specs/website-design-audit/design.md +679 -0
  12. package/.kiro/specs/website-design-audit/requirements.md +199 -0
  13. package/.releaserc.json +5 -4
  14. package/.version.json +6 -0
  15. package/CHANGELOG.md +140 -96
  16. package/CONTRIBUTING.md +23 -5
  17. package/README.md +121 -43
  18. package/bin/ossa +24 -3
  19. package/bin/ossa-validate-all +55 -0
  20. package/bin/ossa-version +23 -0
  21. package/bin/validate-ossa-0.2.4.ts +244 -0
  22. package/bin/validate-ossa-0.2.5-RC.ts +244 -0
  23. package/bin/validate-ossa.ts +273 -0
  24. package/dist/di-container.d.ts +1 -1
  25. package/dist/di-container.d.ts.map +1 -1
  26. package/dist/di-container.js.map +1 -1
  27. package/dist/repositories/schema.repository.d.ts +17 -2
  28. package/dist/repositories/schema.repository.d.ts.map +1 -1
  29. package/dist/repositories/schema.repository.js +96 -18
  30. package/dist/repositories/schema.repository.js.map +1 -1
  31. package/dist/services/generation.service.d.ts +7 -5
  32. package/dist/services/generation.service.d.ts.map +1 -1
  33. package/dist/services/generation.service.js +92 -44
  34. package/dist/services/generation.service.js.map +1 -1
  35. package/dist/services/gitlab-agent.service.d.ts +94 -0
  36. package/dist/services/gitlab-agent.service.d.ts.map +1 -0
  37. package/dist/services/gitlab-agent.service.js +162 -0
  38. package/dist/services/gitlab-agent.service.js.map +1 -0
  39. package/dist/services/migration.service.d.ts +3 -3
  40. package/dist/services/migration.service.d.ts.map +1 -1
  41. package/dist/services/migration.service.js +108 -61
  42. package/dist/services/migration.service.js.map +1 -1
  43. package/dist/services/release-automation/base-crud.service.d.ts +93 -0
  44. package/dist/services/release-automation/base-crud.service.d.ts.map +1 -0
  45. package/dist/services/release-automation/base-crud.service.js +68 -0
  46. package/dist/services/release-automation/base-crud.service.js.map +1 -0
  47. package/dist/services/release-automation/index.d.ts +12 -0
  48. package/dist/services/release-automation/index.d.ts.map +1 -0
  49. package/dist/services/release-automation/index.js +12 -0
  50. package/dist/services/release-automation/index.js.map +1 -0
  51. package/dist/services/release-automation/merge-request.service.d.ts +119 -0
  52. package/dist/services/release-automation/merge-request.service.d.ts.map +1 -0
  53. package/dist/services/release-automation/merge-request.service.js +212 -0
  54. package/dist/services/release-automation/merge-request.service.js.map +1 -0
  55. package/dist/services/release-automation/milestone.service.d.ts +104 -0
  56. package/dist/services/release-automation/milestone.service.d.ts.map +1 -0
  57. package/dist/services/release-automation/milestone.service.js +207 -0
  58. package/dist/services/release-automation/milestone.service.js.map +1 -0
  59. package/dist/services/release-automation/release.service.d.ts +118 -0
  60. package/dist/services/release-automation/release.service.d.ts.map +1 -0
  61. package/dist/services/release-automation/release.service.js +207 -0
  62. package/dist/services/release-automation/release.service.js.map +1 -0
  63. package/dist/services/release-automation/schemas/release.schema.d.ts +299 -0
  64. package/dist/services/release-automation/schemas/release.schema.d.ts.map +1 -0
  65. package/dist/services/release-automation/schemas/release.schema.js +269 -0
  66. package/dist/services/release-automation/schemas/release.schema.js.map +1 -0
  67. package/dist/services/release-automation/tag.service.d.ts +99 -0
  68. package/dist/services/release-automation/tag.service.d.ts.map +1 -0
  69. package/dist/services/release-automation/tag.service.js +180 -0
  70. package/dist/services/release-automation/tag.service.js.map +1 -0
  71. package/dist/services/release-automation/webhook.service.d.ts +37 -0
  72. package/dist/services/release-automation/webhook.service.d.ts.map +1 -0
  73. package/dist/services/release-automation/webhook.service.js +173 -0
  74. package/dist/services/release-automation/webhook.service.js.map +1 -0
  75. package/dist/services/runtime/openai.adapter.d.ts.map +1 -1
  76. package/dist/services/runtime/openai.adapter.js.map +1 -1
  77. package/dist/services/validation.service.d.ts.map +1 -1
  78. package/dist/services/validation.service.js +24 -11
  79. package/dist/services/validation.service.js.map +1 -1
  80. package/dist/services/validators/anthropic.validator.d.ts +2 -2
  81. package/dist/services/validators/anthropic.validator.d.ts.map +1 -1
  82. package/dist/services/validators/anthropic.validator.js +14 -9
  83. package/dist/services/validators/anthropic.validator.js.map +1 -1
  84. package/dist/services/validators/autogen.validator.d.ts +2 -2
  85. package/dist/services/validators/autogen.validator.d.ts.map +1 -1
  86. package/dist/services/validators/autogen.validator.js +18 -15
  87. package/dist/services/validators/autogen.validator.js.map +1 -1
  88. package/dist/services/validators/crewai.validator.d.ts +2 -2
  89. package/dist/services/validators/crewai.validator.d.ts.map +1 -1
  90. package/dist/services/validators/crewai.validator.js +18 -17
  91. package/dist/services/validators/crewai.validator.js.map +1 -1
  92. package/dist/services/validators/cursor.validator.d.ts +2 -2
  93. package/dist/services/validators/cursor.validator.d.ts.map +1 -1
  94. package/dist/services/validators/cursor.validator.js +15 -11
  95. package/dist/services/validators/cursor.validator.js.map +1 -1
  96. package/dist/services/validators/langchain.validator.d.ts +2 -2
  97. package/dist/services/validators/langchain.validator.d.ts.map +1 -1
  98. package/dist/services/validators/langchain.validator.js +14 -11
  99. package/dist/services/validators/langchain.validator.js.map +1 -1
  100. package/dist/services/validators/langflow.validator.d.ts +2 -2
  101. package/dist/services/validators/langflow.validator.d.ts.map +1 -1
  102. package/dist/services/validators/langflow.validator.js +14 -9
  103. package/dist/services/validators/langflow.validator.js.map +1 -1
  104. package/dist/services/validators/langgraph.validator.d.ts +2 -2
  105. package/dist/services/validators/langgraph.validator.d.ts.map +1 -1
  106. package/dist/services/validators/langgraph.validator.js +23 -18
  107. package/dist/services/validators/langgraph.validator.js.map +1 -1
  108. package/dist/services/validators/llamaindex.validator.d.ts +2 -2
  109. package/dist/services/validators/llamaindex.validator.d.ts.map +1 -1
  110. package/dist/services/validators/llamaindex.validator.js +19 -16
  111. package/dist/services/validators/llamaindex.validator.js.map +1 -1
  112. package/dist/services/validators/openai.validator.d.ts +2 -2
  113. package/dist/services/validators/openai.validator.d.ts.map +1 -1
  114. package/dist/services/validators/openai.validator.js +20 -16
  115. package/dist/services/validators/openai.validator.js.map +1 -1
  116. package/dist/services/validators/vercel-ai.validator.d.ts +2 -2
  117. package/dist/services/validators/vercel-ai.validator.d.ts.map +1 -1
  118. package/dist/services/validators/vercel-ai.validator.js +16 -15
  119. package/dist/services/validators/vercel-ai.validator.js.map +1 -1
  120. package/dist/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
  121. package/dist/spec/v0.2.1/ossa-0.2.1.schema.json +555 -0
  122. package/dist/spec/v0.2.3/CHANGELOG.md +7 -7
  123. package/dist/spec/v0.2.3/README.md +9 -9
  124. package/dist/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +18 -18
  125. package/{spec/v0.2.4-dev → dist/spec/v0.2.4}/CHANGELOG.md +8 -8
  126. package/dist/spec/{v0.2.4-dev → v0.2.4}/migrations/v0.2.3-to-v0.2.4.md +10 -10
  127. package/dist/spec/{v0.2.4-dev → v0.2.4}/ossa-0.2.4-dev.yaml +1 -1
  128. package/dist/spec/v0.2.4/ossa-0.2.4.schema.json +1819 -0
  129. package/dist/spec/v0.2.5/CHANGELOG.md +401 -0
  130. package/dist/spec/v0.2.5/README.md +72 -0
  131. package/dist/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +599 -0
  132. package/dist/spec/{v0.2.5-dev/ossa-0.2.5-dev.schema.json → v0.2.5/ossa-0.2.5.schema.json} +323 -359
  133. package/dist/spec/v0.2.5/ossa-0.2.5.yaml +581 -0
  134. package/dist/spec/v0.2.5-RC/CHANGELOG.md +401 -0
  135. package/dist/spec/v0.2.5-RC/README.md +72 -0
  136. package/{spec/v0.2.4-dev → dist/spec/v0.2.5-RC}/migrations/v0.2.3-to-v0.2.4.md +10 -10
  137. package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +1696 -0
  138. package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +581 -0
  139. package/dist/types/index.d.ts +6 -1
  140. package/dist/types/index.d.ts.map +1 -1
  141. package/docs/issue-19-completion-summary.md +648 -0
  142. package/docs/issue-19-validation.md +351 -0
  143. package/examples/anthropic/claude-assistant.ossa.json +1 -1
  144. package/examples/autogen/multi-agent.ossa.json +1 -1
  145. package/examples/bridges/Dockerfile.production +1 -1
  146. package/examples/crewai/research-team.ossa.json +1 -1
  147. package/examples/cursor/code-review-agent.ossa.json +1 -1
  148. package/examples/enterprise/agent.yml +1 -1
  149. package/examples/getting-started/hello-world-complete.ossa.yaml +2 -2
  150. package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +4 -4
  151. package/examples/langchain/chain-agent.ossa.json +1 -1
  152. package/examples/langflow/workflow-agent.ossa.json +1 -1
  153. package/examples/langgraph/state-machine-agent.ossa.json +1 -1
  154. package/examples/llamaindex/rag-agent.ossa.json +1 -1
  155. package/examples/openai/basic-agent.ossa.yaml +61 -0
  156. package/examples/openai/multi-tool-agent.ossa.json +165 -0
  157. package/examples/openai/swarm-agent.ossa.json +1 -1
  158. package/examples/openapi-extensions/README.md +1 -1
  159. package/examples/quickstart/support-agent.ossa.yaml +1 -1
  160. package/examples/vercel/edge-agent.ossa.json +1 -1
  161. package/infrastructure/gitlab-agent/rbac.yaml +126 -0
  162. package/infrastructure/gitlab-agent/values.yaml +150 -0
  163. package/infrastructure/k8s/monitoring/00-namespace.yaml +7 -0
  164. package/infrastructure/k8s/monitoring/01-prometheus.yaml +142 -0
  165. package/infrastructure/k8s/monitoring/02-grafana.yaml +63 -0
  166. package/infrastructure/k8s/monitoring/03-lightweight.yaml +121 -0
  167. package/infrastructure/k8s/monitoring/README.md +73 -0
  168. package/infrastructure/k8s/monitoring/deploy.sh +38 -0
  169. package/openapi/CHANGELOG.md +21 -0
  170. package/openapi/README.md +46 -0
  171. package/openapi/{ossa-core-api.openapi.yaml → core/ossa-core-api.openapi.yaml} +59 -4
  172. package/openapi/{ossa-registry.openapi.yaml → core/ossa-registry.openapi.yaml} +75 -2
  173. package/openapi/{unified-agent-gateway.openapi.yaml → core/unified-agent-gateway.openapi.yaml} +3 -3
  174. package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +136 -0
  175. package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +192 -0
  176. package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +149 -0
  177. package/openapi/reference-implementations/critic-agent-api.openapi.yaml +151 -0
  178. package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +217 -0
  179. package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +149 -0
  180. package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +151 -0
  181. package/openapi/reference-implementations/governor-agent-api.openapi.yaml +193 -0
  182. package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +165 -0
  183. package/openapi/reference-implementations/judge-agent-api.openapi.yaml +148 -0
  184. package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +167 -0
  185. package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +171 -0
  186. package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +171 -0
  187. package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +242 -0
  188. package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +187 -0
  189. package/openapi/{self-evolving-ecosystem.openapi.yaml → reference-implementations/self-evolving-ecosystem.openapi.yaml} +2 -2
  190. package/openapi/reference-implementations/worker-agent-api.openapi.yaml +208 -0
  191. package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +193 -0
  192. package/package.json +31 -21
  193. package/release.config.js +20 -5
  194. package/scripts/bump-version.ts +57 -0
  195. package/scripts/enhanced-version-manager.ts +257 -0
  196. package/scripts/gen-types.ts +51 -0
  197. package/scripts/gen-zod.ts +51 -0
  198. package/scripts/lib/exec.ts +37 -0
  199. package/scripts/lib/file-ops.ts +58 -0
  200. package/scripts/lib/version.ts +83 -0
  201. package/scripts/process-doc-templates.ts +37 -0
  202. package/scripts/schemas/package.schema.ts +75 -0
  203. package/scripts/setup-branch-protection.sh +33 -0
  204. package/scripts/sync-version.ts +39 -0
  205. package/scripts/sync-versions.ts +488 -0
  206. package/scripts/validate-schema.ts +49 -0
  207. package/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
  208. package/spec/v0.2.1/ossa-0.2.1.schema.json +555 -0
  209. package/spec/v0.2.3/CHANGELOG.md +7 -7
  210. package/spec/v0.2.3/README.md +9 -9
  211. package/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +18 -18
  212. package/{dist/spec/v0.2.4-dev → spec/v0.2.4}/CHANGELOG.md +8 -8
  213. package/spec/v0.2.4/migrations/v0.2.3-to-v0.2.4.md +599 -0
  214. package/spec/{v0.2.4-dev → v0.2.4}/ossa-0.2.4-dev.yaml +1 -1
  215. package/spec/v0.2.4/ossa-0.2.4.schema.json +1819 -0
  216. package/spec/v0.2.5/CHANGELOG.md +401 -0
  217. package/spec/v0.2.5/README.md +72 -0
  218. package/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +599 -0
  219. package/spec/{v0.2.5-dev/ossa-0.2.5-dev.schema.json → v0.2.5/ossa-0.2.5.schema.json} +323 -359
  220. package/spec/v0.2.5/ossa-0.2.5.yaml +581 -0
  221. package/spec/v0.2.5-RC/CHANGELOG.md +401 -0
  222. package/spec/v0.2.5-RC/README.md +72 -0
  223. package/spec/v0.2.5-RC/migrations/v0.2.3-to-v0.2.4.md +599 -0
  224. package/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +1696 -0
  225. package/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +581 -0
  226. package/website/{.lighthouserc.js → .lighthouserc.ts} +5 -1
  227. package/website/Dockerfile +18 -5
  228. package/website/app/about/page.tsx +7 -7
  229. package/website/app/blog/[slug]/page.tsx +61 -20
  230. package/website/app/blog/page.tsx +120 -33
  231. package/website/app/design-guide/page.tsx +511 -0
  232. package/website/app/docs/[[...slug]]/page.tsx +641 -143
  233. package/website/app/examples/page.tsx +51 -41
  234. package/website/app/{globals.css → globals.scss} +50 -23
  235. package/website/app/layout.tsx +2 -2
  236. package/website/app/license/page.tsx +183 -0
  237. package/website/app/not-found.tsx +18 -0
  238. package/website/app/page.tsx +144 -79
  239. package/website/app/playground/page.tsx +25 -45
  240. package/website/app/schema/page.tsx +423 -392
  241. package/website/app/specification/page.tsx +245 -169
  242. package/website/components/Logo.tsx +75 -2
  243. package/website/components/docs/DocsSidebar.tsx +40 -3
  244. package/website/components/docs/MarkdownContent.tsx +265 -47
  245. package/website/components/docs/VersionSelector.tsx +64 -8
  246. package/website/components/examples/ExamplesViewer.tsx +2 -2
  247. package/website/components/layout/Footer.tsx +6 -1
  248. package/website/components/layout/Header.tsx +31 -33
  249. package/website/components/schema/SchemaComponentsAccordion.tsx +84 -0
  250. package/website/components/schema/SchemaExplorer.tsx +4 -4
  251. package/website/content/blog/OpenAPI-AI-Agents-Standard.md +276 -276
  252. package/website/content/blog/Why-Formal-Standards-Matter-Now.md +3 -14
  253. package/website/content/blog/gitlab-kubernetes-agent-ecosystem.md +286 -0
  254. package/website/content/blog/introducing-ossa-framework.md +1 -1
  255. package/website/content/blog/ossa-production-results.md +5 -5
  256. package/website/content/blog/welcome-to-ossa.md +2 -2
  257. package/website/content/blog/why-ai-agents-need-open-standard.md +5 -5
  258. package/website/content/docs/00-HOME.md +18 -25
  259. package/website/content/docs/AIFlow-Framework-Integration-with-OSSA.md +8 -8
  260. package/website/content/docs/OpenAPI-Extensions.md +576 -140
  261. package/website/content/docs/adapters/openai-adapter.md +693 -0
  262. package/website/content/docs/architecture/execution-flow.md +3 -3
  263. package/website/content/docs/architecture/multi-agent-systems.md +4 -4
  264. package/website/content/docs/architecture/overview.md +4 -4
  265. package/website/content/docs/architecture/stack-integration.md +4 -4
  266. package/website/content/docs/changelog.md +4 -4
  267. package/website/content/docs/contributing.md +2 -2
  268. package/website/content/docs/ecosystem/framework-support.md +0 -2
  269. package/website/content/docs/examples/AIFlow-Framework-Integration-with-OSSA.md +107 -0
  270. package/website/content/docs/examples/Migration-Guides.md +2 -2
  271. package/website/content/docs/for-audiences/{architects.md → Architects.md} +1 -1
  272. package/website/content/docs/for-audiences/{developers.md → Developers.md} +3 -3
  273. package/website/content/docs/for-audiences/Enterprises.md +2 -2
  274. package/website/content/docs/for-audiences/Students-Researchers.md +1 -1
  275. package/website/content/docs/getting-started/{5-minute-overview.md → 5-Minute-Overview.md} +2 -2
  276. package/website/content/docs/getting-started/{first-agent.md → First-Agent.md} +1 -1
  277. package/website/content/docs/getting-started/Hello-World.md +3 -3
  278. package/website/content/docs/getting-started/{installation.md → Installation.md} +7 -7
  279. package/website/content/docs/getting-started/index.md +92 -0
  280. package/website/content/docs/getting-started/running-agents.md +215 -13
  281. package/{docs → website/content/docs}/getting-started.md +10 -6
  282. package/website/content/docs/integrations/aiflow.md +2 -2
  283. package/website/content/docs/integrations/drupal.md +2 -2
  284. package/website/content/docs/migration-guides/README.md +1 -1
  285. package/website/content/docs/migration-guides/agent-schema-comparison.md +232 -0
  286. package/website/content/docs/migration-guides/anthropic-mcp-to-ossa.md +5 -5
  287. package/website/content/docs/migration-guides/crewai-to-ossa.md +3 -3
  288. package/website/content/docs/migration-guides/drupal-eca-to-ossa.md +11 -11
  289. package/{docs/migration → website/content/docs/migration-guides}/general-agent-schema.yml +1 -9
  290. package/website/content/docs/migration-guides/index.md +1 -1
  291. package/website/content/docs/migration-guides/langchain-to-ossa.md +17 -17
  292. package/website/content/docs/migration-guides/langflow-to-ossa.md +3 -3
  293. package/website/content/docs/migration-guides/openai-to-ossa.md +10 -10
  294. package/website/content/docs/openapi-extensions/examples.md +9 -9
  295. package/website/content/docs/openapi-extensions/index.md +59 -3
  296. package/website/content/docs/openapi-extensions/operation-extensions.md +61 -2
  297. package/website/content/docs/openapi-extensions/root-extensions.md +49 -3
  298. package/{docs/OSSA-COMPLIANT-BADGE.md → website/content/docs/ossa-compliant-badge.md} +18 -15
  299. package/website/content/docs/pre-release/index.md +10 -10
  300. package/website/content/docs/readme.md +35 -0
  301. package/website/content/docs/schema-reference/agent-spec.md +2 -2
  302. package/website/content/docs/schema-reference/autonomy.md +5 -5
  303. package/website/content/docs/schema-reference/constraints.md +5 -5
  304. package/website/content/docs/schema-reference/llm-config.md +1 -1
  305. package/website/content/docs/schema-reference/observability.md +5 -5
  306. package/website/content/docs/schema-reference/ossa-manifest.md +6 -6
  307. package/website/content/docs/schema-reference/taxonomy.md +3 -3
  308. package/website/content/docs/use-cases/00-index.md +1 -1
  309. package/{docs/VERSIONING.md → website/content/docs/versioning.md} +9 -5
  310. package/website/lib/version.ts +18 -1
  311. package/website/lib/versions.json +78 -0
  312. package/website/next.config.ts +3 -1
  313. package/website/package-lock.json +552 -18
  314. package/website/package.json +11 -5
  315. package/website/postcss.config.mjs +1 -1
  316. package/website/scripts/fetch-versions.js +166 -0
  317. package/website/scripts/generate-examples-index.js +163 -0
  318. package/website/scripts/merge-docs-to-wiki.ts +207 -0
  319. package/website/scripts/sync-version.js +28 -0
  320. package/website/scripts/sync-wiki.ts +64 -3
  321. package/website/scripts/upload-wiki.ts +199 -0
  322. package/website/styles/_variables.scss +36 -0
  323. package/website/tailwind.config.ts +93 -22
  324. package/.releaserc.json.disabled +0 -81
  325. package/dist/spec/v0.2.5-dev/CHANGELOG.md +0 -171
  326. package/dist/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +0 -362
  327. package/dist/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +0 -464
  328. package/dist/spec/v0.2.5-dev/examples/research-team.ossa.yaml +0 -440
  329. package/dist/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +0 -317
  330. package/dist/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +0 -409
  331. package/docs/README.md +0 -31
  332. package/docs/agent-openapi-spec.yml +0 -942
  333. package/docs/openapi-extensions.md +0 -930
  334. package/docs/schemas/openapi-extensions.schema.json +0 -486
  335. package/openapi/gitlab-orchestrator.openapi.yaml +0 -330
  336. package/ossa-website-swarm-tasks.json +0 -105
  337. package/spec/v0.2.5-dev/CHANGELOG.md +0 -171
  338. package/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +0 -362
  339. package/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +0 -464
  340. package/spec/v0.2.5-dev/examples/research-team.ossa.yaml +0 -440
  341. package/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +0 -317
  342. package/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +0 -409
  343. package/website/app/api/validate/route.ts +0 -88
  344. package/website/next.config.js +0 -17
  345. package/website/postcss.config.js +0 -7
  346. package/website/tailwind.config.js +0 -58
  347. /package/dist/spec/{v0.2.4-dev → v0.2.4}/ossa-0.2.4-dev.schema.json +0 -0
  348. /package/openapi/{ossa-registry-api.openapi.yaml → core/ossa-registry-api.openapi.yaml} +0 -0
  349. /package/openapi/{drupal-agent-api.openapi.yaml → reference-implementations/drupal-agent-api.openapi.yaml} +0 -0
  350. /package/openapi/{helm-generator.openapi.yaml → reference-implementations/helm-generator.openapi.yaml} +0 -0
  351. /package/spec/{v0.2.4-dev → v0.2.4}/ossa-0.2.4-dev.schema.json +0 -0
  352. /package/website/content/docs/{examples.md → Examples.md} +0 -0
  353. /package/website/content/docs/core-concepts/{project-structure.md → Project-Structure.md} +0 -0
  354. /package/website/content/docs/migration-guides/{00-index.md → 00-INDEX.md} +0 -0
  355. /package/{docs/migration → website/content/docs/migration-guides}/migration-manifest.json +0 -0
@@ -0,0 +1,244 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * OSSA 0.2.5-RC Validation Tool
4
+ * Validates power-suite modules' ossa.yaml files against OSSA 0.2.5-RC schema
5
+ */
6
+
7
+ import { readFileSync } from 'fs';
8
+ import { resolve, dirname } from 'path';
9
+ import { fileURLToPath } from 'url';
10
+ import { parse as parseYaml } from 'yaml';
11
+ import Ajv from 'ajv';
12
+ import addFormats from 'ajv-formats';
13
+ import chalk from 'chalk';
14
+
15
+ // ES module __dirname equivalent
16
+ const __filename = fileURLToPath(import.meta.url);
17
+ const __dirname = dirname(__filename);
18
+
19
+ // Load OSSA 0.2.5-RC schema
20
+ const schemaPath = resolve(__dirname, '../spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json');
21
+ const schema = JSON.parse(readFileSync(schemaPath, 'utf-8'));
22
+
23
+ // Initialize AJV validator
24
+ const ajv = new Ajv({
25
+ allErrors: true,
26
+ strict: false,
27
+ validateFormats: true,
28
+ verbose: true,
29
+ });
30
+
31
+ addFormats(ajv);
32
+
33
+ // Note: The power-suite ossa.yaml files use a different format (project config)
34
+ // than full agent manifests. This validator checks for OSSA 0.2.5-RC compliance
35
+ // in the project configuration format.
36
+
37
+ interface PowerSuiteOssaConfig {
38
+ ossa?: {
39
+ version: string;
40
+ project?: {
41
+ name: string;
42
+ type: string;
43
+ version: string;
44
+ description: string;
45
+ };
46
+ metadata?: {
47
+ reasoning?: boolean;
48
+ compliance?: {
49
+ frameworks?: string[];
50
+ };
51
+ };
52
+ ecosystem?: {
53
+ mesh_enabled?: boolean;
54
+ protocol_enabled?: boolean;
55
+ router_enabled?: boolean;
56
+ tracer_enabled?: boolean;
57
+ brain_enabled?: boolean;
58
+ flows_enabled?: boolean;
59
+ [key: string]: unknown;
60
+ };
61
+ [key: string]: unknown;
62
+ };
63
+ }
64
+
65
+ /**
66
+ * Validate OSSA 0.2.5-RC configuration format
67
+ */
68
+ function validatePowerSuiteConfig(config: PowerSuiteOssaConfig): {
69
+ valid: boolean;
70
+ errors: string[];
71
+ warnings: string[];
72
+ } {
73
+ const errors: string[] = [];
74
+ const warnings: string[] = [];
75
+
76
+ if (!config.ossa) {
77
+ errors.push('Missing top-level "ossa" key');
78
+ return { valid: false, errors, warnings };
79
+ }
80
+
81
+ const { ossa } = config;
82
+
83
+ // Check version
84
+ if (!ossa.version) {
85
+ errors.push('Missing ossa.version');
86
+ } else if (!ossa.version.startsWith('0.2.5')) {
87
+ errors.push(
88
+ `Invalid ossa.version: expected "0.2.5" or "0.2.5-RC" or "0.2.5.x", got "${ossa.version}"`
89
+ );
90
+ }
91
+
92
+ // Check project
93
+ if (!ossa.project) {
94
+ warnings.push('Missing ossa.project (recommended for identification)');
95
+ } else {
96
+ if (!ossa.project.name) {
97
+ errors.push('Missing ossa.project.name');
98
+ }
99
+ if (!ossa.project.type) {
100
+ warnings.push('Missing ossa.project.type');
101
+ }
102
+ }
103
+
104
+ // Check metadata (OSSA 0.2.5-RC requirement)
105
+ if (!ossa.metadata) {
106
+ warnings.push(
107
+ 'Missing ossa.metadata (OSSA 0.2.5-RC recommends metadata.reasoning)'
108
+ );
109
+ } else {
110
+ if (ossa.metadata.reasoning === undefined) {
111
+ warnings.push(
112
+ 'OSSA 0.2.5-RC recommends metadata.reasoning: true for AI agents'
113
+ );
114
+ }
115
+ if (!ossa.metadata.compliance?.frameworks) {
116
+ warnings.push(
117
+ 'OSSA 0.2.5-RC recommends metadata.compliance.frameworks array'
118
+ );
119
+ }
120
+ }
121
+
122
+ // Check ecosystem (power-suite integration)
123
+ if (!ossa.ecosystem) {
124
+ warnings.push(
125
+ 'Missing ossa.ecosystem (power-suite integration configuration)'
126
+ );
127
+ } else {
128
+ const ecosystem = ossa.ecosystem;
129
+ const requiredModules = [
130
+ 'mesh_enabled',
131
+ 'protocol_enabled',
132
+ 'router_enabled',
133
+ 'tracer_enabled',
134
+ 'brain_enabled',
135
+ 'flows_enabled',
136
+ ];
137
+
138
+ for (const module of requiredModules) {
139
+ if (ecosystem[module] === undefined) {
140
+ warnings.push(
141
+ `Consider setting ossa.ecosystem.${module} for power-suite integration`
142
+ );
143
+ }
144
+ }
145
+ }
146
+
147
+ // Check compliance standards array
148
+ if (ossa.compliance?.standards) {
149
+ const standards = Array.isArray(ossa.compliance.standards)
150
+ ? ossa.compliance.standards
151
+ : Object.values(ossa.compliance.standards);
152
+
153
+ if (!standards.includes('OSSA-0.2.5-RC') && !standards.includes('OSSA-0.2.5')) {
154
+ errors.push(
155
+ 'compliance.standards must include "OSSA-0.2.5-RC" or "OSSA-0.2.5" for v0.2.5-RC compliance'
156
+ );
157
+ }
158
+ }
159
+
160
+ return {
161
+ valid: errors.length === 0,
162
+ errors,
163
+ warnings,
164
+ };
165
+ }
166
+
167
+ /**
168
+ * Validate a single ossa.yaml file
169
+ */
170
+ function validateFile(filePath: string): boolean {
171
+ try {
172
+ const content = readFileSync(filePath, 'utf-8');
173
+ const config = parseYaml(content) as PowerSuiteOssaConfig;
174
+
175
+ console.log(chalk.blue(`\nValidating: ${filePath}`));
176
+ console.log(chalk.gray('─'.repeat(80)));
177
+
178
+ const result = validatePowerSuiteConfig(config);
179
+
180
+ if (result.valid) {
181
+ console.log(chalk.green('✓ Valid OSSA 0.2.5-RC configuration'));
182
+ } else {
183
+ console.log(chalk.red('✗ Invalid OSSA 0.2.5-RC configuration'));
184
+ result.errors.forEach((error) => {
185
+ console.log(chalk.red(` ERROR: ${error}`));
186
+ });
187
+ }
188
+
189
+ if (result.warnings.length > 0) {
190
+ result.warnings.forEach((warning) => {
191
+ console.log(chalk.yellow(` WARNING: ${warning}`));
192
+ });
193
+ }
194
+
195
+ return result.valid;
196
+ } catch (error) {
197
+ console.error(chalk.red(`Failed to validate ${filePath}:`));
198
+ console.error(error);
199
+ return false;
200
+ }
201
+ }
202
+
203
+ /**
204
+ * Main validation function
205
+ */
206
+ function main() {
207
+ const args = process.argv.slice(2);
208
+
209
+ if (args.length === 0) {
210
+ console.log(chalk.blue('OSSA 0.2.5-RC Power-Suite Validation Tool\n'));
211
+ console.log('Usage:');
212
+ console.log(' validate-ossa-0.2.5-RC.ts <file1.yaml> [file2.yaml] ...\n');
213
+ console.log('Or validate all power-suite modules:');
214
+ console.log(
215
+ ' find ../common_npm -name "ossa.yaml" -o -path "*/config/ossa.yaml" | xargs validate-ossa-0.2.5-RC.ts'
216
+ );
217
+ process.exit(1);
218
+ }
219
+
220
+ let allValid = true;
221
+ for (const filePath of args) {
222
+ const valid = validateFile(resolve(filePath));
223
+ if (!valid) {
224
+ allValid = false;
225
+ }
226
+ }
227
+
228
+ console.log(chalk.gray('\n' + '─'.repeat(80)));
229
+ if (allValid) {
230
+ console.log(chalk.green('\n✓ All files are OSSA 0.2.5-RC compliant'));
231
+ process.exit(0);
232
+ } else {
233
+ console.log(chalk.red('\n✗ Some files failed validation'));
234
+ process.exit(1);
235
+ }
236
+ }
237
+
238
+ // Run if executed directly
239
+ if (import.meta.url === `file://${process.argv[1]}`) {
240
+ main();
241
+ }
242
+
243
+ export { validatePowerSuiteConfig, validateFile };
244
+
@@ -0,0 +1,273 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * OSSA Validation Tool (Version-Agnostic)
4
+ * Validates power-suite modules' ossa.yaml files against current OSSA schema
5
+ * Automatically detects version from package.json
6
+ */
7
+
8
+ import { readFileSync } from 'fs';
9
+ import { resolve, dirname } from 'path';
10
+ import { fileURLToPath } from 'url';
11
+ import { parse as parseYaml } from 'yaml';
12
+ import Ajv from 'ajv';
13
+ import addFormats from 'ajv-formats';
14
+ import chalk from 'chalk';
15
+
16
+ // ES module __dirname equivalent
17
+ const __filename = fileURLToPath(import.meta.url);
18
+ const __dirname = dirname(__filename);
19
+
20
+ // Get version from package.json
21
+ function getVersion(): string {
22
+ const packageJsonPath = resolve(__dirname, '../package.json');
23
+ const pkg = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
24
+ return pkg.version;
25
+ }
26
+
27
+ const VERSION = getVersion();
28
+ const VERSION_DIR = `v${VERSION}`;
29
+
30
+ // Load OSSA schema (auto-detected from version)
31
+ const schemaPath = resolve(__dirname, `../spec/${VERSION_DIR}/ossa-${VERSION}.schema.json`);
32
+
33
+ let schema;
34
+ try {
35
+ schema = JSON.parse(readFileSync(schemaPath, 'utf-8'));
36
+ } catch (error) {
37
+ console.error(chalk.red(`Failed to load schema at ${schemaPath}`));
38
+ console.error(chalk.yellow(`Make sure spec/${VERSION_DIR}/ossa-${VERSION}.schema.json exists`));
39
+ process.exit(1);
40
+ }
41
+
42
+ // Initialize AJV validator
43
+ const ajv = new Ajv({
44
+ allErrors: true,
45
+ strict: false,
46
+ validateFormats: true,
47
+ verbose: true,
48
+ });
49
+
50
+ addFormats(ajv);
51
+
52
+ // Note: The power-suite ossa.yaml files use a different format (project config)
53
+ // than full agent manifests. This validator checks for OSSA compliance
54
+ // in the project configuration format.
55
+
56
+ interface PowerSuiteOssaConfig {
57
+ ossa?: {
58
+ version: string;
59
+ project?: {
60
+ name: string;
61
+ type: string;
62
+ version: string;
63
+ description: string;
64
+ };
65
+ metadata?: {
66
+ reasoning?: boolean;
67
+ compliance?: {
68
+ frameworks?: string[];
69
+ };
70
+ };
71
+ ecosystem?: {
72
+ mesh_enabled?: boolean;
73
+ protocol_enabled?: boolean;
74
+ router_enabled?: boolean;
75
+ tracer_enabled?: boolean;
76
+ brain_enabled?: boolean;
77
+ flows_enabled?: boolean;
78
+ [key: string]: unknown;
79
+ };
80
+ [key: string]: unknown;
81
+ };
82
+ }
83
+
84
+ /**
85
+ * Validate OSSA configuration format
86
+ */
87
+ function validatePowerSuiteConfig(config: PowerSuiteOssaConfig): {
88
+ valid: boolean;
89
+ errors: string[];
90
+ warnings: string[];
91
+ } {
92
+ const errors: string[] = [];
93
+ const warnings: string[] = [];
94
+
95
+ if (!config.ossa) {
96
+ errors.push('Missing top-level "ossa" key');
97
+ return { valid: false, errors, warnings };
98
+ }
99
+
100
+ const { ossa } = config;
101
+
102
+ // Check version - allow current version or compatible versions
103
+ if (!ossa.version) {
104
+ errors.push('Missing ossa.version');
105
+ } else {
106
+ // Extract base version (e.g., "0.2.5" from "0.2.5-RC")
107
+ const baseVersion = VERSION.split('-')[0];
108
+ const ossaBaseVersion = ossa.version.split('-')[0];
109
+
110
+ if (!ossaBaseVersion.startsWith(baseVersion)) {
111
+ errors.push(
112
+ `Invalid ossa.version: expected "${VERSION}" or compatible version, got "${ossa.version}"`
113
+ );
114
+ }
115
+ }
116
+
117
+ // Check project
118
+ if (!ossa.project) {
119
+ warnings.push('Missing ossa.project (recommended for identification)');
120
+ } else {
121
+ if (!ossa.project.name) {
122
+ errors.push('Missing ossa.project.name');
123
+ }
124
+ if (!ossa.project.type) {
125
+ warnings.push('Missing ossa.project.type');
126
+ }
127
+ }
128
+
129
+ // Check metadata
130
+ if (!ossa.metadata) {
131
+ warnings.push(
132
+ `Missing ossa.metadata (OSSA ${VERSION} recommends metadata.reasoning)`
133
+ );
134
+ } else {
135
+ if (ossa.metadata.reasoning === undefined) {
136
+ warnings.push(
137
+ `OSSA ${VERSION} recommends metadata.reasoning: true for AI agents`
138
+ );
139
+ }
140
+ if (!ossa.metadata.compliance?.frameworks) {
141
+ warnings.push(
142
+ `OSSA ${VERSION} recommends metadata.compliance.frameworks array`
143
+ );
144
+ }
145
+ }
146
+
147
+ // Check ecosystem (power-suite integration)
148
+ if (!ossa.ecosystem) {
149
+ warnings.push(
150
+ 'Missing ossa.ecosystem (power-suite integration configuration)'
151
+ );
152
+ } else {
153
+ const ecosystem = ossa.ecosystem;
154
+ const requiredModules = [
155
+ 'mesh_enabled',
156
+ 'protocol_enabled',
157
+ 'router_enabled',
158
+ 'tracer_enabled',
159
+ 'brain_enabled',
160
+ 'flows_enabled',
161
+ ];
162
+
163
+ for (const module of requiredModules) {
164
+ if (ecosystem[module] === undefined) {
165
+ warnings.push(
166
+ `Consider setting ossa.ecosystem.${module} for power-suite integration`
167
+ );
168
+ }
169
+ }
170
+ }
171
+
172
+ // Check compliance standards array
173
+ if (ossa.compliance?.standards) {
174
+ const standards = Array.isArray(ossa.compliance.standards)
175
+ ? ossa.compliance.standards
176
+ : Object.values(ossa.compliance.standards);
177
+
178
+ const baseVersion = VERSION.split('-')[0];
179
+ const expectedStandard = `OSSA-${baseVersion}`;
180
+ const expectedStandardRC = `OSSA-${VERSION}`;
181
+
182
+ if (!standards.includes(expectedStandardRC) && !standards.includes(expectedStandard)) {
183
+ errors.push(
184
+ `compliance.standards must include "${expectedStandardRC}" or "${expectedStandard}" for v${VERSION} compliance`
185
+ );
186
+ }
187
+ }
188
+
189
+ return {
190
+ valid: errors.length === 0,
191
+ errors,
192
+ warnings,
193
+ };
194
+ }
195
+
196
+ /**
197
+ * Validate a single ossa.yaml file
198
+ */
199
+ function validateFile(filePath: string): boolean {
200
+ try {
201
+ const content = readFileSync(filePath, 'utf-8');
202
+ const config = parseYaml(content) as PowerSuiteOssaConfig;
203
+
204
+ console.log(chalk.blue(`\nValidating: ${filePath}`));
205
+ console.log(chalk.gray('─'.repeat(80)));
206
+
207
+ const result = validatePowerSuiteConfig(config);
208
+
209
+ if (result.valid) {
210
+ console.log(chalk.green(`✓ Valid OSSA ${VERSION} configuration`));
211
+ } else {
212
+ console.log(chalk.red(`✗ Invalid OSSA ${VERSION} configuration`));
213
+ result.errors.forEach((error) => {
214
+ console.log(chalk.red(` ERROR: ${error}`));
215
+ });
216
+ }
217
+
218
+ if (result.warnings.length > 0) {
219
+ result.warnings.forEach((warning) => {
220
+ console.log(chalk.yellow(` WARNING: ${warning}`));
221
+ });
222
+ }
223
+
224
+ return result.valid;
225
+ } catch (error) {
226
+ console.error(chalk.red(`Failed to validate ${filePath}:`));
227
+ console.error(error);
228
+ return false;
229
+ }
230
+ }
231
+
232
+ /**
233
+ * Main validation function
234
+ */
235
+ function main() {
236
+ const args = process.argv.slice(2);
237
+
238
+ if (args.length === 0) {
239
+ console.log(chalk.blue(`OSSA ${VERSION} Power-Suite Validation Tool\n`));
240
+ console.log('Usage:');
241
+ console.log(` validate-ossa.ts <file1.yaml> [file2.yaml] ...\n`);
242
+ console.log('Or validate all power-suite modules:');
243
+ console.log(
244
+ ' find ../common_npm -name "ossa.yaml" -o -path "*/config/ossa.yaml" | xargs ts-node bin/validate-ossa.ts'
245
+ );
246
+ process.exit(1);
247
+ }
248
+
249
+ let allValid = true;
250
+ for (const filePath of args) {
251
+ const valid = validateFile(resolve(filePath));
252
+ if (!valid) {
253
+ allValid = false;
254
+ }
255
+ }
256
+
257
+ console.log(chalk.gray('\n' + '─'.repeat(80)));
258
+ if (allValid) {
259
+ console.log(chalk.green(`\n✓ All files are OSSA ${VERSION} compliant`));
260
+ process.exit(0);
261
+ } else {
262
+ console.log(chalk.red('\n✗ Some files failed validation'));
263
+ process.exit(1);
264
+ }
265
+ }
266
+
267
+ // Run if executed directly
268
+ if (import.meta.url === `file://${process.argv[1]}`) {
269
+ main();
270
+ }
271
+
272
+ export { validatePowerSuiteConfig, validateFile };
273
+
@@ -10,7 +10,7 @@ export declare const container: Container;
10
10
  * @param serviceIdentifier - Service class or token
11
11
  * @returns Service instance
12
12
  */
13
- export declare function getService<T>(serviceIdentifier: new (...args: any[]) => T): T;
13
+ export declare function getService<T>(serviceIdentifier: new (...args: unknown[]) => T): T;
14
14
  /**
15
15
  * Reset container (useful for testing)
16
16
  */
@@ -1 +1 @@
1
- {"version":3,"file":"di-container.d.ts","sourceRoot":"","sources":["../src/di-container.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,kBAAkB,CAAC;AAY1B,eAAO,MAAM,SAAS,WAAkB,CAAC;AAWzC;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,iBAAiB,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,CAE7E;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,IAAI,CASrC"}
1
+ {"version":3,"file":"di-container.d.ts","sourceRoot":"","sources":["../src/di-container.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,kBAAkB,CAAC;AAY1B,eAAO,MAAM,SAAS,WAAkB,CAAC;AAWzC;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAC1B,iBAAiB,EAAE,KAAK,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,GAC/C,CAAC,CAEH;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,IAAI,CASrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"di-container.js","sourceRoot":"","sources":["../src/di-container.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,kBAAkB,CAAC;AAE1B,eAAe;AACf,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAEvE,WAAW;AACX,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,mBAAmB;AACnB,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;AAEzC,oBAAoB;AACpB,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;AAC7D,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;AAE/D,gBAAgB;AAChB,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,MAAM,EAAE,CAAC;AAC3C,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,MAAM,EAAE,CAAC;AAC3C,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,MAAM,EAAE,CAAC;AAE1C;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAI,iBAA4C;IACxE,OAAO,SAAS,CAAC,GAAG,CAAI,iBAAiB,CAAC,CAAC;AAC7C,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,cAAc;IAC5B,SAAS,CAAC,SAAS,EAAE,CAAC;IAEtB,sBAAsB;IACtB,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC7D,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC/D,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,MAAM,EAAE,CAAC;IAC3C,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,MAAM,EAAE,CAAC;IAC3C,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,MAAM,EAAE,CAAC;AAC5C,CAAC"}
1
+ {"version":3,"file":"di-container.js","sourceRoot":"","sources":["../src/di-container.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,kBAAkB,CAAC;AAE1B,eAAe;AACf,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAEvE,WAAW;AACX,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,mBAAmB;AACnB,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;AAEzC,oBAAoB;AACpB,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;AAC7D,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;AAE/D,gBAAgB;AAChB,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,MAAM,EAAE,CAAC;AAC3C,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,MAAM,EAAE,CAAC;AAC3C,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,MAAM,EAAE,CAAC;AAE1C;;;;GAIG;AACH,MAAM,UAAU,UAAU,CACxB,iBAAgD;IAEhD,OAAO,SAAS,CAAC,GAAG,CAAI,iBAAiB,CAAC,CAAC;AAC7C,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,cAAc;IAC5B,SAAS,CAAC,SAAS,EAAE,CAAC;IAEtB,sBAAsB;IACtB,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC7D,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC/D,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,MAAM,EAAE,CAAC;IAC3C,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,MAAM,EAAE,CAAC;IAC3C,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,MAAM,EAAE,CAAC;AAC5C,CAAC"}
@@ -5,6 +5,15 @@
5
5
  import type { ISchemaRepository, SchemaVersion } from '../types/index';
6
6
  export declare class SchemaRepository implements ISchemaRepository {
7
7
  private schemaCache;
8
+ private _availableVersions;
9
+ /**
10
+ * Get available schema versions (cached after first discovery)
11
+ */
12
+ getAvailableVersions(): string[];
13
+ /**
14
+ * Get the latest/current version from package.json or spec directory
15
+ */
16
+ getCurrentVersion(): string;
8
17
  /**
9
18
  * Get schema for specific version
10
19
  * @param version - Schema version (e.g., '0.2.3', '0.2.2', '0.1.9')
@@ -12,14 +21,20 @@ export declare class SchemaRepository implements ISchemaRepository {
12
21
  */
13
22
  getSchema(version: SchemaVersion): Promise<Record<string, unknown>>;
14
23
  /**
15
- * Get schema file path for version
24
+ * Get schema file path for version (dynamically discovers from spec directory)
16
25
  * @param version - Schema version
17
26
  * @returns Absolute path to schema file
18
27
  */
19
28
  private getSchemaPath;
29
+ /**
30
+ * Dynamically discover available schema versions from spec directory
31
+ * @param specDir - Path to spec directory
32
+ * @returns Array of available version strings
33
+ */
34
+ private discoverAvailableVersions;
20
35
  /**
21
36
  * Find OSSA package root directory
22
- * Looks for package.json with @bluefly/open-standards-scalable-agents
37
+ * Looks for package.json with @bluefly/openstandardagents
23
38
  */
24
39
  private findOssaRoot;
25
40
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"schema.repository.d.ts","sourceRoot":"","sources":["../../src/repositories/schema.repository.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEvE,qBACa,gBAAiB,YAAW,iBAAiB;IACxD,OAAO,CAAC,WAAW,CAAmD;IAEtE;;;;OAIG;IACG,SAAS,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAyBzE;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAmBrB;;;OAGG;IACH,OAAO,CAAC,YAAY;IAkGpB;;OAEG;IACH,UAAU,IAAI,IAAI;CAGnB"}
1
+ {"version":3,"file":"schema.repository.d.ts","sourceRoot":"","sources":["../../src/repositories/schema.repository.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEvE,qBACa,gBAAiB,YAAW,iBAAiB;IACxD,OAAO,CAAC,WAAW,CAAmD;IACtE,OAAO,CAAC,kBAAkB,CAAyB;IAEnD;;OAEG;IACH,oBAAoB,IAAI,MAAM,EAAE;IAShC;;OAEG;IACH,iBAAiB,IAAI,MAAM;IA0B3B;;;;OAIG;IACG,SAAS,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IA0BzE;;;;OAIG;IACH,OAAO,CAAC,aAAa;IA8BrB;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IA+BjC;;;OAGG;IACH,OAAO,CAAC,YAAY;IAkGpB;;OAEG;IACH,UAAU,IAAI,IAAI;CAGnB"}