@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
|
@@ -0,0 +1,897 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://ossa.dev/schemas/communication/v0.3.0/communication.json",
|
|
4
|
+
"title": "OSSA Agent Communication Schemas",
|
|
5
|
+
"description": "JSON Schema definitions for OSSA v0.3.0 Agent-to-Agent Communication, including message types, channels, and subscriptions",
|
|
6
|
+
"definitions": {
|
|
7
|
+
"Message": {
|
|
8
|
+
"$id": "#/definitions/Message",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"title": "Message",
|
|
11
|
+
"description": "Core message structure for agent-to-agent communication",
|
|
12
|
+
"required": [
|
|
13
|
+
"id",
|
|
14
|
+
"to",
|
|
15
|
+
"from",
|
|
16
|
+
"type",
|
|
17
|
+
"payload",
|
|
18
|
+
"status",
|
|
19
|
+
"createdAt"
|
|
20
|
+
],
|
|
21
|
+
"properties": {
|
|
22
|
+
"id": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": "uuid",
|
|
25
|
+
"description": "Unique message identifier"
|
|
26
|
+
},
|
|
27
|
+
"to": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": "uri",
|
|
30
|
+
"pattern": "^agent://[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
|
31
|
+
"description": "Target agent URI (e.g., agent://worker-001)",
|
|
32
|
+
"examples": ["agent://worker-001", "agent://orchestrator-main"]
|
|
33
|
+
},
|
|
34
|
+
"from": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": "uri",
|
|
37
|
+
"pattern": "^agent://[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
|
38
|
+
"description": "Source agent URI",
|
|
39
|
+
"examples": ["agent://orchestrator-main", "agent://worker-002"]
|
|
40
|
+
},
|
|
41
|
+
"type": {
|
|
42
|
+
"$ref": "#/definitions/MessageType"
|
|
43
|
+
},
|
|
44
|
+
"payload": {
|
|
45
|
+
"$ref": "#/definitions/MessagePayload"
|
|
46
|
+
},
|
|
47
|
+
"correlationId": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "Correlation ID for request/reply pattern"
|
|
50
|
+
},
|
|
51
|
+
"status": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"enum": ["pending", "delivered", "acknowledged", "failed"],
|
|
54
|
+
"description": "Message delivery status"
|
|
55
|
+
},
|
|
56
|
+
"priority": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"enum": ["low", "normal", "high", "critical"],
|
|
59
|
+
"default": "normal",
|
|
60
|
+
"description": "Message priority level"
|
|
61
|
+
},
|
|
62
|
+
"timeout": {
|
|
63
|
+
"type": "integer",
|
|
64
|
+
"minimum": 1000,
|
|
65
|
+
"maximum": 300000,
|
|
66
|
+
"default": 30000,
|
|
67
|
+
"description": "Message timeout in milliseconds"
|
|
68
|
+
},
|
|
69
|
+
"createdAt": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"format": "date-time",
|
|
72
|
+
"description": "Message creation timestamp (ISO 8601)"
|
|
73
|
+
},
|
|
74
|
+
"deliveredAt": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"format": "date-time",
|
|
77
|
+
"description": "Message delivery timestamp (ISO 8601)"
|
|
78
|
+
},
|
|
79
|
+
"acknowledgedAt": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"format": "date-time",
|
|
82
|
+
"description": "Message acknowledgment timestamp (ISO 8601)"
|
|
83
|
+
},
|
|
84
|
+
"error": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"description": "Error message if status is failed"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"MessageType": {
|
|
91
|
+
"$id": "#/definitions/MessageType",
|
|
92
|
+
"type": "string",
|
|
93
|
+
"title": "Message Type",
|
|
94
|
+
"description": "Standard message types for A2A communication",
|
|
95
|
+
"enum": [
|
|
96
|
+
"TaskAssigned",
|
|
97
|
+
"TaskCompleted",
|
|
98
|
+
"TaskFailed",
|
|
99
|
+
"QueryRequest",
|
|
100
|
+
"QueryResponse",
|
|
101
|
+
"AgentStarted",
|
|
102
|
+
"AgentStopped",
|
|
103
|
+
"AgentError",
|
|
104
|
+
"Custom"
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"MessagePayload": {
|
|
108
|
+
"$id": "#/definitions/MessagePayload",
|
|
109
|
+
"type": "object",
|
|
110
|
+
"title": "Message Payload",
|
|
111
|
+
"description": "Message payload structure varies by message type",
|
|
112
|
+
"oneOf": [
|
|
113
|
+
{
|
|
114
|
+
"$ref": "#/definitions/TaskAssignedPayload"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"$ref": "#/definitions/TaskCompletedPayload"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"$ref": "#/definitions/TaskFailedPayload"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"$ref": "#/definitions/QueryRequestPayload"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"$ref": "#/definitions/QueryResponsePayload"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"$ref": "#/definitions/AgentStartedPayload"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"$ref": "#/definitions/AgentStoppedPayload"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"$ref": "#/definitions/AgentErrorPayload"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"type": "object",
|
|
139
|
+
"description": "Custom payload for application-specific messages",
|
|
140
|
+
"additionalProperties": true
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"TaskAssignedPayload": {
|
|
145
|
+
"$id": "#/definitions/TaskAssignedPayload",
|
|
146
|
+
"type": "object",
|
|
147
|
+
"title": "Task Assigned Payload",
|
|
148
|
+
"description": "Payload for assigning a task to an agent",
|
|
149
|
+
"required": ["taskId", "action", "input"],
|
|
150
|
+
"properties": {
|
|
151
|
+
"taskId": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"description": "Unique task identifier"
|
|
154
|
+
},
|
|
155
|
+
"action": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"description": "Action to perform (e.g., analyze_document, extract_entities)",
|
|
158
|
+
"examples": [
|
|
159
|
+
"analyze_document",
|
|
160
|
+
"extract_entities",
|
|
161
|
+
"translate_text",
|
|
162
|
+
"summarize_content"
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
"input": {
|
|
166
|
+
"type": "object",
|
|
167
|
+
"description": "Task input parameters",
|
|
168
|
+
"additionalProperties": true,
|
|
169
|
+
"examples": [
|
|
170
|
+
{
|
|
171
|
+
"documentUrl": "https://example.com/doc.pdf",
|
|
172
|
+
"format": "pdf"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"text": "Sample text to analyze",
|
|
176
|
+
"language": "en"
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
"priority": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"enum": ["low", "normal", "high", "critical"],
|
|
183
|
+
"default": "normal",
|
|
184
|
+
"description": "Task priority"
|
|
185
|
+
},
|
|
186
|
+
"deadline": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"format": "date-time",
|
|
189
|
+
"description": "Task deadline (ISO 8601)"
|
|
190
|
+
},
|
|
191
|
+
"context": {
|
|
192
|
+
"type": "object",
|
|
193
|
+
"description": "Additional context for task execution",
|
|
194
|
+
"additionalProperties": true
|
|
195
|
+
},
|
|
196
|
+
"retryPolicy": {
|
|
197
|
+
"$ref": "#/definitions/RetryPolicy"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"TaskCompletedPayload": {
|
|
202
|
+
"$id": "#/definitions/TaskCompletedPayload",
|
|
203
|
+
"type": "object",
|
|
204
|
+
"title": "Task Completed Payload",
|
|
205
|
+
"description": "Payload for task completion notification",
|
|
206
|
+
"required": ["taskId", "status", "result", "completedAt"],
|
|
207
|
+
"properties": {
|
|
208
|
+
"taskId": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"description": "Task identifier (matches TaskAssigned.taskId)"
|
|
211
|
+
},
|
|
212
|
+
"status": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"enum": ["completed", "partial"],
|
|
215
|
+
"description": "Completion status"
|
|
216
|
+
},
|
|
217
|
+
"result": {
|
|
218
|
+
"type": "object",
|
|
219
|
+
"description": "Task execution result",
|
|
220
|
+
"additionalProperties": true,
|
|
221
|
+
"examples": [
|
|
222
|
+
{
|
|
223
|
+
"summary": "Document analyzed successfully",
|
|
224
|
+
"entities": ["Apple Inc.", "Cupertino", "California"],
|
|
225
|
+
"sentiment": "positive"
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
"metrics": {
|
|
230
|
+
"type": "object",
|
|
231
|
+
"description": "Execution metrics",
|
|
232
|
+
"properties": {
|
|
233
|
+
"executionTimeMs": {
|
|
234
|
+
"type": "integer",
|
|
235
|
+
"description": "Execution time in milliseconds"
|
|
236
|
+
},
|
|
237
|
+
"tokensUsed": {
|
|
238
|
+
"type": "integer",
|
|
239
|
+
"description": "LLM tokens consumed"
|
|
240
|
+
},
|
|
241
|
+
"cost": {
|
|
242
|
+
"type": "number",
|
|
243
|
+
"description": "Execution cost in USD"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"completedAt": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"format": "date-time",
|
|
250
|
+
"description": "Task completion timestamp (ISO 8601)"
|
|
251
|
+
},
|
|
252
|
+
"artifacts": {
|
|
253
|
+
"type": "array",
|
|
254
|
+
"description": "Output artifacts (files, URLs)",
|
|
255
|
+
"items": {
|
|
256
|
+
"type": "object",
|
|
257
|
+
"required": ["type", "url"],
|
|
258
|
+
"properties": {
|
|
259
|
+
"type": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"enum": ["file", "url", "data"],
|
|
262
|
+
"description": "Artifact type"
|
|
263
|
+
},
|
|
264
|
+
"url": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"format": "uri",
|
|
267
|
+
"description": "Artifact location"
|
|
268
|
+
},
|
|
269
|
+
"mimeType": {
|
|
270
|
+
"type": "string",
|
|
271
|
+
"description": "MIME type"
|
|
272
|
+
},
|
|
273
|
+
"sizeBytes": {
|
|
274
|
+
"type": "integer",
|
|
275
|
+
"description": "Size in bytes"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"TaskFailedPayload": {
|
|
283
|
+
"$id": "#/definitions/TaskFailedPayload",
|
|
284
|
+
"type": "object",
|
|
285
|
+
"title": "Task Failed Payload",
|
|
286
|
+
"description": "Payload for task failure notification",
|
|
287
|
+
"required": ["taskId", "error", "failedAt"],
|
|
288
|
+
"properties": {
|
|
289
|
+
"taskId": {
|
|
290
|
+
"type": "string",
|
|
291
|
+
"description": "Task identifier (matches TaskAssigned.taskId)"
|
|
292
|
+
},
|
|
293
|
+
"error": {
|
|
294
|
+
"type": "object",
|
|
295
|
+
"required": ["code", "message"],
|
|
296
|
+
"properties": {
|
|
297
|
+
"code": {
|
|
298
|
+
"type": "string",
|
|
299
|
+
"description": "Error code",
|
|
300
|
+
"examples": [
|
|
301
|
+
"TIMEOUT",
|
|
302
|
+
"INVALID_INPUT",
|
|
303
|
+
"RESOURCE_UNAVAILABLE",
|
|
304
|
+
"INTERNAL_ERROR"
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
"message": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"description": "Human-readable error message"
|
|
310
|
+
},
|
|
311
|
+
"details": {
|
|
312
|
+
"type": "object",
|
|
313
|
+
"description": "Additional error details",
|
|
314
|
+
"additionalProperties": true
|
|
315
|
+
},
|
|
316
|
+
"retryable": {
|
|
317
|
+
"type": "boolean",
|
|
318
|
+
"default": false,
|
|
319
|
+
"description": "Whether the error is retryable"
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"failedAt": {
|
|
324
|
+
"type": "string",
|
|
325
|
+
"format": "date-time",
|
|
326
|
+
"description": "Failure timestamp (ISO 8601)"
|
|
327
|
+
},
|
|
328
|
+
"retryCount": {
|
|
329
|
+
"type": "integer",
|
|
330
|
+
"minimum": 0,
|
|
331
|
+
"description": "Number of retry attempts made"
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"QueryRequestPayload": {
|
|
336
|
+
"$id": "#/definitions/QueryRequestPayload",
|
|
337
|
+
"type": "object",
|
|
338
|
+
"title": "Query Request Payload",
|
|
339
|
+
"description": "Payload for querying another agent",
|
|
340
|
+
"required": ["query"],
|
|
341
|
+
"properties": {
|
|
342
|
+
"query": {
|
|
343
|
+
"type": "string",
|
|
344
|
+
"description": "Query text or command",
|
|
345
|
+
"examples": [
|
|
346
|
+
"Extract entities from text",
|
|
347
|
+
"Translate to Spanish",
|
|
348
|
+
"Summarize document"
|
|
349
|
+
]
|
|
350
|
+
},
|
|
351
|
+
"context": {
|
|
352
|
+
"type": "object",
|
|
353
|
+
"description": "Query context and parameters",
|
|
354
|
+
"additionalProperties": true,
|
|
355
|
+
"examples": [
|
|
356
|
+
{
|
|
357
|
+
"text": "Apple Inc. is headquartered in Cupertino, California.",
|
|
358
|
+
"language": "en"
|
|
359
|
+
}
|
|
360
|
+
]
|
|
361
|
+
},
|
|
362
|
+
"responseFormat": {
|
|
363
|
+
"type": "string",
|
|
364
|
+
"enum": ["json", "text", "markdown", "xml"],
|
|
365
|
+
"default": "json",
|
|
366
|
+
"description": "Desired response format"
|
|
367
|
+
},
|
|
368
|
+
"maxTokens": {
|
|
369
|
+
"type": "integer",
|
|
370
|
+
"minimum": 1,
|
|
371
|
+
"description": "Maximum tokens in response"
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"QueryResponsePayload": {
|
|
376
|
+
"$id": "#/definitions/QueryResponsePayload",
|
|
377
|
+
"type": "object",
|
|
378
|
+
"title": "Query Response Payload",
|
|
379
|
+
"description": "Payload for query response",
|
|
380
|
+
"required": ["queryId", "response"],
|
|
381
|
+
"properties": {
|
|
382
|
+
"queryId": {
|
|
383
|
+
"type": "string",
|
|
384
|
+
"description": "Query identifier (from QueryRequest correlationId)"
|
|
385
|
+
},
|
|
386
|
+
"response": {
|
|
387
|
+
"description": "Query response data",
|
|
388
|
+
"oneOf": [
|
|
389
|
+
{
|
|
390
|
+
"type": "object",
|
|
391
|
+
"description": "Structured JSON response"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"type": "string",
|
|
395
|
+
"description": "Text response"
|
|
396
|
+
}
|
|
397
|
+
]
|
|
398
|
+
},
|
|
399
|
+
"confidence": {
|
|
400
|
+
"type": "number",
|
|
401
|
+
"minimum": 0,
|
|
402
|
+
"maximum": 1,
|
|
403
|
+
"description": "Confidence score (0-1)"
|
|
404
|
+
},
|
|
405
|
+
"metadata": {
|
|
406
|
+
"type": "object",
|
|
407
|
+
"description": "Response metadata",
|
|
408
|
+
"properties": {
|
|
409
|
+
"model": {
|
|
410
|
+
"type": "string",
|
|
411
|
+
"description": "Model used for response"
|
|
412
|
+
},
|
|
413
|
+
"tokensUsed": {
|
|
414
|
+
"type": "integer",
|
|
415
|
+
"description": "Tokens consumed"
|
|
416
|
+
},
|
|
417
|
+
"latencyMs": {
|
|
418
|
+
"type": "integer",
|
|
419
|
+
"description": "Response latency in milliseconds"
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"AgentStartedPayload": {
|
|
426
|
+
"$id": "#/definitions/AgentStartedPayload",
|
|
427
|
+
"type": "object",
|
|
428
|
+
"title": "Agent Started Payload",
|
|
429
|
+
"description": "Payload for agent startup notification",
|
|
430
|
+
"required": ["agentId", "version", "startedAt"],
|
|
431
|
+
"properties": {
|
|
432
|
+
"agentId": {
|
|
433
|
+
"type": "string",
|
|
434
|
+
"format": "uri",
|
|
435
|
+
"pattern": "^agent://[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
|
436
|
+
"description": "Agent URI"
|
|
437
|
+
},
|
|
438
|
+
"version": {
|
|
439
|
+
"type": "string",
|
|
440
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+(-[a-zA-Z0-9]+)?$",
|
|
441
|
+
"description": "Agent version (semver)",
|
|
442
|
+
"examples": ["1.2.0", "2.0.0-beta.1"]
|
|
443
|
+
},
|
|
444
|
+
"capabilities": {
|
|
445
|
+
"type": "array",
|
|
446
|
+
"items": {
|
|
447
|
+
"type": "string"
|
|
448
|
+
},
|
|
449
|
+
"description": "Agent capabilities",
|
|
450
|
+
"examples": [
|
|
451
|
+
["text_analysis", "entity_extraction", "sentiment_analysis"]
|
|
452
|
+
]
|
|
453
|
+
},
|
|
454
|
+
"startedAt": {
|
|
455
|
+
"type": "string",
|
|
456
|
+
"format": "date-time",
|
|
457
|
+
"description": "Startup timestamp (ISO 8601)"
|
|
458
|
+
},
|
|
459
|
+
"environment": {
|
|
460
|
+
"type": "object",
|
|
461
|
+
"description": "Runtime environment info",
|
|
462
|
+
"properties": {
|
|
463
|
+
"runtime": {
|
|
464
|
+
"type": "string",
|
|
465
|
+
"description": "Runtime environment",
|
|
466
|
+
"examples": ["nodejs-20", "python-3.11", "docker"]
|
|
467
|
+
},
|
|
468
|
+
"region": {
|
|
469
|
+
"type": "string",
|
|
470
|
+
"description": "Deployment region"
|
|
471
|
+
},
|
|
472
|
+
"zone": {
|
|
473
|
+
"type": "string",
|
|
474
|
+
"description": "Availability zone"
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
"AgentStoppedPayload": {
|
|
481
|
+
"$id": "#/definitions/AgentStoppedPayload",
|
|
482
|
+
"type": "object",
|
|
483
|
+
"title": "Agent Stopped Payload",
|
|
484
|
+
"description": "Payload for agent shutdown notification",
|
|
485
|
+
"required": ["agentId", "reason", "stoppedAt"],
|
|
486
|
+
"properties": {
|
|
487
|
+
"agentId": {
|
|
488
|
+
"type": "string",
|
|
489
|
+
"format": "uri",
|
|
490
|
+
"pattern": "^agent://[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
|
491
|
+
"description": "Agent URI"
|
|
492
|
+
},
|
|
493
|
+
"reason": {
|
|
494
|
+
"type": "string",
|
|
495
|
+
"enum": ["shutdown", "upgrade", "error", "maintenance"],
|
|
496
|
+
"description": "Shutdown reason"
|
|
497
|
+
},
|
|
498
|
+
"message": {
|
|
499
|
+
"type": "string",
|
|
500
|
+
"description": "Additional shutdown message"
|
|
501
|
+
},
|
|
502
|
+
"stoppedAt": {
|
|
503
|
+
"type": "string",
|
|
504
|
+
"format": "date-time",
|
|
505
|
+
"description": "Shutdown timestamp (ISO 8601)"
|
|
506
|
+
},
|
|
507
|
+
"graceful": {
|
|
508
|
+
"type": "boolean",
|
|
509
|
+
"default": true,
|
|
510
|
+
"description": "Whether shutdown was graceful"
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
"AgentErrorPayload": {
|
|
515
|
+
"$id": "#/definitions/AgentErrorPayload",
|
|
516
|
+
"type": "object",
|
|
517
|
+
"title": "Agent Error Payload",
|
|
518
|
+
"description": "Payload for agent error notification",
|
|
519
|
+
"required": ["agentId", "error", "timestamp"],
|
|
520
|
+
"properties": {
|
|
521
|
+
"agentId": {
|
|
522
|
+
"type": "string",
|
|
523
|
+
"format": "uri",
|
|
524
|
+
"pattern": "^agent://[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
|
525
|
+
"description": "Agent URI"
|
|
526
|
+
},
|
|
527
|
+
"error": {
|
|
528
|
+
"type": "object",
|
|
529
|
+
"required": ["code", "message", "severity"],
|
|
530
|
+
"properties": {
|
|
531
|
+
"code": {
|
|
532
|
+
"type": "string",
|
|
533
|
+
"description": "Error code"
|
|
534
|
+
},
|
|
535
|
+
"message": {
|
|
536
|
+
"type": "string",
|
|
537
|
+
"description": "Error message"
|
|
538
|
+
},
|
|
539
|
+
"severity": {
|
|
540
|
+
"type": "string",
|
|
541
|
+
"enum": ["info", "warning", "error", "critical"],
|
|
542
|
+
"description": "Error severity"
|
|
543
|
+
},
|
|
544
|
+
"stackTrace": {
|
|
545
|
+
"type": "string",
|
|
546
|
+
"description": "Stack trace (if available)"
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
"timestamp": {
|
|
551
|
+
"type": "string",
|
|
552
|
+
"format": "date-time",
|
|
553
|
+
"description": "Error timestamp (ISO 8601)"
|
|
554
|
+
},
|
|
555
|
+
"context": {
|
|
556
|
+
"type": "object",
|
|
557
|
+
"description": "Error context",
|
|
558
|
+
"additionalProperties": true
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
"RetryPolicy": {
|
|
563
|
+
"$id": "#/definitions/RetryPolicy",
|
|
564
|
+
"type": "object",
|
|
565
|
+
"title": "Retry Policy",
|
|
566
|
+
"description": "Retry policy for task execution",
|
|
567
|
+
"properties": {
|
|
568
|
+
"maxRetries": {
|
|
569
|
+
"type": "integer",
|
|
570
|
+
"minimum": 0,
|
|
571
|
+
"maximum": 10,
|
|
572
|
+
"default": 3,
|
|
573
|
+
"description": "Maximum number of retry attempts"
|
|
574
|
+
},
|
|
575
|
+
"backoffType": {
|
|
576
|
+
"type": "string",
|
|
577
|
+
"enum": ["fixed", "exponential", "linear"],
|
|
578
|
+
"default": "exponential",
|
|
579
|
+
"description": "Backoff strategy"
|
|
580
|
+
},
|
|
581
|
+
"initialDelayMs": {
|
|
582
|
+
"type": "integer",
|
|
583
|
+
"minimum": 100,
|
|
584
|
+
"default": 1000,
|
|
585
|
+
"description": "Initial retry delay in milliseconds"
|
|
586
|
+
},
|
|
587
|
+
"maxDelayMs": {
|
|
588
|
+
"type": "integer",
|
|
589
|
+
"minimum": 1000,
|
|
590
|
+
"default": 60000,
|
|
591
|
+
"description": "Maximum retry delay in milliseconds"
|
|
592
|
+
},
|
|
593
|
+
"retryableErrors": {
|
|
594
|
+
"type": "array",
|
|
595
|
+
"items": {
|
|
596
|
+
"type": "string"
|
|
597
|
+
},
|
|
598
|
+
"description": "List of retryable error codes",
|
|
599
|
+
"examples": [["TIMEOUT", "RESOURCE_UNAVAILABLE", "RATE_LIMIT"]]
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
"Channel": {
|
|
604
|
+
"$id": "#/definitions/Channel",
|
|
605
|
+
"type": "object",
|
|
606
|
+
"title": "Channel",
|
|
607
|
+
"description": "Pub/sub communication channel",
|
|
608
|
+
"required": ["id", "name", "topic", "createdAt"],
|
|
609
|
+
"properties": {
|
|
610
|
+
"id": {
|
|
611
|
+
"type": "string",
|
|
612
|
+
"format": "uuid",
|
|
613
|
+
"description": "Unique channel identifier"
|
|
614
|
+
},
|
|
615
|
+
"name": {
|
|
616
|
+
"type": "string",
|
|
617
|
+
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
|
618
|
+
"description": "Channel name (lowercase, hyphen-separated)",
|
|
619
|
+
"examples": ["task-updates", "agent-events", "system-metrics"]
|
|
620
|
+
},
|
|
621
|
+
"topic": {
|
|
622
|
+
"type": "string",
|
|
623
|
+
"description": "Topic pattern (supports wildcards)",
|
|
624
|
+
"examples": [
|
|
625
|
+
"tasks.status.updates",
|
|
626
|
+
"agents.lifecycle.*",
|
|
627
|
+
"metrics.system.cpu"
|
|
628
|
+
]
|
|
629
|
+
},
|
|
630
|
+
"description": {
|
|
631
|
+
"type": "string",
|
|
632
|
+
"description": "Channel description"
|
|
633
|
+
},
|
|
634
|
+
"subscriberCount": {
|
|
635
|
+
"type": "integer",
|
|
636
|
+
"minimum": 0,
|
|
637
|
+
"description": "Number of active subscribers"
|
|
638
|
+
},
|
|
639
|
+
"messageCount": {
|
|
640
|
+
"type": "integer",
|
|
641
|
+
"minimum": 0,
|
|
642
|
+
"description": "Total messages published"
|
|
643
|
+
},
|
|
644
|
+
"retentionPolicy": {
|
|
645
|
+
"$ref": "#/definitions/RetentionPolicy"
|
|
646
|
+
},
|
|
647
|
+
"accessControl": {
|
|
648
|
+
"$ref": "#/definitions/AccessControl"
|
|
649
|
+
},
|
|
650
|
+
"createdAt": {
|
|
651
|
+
"type": "string",
|
|
652
|
+
"format": "date-time",
|
|
653
|
+
"description": "Channel creation timestamp (ISO 8601)"
|
|
654
|
+
},
|
|
655
|
+
"updatedAt": {
|
|
656
|
+
"type": "string",
|
|
657
|
+
"format": "date-time",
|
|
658
|
+
"description": "Last update timestamp (ISO 8601)"
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
},
|
|
662
|
+
"RetentionPolicy": {
|
|
663
|
+
"$id": "#/definitions/RetentionPolicy",
|
|
664
|
+
"type": "object",
|
|
665
|
+
"title": "Retention Policy",
|
|
666
|
+
"description": "Message retention policy for channels",
|
|
667
|
+
"properties": {
|
|
668
|
+
"retentionDays": {
|
|
669
|
+
"type": "integer",
|
|
670
|
+
"minimum": 1,
|
|
671
|
+
"maximum": 365,
|
|
672
|
+
"default": 7,
|
|
673
|
+
"description": "Number of days to retain messages"
|
|
674
|
+
},
|
|
675
|
+
"maxMessages": {
|
|
676
|
+
"type": "integer",
|
|
677
|
+
"minimum": 100,
|
|
678
|
+
"maximum": 1000000,
|
|
679
|
+
"default": 10000,
|
|
680
|
+
"description": "Maximum number of messages to retain"
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
"AccessControl": {
|
|
685
|
+
"$id": "#/definitions/AccessControl",
|
|
686
|
+
"type": "object",
|
|
687
|
+
"title": "Access Control",
|
|
688
|
+
"description": "Channel access control settings",
|
|
689
|
+
"properties": {
|
|
690
|
+
"public": {
|
|
691
|
+
"type": "boolean",
|
|
692
|
+
"default": false,
|
|
693
|
+
"description": "Whether channel is publicly accessible"
|
|
694
|
+
},
|
|
695
|
+
"allowedAgents": {
|
|
696
|
+
"type": "array",
|
|
697
|
+
"items": {
|
|
698
|
+
"type": "string",
|
|
699
|
+
"format": "uri",
|
|
700
|
+
"pattern": "^agent://[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
|
|
701
|
+
},
|
|
702
|
+
"description": "List of agent URIs allowed to access channel",
|
|
703
|
+
"examples": [
|
|
704
|
+
["agent://worker-001", "agent://worker-002", "agent://orchestrator-main"]
|
|
705
|
+
]
|
|
706
|
+
},
|
|
707
|
+
"allowedRoles": {
|
|
708
|
+
"type": "array",
|
|
709
|
+
"items": {
|
|
710
|
+
"type": "string"
|
|
711
|
+
},
|
|
712
|
+
"description": "List of roles allowed to access channel",
|
|
713
|
+
"examples": [["worker", "orchestrator", "monitor"]]
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
"Subscription": {
|
|
718
|
+
"$id": "#/definitions/Subscription",
|
|
719
|
+
"type": "object",
|
|
720
|
+
"title": "Subscription",
|
|
721
|
+
"description": "Channel subscription",
|
|
722
|
+
"required": ["id", "channelId", "agentId", "deliveryMode", "createdAt"],
|
|
723
|
+
"properties": {
|
|
724
|
+
"id": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"format": "uuid",
|
|
727
|
+
"description": "Unique subscription identifier"
|
|
728
|
+
},
|
|
729
|
+
"channelId": {
|
|
730
|
+
"type": "string",
|
|
731
|
+
"format": "uuid",
|
|
732
|
+
"description": "Channel identifier"
|
|
733
|
+
},
|
|
734
|
+
"agentId": {
|
|
735
|
+
"type": "string",
|
|
736
|
+
"format": "uri",
|
|
737
|
+
"pattern": "^agent://[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
|
738
|
+
"description": "Subscribing agent URI"
|
|
739
|
+
},
|
|
740
|
+
"deliveryMode": {
|
|
741
|
+
"type": "string",
|
|
742
|
+
"enum": ["push", "pull"],
|
|
743
|
+
"description": "Message delivery mode (push=webhook, pull=polling)"
|
|
744
|
+
},
|
|
745
|
+
"webhookUrl": {
|
|
746
|
+
"type": "string",
|
|
747
|
+
"format": "uri",
|
|
748
|
+
"description": "Webhook URL (required if deliveryMode=push)"
|
|
749
|
+
},
|
|
750
|
+
"filter": {
|
|
751
|
+
"$ref": "#/definitions/SubscriptionFilter"
|
|
752
|
+
},
|
|
753
|
+
"status": {
|
|
754
|
+
"type": "string",
|
|
755
|
+
"enum": ["active", "paused", "failed"],
|
|
756
|
+
"default": "active",
|
|
757
|
+
"description": "Subscription status"
|
|
758
|
+
},
|
|
759
|
+
"createdAt": {
|
|
760
|
+
"type": "string",
|
|
761
|
+
"format": "date-time",
|
|
762
|
+
"description": "Subscription creation timestamp (ISO 8601)"
|
|
763
|
+
},
|
|
764
|
+
"lastDeliveryAt": {
|
|
765
|
+
"type": "string",
|
|
766
|
+
"format": "date-time",
|
|
767
|
+
"description": "Last message delivery timestamp (ISO 8601)"
|
|
768
|
+
},
|
|
769
|
+
"deliveryStats": {
|
|
770
|
+
"type": "object",
|
|
771
|
+
"description": "Delivery statistics",
|
|
772
|
+
"properties": {
|
|
773
|
+
"totalDelivered": {
|
|
774
|
+
"type": "integer",
|
|
775
|
+
"minimum": 0,
|
|
776
|
+
"description": "Total messages delivered"
|
|
777
|
+
},
|
|
778
|
+
"totalFailed": {
|
|
779
|
+
"type": "integer",
|
|
780
|
+
"minimum": 0,
|
|
781
|
+
"description": "Total delivery failures"
|
|
782
|
+
},
|
|
783
|
+
"successRate": {
|
|
784
|
+
"type": "number",
|
|
785
|
+
"minimum": 0,
|
|
786
|
+
"maximum": 1,
|
|
787
|
+
"description": "Delivery success rate (0-1)"
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
"SubscriptionFilter": {
|
|
794
|
+
"$id": "#/definitions/SubscriptionFilter",
|
|
795
|
+
"type": "object",
|
|
796
|
+
"title": "Subscription Filter",
|
|
797
|
+
"description": "Message filtering for subscriptions",
|
|
798
|
+
"properties": {
|
|
799
|
+
"messageTypes": {
|
|
800
|
+
"type": "array",
|
|
801
|
+
"items": {
|
|
802
|
+
"$ref": "#/definitions/MessageType"
|
|
803
|
+
},
|
|
804
|
+
"description": "Filter by message types",
|
|
805
|
+
"examples": [
|
|
806
|
+
["TaskAssigned", "TaskCompleted"],
|
|
807
|
+
["AgentStarted", "AgentStopped", "AgentError"]
|
|
808
|
+
]
|
|
809
|
+
},
|
|
810
|
+
"agentFilter": {
|
|
811
|
+
"type": "string",
|
|
812
|
+
"description": "Filter by source agent pattern (supports wildcards)",
|
|
813
|
+
"examples": ["agent://worker-*", "agent://orchestrator-*"]
|
|
814
|
+
},
|
|
815
|
+
"priorityFilter": {
|
|
816
|
+
"type": "array",
|
|
817
|
+
"items": {
|
|
818
|
+
"type": "string",
|
|
819
|
+
"enum": ["low", "normal", "high", "critical"]
|
|
820
|
+
},
|
|
821
|
+
"description": "Filter by message priority",
|
|
822
|
+
"examples": [["high", "critical"]]
|
|
823
|
+
},
|
|
824
|
+
"attributeFilters": {
|
|
825
|
+
"type": "object",
|
|
826
|
+
"description": "Custom attribute filters",
|
|
827
|
+
"additionalProperties": {
|
|
828
|
+
"type": "string"
|
|
829
|
+
},
|
|
830
|
+
"examples": [
|
|
831
|
+
{
|
|
832
|
+
"environment": "production",
|
|
833
|
+
"region": "us-east-1"
|
|
834
|
+
}
|
|
835
|
+
]
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
"MessagePayloadWrapper": {
|
|
840
|
+
"$id": "#/definitions/MessagePayloadWrapper",
|
|
841
|
+
"type": "object",
|
|
842
|
+
"title": "Message Payload Wrapper",
|
|
843
|
+
"description": "Generic wrapper for message payloads with metadata",
|
|
844
|
+
"required": ["data", "timestamp"],
|
|
845
|
+
"properties": {
|
|
846
|
+
"data": {
|
|
847
|
+
"$ref": "#/definitions/MessagePayload"
|
|
848
|
+
},
|
|
849
|
+
"timestamp": {
|
|
850
|
+
"type": "string",
|
|
851
|
+
"format": "date-time",
|
|
852
|
+
"description": "Payload creation timestamp (ISO 8601)"
|
|
853
|
+
},
|
|
854
|
+
"metadata": {
|
|
855
|
+
"type": "object",
|
|
856
|
+
"description": "Payload metadata",
|
|
857
|
+
"properties": {
|
|
858
|
+
"schemaVersion": {
|
|
859
|
+
"type": "string",
|
|
860
|
+
"description": "Payload schema version",
|
|
861
|
+
"examples": ["1.0.0", "2.1.0"]
|
|
862
|
+
},
|
|
863
|
+
"encoding": {
|
|
864
|
+
"type": "string",
|
|
865
|
+
"enum": ["json", "protobuf", "msgpack"],
|
|
866
|
+
"default": "json",
|
|
867
|
+
"description": "Payload encoding"
|
|
868
|
+
},
|
|
869
|
+
"compressed": {
|
|
870
|
+
"type": "boolean",
|
|
871
|
+
"default": false,
|
|
872
|
+
"description": "Whether payload is compressed"
|
|
873
|
+
},
|
|
874
|
+
"checksum": {
|
|
875
|
+
"type": "string",
|
|
876
|
+
"description": "Payload checksum (for integrity verification)"
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
"oneOf": [
|
|
884
|
+
{
|
|
885
|
+
"$ref": "#/definitions/Message"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"$ref": "#/definitions/Channel"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"$ref": "#/definitions/Subscription"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"$ref": "#/definitions/MessagePayload"
|
|
895
|
+
}
|
|
896
|
+
]
|
|
897
|
+
}
|