@bluefly/openstandardagents 0.2.4 → 0.2.7
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.
- package/.cursorrules +84 -0
- package/.devfile.yaml +87 -0
- package/.env.example +25 -3
- package/.github/ISSUE_TEMPLATE/bug_report.yml +63 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +40 -0
- package/.github/workflows/dependabot-comment.yml +34 -0
- package/.github/workflows/pr-comment.yml +33 -0
- package/.github/workflows/release.yml +1 -1
- package/.husky/pre-commit +5 -0
- package/.kiro/config.json +21 -0
- package/.kiro/settings/mcp.json +61 -0
- package/.kiro/specs/scripts-migration-api-first/design.md +883 -0
- package/.kiro/specs/scripts-migration-api-first/requirements.md +165 -0
- package/.kiro/specs/scripts-migration-api-first/tasks.md +539 -0
- package/.kiro/specs/website-brand-identity/design.md +1060 -0
- package/.kiro/specs/website-brand-identity/requirements.md +287 -0
- package/.kiro/specs/website-brand-identity/tasks.md +981 -0
- package/.releaserc.json +5 -4
- package/.version.json +6 -0
- package/CHANGELOG.md +163 -96
- package/CONTRIBUTING.md +23 -5
- package/README.md +130 -43
- package/bin/ossa +24 -3
- package/bin/ossa-dev +42 -0
- package/bin/ossa-export +32 -0
- package/bin/ossa-generate +60 -0
- package/bin/ossa-health +40 -0
- package/bin/ossa-init +26 -0
- package/bin/ossa-validate-all +55 -0
- package/bin/ossa-version +23 -0
- package/bin/validate-ossa-0.2.4.ts +244 -0
- package/bin/validate-ossa-0.2.5-RC.ts +244 -0
- package/bin/validate-ossa.ts +273 -0
- package/dist/di-container.d.ts +1 -1
- package/dist/di-container.d.ts.map +1 -1
- package/dist/di-container.js.map +1 -1
- package/dist/repositories/schema.repository.d.ts +17 -2
- package/dist/repositories/schema.repository.d.ts.map +1 -1
- package/dist/repositories/schema.repository.js +102 -19
- package/dist/repositories/schema.repository.js.map +1 -1
- package/dist/services/generation.service.d.ts +7 -5
- package/dist/services/generation.service.d.ts.map +1 -1
- package/dist/services/generation.service.js +92 -44
- package/dist/services/generation.service.js.map +1 -1
- package/dist/services/github-sync/github-client.d.ts +14 -0
- package/dist/services/github-sync/github-client.d.ts.map +1 -0
- package/dist/services/github-sync/github-client.js +41 -0
- package/dist/services/github-sync/github-client.js.map +1 -0
- package/dist/services/github-sync/gitlab-client.d.ts +17 -0
- package/dist/services/github-sync/gitlab-client.d.ts.map +1 -0
- package/dist/services/github-sync/gitlab-client.js +42 -0
- package/dist/services/github-sync/gitlab-client.js.map +1 -0
- package/dist/services/github-sync/schemas.d.ts +46 -0
- package/dist/services/github-sync/schemas.d.ts.map +1 -0
- package/dist/services/github-sync/schemas.js +36 -0
- package/dist/services/github-sync/schemas.js.map +1 -0
- package/dist/services/github-sync/sync.service.d.ts +27 -0
- package/dist/services/github-sync/sync.service.d.ts.map +1 -0
- package/dist/services/github-sync/sync.service.js +99 -0
- package/dist/services/github-sync/sync.service.js.map +1 -0
- package/dist/services/gitlab-agent.service.d.ts +94 -0
- package/dist/services/gitlab-agent.service.d.ts.map +1 -0
- package/dist/services/gitlab-agent.service.js +162 -0
- package/dist/services/gitlab-agent.service.js.map +1 -0
- package/dist/services/migration.service.d.ts +3 -3
- package/dist/services/migration.service.d.ts.map +1 -1
- package/dist/services/migration.service.js +108 -61
- package/dist/services/migration.service.js.map +1 -1
- package/dist/services/release-automation/base-crud.service.d.ts +93 -0
- package/dist/services/release-automation/base-crud.service.d.ts.map +1 -0
- package/dist/services/release-automation/base-crud.service.js +68 -0
- package/dist/services/release-automation/base-crud.service.js.map +1 -0
- package/dist/services/release-automation/index.d.ts +12 -0
- package/dist/services/release-automation/index.d.ts.map +1 -0
- package/dist/services/release-automation/index.js +12 -0
- package/dist/services/release-automation/index.js.map +1 -0
- package/dist/services/release-automation/merge-request.service.d.ts +119 -0
- package/dist/services/release-automation/merge-request.service.d.ts.map +1 -0
- package/dist/services/release-automation/merge-request.service.js +212 -0
- package/dist/services/release-automation/merge-request.service.js.map +1 -0
- package/dist/services/release-automation/milestone.service.d.ts +104 -0
- package/dist/services/release-automation/milestone.service.d.ts.map +1 -0
- package/dist/services/release-automation/milestone.service.js +207 -0
- package/dist/services/release-automation/milestone.service.js.map +1 -0
- package/dist/services/release-automation/release.service.d.ts +118 -0
- package/dist/services/release-automation/release.service.d.ts.map +1 -0
- package/dist/services/release-automation/release.service.js +207 -0
- package/dist/services/release-automation/release.service.js.map +1 -0
- package/dist/services/release-automation/schemas/release.schema.d.ts +299 -0
- package/dist/services/release-automation/schemas/release.schema.d.ts.map +1 -0
- package/dist/services/release-automation/schemas/release.schema.js +269 -0
- package/dist/services/release-automation/schemas/release.schema.js.map +1 -0
- package/dist/services/release-automation/tag.service.d.ts +99 -0
- package/dist/services/release-automation/tag.service.d.ts.map +1 -0
- package/dist/services/release-automation/tag.service.js +180 -0
- package/dist/services/release-automation/tag.service.js.map +1 -0
- package/dist/services/release-automation/webhook.service.d.ts +37 -0
- package/dist/services/release-automation/webhook.service.d.ts.map +1 -0
- package/dist/services/release-automation/webhook.service.js +173 -0
- package/dist/services/release-automation/webhook.service.js.map +1 -0
- package/dist/services/runtime/claude/capability-mapper.d.ts +84 -0
- package/dist/services/runtime/claude/capability-mapper.d.ts.map +1 -0
- package/dist/services/runtime/claude/capability-mapper.js +245 -0
- package/dist/services/runtime/claude/capability-mapper.js.map +1 -0
- package/dist/services/runtime/claude/claude-adapter.d.ts +80 -0
- package/dist/services/runtime/claude/claude-adapter.d.ts.map +1 -0
- package/dist/services/runtime/claude/claude-adapter.js +287 -0
- package/dist/services/runtime/claude/claude-adapter.js.map +1 -0
- package/dist/services/runtime/claude/manifest-parser.d.ts +77 -0
- package/dist/services/runtime/claude/manifest-parser.d.ts.map +1 -0
- package/dist/services/runtime/claude/manifest-parser.js +169 -0
- package/dist/services/runtime/claude/manifest-parser.js.map +1 -0
- package/dist/services/runtime/claude/types.d.ts +115 -0
- package/dist/services/runtime/claude/types.d.ts.map +1 -0
- package/dist/services/runtime/claude/types.js +6 -0
- package/dist/services/runtime/claude/types.js.map +1 -0
- package/dist/services/runtime/openai.adapter.d.ts.map +1 -1
- package/dist/services/runtime/openai.adapter.js.map +1 -1
- package/dist/services/validation.service.d.ts.map +1 -1
- package/dist/services/validation.service.js +35 -11
- package/dist/services/validation.service.js.map +1 -1
- package/dist/services/validators/anthropic.validator.d.ts +2 -2
- package/dist/services/validators/anthropic.validator.d.ts.map +1 -1
- package/dist/services/validators/anthropic.validator.js +14 -9
- package/dist/services/validators/anthropic.validator.js.map +1 -1
- package/dist/services/validators/autogen.validator.d.ts +2 -2
- package/dist/services/validators/autogen.validator.d.ts.map +1 -1
- package/dist/services/validators/autogen.validator.js +18 -15
- package/dist/services/validators/autogen.validator.js.map +1 -1
- package/dist/services/validators/crewai.validator.d.ts +2 -2
- package/dist/services/validators/crewai.validator.d.ts.map +1 -1
- package/dist/services/validators/crewai.validator.js +18 -17
- package/dist/services/validators/crewai.validator.js.map +1 -1
- package/dist/services/validators/cursor.validator.d.ts +2 -2
- package/dist/services/validators/cursor.validator.d.ts.map +1 -1
- package/dist/services/validators/cursor.validator.js +15 -11
- package/dist/services/validators/cursor.validator.js.map +1 -1
- package/dist/services/validators/langchain.validator.d.ts +2 -2
- package/dist/services/validators/langchain.validator.d.ts.map +1 -1
- package/dist/services/validators/langchain.validator.js +14 -11
- package/dist/services/validators/langchain.validator.js.map +1 -1
- package/dist/services/validators/langflow.validator.d.ts +2 -2
- package/dist/services/validators/langflow.validator.d.ts.map +1 -1
- package/dist/services/validators/langflow.validator.js +14 -9
- package/dist/services/validators/langflow.validator.js.map +1 -1
- package/dist/services/validators/langgraph.validator.d.ts +2 -2
- package/dist/services/validators/langgraph.validator.d.ts.map +1 -1
- package/dist/services/validators/langgraph.validator.js +23 -18
- package/dist/services/validators/langgraph.validator.js.map +1 -1
- package/dist/services/validators/llamaindex.validator.d.ts +2 -2
- package/dist/services/validators/llamaindex.validator.d.ts.map +1 -1
- package/dist/services/validators/llamaindex.validator.js +19 -16
- package/dist/services/validators/llamaindex.validator.js.map +1 -1
- package/dist/services/validators/openai.validator.d.ts +2 -2
- package/dist/services/validators/openai.validator.d.ts.map +1 -1
- package/dist/services/validators/openai.validator.js +20 -16
- package/dist/services/validators/openai.validator.js.map +1 -1
- package/dist/services/validators/vercel-ai.validator.d.ts +2 -2
- package/dist/services/validators/vercel-ai.validator.d.ts.map +1 -1
- package/dist/services/validators/vercel-ai.validator.js +16 -15
- package/dist/services/validators/vercel-ai.validator.js.map +1 -1
- package/dist/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
- package/dist/spec/v0.2.1/ossa-0.2.1.schema.json +555 -0
- package/dist/spec/v0.2.3/CHANGELOG.md +7 -7
- package/dist/spec/v0.2.3/README.md +9 -9
- package/dist/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +18 -18
- package/{spec/v0.2.4-dev → dist/spec/v0.2.4}/CHANGELOG.md +8 -8
- package/dist/spec/{v0.2.4-dev → v0.2.4}/migrations/v0.2.3-to-v0.2.4.md +10 -10
- package/dist/spec/{v0.2.4-dev/ossa-0.2.4-dev.yaml → v0.2.4/ossa-0.2.4.yaml} +1 -1
- package/dist/spec/v0.2.5/CHANGELOG.md +401 -0
- package/dist/spec/v0.2.5/README.md +72 -0
- package/dist/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/dist/spec/v0.2.5/ossa-0.2.5.schema.json +1696 -0
- package/dist/spec/v0.2.5/ossa-0.2.5.yaml +581 -0
- package/dist/spec/v0.2.5-RC/CHANGELOG.md +401 -0
- package/dist/spec/v0.2.5-RC/README.md +72 -0
- package/{spec/v0.2.4-dev → dist/spec/v0.2.5-RC}/migrations/v0.2.3-to-v0.2.4.md +10 -10
- package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +1696 -0
- package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +581 -0
- package/dist/spec/v0.2.6/CHANGELOG.md +401 -0
- package/dist/spec/v0.2.6/README.md +72 -0
- package/dist/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/dist/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +65 -0
- package/dist/spec/v0.2.6/ossa-0.2.6.schema.json +1786 -0
- package/dist/spec/v0.2.6/ossa-0.2.6.yaml +581 -0
- package/dist/spec/v0.2.6-dev/CHANGELOG.md +164 -0
- package/dist/spec/v0.2.6-dev/README.md +75 -0
- package/dist/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +343 -0
- package/dist/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/dist/spec/v0.2.6-dev/ossa-0.2.5.schema.json +1696 -0
- package/dist/spec/v0.2.6-dev/ossa-0.2.5.yaml +581 -0
- package/dist/spec/{v0.2.5-dev/ossa-0.2.5-dev.schema.json → v0.2.6-dev/ossa-0.2.6-dev.schema.json} +323 -359
- package/dist/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +448 -0
- package/dist/spec/v0.2.7/core/agentgraph.md +324 -0
- package/dist/spec/v0.2.7/resources/agentgraph.yaml +135 -0
- package/dist/types/index.d.ts +6 -1
- package/dist/types/index.d.ts.map +1 -1
- package/docs/brand-guide/01-brand-overview.md +37 -0
- package/docs/brand-guide/02-logo-usage.md +43 -0
- package/docs/brand-guide/03-color-palette.md +70 -0
- package/docs/brand-guide/04-typography.md +82 -0
- package/docs/brand-guide/05-voice-and-tone.md +108 -0
- package/docs/brand-guide/06-visual-elements.md +137 -0
- package/docs/brand-guide/07-application-examples.md +153 -0
- package/docs/brand-guide/OssaLogo/OssA_Logo.svg +21 -0
- package/docs/brand-guide/OssaLogo/brand.af +0 -0
- package/docs/brand-guide/README.md +107 -0
- package/docs/comparison.md +315 -0
- package/docs/operations/automation-roadmap.md +245 -0
- package/docs/operations/github-sync-strategy.md +357 -0
- package/examples/anthropic/claude-assistant.ossa.json +5 -4
- package/examples/autogen/multi-agent.ossa.json +6 -4
- package/examples/bridges/Dockerfile.production +1 -1
- package/examples/crewai/research-team.ossa.json +14 -5
- package/examples/cursor/code-review-agent.ossa.json +21 -6
- package/examples/enterprise/agent.yml +1 -1
- package/examples/getting-started/hello-world-complete.ossa.yaml +2 -2
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +4 -4
- package/examples/langchain/chain-agent.ossa.json +21 -5
- package/examples/langflow/workflow-agent.ossa.json +2 -3
- package/examples/langgraph/state-machine-agent.ossa.json +2 -3
- package/examples/llamaindex/rag-agent.ossa.json +2 -3
- package/examples/openai/basic-agent.ossa.yaml +61 -0
- package/examples/openai/multi-tool-agent.ossa.json +188 -0
- package/examples/openai/swarm-agent.ossa.json +18 -5
- package/examples/openapi-extensions/README.md +1 -1
- package/examples/quickstart/support-agent.ossa.yaml +1 -1
- package/examples/vercel/edge-agent.ossa.json +5 -4
- package/infrastructure/gitlab-agent/rbac.yaml +126 -0
- package/infrastructure/gitlab-agent/values.yaml +150 -0
- package/infrastructure/k8s/monitoring/00-namespace.yaml +7 -0
- package/infrastructure/k8s/monitoring/01-prometheus.yaml +142 -0
- package/infrastructure/k8s/monitoring/02-grafana.yaml +63 -0
- package/infrastructure/k8s/monitoring/03-lightweight.yaml +121 -0
- package/infrastructure/k8s/monitoring/README.md +73 -0
- package/infrastructure/k8s/monitoring/deploy.sh +38 -0
- package/openapi/CHANGELOG.md +21 -0
- package/openapi/README.md +46 -0
- package/openapi/{ossa-core-api.openapi.yaml → core/ossa-core-api.openapi.yaml} +59 -4
- package/openapi/{ossa-registry.openapi.yaml → core/ossa-registry.openapi.yaml} +75 -2
- package/openapi/{unified-agent-gateway.openapi.yaml → core/unified-agent-gateway.openapi.yaml} +3 -3
- package/openapi/github-sync.yaml +115 -0
- package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +136 -0
- package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +192 -0
- package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +149 -0
- package/openapi/reference-implementations/critic-agent-api.openapi.yaml +151 -0
- package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +217 -0
- package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +149 -0
- package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +151 -0
- package/openapi/reference-implementations/governor-agent-api.openapi.yaml +193 -0
- package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +165 -0
- package/openapi/reference-implementations/judge-agent-api.openapi.yaml +148 -0
- package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +167 -0
- package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +171 -0
- package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +171 -0
- package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +242 -0
- package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +187 -0
- package/openapi/{self-evolving-ecosystem.openapi.yaml → reference-implementations/self-evolving-ecosystem.openapi.yaml} +2 -2
- package/openapi/reference-implementations/worker-agent-api.openapi.yaml +208 -0
- package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +193 -0
- package/package.json +53 -22
- package/release.config.js +20 -5
- package/scripts/README.md +103 -0
- package/scripts/auto-rebase-mrs.ts +106 -0
- package/scripts/batch-dependabot.sh +57 -0
- package/scripts/bump-version.ts +57 -0
- package/scripts/configure-gitlab-branch-protection.ts +95 -0
- package/scripts/create-issue-helper.ts +238 -0
- package/scripts/create-milestone-issue.ts +73 -0
- package/scripts/enhanced-version-manager.ts +257 -0
- package/scripts/fix-schema-formats.js +82 -0
- package/scripts/gen-types.ts +51 -0
- package/scripts/gen-zod.ts +51 -0
- package/scripts/generate-agents-catalog.ts +77 -0
- package/scripts/generate-api-docs.ts +218 -0
- package/scripts/generate-cli-docs.ts +410 -0
- package/scripts/generate-config-docs.ts +109 -0
- package/scripts/generate-errors-docs.ts +76 -0
- package/scripts/generate-examples-docs.ts +99 -0
- package/scripts/generate-schema-docs.ts +296 -0
- package/scripts/generate-types-docs.ts +48 -0
- package/scripts/lib/exec.ts +37 -0
- package/scripts/lib/file-ops.ts +58 -0
- package/scripts/lib/version.ts +83 -0
- package/scripts/lowercase-docs.ts +43 -0
- package/scripts/manage-milestone-mrs.ts +279 -0
- package/scripts/process-doc-templates.ts +37 -0
- package/scripts/rebase-all-mrs.sh +75 -0
- package/scripts/schemas/package.schema.ts +75 -0
- package/scripts/setup-branch-protection.sh +33 -0
- package/scripts/sync-github-pr.sh +48 -0
- package/scripts/sync-version.js +40 -0
- package/scripts/sync-version.ts +39 -0
- package/scripts/sync-versions.ts +488 -0
- package/scripts/sync-wiki.sh +50 -0
- package/scripts/validate-all.js +127 -0
- package/scripts/validate-schema.ts +49 -0
- package/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
- package/spec/v0.2.1/ossa-0.2.1.schema.json +555 -0
- package/spec/v0.2.3/CHANGELOG.md +7 -7
- package/spec/v0.2.3/README.md +9 -9
- package/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +18 -18
- package/{dist/spec/v0.2.4-dev → spec/v0.2.4}/CHANGELOG.md +8 -8
- package/spec/v0.2.4/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/{v0.2.4-dev/ossa-0.2.4-dev.yaml → v0.2.4/ossa-0.2.4.yaml} +1 -1
- package/spec/v0.2.5/CHANGELOG.md +401 -0
- package/spec/v0.2.5/README.md +72 -0
- package/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/v0.2.5/ossa-0.2.5.schema.json +1696 -0
- package/spec/v0.2.5/ossa-0.2.5.yaml +581 -0
- package/spec/v0.2.5-RC/CHANGELOG.md +401 -0
- package/spec/v0.2.5-RC/README.md +72 -0
- package/spec/v0.2.5-RC/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +1696 -0
- package/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +581 -0
- package/spec/v0.2.6/CHANGELOG.md +401 -0
- package/spec/v0.2.6/README.md +72 -0
- package/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +65 -0
- package/spec/v0.2.6/ossa-0.2.6.schema.json +1786 -0
- package/spec/v0.2.6/ossa-0.2.6.yaml +581 -0
- package/spec/v0.2.6-dev/CHANGELOG.md +164 -0
- package/spec/v0.2.6-dev/README.md +75 -0
- package/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +343 -0
- package/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/v0.2.6-dev/ossa-0.2.5.schema.json +1696 -0
- package/spec/v0.2.6-dev/ossa-0.2.5.yaml +581 -0
- package/spec/{v0.2.5-dev/ossa-0.2.5-dev.schema.json → v0.2.6-dev/ossa-0.2.6-dev.schema.json} +323 -359
- package/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +448 -0
- package/spec/v0.2.7/core/agentgraph.md +324 -0
- package/spec/v0.2.7/resources/agentgraph.yaml +135 -0
- package/website/{.lighthouserc.js → .lighthouserc.ts} +5 -1
- package/website/DESIGN_SYSTEM_IMPLEMENTATION.md +445 -0
- package/website/Dockerfile +18 -5
- package/website/app/about/page.tsx +60 -51
- package/website/app/blog/[slug]/page.tsx +61 -20
- package/website/app/blog/page.tsx +120 -33
- package/website/app/design-guide/page.tsx +511 -0
- package/website/app/docs/[[...slug]]/page.tsx +641 -143
- package/website/app/ecosystem/page.tsx +146 -111
- package/website/app/examples/page.tsx +51 -41
- package/website/app/globals.scss +370 -0
- package/website/app/layout.tsx +2 -2
- package/website/app/license/page.tsx +183 -0
- package/website/app/not-found.tsx +18 -0
- package/website/app/page.tsx +513 -236
- package/website/app/page.tsx.bak +679 -0
- package/website/app/page.tsx.bak2 +649 -0
- package/website/app/playground/page.tsx +25 -45
- package/website/app/schema/page.tsx +423 -392
- package/website/app/specification/page.tsx +245 -169
- package/website/components/Logo.tsx +75 -2
- package/website/components/docs/DocsSidebar.tsx +40 -3
- package/website/components/docs/MarkdownContent.tsx +265 -47
- package/website/components/docs/VersionSelector.tsx +64 -8
- package/website/components/examples/ExamplesViewer.tsx +2 -2
- package/website/components/layout/Footer.tsx +6 -1
- package/website/components/layout/Header.tsx +44 -42
- package/website/components/schema/SchemaComponentsAccordion.tsx +84 -0
- package/website/components/schema/SchemaExplorer.tsx +4 -4
- package/website/components/ui/Badge.tsx +82 -0
- package/website/components/ui/Button.tsx +116 -0
- package/website/components/ui/Card.tsx +167 -0
- package/website/components/ui/Checkbox.tsx +141 -0
- package/website/components/ui/Input.tsx +169 -0
- package/website/components/ui/Radio.tsx +141 -0
- package/website/components/ui/Select.tsx +182 -0
- package/website/components/ui/Tag.tsx +158 -0
- package/website/components/ui/Textarea.tsx +195 -0
- package/website/components/ui/index.ts +11 -0
- package/website/content/blog/OpenAPI-AI-Agents-Standard.md +276 -276
- package/website/content/blog/Why-Formal-Standards-Matter-Now.md +3 -14
- package/website/content/blog/gitlab-kubernetes-agent-ecosystem.md +286 -0
- package/website/content/blog/introducing-ossa-framework.md +1 -1
- package/website/content/blog/ossa-production-results.md +5 -5
- package/website/content/blog/welcome-to-ossa.md +2 -2
- package/website/content/blog/why-ai-agents-need-open-standard.md +5 -5
- package/website/content/docs/{00-HOME.md → 00-home.md} +18 -25
- package/website/content/docs/adapters/openai-adapter.md +693 -0
- package/website/content/docs/agents/catalog.md +28 -0
- package/website/content/docs/aiflow-framework-integration-with-ossa.md +107 -0
- package/website/content/docs/api-reference/index.md +38 -0
- package/website/content/docs/api-reference/ossa-core-api.md +634 -0
- package/website/content/docs/api-reference/ossa-registry-api.md +515 -0
- package/website/content/docs/api-reference/unified-agent-gateway.md +599 -0
- package/website/content/docs/architecture/execution-flow.md +3 -3
- package/website/content/docs/architecture/multi-agent-systems.md +4 -4
- package/website/content/docs/architecture/overview.md +4 -4
- package/website/content/docs/architecture/stack-integration.md +4 -4
- package/website/content/docs/changelog.md +4 -4
- package/website/content/docs/cli-reference/index.md +111 -0
- package/website/content/docs/cli-reference/ossa-agents.md +70 -0
- package/website/content/docs/cli-reference/ossa-export.md +56 -0
- package/website/content/docs/cli-reference/ossa-generate.md +66 -0
- package/website/content/docs/cli-reference/ossa-gitlab-agent.md +57 -0
- package/website/content/docs/cli-reference/ossa-import.md +56 -0
- package/website/content/docs/cli-reference/ossa-init.md +57 -0
- package/website/content/docs/cli-reference/ossa-migrate.md +62 -0
- package/website/content/docs/cli-reference/ossa-run.md +66 -0
- package/website/content/docs/cli-reference/ossa-schema.md +57 -0
- package/website/content/docs/cli-reference/ossa-setup.md +57 -0
- package/website/content/docs/cli-reference/ossa-validate.md +66 -0
- package/website/content/docs/configuration/index.md +97 -0
- package/website/content/docs/contributing.md +2 -2
- package/website/content/docs/deployment/github-mirroring.md +924 -0
- package/website/content/docs/documentation.md +100 -0
- package/website/content/docs/ecosystem/framework-support.md +551 -11
- package/website/content/docs/errors/index.md +10 -0
- package/website/content/docs/{AIFlow-Framework-Integration-with-OSSA.md → examples/aiflow-framework-integration-with-ossa.md} +2 -2
- package/website/content/docs/examples/catalog.md +300 -0
- package/website/content/docs/for-audiences/{Students-Researchers.md → students-researchers.md} +1 -1
- package/website/content/docs/getting-started/index.md +92 -0
- package/website/content/docs/getting-started/installation.md +7 -7
- package/website/content/docs/getting-started/running-agents.md +215 -13
- package/{docs → website/content/docs}/getting-started.md +10 -6
- package/website/content/docs/integrations/aiflow.md +2 -2
- package/website/content/docs/integrations/drupal.md +2 -2
- package/website/content/docs/migration-guides/agent-schema-comparison.md +232 -0
- package/website/content/docs/migration-guides/anthropic-mcp-to-ossa.md +5 -5
- package/website/content/docs/migration-guides/crewai-to-ossa.md +3 -3
- package/website/content/docs/migration-guides/drupal-eca-to-ossa.md +11 -11
- package/{docs/migration → website/content/docs/migration-guides}/general-agent-schema.yml +1 -9
- package/website/content/docs/migration-guides/index.md +1 -1
- package/website/content/docs/migration-guides/langchain-to-ossa.md +17 -17
- package/website/content/docs/migration-guides/langflow-to-ossa.md +3 -3
- package/website/content/docs/migration-guides/openai-to-ossa.md +10 -10
- package/website/content/docs/openapi-extensions/examples.md +9 -9
- package/website/content/docs/openapi-extensions/index.md +59 -3
- package/website/content/docs/openapi-extensions/operation-extensions.md +61 -2
- package/website/content/docs/openapi-extensions/root-extensions.md +49 -3
- package/{docs/OSSA-COMPLIANT-BADGE.md → website/content/docs/ossa-compliant-badge.md} +18 -15
- package/website/content/docs/pre-release/index.md +10 -10
- package/website/content/docs/readme.md +35 -0
- package/website/content/docs/releases/v0.2.6.md +99 -0
- package/website/content/docs/schema-reference/agent-capabilities.md +50 -0
- package/website/content/docs/schema-reference/agent-id.md +52 -0
- package/website/content/docs/schema-reference/agent-name.md +50 -0
- package/website/content/docs/schema-reference/agent-role.md +54 -0
- package/website/content/docs/schema-reference/agent-spec.md +2 -2
- package/website/content/docs/schema-reference/agent-version.md +50 -0
- package/website/content/docs/schema-reference/autonomy.md +5 -5
- package/website/content/docs/schema-reference/constraints.md +5 -5
- package/website/content/docs/schema-reference/index.md +26 -157
- package/website/content/docs/schema-reference/llm-config.md +1 -1
- package/website/content/docs/schema-reference/observability.md +5 -5
- package/website/content/docs/schema-reference/ossa-manifest.md +6 -6
- package/website/content/docs/schema-reference/taxonomy.md +3 -3
- package/website/content/docs/types-reference/index.md +105 -0
- package/website/content/docs/use-cases/00-index.md +1 -1
- package/{docs/VERSIONING.md → website/content/docs/versioning.md} +9 -5
- package/website/dev.sh +53 -0
- package/website/docker-compose.dev.yml +36 -0
- package/website/lib/version.ts +18 -1
- package/website/lib/versions.json +103 -0
- package/website/next.config.ts +3 -1
- package/website/package-lock.json +552 -18
- package/website/package.json +11 -5
- package/website/postcss.config.mjs +1 -1
- package/website/scripts/fetch-versions.js +166 -0
- package/website/scripts/generate-examples-index.js +163 -0
- package/website/scripts/merge-docs-to-wiki.ts +207 -0
- package/website/scripts/sync-version.js +28 -0
- package/website/scripts/sync-wiki.ts +64 -3
- package/website/scripts/upload-wiki.ts +199 -0
- package/website/styles/_spacing.scss +453 -0
- package/website/styles/_tokens.scss +245 -0
- package/website/styles/_typography.scss +361 -0
- package/website/styles/_variables.scss +287 -0
- package/website/tailwind.config.ts +127 -22
- package/.releaserc.json.disabled +0 -81
- package/dist/spec/v0.2.5-dev/CHANGELOG.md +0 -171
- package/dist/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +0 -362
- package/dist/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +0 -464
- package/dist/spec/v0.2.5-dev/examples/research-team.ossa.yaml +0 -440
- package/dist/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +0 -317
- package/dist/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +0 -409
- package/docs/README.md +0 -31
- package/docs/agent-openapi-spec.yml +0 -942
- package/docs/openapi-extensions.md +0 -930
- package/docs/schemas/openapi-extensions.schema.json +0 -486
- package/openapi/gitlab-orchestrator.openapi.yaml +0 -330
- package/ossa-website-swarm-tasks.json +0 -105
- package/spec/v0.2.5-dev/CHANGELOG.md +0 -171
- package/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +0 -362
- package/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +0 -464
- package/spec/v0.2.5-dev/examples/research-team.ossa.yaml +0 -440
- package/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +0 -317
- package/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +0 -409
- package/website/app/api/validate/route.ts +0 -88
- package/website/app/globals.css +0 -108
- package/website/content/docs/OpenAPI-Extensions.md +0 -498
- package/website/content/docs/core-concepts/project-structure.md +0 -348
- package/website/content/docs/examples/Migration-Guides.md +0 -214
- package/website/content/docs/examples.md +0 -71
- package/website/content/docs/for-audiences/Enterprises.md +0 -256
- package/website/content/docs/for-audiences/architects.md +0 -224
- package/website/content/docs/for-audiences/developers.md +0 -220
- package/website/content/docs/getting-started/5-minute-overview.md +0 -85
- package/website/content/docs/getting-started/Hello-World.md +0 -184
- package/website/content/docs/getting-started/first-agent.md +0 -196
- package/website/content/docs/migration-guides/00-index.md +0 -76
- package/website/content/docs/migration-guides/README.md +0 -133
- package/website/next.config.js +0 -17
- package/website/postcss.config.js +0 -7
- package/website/tailwind.config.js +0 -58
- /package/dist/spec/{v0.2.4-dev/ossa-0.2.4-dev.schema.json → v0.2.4/ossa-0.2.4.schema.json} +0 -0
- /package/openapi/{ossa-registry-api.openapi.yaml → core/ossa-registry-api.openapi.yaml} +0 -0
- /package/openapi/{drupal-agent-api.openapi.yaml → reference-implementations/drupal-agent-api.openapi.yaml} +0 -0
- /package/openapi/{helm-generator.openapi.yaml → reference-implementations/helm-generator.openapi.yaml} +0 -0
- /package/spec/{v0.2.4-dev/ossa-0.2.4-dev.schema.json → v0.2.4/ossa-0.2.4.schema.json} +0 -0
- /package/{docs/migration → website/content/docs/migration-guides}/migration-manifest.json +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
apiVersion: ossa/v0.2.4
|
|
2
|
+
kind: Agent
|
|
3
|
+
|
|
4
|
+
metadata:
|
|
5
|
+
name: basic-openai-agent
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
description: A basic OpenAI agent demonstrating simple tool usage
|
|
8
|
+
|
|
9
|
+
spec:
|
|
10
|
+
role: |
|
|
11
|
+
You are a helpful assistant that can search the web and perform calculations.
|
|
12
|
+
Always provide clear and concise answers.
|
|
13
|
+
|
|
14
|
+
llm:
|
|
15
|
+
provider: openai
|
|
16
|
+
model: gpt-4o-mini
|
|
17
|
+
temperature: 0.7
|
|
18
|
+
|
|
19
|
+
extensions:
|
|
20
|
+
openai_agents:
|
|
21
|
+
model: gpt-4o-mini
|
|
22
|
+
instructions: |
|
|
23
|
+
You are a helpful assistant with access to web search and calculator tools.
|
|
24
|
+
Use the search tool to find current information.
|
|
25
|
+
Use the calculator for mathematical operations.
|
|
26
|
+
Always explain your reasoning.
|
|
27
|
+
|
|
28
|
+
tools_mapping:
|
|
29
|
+
- ossa_capability: web_search
|
|
30
|
+
openai_tool_name: search
|
|
31
|
+
description: Search the web for current information
|
|
32
|
+
parameters:
|
|
33
|
+
type: object
|
|
34
|
+
properties:
|
|
35
|
+
query:
|
|
36
|
+
type: string
|
|
37
|
+
description: The search query
|
|
38
|
+
required:
|
|
39
|
+
- query
|
|
40
|
+
|
|
41
|
+
- ossa_capability: calculator
|
|
42
|
+
openai_tool_name: calculate
|
|
43
|
+
description: Perform mathematical calculations
|
|
44
|
+
parameters:
|
|
45
|
+
type: object
|
|
46
|
+
properties:
|
|
47
|
+
expression:
|
|
48
|
+
type: string
|
|
49
|
+
description: Mathematical expression to evaluate (e.g., "2 + 2", "sqrt(16)")
|
|
50
|
+
required:
|
|
51
|
+
- expression
|
|
52
|
+
|
|
53
|
+
guardrails:
|
|
54
|
+
enabled: true
|
|
55
|
+
max_tool_calls: 5
|
|
56
|
+
timeout_seconds: 60
|
|
57
|
+
|
|
58
|
+
memory:
|
|
59
|
+
enabled: true
|
|
60
|
+
type: session
|
|
61
|
+
max_messages: 20
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
{
|
|
2
|
+
"apiVersion": "ossa/v0.2.4",
|
|
3
|
+
"kind": "Agent",
|
|
4
|
+
"metadata": {
|
|
5
|
+
"name": "multi-tool-agent",
|
|
6
|
+
"version": "1.0.0",
|
|
7
|
+
"description": "Advanced agent demonstrating multiple tools and custom handlers"
|
|
8
|
+
},
|
|
9
|
+
"spec": {
|
|
10
|
+
"role": "You are a versatile AI assistant with multiple capabilities including web search, calculations, weather information, and text translation.",
|
|
11
|
+
"llm": {
|
|
12
|
+
"provider": "openai",
|
|
13
|
+
"model": "gpt-4o",
|
|
14
|
+
"temperature": 0.7,
|
|
15
|
+
"maxTokens": 2000
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"extensions": {
|
|
19
|
+
"openai_agents": {
|
|
20
|
+
"model": "gpt-4o",
|
|
21
|
+
"instructions": "You are a versatile AI assistant with access to multiple tools:\n\n1. Web Search - Find current information online\n2. Calculator - Perform mathematical calculations\n3. Weather - Get weather information for any location\n4. Translator - Translate text between languages\n5. Unit Converter - Convert between different units\n6. Time Zone - Get current time in different time zones\n\nAlways:\n- Use the appropriate tool for each task\n- Explain your reasoning\n- Provide accurate and helpful information\n- Ask for clarification if needed",
|
|
22
|
+
"tools_mapping": [
|
|
23
|
+
{
|
|
24
|
+
"ossa_capability": "web_search",
|
|
25
|
+
"openai_tool_name": "search_web",
|
|
26
|
+
"description": "Search the web for current information on any topic",
|
|
27
|
+
"parameters": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"query": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "The search query"
|
|
33
|
+
},
|
|
34
|
+
"num_results": {
|
|
35
|
+
"type": "number",
|
|
36
|
+
"description": "Number of results to return",
|
|
37
|
+
"default": 5
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"query"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"ossa_capability": "calculator",
|
|
47
|
+
"openai_tool_name": "calculate",
|
|
48
|
+
"description": "Perform mathematical calculations including basic arithmetic, algebra, and common functions",
|
|
49
|
+
"parameters": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"expression": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Mathematical expression to evaluate (e.g., '2 + 2', 'sqrt(16)', 'sin(pi/2)')"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": [
|
|
58
|
+
"expression"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"ossa_capability": "weather",
|
|
64
|
+
"openai_tool_name": "get_weather",
|
|
65
|
+
"description": "Get current weather information for a specific location",
|
|
66
|
+
"parameters": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"properties": {
|
|
69
|
+
"location": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"description": "City name, coordinates, or zip code"
|
|
72
|
+
},
|
|
73
|
+
"units": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"enum": [
|
|
76
|
+
"celsius",
|
|
77
|
+
"fahrenheit",
|
|
78
|
+
"kelvin"
|
|
79
|
+
],
|
|
80
|
+
"description": "Temperature units",
|
|
81
|
+
"default": "celsius"
|
|
82
|
+
},
|
|
83
|
+
"include_forecast": {
|
|
84
|
+
"type": "boolean",
|
|
85
|
+
"description": "Include 5-day forecast",
|
|
86
|
+
"default": false
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"required": [
|
|
90
|
+
"location"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"ossa_capability": "translate",
|
|
96
|
+
"openai_tool_name": "translate_text",
|
|
97
|
+
"description": "Translate text from one language to another",
|
|
98
|
+
"parameters": {
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {
|
|
101
|
+
"text": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "Text to translate"
|
|
104
|
+
},
|
|
105
|
+
"source_language": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "Source language code (e.g., 'en', 'es', 'fr'). Use 'auto' for automatic detection",
|
|
108
|
+
"default": "auto"
|
|
109
|
+
},
|
|
110
|
+
"target_language": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"description": "Target language code (e.g., 'en', 'es', 'fr')"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"required": [
|
|
116
|
+
"text",
|
|
117
|
+
"target_language"
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"ossa_capability": "unit_converter",
|
|
123
|
+
"openai_tool_name": "convert_units",
|
|
124
|
+
"description": "Convert between different units of measurement",
|
|
125
|
+
"parameters": {
|
|
126
|
+
"type": "object",
|
|
127
|
+
"properties": {
|
|
128
|
+
"value": {
|
|
129
|
+
"type": "number",
|
|
130
|
+
"description": "The value to convert"
|
|
131
|
+
},
|
|
132
|
+
"from_unit": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "Source unit (e.g., 'meters', 'feet', 'celsius', 'pounds')"
|
|
135
|
+
},
|
|
136
|
+
"to_unit": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"description": "Target unit (e.g., 'meters', 'feet', 'celsius', 'pounds')"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"required": [
|
|
142
|
+
"value",
|
|
143
|
+
"from_unit",
|
|
144
|
+
"to_unit"
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"ossa_capability": "timezone",
|
|
150
|
+
"openai_tool_name": "get_time",
|
|
151
|
+
"description": "Get current time in a specific timezone",
|
|
152
|
+
"parameters": {
|
|
153
|
+
"type": "object",
|
|
154
|
+
"properties": {
|
|
155
|
+
"timezone": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"description": "Timezone name (e.g., 'America/New_York', 'Europe/London', 'Asia/Tokyo')"
|
|
158
|
+
},
|
|
159
|
+
"format": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"enum": [
|
|
162
|
+
"12h",
|
|
163
|
+
"24h",
|
|
164
|
+
"iso"
|
|
165
|
+
],
|
|
166
|
+
"description": "Time format",
|
|
167
|
+
"default": "12h"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"required": [
|
|
171
|
+
"timezone"
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"guardrails": {
|
|
177
|
+
"enabled": true,
|
|
178
|
+
"max_tool_calls": 15,
|
|
179
|
+
"timeout_seconds": 300
|
|
180
|
+
},
|
|
181
|
+
"memory": {
|
|
182
|
+
"enabled": true,
|
|
183
|
+
"type": "session",
|
|
184
|
+
"max_messages": 50
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"apiVersion": "ossa/v0.2.
|
|
2
|
+
"apiVersion": "ossa/v0.2.4",
|
|
3
3
|
"kind": "Agent",
|
|
4
4
|
"metadata": {
|
|
5
5
|
"name": "swarm-agent",
|
|
@@ -17,12 +17,26 @@
|
|
|
17
17
|
{
|
|
18
18
|
"type": "function",
|
|
19
19
|
"name": "search_web",
|
|
20
|
-
"capabilities": [
|
|
20
|
+
"capabilities": [
|
|
21
|
+
{
|
|
22
|
+
"name": "search"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "retrieve"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
21
28
|
},
|
|
22
29
|
{
|
|
23
30
|
"type": "function",
|
|
24
31
|
"name": "execute_code",
|
|
25
|
-
"capabilities": [
|
|
32
|
+
"capabilities": [
|
|
33
|
+
{
|
|
34
|
+
"name": "run"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "evaluate"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
26
40
|
}
|
|
27
41
|
]
|
|
28
42
|
},
|
|
@@ -55,5 +69,4 @@
|
|
|
55
69
|
}
|
|
56
70
|
}
|
|
57
71
|
}
|
|
58
|
-
}
|
|
59
|
-
|
|
72
|
+
}
|
|
@@ -83,5 +83,5 @@ Use any OpenAPI viewer:
|
|
|
83
83
|
For complete documentation on OSSA OpenAPI extensions, see:
|
|
84
84
|
- [OpenAPI Extensions Documentation](../../docs/openapi-extensions.md)
|
|
85
85
|
- [OSSA Specification](../../spec/v0.2.2/OSSA-SPECIFICATION-v0.2.2.md)
|
|
86
|
-
- [
|
|
86
|
+
- [GitHub Repository](https://github.com/blueflyio/openstandardagents)
|
|
87
87
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"apiVersion": "ossa/v0.2.
|
|
2
|
+
"apiVersion": "ossa/v0.2.4",
|
|
3
3
|
"kind": "Agent",
|
|
4
4
|
"metadata": {
|
|
5
5
|
"name": "edge-chat-agent",
|
|
@@ -33,11 +33,12 @@
|
|
|
33
33
|
"description": "City name"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"required": [
|
|
36
|
+
"required": [
|
|
37
|
+
"location"
|
|
38
|
+
]
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
]
|
|
40
42
|
}
|
|
41
43
|
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# GitLab Kubernetes Agent RBAC Configuration
|
|
2
|
+
# Production-ready RBAC with least privilege principles
|
|
3
|
+
# This replaces the default cluster-admin role with more restrictive permissions
|
|
4
|
+
|
|
5
|
+
apiVersion: v1
|
|
6
|
+
kind: ServiceAccount
|
|
7
|
+
metadata:
|
|
8
|
+
name: gitlab-agent
|
|
9
|
+
namespace: gitlab-agent
|
|
10
|
+
labels:
|
|
11
|
+
app: gitlab-agent
|
|
12
|
+
component: ossa-agent
|
|
13
|
+
---
|
|
14
|
+
# ClusterRole with minimal required permissions for GitLab agent
|
|
15
|
+
# Adjust based on your specific needs
|
|
16
|
+
apiVersion: rbac.authorization.k8s.io/v1
|
|
17
|
+
kind: ClusterRole
|
|
18
|
+
metadata:
|
|
19
|
+
name: gitlab-agent
|
|
20
|
+
labels:
|
|
21
|
+
app: gitlab-agent
|
|
22
|
+
component: ossa-agent
|
|
23
|
+
rules:
|
|
24
|
+
# Core API access for agent operations
|
|
25
|
+
- apiGroups: [""]
|
|
26
|
+
resources:
|
|
27
|
+
- namespaces
|
|
28
|
+
- pods
|
|
29
|
+
- pods/exec
|
|
30
|
+
- pods/log
|
|
31
|
+
- pods/portforward
|
|
32
|
+
- services
|
|
33
|
+
- endpoints
|
|
34
|
+
- configmaps
|
|
35
|
+
- secrets
|
|
36
|
+
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
|
37
|
+
|
|
38
|
+
# Deployment and workload management
|
|
39
|
+
- apiGroups: ["apps"]
|
|
40
|
+
resources:
|
|
41
|
+
- deployments
|
|
42
|
+
- replicasets
|
|
43
|
+
- statefulsets
|
|
44
|
+
- daemonsets
|
|
45
|
+
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
|
46
|
+
|
|
47
|
+
# Job and CronJob management
|
|
48
|
+
- apiGroups: ["batch"]
|
|
49
|
+
resources:
|
|
50
|
+
- jobs
|
|
51
|
+
- cronjobs
|
|
52
|
+
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
|
53
|
+
|
|
54
|
+
# Ingress management
|
|
55
|
+
- apiGroups: ["networking.k8s.io"]
|
|
56
|
+
resources:
|
|
57
|
+
- ingresses
|
|
58
|
+
- ingressclasses
|
|
59
|
+
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
|
60
|
+
|
|
61
|
+
# Service account and RBAC (for CI/CD operations)
|
|
62
|
+
- apiGroups: [""]
|
|
63
|
+
resources:
|
|
64
|
+
- serviceaccounts
|
|
65
|
+
verbs: ["get", "list", "watch", "create", "update", "patch"]
|
|
66
|
+
|
|
67
|
+
- apiGroups: ["rbac.authorization.k8s.io"]
|
|
68
|
+
resources:
|
|
69
|
+
- roles
|
|
70
|
+
- rolebindings
|
|
71
|
+
- clusterroles
|
|
72
|
+
- clusterrolebindings
|
|
73
|
+
verbs: ["get", "list", "watch", "create", "update", "patch"]
|
|
74
|
+
|
|
75
|
+
# Events for observability
|
|
76
|
+
- apiGroups: [""]
|
|
77
|
+
resources:
|
|
78
|
+
- events
|
|
79
|
+
verbs: ["get", "list", "watch", "create", "patch"]
|
|
80
|
+
|
|
81
|
+
# Nodes (read-only for cluster info)
|
|
82
|
+
- apiGroups: [""]
|
|
83
|
+
resources:
|
|
84
|
+
- nodes
|
|
85
|
+
verbs: ["get", "list", "watch"]
|
|
86
|
+
|
|
87
|
+
# Persistent volumes (if needed for deployments)
|
|
88
|
+
- apiGroups: [""]
|
|
89
|
+
resources:
|
|
90
|
+
- persistentvolumes
|
|
91
|
+
- persistentvolumeclaims
|
|
92
|
+
verbs: ["get", "list", "watch", "create", "update", "patch"]
|
|
93
|
+
|
|
94
|
+
# Custom resources (for OSSA agents and other CRDs)
|
|
95
|
+
- apiGroups: ["*"]
|
|
96
|
+
resources: ["*"]
|
|
97
|
+
verbs: ["get", "list", "watch"]
|
|
98
|
+
|
|
99
|
+
# Metrics and monitoring
|
|
100
|
+
- apiGroups: ["metrics.k8s.io"]
|
|
101
|
+
resources:
|
|
102
|
+
- nodes
|
|
103
|
+
- pods
|
|
104
|
+
verbs: ["get", "list"]
|
|
105
|
+
|
|
106
|
+
# Health checks
|
|
107
|
+
- nonResourceURLs: ["/healthz", "/readyz", "/livez"]
|
|
108
|
+
verbs: ["get"]
|
|
109
|
+
---
|
|
110
|
+
# ClusterRoleBinding
|
|
111
|
+
apiVersion: rbac.authorization.k8s.io/v1
|
|
112
|
+
kind: ClusterRoleBinding
|
|
113
|
+
metadata:
|
|
114
|
+
name: gitlab-agent
|
|
115
|
+
labels:
|
|
116
|
+
app: gitlab-agent
|
|
117
|
+
component: ossa-agent
|
|
118
|
+
roleRef:
|
|
119
|
+
apiGroup: rbac.authorization.k8s.io
|
|
120
|
+
kind: ClusterRole
|
|
121
|
+
name: gitlab-agent
|
|
122
|
+
subjects:
|
|
123
|
+
- kind: ServiceAccount
|
|
124
|
+
name: gitlab-agent
|
|
125
|
+
namespace: gitlab-agent
|
|
126
|
+
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# GitLab Kubernetes Agent Helm Values
|
|
2
|
+
# Production-ready configuration for OSSA agents
|
|
3
|
+
|
|
4
|
+
# Agent configuration
|
|
5
|
+
config:
|
|
6
|
+
# Agent token (set via --set config.token=<token> or from secret)
|
|
7
|
+
# token: ""
|
|
8
|
+
|
|
9
|
+
# KAS address for self-hosted GitLab
|
|
10
|
+
# Replace with your GitLab instance URL
|
|
11
|
+
kasAddress: "wss://your-gitlab-instance.com/-/kubernetes-agent/"
|
|
12
|
+
|
|
13
|
+
# Optional: KAS CA certificate for self-signed certs
|
|
14
|
+
# kasCaCert: ""
|
|
15
|
+
|
|
16
|
+
# Image configuration
|
|
17
|
+
image:
|
|
18
|
+
repository: registry.gitlab.com/gitlab-org/cluster-integration/gitlab-agent/agentk
|
|
19
|
+
tag: "v18.4.0" # Match your GitLab version
|
|
20
|
+
pullPolicy: IfNotPresent
|
|
21
|
+
|
|
22
|
+
# Service account configuration
|
|
23
|
+
serviceAccount:
|
|
24
|
+
create: true
|
|
25
|
+
name: gitlab-agent
|
|
26
|
+
annotations: {}
|
|
27
|
+
# annotations:
|
|
28
|
+
# eks.amazonaws.com/role-arn: "arn:aws:iam::ACCOUNT_ID:role/ROLE_NAME"
|
|
29
|
+
|
|
30
|
+
# RBAC configuration
|
|
31
|
+
rbac:
|
|
32
|
+
create: true
|
|
33
|
+
# Use existing role instead of creating cluster-admin
|
|
34
|
+
# useExistingRole: false
|
|
35
|
+
# existingRoleName: ""
|
|
36
|
+
|
|
37
|
+
# Resource limits
|
|
38
|
+
resources:
|
|
39
|
+
requests:
|
|
40
|
+
cpu: 100m
|
|
41
|
+
memory: 128Mi
|
|
42
|
+
limits:
|
|
43
|
+
cpu: 500m
|
|
44
|
+
memory: 512Mi
|
|
45
|
+
|
|
46
|
+
# Pod configuration
|
|
47
|
+
podAnnotations:
|
|
48
|
+
prometheus.io/scrape: "true"
|
|
49
|
+
prometheus.io/port: "8080"
|
|
50
|
+
prometheus.io/path: "/metrics"
|
|
51
|
+
|
|
52
|
+
podLabels:
|
|
53
|
+
app: gitlab-agent
|
|
54
|
+
component: ossa-agent
|
|
55
|
+
managed-by: helm
|
|
56
|
+
|
|
57
|
+
# Security context
|
|
58
|
+
securityContext:
|
|
59
|
+
runAsNonRoot: true
|
|
60
|
+
runAsUser: 65534
|
|
61
|
+
fsGroup: 65534
|
|
62
|
+
seccompProfile:
|
|
63
|
+
type: RuntimeDefault
|
|
64
|
+
|
|
65
|
+
# Node selector (optional)
|
|
66
|
+
nodeSelector: {}
|
|
67
|
+
|
|
68
|
+
# Tolerations (optional)
|
|
69
|
+
tolerations: []
|
|
70
|
+
|
|
71
|
+
# Affinity rules (optional)
|
|
72
|
+
affinity: {}
|
|
73
|
+
|
|
74
|
+
# Extra environment variables
|
|
75
|
+
extraEnv: []
|
|
76
|
+
# Example:
|
|
77
|
+
# extraEnv:
|
|
78
|
+
# - name: LOG_LEVEL
|
|
79
|
+
# value: "debug"
|
|
80
|
+
|
|
81
|
+
# Liveness and readiness probes
|
|
82
|
+
livenessProbe:
|
|
83
|
+
httpGet:
|
|
84
|
+
path: /liveness
|
|
85
|
+
port: 8080
|
|
86
|
+
initialDelaySeconds: 30
|
|
87
|
+
periodSeconds: 30
|
|
88
|
+
timeoutSeconds: 5
|
|
89
|
+
failureThreshold: 3
|
|
90
|
+
|
|
91
|
+
readinessProbe:
|
|
92
|
+
httpGet:
|
|
93
|
+
path: /readiness
|
|
94
|
+
port: 8080
|
|
95
|
+
initialDelaySeconds: 10
|
|
96
|
+
periodSeconds: 10
|
|
97
|
+
timeoutSeconds: 5
|
|
98
|
+
failureThreshold: 3
|
|
99
|
+
|
|
100
|
+
# Pod disruption budget
|
|
101
|
+
podDisruptionBudget:
|
|
102
|
+
enabled: true
|
|
103
|
+
minAvailable: 1
|
|
104
|
+
|
|
105
|
+
# Service monitor for Prometheus (if Prometheus Operator is installed)
|
|
106
|
+
serviceMonitor:
|
|
107
|
+
enabled: false
|
|
108
|
+
interval: 30s
|
|
109
|
+
scrapeTimeout: 10s
|
|
110
|
+
labels: {}
|
|
111
|
+
|
|
112
|
+
# Network policy (if supported)
|
|
113
|
+
networkPolicy:
|
|
114
|
+
enabled: false
|
|
115
|
+
|
|
116
|
+
# Priority class (optional)
|
|
117
|
+
priorityClassName: ""
|
|
118
|
+
|
|
119
|
+
# Extra volumes
|
|
120
|
+
extraVolumes: []
|
|
121
|
+
|
|
122
|
+
# Extra volume mounts
|
|
123
|
+
extraVolumeMounts: []
|
|
124
|
+
|
|
125
|
+
# Init containers
|
|
126
|
+
initContainers: []
|
|
127
|
+
|
|
128
|
+
# Additional containers (sidecars)
|
|
129
|
+
additionalContainers: []
|
|
130
|
+
|
|
131
|
+
# Deployment configuration
|
|
132
|
+
replicaCount: 1
|
|
133
|
+
|
|
134
|
+
# Strategy
|
|
135
|
+
strategy:
|
|
136
|
+
type: RollingUpdate
|
|
137
|
+
rollingUpdate:
|
|
138
|
+
maxSurge: 1
|
|
139
|
+
maxUnavailable: 0
|
|
140
|
+
|
|
141
|
+
# Termination grace period
|
|
142
|
+
terminationGracePeriodSeconds: 30
|
|
143
|
+
|
|
144
|
+
# Namespace configuration
|
|
145
|
+
namespace:
|
|
146
|
+
create: true
|
|
147
|
+
name: gitlab-agent
|
|
148
|
+
annotations: {}
|
|
149
|
+
labels: {}
|
|
150
|
+
|