@bluefly/openstandardagents 0.4.6 → 0.4.8

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 (300) hide show
  1. package/.version.json +3 -3
  2. package/CHANGELOG.md +16 -0
  3. package/README.md +1 -0
  4. package/dist/.version.json +3 -3
  5. package/dist/adapters/mcp/converter.js +4 -3
  6. package/dist/adapters/npm/adapter.js +2 -1
  7. package/dist/adapters/openai-agents/adapter.js +1 -1
  8. package/dist/cli/commands/config.command.d.ts +7 -0
  9. package/dist/cli/commands/config.command.js +92 -0
  10. package/dist/cli/commands/migrate.command.js +1 -1
  11. package/dist/cli/commands/sign.command.d.ts +3 -0
  12. package/dist/cli/commands/sign.command.js +42 -0
  13. package/dist/cli/commands/skills.command.js +4 -6
  14. package/dist/config/cli-config.d.ts +33 -0
  15. package/dist/config/cli-config.js +107 -0
  16. package/dist/mcp-server/index.js +0 -0
  17. package/dist/package.json +8 -9
  18. package/dist/services/governance/cedar-provider.js +2 -1
  19. package/dist/services/release-automation/base-crud.service.d.ts +93 -0
  20. package/dist/services/release-automation/base-crud.service.js +68 -0
  21. package/dist/services/release-automation/generate-changelog.d.ts +7 -0
  22. package/dist/services/release-automation/generate-changelog.js +288 -0
  23. package/dist/services/release-automation/increment-dev-tag.d.ts +7 -0
  24. package/dist/services/release-automation/increment-dev-tag.js +160 -0
  25. package/dist/services/release-automation/index.d.ts +12 -0
  26. package/dist/services/release-automation/index.js +12 -0
  27. package/dist/services/release-automation/merge-request.service.d.ts +119 -0
  28. package/dist/services/release-automation/merge-request.service.js +212 -0
  29. package/dist/services/release-automation/milestone.service.d.ts +104 -0
  30. package/dist/services/release-automation/milestone.service.js +207 -0
  31. package/dist/services/release-automation/release-agent.service.d.ts +39 -0
  32. package/dist/services/release-automation/release-agent.service.js +43 -0
  33. package/dist/services/release-automation/release-buttons.d.ts +7 -0
  34. package/dist/services/release-automation/release-buttons.js +207 -0
  35. package/dist/services/release-automation/release.service.d.ts +118 -0
  36. package/dist/services/release-automation/release.service.js +207 -0
  37. package/dist/services/release-automation/schemas/release.schema.d.ts +299 -0
  38. package/dist/services/release-automation/schemas/release.schema.js +272 -0
  39. package/dist/services/release-automation/tag.service.d.ts +99 -0
  40. package/dist/services/release-automation/tag.service.js +183 -0
  41. package/dist/services/release-automation/webhook.service.d.ts +37 -0
  42. package/dist/services/release-automation/webhook.service.js +187 -0
  43. package/dist/skills/test-skill/README.md +36 -0
  44. package/dist/skills/test-skill/SKILL.md +31 -0
  45. package/dist/skills/test-skill/index.d.ts +31 -0
  46. package/dist/skills/test-skill/install.js +44 -0
  47. package/dist/skills/test-skill/package.json +36 -0
  48. package/dist/spec/reference/reference-agents/compliance-auditor/manifest.ossa.yaml +1 -1
  49. package/dist/spec/reference/reference-agents/doc-agent/manifest.ossa.yaml +1 -1
  50. package/dist/spec/reference/reference-agents/mr-reviewer/manifest.ossa.yaml +1 -1
  51. package/dist/spec/reference/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +1 -1
  52. package/dist/spec/reference/reference-agents/pipeline-fixer/manifest.ossa.yaml +1 -1
  53. package/dist/spec/reference/reference-agents/release-orchestrator/manifest.ossa.yaml +1 -1
  54. package/dist/spec/uadp/README.md +393 -0
  55. package/dist/spec/uadp/openapi.yaml +387 -0
  56. package/dist/spec/uadp/schemas/uadp-agents-response.schema.json +68 -0
  57. package/dist/spec/uadp/schemas/uadp-federation-response.schema.json +46 -0
  58. package/dist/spec/uadp/schemas/uadp-manifest.schema.json +82 -0
  59. package/dist/spec/uadp/schemas/uadp-skills-response.schema.json +72 -0
  60. package/dist/spec/v0.4/agent-card.schema.json +1 -1
  61. package/dist/spec/v0.4/agent.schema.json +15 -15
  62. package/dist/spec/v0.4/extensions/a2a/a2a.schema.json +1 -1
  63. package/dist/spec/v0.4/extensions/ag2/ag2.schema.json +1 -1
  64. package/dist/spec/v0.4/extensions/crewai/crewai.schema.json +1 -1
  65. package/dist/spec/v0.4/extensions/kagent/kagent.schema.json +1 -1
  66. package/dist/spec/v0.4/extensions/langchain/langchain.schema.json +1 -1
  67. package/dist/spec/v0.4/extensions/langgraph/langgraph.schema.json +1 -1
  68. package/dist/spec/v0.4/extensions/mcp/mcp.schema.json +1 -1
  69. package/dist/spec/v0.5/agent-card.schema.json +477 -0
  70. package/dist/spec/v0.5/agent.schema.json +1556 -0
  71. package/dist/spec/v0.5/conformance/profiles/baseline.json +19 -0
  72. package/dist/spec/v0.5/conformance/profiles/enterprise.json +20 -0
  73. package/dist/spec/v0.5/extensions/a2a/README.md +193 -0
  74. package/dist/spec/v0.5/extensions/a2a/a2a.schema.json +77 -0
  75. package/dist/spec/v0.5/extensions/ag2/ag2.schema.json +277 -0
  76. package/dist/spec/v0.5/extensions/cognition/cognition.schema.json +94 -0
  77. package/dist/spec/v0.5/extensions/cognition/thought-node.schema.json +80 -0
  78. package/dist/spec/v0.5/extensions/crewai/crewai.schema.json +256 -0
  79. package/dist/spec/v0.5/extensions/drupal/drupal.schema.json +318 -0
  80. package/dist/spec/v0.5/extensions/evals/evals.schema.json +597 -0
  81. package/dist/spec/v0.5/extensions/governance/governance-extension.yaml +161 -0
  82. package/dist/spec/v0.5/extensions/identity/identity.schema.json +302 -0
  83. package/dist/spec/v0.5/extensions/kagent/README.md +315 -0
  84. package/dist/spec/v0.5/extensions/kagent/kagent.schema.json +624 -0
  85. package/dist/spec/v0.5/extensions/langchain/langchain.schema.json +243 -0
  86. package/dist/spec/v0.5/extensions/langgraph/langgraph.schema.json +211 -0
  87. package/dist/spec/v0.5/extensions/mcp/README.md +276 -0
  88. package/dist/spec/v0.5/extensions/mcp/mcp.schema.json +84 -0
  89. package/dist/spec/v0.5/extensions/memory/memory.schema.json +7 -0
  90. package/dist/spec/v0.5/extensions/team/team.schema.json +304 -0
  91. package/dist/spec/v0.5/extensions/token-efficiency/token-efficiency.schema.json +47 -0
  92. package/dist/spec/v0.5/mcp.schema.json +1 -0
  93. package/dist/spec/v0.5/skill.schema.json +1 -0
  94. package/dist/spec/v0.5/validator.schema.json +282 -0
  95. package/dist/validation/error-codes.js +1 -1
  96. package/examples/a2a/agent-handoff.ossa.yaml +1 -1
  97. package/examples/a2a/service-discovery.ossa.yaml +1 -1
  98. package/examples/adapters/drupal-eca-mapping.yaml +1 -1
  99. package/examples/adapters/drupal-eca-task.yaml +1 -1
  100. package/examples/adapters/drupal-flowdrop-mapping.yaml +1 -1
  101. package/examples/adapters/drupal-maestro-mapping.yaml +1 -1
  102. package/examples/adapters/mistral-agent.yaml +1 -1
  103. package/examples/adapters/symfony-messenger-task.yaml +1 -1
  104. package/examples/adapters/symfony-messenger-workflow.yaml +1 -1
  105. package/examples/adk-integration/code-review-workflow.yml +1 -1
  106. package/examples/adk-integration/customer-support.yml +1 -1
  107. package/examples/adk-integration/data-pipeline.yml +1 -1
  108. package/examples/advanced/reasoning-agent.yaml +1 -1
  109. package/examples/advanced/workflows/hybrid-model-strategy.yaml +1 -1
  110. package/examples/agent-manifests/critics/critic-agent.yaml +1 -1
  111. package/examples/agent-manifests/governors/governor-agent.yaml +1 -1
  112. package/examples/agent-manifests/integrators/integrator-agent.yaml +1 -1
  113. package/examples/agent-manifests/judges/judge-agent.yaml +1 -1
  114. package/examples/agent-manifests/monitors/monitor-agent.yaml +1 -1
  115. package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +1 -1
  116. package/examples/agent-manifests/sample-compliant-agent.yaml +1 -1
  117. package/examples/agent-manifests/workers/worker-agent.yaml +1 -1
  118. package/examples/agent-taxonomy-example.ossa.yaml +1 -1
  119. package/examples/agents/01-customer-support-bot/agent.ossa.yaml +1 -1
  120. package/examples/agents/02-code-review-agent/agent.ossa.yaml +1 -1
  121. package/examples/agents/03-data-analysis-agent/agent.ossa.yaml +1 -1
  122. package/examples/agents/04-content-moderator/agent.ossa.yaml +1 -1
  123. package/examples/agents/05-sales-assistant/agent.ossa.yaml +1 -1
  124. package/examples/agents/06-devops-agent/agent.ossa.yaml +1 -1
  125. package/examples/agents/07-research-assistant/agent.ossa.yaml +1 -1
  126. package/examples/agents/08-email-triage-agent/agent.ossa.yaml +1 -1
  127. package/examples/agents/09-security-scanner/agent.ossa.yaml +1 -1
  128. package/examples/agents/10-meeting-assistant/agent.ossa.yaml +1 -1
  129. package/examples/agents/architecture-healer-enterprise.yaml +1 -1
  130. package/examples/agents/dependency-healer-npm.yaml +1 -1
  131. package/examples/agents/spec-healer-openapi.yaml +1 -1
  132. package/examples/agents/wiki-healer-production.yaml +1 -1
  133. package/examples/agents-md/monorepo-agent.ossa.yaml +1 -1
  134. package/examples/agentscope/react-assistant/README.md +111 -0
  135. package/examples/agentscope/react-assistant/agent.ossa.yaml +132 -0
  136. package/examples/agentscope/react-assistant/skills/code-analysis/SKILL.md +18 -0
  137. package/examples/agentscope/react-assistant/skills/question-answering/SKILL.md +18 -0
  138. package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +1 -1
  139. package/examples/bridges/.gitlab-ci.yml +2 -2
  140. package/examples/build-once-use-everywhere/agent.ossa.yaml +1 -1
  141. package/examples/claude-code/code-reviewer.ossa.yaml +1 -1
  142. package/examples/claude-code/ossa-validator.ossa.yaml +1 -1
  143. package/examples/common_npm/agent-router.ossa.yaml +1 -1
  144. package/examples/contracts/data-consumer.ossa.yaml +1 -1
  145. package/examples/contracts/data-producer-v2.ossa.yaml +1 -1
  146. package/examples/contracts/data-producer.ossa.yaml +1 -1
  147. package/examples/drupal/QUICKSTART.md +17 -3
  148. package/examples/drupal/ai_agents_agentscope/README.md +62 -0
  149. package/examples/drupal/ai_agents_agentscope/ai_agents_agentscope.info.yml +13 -0
  150. package/examples/drupal/ai_agents_agentscope/ai_agents_agentscope.services.yml +4 -0
  151. package/examples/drupal/ai_agents_agentscope/config/install/ai_agents_agentscope.settings.yml +3 -0
  152. package/examples/drupal/ai_agents_agentscope/config/schema/ai_agents_agentscope.schema.yml +14 -0
  153. package/examples/drupal/ai_agents_agentscope/src/AgentScopeRuntime.php +11 -0
  154. package/examples/drupal/ai_agents_agentscope/src/Plugin/AiAgent/AgentScopeAgent.php +10 -0
  155. package/examples/drupal/ai_agents_agentscope/src/Plugin/AiProvider/AgentScopeProvider.php +217 -0
  156. package/examples/drupal/ai_agents_agentscope/src/Plugin/Derivative/AgentScopeDeriver.php +10 -0
  157. package/examples/drupal/ai_agents_agentscope/src/Service/AgentScopeAdapter.php +9 -0
  158. package/examples/drupal/content-moderator.ossa.yaml +1 -1
  159. package/examples/drupal/gitlab-ml-recommender.ossa.yaml +1 -1
  160. package/examples/export/langchain/production-agent-with-memory/agent.ossa.yaml +1 -1
  161. package/examples/export/langchain/production-agent-with-tools/agent.ossa.yaml +1 -1
  162. package/examples/extensions/agents-md-advanced.yml +1 -1
  163. package/examples/extensions/agents-md-basic.yml +1 -1
  164. package/examples/extensions/agents-md-sync.yml +1 -1
  165. package/examples/extensions/agents-md-v1.yml +1 -1
  166. package/examples/extensions/drupal-v1.yml +1 -1
  167. package/examples/extensions/encryption-multi-provider.yaml +4 -4
  168. package/examples/extensions/kagent-v1.yml +1 -1
  169. package/examples/extensions/knowledge-sources.yaml +1 -1
  170. package/examples/extensions/mcp-full-featured.yaml +1 -1
  171. package/examples/getting-started/01-minimal-agent.ossa.yaml +1 -1
  172. package/examples/getting-started/02-agent-with-tools.ossa.yaml +1 -1
  173. package/examples/getting-started/03-agent-with-safety.ossa.yaml +1 -1
  174. package/examples/getting-started/04-agent-with-messaging.ossa.yaml +1 -1
  175. package/examples/getting-started/05-workflow-composition.ossa.yaml +1 -1
  176. package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
  177. package/examples/gitlab-agents/daily-code-scan/.gitlab-ci.yml +2 -2
  178. package/examples/gitlab-agents/duo-comment-responder/.gitlab-ci.yml +2 -2
  179. package/examples/gitlab-agents/mr-reviewer/.gitlab-ci.yml +2 -2
  180. package/examples/gitlab-agents/pipeline-auto-fix/.gitlab-ci.yml +2 -2
  181. package/examples/gitlab-agents/pre-commit-quality-check/.gitlab-ci.yml +2 -2
  182. package/examples/gitlab-agents/pre-push-validation/.gitlab-ci.yml +2 -2
  183. package/examples/hierarchical-agent.ossa.yaml +1 -1
  184. package/examples/infrastructure/token-rotation/manifest.ossa.yaml +1 -1
  185. package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +1 -1
  186. package/examples/kagent/compliance-validator.ossa.yaml +1 -1
  187. package/examples/kagent/cost-optimizer.ossa.yaml +1 -1
  188. package/examples/kagent/documentation-agent.ossa.yaml +1 -1
  189. package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +1 -1
  190. package/examples/kagent/k8s-troubleshooter.ossa.yaml +1 -1
  191. package/examples/kagent/security-scanner.ossa.yaml +1 -1
  192. package/examples/knowledge-graph/drupal-agent-with-kg.ossa.yaml +1 -1
  193. package/examples/mcp/browser-puppeteer.ossa.yaml +1 -1
  194. package/examples/mcp/database-mcp.ossa.yaml +1 -1
  195. package/examples/mcp/filesystem-mcp.ossa.yaml +1 -1
  196. package/examples/messaging/dependency-healer.ossa.yaml +1 -1
  197. package/examples/messaging/incident-responder.ossa.yaml +1 -1
  198. package/examples/messaging/routing-rules.ossa.yaml +1 -1
  199. package/examples/messaging/security-scanner.ossa.yaml +1 -1
  200. package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
  201. package/examples/migrations/langchain/01-python-react-agent-after.ossa.yaml +1 -1
  202. package/examples/migrations/langchain/02-typescript-conversational-after.ossa.yaml +1 -1
  203. package/examples/migrations/langchain/03-sequential-chain-after.ossa.yaml +1 -1
  204. package/examples/migrations/langchain/04-config-based-after.ossa.yaml +1 -1
  205. package/examples/migrations/swarm-to-ossa/after-handoffs.ossa.yaml +6 -6
  206. package/examples/migrations/swarm-to-ossa/after-triage-agent.ossa.yaml +3 -3
  207. package/examples/mr-reviewer-with-governance.ossa.yaml +1 -1
  208. package/examples/multi-agent/conditional-router.ossa.yaml +1 -1
  209. package/examples/multi-agent/parallel-execution.ossa.yaml +1 -1
  210. package/examples/multi-agent/sequential-pipeline.ossa.yaml +1 -1
  211. package/examples/multi-agent-research-workflow.ossa.yaml +1 -1
  212. package/examples/multi-platform/single-manifest/agent.ossa.yaml +1 -1
  213. package/examples/observability/activity-stream-full.yaml +1 -1
  214. package/examples/openai/basic-agent.ossa.yaml +1 -1
  215. package/examples/ossa-templates/01-code-assistant.ossa.yaml +1 -1
  216. package/examples/ossa-templates/02-security-scanner.ossa.yaml +1 -1
  217. package/examples/ossa-templates/03-ci-pipeline.ossa.yaml +1 -1
  218. package/examples/ossa-templates/04-code-reviewer.ossa.yaml +1 -1
  219. package/examples/ossa-templates/05-doc-generator.ossa.yaml +1 -1
  220. package/examples/ossa-templates/06-compliance-validator.ossa.yaml +1 -1
  221. package/examples/ossa-templates/07-workflow-orchestrator.ossa.yaml +1 -1
  222. package/examples/ossa-templates/08-content-writer.ossa.yaml +1 -1
  223. package/examples/ossa-templates/09-test-generator.ossa.yaml +1 -1
  224. package/examples/ossa-templates/10-data-transformer.ossa.yaml +1 -1
  225. package/examples/ossa-templates/11-react-performance-expert.ossa.yaml +1 -1
  226. package/examples/ossa-templates/12-typescript-type-safety-expert.ossa.yaml +1 -1
  227. package/examples/ossa-templates/13-accessibility-champion.ossa.yaml +1 -1
  228. package/examples/ossa-templates/14-security-hardening-agent.ossa.yaml +1 -1
  229. package/examples/pipeline-agent.ossa.yaml +1 -1
  230. package/examples/production/document-analyzer-openai.yml +1 -1
  231. package/examples/production-ready/01-customer-support-bot/agent.ossa.yaml +1 -1
  232. package/examples/production-ready/02-code-review-agent/agent.ossa.yaml +1 -1
  233. package/examples/production-ready/03-data-analysis-agent/agent.ossa.yaml +1 -1
  234. package/examples/production-ready/04-content-moderator/agent.ossa.yaml +1 -1
  235. package/examples/production-ready/05-sales-assistant/agent.ossa.yaml +1 -1
  236. package/examples/production-ready/06-devops-agent/agent.ossa.yaml +1 -1
  237. package/examples/production-ready/07-research-assistant/agent.ossa.yaml +1 -1
  238. package/examples/production-ready/08-email-triage-agent/agent.ossa.yaml +1 -1
  239. package/examples/production-ready/09-security-scanner/agent.ossa.yaml +1 -1
  240. package/examples/production-ready/10-meeting-assistant/agent.ossa.yaml +1 -1
  241. package/examples/quickstart/support-agent.ossa.yaml +1 -1
  242. package/examples/real-world/gitlab-cicd-optimizer.ossa.yaml +1 -1
  243. package/examples/real-world/rag-documentation-assistant.ossa.yaml +1 -1
  244. package/examples/registry/agents/code-reviewer/agent.yaml +1 -1
  245. package/examples/registry/agents/security-scanner/agent.yaml +1 -1
  246. package/examples/runtime-adapters/bedrock-claude-example.ossa.yaml +1 -1
  247. package/examples/schema/reusable-components.yaml +1 -1
  248. package/examples/showcase/ci-pipeline.ossa.yaml +1 -1
  249. package/examples/showcase/code-assistant.ossa.yaml +1 -1
  250. package/examples/showcase/code-reviewer.ossa.yaml +1 -1
  251. package/examples/showcase/compliance-checker.ossa.yaml +1 -1
  252. package/examples/showcase/compliance-validator.ossa.yaml +1 -1
  253. package/examples/showcase/content-writer.ossa.yaml +1 -1
  254. package/examples/showcase/customer-support.ossa.yaml +1 -1
  255. package/examples/showcase/data-processing-pipeline.ossa.yaml +1 -1
  256. package/examples/showcase/data-transformer.ossa.yaml +1 -1
  257. package/examples/showcase/doc-generator.ossa.yaml +1 -1
  258. package/examples/showcase/full-power-agent.ossa.yaml +1 -1
  259. package/examples/showcase/security-scanner-enhanced.ossa.yaml +1 -1
  260. package/examples/showcase/security-scanner.ossa.yaml +1 -1
  261. package/examples/showcase/team-leader.ossa.yaml +1 -1
  262. package/examples/showcase/test-generator.ossa.yaml +1 -1
  263. package/examples/showcase/workflow-orchestrator.ossa.yaml +1 -1
  264. package/examples/skills-example.ossa.yaml +1 -1
  265. package/examples/swarm-agent.ossa.yaml +1 -1
  266. package/examples/tasks/batch-email-sender.yaml +1 -1
  267. package/examples/tasks/data-transform.yaml +1 -1
  268. package/examples/tasks/publish-content.yaml +1 -1
  269. package/examples/team-agent.ossa.yaml +1 -1
  270. package/examples/templates/ossa-compliance.yaml +1 -1
  271. package/examples/unified/security-scanner.ossa.yaml +1 -1
  272. package/examples/workflows/batch-email-campaign.yaml +1 -1
  273. package/examples/workflows/content-review-publish.yaml +1 -1
  274. package/examples/workflows/simple-etl.yaml +1 -1
  275. package/package.json +6 -7
  276. package/spec/reference/reference-agents/compliance-auditor/manifest.ossa.yaml +1 -1
  277. package/spec/reference/reference-agents/doc-agent/manifest.ossa.yaml +1 -1
  278. package/spec/reference/reference-agents/mr-reviewer/manifest.ossa.yaml +1 -1
  279. package/spec/reference/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +1 -1
  280. package/spec/reference/reference-agents/pipeline-fixer/manifest.ossa.yaml +1 -1
  281. package/spec/reference/reference-agents/release-orchestrator/manifest.ossa.yaml +1 -1
  282. package/spec/v0.4/agent-card.schema.json +1 -1
  283. package/spec/v0.4/agent.schema.json +84 -15
  284. package/spec/v0.4/extensions/a2a/a2a.schema.json +1 -1
  285. package/spec/v0.4/extensions/ag2/ag2.schema.json +1 -1
  286. package/spec/v0.4/extensions/crewai/crewai.schema.json +1 -1
  287. package/spec/v0.4/extensions/kagent/kagent.schema.json +1 -1
  288. package/spec/v0.4/extensions/langchain/langchain.schema.json +1 -1
  289. package/spec/v0.4/extensions/langgraph/langgraph.schema.json +1 -1
  290. package/spec/v0.4/extensions/mcp/mcp.schema.json +1 -1
  291. package/templates/agent-types/claude-agent.ossa.yaml +1 -1
  292. package/templates/agent-types/kagent.ossa.yaml +1 -1
  293. package/templates/agent-types/langchain-agent.ossa.yaml +1 -1
  294. package/templates/agent-types/openapi-agent.ossa.yaml +1 -1
  295. package/templates/agent-types/swarm-agents.ossa.yaml +1 -1
  296. package/templates/ci-cd/gitlab-ci.deploy.yml +2 -2
  297. package/templates/validators/capability-compatibility.ossa.yaml +1 -1
  298. package/templates/validators/coordination-consistency.ossa.yaml +1 -1
  299. package/templates/validators/pattern-requirements.ossa.yaml +1 -1
  300. package/templates/validators/transport-compatibility.ossa.yaml +1 -1
@@ -0,0 +1,624 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://openstandardagents.org/schemas/v0.4.6/extensions/kagent/kagent.json",
4
+ "title": "Kagent (GitLab Kubernetes Agents) Extension",
5
+ "description": "Native integration with GitLab's Kagent framework for Kubernetes-native agent deployment, management, and orchestration. Enables GitLab CI/CD integration, Kubernetes-native deployment, service mesh integration, and GitLab agent registry compatibility.",
6
+ "type": "object",
7
+ "properties": {
8
+ "kubernetes": {
9
+ "$ref": "#/definitions/KubernetesConfig",
10
+ "description": "Kubernetes deployment configuration for GitLab Kagent"
11
+ },
12
+ "guardrails": {
13
+ "$ref": "#/definitions/GuardrailsConfig",
14
+ "description": "Safety and compliance guardrails for Kagent deployment"
15
+ },
16
+ "a2aConfig": {
17
+ "$ref": "#/definitions/A2AConfig",
18
+ "description": "Agent-to-agent communication configuration"
19
+ },
20
+ "meshIntegration": {
21
+ "$ref": "#/definitions/MeshIntegration",
22
+ "description": "Service mesh integration (Istio, Linkerd, Ambient Mesh)"
23
+ },
24
+ "gitlabIntegration": {
25
+ "$ref": "#/definitions/GitLabIntegration",
26
+ "description": "GitLab-specific integration settings"
27
+ },
28
+ "monitoring": {
29
+ "$ref": "#/definitions/MonitoringConfig",
30
+ "description": "Monitoring and observability configuration"
31
+ }
32
+ },
33
+ "required": ["kubernetes"],
34
+ "additionalProperties": false,
35
+ "definitions": {
36
+ "KubernetesConfig": {
37
+ "type": "object",
38
+ "description": "Kubernetes-native deployment configuration",
39
+ "properties": {
40
+ "namespace": {
41
+ "type": "string",
42
+ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
43
+ "description": "Kubernetes namespace for agent deployment",
44
+ "default": "default"
45
+ },
46
+ "labels": {
47
+ "type": "object",
48
+ "additionalProperties": {
49
+ "type": "string"
50
+ },
51
+ "description": "Kubernetes labels for agent identification and selection",
52
+ "default": {}
53
+ },
54
+ "annotations": {
55
+ "type": "object",
56
+ "additionalProperties": {
57
+ "type": "string"
58
+ },
59
+ "description": "Kubernetes annotations for metadata and configuration",
60
+ "default": {}
61
+ },
62
+ "resourceLimits": {
63
+ "$ref": "#/definitions/ResourceLimits",
64
+ "description": "Kubernetes resource limits and requests"
65
+ },
66
+ "serviceAccount": {
67
+ "type": "string",
68
+ "description": "Kubernetes service account for agent execution",
69
+ "default": "default"
70
+ },
71
+ "imagePullSecrets": {
72
+ "type": "array",
73
+ "items": {
74
+ "type": "string"
75
+ },
76
+ "description": "Kubernetes image pull secrets for private registries"
77
+ },
78
+ "nodeSelector": {
79
+ "type": "object",
80
+ "additionalProperties": {
81
+ "type": "string"
82
+ },
83
+ "description": "Kubernetes node selector for agent pod placement"
84
+ },
85
+ "tolerations": {
86
+ "type": "array",
87
+ "items": {
88
+ "$ref": "#/definitions/Toleration"
89
+ },
90
+ "description": "Kubernetes tolerations for pod scheduling"
91
+ },
92
+ "affinity": {
93
+ "$ref": "#/definitions/Affinity",
94
+ "description": "Kubernetes pod affinity/anti-affinity rules"
95
+ },
96
+ "securityContext": {
97
+ "$ref": "#/definitions/SecurityContext",
98
+ "description": "Kubernetes security context for agent pods"
99
+ }
100
+ },
101
+ "required": ["namespace"],
102
+ "additionalProperties": false
103
+ },
104
+ "ResourceLimits": {
105
+ "type": "object",
106
+ "description": "Kubernetes resource limits and requests",
107
+ "properties": {
108
+ "cpu": {
109
+ "type": "string",
110
+ "pattern": "^[0-9]+(\\.[0-9]+)?(m|)$",
111
+ "description": "CPU limit (e.g., '1000m', '1')",
112
+ "examples": ["100m", "500m", "1000m", "2"]
113
+ },
114
+ "memory": {
115
+ "type": "string",
116
+ "pattern": "^[0-9]+(\\.[0-9]+)?(Ki|Mi|Gi|Ti|Pi|Ei|k|M|G|T|P|E)?$",
117
+ "description": "Memory limit (e.g., '512Mi', '2Gi')",
118
+ "examples": ["128Mi", "512Mi", "1Gi", "2Gi", "4Gi"]
119
+ },
120
+ "ephemeralStorage": {
121
+ "type": "string",
122
+ "pattern": "^[0-9]+(\\.[0-9]+)?(Ki|Mi|Gi|Ti|Pi|Ei|k|M|G|T|P|E)?$",
123
+ "description": "Ephemeral storage limit"
124
+ },
125
+ "requests": {
126
+ "type": "object",
127
+ "properties": {
128
+ "cpu": {
129
+ "type": "string",
130
+ "pattern": "^[0-9]+(\\.[0-9]+)?(m|)$"
131
+ },
132
+ "memory": {
133
+ "type": "string",
134
+ "pattern": "^[0-9]+(\\.[0-9]+)?(Ki|Mi|Gi|Ti|Pi|Ei|k|M|G|T|P|E)?$"
135
+ }
136
+ },
137
+ "additionalProperties": false
138
+ }
139
+ },
140
+ "additionalProperties": false
141
+ },
142
+ "GuardrailsConfig": {
143
+ "type": "object",
144
+ "description": "Safety and compliance guardrails",
145
+ "properties": {
146
+ "requireApproval": {
147
+ "type": "boolean",
148
+ "description": "Require human approval for agent actions",
149
+ "default": false
150
+ },
151
+ "costLimits": {
152
+ "$ref": "#/definitions/CostLimits",
153
+ "description": "Cost limits and budget controls"
154
+ },
155
+ "allowedActions": {
156
+ "type": "array",
157
+ "items": {
158
+ "type": "string"
159
+ },
160
+ "description": "List of allowed Kubernetes actions (e.g., 'kubernetes:get:pods', 'kubernetes:create:deployments')",
161
+ "examples": [
162
+ "kubernetes:get:pods",
163
+ "kubernetes:get:logs",
164
+ "kubernetes:create:deployments",
165
+ "kubernetes:patch:services"
166
+ ]
167
+ },
168
+ "blockedActions": {
169
+ "type": "array",
170
+ "items": {
171
+ "type": "string"
172
+ },
173
+ "description": "List of blocked Kubernetes actions"
174
+ },
175
+ "auditLog": {
176
+ "$ref": "#/definitions/AuditLogConfig",
177
+ "description": "Audit logging configuration"
178
+ },
179
+ "compliance": {
180
+ "$ref": "#/definitions/ComplianceConfig",
181
+ "description": "Compliance framework requirements (SOC2, HIPAA, FedRAMP, etc.)"
182
+ }
183
+ },
184
+ "additionalProperties": false
185
+ },
186
+ "CostLimits": {
187
+ "type": "object",
188
+ "description": "Cost limits and budget controls",
189
+ "properties": {
190
+ "maxTokensPerDay": {
191
+ "type": "integer",
192
+ "minimum": 0,
193
+ "description": "Maximum tokens per day"
194
+ },
195
+ "maxCostPerDay": {
196
+ "type": "number",
197
+ "minimum": 0,
198
+ "description": "Maximum cost per day"
199
+ },
200
+ "currency": {
201
+ "type": "string",
202
+ "enum": ["USD", "EUR", "GBP", "JPY", "CAD", "AUD"],
203
+ "default": "USD",
204
+ "description": "Currency for cost limits"
205
+ },
206
+ "budgetAlertThreshold": {
207
+ "type": "number",
208
+ "minimum": 0,
209
+ "maximum": 1,
210
+ "description": "Alert when budget reaches this percentage (0.0-1.0)",
211
+ "default": 0.8
212
+ }
213
+ },
214
+ "additionalProperties": false
215
+ },
216
+ "AuditLogConfig": {
217
+ "type": "object",
218
+ "description": "Audit logging configuration",
219
+ "properties": {
220
+ "destination": {
221
+ "type": "string",
222
+ "description": "Audit log destination (e.g., 'compliance-engine', 's3://bucket/path', 'stdout')"
223
+ },
224
+ "retention": {
225
+ "type": "string",
226
+ "pattern": "^[0-9]+(days|weeks|months|years)$",
227
+ "description": "Audit log retention period",
228
+ "examples": ["7days", "30days", "1year", "7years", "10years"]
229
+ },
230
+ "format": {
231
+ "type": "string",
232
+ "enum": ["json", "cef", "syslog"],
233
+ "default": "json",
234
+ "description": "Audit log format"
235
+ },
236
+ "encryption": {
237
+ "type": "boolean",
238
+ "default": true,
239
+ "description": "Encrypt audit logs at rest"
240
+ }
241
+ },
242
+ "required": ["destination", "retention"],
243
+ "additionalProperties": false
244
+ },
245
+ "ComplianceConfig": {
246
+ "type": "object",
247
+ "description": "Compliance framework requirements",
248
+ "properties": {
249
+ "frameworks": {
250
+ "type": "array",
251
+ "items": {
252
+ "type": "string",
253
+ "enum": ["SOC2", "HIPAA", "FedRAMP", "NIST", "ISO27001", "PCI-DSS", "GDPR"]
254
+ },
255
+ "description": "Compliance frameworks this agent must comply with"
256
+ },
257
+ "evidenceCollection": {
258
+ "type": "boolean",
259
+ "default": true,
260
+ "description": "Collect compliance evidence automatically"
261
+ },
262
+ "reportingInterval": {
263
+ "type": "string",
264
+ "pattern": "^[0-9]+(s|m|h|d)$",
265
+ "description": "Compliance reporting interval",
266
+ "default": "24h"
267
+ }
268
+ },
269
+ "additionalProperties": false
270
+ },
271
+ "A2AConfig": {
272
+ "type": "object",
273
+ "description": "Agent-to-agent communication configuration",
274
+ "properties": {
275
+ "enabled": {
276
+ "type": "boolean",
277
+ "default": true,
278
+ "description": "Enable agent-to-agent communication"
279
+ },
280
+ "protocol": {
281
+ "type": "string",
282
+ "enum": ["json-rpc", "grpc", "http", "websocket", "nats"],
283
+ "default": "json-rpc",
284
+ "description": "A2A communication protocol"
285
+ },
286
+ "endpoints": {
287
+ "type": "array",
288
+ "items": {
289
+ "type": "string",
290
+ "format": "uri"
291
+ },
292
+ "description": "List of agent endpoints for A2A communication",
293
+ "examples": [
294
+ "http://security-scanner:8080/a2a",
295
+ "http://documentation-agent:8080/a2a",
296
+ "grpc://cost-optimizer:9090"
297
+ ]
298
+ },
299
+ "authentication": {
300
+ "$ref": "#/definitions/AuthenticationConfig",
301
+ "description": "A2A authentication configuration"
302
+ },
303
+ "timeout": {
304
+ "type": "integer",
305
+ "minimum": 1,
306
+ "default": 30,
307
+ "description": "A2A request timeout in seconds"
308
+ },
309
+ "retryPolicy": {
310
+ "$ref": "#/definitions/RetryPolicy",
311
+ "description": "A2A retry policy"
312
+ }
313
+ },
314
+ "required": ["enabled"],
315
+ "additionalProperties": false
316
+ },
317
+ "AuthenticationConfig": {
318
+ "type": "object",
319
+ "description": "Authentication configuration for A2A",
320
+ "properties": {
321
+ "type": {
322
+ "type": "string",
323
+ "enum": ["mtls", "oauth2", "api-key", "jwt", "none"],
324
+ "default": "mtls",
325
+ "description": "Authentication type"
326
+ },
327
+ "credentials": {
328
+ "type": "object",
329
+ "description": "Authentication credentials (structure depends on type)"
330
+ }
331
+ },
332
+ "required": ["type"],
333
+ "additionalProperties": false
334
+ },
335
+ "RetryPolicy": {
336
+ "type": "object",
337
+ "description": "Retry policy for A2A requests",
338
+ "properties": {
339
+ "maxRetries": {
340
+ "type": "integer",
341
+ "minimum": 0,
342
+ "default": 3,
343
+ "description": "Maximum number of retries"
344
+ },
345
+ "backoff": {
346
+ "type": "string",
347
+ "enum": ["linear", "exponential", "fixed"],
348
+ "default": "exponential",
349
+ "description": "Backoff strategy"
350
+ },
351
+ "initialDelay": {
352
+ "type": "integer",
353
+ "minimum": 1,
354
+ "default": 1,
355
+ "description": "Initial retry delay in seconds"
356
+ }
357
+ },
358
+ "additionalProperties": false
359
+ },
360
+ "MeshIntegration": {
361
+ "type": "object",
362
+ "description": "Service mesh integration configuration",
363
+ "properties": {
364
+ "enabled": {
365
+ "type": "boolean",
366
+ "default": true,
367
+ "description": "Enable service mesh integration"
368
+ },
369
+ "istioIntegration": {
370
+ "type": "boolean",
371
+ "default": false,
372
+ "description": "Enable Istio service mesh integration"
373
+ },
374
+ "linkerdIntegration": {
375
+ "type": "boolean",
376
+ "default": false,
377
+ "description": "Enable Linkerd service mesh integration"
378
+ },
379
+ "ambientMesh": {
380
+ "type": "boolean",
381
+ "default": false,
382
+ "description": "Enable Istio Ambient Mesh (sidecarless)"
383
+ },
384
+ "trafficPolicy": {
385
+ "$ref": "#/definitions/TrafficPolicy",
386
+ "description": "Service mesh traffic policy"
387
+ }
388
+ },
389
+ "required": ["enabled"],
390
+ "additionalProperties": false
391
+ },
392
+ "TrafficPolicy": {
393
+ "type": "object",
394
+ "description": "Service mesh traffic policy",
395
+ "properties": {
396
+ "loadBalancer": {
397
+ "type": "string",
398
+ "enum": ["round_robin", "least_conn", "random", "consistent_hash"],
399
+ "default": "round_robin",
400
+ "description": "Load balancing algorithm"
401
+ },
402
+ "circuitBreaker": {
403
+ "type": "object",
404
+ "properties": {
405
+ "enabled": {
406
+ "type": "boolean",
407
+ "default": true
408
+ },
409
+ "maxConnections": {
410
+ "type": "integer",
411
+ "minimum": 1,
412
+ "default": 100
413
+ },
414
+ "maxPendingRequests": {
415
+ "type": "integer",
416
+ "minimum": 1,
417
+ "default": 10
418
+ },
419
+ "maxRequests": {
420
+ "type": "integer",
421
+ "minimum": 1,
422
+ "default": 100
423
+ },
424
+ "consecutiveErrors": {
425
+ "type": "integer",
426
+ "minimum": 1,
427
+ "default": 5
428
+ }
429
+ },
430
+ "additionalProperties": false
431
+ },
432
+ "timeout": {
433
+ "type": "integer",
434
+ "minimum": 1,
435
+ "default": 30,
436
+ "description": "Request timeout in seconds"
437
+ }
438
+ },
439
+ "additionalProperties": false
440
+ },
441
+ "GitLabIntegration": {
442
+ "type": "object",
443
+ "description": "GitLab-specific integration settings",
444
+ "properties": {
445
+ "agentId": {
446
+ "type": "string",
447
+ "description": "GitLab agent ID"
448
+ },
449
+ "projectId": {
450
+ "type": "integer",
451
+ "description": "GitLab project ID"
452
+ },
453
+ "groupId": {
454
+ "type": "integer",
455
+ "description": "GitLab group ID"
456
+ },
457
+ "ciCdIntegration": {
458
+ "type": "boolean",
459
+ "default": true,
460
+ "description": "Enable GitLab CI/CD integration"
461
+ },
462
+ "registryIntegration": {
463
+ "type": "boolean",
464
+ "default": true,
465
+ "description": "Enable GitLab agent registry integration"
466
+ },
467
+ "webhookUrl": {
468
+ "type": "string",
469
+ "format": "uri",
470
+ "description": "GitLab webhook URL for agent events"
471
+ }
472
+ },
473
+ "additionalProperties": false
474
+ },
475
+ "MonitoringConfig": {
476
+ "type": "object",
477
+ "description": "Monitoring and observability configuration",
478
+ "properties": {
479
+ "enabled": {
480
+ "type": "boolean",
481
+ "default": true,
482
+ "description": "Enable monitoring"
483
+ },
484
+ "metrics": {
485
+ "type": "object",
486
+ "properties": {
487
+ "prometheus": {
488
+ "type": "boolean",
489
+ "default": true,
490
+ "description": "Enable Prometheus metrics"
491
+ },
492
+ "endpoint": {
493
+ "type": "string",
494
+ "default": "/metrics",
495
+ "description": "Metrics endpoint path"
496
+ },
497
+ "port": {
498
+ "type": "integer",
499
+ "minimum": 1,
500
+ "maximum": 65535,
501
+ "default": 9090,
502
+ "description": "Metrics port"
503
+ }
504
+ },
505
+ "additionalProperties": false
506
+ },
507
+ "tracing": {
508
+ "type": "object",
509
+ "properties": {
510
+ "enabled": {
511
+ "type": "boolean",
512
+ "default": true
513
+ },
514
+ "provider": {
515
+ "type": "string",
516
+ "enum": ["jaeger", "zipkin", "datadog", "newrelic", "opentelemetry"],
517
+ "default": "opentelemetry"
518
+ },
519
+ "samplingRate": {
520
+ "type": "number",
521
+ "minimum": 0,
522
+ "maximum": 1,
523
+ "default": 0.1,
524
+ "description": "Tracing sampling rate (0.0-1.0)"
525
+ }
526
+ },
527
+ "additionalProperties": false
528
+ },
529
+ "logging": {
530
+ "type": "object",
531
+ "properties": {
532
+ "level": {
533
+ "type": "string",
534
+ "enum": ["debug", "info", "warn", "error"],
535
+ "default": "info"
536
+ },
537
+ "format": {
538
+ "type": "string",
539
+ "enum": ["json", "text"],
540
+ "default": "json"
541
+ },
542
+ "destination": {
543
+ "type": "string",
544
+ "enum": ["stdout", "file", "loki", "elasticsearch"],
545
+ "default": "stdout"
546
+ }
547
+ },
548
+ "additionalProperties": false
549
+ }
550
+ },
551
+ "additionalProperties": false
552
+ },
553
+ "Toleration": {
554
+ "type": "object",
555
+ "description": "Kubernetes toleration",
556
+ "properties": {
557
+ "key": {
558
+ "type": "string"
559
+ },
560
+ "operator": {
561
+ "type": "string",
562
+ "enum": ["Equal", "Exists"]
563
+ },
564
+ "value": {
565
+ "type": "string"
566
+ },
567
+ "effect": {
568
+ "type": "string",
569
+ "enum": ["NoSchedule", "PreferNoSchedule", "NoExecute"]
570
+ }
571
+ },
572
+ "required": ["key", "operator"],
573
+ "additionalProperties": false
574
+ },
575
+ "Affinity": {
576
+ "type": "object",
577
+ "description": "Kubernetes pod affinity/anti-affinity",
578
+ "properties": {
579
+ "podAffinity": {
580
+ "type": "object",
581
+ "description": "Pod affinity rules"
582
+ },
583
+ "podAntiAffinity": {
584
+ "type": "object",
585
+ "description": "Pod anti-affinity rules"
586
+ },
587
+ "nodeAffinity": {
588
+ "type": "object",
589
+ "description": "Node affinity rules"
590
+ }
591
+ },
592
+ "additionalProperties": false
593
+ },
594
+ "SecurityContext": {
595
+ "type": "object",
596
+ "description": "Kubernetes security context",
597
+ "properties": {
598
+ "runAsNonRoot": {
599
+ "type": "boolean",
600
+ "default": true
601
+ },
602
+ "runAsUser": {
603
+ "type": "integer"
604
+ },
605
+ "runAsGroup": {
606
+ "type": "integer"
607
+ },
608
+ "fsGroup": {
609
+ "type": "integer"
610
+ },
611
+ "seccompProfile": {
612
+ "type": "object",
613
+ "properties": {
614
+ "type": {
615
+ "type": "string",
616
+ "enum": ["RuntimeDefault", "Localhost"]
617
+ }
618
+ }
619
+ }
620
+ },
621
+ "additionalProperties": false
622
+ }
623
+ }
624
+ }