@bluefly/openstandardagents 0.2.4 → 0.2.5-RC
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cursorrules +84 -0
- package/.devfile.yaml +87 -0
- package/.env.example +25 -3
- package/.github/workflows/release.yml +1 -1
- package/.kiro/specs/agent-buildkit-templates/design.md +495 -0
- package/.kiro/specs/agent-buildkit-templates/requirements.md +165 -0
- package/.kiro/specs/kiro-ide-supercharger/README.md +202 -0
- package/.kiro/specs/kiro-ide-supercharger/design.md +1005 -0
- package/.kiro/specs/kiro-ide-supercharger/requirements.md +141 -0
- package/.kiro/specs/kiro-ide-supercharger/tasks.md +507 -0
- package/.kiro/specs/website-design-audit/design.md +679 -0
- package/.kiro/specs/website-design-audit/requirements.md +199 -0
- package/.releaserc.json +5 -4
- package/.version.json +6 -0
- package/CHANGELOG.md +140 -96
- package/CONTRIBUTING.md +23 -5
- package/README.md +121 -43
- package/bin/ossa +24 -3
- 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 +96 -18
- 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/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/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 +24 -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 → v0.2.4}/ossa-0.2.4-dev.yaml +1 -1
- package/dist/spec/v0.2.4/ossa-0.2.4.schema.json +1819 -0
- 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-dev/ossa-0.2.5-dev.schema.json → v0.2.5/ossa-0.2.5.schema.json} +323 -359
- 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/types/index.d.ts +6 -1
- package/dist/types/index.d.ts.map +1 -1
- package/docs/issue-19-completion-summary.md +648 -0
- package/docs/issue-19-validation.md +351 -0
- package/examples/anthropic/claude-assistant.ossa.json +1 -1
- package/examples/autogen/multi-agent.ossa.json +1 -1
- package/examples/bridges/Dockerfile.production +1 -1
- package/examples/crewai/research-team.ossa.json +1 -1
- package/examples/cursor/code-review-agent.ossa.json +1 -1
- 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 +1 -1
- package/examples/langflow/workflow-agent.ossa.json +1 -1
- package/examples/langgraph/state-machine-agent.ossa.json +1 -1
- package/examples/llamaindex/rag-agent.ossa.json +1 -1
- package/examples/openai/basic-agent.ossa.yaml +61 -0
- package/examples/openai/multi-tool-agent.ossa.json +165 -0
- package/examples/openai/swarm-agent.ossa.json +1 -1
- package/examples/openapi-extensions/README.md +1 -1
- package/examples/quickstart/support-agent.ossa.yaml +1 -1
- package/examples/vercel/edge-agent.ossa.json +1 -1
- 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/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 +31 -21
- package/release.config.js +20 -5
- package/scripts/bump-version.ts +57 -0
- package/scripts/enhanced-version-manager.ts +257 -0
- package/scripts/gen-types.ts +51 -0
- package/scripts/gen-zod.ts +51 -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/process-doc-templates.ts +37 -0
- package/scripts/schemas/package.schema.ts +75 -0
- package/scripts/setup-branch-protection.sh +33 -0
- package/scripts/sync-version.ts +39 -0
- package/scripts/sync-versions.ts +488 -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 → v0.2.4}/ossa-0.2.4-dev.yaml +1 -1
- package/spec/v0.2.4/ossa-0.2.4.schema.json +1819 -0
- 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-dev/ossa-0.2.5-dev.schema.json → v0.2.5/ossa-0.2.5.schema.json} +323 -359
- 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/website/{.lighthouserc.js → .lighthouserc.ts} +5 -1
- package/website/Dockerfile +18 -5
- package/website/app/about/page.tsx +7 -7
- 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/examples/page.tsx +51 -41
- package/website/app/{globals.css → globals.scss} +50 -23
- 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 +144 -79
- 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 +31 -33
- package/website/components/schema/SchemaComponentsAccordion.tsx +84 -0
- package/website/components/schema/SchemaExplorer.tsx +4 -4
- 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 +18 -25
- package/website/content/docs/AIFlow-Framework-Integration-with-OSSA.md +8 -8
- package/website/content/docs/OpenAPI-Extensions.md +576 -140
- package/website/content/docs/adapters/openai-adapter.md +693 -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/contributing.md +2 -2
- package/website/content/docs/ecosystem/framework-support.md +0 -2
- package/website/content/docs/examples/AIFlow-Framework-Integration-with-OSSA.md +107 -0
- package/website/content/docs/examples/Migration-Guides.md +2 -2
- package/website/content/docs/for-audiences/{architects.md → Architects.md} +1 -1
- package/website/content/docs/for-audiences/{developers.md → Developers.md} +3 -3
- package/website/content/docs/for-audiences/Enterprises.md +2 -2
- package/website/content/docs/for-audiences/Students-Researchers.md +1 -1
- package/website/content/docs/getting-started/{5-minute-overview.md → 5-Minute-Overview.md} +2 -2
- package/website/content/docs/getting-started/{first-agent.md → First-Agent.md} +1 -1
- package/website/content/docs/getting-started/Hello-World.md +3 -3
- package/website/content/docs/getting-started/{installation.md → Installation.md} +7 -7
- package/website/content/docs/getting-started/index.md +92 -0
- 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/README.md +1 -1
- 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/schema-reference/agent-spec.md +2 -2
- 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/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/use-cases/00-index.md +1 -1
- package/{docs/VERSIONING.md → website/content/docs/versioning.md} +9 -5
- package/website/lib/version.ts +18 -1
- package/website/lib/versions.json +78 -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/_variables.scss +36 -0
- package/website/tailwind.config.ts +93 -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/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 → v0.2.4}/ossa-0.2.4-dev.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 → v0.2.4}/ossa-0.2.4-dev.schema.json +0 -0
- /package/website/content/docs/{examples.md → Examples.md} +0 -0
- /package/website/content/docs/core-concepts/{project-structure.md → Project-Structure.md} +0 -0
- /package/website/content/docs/migration-guides/{00-index.md → 00-INDEX.md} +0 -0
- /package/{docs/migration → website/content/docs/migration-guides}/migration-manifest.json +0 -0
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
openapi: 3.1.0
|
|
2
|
+
info:
|
|
3
|
+
title: Data Processing Worker Agent API
|
|
4
|
+
version: 1.2.0
|
|
5
|
+
description: |
|
|
6
|
+
High-performance worker agent for distributed data processing tasks.
|
|
7
|
+
Executes tasks delegated by orchestrator agents.
|
|
8
|
+
|
|
9
|
+
x-ossa-metadata:
|
|
10
|
+
version: 0.2.5-RC
|
|
11
|
+
compliance:
|
|
12
|
+
level: intermediate
|
|
13
|
+
frameworks:
|
|
14
|
+
- OSSA
|
|
15
|
+
- OpenAPI 3.1
|
|
16
|
+
|
|
17
|
+
x-ossa:
|
|
18
|
+
version: 0.2.5-RC
|
|
19
|
+
agent:
|
|
20
|
+
id: data-processing-worker
|
|
21
|
+
type: worker
|
|
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://worker.platform.com/api/v1
|
|
31
|
+
description: Production
|
|
32
|
+
- url: http://worker:3000/api/v1
|
|
33
|
+
description: Kubernetes internal
|
|
34
|
+
|
|
35
|
+
tags:
|
|
36
|
+
- name: processing
|
|
37
|
+
description: Data processing operations
|
|
38
|
+
- name: tasks
|
|
39
|
+
description: Task management operations
|
|
40
|
+
|
|
41
|
+
paths:
|
|
42
|
+
/process:
|
|
43
|
+
post:
|
|
44
|
+
summary: Process data records
|
|
45
|
+
description: Process a batch of data records with transformation and validation
|
|
46
|
+
operationId: processRecords
|
|
47
|
+
tags: [processing]
|
|
48
|
+
x-ossa-capability: process-records
|
|
49
|
+
x-ossa-autonomy:
|
|
50
|
+
level: autonomous
|
|
51
|
+
approval_required: false
|
|
52
|
+
requestBody:
|
|
53
|
+
required: true
|
|
54
|
+
content:
|
|
55
|
+
application/json:
|
|
56
|
+
schema:
|
|
57
|
+
type: object
|
|
58
|
+
required: [records]
|
|
59
|
+
properties:
|
|
60
|
+
records:
|
|
61
|
+
type: array
|
|
62
|
+
items:
|
|
63
|
+
type: object
|
|
64
|
+
transformation:
|
|
65
|
+
type: object
|
|
66
|
+
description: Transformation rules to apply
|
|
67
|
+
validation:
|
|
68
|
+
type: object
|
|
69
|
+
description: Validation rules
|
|
70
|
+
responses:
|
|
71
|
+
'200':
|
|
72
|
+
description: Processing completed
|
|
73
|
+
content:
|
|
74
|
+
application/json:
|
|
75
|
+
schema:
|
|
76
|
+
type: object
|
|
77
|
+
properties:
|
|
78
|
+
processed:
|
|
79
|
+
type: integer
|
|
80
|
+
failed:
|
|
81
|
+
type: integer
|
|
82
|
+
results:
|
|
83
|
+
type: array
|
|
84
|
+
items:
|
|
85
|
+
type: object
|
|
86
|
+
errors:
|
|
87
|
+
type: array
|
|
88
|
+
items:
|
|
89
|
+
type: object
|
|
90
|
+
|
|
91
|
+
/transform:
|
|
92
|
+
post:
|
|
93
|
+
summary: Transform data
|
|
94
|
+
description: Apply transformation rules to input data
|
|
95
|
+
operationId: transformData
|
|
96
|
+
tags: [processing]
|
|
97
|
+
x-ossa-capability: transform-data
|
|
98
|
+
x-ossa-autonomy:
|
|
99
|
+
level: autonomous
|
|
100
|
+
approval_required: false
|
|
101
|
+
requestBody:
|
|
102
|
+
required: true
|
|
103
|
+
content:
|
|
104
|
+
application/json:
|
|
105
|
+
schema:
|
|
106
|
+
type: object
|
|
107
|
+
required: [data, rules]
|
|
108
|
+
properties:
|
|
109
|
+
data:
|
|
110
|
+
type: object
|
|
111
|
+
rules:
|
|
112
|
+
type: array
|
|
113
|
+
items:
|
|
114
|
+
type: object
|
|
115
|
+
responses:
|
|
116
|
+
'200':
|
|
117
|
+
description: Transformation completed
|
|
118
|
+
content:
|
|
119
|
+
application/json:
|
|
120
|
+
schema:
|
|
121
|
+
type: object
|
|
122
|
+
properties:
|
|
123
|
+
transformed:
|
|
124
|
+
type: object
|
|
125
|
+
metadata:
|
|
126
|
+
type: object
|
|
127
|
+
|
|
128
|
+
/validate:
|
|
129
|
+
post:
|
|
130
|
+
summary: Validate input data
|
|
131
|
+
description: Validate input data against schema and business rules
|
|
132
|
+
operationId: validateInput
|
|
133
|
+
tags: [processing]
|
|
134
|
+
x-ossa-capability: validate-input
|
|
135
|
+
x-ossa-autonomy:
|
|
136
|
+
level: autonomous
|
|
137
|
+
approval_required: false
|
|
138
|
+
requestBody:
|
|
139
|
+
required: true
|
|
140
|
+
content:
|
|
141
|
+
application/json:
|
|
142
|
+
schema:
|
|
143
|
+
type: object
|
|
144
|
+
required: [data, schema]
|
|
145
|
+
properties:
|
|
146
|
+
data:
|
|
147
|
+
type: object
|
|
148
|
+
schema:
|
|
149
|
+
type: object
|
|
150
|
+
rules:
|
|
151
|
+
type: array
|
|
152
|
+
items:
|
|
153
|
+
type: string
|
|
154
|
+
responses:
|
|
155
|
+
'200':
|
|
156
|
+
description: Validation completed
|
|
157
|
+
content:
|
|
158
|
+
application/json:
|
|
159
|
+
schema:
|
|
160
|
+
type: object
|
|
161
|
+
properties:
|
|
162
|
+
valid:
|
|
163
|
+
type: boolean
|
|
164
|
+
errors:
|
|
165
|
+
type: array
|
|
166
|
+
items:
|
|
167
|
+
type: object
|
|
168
|
+
warnings:
|
|
169
|
+
type: array
|
|
170
|
+
items:
|
|
171
|
+
type: string
|
|
172
|
+
|
|
173
|
+
/tasks/{task_id}/status:
|
|
174
|
+
get:
|
|
175
|
+
summary: Get task status
|
|
176
|
+
description: Retrieve the status of an asynchronous task
|
|
177
|
+
operationId: getTaskStatus
|
|
178
|
+
tags: [tasks]
|
|
179
|
+
x-ossa-capability: report-progress
|
|
180
|
+
x-ossa-autonomy:
|
|
181
|
+
level: autonomous
|
|
182
|
+
approval_required: false
|
|
183
|
+
parameters:
|
|
184
|
+
- name: task_id
|
|
185
|
+
in: path
|
|
186
|
+
required: true
|
|
187
|
+
schema:
|
|
188
|
+
type: string
|
|
189
|
+
responses:
|
|
190
|
+
'200':
|
|
191
|
+
description: Task status
|
|
192
|
+
content:
|
|
193
|
+
application/json:
|
|
194
|
+
schema:
|
|
195
|
+
type: object
|
|
196
|
+
properties:
|
|
197
|
+
task_id:
|
|
198
|
+
type: string
|
|
199
|
+
status:
|
|
200
|
+
type: string
|
|
201
|
+
enum: [pending, running, completed, failed]
|
|
202
|
+
progress:
|
|
203
|
+
type: number
|
|
204
|
+
minimum: 0
|
|
205
|
+
maximum: 100
|
|
206
|
+
result:
|
|
207
|
+
type: object
|
|
208
|
+
|
|
@@ -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.5-RC",
|
|
11
4
|
"exports": {
|
|
5
|
+
"./schema": "./spec/v0.2.5-RC/ossa-0.2.5-RC.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": "tsx scripts/sync-versions.ts",
|
|
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,11 +77,11 @@
|
|
|
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",
|
|
74
81
|
"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": "
|
|
82
|
+
"validate:power-suite": "tsx bin/validate-ossa.ts",
|
|
83
|
+
"gen:types": "tsx scripts/gen-types.ts",
|
|
84
|
+
"gen:zod": "tsx scripts/gen-zod.ts",
|
|
78
85
|
"gen:all": "npm run gen:types && npm run gen:zod",
|
|
79
86
|
"cli:legacy": "node cli/bin/ossa --help",
|
|
80
87
|
"prepublishOnly": "npm run clean && npm run build && npm run test && npm run lint"
|
|
@@ -95,10 +102,11 @@
|
|
|
95
102
|
"dependencies": {
|
|
96
103
|
"ajv": "^8.12.0",
|
|
97
104
|
"ajv-formats": "^3.0.1",
|
|
105
|
+
"axios": "^1.12.2",
|
|
98
106
|
"chalk": "^5.6.2",
|
|
99
107
|
"commander": "^11.1.0",
|
|
100
108
|
"glob": "^11.0.3",
|
|
101
|
-
"inversify": "^7.10.
|
|
109
|
+
"inversify": "^7.10.4",
|
|
102
110
|
"openai": "^6.9.1",
|
|
103
111
|
"readline": "^1.3.0",
|
|
104
112
|
"reflect-metadata": "^0.2.2",
|
|
@@ -106,7 +114,9 @@
|
|
|
106
114
|
"zod": "^4.1.11"
|
|
107
115
|
},
|
|
108
116
|
"devDependencies": {
|
|
117
|
+
"@gitbeaker/rest": "^43.8.0",
|
|
109
118
|
"@jest/globals": "^29.7.0",
|
|
119
|
+
"@octokit/rest": "^22.0.1",
|
|
110
120
|
"@semantic-release/changelog": "^6.0.3",
|
|
111
121
|
"@semantic-release/git": "^10.0.1",
|
|
112
122
|
"@semantic-release/gitlab": "^13.2.9",
|
|
@@ -114,9 +124,8 @@
|
|
|
114
124
|
"@types/node": "^20.19.19",
|
|
115
125
|
"@types/pg": "^8.15.5",
|
|
116
126
|
"@types/redis": "^4.0.10",
|
|
117
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
118
|
-
"@typescript-eslint/parser": "^
|
|
119
|
-
"axios": "^1.12.2",
|
|
127
|
+
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
|
128
|
+
"@typescript-eslint/parser": "^8.48.0",
|
|
120
129
|
"eslint": "^8.57.1",
|
|
121
130
|
"eslint-config-prettier": "^10.1.8",
|
|
122
131
|
"eslint-plugin-prettier": "^5.5.4",
|
|
@@ -127,6 +136,7 @@
|
|
|
127
136
|
"semantic-release": "^25.0.1",
|
|
128
137
|
"ts-jest": "^29.4.4",
|
|
129
138
|
"ts-node": "^10.9.2",
|
|
139
|
+
"tsx": "^4.20.6",
|
|
130
140
|
"typescript": "^5.9.3"
|
|
131
141
|
}
|
|
132
142
|
}
|
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,57 @@
|
|
|
1
|
+
#!/usr/bin/env tsx
|
|
2
|
+
import fs from 'fs';
|
|
3
|
+
import path from 'path';
|
|
4
|
+
import { execSync } from 'child_process';
|
|
5
|
+
|
|
6
|
+
const VERSION_FILE = path.join(process.cwd(), '.version.json');
|
|
7
|
+
const versionConfig = JSON.parse(fs.readFileSync(VERSION_FILE, 'utf-8'));
|
|
8
|
+
|
|
9
|
+
const type = process.argv[2] || 'patch'; // major, minor, patch, rc
|
|
10
|
+
|
|
11
|
+
function bumpVersion(current: string, type: string): string {
|
|
12
|
+
const rcMatch = current.match(/^(\d+)\.(\d+)\.(\d+)-RC$/);
|
|
13
|
+
if (rcMatch) {
|
|
14
|
+
if (type === 'release') {
|
|
15
|
+
return `${rcMatch[1]}.${rcMatch[2]}.${rcMatch[3]}`;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const match = current.match(/^(\d+)\.(\d+)\.(\d+)$/);
|
|
20
|
+
if (!match) throw new Error(`Invalid version: ${current}`);
|
|
21
|
+
|
|
22
|
+
let [, major, minor, patch] = match.map(Number);
|
|
23
|
+
|
|
24
|
+
switch (type) {
|
|
25
|
+
case 'major':
|
|
26
|
+
return `${major + 1}.0.0`;
|
|
27
|
+
case 'minor':
|
|
28
|
+
return `${major}.${minor + 1}.0`;
|
|
29
|
+
case 'patch':
|
|
30
|
+
return `${major}.${minor}.${patch + 1}`;
|
|
31
|
+
case 'rc':
|
|
32
|
+
return `${major}.${minor}.${patch + 1}-RC`;
|
|
33
|
+
default:
|
|
34
|
+
throw new Error(`Unknown bump type: ${type}`);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
const newVersion = bumpVersion(versionConfig.current, type);
|
|
39
|
+
versionConfig.latest_stable = versionConfig.current.replace('-RC', '');
|
|
40
|
+
versionConfig.current = newVersion;
|
|
41
|
+
|
|
42
|
+
fs.writeFileSync(VERSION_FILE, JSON.stringify(versionConfig, null, 2) + '\n');
|
|
43
|
+
|
|
44
|
+
// Create spec directory
|
|
45
|
+
const specDir = path.join(process.cwd(), 'spec', `v${newVersion}`);
|
|
46
|
+
if (!fs.existsSync(specDir)) {
|
|
47
|
+
fs.mkdirSync(specDir, { recursive: true });
|
|
48
|
+
console.log(`✅ Created spec directory: ${specDir}`);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Run sync
|
|
52
|
+
execSync('npm run version:sync', { stdio: 'inherit' });
|
|
53
|
+
|
|
54
|
+
console.log(`✅ Bumped version: ${versionConfig.current} → ${newVersion}`);
|
|
55
|
+
console.log(`\nNext steps:`);
|
|
56
|
+
console.log(`1. Update schema: spec/v${newVersion}/ossa-${newVersion}.schema.json`);
|
|
57
|
+
console.log(`2. Commit: git add . && git commit -m "chore: bump version to ${newVersion}"`);
|