@bluefly/openstandardagents 0.2.9 ā 0.3.0
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/CHANGELOG.md +1766 -212
- package/README.md +517 -168
- package/bin/ossa-generate +9 -16
- package/bin/quickstart +514 -0
- package/dist/adapters/anthropic/client.d.ts +144 -0
- package/dist/adapters/anthropic/client.d.ts.map +1 -0
- package/dist/adapters/anthropic/client.js +364 -0
- package/dist/adapters/anthropic/client.js.map +1 -0
- package/dist/adapters/anthropic/config.d.ts +149 -0
- package/dist/adapters/anthropic/config.d.ts.map +1 -0
- package/dist/adapters/anthropic/config.js +157 -0
- package/dist/adapters/anthropic/config.js.map +1 -0
- package/dist/adapters/anthropic/index.d.ts +40 -0
- package/dist/adapters/anthropic/index.d.ts.map +1 -0
- package/dist/adapters/anthropic/index.js +40 -0
- package/dist/adapters/anthropic/index.js.map +1 -0
- package/dist/adapters/anthropic/messages.d.ts +93 -0
- package/dist/adapters/anthropic/messages.d.ts.map +1 -0
- package/dist/adapters/anthropic/messages.js +318 -0
- package/dist/adapters/anthropic/messages.js.map +1 -0
- package/dist/adapters/anthropic/runtime.d.ts +136 -0
- package/dist/adapters/anthropic/runtime.d.ts.map +1 -0
- package/dist/adapters/anthropic/runtime.js +287 -0
- package/dist/adapters/anthropic/runtime.js.map +1 -0
- package/dist/adapters/anthropic/tools.d.ts +126 -0
- package/dist/adapters/anthropic/tools.d.ts.map +1 -0
- package/dist/adapters/anthropic/tools.js +329 -0
- package/dist/adapters/anthropic/tools.js.map +1 -0
- package/dist/adapters/crewai-adapter.d.ts +57 -0
- package/dist/adapters/crewai-adapter.d.ts.map +1 -0
- package/dist/adapters/crewai-adapter.js +164 -0
- package/dist/adapters/crewai-adapter.js.map +1 -0
- package/dist/adapters/drupal/index.d.ts +109 -0
- package/dist/adapters/drupal/index.d.ts.map +1 -0
- package/dist/adapters/drupal/index.js +292 -0
- package/dist/adapters/drupal/index.js.map +1 -0
- package/dist/adapters/langchain-adapter.d.ts +45 -0
- package/dist/adapters/langchain-adapter.d.ts.map +1 -0
- package/dist/adapters/langchain-adapter.js +133 -0
- package/dist/adapters/langchain-adapter.js.map +1 -0
- package/dist/adapters/langflow-adapter.d.ts +50 -0
- package/dist/adapters/langflow-adapter.d.ts.map +1 -0
- package/dist/adapters/langflow-adapter.js +232 -0
- package/dist/adapters/langflow-adapter.js.map +1 -0
- package/dist/adapters/openapi-adapter.d.ts +93 -0
- package/dist/adapters/openapi-adapter.d.ts.map +1 -0
- package/dist/adapters/openapi-adapter.js +311 -0
- package/dist/adapters/openapi-adapter.js.map +1 -0
- package/dist/adapters/symfony/index.d.ts +163 -0
- package/dist/adapters/symfony/index.d.ts.map +1 -0
- package/dist/adapters/symfony/index.js +271 -0
- package/dist/adapters/symfony/index.js.map +1 -0
- package/dist/cli/commands/agents-md.command.d.ts +7 -0
- package/dist/cli/commands/agents-md.command.d.ts.map +1 -0
- package/dist/cli/commands/agents-md.command.js +148 -0
- package/dist/cli/commands/agents-md.command.js.map +1 -0
- package/dist/cli/commands/contract.command.d.ts +10 -0
- package/dist/cli/commands/contract.command.d.ts.map +1 -0
- package/dist/cli/commands/contract.command.js +402 -0
- package/dist/cli/commands/contract.command.js.map +1 -0
- package/dist/cli/commands/dependencies.command.d.ts +10 -0
- package/dist/cli/commands/dependencies.command.d.ts.map +1 -0
- package/dist/cli/commands/dependencies.command.js +318 -0
- package/dist/cli/commands/dependencies.command.js.map +1 -0
- package/dist/cli/commands/deploy.command.d.ts +4 -0
- package/dist/cli/commands/deploy.command.d.ts.map +1 -0
- package/dist/cli/commands/deploy.command.js +172 -0
- package/dist/cli/commands/deploy.command.js.map +1 -0
- package/dist/cli/commands/deploy.d.ts +22 -0
- package/dist/cli/commands/deploy.d.ts.map +1 -0
- package/dist/cli/commands/deploy.js +319 -0
- package/dist/cli/commands/deploy.js.map +1 -0
- package/dist/cli/commands/export.command.d.ts +7 -0
- package/dist/cli/commands/export.command.d.ts.map +1 -0
- package/dist/cli/commands/export.command.js +56 -0
- package/dist/cli/commands/export.command.js.map +1 -0
- package/dist/cli/commands/generate.command.d.ts +7 -0
- package/dist/cli/commands/generate.command.d.ts.map +1 -0
- package/dist/cli/commands/generate.command.js +66 -0
- package/dist/cli/commands/generate.command.js.map +1 -0
- package/dist/cli/commands/github-sync.command.d.ts +3 -0
- package/dist/cli/commands/github-sync.command.d.ts.map +1 -0
- package/dist/cli/commands/github-sync.command.js +51 -0
- package/dist/cli/commands/github-sync.command.js.map +1 -0
- package/dist/cli/commands/gitlab-agent.command.d.ts +8 -0
- package/dist/cli/commands/gitlab-agent.command.d.ts.map +1 -0
- package/dist/cli/commands/gitlab-agent.command.js +201 -0
- package/dist/cli/commands/gitlab-agent.command.js.map +1 -0
- package/dist/cli/commands/import.command.d.ts +7 -0
- package/dist/cli/commands/import.command.d.ts.map +1 -0
- package/dist/cli/commands/import.command.js +36 -0
- package/dist/cli/commands/import.command.js.map +1 -0
- package/dist/cli/commands/info.command.d.ts +3 -0
- package/dist/cli/commands/info.command.d.ts.map +1 -0
- package/dist/cli/commands/info.command.js +45 -0
- package/dist/cli/commands/info.command.js.map +1 -0
- package/dist/cli/commands/init.command.d.ts +7 -0
- package/dist/cli/commands/init.command.d.ts.map +1 -0
- package/dist/cli/commands/init.command.js +139 -0
- package/dist/cli/commands/init.command.js.map +1 -0
- package/dist/cli/commands/install.command.d.ts +3 -0
- package/dist/cli/commands/install.command.d.ts.map +1 -0
- package/dist/cli/commands/install.command.js +44 -0
- package/dist/cli/commands/install.command.js.map +1 -0
- package/dist/cli/commands/migrate.command.d.ts +22 -0
- package/dist/cli/commands/migrate.command.d.ts.map +1 -0
- package/dist/cli/commands/migrate.command.js +157 -0
- package/dist/cli/commands/migrate.command.js.map +1 -0
- package/dist/cli/commands/publish.command.d.ts +3 -0
- package/dist/cli/commands/publish.command.d.ts.map +1 -0
- package/dist/cli/commands/publish.command.js +76 -0
- package/dist/cli/commands/publish.command.js.map +1 -0
- package/dist/cli/commands/quickstart.command.d.ts +10 -0
- package/dist/cli/commands/quickstart.command.d.ts.map +1 -0
- package/dist/cli/commands/quickstart.command.js +257 -0
- package/dist/cli/commands/quickstart.command.js.map +1 -0
- package/dist/cli/commands/release.command.d.ts +8 -0
- package/dist/cli/commands/release.command.d.ts.map +1 -0
- package/dist/cli/commands/release.command.js +641 -0
- package/dist/cli/commands/release.command.js.map +1 -0
- package/dist/cli/commands/run.command.d.ts +7 -0
- package/dist/cli/commands/run.command.d.ts.map +1 -0
- package/dist/cli/commands/run.command.js +125 -0
- package/dist/cli/commands/run.command.js.map +1 -0
- package/dist/cli/commands/schema.command.d.ts +7 -0
- package/dist/cli/commands/schema.command.d.ts.map +1 -0
- package/dist/cli/commands/schema.command.js +76 -0
- package/dist/cli/commands/schema.command.js.map +1 -0
- package/dist/cli/commands/search.command.d.ts +3 -0
- package/dist/cli/commands/search.command.d.ts.map +1 -0
- package/dist/cli/commands/search.command.js +45 -0
- package/dist/cli/commands/search.command.js.map +1 -0
- package/dist/cli/commands/setup.command.d.ts +11 -0
- package/dist/cli/commands/setup.command.d.ts.map +1 -0
- package/dist/cli/commands/setup.command.js +350 -0
- package/dist/cli/commands/setup.command.js.map +1 -0
- package/dist/cli/commands/sync.command.d.ts +3 -0
- package/dist/cli/commands/sync.command.d.ts.map +1 -0
- package/dist/cli/commands/sync.command.js +51 -0
- package/dist/cli/commands/sync.command.js.map +1 -0
- package/dist/cli/commands/test.command.d.ts +3 -0
- package/dist/cli/commands/test.command.d.ts.map +1 -0
- package/dist/cli/commands/test.command.js +91 -0
- package/dist/cli/commands/test.command.js.map +1 -0
- package/dist/cli/commands/validate.command.d.ts +7 -0
- package/dist/cli/commands/validate.command.d.ts.map +1 -0
- package/dist/cli/commands/validate.command.js +143 -0
- package/dist/cli/commands/validate.command.js.map +1 -0
- package/dist/cli/index.d.ts +7 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +148 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/utils/error-formatter.d.ts +19 -0
- package/dist/cli/utils/error-formatter.d.ts.map +1 -0
- package/dist/cli/utils/error-formatter.js +330 -0
- package/dist/cli/utils/error-formatter.js.map +1 -0
- package/dist/deploy/base-driver.d.ts +39 -0
- package/dist/deploy/base-driver.d.ts.map +1 -0
- package/dist/deploy/base-driver.js +63 -0
- package/dist/deploy/base-driver.js.map +1 -0
- package/dist/deploy/docker-driver.d.ts +32 -0
- package/dist/deploy/docker-driver.d.ts.map +1 -0
- package/dist/deploy/docker-driver.js +246 -0
- package/dist/deploy/docker-driver.js.map +1 -0
- package/dist/deploy/index.d.ts +15 -0
- package/dist/deploy/index.d.ts.map +1 -0
- package/dist/deploy/index.js +28 -0
- package/dist/deploy/index.js.map +1 -0
- package/dist/deploy/k8s-driver.d.ts +40 -0
- package/dist/deploy/k8s-driver.d.ts.map +1 -0
- package/dist/deploy/k8s-driver.js +372 -0
- package/dist/deploy/k8s-driver.js.map +1 -0
- package/dist/deploy/local-driver.d.ts +20 -0
- package/dist/deploy/local-driver.d.ts.map +1 -0
- package/dist/deploy/local-driver.js +150 -0
- package/dist/deploy/local-driver.js.map +1 -0
- package/dist/deploy/types.d.ts +103 -0
- package/dist/deploy/types.d.ts.map +1 -0
- package/dist/deploy/types.js +6 -0
- package/dist/deploy/types.js.map +1 -0
- package/dist/di-container.d.ts.map +1 -1
- package/dist/di-container.js +14 -0
- package/dist/di-container.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/mesh/client.d.ts +144 -0
- package/dist/mesh/client.d.ts.map +1 -0
- package/dist/mesh/client.js +424 -0
- package/dist/mesh/client.js.map +1 -0
- package/dist/mesh/discovery.d.ts +176 -0
- package/dist/mesh/discovery.d.ts.map +1 -0
- package/dist/mesh/discovery.js +288 -0
- package/dist/mesh/discovery.js.map +1 -0
- package/dist/mesh/index.d.ts +89 -0
- package/dist/mesh/index.d.ts.map +1 -0
- package/dist/mesh/index.js +92 -0
- package/dist/mesh/index.js.map +1 -0
- package/dist/mesh/routing.d.ts +158 -0
- package/dist/mesh/routing.d.ts.map +1 -0
- package/dist/mesh/routing.js +360 -0
- package/dist/mesh/routing.js.map +1 -0
- package/dist/mesh/types.d.ts +439 -0
- package/dist/mesh/types.d.ts.map +1 -0
- package/dist/mesh/types.js +6 -0
- package/dist/mesh/types.js.map +1 -0
- package/dist/messaging/broker.d.ts +76 -0
- package/dist/messaging/broker.d.ts.map +1 -0
- package/dist/messaging/broker.js +145 -0
- package/dist/messaging/broker.js.map +1 -0
- package/dist/messaging/channels.d.ts +70 -0
- package/dist/messaging/channels.d.ts.map +1 -0
- package/dist/messaging/channels.js +183 -0
- package/dist/messaging/channels.js.map +1 -0
- package/dist/messaging/index.d.ts +10 -0
- package/dist/messaging/index.d.ts.map +1 -0
- package/dist/messaging/index.js +10 -0
- package/dist/messaging/index.js.map +1 -0
- package/dist/messaging/protocols/memory.d.ts +83 -0
- package/dist/messaging/protocols/memory.d.ts.map +1 -0
- package/dist/messaging/protocols/memory.js +293 -0
- package/dist/messaging/protocols/memory.js.map +1 -0
- package/dist/messaging/protocols/redis.d.ts +83 -0
- package/dist/messaging/protocols/redis.d.ts.map +1 -0
- package/dist/messaging/protocols/redis.js +223 -0
- package/dist/messaging/protocols/redis.js.map +1 -0
- package/dist/messaging/types.d.ts +180 -0
- package/dist/messaging/types.d.ts.map +1 -0
- package/dist/messaging/types.js +6 -0
- package/dist/messaging/types.js.map +1 -0
- package/dist/repositories/manifest.repository.d.ts +1 -1
- package/dist/repositories/manifest.repository.d.ts.map +1 -1
- package/dist/repositories/manifest.repository.js +7 -6
- package/dist/repositories/manifest.repository.js.map +1 -1
- package/dist/repositories/schema.repository.d.ts +4 -0
- package/dist/repositories/schema.repository.d.ts.map +1 -1
- package/dist/repositories/schema.repository.js +10 -3
- package/dist/repositories/schema.repository.js.map +1 -1
- package/dist/sdk/events/cloudevents-emitter.d.ts +56 -0
- package/dist/sdk/events/cloudevents-emitter.d.ts.map +1 -0
- package/dist/sdk/events/cloudevents-emitter.js +101 -0
- package/dist/sdk/events/cloudevents-emitter.js.map +1 -0
- package/dist/sdk/events/index.d.ts +2 -0
- package/dist/sdk/events/index.d.ts.map +1 -0
- package/dist/sdk/events/index.js +2 -0
- package/dist/sdk/events/index.js.map +1 -0
- package/dist/sdk/tracing/index.d.ts +2 -0
- package/dist/sdk/tracing/index.d.ts.map +1 -0
- package/dist/sdk/tracing/index.js +2 -0
- package/dist/sdk/tracing/index.js.map +1 -0
- package/dist/sdk/tracing/w3c-baggage.d.ts +40 -0
- package/dist/sdk/tracing/w3c-baggage.d.ts.map +1 -0
- package/dist/sdk/tracing/w3c-baggage.js +148 -0
- package/dist/sdk/tracing/w3c-baggage.js.map +1 -0
- package/dist/services/agent-services/qdrant.service.d.ts +60 -0
- package/dist/services/agent-services/qdrant.service.d.ts.map +1 -0
- package/dist/services/agent-services/qdrant.service.js +168 -0
- package/dist/services/agent-services/qdrant.service.js.map +1 -0
- package/dist/services/agents-md/agents-md.service.d.ts +61 -0
- package/dist/services/agents-md/agents-md.service.d.ts.map +1 -0
- package/dist/services/agents-md/agents-md.service.js +348 -0
- package/dist/services/agents-md/agents-md.service.js.map +1 -0
- package/dist/services/deployment/deployment.service.d.ts +19 -0
- package/dist/services/deployment/deployment.service.d.ts.map +1 -0
- package/dist/services/deployment/deployment.service.js +87 -0
- package/dist/services/deployment/deployment.service.js.map +1 -0
- package/dist/services/generation.service.d.ts +3 -1
- package/dist/services/generation.service.d.ts.map +1 -1
- package/dist/services/generation.service.js +34 -68
- package/dist/services/generation.service.js.map +1 -1
- package/dist/services/github-sync/github-client.js +2 -2
- package/dist/services/github-sync/github-client.js.map +1 -1
- package/dist/services/github-sync/schemas.d.ts +1 -1
- package/dist/services/github-sync/schemas.d.ts.map +1 -1
- package/dist/services/github-sync/schemas.js.map +1 -1
- package/dist/services/github-sync/sync.service.d.ts.map +1 -1
- package/dist/services/github-sync/sync.service.js +4 -2
- package/dist/services/github-sync/sync.service.js.map +1 -1
- package/dist/services/gitlab-agent.service.d.ts.map +1 -1
- package/dist/services/gitlab-agent.service.js +3 -1
- package/dist/services/gitlab-agent.service.js.map +1 -1
- package/dist/services/messaging/example.d.ts +6 -0
- package/dist/services/messaging/example.d.ts.map +1 -0
- package/dist/services/messaging/example.js +260 -0
- package/dist/services/messaging/example.js.map +1 -0
- package/dist/services/messaging/index.d.ts +81 -0
- package/dist/services/messaging/index.d.ts.map +1 -0
- package/dist/services/messaging/index.js +85 -0
- package/dist/services/messaging/index.js.map +1 -0
- package/dist/services/messaging/memory-broker.d.ts +103 -0
- package/dist/services/messaging/memory-broker.d.ts.map +1 -0
- package/dist/services/messaging/memory-broker.js +435 -0
- package/dist/services/messaging/memory-broker.js.map +1 -0
- package/dist/services/messaging/messaging.service.d.ts +150 -0
- package/dist/services/messaging/messaging.service.d.ts.map +1 -0
- package/dist/services/messaging/messaging.service.js +456 -0
- package/dist/services/messaging/messaging.service.js.map +1 -0
- package/dist/services/messaging/messaging.types.d.ts +319 -0
- package/dist/services/messaging/messaging.types.d.ts.map +1 -0
- package/dist/services/messaging/messaging.types.js +68 -0
- package/dist/services/messaging/messaging.types.js.map +1 -0
- package/dist/services/migration.service.d.ts +45 -4
- package/dist/services/migration.service.d.ts.map +1 -1
- package/dist/services/migration.service.js +248 -31
- package/dist/services/migration.service.js.map +1 -1
- package/dist/services/registry/registry.service.d.ts +39 -0
- package/dist/services/registry/registry.service.d.ts.map +1 -0
- package/dist/services/registry/registry.service.js +169 -0
- package/dist/services/registry/registry.service.js.map +1 -0
- package/dist/services/release-automation/base-crud.service.d.ts.map +1 -1
- package/dist/services/release-automation/base-crud.service.js.map +1 -1
- package/dist/services/release-automation/merge-request.service.d.ts.map +1 -1
- package/dist/services/release-automation/merge-request.service.js +4 -4
- package/dist/services/release-automation/merge-request.service.js.map +1 -1
- package/dist/services/release-automation/milestone.service.d.ts.map +1 -1
- package/dist/services/release-automation/milestone.service.js.map +1 -1
- package/dist/services/release-automation/release.service.d.ts +4 -4
- package/dist/services/release-automation/release.service.d.ts.map +1 -1
- package/dist/services/release-automation/release.service.js +1 -3
- package/dist/services/release-automation/release.service.js.map +1 -1
- package/dist/services/release-automation/schemas/release.schema.d.ts +3 -3
- package/dist/services/release-automation/schemas/release.schema.d.ts.map +1 -1
- package/dist/services/release-automation/schemas/release.schema.js +11 -23
- package/dist/services/release-automation/schemas/release.schema.js.map +1 -1
- package/dist/services/release-automation/tag.service.d.ts.map +1 -1
- package/dist/services/release-automation/tag.service.js +4 -1
- package/dist/services/release-automation/tag.service.js.map +1 -1
- package/dist/services/release-automation/webhook.service.d.ts +2 -2
- package/dist/services/release-automation/webhook.service.d.ts.map +1 -1
- package/dist/services/release-automation/webhook.service.js +27 -14
- package/dist/services/release-automation/webhook.service.js.map +1 -1
- package/dist/services/runtime/anthropic.adapter.d.ts +145 -0
- package/dist/services/runtime/anthropic.adapter.d.ts.map +1 -0
- package/dist/services/runtime/anthropic.adapter.js +525 -0
- package/dist/services/runtime/anthropic.adapter.js.map +1 -0
- package/dist/services/runtime/azure.adapter.d.ts +389 -0
- package/dist/services/runtime/azure.adapter.d.ts.map +1 -0
- package/dist/services/runtime/azure.adapter.js +515 -0
- package/dist/services/runtime/azure.adapter.js.map +1 -0
- package/dist/services/runtime/bedrock.adapter.d.ts +170 -0
- package/dist/services/runtime/bedrock.adapter.d.ts.map +1 -0
- package/dist/services/runtime/bedrock.adapter.js +667 -0
- package/dist/services/runtime/bedrock.adapter.js.map +1 -0
- package/dist/services/runtime/claude/capability-mapper.d.ts.map +1 -1
- package/dist/services/runtime/claude/capability-mapper.js.map +1 -1
- package/dist/services/runtime/claude/claude-adapter.d.ts.map +1 -1
- package/dist/services/runtime/claude/claude-adapter.js +3 -7
- package/dist/services/runtime/claude/claude-adapter.js.map +1 -1
- package/dist/services/runtime/claude/manifest-parser.d.ts.map +1 -1
- package/dist/services/runtime/claude/manifest-parser.js +2 -2
- package/dist/services/runtime/claude/manifest-parser.js.map +1 -1
- package/dist/services/runtime/gemini.adapter.d.ts +190 -0
- package/dist/services/runtime/gemini.adapter.d.ts.map +1 -0
- package/dist/services/runtime/gemini.adapter.js +603 -0
- package/dist/services/runtime/gemini.adapter.js.map +1 -0
- package/dist/services/runtime/mistral.adapter.d.ts +201 -0
- package/dist/services/runtime/mistral.adapter.d.ts.map +1 -0
- package/dist/services/runtime/mistral.adapter.js +654 -0
- package/dist/services/runtime/mistral.adapter.js.map +1 -0
- package/dist/services/runtime/ollama.adapter.d.ts +187 -0
- package/dist/services/runtime/ollama.adapter.d.ts.map +1 -0
- package/dist/services/runtime/ollama.adapter.js +525 -0
- package/dist/services/runtime/ollama.adapter.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/test-runner/test-runner.service.d.ts +21 -0
- package/dist/services/test-runner/test-runner.service.d.ts.map +1 -0
- package/dist/services/test-runner/test-runner.service.js +91 -0
- package/dist/services/test-runner/test-runner.service.js.map +1 -0
- package/dist/services/validation.service.d.ts.map +1 -1
- package/dist/services/validation.service.js +38 -13
- package/dist/services/validation.service.js.map +1 -1
- package/dist/services/validators/anthropic.validator.d.ts.map +1 -1
- package/dist/services/validators/anthropic.validator.js +2 -5
- package/dist/services/validators/anthropic.validator.js.map +1 -1
- package/dist/services/validators/autogen.validator.d.ts.map +1 -1
- package/dist/services/validators/autogen.validator.js +1 -2
- package/dist/services/validators/autogen.validator.js.map +1 -1
- package/dist/services/validators/contract.validator.d.ts +90 -0
- package/dist/services/validators/contract.validator.d.ts.map +1 -0
- package/dist/services/validators/contract.validator.js +508 -0
- package/dist/services/validators/contract.validator.js.map +1 -0
- package/dist/services/validators/crewai.validator.d.ts.map +1 -1
- package/dist/services/validators/crewai.validator.js.map +1 -1
- package/dist/services/validators/cursor.validator.d.ts.map +1 -1
- package/dist/services/validators/cursor.validator.js.map +1 -1
- package/dist/services/validators/dependencies.validator.d.ts +104 -0
- package/dist/services/validators/dependencies.validator.d.ts.map +1 -0
- package/dist/services/validators/dependencies.validator.js +386 -0
- package/dist/services/validators/dependencies.validator.js.map +1 -0
- package/dist/services/validators/index.d.ts +1 -0
- package/dist/services/validators/index.d.ts.map +1 -1
- package/dist/services/validators/index.js +1 -0
- package/dist/services/validators/index.js.map +1 -1
- package/dist/services/validators/langchain.validator.d.ts.map +1 -1
- package/dist/services/validators/langchain.validator.js +4 -13
- package/dist/services/validators/langchain.validator.js.map +1 -1
- package/dist/services/validators/langflow.validator.d.ts.map +1 -1
- package/dist/services/validators/langflow.validator.js +1 -2
- package/dist/services/validators/langflow.validator.js.map +1 -1
- package/dist/services/validators/langgraph.validator.d.ts.map +1 -1
- package/dist/services/validators/langgraph.validator.js +1 -2
- package/dist/services/validators/langgraph.validator.js.map +1 -1
- package/dist/services/validators/llamaindex.validator.d.ts.map +1 -1
- package/dist/services/validators/llamaindex.validator.js +4 -13
- package/dist/services/validators/llamaindex.validator.js.map +1 -1
- package/dist/services/validators/messaging.validator.d.ts +77 -0
- package/dist/services/validators/messaging.validator.d.ts.map +1 -0
- package/dist/services/validators/messaging.validator.js +296 -0
- package/dist/services/validators/messaging.validator.js.map +1 -0
- package/dist/services/validators/openai.validator.d.ts.map +1 -1
- package/dist/services/validators/openai.validator.js +1 -6
- package/dist/services/validators/openai.validator.js.map +1 -1
- package/dist/services/validators/vercel-ai.validator.d.ts.map +1 -1
- package/dist/services/validators/vercel-ai.validator.js +1 -3
- package/dist/services/validators/vercel-ai.validator.js.map +1 -1
- package/dist/spec/extensions/a2a-messaging.md +471 -0
- package/dist/spec/extensions/manifest-extensions.md +550 -0
- package/dist/spec/registry/README.md +472 -0
- package/dist/spec/registry/openapi.yaml +1124 -0
- package/dist/spec/registry/registry-api.schema.json +731 -0
- package/dist/spec/registry/registry-spec.md +2239 -0
- package/dist/spec/schema/agent-test.schema.json +117 -0
- package/dist/spec/schema/components/activity-stream.schema.json +94 -0
- package/dist/spec/schema/components/constraints.schema.json +84 -0
- package/dist/spec/schema/components/dependencies.schema.json +147 -0
- package/dist/spec/schema/components/encryption.schema.json +115 -0
- package/dist/spec/schema/components/identity.schema.json +48 -0
- package/dist/spec/schema/components/index.json +37 -0
- package/dist/spec/schema/components/llm-config.schema.json +67 -0
- package/dist/spec/schema/components/metadata.schema.json +37 -0
- package/dist/spec/schema/components/tool.schema.json +64 -0
- package/dist/spec/schema/extensions/a2a.extension.schema.json +127 -0
- package/dist/spec/v0.2.8/ossa-0.2.8.schema.json +95 -1
- package/dist/spec/v0.3.0/UNIFIED-SCHEMA.md +120 -0
- package/dist/spec/v0.3.0/adapters/drupal.md +541 -0
- package/dist/spec/v0.3.0/adapters/symfony.md +659 -0
- package/dist/spec/v0.3.0/agent-test.schema.json +75 -0
- package/dist/spec/v0.3.0/examples/drupal-content-writer.ossa.yaml +110 -0
- package/dist/spec/v0.3.0/examples/drupal-moderation-assistant.ossa.yaml +96 -0
- package/dist/spec/v0.3.0/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +144 -0
- package/dist/spec/v0.3.0/extensions/drupal.md +417 -0
- package/dist/spec/v0.3.0/ossa-0.3.0.schema.json +2787 -0
- package/dist/spec/v0.3.0/protocols/sse.md +494 -0
- package/dist/spec/v0.3.0/protocols/webrtc.md +600 -0
- package/dist/spec/v0.3.0/protocols/websocket.md +362 -0
- package/dist/spec/v0.3.0/schemas/agent-unified.yaml +165 -0
- package/dist/spec/v0.3.0/schemas/capabilities.yaml +102 -0
- package/dist/spec/v0.3.0/schemas/functions.yaml +75 -0
- package/dist/spec/v0.3.0/schemas/messaging/channel.schema.json +245 -0
- package/dist/spec/v0.3.0/schemas/messaging/delivery-receipt.schema.json +192 -0
- package/dist/spec/v0.3.0/schemas/messaging/message.schema.json +205 -0
- package/dist/spec/v0.3.0/schemas/messaging/subscription.schema.json +214 -0
- package/dist/spec/v0.3.0/schemas/runtime.yaml +102 -0
- package/dist/spec/v0.3.0/schemas/taxonomy.yaml +533 -0
- package/dist/spec/v0.3.0/schemas/unified-llm.yaml +91 -0
- package/dist/spec/v0.3.0/taxonomy.yaml +256 -0
- package/dist/testing/fixtures.d.ts +61 -0
- package/dist/testing/fixtures.d.ts.map +1 -0
- package/dist/testing/fixtures.js +291 -0
- package/dist/testing/fixtures.js.map +1 -0
- package/dist/testing/index.d.ts +10 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +10 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/testing/reporters/base.d.ts +24 -0
- package/dist/testing/reporters/base.d.ts.map +1 -0
- package/dist/testing/reporters/base.js +5 -0
- package/dist/testing/reporters/base.js.map +1 -0
- package/dist/testing/reporters/console.d.ts +18 -0
- package/dist/testing/reporters/console.d.ts.map +1 -0
- package/dist/testing/reporters/console.js +76 -0
- package/dist/testing/reporters/console.js.map +1 -0
- package/dist/testing/reporters/json.d.ts +29 -0
- package/dist/testing/reporters/json.d.ts.map +1 -0
- package/dist/testing/reporters/json.js +40 -0
- package/dist/testing/reporters/json.js.map +1 -0
- package/dist/testing/runner.d.ts +96 -0
- package/dist/testing/runner.d.ts.map +1 -0
- package/dist/testing/runner.js +401 -0
- package/dist/testing/runner.js.map +1 -0
- package/dist/transports/index.d.ts +8 -0
- package/dist/transports/index.d.ts.map +1 -0
- package/dist/transports/index.js +11 -0
- package/dist/transports/index.js.map +1 -0
- package/dist/transports/sse.d.ts +166 -0
- package/dist/transports/sse.d.ts.map +1 -0
- package/dist/transports/sse.js +309 -0
- package/dist/transports/sse.js.map +1 -0
- package/dist/transports/webrtc.d.ts +183 -0
- package/dist/transports/webrtc.d.ts.map +1 -0
- package/dist/transports/webrtc.js +478 -0
- package/dist/transports/webrtc.js.map +1 -0
- package/dist/transports/websocket.d.ts +204 -0
- package/dist/transports/websocket.d.ts.map +1 -0
- package/dist/transports/websocket.js +397 -0
- package/dist/transports/websocket.js.map +1 -0
- package/dist/types/generated/ossa-0.3.0.types.d.ts +316 -0
- package/dist/types/generated/ossa-0.3.0.types.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.0.types.js +8 -0
- package/dist/types/generated/ossa-0.3.0.types.js.map +1 -0
- package/dist/types/generated/ossa-0.3.0.zod.d.ts +17 -0
- package/dist/types/generated/ossa-0.3.0.zod.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.0.zod.js +3 -0
- package/dist/types/generated/ossa-0.3.0.zod.js.map +1 -0
- package/dist/types/index.d.ts +124 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +8 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/messaging.d.ts +116 -0
- package/dist/types/messaging.d.ts.map +1 -0
- package/dist/types/messaging.js +6 -0
- package/dist/types/messaging.js.map +1 -0
- package/dist/types/policy.d.ts.map +1 -1
- package/dist/types/policy.js.map +1 -1
- package/dist/types/task.d.ts +222 -0
- package/dist/types/task.d.ts.map +1 -0
- package/dist/types/task.js +40 -0
- package/dist/types/task.js.map +1 -0
- package/dist/types/workflow.d.ts +283 -0
- package/dist/types/workflow.d.ts.map +1 -0
- package/dist/types/workflow.js +51 -0
- package/dist/types/workflow.js.map +1 -0
- package/dist/utils/path-validator.d.ts +24 -0
- package/dist/utils/path-validator.d.ts.map +1 -0
- package/dist/utils/path-validator.js +70 -0
- package/dist/utils/path-validator.js.map +1 -0
- package/dist/utils/version.d.ts +17 -8
- package/dist/utils/version.d.ts.map +1 -1
- package/dist/utils/version.js +84 -30
- package/dist/utils/version.js.map +1 -1
- package/dist/utils/yaml-parser.d.ts +23 -0
- package/dist/utils/yaml-parser.d.ts.map +1 -0
- package/dist/utils/yaml-parser.js +34 -0
- package/dist/utils/yaml-parser.js.map +1 -0
- package/examples/adapters/drupal-eca-mapping.yaml +153 -0
- package/examples/adapters/drupal-eca-task.yaml +48 -0
- package/examples/adapters/drupal-flowdrop-mapping.yaml +463 -0
- package/examples/adapters/drupal-maestro-mapping.yaml +369 -0
- package/examples/adapters/mistral-README.md +367 -0
- package/examples/adapters/mistral-agent.yaml +147 -0
- package/examples/adapters/symfony-messenger-task.yaml +135 -0
- package/examples/adapters/symfony-messenger-workflow.yaml +352 -0
- package/examples/adk-integration/code-review-workflow.yml +1 -1
- package/examples/adk-integration/customer-support.yml +1 -1
- package/examples/adk-integration/data-pipeline.yml +1 -1
- package/examples/advanced/reasoning-agent.yaml +1 -1
- package/examples/advanced/workflows/hybrid-model-strategy.yaml +1 -18
- package/examples/agent-manifests/critics/critic-agent.yaml +1 -1
- package/examples/agent-manifests/governors/governor-agent.yaml +1 -1
- package/examples/agent-manifests/integrators/integrator-agent.yaml +1 -1
- package/examples/agent-manifests/judges/judge-agent.yaml +1 -1
- package/examples/agent-manifests/monitors/monitor-agent.yaml +1 -1
- package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +1 -1
- package/examples/agent-manifests/sample-compliant-agent.yaml +1 -1
- package/examples/agent-manifests/workers/worker-agent.yaml +1 -1
- package/examples/agent-mesh/README.ts +311 -0
- package/examples/agent-mesh/basic-usage.ts +461 -0
- package/examples/agents/architecture-healer-enterprise.yaml +143 -0
- package/examples/agents/dependency-healer-npm.yaml +81 -0
- package/examples/agents/spec-healer-openapi.yaml +59 -0
- package/examples/agents/wiki-healer-production.yaml +131 -0
- package/examples/agents-md/code-agent.ossa.json +1 -1
- package/examples/agents-md/monorepo-agent.ossa.yaml +1 -1
- package/examples/anthropic/claude-assistant.ossa.json +1 -1
- package/examples/anthropic-adapter-example.ts +374 -0
- package/examples/anthropic-simple.ts +70 -0
- package/examples/autogen/multi-agent.ossa.json +1 -1
- package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +37 -0
- package/examples/bridges/.gitlab-ci.yml +293 -0
- package/examples/bridges/k8s/deployment.yaml +14 -14
- package/examples/ci/multi-project-release-example.yml +401 -0
- package/examples/claude-code/code-reviewer.ossa.yaml +1 -1
- package/examples/claude-code/ossa-validator.ossa.yaml +1 -1
- package/examples/common_npm/agent-router.ossa.yaml +1 -1
- package/examples/common_npm/agent-router.v0.2.2.ossa.yaml +1 -1
- package/examples/contracts/data-consumer.ossa.yaml +171 -0
- package/examples/contracts/data-producer-v2.ossa.yaml +227 -0
- package/examples/contracts/data-producer.ossa.yaml +217 -0
- package/examples/coordinator-agent/README.md +180 -0
- package/examples/coordinator-agent/index.ts +440 -0
- package/examples/coordinator-agent/manifest.yaml +41 -0
- package/examples/crewai/research-team.ossa.json +1 -1
- package/examples/cursor/code-review-agent.ossa.json +1 -1
- package/examples/drupal/ai_agents_ossa-module/.agents/example-agent/agent.ossa.yaml +37 -0
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +1 -1
- package/examples/drupal/gitlab-ml-recommender.v0.2.2.ossa.yaml +1 -1
- package/examples/extensions/agents-md-advanced.yml +177 -0
- package/examples/extensions/agents-md-basic.yml +74 -0
- package/examples/extensions/agents-md-sync.yml +96 -0
- package/examples/extensions/agents-md-v1.yml +1 -1
- package/examples/extensions/drupal-v1.yml +1 -1
- package/examples/extensions/encryption-multi-provider.yaml +120 -0
- package/examples/extensions/kagent-v1.yml +2 -2
- package/examples/extensions/knowledge-sources.yaml +59 -0
- package/examples/extensions/mcp-full-featured.yaml +150 -0
- package/examples/getting-started/01-minimal-agent.ossa.yaml +376 -0
- package/examples/getting-started/02-agent-with-tools.ossa.yaml +866 -0
- package/examples/getting-started/03-agent-with-safety.ossa.yaml +868 -0
- package/examples/getting-started/04-agent-with-messaging.ossa.yaml +829 -0
- package/examples/getting-started/05-workflow-composition.ossa.yaml +209 -0
- package/examples/getting-started/README.md +69 -0
- package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +4 -4
- package/examples/kagent/compliance-validator.ossa.yaml +1 -1
- package/examples/kagent/cost-optimizer.ossa.yaml +1 -1
- package/examples/kagent/documentation-agent.ossa.yaml +1 -1
- package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +1 -1
- package/examples/kagent/k8s-troubleshooter-v1.v0.2.2.ossa.yaml +1 -1
- package/examples/kagent/k8s-troubleshooter.ossa.yaml +1 -1
- package/examples/kagent/security-scanner.ossa.yaml +1 -1
- 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/messaging/dependency-healer.ossa.yaml +354 -0
- package/examples/messaging/incident-responder.ossa.yaml +477 -0
- package/examples/messaging/routing-rules.ossa.yaml +307 -0
- package/examples/messaging/security-scanner.ossa.yaml +328 -0
- package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
- package/examples/mistral-adapter-example.ts +435 -0
- package/examples/mistral-simple.ts +56 -0
- package/examples/multi-agent/conditional-router.ossa.yaml +1 -1
- package/examples/multi-agent/parallel-execution.ossa.yaml +1 -1
- package/examples/multi-agent/sequential-pipeline.ossa.yaml +1 -1
- package/examples/observability/activity-stream-full.yaml +133 -0
- package/examples/observability/gitlab-ci-template.yml +304 -0
- package/examples/openai/basic-agent.ossa.yaml +1 -1
- package/examples/openai/multi-tool-agent.ossa.json +1 -1
- package/examples/openai/swarm-agent.ossa.json +1 -1
- package/examples/production/document-analyzer-openai.yml +1 -1
- package/examples/quickstart/support-agent.ossa.yaml +1 -1
- package/examples/rag-agent/README.md +136 -0
- package/examples/rag-agent/index.ts +272 -0
- package/examples/rag-agent/manifest.yaml +45 -0
- package/examples/real-world/gitlab-cicd-optimizer.ossa.yaml +163 -0
- package/examples/real-world/rag-documentation-assistant.ossa.yaml +235 -0
- package/examples/reference-implementations/README.md +321 -0
- package/examples/reference-implementations/curl-scripts/01-search-agents.sh +72 -0
- package/examples/reference-implementations/curl-scripts/02-get-agent-details.sh +74 -0
- package/examples/reference-implementations/curl-scripts/03-publish-agent.sh +136 -0
- package/examples/reference-implementations/curl-scripts/04-a2a-messaging.sh +178 -0
- package/examples/reference-implementations/curl-scripts/05-discovery.sh +98 -0
- package/examples/reference-implementations/curl-scripts/README.md +277 -0
- package/examples/reference-implementations/python-client/README.md +282 -0
- package/examples/reference-implementations/python-client/examples/basic_usage.py +84 -0
- package/examples/reference-implementations/python-client/examples/publish_agent.py +137 -0
- package/examples/reference-implementations/python-client/ossa_client/__init__.py +80 -0
- package/examples/reference-implementations/python-client/ossa_client/agents.py +240 -0
- package/examples/reference-implementations/python-client/ossa_client/client.py +164 -0
- package/examples/reference-implementations/python-client/ossa_client/discovery.py +153 -0
- package/examples/reference-implementations/python-client/ossa_client/messaging.py +227 -0
- package/examples/reference-implementations/python-client/requirements.txt +2 -0
- package/examples/reference-implementations/python-client/setup.py +40 -0
- package/examples/reference-implementations/typescript-client/README.md +227 -0
- package/examples/reference-implementations/typescript-client/examples/basic-usage.ts +86 -0
- package/examples/reference-implementations/typescript-client/examples/messaging.ts +185 -0
- package/examples/reference-implementations/typescript-client/examples/publish-agent.ts +138 -0
- package/examples/reference-implementations/typescript-client/package.json +40 -0
- package/examples/reference-implementations/typescript-client/src/agents.ts +285 -0
- package/examples/reference-implementations/typescript-client/src/client.ts +161 -0
- package/examples/reference-implementations/typescript-client/src/discovery.ts +244 -0
- package/examples/reference-implementations/typescript-client/src/index.ts +67 -0
- package/examples/reference-implementations/typescript-client/src/messaging.ts +385 -0
- package/examples/reference-implementations/typescript-client/tsconfig.json +25 -0
- package/examples/runtime-adapters/bedrock-claude-example.ossa.yaml +465 -0
- package/examples/schema/reusable-components.yaml +95 -0
- package/examples/tasks/batch-email-sender.yaml +105 -0
- package/examples/tasks/data-transform.yaml +82 -0
- package/examples/tasks/publish-content.yaml +86 -0
- package/examples/templates/ossa-compliance.yaml +1 -1
- package/examples/unified/security-scanner.ossa.yaml +311 -0
- package/examples/vercel/edge-agent.ossa.json +1 -1
- package/examples/workflow-agent/README.md +175 -0
- package/examples/workflow-agent/index.ts +408 -0
- package/examples/workflow-agent/manifest.yaml +41 -0
- package/examples/workflows/batch-email-campaign.yaml +140 -0
- package/examples/workflows/content-review-publish.yaml +156 -0
- package/examples/workflows/simple-etl.yaml +151 -0
- package/openapi/agent-communication.yaml +1113 -0
- package/openapi/agent-crud.yaml +1124 -0
- package/openapi/agent-discovery.yaml +677 -0
- package/openapi/agent-identity.yaml +620 -0
- package/openapi/protocols/sse-streams.yaml +479 -0
- package/openapi/protocols/websocket-events.yaml +427 -0
- package/openapi/schemas/discovery.json +488 -0
- package/package.json +91 -33
- package/schemas/agent.json +523 -0
- package/schemas/communication.json +897 -0
- package/schemas/identity.json +482 -0
- package/spec/extensions/a2a-messaging.md +471 -0
- package/spec/extensions/manifest-extensions.md +550 -0
- package/spec/registry/README.md +472 -0
- package/spec/registry/openapi.yaml +1124 -0
- package/spec/registry/registry-api.schema.json +731 -0
- package/spec/registry/registry-spec.md +2239 -0
- package/spec/schema/agent-test.schema.json +117 -0
- package/spec/schema/components/activity-stream.schema.json +94 -0
- package/spec/schema/components/constraints.schema.json +84 -0
- package/spec/schema/components/dependencies.schema.json +147 -0
- package/spec/schema/components/encryption.schema.json +115 -0
- package/spec/schema/components/identity.schema.json +48 -0
- package/spec/schema/components/index.json +37 -0
- package/spec/schema/components/llm-config.schema.json +67 -0
- package/spec/schema/components/metadata.schema.json +37 -0
- package/spec/schema/components/tool.schema.json +64 -0
- package/spec/schema/extensions/a2a.extension.schema.json +127 -0
- package/spec/v0.2.8/ossa-0.2.8.schema.json +95 -1
- package/spec/v0.3.0/UNIFIED-SCHEMA.md +120 -0
- package/spec/v0.3.0/adapters/drupal.md +541 -0
- package/spec/v0.3.0/adapters/symfony.md +659 -0
- package/spec/v0.3.0/agent-test.schema.json +75 -0
- package/spec/v0.3.0/examples/drupal-content-writer.ossa.yaml +110 -0
- package/spec/v0.3.0/examples/drupal-moderation-assistant.ossa.yaml +96 -0
- package/spec/v0.3.0/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +144 -0
- package/spec/v0.3.0/extensions/drupal.md +417 -0
- package/spec/v0.3.0/ossa-0.3.0.schema.json +2787 -0
- package/spec/v0.3.0/protocols/sse.md +494 -0
- package/spec/v0.3.0/protocols/webrtc.md +600 -0
- package/spec/v0.3.0/protocols/websocket.md +362 -0
- package/spec/v0.3.0/schemas/agent-unified.yaml +165 -0
- package/spec/v0.3.0/schemas/capabilities.yaml +102 -0
- package/spec/v0.3.0/schemas/functions.yaml +75 -0
- package/spec/v0.3.0/schemas/messaging/channel.schema.json +245 -0
- package/spec/v0.3.0/schemas/messaging/delivery-receipt.schema.json +192 -0
- package/spec/v0.3.0/schemas/messaging/message.schema.json +205 -0
- package/spec/v0.3.0/schemas/messaging/subscription.schema.json +214 -0
- package/spec/v0.3.0/schemas/runtime.yaml +102 -0
- package/spec/v0.3.0/schemas/taxonomy.yaml +533 -0
- package/spec/v0.3.0/schemas/unified-llm.yaml +91 -0
- package/spec/v0.3.0/taxonomy.yaml +256 -0
- package/.cursorrules +0 -84
- package/.devfile.yaml +0 -87
- package/.env.example +0 -63
- package/.eslintrc.cjs +0 -43
- package/.github/AGENTS.md +0 -245
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -63
- package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -40
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -39
- package/.github/agents/github-issue-triage.ossa.yaml +0 -99
- package/.github/agents/github-pr-triage.ossa.yaml +0 -137
- package/.github/dependabot.yml +0 -58
- package/.github/workflows/ci.yml +0 -154
- package/.github/workflows/codeql.yml +0 -41
- package/.github/workflows/dependabot-auto-merge.yml +0 -28
- package/.github/workflows/dependabot-comment.yml +0 -34
- package/.github/workflows/issue-sync-to-gitlab.yml +0 -138
- package/.github/workflows/pr-triage-to-gitlab.yml +0 -164
- package/.github/workflows/release.yml +0 -103
- package/.husky/pre-commit +0 -5
- package/.kiro/config.json +0 -21
- package/.kiro/settings/mcp.json +0 -61
- package/.kiro/specs/scripts-migration-api-first/design.md +0 -883
- package/.kiro/specs/scripts-migration-api-first/requirements.md +0 -165
- package/.kiro/specs/scripts-migration-api-first/tasks.md +0 -539
- package/.kiro/specs/website-brand-identity/design.md +0 -1060
- package/.kiro/specs/website-brand-identity/requirements.md +0 -287
- package/.kiro/specs/website-brand-identity/tasks.md +0 -981
- package/.prettierignore +0 -7
- package/.prettierrc.json +0 -10
- package/.redocly.yaml +0 -9
- package/.releaserc.json +0 -85
- package/.version.json +0 -6
- package/.wiki-config.json +0 -24
- package/CODEOWNERS +0 -75
- package/CONTRIBUTING.md +0 -366
- package/bin/validate-ossa-0.2.2.ts +0 -244
- package/bin/validate-ossa-0.2.4.ts +0 -244
- package/docs/brand-guide/01-brand-overview.md +0 -37
- package/docs/brand-guide/02-logo-usage.md +0 -43
- package/docs/brand-guide/03-color-palette.md +0 -70
- package/docs/brand-guide/04-typography.md +0 -82
- package/docs/brand-guide/05-voice-and-tone.md +0 -108
- package/docs/brand-guide/06-visual-elements.md +0 -137
- package/docs/brand-guide/07-application-examples.md +0 -153
- package/docs/brand-guide/OssaLogo/OssA_Logo.svg +0 -21
- package/docs/brand-guide/OssaLogo/brand.af +0 -0
- package/docs/brand-guide/README.md +0 -107
- package/docs/comparison.md +0 -315
- package/docs/operations/automation-roadmap.md +0 -245
- package/docs/operations/github-sync-strategy.md +0 -357
- package/docs/specs/policy-dsl.md +0 -925
- package/eslint-report.json +0 -1
- package/gl-code-quality-report.json +0 -62
- package/infrastructure/docker-compose.yml +0 -33
- package/infrastructure/gitlab-agent/rbac.yaml +0 -126
- package/infrastructure/gitlab-agent/values.yaml +0 -150
- package/infrastructure/k8s/monitoring/00-namespace.yaml +0 -7
- package/infrastructure/k8s/monitoring/01-prometheus.yaml +0 -142
- package/infrastructure/k8s/monitoring/02-grafana.yaml +0 -63
- package/infrastructure/k8s/monitoring/03-lightweight.yaml +0 -121
- package/infrastructure/k8s/monitoring/README.md +0 -73
- package/infrastructure/k8s/monitoring/deploy.sh +0 -38
- package/junit.xml +0 -1
- package/llms-ctx-full.txt +0 -39
- package/llms-ctx.txt +0 -39
- package/llms.txt +0 -47
- package/release.config.js +0 -79
- package/scripts/README.md +0 -128
- package/scripts/auto-rebase-mrs.ts +0 -106
- package/scripts/batch-dependabot.sh +0 -57
- package/scripts/bump-version.ts +0 -57
- package/scripts/compliance-audit.ts +0 -796
- package/scripts/configure-gitlab-branch-protection.ts +0 -95
- package/scripts/create-issue-helper.ts +0 -238
- package/scripts/create-milestone-issue.ts +0 -73
- package/scripts/enhanced-version-manager.ts +0 -257
- package/scripts/eslint-to-codequality.cjs +0 -34
- package/scripts/fix-schema-formats.js +0 -82
- package/scripts/gen-types.ts +0 -51
- package/scripts/gen-zod.ts +0 -51
- package/scripts/generate-agents-catalog.ts +0 -78
- package/scripts/generate-api-docs.ts +0 -219
- package/scripts/generate-cli-docs.ts +0 -410
- package/scripts/generate-config-docs.ts +0 -109
- package/scripts/generate-errors-docs.ts +0 -76
- package/scripts/generate-examples-docs.ts +0 -100
- package/scripts/generate-llms-ctx.sh +0 -17
- package/scripts/generate-schema-docs.ts +0 -317
- package/scripts/generate-types-docs.ts +0 -48
- package/scripts/lowercase-docs.ts +0 -43
- package/scripts/manage-milestone-mrs.ts +0 -279
- package/scripts/process-doc-templates.ts +0 -37
- package/scripts/rebase-all-mrs.sh +0 -75
- package/scripts/schemas/package.schema.ts +0 -75
- package/scripts/setup-branch-protection.sh +0 -33
- package/scripts/sync-github-pr.sh +0 -48
- package/scripts/sync-version.js +0 -32
- package/scripts/sync-version.ts +0 -39
- package/scripts/sync-versions.ts +0 -488
- package/scripts/sync-wiki.sh +0 -50
- package/scripts/validate-all.js +0 -127
- package/scripts/validate-schema.ts +0 -50
- package/test-results/junit.xml +0 -337
- package/test-results.xml +0 -1
|
@@ -1,410 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env tsx
|
|
2
|
-
/**
|
|
3
|
-
* Generate CLI documentation from command source files
|
|
4
|
-
*
|
|
5
|
-
* Usage: npm run docs:cli:generate
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { readFileSync, writeFileSync, mkdirSync, readdirSync } from 'fs';
|
|
9
|
-
import { join, basename } from 'path';
|
|
10
|
-
|
|
11
|
-
interface CommandInfo {
|
|
12
|
-
name: string;
|
|
13
|
-
description: string;
|
|
14
|
-
arguments: Array<{ name: string; description: string; required: boolean }>;
|
|
15
|
-
options: Array<{ flag: string; description: string; default?: string }>;
|
|
16
|
-
examples: string[];
|
|
17
|
-
apiEndpoint?: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const CLI_DIR = join(process.cwd(), 'src/cli/commands');
|
|
21
|
-
const OUTPUT_DIR = join(process.cwd(), 'website/content/docs/cli-reference');
|
|
22
|
-
|
|
23
|
-
// Command metadata (extracted from source or defined here)
|
|
24
|
-
const COMMANDS: Record<string, CommandInfo> = {
|
|
25
|
-
validate: {
|
|
26
|
-
name: 'validate',
|
|
27
|
-
description: 'Validate OSSA agent manifests against the schema',
|
|
28
|
-
arguments: [
|
|
29
|
-
{ name: 'path', description: 'Path to agent manifest file or directory', required: true }
|
|
30
|
-
],
|
|
31
|
-
options: [
|
|
32
|
-
{ flag: '--version <version>', description: 'Specify OSSA version', default: 'latest' },
|
|
33
|
-
{ flag: '--strict', description: 'Enable strict validation mode' },
|
|
34
|
-
{ flag: '--format <format>', description: 'Output format: json, yaml, table', default: 'table' },
|
|
35
|
-
{ flag: '--verbose', description: 'Show detailed validation errors' }
|
|
36
|
-
],
|
|
37
|
-
examples: [
|
|
38
|
-
'ossa validate agent.ossa.yaml',
|
|
39
|
-
'ossa validate ./agents/',
|
|
40
|
-
'ossa validate agent.ossa.yaml --strict',
|
|
41
|
-
'ossa validate agent.ossa.yaml --format json'
|
|
42
|
-
],
|
|
43
|
-
apiEndpoint: 'POST /api/v1/validate'
|
|
44
|
-
},
|
|
45
|
-
generate: {
|
|
46
|
-
name: 'generate',
|
|
47
|
-
description: 'Generate OSSA agent manifests from templates',
|
|
48
|
-
arguments: [
|
|
49
|
-
{ name: 'type', description: 'Agent type: worker, orchestrator, compliance, chat', required: true }
|
|
50
|
-
],
|
|
51
|
-
options: [
|
|
52
|
-
{ flag: '--name <name>', description: 'Agent name', default: 'My Agent' },
|
|
53
|
-
{ flag: '--id <id>', description: 'Agent ID (DNS-1123 format)' },
|
|
54
|
-
{ flag: '--output <path>', description: 'Output file path', default: 'agent.ossa.yaml' },
|
|
55
|
-
{ flag: '--interactive', description: 'Interactive mode with prompts' }
|
|
56
|
-
],
|
|
57
|
-
examples: [
|
|
58
|
-
'ossa generate worker --name "Data Processor"',
|
|
59
|
-
'ossa generate orchestrator --id my-orchestrator',
|
|
60
|
-
'ossa generate compliance --interactive',
|
|
61
|
-
'ossa generate chat --output chat-agent.yaml'
|
|
62
|
-
],
|
|
63
|
-
apiEndpoint: 'POST /api/v1/agents/generate'
|
|
64
|
-
},
|
|
65
|
-
migrate: {
|
|
66
|
-
name: 'migrate',
|
|
67
|
-
description: 'Migrate agent manifests between OSSA versions',
|
|
68
|
-
arguments: [
|
|
69
|
-
{ name: 'source', description: 'Source manifest file', required: true }
|
|
70
|
-
],
|
|
71
|
-
options: [
|
|
72
|
-
{ flag: '--from <version>', description: 'Source OSSA version' },
|
|
73
|
-
{ flag: '--to <version>', description: 'Target OSSA version', default: 'latest' },
|
|
74
|
-
{ flag: '--output <path>', description: 'Output file path' },
|
|
75
|
-
{ flag: '--dry-run', description: 'Show changes without writing' }
|
|
76
|
-
],
|
|
77
|
-
examples: [
|
|
78
|
-
'ossa migrate agent.yaml --from 0.2.4 --to 0.2.5',
|
|
79
|
-
'ossa migrate agent.yaml --dry-run',
|
|
80
|
-
'ossa migrate agent.yaml --output migrated-agent.yaml'
|
|
81
|
-
],
|
|
82
|
-
apiEndpoint: 'POST /api/v1/migrate'
|
|
83
|
-
},
|
|
84
|
-
run: {
|
|
85
|
-
name: 'run',
|
|
86
|
-
description: 'Run an OSSA agent locally',
|
|
87
|
-
arguments: [
|
|
88
|
-
{ name: 'manifest', description: 'Path to agent manifest', required: true }
|
|
89
|
-
],
|
|
90
|
-
options: [
|
|
91
|
-
{ flag: '--env <file>', description: 'Environment variables file' },
|
|
92
|
-
{ flag: '--port <port>', description: 'Port to run on', default: '3000' },
|
|
93
|
-
{ flag: '--watch', description: 'Watch for changes and reload' },
|
|
94
|
-
{ flag: '--debug', description: 'Enable debug logging' }
|
|
95
|
-
],
|
|
96
|
-
examples: [
|
|
97
|
-
'ossa run agent.ossa.yaml',
|
|
98
|
-
'ossa run agent.ossa.yaml --port 8080',
|
|
99
|
-
'ossa run agent.ossa.yaml --watch --debug',
|
|
100
|
-
'ossa run agent.ossa.yaml --env .env.local'
|
|
101
|
-
],
|
|
102
|
-
apiEndpoint: 'POST /api/v1/agents/{id}/execute'
|
|
103
|
-
},
|
|
104
|
-
init: {
|
|
105
|
-
name: 'init',
|
|
106
|
-
description: 'Initialize a new OSSA project',
|
|
107
|
-
arguments: [],
|
|
108
|
-
options: [
|
|
109
|
-
{ flag: '--name <name>', description: 'Project name' },
|
|
110
|
-
{ flag: '--template <template>', description: 'Project template: minimal, full, enterprise' },
|
|
111
|
-
{ flag: '--typescript', description: 'Use TypeScript' },
|
|
112
|
-
{ flag: '--git', description: 'Initialize git repository' }
|
|
113
|
-
],
|
|
114
|
-
examples: [
|
|
115
|
-
'ossa init',
|
|
116
|
-
'ossa init --name my-agent-project',
|
|
117
|
-
'ossa init --template enterprise --typescript',
|
|
118
|
-
'ossa init --git'
|
|
119
|
-
]
|
|
120
|
-
},
|
|
121
|
-
setup: {
|
|
122
|
-
name: 'setup',
|
|
123
|
-
description: 'Set up OSSA development environment',
|
|
124
|
-
arguments: [],
|
|
125
|
-
options: [
|
|
126
|
-
{ flag: '--gitlab', description: 'Configure GitLab integration' },
|
|
127
|
-
{ flag: '--kubernetes', description: 'Configure Kubernetes deployment' },
|
|
128
|
-
{ flag: '--registry <url>', description: 'Configure agent registry' },
|
|
129
|
-
{ flag: '--interactive', description: 'Interactive setup wizard' }
|
|
130
|
-
],
|
|
131
|
-
examples: [
|
|
132
|
-
'ossa setup --interactive',
|
|
133
|
-
'ossa setup --gitlab',
|
|
134
|
-
'ossa setup --kubernetes',
|
|
135
|
-
'ossa setup --registry https://registry.ossa.dev'
|
|
136
|
-
]
|
|
137
|
-
},
|
|
138
|
-
export: {
|
|
139
|
-
name: 'export',
|
|
140
|
-
description: 'Export agent manifest to different formats',
|
|
141
|
-
arguments: [
|
|
142
|
-
{ name: 'manifest', description: 'Path to agent manifest', required: true }
|
|
143
|
-
],
|
|
144
|
-
options: [
|
|
145
|
-
{ flag: '--format <format>', description: 'Export format: json, yaml, openapi, k8s', default: 'json' },
|
|
146
|
-
{ flag: '--output <path>', description: 'Output file path' },
|
|
147
|
-
{ flag: '--pretty', description: 'Pretty print output' }
|
|
148
|
-
],
|
|
149
|
-
examples: [
|
|
150
|
-
'ossa export agent.ossa.yaml --format json',
|
|
151
|
-
'ossa export agent.ossa.yaml --format k8s --output deployment.yaml',
|
|
152
|
-
'ossa export agent.ossa.yaml --format openapi --pretty'
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
|
-
import: {
|
|
156
|
-
name: 'import',
|
|
157
|
-
description: 'Import agents from other frameworks',
|
|
158
|
-
arguments: [
|
|
159
|
-
{ name: 'source', description: 'Source file or URL', required: true }
|
|
160
|
-
],
|
|
161
|
-
options: [
|
|
162
|
-
{ flag: '--from <framework>', description: 'Source framework: langchain, crewai, openai, mcp' },
|
|
163
|
-
{ flag: '--output <path>', description: 'Output file path', default: 'agent.ossa.yaml' },
|
|
164
|
-
{ flag: '--validate', description: 'Validate after import' }
|
|
165
|
-
],
|
|
166
|
-
examples: [
|
|
167
|
-
'ossa import langchain-agent.py --from langchain',
|
|
168
|
-
'ossa import crew.yaml --from crewai --validate',
|
|
169
|
-
'ossa import https://example.com/agent.json --from openai'
|
|
170
|
-
]
|
|
171
|
-
},
|
|
172
|
-
schema: {
|
|
173
|
-
name: 'schema',
|
|
174
|
-
description: 'View and manage OSSA schemas',
|
|
175
|
-
arguments: [],
|
|
176
|
-
options: [
|
|
177
|
-
{ flag: '--version <version>', description: 'Schema version', default: 'latest' },
|
|
178
|
-
{ flag: '--format <format>', description: 'Output format: json, yaml', default: 'yaml' },
|
|
179
|
-
{ flag: '--field <field>', description: 'Show specific field documentation' },
|
|
180
|
-
{ flag: '--list', description: 'List available schema versions' }
|
|
181
|
-
],
|
|
182
|
-
examples: [
|
|
183
|
-
'ossa schema',
|
|
184
|
-
'ossa schema --version 0.2.5',
|
|
185
|
-
'ossa schema --field agent.id',
|
|
186
|
-
'ossa schema --list'
|
|
187
|
-
]
|
|
188
|
-
},
|
|
189
|
-
'gitlab-agent': {
|
|
190
|
-
name: 'gitlab-agent',
|
|
191
|
-
description: 'Manage GitLab agent integration',
|
|
192
|
-
arguments: [],
|
|
193
|
-
options: [
|
|
194
|
-
{ flag: '--configure', description: 'Configure GitLab agent' },
|
|
195
|
-
{ flag: '--deploy', description: 'Deploy agent to GitLab' },
|
|
196
|
-
{ flag: '--status', description: 'Check agent status' },
|
|
197
|
-
{ flag: '--logs', description: 'View agent logs' }
|
|
198
|
-
],
|
|
199
|
-
examples: [
|
|
200
|
-
'ossa gitlab-agent --configure',
|
|
201
|
-
'ossa gitlab-agent --deploy',
|
|
202
|
-
'ossa gitlab-agent --status',
|
|
203
|
-
'ossa gitlab-agent --logs'
|
|
204
|
-
]
|
|
205
|
-
},
|
|
206
|
-
agents: {
|
|
207
|
-
name: 'agents',
|
|
208
|
-
description: 'Manage OSSA agents',
|
|
209
|
-
arguments: [
|
|
210
|
-
{ name: 'action', description: 'Action: list, get, create, update, delete', required: true }
|
|
211
|
-
],
|
|
212
|
-
options: [
|
|
213
|
-
{ flag: '--id <id>', description: 'Agent ID' },
|
|
214
|
-
{ flag: '--role <role>', description: 'Filter by role' },
|
|
215
|
-
{ flag: '--status <status>', description: 'Filter by status' },
|
|
216
|
-
{ flag: '--format <format>', description: 'Output format: json, yaml, table', default: 'table' }
|
|
217
|
-
],
|
|
218
|
-
examples: [
|
|
219
|
-
'ossa agents list',
|
|
220
|
-
'ossa agents list --role worker',
|
|
221
|
-
'ossa agents get --id my-agent',
|
|
222
|
-
'ossa agents create agent.ossa.yaml',
|
|
223
|
-
'ossa agents delete --id my-agent'
|
|
224
|
-
],
|
|
225
|
-
apiEndpoint: 'GET /api/v1/agents'
|
|
226
|
-
}
|
|
227
|
-
};
|
|
228
|
-
|
|
229
|
-
function generateCommandDoc(cmd: CommandInfo): string {
|
|
230
|
-
let doc = `# ossa ${cmd.name}\n\n`;
|
|
231
|
-
doc += `**Purpose**: ${cmd.description}\n\n`;
|
|
232
|
-
|
|
233
|
-
// Synopsis
|
|
234
|
-
doc += '## Synopsis\n\n';
|
|
235
|
-
doc += '```bash\n';
|
|
236
|
-
doc += `ossa ${cmd.name}`;
|
|
237
|
-
if (cmd.arguments.length > 0) {
|
|
238
|
-
for (const arg of cmd.arguments) {
|
|
239
|
-
doc += arg.required ? ` <${arg.name}>` : ` [${arg.name}]`;
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
doc += ' [options]\n';
|
|
243
|
-
doc += '```\n\n';
|
|
244
|
-
|
|
245
|
-
// Description
|
|
246
|
-
doc += '## Description\n\n';
|
|
247
|
-
doc += `${cmd.description}\n\n`;
|
|
248
|
-
|
|
249
|
-
// Arguments
|
|
250
|
-
if (cmd.arguments.length > 0) {
|
|
251
|
-
doc += '## Arguments\n\n';
|
|
252
|
-
for (const arg of cmd.arguments) {
|
|
253
|
-
const required = arg.required ? ' (required)' : ' (optional)';
|
|
254
|
-
doc += `- \`<${arg.name}>\`${required} - ${arg.description}\n`;
|
|
255
|
-
}
|
|
256
|
-
doc += '\n';
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
// Options
|
|
260
|
-
if (cmd.options.length > 0) {
|
|
261
|
-
doc += '## Options\n\n';
|
|
262
|
-
for (const opt of cmd.options) {
|
|
263
|
-
doc += `- \`${opt.flag}\` - ${opt.description}`;
|
|
264
|
-
if (opt.default) {
|
|
265
|
-
doc += ` (default: ${opt.default})`;
|
|
266
|
-
}
|
|
267
|
-
doc += '\n';
|
|
268
|
-
}
|
|
269
|
-
doc += '\n';
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
// Examples
|
|
273
|
-
if (cmd.examples.length > 0) {
|
|
274
|
-
doc += '## Examples\n\n';
|
|
275
|
-
for (const example of cmd.examples) {
|
|
276
|
-
doc += '```bash\n';
|
|
277
|
-
doc += example + '\n';
|
|
278
|
-
doc += '```\n\n';
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
// API endpoint connection
|
|
283
|
-
if (cmd.apiEndpoint) {
|
|
284
|
-
doc += '## API Endpoint Connection\n\n';
|
|
285
|
-
doc += `This command uses the following API endpoint:\n`;
|
|
286
|
-
doc += `- \`${cmd.apiEndpoint}\` - [API Reference](../api-reference/index.md)\n\n`;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
// Exit codes
|
|
290
|
-
doc += '## Exit Codes\n\n';
|
|
291
|
-
doc += '- `0` - Success\n';
|
|
292
|
-
doc += '- `1` - General error\n';
|
|
293
|
-
doc += '- `2` - Invalid arguments\n';
|
|
294
|
-
doc += '- `3` - File not found\n\n';
|
|
295
|
-
|
|
296
|
-
// Related commands
|
|
297
|
-
doc += '## Related Commands\n\n';
|
|
298
|
-
const relatedCommands = Object.keys(COMMANDS).filter(c => c !== cmd.name).slice(0, 3);
|
|
299
|
-
for (const related of relatedCommands) {
|
|
300
|
-
doc += `- [ossa ${related}](./ossa-${related}.md)\n`;
|
|
301
|
-
}
|
|
302
|
-
doc += '\n';
|
|
303
|
-
|
|
304
|
-
// Related documentation
|
|
305
|
-
doc += '## Related Documentation\n\n';
|
|
306
|
-
doc += '- [API Reference](../api-reference/index.md)\n';
|
|
307
|
-
doc += '- [Schema Reference](../schema-reference/index.md)\n';
|
|
308
|
-
doc += '- [Getting Started](../getting-started/index.md)\n';
|
|
309
|
-
|
|
310
|
-
return doc;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
function main() {
|
|
314
|
-
console.log('š Generating CLI documentation...\n');
|
|
315
|
-
|
|
316
|
-
// Create output directory
|
|
317
|
-
mkdirSync(OUTPUT_DIR, { recursive: true });
|
|
318
|
-
|
|
319
|
-
console.log(`š Processing ${Object.keys(COMMANDS).length} CLI commands...\n`);
|
|
320
|
-
|
|
321
|
-
// Generate documentation for each command
|
|
322
|
-
for (const [name, cmd] of Object.entries(COMMANDS)) {
|
|
323
|
-
const docContent = generateCommandDoc(cmd);
|
|
324
|
-
const outputFile = join(OUTPUT_DIR, `ossa-${name}.md`);
|
|
325
|
-
|
|
326
|
-
writeFileSync(outputFile, docContent);
|
|
327
|
-
console.log(`ā
Generated: ossa-${name}.md`);
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
// Generate index
|
|
331
|
-
const indexContent = `# CLI Reference
|
|
332
|
-
|
|
333
|
-
The OSSA CLI provides commands for managing AI agents throughout their lifecycle.
|
|
334
|
-
|
|
335
|
-
## Installation
|
|
336
|
-
|
|
337
|
-
\`\`\`bash
|
|
338
|
-
npm install -g @bluefly/openstandardagents
|
|
339
|
-
\`\`\`
|
|
340
|
-
|
|
341
|
-
## Quick Start
|
|
342
|
-
|
|
343
|
-
\`\`\`bash
|
|
344
|
-
# Validate an agent manifest
|
|
345
|
-
ossa validate agent.ossa.yaml
|
|
346
|
-
|
|
347
|
-
# Generate a new agent
|
|
348
|
-
ossa generate worker --name "My Agent"
|
|
349
|
-
|
|
350
|
-
# Run an agent locally
|
|
351
|
-
ossa run agent.ossa.yaml
|
|
352
|
-
\`\`\`
|
|
353
|
-
|
|
354
|
-
## Commands
|
|
355
|
-
|
|
356
|
-
${Object.entries(COMMANDS).map(([name, cmd]) => {
|
|
357
|
-
return `### [ossa ${name}](./ossa-${name}.md)\n\n${cmd.description}\n`;
|
|
358
|
-
}).join('\n')}
|
|
359
|
-
|
|
360
|
-
## Global Options
|
|
361
|
-
|
|
362
|
-
- \`--help\` - Show help for any command
|
|
363
|
-
- \`--version\` - Show OSSA CLI version
|
|
364
|
-
- \`--config <path>\` - Path to config file
|
|
365
|
-
- \`--verbose\` - Enable verbose logging
|
|
366
|
-
- \`--quiet\` - Suppress output
|
|
367
|
-
|
|
368
|
-
## Configuration
|
|
369
|
-
|
|
370
|
-
The OSSA CLI can be configured via:
|
|
371
|
-
|
|
372
|
-
1. **Config file**: \`.ossarc.json\` or \`.ossarc.yaml\`
|
|
373
|
-
2. **Environment variables**: \`OSSA_*\`
|
|
374
|
-
3. **Command-line flags**
|
|
375
|
-
|
|
376
|
-
Example \`.ossarc.json\`:
|
|
377
|
-
|
|
378
|
-
\`\`\`json
|
|
379
|
-
{
|
|
380
|
-
"registry": "https://registry.ossa.dev",
|
|
381
|
-
"defaultVersion": "0.2.5-RC",
|
|
382
|
-
"validation": {
|
|
383
|
-
"strict": true
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
\`\`\`
|
|
387
|
-
|
|
388
|
-
## Environment Variables
|
|
389
|
-
|
|
390
|
-
- \`OSSA_REGISTRY\` - Agent registry URL
|
|
391
|
-
- \`OSSA_API_KEY\` - API authentication key
|
|
392
|
-
- \`OSSA_VERSION\` - Default OSSA version
|
|
393
|
-
- \`OSSA_DEBUG\` - Enable debug mode
|
|
394
|
-
|
|
395
|
-
## Related Documentation
|
|
396
|
-
|
|
397
|
-
- [API Reference](../api-reference/index.md)
|
|
398
|
-
- [Schema Reference](../schema-reference/index.md)
|
|
399
|
-
- [Getting Started](../getting-started/index.md)
|
|
400
|
-
- [Guides](../guides/index.md)
|
|
401
|
-
`;
|
|
402
|
-
|
|
403
|
-
writeFileSync(join(OUTPUT_DIR, 'index.md'), indexContent);
|
|
404
|
-
console.log(`ā
Generated: index.md`);
|
|
405
|
-
|
|
406
|
-
console.log(`\n⨠CLI documentation generated successfully!`);
|
|
407
|
-
console.log(`š Output: ${OUTPUT_DIR}`);
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
main();
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env tsx
|
|
2
|
-
import { writeFileSync, mkdirSync } from 'fs';
|
|
3
|
-
import { join } from 'path';
|
|
4
|
-
|
|
5
|
-
const OUTPUT_FILE = join(process.cwd(), 'website/content/docs/configuration/index.md');
|
|
6
|
-
|
|
7
|
-
const doc = `# Configuration Reference
|
|
8
|
-
|
|
9
|
-
Configure OSSA CLI and runtime behavior.
|
|
10
|
-
|
|
11
|
-
## Configuration File
|
|
12
|
-
|
|
13
|
-
Create \`.ossarc.json\` or \`.ossarc.yaml\` in your project root:
|
|
14
|
-
|
|
15
|
-
\`\`\`json
|
|
16
|
-
{
|
|
17
|
-
"registry": "https://registry.ossa.dev",
|
|
18
|
-
"defaultVersion": "0.2.5-RC",
|
|
19
|
-
"validation": {
|
|
20
|
-
"strict": true,
|
|
21
|
-
"allowUnknownFields": false
|
|
22
|
-
},
|
|
23
|
-
"runtime": {
|
|
24
|
-
"timeout": 30000,
|
|
25
|
-
"retries": 3
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
\`\`\`
|
|
29
|
-
|
|
30
|
-
## Configuration Options
|
|
31
|
-
|
|
32
|
-
### registry
|
|
33
|
-
- **Type**: \`string\`
|
|
34
|
-
- **Default**: \`"https://registry.ossa.dev"\`
|
|
35
|
-
- **Description**: Agent registry URL
|
|
36
|
-
|
|
37
|
-
### defaultVersion
|
|
38
|
-
- **Type**: \`string\`
|
|
39
|
-
- **Default**: \`"latest"\`
|
|
40
|
-
- **Description**: Default OSSA schema version
|
|
41
|
-
|
|
42
|
-
### validation.strict
|
|
43
|
-
- **Type**: \`boolean\`
|
|
44
|
-
- **Default**: \`false\`
|
|
45
|
-
- **Description**: Enable strict validation mode
|
|
46
|
-
|
|
47
|
-
### validation.allowUnknownFields
|
|
48
|
-
- **Type**: \`boolean\`
|
|
49
|
-
- **Default**: \`true\`
|
|
50
|
-
- **Description**: Allow unknown fields in manifests
|
|
51
|
-
|
|
52
|
-
### runtime.timeout
|
|
53
|
-
- **Type**: \`number\`
|
|
54
|
-
- **Default**: \`30000\`
|
|
55
|
-
- **Description**: Execution timeout in milliseconds
|
|
56
|
-
|
|
57
|
-
### runtime.retries
|
|
58
|
-
- **Type**: \`number\`
|
|
59
|
-
- **Default**: \`3\`
|
|
60
|
-
- **Description**: Number of retry attempts
|
|
61
|
-
|
|
62
|
-
## Environment Variables
|
|
63
|
-
|
|
64
|
-
Override configuration with environment variables:
|
|
65
|
-
|
|
66
|
-
- \`OSSA_REGISTRY\` - Registry URL
|
|
67
|
-
- \`OSSA_VERSION\` - Default version
|
|
68
|
-
- \`OSSA_API_KEY\` - API authentication key
|
|
69
|
-
- \`OSSA_DEBUG\` - Enable debug logging
|
|
70
|
-
|
|
71
|
-
## Examples
|
|
72
|
-
|
|
73
|
-
### Development Configuration
|
|
74
|
-
|
|
75
|
-
\`\`\`json
|
|
76
|
-
{
|
|
77
|
-
"registry": "http://localhost:3000",
|
|
78
|
-
"validation": {
|
|
79
|
-
"strict": false
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
\`\`\`
|
|
83
|
-
|
|
84
|
-
### Production Configuration
|
|
85
|
-
|
|
86
|
-
\`\`\`json
|
|
87
|
-
{
|
|
88
|
-
"registry": "https://registry.ossa.dev",
|
|
89
|
-
"validation": {
|
|
90
|
-
"strict": true,
|
|
91
|
-
"allowUnknownFields": false
|
|
92
|
-
},
|
|
93
|
-
"runtime": {
|
|
94
|
-
"timeout": 60000,
|
|
95
|
-
"retries": 5
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
\`\`\`
|
|
99
|
-
|
|
100
|
-
## Related
|
|
101
|
-
|
|
102
|
-
- [CLI Reference](../cli-reference/)
|
|
103
|
-
- [Environment Setup](../getting-started/installation)
|
|
104
|
-
`;
|
|
105
|
-
|
|
106
|
-
mkdirSync(join(process.cwd(), 'website/content/docs/configuration'), { recursive: true });
|
|
107
|
-
writeFileSync(OUTPUT_FILE, doc);
|
|
108
|
-
|
|
109
|
-
console.log(`ā
Generated configuration reference`);
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env tsx
|
|
2
|
-
import { readdirSync, readFileSync, writeFileSync, mkdirSync } from 'fs';
|
|
3
|
-
import { join } from 'path';
|
|
4
|
-
|
|
5
|
-
const SRC_DIR = join(process.cwd(), 'src');
|
|
6
|
-
const OUTPUT_FILE = join(process.cwd(), 'website/content/docs/errors/index.md');
|
|
7
|
-
|
|
8
|
-
interface ErrorInfo {
|
|
9
|
-
code: string;
|
|
10
|
-
message: string;
|
|
11
|
-
file: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
function findErrors(dir: string, errors: ErrorInfo[] = []): ErrorInfo[] {
|
|
15
|
-
const entries = readdirSync(dir, { withFileTypes: true });
|
|
16
|
-
|
|
17
|
-
for (const entry of entries) {
|
|
18
|
-
const fullPath = join(dir, entry.name);
|
|
19
|
-
|
|
20
|
-
if (entry.isDirectory()) {
|
|
21
|
-
findErrors(fullPath, errors);
|
|
22
|
-
} else if (entry.name.endsWith('.ts')) {
|
|
23
|
-
const content = readFileSync(fullPath, 'utf-8');
|
|
24
|
-
|
|
25
|
-
// Find throw new Error patterns
|
|
26
|
-
const matches = content.matchAll(/throw new (\w+Error)\(['"`]([^'"`]+)['"`]\)/g);
|
|
27
|
-
for (const match of matches) {
|
|
28
|
-
errors.push({
|
|
29
|
-
code: match[1],
|
|
30
|
-
message: match[2],
|
|
31
|
-
file: fullPath.replace(process.cwd(), '')
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
return errors;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
const errors = findErrors(SRC_DIR);
|
|
41
|
-
const byCode = errors.reduce((acc, err) => {
|
|
42
|
-
if (!acc[err.code]) acc[err.code] = [];
|
|
43
|
-
acc[err.code].push(err);
|
|
44
|
-
return acc;
|
|
45
|
-
}, {} as Record<string, ErrorInfo[]>);
|
|
46
|
-
|
|
47
|
-
let doc = `# Error Reference
|
|
48
|
-
|
|
49
|
-
Common errors and solutions.
|
|
50
|
-
|
|
51
|
-
**Total Error Types**: ${Object.keys(byCode).length}
|
|
52
|
-
|
|
53
|
-
`;
|
|
54
|
-
|
|
55
|
-
for (const [code, instances] of Object.entries(byCode).sort()) {
|
|
56
|
-
doc += `## ${code}\n\n`;
|
|
57
|
-
|
|
58
|
-
const uniqueMessages = [...new Set(instances.map(e => e.message))];
|
|
59
|
-
for (const msg of uniqueMessages) {
|
|
60
|
-
doc += `### "${msg}"\n\n`;
|
|
61
|
-
doc += `**Cause**: Check the error context for details\n\n`;
|
|
62
|
-
doc += `**Solution**: \n`;
|
|
63
|
-
doc += `\`\`\`bash\n# Enable debug mode\nDEBUG=* ossa <command>\n\`\`\`\n\n`;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
doc += `## Getting Help
|
|
68
|
-
|
|
69
|
-
- Check [Troubleshooting Guide](../troubleshooting/)
|
|
70
|
-
- Open an issue on [GitLab](https://gitlab.com/blueflyio/openstandardagents/-/issues)
|
|
71
|
-
`;
|
|
72
|
-
|
|
73
|
-
mkdirSync(join(process.cwd(), 'website/content/docs/errors'), { recursive: true });
|
|
74
|
-
writeFileSync(OUTPUT_FILE, doc);
|
|
75
|
-
|
|
76
|
-
console.log(`ā
Generated error reference: ${Object.keys(byCode).length} error types`);
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env tsx
|
|
2
|
-
/**
|
|
3
|
-
* Generate examples documentation from YAML files
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import { readdirSync, readFileSync, writeFileSync, statSync, mkdirSync } from 'fs';
|
|
7
|
-
import { join, relative, basename } from 'path';
|
|
8
|
-
import yaml from 'js-yaml';
|
|
9
|
-
|
|
10
|
-
const EXAMPLES_DIR = join(process.cwd(), 'examples');
|
|
11
|
-
const OUTPUT_FILE = join(process.cwd(), 'website/content/docs/examples/catalog.md');
|
|
12
|
-
|
|
13
|
-
interface Example {
|
|
14
|
-
path: string;
|
|
15
|
-
name: string;
|
|
16
|
-
role?: string;
|
|
17
|
-
description?: string;
|
|
18
|
-
category: string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
function findYamlFiles(dir: string, category: string = ''): Example[] {
|
|
22
|
-
const examples: Example[] = [];
|
|
23
|
-
const entries = readdirSync(dir);
|
|
24
|
-
|
|
25
|
-
for (const entry of entries) {
|
|
26
|
-
const fullPath = join(dir, entry);
|
|
27
|
-
const stat = statSync(fullPath);
|
|
28
|
-
|
|
29
|
-
if (stat.isDirectory()) {
|
|
30
|
-
examples.push(...findYamlFiles(fullPath, category || entry));
|
|
31
|
-
} else if (entry.match(/\.(yaml|yml)$/)) {
|
|
32
|
-
try {
|
|
33
|
-
const content = readFileSync(fullPath, 'utf-8');
|
|
34
|
-
// Use JSON_SCHEMA to prevent arbitrary code execution (CWE-502)
|
|
35
|
-
const data = yaml.load(content, { schema: yaml.JSON_SCHEMA }) as any;
|
|
36
|
-
|
|
37
|
-
if (data?.agent) {
|
|
38
|
-
examples.push({
|
|
39
|
-
path: relative(EXAMPLES_DIR, fullPath),
|
|
40
|
-
name: data.agent.name || basename(entry, '.yaml'),
|
|
41
|
-
role: data.agent.role,
|
|
42
|
-
description: data.agent.description,
|
|
43
|
-
category: category || 'general'
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
} catch (error) {
|
|
47
|
-
// Skip invalid YAML
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
return examples;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
function generateDocs(examples: Example[]): string {
|
|
56
|
-
const byCategory = examples.reduce((acc, ex) => {
|
|
57
|
-
if (!acc[ex.category]) acc[ex.category] = [];
|
|
58
|
-
acc[ex.category].push(ex);
|
|
59
|
-
return acc;
|
|
60
|
-
}, {} as Record<string, Example[]>);
|
|
61
|
-
|
|
62
|
-
let doc = `# Examples Catalog
|
|
63
|
-
|
|
64
|
-
Auto-generated catalog of all OSSA agent examples.
|
|
65
|
-
|
|
66
|
-
**Total Examples**: ${examples.length}
|
|
67
|
-
|
|
68
|
-
`;
|
|
69
|
-
|
|
70
|
-
for (const [category, items] of Object.entries(byCategory).sort()) {
|
|
71
|
-
doc += `## ${category.charAt(0).toUpperCase() + category.slice(1)}\n\n`;
|
|
72
|
-
|
|
73
|
-
for (const item of items.sort((a, b) => a.name.localeCompare(b.name))) {
|
|
74
|
-
doc += `### ${item.name}\n\n`;
|
|
75
|
-
if (item.role) doc += `**Role**: \`${item.role}\`\n\n`;
|
|
76
|
-
if (item.description) doc += `${item.description}\n\n`;
|
|
77
|
-
doc += `**File**: [\`${item.path}\`](https://github.com/blueflyio/openstandardagents/blob/main/examples/${item.path})\n\n`;
|
|
78
|
-
doc += `\`\`\`bash\nossa validate examples/${item.path}\n\`\`\`\n\n`;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
doc += `## Usage\n\n`;
|
|
83
|
-
doc += `\`\`\`bash\n# Validate any example\nossa validate examples/<path>\n\n`;
|
|
84
|
-
doc += `# Run an example\nossa run examples/<path>\n\`\`\`\n`;
|
|
85
|
-
|
|
86
|
-
return doc;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
console.log('š Generating examples documentation...\n');
|
|
90
|
-
|
|
91
|
-
const examples = findYamlFiles(EXAMPLES_DIR);
|
|
92
|
-
console.log(`š Found ${examples.length} examples\n`);
|
|
93
|
-
|
|
94
|
-
const doc = generateDocs(examples);
|
|
95
|
-
|
|
96
|
-
mkdirSync(join(process.cwd(), 'website/content/docs/examples'), { recursive: true });
|
|
97
|
-
writeFileSync(OUTPUT_FILE, doc);
|
|
98
|
-
|
|
99
|
-
console.log(`ā
Generated: ${relative(process.cwd(), OUTPUT_FILE)}`);
|
|
100
|
-
console.log(`\n⨠Examples documentation generated successfully!`);
|