@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,193 @@
|
|
|
1
|
+
openapi: 3.1.0
|
|
2
|
+
info:
|
|
3
|
+
title: Workflow Orchestration Agent API
|
|
4
|
+
version: 2.0.0
|
|
5
|
+
description: |
|
|
6
|
+
Advanced workflow orchestration agent that coordinates multi-step processes,
|
|
7
|
+
manages agent swarms, and provides intelligent task routing.
|
|
8
|
+
|
|
9
|
+
x-ossa-metadata:
|
|
10
|
+
version: 0.2.5-RC
|
|
11
|
+
compliance:
|
|
12
|
+
level: enterprise
|
|
13
|
+
frameworks:
|
|
14
|
+
- OSSA
|
|
15
|
+
- OpenAPI 3.1
|
|
16
|
+
|
|
17
|
+
x-ossa:
|
|
18
|
+
version: 0.2.5-RC
|
|
19
|
+
agent:
|
|
20
|
+
id: workflow-orchestrator
|
|
21
|
+
type: orchestrator
|
|
22
|
+
compliance:
|
|
23
|
+
standards:
|
|
24
|
+
- openapi-first
|
|
25
|
+
- type-safe
|
|
26
|
+
validated: true
|
|
27
|
+
validatedAt: "2024-01-15T10:00:00Z"
|
|
28
|
+
|
|
29
|
+
servers:
|
|
30
|
+
- url: https://workflow-orchestrator.platform.com/api/v1
|
|
31
|
+
description: Production
|
|
32
|
+
|
|
33
|
+
tags:
|
|
34
|
+
- name: workflows
|
|
35
|
+
description: Workflow execution operations
|
|
36
|
+
- name: coordination
|
|
37
|
+
description: Agent coordination operations
|
|
38
|
+
|
|
39
|
+
paths:
|
|
40
|
+
/workflows/execute:
|
|
41
|
+
post:
|
|
42
|
+
summary: Execute workflow
|
|
43
|
+
description: Execute multi-step workflow with agent coordination
|
|
44
|
+
operationId: executeWorkflow
|
|
45
|
+
tags: [workflows]
|
|
46
|
+
x-ossa-capability: execute_workflow
|
|
47
|
+
x-ossa-autonomy:
|
|
48
|
+
level: semi-autonomous
|
|
49
|
+
approval_required: false
|
|
50
|
+
requestBody:
|
|
51
|
+
required: true
|
|
52
|
+
content:
|
|
53
|
+
application/json:
|
|
54
|
+
schema:
|
|
55
|
+
type: object
|
|
56
|
+
required: [workflow_definition]
|
|
57
|
+
properties:
|
|
58
|
+
workflow_definition:
|
|
59
|
+
type: object
|
|
60
|
+
required: [name, steps]
|
|
61
|
+
properties:
|
|
62
|
+
name:
|
|
63
|
+
type: string
|
|
64
|
+
steps:
|
|
65
|
+
type: array
|
|
66
|
+
items:
|
|
67
|
+
type: object
|
|
68
|
+
properties:
|
|
69
|
+
step_id:
|
|
70
|
+
type: string
|
|
71
|
+
agent_id:
|
|
72
|
+
type: string
|
|
73
|
+
capability:
|
|
74
|
+
type: string
|
|
75
|
+
input:
|
|
76
|
+
type: object
|
|
77
|
+
dependencies:
|
|
78
|
+
type: array
|
|
79
|
+
items:
|
|
80
|
+
type: string
|
|
81
|
+
options:
|
|
82
|
+
type: object
|
|
83
|
+
properties:
|
|
84
|
+
parallel:
|
|
85
|
+
type: boolean
|
|
86
|
+
default: false
|
|
87
|
+
retry:
|
|
88
|
+
type: object
|
|
89
|
+
responses:
|
|
90
|
+
'202':
|
|
91
|
+
description: Workflow execution started
|
|
92
|
+
content:
|
|
93
|
+
application/json:
|
|
94
|
+
schema:
|
|
95
|
+
type: object
|
|
96
|
+
properties:
|
|
97
|
+
workflow_id:
|
|
98
|
+
type: string
|
|
99
|
+
status:
|
|
100
|
+
type: string
|
|
101
|
+
enum: [pending, running, completed, failed]
|
|
102
|
+
|
|
103
|
+
/workflows/{workflow_id}:
|
|
104
|
+
get:
|
|
105
|
+
summary: Get workflow status
|
|
106
|
+
description: Retrieve workflow execution status and results
|
|
107
|
+
operationId: getWorkflowStatus
|
|
108
|
+
tags: [workflows]
|
|
109
|
+
x-ossa-capability: execute_workflow
|
|
110
|
+
x-ossa-autonomy:
|
|
111
|
+
level: autonomous
|
|
112
|
+
approval_required: false
|
|
113
|
+
parameters:
|
|
114
|
+
- name: workflow_id
|
|
115
|
+
in: path
|
|
116
|
+
required: true
|
|
117
|
+
schema:
|
|
118
|
+
type: string
|
|
119
|
+
responses:
|
|
120
|
+
'200':
|
|
121
|
+
description: Workflow status
|
|
122
|
+
content:
|
|
123
|
+
application/json:
|
|
124
|
+
schema:
|
|
125
|
+
type: object
|
|
126
|
+
properties:
|
|
127
|
+
workflow_id:
|
|
128
|
+
type: string
|
|
129
|
+
status:
|
|
130
|
+
type: string
|
|
131
|
+
steps:
|
|
132
|
+
type: array
|
|
133
|
+
items:
|
|
134
|
+
type: object
|
|
135
|
+
properties:
|
|
136
|
+
step_id:
|
|
137
|
+
type: string
|
|
138
|
+
status:
|
|
139
|
+
type: string
|
|
140
|
+
result:
|
|
141
|
+
type: object
|
|
142
|
+
result:
|
|
143
|
+
type: object
|
|
144
|
+
|
|
145
|
+
/coordinate/swarm:
|
|
146
|
+
post:
|
|
147
|
+
summary: Coordinate agent swarm
|
|
148
|
+
description: Coordinate multiple agents for parallel task execution
|
|
149
|
+
operationId: coordinateSwarm
|
|
150
|
+
tags: [coordination]
|
|
151
|
+
x-ossa-capability: coordinate_agents
|
|
152
|
+
x-ossa-autonomy:
|
|
153
|
+
level: semi-autonomous
|
|
154
|
+
approval_required: false
|
|
155
|
+
requestBody:
|
|
156
|
+
required: true
|
|
157
|
+
content:
|
|
158
|
+
application/json:
|
|
159
|
+
schema:
|
|
160
|
+
type: object
|
|
161
|
+
required: [agents, task]
|
|
162
|
+
properties:
|
|
163
|
+
agents:
|
|
164
|
+
type: array
|
|
165
|
+
items:
|
|
166
|
+
type: object
|
|
167
|
+
properties:
|
|
168
|
+
agent_id:
|
|
169
|
+
type: string
|
|
170
|
+
capability:
|
|
171
|
+
type: string
|
|
172
|
+
task:
|
|
173
|
+
type: object
|
|
174
|
+
strategy:
|
|
175
|
+
type: string
|
|
176
|
+
enum: [parallel, sequential, priority]
|
|
177
|
+
responses:
|
|
178
|
+
'200':
|
|
179
|
+
description: Swarm coordination initiated
|
|
180
|
+
content:
|
|
181
|
+
application/json:
|
|
182
|
+
schema:
|
|
183
|
+
type: object
|
|
184
|
+
properties:
|
|
185
|
+
coordination_id:
|
|
186
|
+
type: string
|
|
187
|
+
agents:
|
|
188
|
+
type: array
|
|
189
|
+
items:
|
|
190
|
+
type: object
|
|
191
|
+
status:
|
|
192
|
+
type: string
|
|
193
|
+
|
package/package.json
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bluefly/openstandardagents",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "OSSA - Open Standard for Scalable AI Agents. A specification standard for AI agents (like OpenAPI for REST APIs). NOT a framework.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"bin": {
|
|
9
|
-
"ossa": "bin/ossa"
|
|
10
|
-
},
|
|
3
|
+
"version": "0.2.7",
|
|
11
4
|
"exports": {
|
|
5
|
+
"./schema": "./spec/v0.2.6/ossa-0.2.6.schema.json",
|
|
12
6
|
".": {
|
|
13
7
|
"types": "./dist/index.d.ts",
|
|
14
8
|
"import": "./dist/index.js",
|
|
@@ -34,13 +28,20 @@
|
|
|
34
28
|
"import": "./dist/types/index.js",
|
|
35
29
|
"require": "./dist/types/index.js"
|
|
36
30
|
},
|
|
37
|
-
"./schema": "./spec/v0.2.2/ossa-0.2.2.schema.json",
|
|
38
31
|
"./openapi-extensions": {
|
|
39
32
|
"types": "./dist/types/openapi-extensions.d.ts",
|
|
40
33
|
"import": "./dist/types/openapi-extensions.js",
|
|
41
34
|
"require": "./dist/types/openapi-extensions.js"
|
|
42
|
-
}
|
|
43
|
-
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"description": "OSSA - Open Standard for Scalable AI Agents. A specification standard for AI agents (like OpenAPI for REST APIs). NOT a framework.",
|
|
38
|
+
"type": "module",
|
|
39
|
+
"main": "dist/index.js",
|
|
40
|
+
"types": "dist/index.d.ts",
|
|
41
|
+
"bin": {
|
|
42
|
+
"ossa": "bin/ossa",
|
|
43
|
+
"ossa-version": "bin/ossa-version",
|
|
44
|
+
"ossa-validate-all": "bin/ossa-validate-all"
|
|
44
45
|
},
|
|
45
46
|
"publishConfig": {
|
|
46
47
|
"access": "public",
|
|
@@ -48,15 +49,21 @@
|
|
|
48
49
|
},
|
|
49
50
|
"repository": {
|
|
50
51
|
"type": "git",
|
|
51
|
-
"url": "https://github.com/blueflyio/openstandardagents
|
|
52
|
+
"url": "https://github.com/blueflyio/openstandardagents/"
|
|
52
53
|
},
|
|
53
54
|
"bugs": {
|
|
54
55
|
"url": "https://github.com/blueflyio/openstandardagents/issues"
|
|
55
56
|
},
|
|
56
57
|
"homepage": "https://openstandardagents.org",
|
|
57
58
|
"scripts": {
|
|
59
|
+
"version:sync": "node scripts/sync-version.js",
|
|
60
|
+
"version:bump": "tsx scripts/bump-version.ts",
|
|
61
|
+
"version:enhanced": "tsx scripts/enhanced-version-manager.ts",
|
|
62
|
+
"version:check": "tsx scripts/sync-versions.ts --check",
|
|
63
|
+
"docs:process": "tsx scripts/process-doc-templates.ts",
|
|
64
|
+
"prebuild": "npm run version:sync && npm run docs:process",
|
|
58
65
|
"build": "tsc && npm run copy-assets",
|
|
59
|
-
"copy-assets": "cp -r spec dist/
|
|
66
|
+
"copy-assets": "cp -r spec dist/",
|
|
60
67
|
"dev": "tsc --watch",
|
|
61
68
|
"clean": "rm -rf dist coverage",
|
|
62
69
|
"test": "jest",
|
|
@@ -70,14 +77,32 @@
|
|
|
70
77
|
"lint:fix": "eslint src tests --ext .ts --fix",
|
|
71
78
|
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
72
79
|
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
73
|
-
"validate:schema": "
|
|
80
|
+
"validate:schema": "tsx scripts/validate-schema.ts",
|
|
81
|
+
"docs:api:generate": "tsx scripts/generate-api-docs.ts",
|
|
82
|
+
"docs:cli:generate": "tsx scripts/generate-cli-docs.ts",
|
|
83
|
+
"docs:schema:generate": "tsx scripts/generate-schema-docs.ts",
|
|
84
|
+
"docs:examples:generate": "tsx scripts/generate-examples-docs.ts",
|
|
85
|
+
"docs:agents:generate": "tsx scripts/generate-agents-catalog.ts",
|
|
86
|
+
"docs:types:generate": "tsx scripts/generate-types-docs.ts",
|
|
87
|
+
"docs:errors:generate": "tsx scripts/generate-errors-docs.ts",
|
|
88
|
+
"docs:config:generate": "tsx scripts/generate-config-docs.ts",
|
|
89
|
+
"docs:lowercase": "tsx scripts/lowercase-docs.ts",
|
|
90
|
+
"docs:generate": "npm run docs:api:generate && npm run docs:cli:generate && npm run docs:schema:generate && npm run docs:examples:generate && npm run docs:agents:generate && npm run docs:types:generate && npm run docs:errors:generate && npm run docs:config:generate && npm run docs:lowercase",
|
|
91
|
+
"docs:validate": "echo 'Documentation validation not yet implemented'",
|
|
92
|
+
"docs:lint": "echo 'Documentation linting not yet implemented'",
|
|
74
93
|
"validate:examples": "node -r ts-node/register tests/integration/examples/validate-all-examples.test.ts",
|
|
75
|
-
"validate:power-suite": "
|
|
76
|
-
"gen:types": "
|
|
77
|
-
"gen:zod": "
|
|
94
|
+
"validate:power-suite": "tsx bin/validate-ossa.ts",
|
|
95
|
+
"gen:types": "tsx scripts/gen-types.ts",
|
|
96
|
+
"gen:zod": "tsx scripts/gen-zod.ts",
|
|
78
97
|
"gen:all": "npm run gen:types && npm run gen:zod",
|
|
79
98
|
"cli:legacy": "node cli/bin/ossa --help",
|
|
80
|
-
"prepublishOnly": "npm run clean && npm run build && npm run test && npm run lint"
|
|
99
|
+
"prepublishOnly": "npm run clean && npm run build && npm run test && npm run lint",
|
|
100
|
+
"validate:all": "node scripts/validate-all.js",
|
|
101
|
+
"fix:schemas": "node scripts/fix-schema-formats.js",
|
|
102
|
+
"prepare": "husky install || true",
|
|
103
|
+
"sync:pr": "tsx src/cli/commands/github-sync.command.ts pr",
|
|
104
|
+
"sync:batch": "tsx src/cli/commands/github-sync.command.ts batch",
|
|
105
|
+
"sync:list": "tsx src/cli/commands/github-sync.command.ts list"
|
|
81
106
|
},
|
|
82
107
|
"keywords": [
|
|
83
108
|
"ossa",
|
|
@@ -93,12 +118,16 @@
|
|
|
93
118
|
"author": "OSSA Standards Team",
|
|
94
119
|
"license": "Apache-2.0",
|
|
95
120
|
"dependencies": {
|
|
121
|
+
"@anthropic-ai/sdk": "^0.71.0",
|
|
122
|
+
"@gitbeaker/node": "^35.8.1",
|
|
123
|
+
"@octokit/rest": "^20.0.0",
|
|
96
124
|
"ajv": "^8.12.0",
|
|
97
125
|
"ajv-formats": "^3.0.1",
|
|
126
|
+
"axios": "^1.12.2",
|
|
98
127
|
"chalk": "^5.6.2",
|
|
99
128
|
"commander": "^11.1.0",
|
|
100
129
|
"glob": "^11.0.3",
|
|
101
|
-
"inversify": "^7.10.
|
|
130
|
+
"inversify": "^7.10.4",
|
|
102
131
|
"openai": "^6.9.1",
|
|
103
132
|
"readline": "^1.3.0",
|
|
104
133
|
"reflect-metadata": "^0.2.2",
|
|
@@ -106,7 +135,9 @@
|
|
|
106
135
|
"zod": "^4.1.11"
|
|
107
136
|
},
|
|
108
137
|
"devDependencies": {
|
|
138
|
+
"@gitbeaker/rest": "^43.8.0",
|
|
109
139
|
"@jest/globals": "^29.7.0",
|
|
140
|
+
"@octokit/rest": "^22.0.1",
|
|
110
141
|
"@semantic-release/changelog": "^6.0.3",
|
|
111
142
|
"@semantic-release/git": "^10.0.1",
|
|
112
143
|
"@semantic-release/gitlab": "^13.2.9",
|
|
@@ -114,9 +145,8 @@
|
|
|
114
145
|
"@types/node": "^20.19.19",
|
|
115
146
|
"@types/pg": "^8.15.5",
|
|
116
147
|
"@types/redis": "^4.0.10",
|
|
117
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
118
|
-
"@typescript-eslint/parser": "^
|
|
119
|
-
"axios": "^1.12.2",
|
|
148
|
+
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
|
149
|
+
"@typescript-eslint/parser": "^8.48.0",
|
|
120
150
|
"eslint": "^8.57.1",
|
|
121
151
|
"eslint-config-prettier": "^10.1.8",
|
|
122
152
|
"eslint-plugin-prettier": "^5.5.4",
|
|
@@ -127,6 +157,7 @@
|
|
|
127
157
|
"semantic-release": "^25.0.1",
|
|
128
158
|
"ts-jest": "^29.4.4",
|
|
129
159
|
"ts-node": "^10.9.2",
|
|
160
|
+
"tsx": "^4.20.6",
|
|
130
161
|
"typescript": "^5.9.3"
|
|
131
162
|
}
|
|
132
163
|
}
|
package/release.config.js
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
branches: [
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
{
|
|
4
|
+
name: 'main',
|
|
5
|
+
channel: false, // Stable releases get 'latest' tag
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
name: 'development',
|
|
9
|
+
prerelease: 'dev',
|
|
10
|
+
channel: 'dev', // Dev releases get 'dev' tag
|
|
11
|
+
},
|
|
5
12
|
],
|
|
6
|
-
repositoryUrl: 'https://
|
|
13
|
+
repositoryUrl: 'https://github.com/blueflyio/openstandardagents.git',
|
|
7
14
|
plugins: [
|
|
8
15
|
[
|
|
9
16
|
'@semantic-release/commit-analyzer',
|
|
@@ -14,6 +21,9 @@ export default {
|
|
|
14
21
|
{ type: 'refactor', scope: 'core-*', release: 'minor' },
|
|
15
22
|
{ type: 'refactor', release: 'patch' },
|
|
16
23
|
{ type: 'chore', scope: 'deps', release: 'patch' },
|
|
24
|
+
// Version is determined automatically by commit analysis
|
|
25
|
+
// Milestones are used for planning and tracking, but version bump
|
|
26
|
+
// is controlled by commit messages (feat ā minor, fix ā patch, BREAKING ā major)
|
|
17
27
|
],
|
|
18
28
|
parserOpts: {
|
|
19
29
|
noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES'],
|
|
@@ -38,12 +48,17 @@ export default {
|
|
|
38
48
|
],
|
|
39
49
|
[
|
|
40
50
|
'@semantic-release/npm',
|
|
41
|
-
{
|
|
51
|
+
{
|
|
52
|
+
npmPublish: true,
|
|
53
|
+
tarballDir: 'dist',
|
|
54
|
+
// Tag stable releases as 'latest', dev releases as 'dev'
|
|
55
|
+
// This is handled by branch configuration below
|
|
56
|
+
},
|
|
42
57
|
],
|
|
43
58
|
[
|
|
44
59
|
'@semantic-release/gitlab',
|
|
45
60
|
{
|
|
46
|
-
gitlabUrl: 'https://gitlab.
|
|
61
|
+
gitlabUrl: 'https://gitlab.com',
|
|
47
62
|
assets: [
|
|
48
63
|
{ path: 'dist/*.tgz', label: 'OSSA npm package (${nextRelease.gitTag})' },
|
|
49
64
|
{
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Validation Scripts
|
|
2
|
+
|
|
3
|
+
Automated validation and maintenance scripts for OSSA.
|
|
4
|
+
|
|
5
|
+
## Scripts
|
|
6
|
+
|
|
7
|
+
### validate-all.js
|
|
8
|
+
|
|
9
|
+
Comprehensive validation suite:
|
|
10
|
+
- Version consistency across packages
|
|
11
|
+
- Schema exports and files
|
|
12
|
+
- Spec directory structure
|
|
13
|
+
- Schema validation
|
|
14
|
+
- Version reference checks
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm run validate:all
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### fix-schema-formats.js
|
|
21
|
+
|
|
22
|
+
Automatically fixes unsupported format constraints in JSON schemas.
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npm run fix:schemas
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Removes format constraints like `"format": "uri"` that aren't supported by ajv-cli.
|
|
29
|
+
|
|
30
|
+
### sync-version.js (website)
|
|
31
|
+
|
|
32
|
+
Syncs version from package.json to website code.
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
cd website && npm run sync-version
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## CI/CD Integration
|
|
39
|
+
|
|
40
|
+
Validation runs automatically on:
|
|
41
|
+
- Merge requests
|
|
42
|
+
- Commits to main/development
|
|
43
|
+
|
|
44
|
+
See `.gitlab-ci-validation.yml` for configuration.
|
|
45
|
+
|
|
46
|
+
## Pre-commit Hook
|
|
47
|
+
|
|
48
|
+
Install husky to run validations before commit:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
npm install
|
|
52
|
+
npm run prepare
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Maintenance
|
|
56
|
+
|
|
57
|
+
### Adding New Validations
|
|
58
|
+
|
|
59
|
+
Edit `scripts/validate-all.js`:
|
|
60
|
+
|
|
61
|
+
```javascript
|
|
62
|
+
check('New Check', () => {
|
|
63
|
+
// Your validation logic
|
|
64
|
+
if (somethingWrong) {
|
|
65
|
+
throw new Error('Description');
|
|
66
|
+
}
|
|
67
|
+
console.log('ā Check passed');
|
|
68
|
+
});
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Adding Unsupported Formats
|
|
72
|
+
|
|
73
|
+
Edit `scripts/fix-schema-formats.js`:
|
|
74
|
+
|
|
75
|
+
```javascript
|
|
76
|
+
const UNSUPPORTED_FORMATS = ['uri', 'new-format'];
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Troubleshooting
|
|
80
|
+
|
|
81
|
+
### Schema validation fails
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
npm run fix:schemas
|
|
85
|
+
npm run validate:schema
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Version mismatch
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
# Update root version
|
|
92
|
+
npm version patch
|
|
93
|
+
|
|
94
|
+
# Sync to website
|
|
95
|
+
cd website && npm run sync-version
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Pre-commit hook not running
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
npm run prepare
|
|
102
|
+
chmod +x .husky/pre-commit
|
|
103
|
+
```
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
#!/usr/bin/env tsx
|
|
2
|
+
/**
|
|
3
|
+
* Auto-rebase all open MRs onto their target branches
|
|
4
|
+
* Runs in CI or manually to keep MRs up to date
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import { Gitlab } from '@gitbeaker/rest';
|
|
8
|
+
import { execSync } from 'child_process';
|
|
9
|
+
|
|
10
|
+
const PROJECT_ID = 'blueflyio/openstandardagents';
|
|
11
|
+
const TOKEN = process.env.GITLAB_TOKEN || process.env.SERVICE_ACCOUNT_OSSA_TOKEN || process.env.GITLAB_PUSH_TOKEN;
|
|
12
|
+
|
|
13
|
+
if (!TOKEN) {
|
|
14
|
+
console.error('ā Error: GITLAB_TOKEN or SERVICE_ACCOUNT_OSSA_TOKEN required');
|
|
15
|
+
process.exit(1);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const gitlab = new Gitlab({
|
|
19
|
+
host: 'https://gitlab.com',
|
|
20
|
+
token: TOKEN,
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
async function rebaseMR(mr: any): Promise<boolean> {
|
|
24
|
+
const { iid, source_branch, target_branch, merge_status } = mr;
|
|
25
|
+
|
|
26
|
+
console.log(`\nš Rebasing MR !${iid}: ${source_branch} -> ${target_branch}`);
|
|
27
|
+
|
|
28
|
+
try {
|
|
29
|
+
// Fetch branches
|
|
30
|
+
execSync(`git fetch origin ${source_branch} ${target_branch}`, { stdio: 'inherit' });
|
|
31
|
+
|
|
32
|
+
// Check if behind
|
|
33
|
+
const behind = execSync(
|
|
34
|
+
`git rev-list --count origin/${target_branch}..origin/${source_branch} 2>/dev/null || echo 0`
|
|
35
|
+
).toString().trim();
|
|
36
|
+
|
|
37
|
+
if (behind === '0') {
|
|
38
|
+
console.log(` ā
Already up to date`);
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
console.log(` ā ļø ${behind} commits behind, rebasing...`);
|
|
43
|
+
|
|
44
|
+
// Create worktree
|
|
45
|
+
const worktreePath = `../rebase-${iid}-${source_branch.replace(/\//g, '-')}`;
|
|
46
|
+
try {
|
|
47
|
+
execSync(`git worktree remove ${worktreePath}`, { stdio: 'ignore' });
|
|
48
|
+
} catch {}
|
|
49
|
+
|
|
50
|
+
execSync(`git worktree add ${worktreePath} origin/${source_branch}`, { stdio: 'inherit' });
|
|
51
|
+
|
|
52
|
+
// Rebase
|
|
53
|
+
try {
|
|
54
|
+
execSync(`cd ${worktreePath} && git rebase origin/${target_branch}`, { stdio: 'inherit' });
|
|
55
|
+
|
|
56
|
+
// Push
|
|
57
|
+
execSync(`cd ${worktreePath} && git push origin ${source_branch} --force-with-lease`, { stdio: 'inherit' });
|
|
58
|
+
|
|
59
|
+
console.log(` ā
Rebased and pushed successfully`);
|
|
60
|
+
|
|
61
|
+
// Cleanup
|
|
62
|
+
execSync(`git worktree remove ${worktreePath}`, { stdio: 'ignore' });
|
|
63
|
+
|
|
64
|
+
return true;
|
|
65
|
+
} catch (error) {
|
|
66
|
+
console.error(` ā Rebase failed - conflicts may exist`);
|
|
67
|
+
console.error(` Worktree: ${worktreePath}`);
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
} catch (error: any) {
|
|
71
|
+
console.error(` ā Error: ${error.message}`);
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
async function main() {
|
|
77
|
+
console.log('š Auto-rebasing all open MRs\n');
|
|
78
|
+
|
|
79
|
+
try {
|
|
80
|
+
const mrs = await gitlab.MergeRequests.all({
|
|
81
|
+
projectId: PROJECT_ID,
|
|
82
|
+
state: 'opened',
|
|
83
|
+
perPage: 20,
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
console.log(`Found ${mrs.length} open MRs\n`);
|
|
87
|
+
|
|
88
|
+
const results = await Promise.all(mrs.map(rebaseMR));
|
|
89
|
+
|
|
90
|
+
const success = results.filter(Boolean).length;
|
|
91
|
+
const failed = results.length - success;
|
|
92
|
+
|
|
93
|
+
console.log(`\nā
Summary:`);
|
|
94
|
+
console.log(` Successfully rebased: ${success}`);
|
|
95
|
+
console.log(` Failed: ${failed}`);
|
|
96
|
+
|
|
97
|
+
if (failed > 0) {
|
|
98
|
+
process.exit(1);
|
|
99
|
+
}
|
|
100
|
+
} catch (error: any) {
|
|
101
|
+
console.error('ā Error:', error.message);
|
|
102
|
+
process.exit(1);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
main();
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
set -e
|
|
3
|
+
|
|
4
|
+
# Batch merge Dependabot PRs from GitHub
|
|
5
|
+
# Creates a single GitLab MR with all updates
|
|
6
|
+
|
|
7
|
+
REPO="blueflyio/openstandardagents"
|
|
8
|
+
BRANCH="batch-dependabot-$(date +%Y%m%d)"
|
|
9
|
+
|
|
10
|
+
echo "š¤ Batching Dependabot PRs..."
|
|
11
|
+
|
|
12
|
+
# Get all open Dependabot PRs
|
|
13
|
+
DEPENDABOT_PRS=$(gh pr list --repo $REPO --author app/dependabot --state open --json number -q '.[].number')
|
|
14
|
+
|
|
15
|
+
if [ -z "$DEPENDABOT_PRS" ]; then
|
|
16
|
+
echo "No Dependabot PRs found"
|
|
17
|
+
exit 0
|
|
18
|
+
fi
|
|
19
|
+
|
|
20
|
+
echo "Found PRs: $DEPENDABOT_PRS"
|
|
21
|
+
|
|
22
|
+
# Create new branch
|
|
23
|
+
git checkout -b $BRANCH main
|
|
24
|
+
|
|
25
|
+
# Merge each PR
|
|
26
|
+
for PR in $DEPENDABOT_PRS; do
|
|
27
|
+
echo "Merging PR #$PR..."
|
|
28
|
+
gh pr checkout $PR
|
|
29
|
+
git merge --no-ff --no-edit FETCH_HEAD || {
|
|
30
|
+
echo "ā ļø Conflict in PR #$PR, skipping"
|
|
31
|
+
git merge --abort
|
|
32
|
+
continue
|
|
33
|
+
}
|
|
34
|
+
done
|
|
35
|
+
|
|
36
|
+
# Push to GitLab
|
|
37
|
+
git push origin $BRANCH
|
|
38
|
+
|
|
39
|
+
# Create GitLab MR
|
|
40
|
+
glab mr create \
|
|
41
|
+
--title "chore(deps): batch Dependabot updates $(date +%Y-%m-%d)" \
|
|
42
|
+
--description "Batched Dependabot PRs from GitHub:
|
|
43
|
+
|
|
44
|
+
$(echo "$DEPENDABOT_PRS" | while read pr; do
|
|
45
|
+
echo "- https://github.com/$REPO/pull/$pr"
|
|
46
|
+
done)
|
|
47
|
+
|
|
48
|
+
**Changes:**
|
|
49
|
+
- Dependency updates from Dependabot
|
|
50
|
+
- Tested in CI before merge
|
|
51
|
+
|
|
52
|
+
**GitHub PRs will auto-close** when this merges and syncs back." \
|
|
53
|
+
--source-branch $BRANCH \
|
|
54
|
+
--target-branch main \
|
|
55
|
+
--label "dependencies"
|
|
56
|
+
|
|
57
|
+
echo "ā
Created GitLab MR with batched updates"
|