@bluefly/openstandardagents 0.3.1 → 0.3.2
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/.devfile.yaml +87 -0
- package/.gitlab-ci-trigger +1 -0
- package/.wiki-config.json +24 -0
- package/CHANGELOG.md +212 -1
- package/README.md +31 -56
- package/dist/adapters/anthropic/runtime.js +2 -2
- package/dist/adapters/anthropic/runtime.js.map +1 -1
- package/dist/bot/architecture-validator-bot.d.ts +8 -0
- package/dist/bot/architecture-validator-bot.d.ts.map +1 -0
- package/dist/bot/architecture-validator-bot.js +15 -0
- package/dist/bot/architecture-validator-bot.js.map +1 -0
- package/dist/bot/ci-pipeline-bot.d.ts +7 -0
- package/dist/bot/ci-pipeline-bot.d.ts.map +1 -0
- package/dist/bot/ci-pipeline-bot.js +7 -0
- package/dist/bot/ci-pipeline-bot.js.map +1 -0
- package/dist/bot/compliance-bot.d.ts +56 -0
- package/dist/bot/compliance-bot.d.ts.map +1 -0
- package/dist/bot/compliance-bot.js +203 -0
- package/dist/bot/compliance-bot.js.map +1 -0
- package/dist/bot/dependency-updater-bot.d.ts +9 -0
- package/dist/bot/dependency-updater-bot.d.ts.map +1 -0
- package/dist/bot/dependency-updater-bot.js +9 -0
- package/dist/bot/dependency-updater-bot.js.map +1 -0
- package/dist/bot/security-scanner-bot.d.ts +11 -0
- package/dist/bot/security-scanner-bot.d.ts.map +1 -0
- package/dist/bot/security-scanner-bot.js +21 -0
- package/dist/bot/security-scanner-bot.js.map +1 -0
- package/dist/cli/commands/agent-card.command.d.ts +11 -0
- package/dist/cli/commands/agent-card.command.d.ts.map +1 -0
- package/dist/cli/commands/agent-card.command.js +285 -0
- package/dist/cli/commands/agent-card.command.js.map +1 -0
- package/dist/cli/commands/agents.command.d.ts +11 -0
- package/dist/cli/commands/agents.command.d.ts.map +1 -0
- package/dist/cli/commands/agents.command.js +326 -0
- package/dist/cli/commands/agents.command.js.map +1 -0
- package/dist/cli/commands/generate.command.d.ts +13 -2
- package/dist/cli/commands/generate.command.d.ts.map +1 -1
- package/dist/cli/commands/generate.command.js +204 -29
- package/dist/cli/commands/generate.command.js.map +1 -1
- package/dist/cli/commands/registry.command.d.ts +14 -0
- package/dist/cli/commands/registry.command.d.ts.map +1 -0
- package/dist/cli/commands/registry.command.js +428 -0
- package/dist/cli/commands/registry.command.js.map +1 -0
- package/dist/cli/commands/workspace.command.d.ts +14 -0
- package/dist/cli/commands/workspace.command.d.ts.map +1 -0
- package/dist/cli/commands/workspace.command.js +467 -0
- package/dist/cli/commands/workspace.command.js.map +1 -0
- package/dist/cli/index.js +9 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/di-container.d.ts.map +1 -1
- package/dist/di-container.js +20 -0
- package/dist/di-container.js.map +1 -1
- package/dist/services/codegen/codegen.service.d.ts +75 -0
- package/dist/services/codegen/codegen.service.d.ts.map +1 -0
- package/dist/services/codegen/codegen.service.js +136 -0
- package/dist/services/codegen/codegen.service.js.map +1 -0
- package/dist/services/codegen/generators/manifest.generator.d.ts +41 -0
- package/dist/services/codegen/generators/manifest.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/manifest.generator.js +178 -0
- package/dist/services/codegen/generators/manifest.generator.js.map +1 -0
- package/dist/services/codegen/generators/openapi.generator.d.ts +46 -0
- package/dist/services/codegen/generators/openapi.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/openapi.generator.js +157 -0
- package/dist/services/codegen/generators/openapi.generator.js.map +1 -0
- package/dist/services/codegen/generators/types.generator.d.ts +27 -0
- package/dist/services/codegen/generators/types.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/types.generator.js +97 -0
- package/dist/services/codegen/generators/types.generator.js.map +1 -0
- package/dist/services/codegen/generators/vscode.generator.d.ts +43 -0
- package/dist/services/codegen/generators/vscode.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/vscode.generator.js +163 -0
- package/dist/services/codegen/generators/vscode.generator.js.map +1 -0
- package/dist/services/codegen/generators/zod.generator.d.ts +31 -0
- package/dist/services/codegen/generators/zod.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/zod.generator.js +134 -0
- package/dist/services/codegen/generators/zod.generator.js.map +1 -0
- package/dist/services/codegen/index.d.ts +33 -0
- package/dist/services/codegen/index.d.ts.map +1 -0
- package/dist/services/codegen/index.js +36 -0
- package/dist/services/codegen/index.js.map +1 -0
- package/dist/spec/extensions/openapi/ossa-openapi-extensions.schema.json +804 -0
- package/dist/spec/v0.3.0/examples/drupal-content-writer.ossa.yaml +1 -1
- package/dist/spec/v0.3.0/examples/drupal-moderation-assistant.ossa.yaml +1 -1
- package/dist/spec/v0.3.0/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +1 -1
- package/dist/spec/v0.3.0/runtime-bindings/anthropic.yaml +209 -0
- package/dist/spec/v0.3.1/examples/agent-with-identity.ossa.yaml +68 -0
- package/dist/spec/v0.3.1/examples/drupal-content-writer.ossa.yaml +1 -1
- package/dist/spec/v0.3.1/examples/drupal-moderation-assistant.ossa.yaml +1 -1
- package/dist/spec/v0.3.1/examples/multi-provider-identity.ossa.yaml +236 -0
- package/dist/spec/v0.3.1/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +1 -1
- package/dist/spec/v0.3.1/extensions/agent-identity.yaml +594 -0
- package/dist/spec/v0.3.1/ossa-0.3.1.schema.json +300 -21
- package/dist/spec/v0.3.2/MIGRATION-v0.3.1-to-v0.3.2.md +293 -0
- package/dist/spec/v0.3.2/UNIFIED-SCHEMA.md +120 -0
- package/dist/spec/v0.3.2/access_tiers.yaml +375 -0
- package/dist/spec/v0.3.2/adapters/drupal.md +541 -0
- package/dist/spec/v0.3.2/adapters/symfony.md +659 -0
- package/dist/spec/v0.3.2/agent-test.schema.json +75 -0
- package/dist/spec/v0.3.2/examples/access-tiers/README.md +106 -0
- package/dist/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +119 -0
- package/dist/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +234 -0
- package/dist/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +201 -0
- package/dist/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +117 -0
- package/dist/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +133 -0
- package/dist/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +68 -0
- package/dist/spec/v0.3.2/examples/drupal-content-writer.ossa.yaml +110 -0
- package/dist/spec/v0.3.2/examples/drupal-moderation-assistant.ossa.yaml +96 -0
- package/dist/spec/v0.3.2/examples/multi-provider-identity.ossa.yaml +236 -0
- package/dist/spec/v0.3.2/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +144 -0
- package/dist/spec/v0.3.2/examples/tasks/data-transform.ossa.yaml +147 -0
- package/dist/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +125 -0
- package/dist/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +190 -0
- package/dist/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +247 -0
- package/dist/spec/v0.3.2/extensions/agent-identity.yaml +594 -0
- package/dist/spec/v0.3.2/extensions/drupal.md +417 -0
- package/dist/spec/v0.3.2/infrastructure/service-ports.yaml +324 -0
- package/dist/spec/{v0.3.1/ossa-0.3.0.schema.json → v0.3.2/ossa-0.3.2.schema.json} +563 -34
- package/dist/spec/v0.3.2/protocols/delegation.yaml +239 -0
- package/dist/spec/v0.3.2/protocols/sse.md +494 -0
- package/dist/spec/v0.3.2/protocols/webrtc.md +600 -0
- package/dist/spec/v0.3.2/protocols/websocket.md +362 -0
- package/dist/spec/v0.3.2/runtime/RUNTIME.md +457 -0
- package/dist/spec/v0.3.2/runtime/memory-model.yaml +871 -0
- package/dist/spec/v0.3.2/runtime/runtime.yaml +926 -0
- package/dist/spec/v0.3.2/schemas/agent-unified.yaml +165 -0
- package/dist/spec/v0.3.2/schemas/capabilities.yaml +102 -0
- package/dist/spec/v0.3.2/schemas/functions.yaml +75 -0
- package/dist/spec/v0.3.2/schemas/messaging/channel.schema.json +245 -0
- package/dist/spec/v0.3.2/schemas/messaging/delivery-receipt.schema.json +192 -0
- package/dist/spec/v0.3.2/schemas/messaging/message.schema.json +205 -0
- package/dist/spec/v0.3.2/schemas/messaging/subscription.schema.json +214 -0
- package/dist/spec/v0.3.2/schemas/runtime.yaml +102 -0
- package/dist/spec/v0.3.2/schemas/taxonomy.yaml +533 -0
- package/dist/spec/v0.3.2/schemas/unified-llm.yaml +91 -0
- package/dist/spec/v0.3.2/taxonomy.yaml +363 -0
- package/dist/types/generated/ossa-0.3.2.types.d.ts +367 -0
- package/dist/types/generated/ossa-0.3.2.types.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.2.types.js +10 -0
- package/dist/types/generated/ossa-0.3.2.types.js.map +1 -0
- package/dist/types/generated/ossa-0.3.2.zod.d.ts +36 -0
- package/dist/types/generated/ossa-0.3.2.zod.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.2.zod.js +25 -0
- package/dist/types/generated/ossa-0.3.2.zod.js.map +1 -0
- package/examples/adapters/drupal-eca-mapping.yaml +1 -1
- package/examples/adapters/drupal-eca-task.yaml +1 -1
- package/examples/adapters/drupal-flowdrop-mapping.yaml +1 -1
- package/examples/adapters/drupal-maestro-mapping.yaml +1 -1
- package/examples/adapters/mistral-agent.yaml +1 -1
- package/examples/adapters/symfony-messenger-task.yaml +1 -1
- package/examples/adapters/symfony-messenger-workflow.yaml +1 -1
- 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 -1
- 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/agents/architecture-healer-enterprise.yaml +1 -1
- package/examples/agents/dependency-healer-npm.yaml +1 -1
- package/examples/agents/spec-healer-openapi.yaml +1 -1
- package/examples/agents/wiki-healer-production.yaml +1 -1
- package/examples/agents-md/code-agent.ossa.json +36 -11
- package/examples/agents-md/monorepo-agent.ossa.yaml +1 -1
- package/examples/anthropic/claude-assistant.ossa.json +4 -4
- package/examples/autogen/multi-agent.ossa.json +2 -2
- package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +1 -1
- 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/contracts/data-consumer.ossa.yaml +1 -1
- package/examples/contracts/data-producer-v2.ossa.yaml +1 -1
- package/examples/contracts/data-producer.ossa.yaml +1 -1
- package/examples/crewai/research-team.ossa.json +2 -2
- package/examples/cursor/code-review-agent.ossa.json +2 -2
- package/examples/drupal/ai_agents_ossa-module/.agents/example-agent/agent.ossa.yaml +1 -1
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +1 -1
- package/examples/extensions/agents-md-advanced.yml +1 -1
- package/examples/extensions/agents-md-basic.yml +1 -1
- package/examples/extensions/agents-md-sync.yml +1 -1
- package/examples/extensions/agents-md-v1.yml +1 -1
- package/examples/extensions/drupal-v1.yml +1 -1
- package/examples/extensions/encryption-multi-provider.yaml +4 -4
- package/examples/extensions/kagent-v1.yml +1 -1
- package/examples/extensions/knowledge-sources.yaml +1 -1
- package/examples/extensions/mcp-full-featured.yaml +1 -1
- package/examples/getting-started/01-minimal-agent.ossa.yaml +3 -3
- package/examples/getting-started/02-agent-with-tools.ossa.yaml +1 -1
- package/examples/getting-started/03-agent-with-safety.ossa.yaml +1 -1
- package/examples/getting-started/04-agent-with-messaging.ossa.yaml +2 -2
- package/examples/getting-started/05-workflow-composition.ossa.yaml +1 -1
- 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.ossa.yaml +1 -1
- package/examples/kagent/security-scanner.ossa.yaml +1 -1
- package/examples/langchain/chain-agent.ossa.json +2 -2
- package/examples/langflow/workflow-agent.ossa.json +2 -2
- package/examples/langgraph/state-machine-agent.ossa.json +2 -2
- package/examples/llamaindex/rag-agent.ossa.json +2 -2
- package/examples/messaging/dependency-healer.ossa.yaml +1 -1
- package/examples/messaging/incident-responder.ossa.yaml +1 -1
- package/examples/messaging/routing-rules.ossa.yaml +3 -3
- package/examples/messaging/security-scanner.ossa.yaml +1 -1
- package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
- 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 +1 -1
- package/examples/openai/basic-agent.ossa.yaml +1 -1
- package/examples/openai/multi-tool-agent.ossa.json +2 -2
- package/examples/openai/swarm-agent.ossa.json +2 -2
- package/examples/production/document-analyzer-openai.yml +1 -1
- package/examples/quickstart/support-agent.ossa.yaml +1 -1
- package/examples/real-world/gitlab-cicd-optimizer.ossa.yaml +1 -1
- package/examples/real-world/rag-documentation-assistant.ossa.yaml +1 -1
- package/examples/runtime-adapters/bedrock-claude-example.ossa.yaml +1 -1
- package/examples/schema/reusable-components.yaml +1 -1
- package/examples/showcase/ci-pipeline.ossa.yaml +59 -0
- package/examples/showcase/code-assistant.ossa.yaml +118 -0
- package/examples/showcase/code-reviewer.ossa.yaml +61 -0
- package/examples/showcase/compliance-validator.ossa.yaml +62 -0
- package/examples/showcase/content-writer.ossa.yaml +67 -0
- package/examples/showcase/data-transformer.ossa.yaml +78 -0
- package/examples/showcase/doc-generator.ossa.yaml +68 -0
- package/examples/showcase/security-scanner.ossa.yaml +65 -0
- package/examples/showcase/test-generator.ossa.yaml +63 -0
- package/examples/showcase/workflow-orchestrator.ossa.yaml +129 -0
- package/examples/tasks/batch-email-sender.yaml +1 -1
- package/examples/tasks/data-transform.yaml +1 -1
- package/examples/tasks/publish-content.yaml +1 -1
- package/examples/templates/ossa-compliance.yaml +1 -1
- package/examples/unified/security-scanner.ossa.yaml +1 -1
- package/examples/vercel/edge-agent.ossa.json +2 -2
- package/examples/workflows/batch-email-campaign.yaml +1 -1
- package/examples/workflows/content-review-publish.yaml +1 -1
- package/examples/workflows/simple-etl.yaml +1 -1
- package/llms-ctx-full.txt +39 -0
- package/llms-ctx.txt +39 -0
- package/openapi/agent-communication.yaml +1 -1
- package/openapi/agent-crud.yaml +8 -8
- package/openapi/agent-discovery.yaml +2 -2
- package/openapi/agent-identity.yaml +8 -8
- package/openapi/cli-commands.openapi.yaml +231 -0
- package/openapi/core/ossa-core-api.openapi.yaml +1 -1
- package/openapi/core/ossa-registry-api.openapi.yaml +1 -1
- package/openapi/core/ossa-registry.openapi.yaml +1 -1
- package/openapi/core/unified-agent-gateway.openapi.yaml +1 -1
- package/openapi/github-sync.yaml +1 -1
- package/openapi/protocols/sse-streams.yaml +1 -1
- package/openapi/protocols/websocket-events.yaml +2 -2
- package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/critic-agent-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/drupal-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/governor-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/helm-generator.openapi.yaml +1 -1
- package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/judge-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/self-evolving-ecosystem.openapi.yaml +1 -1
- package/openapi/reference-implementations/worker-agent-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +1 -1
- package/package.json +13 -3
- package/spec/extensions/openapi/ossa-openapi-extensions.schema.json +804 -0
- package/spec/v0.3.0/examples/drupal-content-writer.ossa.yaml +1 -1
- package/spec/v0.3.0/examples/drupal-moderation-assistant.ossa.yaml +1 -1
- package/spec/v0.3.0/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +1 -1
- package/spec/v0.3.0/runtime-bindings/anthropic.yaml +209 -0
- package/spec/v0.3.1/examples/agent-with-identity.ossa.yaml +68 -0
- package/spec/v0.3.1/examples/drupal-content-writer.ossa.yaml +1 -1
- package/spec/v0.3.1/examples/drupal-moderation-assistant.ossa.yaml +1 -1
- package/spec/v0.3.1/examples/multi-provider-identity.ossa.yaml +236 -0
- package/spec/v0.3.1/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +1 -1
- package/spec/v0.3.1/extensions/agent-identity.yaml +594 -0
- package/spec/v0.3.1/ossa-0.3.1.schema.json +300 -21
- package/spec/v0.3.2/MIGRATION-v0.3.1-to-v0.3.2.md +293 -0
- package/spec/v0.3.2/UNIFIED-SCHEMA.md +120 -0
- package/spec/v0.3.2/access_tiers.yaml +375 -0
- package/spec/v0.3.2/adapters/drupal.md +541 -0
- package/spec/v0.3.2/adapters/symfony.md +659 -0
- package/spec/v0.3.2/agent-test.schema.json +75 -0
- package/spec/v0.3.2/examples/access-tiers/README.md +106 -0
- package/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +119 -0
- package/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +234 -0
- package/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +201 -0
- package/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +117 -0
- package/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +133 -0
- package/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +68 -0
- package/spec/v0.3.2/examples/drupal-content-writer.ossa.yaml +110 -0
- package/spec/v0.3.2/examples/drupal-moderation-assistant.ossa.yaml +96 -0
- package/spec/v0.3.2/examples/multi-provider-identity.ossa.yaml +236 -0
- package/spec/v0.3.2/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +144 -0
- package/spec/v0.3.2/examples/tasks/data-transform.ossa.yaml +147 -0
- package/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +125 -0
- package/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +190 -0
- package/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +247 -0
- package/spec/v0.3.2/extensions/agent-identity.yaml +594 -0
- package/spec/v0.3.2/extensions/drupal.md +417 -0
- package/spec/v0.3.2/infrastructure/service-ports.yaml +324 -0
- package/spec/{v0.3.1/ossa-0.3.0.schema.json → v0.3.2/ossa-0.3.2.schema.json} +563 -34
- package/spec/v0.3.2/protocols/delegation.yaml +239 -0
- package/spec/v0.3.2/protocols/sse.md +494 -0
- package/spec/v0.3.2/protocols/webrtc.md +600 -0
- package/spec/v0.3.2/protocols/websocket.md +362 -0
- package/spec/v0.3.2/runtime/RUNTIME.md +457 -0
- package/spec/v0.3.2/runtime/memory-model.yaml +871 -0
- package/spec/v0.3.2/runtime/runtime.yaml +926 -0
- package/spec/v0.3.2/schemas/agent-unified.yaml +165 -0
- package/spec/v0.3.2/schemas/capabilities.yaml +102 -0
- package/spec/v0.3.2/schemas/functions.yaml +75 -0
- package/spec/v0.3.2/schemas/messaging/channel.schema.json +245 -0
- package/spec/v0.3.2/schemas/messaging/delivery-receipt.schema.json +192 -0
- package/spec/v0.3.2/schemas/messaging/message.schema.json +205 -0
- package/spec/v0.3.2/schemas/messaging/subscription.schema.json +214 -0
- package/spec/v0.3.2/schemas/runtime.yaml +102 -0
- package/spec/v0.3.2/schemas/taxonomy.yaml +533 -0
- package/spec/v0.3.2/schemas/unified-llm.yaml +91 -0
- package/spec/v0.3.2/taxonomy.yaml +363 -0
- package/examples/common_npm/agent-router.v0.2.2.ossa.yaml +0 -60
- package/examples/drupal/gitlab-ml-recommender.v0.2.2.ossa.yaml +0 -68
- package/examples/kagent/k8s-troubleshooter-v1.v0.2.2.ossa.yaml +0 -106
|
@@ -0,0 +1,926 @@
|
|
|
1
|
+
# OSSA v0.3.2 - Agent Runtime Specification
|
|
2
|
+
# Defines agent lifecycle, control signals, execution model, and network isolation
|
|
3
|
+
#
|
|
4
|
+
# Related schemas:
|
|
5
|
+
# - ../schemas/runtime.yaml (runtime declaration/binding)
|
|
6
|
+
# - ./memory-model.yaml (memory provider interface)
|
|
7
|
+
|
|
8
|
+
$schema: http://json-schema.org/draft-07/schema#
|
|
9
|
+
$id: https://openstandardagents.org/schemas/v0.3.2/runtime/runtime.yaml
|
|
10
|
+
|
|
11
|
+
title: OSSA Agent Runtime Specification
|
|
12
|
+
description: |
|
|
13
|
+
Comprehensive runtime specification for OSSA agents defining:
|
|
14
|
+
- Agent Lifecycle: init -> plan -> act -> reflect -> terminate
|
|
15
|
+
- Standard Control Signals: tool_call, delegation, halt, error
|
|
16
|
+
- Execution Model with timeout and sandbox boundaries
|
|
17
|
+
- Network Isolation Model for secure multi-agent deployments
|
|
18
|
+
|
|
19
|
+
type: object
|
|
20
|
+
required:
|
|
21
|
+
- apiVersion
|
|
22
|
+
- kind
|
|
23
|
+
- lifecycle
|
|
24
|
+
|
|
25
|
+
properties:
|
|
26
|
+
apiVersion:
|
|
27
|
+
type: string
|
|
28
|
+
const: ossa/v0.3.2
|
|
29
|
+
description: Runtime specification version
|
|
30
|
+
|
|
31
|
+
kind:
|
|
32
|
+
type: string
|
|
33
|
+
const: RuntimeSpec
|
|
34
|
+
description: Resource type for runtime specification
|
|
35
|
+
|
|
36
|
+
# ============================================
|
|
37
|
+
# AGENT LIFECYCLE
|
|
38
|
+
# Standard 5-phase lifecycle for all agents
|
|
39
|
+
# ============================================
|
|
40
|
+
lifecycle:
|
|
41
|
+
type: object
|
|
42
|
+
description: |
|
|
43
|
+
Agent lifecycle defines the standard phases an agent goes through
|
|
44
|
+
during execution. All compliant runtimes MUST implement these phases.
|
|
45
|
+
required:
|
|
46
|
+
- phases
|
|
47
|
+
- transitions
|
|
48
|
+
properties:
|
|
49
|
+
phases:
|
|
50
|
+
type: object
|
|
51
|
+
description: Lifecycle phase definitions
|
|
52
|
+
required:
|
|
53
|
+
- init
|
|
54
|
+
- plan
|
|
55
|
+
- act
|
|
56
|
+
- reflect
|
|
57
|
+
- terminate
|
|
58
|
+
properties:
|
|
59
|
+
init:
|
|
60
|
+
$ref: '#/definitions/LifecyclePhase'
|
|
61
|
+
description: |
|
|
62
|
+
Initialization phase where the agent:
|
|
63
|
+
- Loads configuration and credentials
|
|
64
|
+
- Establishes connections to tools/services
|
|
65
|
+
- Validates input parameters
|
|
66
|
+
- Sets up logging and telemetry
|
|
67
|
+
default:
|
|
68
|
+
name: init
|
|
69
|
+
timeout_seconds: 30
|
|
70
|
+
retry_policy:
|
|
71
|
+
max_attempts: 3
|
|
72
|
+
backoff: exponential
|
|
73
|
+
required_signals:
|
|
74
|
+
- ready
|
|
75
|
+
failure_signals:
|
|
76
|
+
- init_error
|
|
77
|
+
|
|
78
|
+
plan:
|
|
79
|
+
$ref: '#/definitions/LifecyclePhase'
|
|
80
|
+
description: |
|
|
81
|
+
Planning phase where the agent:
|
|
82
|
+
- Analyzes the task/goal
|
|
83
|
+
- Retrieves relevant context from memory
|
|
84
|
+
- Generates execution plan
|
|
85
|
+
- Determines required tools and delegations
|
|
86
|
+
default:
|
|
87
|
+
name: plan
|
|
88
|
+
timeout_seconds: 60
|
|
89
|
+
retry_policy:
|
|
90
|
+
max_attempts: 2
|
|
91
|
+
backoff: linear
|
|
92
|
+
required_signals:
|
|
93
|
+
- plan_ready
|
|
94
|
+
failure_signals:
|
|
95
|
+
- plan_error
|
|
96
|
+
|
|
97
|
+
act:
|
|
98
|
+
$ref: '#/definitions/LifecyclePhase'
|
|
99
|
+
description: |
|
|
100
|
+
Action phase where the agent:
|
|
101
|
+
- Executes planned steps
|
|
102
|
+
- Makes tool calls
|
|
103
|
+
- Delegates to sub-agents
|
|
104
|
+
- Produces artifacts/outputs
|
|
105
|
+
default:
|
|
106
|
+
name: act
|
|
107
|
+
timeout_seconds: 300
|
|
108
|
+
retry_policy:
|
|
109
|
+
max_attempts: 3
|
|
110
|
+
backoff: exponential
|
|
111
|
+
required_signals:
|
|
112
|
+
- action_complete
|
|
113
|
+
failure_signals:
|
|
114
|
+
- action_error
|
|
115
|
+
- timeout
|
|
116
|
+
|
|
117
|
+
reflect:
|
|
118
|
+
$ref: '#/definitions/LifecyclePhase'
|
|
119
|
+
description: |
|
|
120
|
+
Reflection phase where the agent:
|
|
121
|
+
- Evaluates action results
|
|
122
|
+
- Updates memory with learnings
|
|
123
|
+
- Determines if goal is achieved
|
|
124
|
+
- Decides on iteration or termination
|
|
125
|
+
default:
|
|
126
|
+
name: reflect
|
|
127
|
+
timeout_seconds: 30
|
|
128
|
+
retry_policy:
|
|
129
|
+
max_attempts: 1
|
|
130
|
+
backoff: constant
|
|
131
|
+
required_signals:
|
|
132
|
+
- reflection_complete
|
|
133
|
+
failure_signals:
|
|
134
|
+
- reflection_error
|
|
135
|
+
|
|
136
|
+
terminate:
|
|
137
|
+
$ref: '#/definitions/LifecyclePhase'
|
|
138
|
+
description: |
|
|
139
|
+
Termination phase where the agent:
|
|
140
|
+
- Finalizes outputs
|
|
141
|
+
- Persists state to long-term memory
|
|
142
|
+
- Releases resources
|
|
143
|
+
- Emits completion telemetry
|
|
144
|
+
default:
|
|
145
|
+
name: terminate
|
|
146
|
+
timeout_seconds: 15
|
|
147
|
+
retry_policy:
|
|
148
|
+
max_attempts: 1
|
|
149
|
+
backoff: constant
|
|
150
|
+
required_signals:
|
|
151
|
+
- terminated
|
|
152
|
+
failure_signals:
|
|
153
|
+
- termination_error
|
|
154
|
+
|
|
155
|
+
transitions:
|
|
156
|
+
type: array
|
|
157
|
+
description: Valid lifecycle phase transitions
|
|
158
|
+
items:
|
|
159
|
+
$ref: '#/definitions/PhaseTransition'
|
|
160
|
+
default:
|
|
161
|
+
- from: init
|
|
162
|
+
to: plan
|
|
163
|
+
condition: ready
|
|
164
|
+
- from: plan
|
|
165
|
+
to: act
|
|
166
|
+
condition: plan_ready
|
|
167
|
+
- from: act
|
|
168
|
+
to: reflect
|
|
169
|
+
condition: action_complete
|
|
170
|
+
- from: reflect
|
|
171
|
+
to: act
|
|
172
|
+
condition: iteration_needed
|
|
173
|
+
- from: reflect
|
|
174
|
+
to: terminate
|
|
175
|
+
condition: goal_achieved
|
|
176
|
+
- from: any
|
|
177
|
+
to: terminate
|
|
178
|
+
condition: halt_signal
|
|
179
|
+
- from: any
|
|
180
|
+
to: terminate
|
|
181
|
+
condition: error_unrecoverable
|
|
182
|
+
|
|
183
|
+
max_iterations:
|
|
184
|
+
type: integer
|
|
185
|
+
description: Maximum plan-act-reflect cycles before forced termination
|
|
186
|
+
default: 10
|
|
187
|
+
minimum: 1
|
|
188
|
+
maximum: 100
|
|
189
|
+
|
|
190
|
+
total_timeout_seconds:
|
|
191
|
+
type: integer
|
|
192
|
+
description: Maximum total execution time across all phases
|
|
193
|
+
default: 3600
|
|
194
|
+
minimum: 60
|
|
195
|
+
maximum: 86400
|
|
196
|
+
|
|
197
|
+
# ============================================
|
|
198
|
+
# CONTROL SIGNALS
|
|
199
|
+
# Standard signals for agent control flow
|
|
200
|
+
# ============================================
|
|
201
|
+
control_signals:
|
|
202
|
+
type: object
|
|
203
|
+
description: |
|
|
204
|
+
Control signals define the standard communication primitives
|
|
205
|
+
between agents, runtimes, and external systems.
|
|
206
|
+
properties:
|
|
207
|
+
tool_call:
|
|
208
|
+
$ref: '#/definitions/ControlSignal'
|
|
209
|
+
description: Signal to invoke an external tool or capability
|
|
210
|
+
default:
|
|
211
|
+
type: tool_call
|
|
212
|
+
async: true
|
|
213
|
+
timeout_seconds: 60
|
|
214
|
+
schema:
|
|
215
|
+
type: object
|
|
216
|
+
required:
|
|
217
|
+
- tool_name
|
|
218
|
+
- parameters
|
|
219
|
+
properties:
|
|
220
|
+
tool_name:
|
|
221
|
+
type: string
|
|
222
|
+
parameters:
|
|
223
|
+
type: object
|
|
224
|
+
correlation_id:
|
|
225
|
+
type: string
|
|
226
|
+
format: uuid
|
|
227
|
+
|
|
228
|
+
delegation:
|
|
229
|
+
$ref: '#/definitions/ControlSignal'
|
|
230
|
+
description: Signal to delegate work to another agent
|
|
231
|
+
default:
|
|
232
|
+
type: delegation
|
|
233
|
+
async: true
|
|
234
|
+
timeout_seconds: 300
|
|
235
|
+
schema:
|
|
236
|
+
type: object
|
|
237
|
+
required:
|
|
238
|
+
- target_agent
|
|
239
|
+
- task
|
|
240
|
+
properties:
|
|
241
|
+
target_agent:
|
|
242
|
+
type: string
|
|
243
|
+
description: Agent ID or capability query
|
|
244
|
+
task:
|
|
245
|
+
type: object
|
|
246
|
+
description: Task specification for delegate
|
|
247
|
+
context:
|
|
248
|
+
type: object
|
|
249
|
+
description: Context to pass to delegate
|
|
250
|
+
callback:
|
|
251
|
+
type: string
|
|
252
|
+
description: Callback endpoint for results
|
|
253
|
+
|
|
254
|
+
halt:
|
|
255
|
+
$ref: '#/definitions/ControlSignal'
|
|
256
|
+
description: Signal to immediately stop agent execution
|
|
257
|
+
default:
|
|
258
|
+
type: halt
|
|
259
|
+
async: false
|
|
260
|
+
timeout_seconds: 5
|
|
261
|
+
schema:
|
|
262
|
+
type: object
|
|
263
|
+
required:
|
|
264
|
+
- reason
|
|
265
|
+
properties:
|
|
266
|
+
reason:
|
|
267
|
+
type: string
|
|
268
|
+
enum:
|
|
269
|
+
- user_interrupt
|
|
270
|
+
- resource_limit
|
|
271
|
+
- policy_violation
|
|
272
|
+
- external_signal
|
|
273
|
+
- parent_termination
|
|
274
|
+
graceful:
|
|
275
|
+
type: boolean
|
|
276
|
+
default: true
|
|
277
|
+
description: Allow cleanup before termination
|
|
278
|
+
message:
|
|
279
|
+
type: string
|
|
280
|
+
|
|
281
|
+
error:
|
|
282
|
+
$ref: '#/definitions/ControlSignal'
|
|
283
|
+
description: Signal indicating an error condition
|
|
284
|
+
default:
|
|
285
|
+
type: error
|
|
286
|
+
async: false
|
|
287
|
+
timeout_seconds: 5
|
|
288
|
+
schema:
|
|
289
|
+
type: object
|
|
290
|
+
required:
|
|
291
|
+
- error_code
|
|
292
|
+
- message
|
|
293
|
+
properties:
|
|
294
|
+
error_code:
|
|
295
|
+
type: string
|
|
296
|
+
enum:
|
|
297
|
+
- INIT_FAILED
|
|
298
|
+
- PLAN_FAILED
|
|
299
|
+
- ACTION_FAILED
|
|
300
|
+
- TOOL_ERROR
|
|
301
|
+
- DELEGATION_ERROR
|
|
302
|
+
- TIMEOUT
|
|
303
|
+
- RESOURCE_EXHAUSTED
|
|
304
|
+
- PERMISSION_DENIED
|
|
305
|
+
- INVALID_STATE
|
|
306
|
+
- NETWORK_ERROR
|
|
307
|
+
message:
|
|
308
|
+
type: string
|
|
309
|
+
recoverable:
|
|
310
|
+
type: boolean
|
|
311
|
+
default: false
|
|
312
|
+
details:
|
|
313
|
+
type: object
|
|
314
|
+
stack_trace:
|
|
315
|
+
type: string
|
|
316
|
+
|
|
317
|
+
ready:
|
|
318
|
+
$ref: '#/definitions/ControlSignal'
|
|
319
|
+
description: Signal indicating agent is ready for work
|
|
320
|
+
default:
|
|
321
|
+
type: ready
|
|
322
|
+
async: false
|
|
323
|
+
timeout_seconds: 1
|
|
324
|
+
schema:
|
|
325
|
+
type: object
|
|
326
|
+
properties:
|
|
327
|
+
capabilities:
|
|
328
|
+
type: array
|
|
329
|
+
items:
|
|
330
|
+
type: string
|
|
331
|
+
version:
|
|
332
|
+
type: string
|
|
333
|
+
|
|
334
|
+
heartbeat:
|
|
335
|
+
$ref: '#/definitions/ControlSignal'
|
|
336
|
+
description: Periodic signal indicating agent liveness
|
|
337
|
+
default:
|
|
338
|
+
type: heartbeat
|
|
339
|
+
async: false
|
|
340
|
+
timeout_seconds: 1
|
|
341
|
+
interval_seconds: 30
|
|
342
|
+
schema:
|
|
343
|
+
type: object
|
|
344
|
+
properties:
|
|
345
|
+
timestamp:
|
|
346
|
+
type: string
|
|
347
|
+
format: date-time
|
|
348
|
+
phase:
|
|
349
|
+
type: string
|
|
350
|
+
metrics:
|
|
351
|
+
type: object
|
|
352
|
+
|
|
353
|
+
# ============================================
|
|
354
|
+
# EXECUTION MODEL
|
|
355
|
+
# Timeout and sandbox boundaries
|
|
356
|
+
# ============================================
|
|
357
|
+
execution:
|
|
358
|
+
type: object
|
|
359
|
+
description: |
|
|
360
|
+
Execution model defines runtime constraints including timeouts,
|
|
361
|
+
resource limits, and sandbox boundaries.
|
|
362
|
+
properties:
|
|
363
|
+
timeout:
|
|
364
|
+
type: object
|
|
365
|
+
description: Timeout configuration at multiple levels
|
|
366
|
+
properties:
|
|
367
|
+
default_seconds:
|
|
368
|
+
type: integer
|
|
369
|
+
description: Default timeout for operations
|
|
370
|
+
default: 300
|
|
371
|
+
minimum: 1
|
|
372
|
+
maximum: 3600
|
|
373
|
+
|
|
374
|
+
llm_call_seconds:
|
|
375
|
+
type: integer
|
|
376
|
+
description: Timeout for LLM API calls
|
|
377
|
+
default: 60
|
|
378
|
+
minimum: 5
|
|
379
|
+
maximum: 300
|
|
380
|
+
|
|
381
|
+
tool_call_seconds:
|
|
382
|
+
type: integer
|
|
383
|
+
description: Timeout for tool invocations
|
|
384
|
+
default: 60
|
|
385
|
+
minimum: 1
|
|
386
|
+
maximum: 600
|
|
387
|
+
|
|
388
|
+
delegation_seconds:
|
|
389
|
+
type: integer
|
|
390
|
+
description: Timeout for agent delegations
|
|
391
|
+
default: 300
|
|
392
|
+
minimum: 30
|
|
393
|
+
maximum: 3600
|
|
394
|
+
|
|
395
|
+
phase_multiplier:
|
|
396
|
+
type: number
|
|
397
|
+
description: Multiplier for phase-specific timeouts
|
|
398
|
+
default: 1.0
|
|
399
|
+
minimum: 0.1
|
|
400
|
+
maximum: 10.0
|
|
401
|
+
|
|
402
|
+
sandbox:
|
|
403
|
+
type: object
|
|
404
|
+
description: Sandbox configuration for isolated execution
|
|
405
|
+
properties:
|
|
406
|
+
enabled:
|
|
407
|
+
type: boolean
|
|
408
|
+
default: true
|
|
409
|
+
description: Enable sandboxed execution
|
|
410
|
+
|
|
411
|
+
type:
|
|
412
|
+
type: string
|
|
413
|
+
description: Sandbox implementation type
|
|
414
|
+
enum:
|
|
415
|
+
- container
|
|
416
|
+
- vm
|
|
417
|
+
- wasm
|
|
418
|
+
- process
|
|
419
|
+
- none
|
|
420
|
+
default: container
|
|
421
|
+
|
|
422
|
+
filesystem:
|
|
423
|
+
type: object
|
|
424
|
+
description: Filesystem access restrictions
|
|
425
|
+
properties:
|
|
426
|
+
read_paths:
|
|
427
|
+
type: array
|
|
428
|
+
items:
|
|
429
|
+
type: string
|
|
430
|
+
description: Allowed read paths
|
|
431
|
+
default: []
|
|
432
|
+
write_paths:
|
|
433
|
+
type: array
|
|
434
|
+
items:
|
|
435
|
+
type: string
|
|
436
|
+
description: Allowed write paths
|
|
437
|
+
default: []
|
|
438
|
+
deny_paths:
|
|
439
|
+
type: array
|
|
440
|
+
items:
|
|
441
|
+
type: string
|
|
442
|
+
description: Explicitly denied paths
|
|
443
|
+
default:
|
|
444
|
+
- /etc/passwd
|
|
445
|
+
- /etc/shadow
|
|
446
|
+
- ~/.ssh
|
|
447
|
+
- ~/.aws
|
|
448
|
+
|
|
449
|
+
capabilities:
|
|
450
|
+
type: array
|
|
451
|
+
description: Linux capabilities to grant
|
|
452
|
+
items:
|
|
453
|
+
type: string
|
|
454
|
+
enum:
|
|
455
|
+
- CAP_NET_BIND_SERVICE
|
|
456
|
+
- CAP_SYS_PTRACE
|
|
457
|
+
- CAP_DAC_OVERRIDE
|
|
458
|
+
default: []
|
|
459
|
+
|
|
460
|
+
syscall_filter:
|
|
461
|
+
type: string
|
|
462
|
+
description: Seccomp profile for syscall filtering
|
|
463
|
+
enum:
|
|
464
|
+
- strict
|
|
465
|
+
- default
|
|
466
|
+
- permissive
|
|
467
|
+
default: default
|
|
468
|
+
|
|
469
|
+
resource_limits:
|
|
470
|
+
type: object
|
|
471
|
+
description: Resource constraints for execution
|
|
472
|
+
properties:
|
|
473
|
+
memory_mb:
|
|
474
|
+
type: integer
|
|
475
|
+
description: Maximum memory in megabytes
|
|
476
|
+
default: 512
|
|
477
|
+
minimum: 64
|
|
478
|
+
maximum: 16384
|
|
479
|
+
|
|
480
|
+
cpu_millicores:
|
|
481
|
+
type: integer
|
|
482
|
+
description: CPU limit in millicores
|
|
483
|
+
default: 1000
|
|
484
|
+
minimum: 100
|
|
485
|
+
maximum: 8000
|
|
486
|
+
|
|
487
|
+
gpu_memory_mb:
|
|
488
|
+
type: integer
|
|
489
|
+
description: GPU memory limit in megabytes
|
|
490
|
+
default: 0
|
|
491
|
+
minimum: 0
|
|
492
|
+
|
|
493
|
+
max_open_files:
|
|
494
|
+
type: integer
|
|
495
|
+
description: Maximum open file descriptors
|
|
496
|
+
default: 256
|
|
497
|
+
minimum: 16
|
|
498
|
+
maximum: 65536
|
|
499
|
+
|
|
500
|
+
max_processes:
|
|
501
|
+
type: integer
|
|
502
|
+
description: Maximum child processes
|
|
503
|
+
default: 10
|
|
504
|
+
minimum: 1
|
|
505
|
+
maximum: 100
|
|
506
|
+
|
|
507
|
+
max_network_connections:
|
|
508
|
+
type: integer
|
|
509
|
+
description: Maximum concurrent network connections
|
|
510
|
+
default: 50
|
|
511
|
+
minimum: 1
|
|
512
|
+
maximum: 1000
|
|
513
|
+
|
|
514
|
+
# ============================================
|
|
515
|
+
# NETWORK ISOLATION MODEL
|
|
516
|
+
# Secure multi-agent network boundaries
|
|
517
|
+
# ============================================
|
|
518
|
+
network_isolation:
|
|
519
|
+
type: object
|
|
520
|
+
description: |
|
|
521
|
+
Network isolation model for secure multi-agent deployments.
|
|
522
|
+
Defines network boundaries, allowed communications, and security policies.
|
|
523
|
+
properties:
|
|
524
|
+
enabled:
|
|
525
|
+
type: boolean
|
|
526
|
+
default: true
|
|
527
|
+
description: Enable network isolation
|
|
528
|
+
|
|
529
|
+
mode:
|
|
530
|
+
type: string
|
|
531
|
+
description: Network isolation mode
|
|
532
|
+
enum:
|
|
533
|
+
- strict
|
|
534
|
+
- namespace
|
|
535
|
+
- mesh
|
|
536
|
+
- none
|
|
537
|
+
default: namespace
|
|
538
|
+
|
|
539
|
+
namespace:
|
|
540
|
+
type: string
|
|
541
|
+
description: Network namespace identifier
|
|
542
|
+
pattern: ^[a-z][a-z0-9-]*$
|
|
543
|
+
|
|
544
|
+
policies:
|
|
545
|
+
type: array
|
|
546
|
+
description: Network policies defining allowed traffic
|
|
547
|
+
items:
|
|
548
|
+
$ref: '#/definitions/NetworkPolicy'
|
|
549
|
+
|
|
550
|
+
egress:
|
|
551
|
+
type: object
|
|
552
|
+
description: Outbound traffic rules
|
|
553
|
+
properties:
|
|
554
|
+
allowed_domains:
|
|
555
|
+
type: array
|
|
556
|
+
description: Allowed outbound domains
|
|
557
|
+
items:
|
|
558
|
+
type: string
|
|
559
|
+
examples:
|
|
560
|
+
- api.openai.com
|
|
561
|
+
- api.anthropic.com
|
|
562
|
+
- '*.googleapis.com'
|
|
563
|
+
|
|
564
|
+
blocked_domains:
|
|
565
|
+
type: array
|
|
566
|
+
description: Blocked outbound domains
|
|
567
|
+
items:
|
|
568
|
+
type: string
|
|
569
|
+
default: []
|
|
570
|
+
|
|
571
|
+
allowed_ports:
|
|
572
|
+
type: array
|
|
573
|
+
description: Allowed outbound ports
|
|
574
|
+
items:
|
|
575
|
+
type: integer
|
|
576
|
+
default:
|
|
577
|
+
- 443
|
|
578
|
+
- 80
|
|
579
|
+
|
|
580
|
+
rate_limit:
|
|
581
|
+
type: object
|
|
582
|
+
description: Egress rate limiting
|
|
583
|
+
properties:
|
|
584
|
+
requests_per_second:
|
|
585
|
+
type: integer
|
|
586
|
+
default: 100
|
|
587
|
+
bytes_per_second:
|
|
588
|
+
type: integer
|
|
589
|
+
default: 10485760
|
|
590
|
+
|
|
591
|
+
ingress:
|
|
592
|
+
type: object
|
|
593
|
+
description: Inbound traffic rules
|
|
594
|
+
properties:
|
|
595
|
+
allowed_sources:
|
|
596
|
+
type: array
|
|
597
|
+
description: Allowed source CIDRs or agent IDs
|
|
598
|
+
items:
|
|
599
|
+
type: string
|
|
600
|
+
|
|
601
|
+
allowed_ports:
|
|
602
|
+
type: array
|
|
603
|
+
description: Allowed inbound ports
|
|
604
|
+
items:
|
|
605
|
+
type: integer
|
|
606
|
+
default:
|
|
607
|
+
- 8080
|
|
608
|
+
- 8443
|
|
609
|
+
|
|
610
|
+
require_mtls:
|
|
611
|
+
type: boolean
|
|
612
|
+
default: true
|
|
613
|
+
description: Require mutual TLS for inbound connections
|
|
614
|
+
|
|
615
|
+
agent_mesh:
|
|
616
|
+
type: object
|
|
617
|
+
description: Agent-to-agent communication mesh configuration
|
|
618
|
+
properties:
|
|
619
|
+
enabled:
|
|
620
|
+
type: boolean
|
|
621
|
+
default: true
|
|
622
|
+
|
|
623
|
+
discovery:
|
|
624
|
+
type: string
|
|
625
|
+
description: Service discovery mechanism
|
|
626
|
+
enum:
|
|
627
|
+
- dns
|
|
628
|
+
- consul
|
|
629
|
+
- kubernetes
|
|
630
|
+
- static
|
|
631
|
+
default: kubernetes
|
|
632
|
+
|
|
633
|
+
encryption:
|
|
634
|
+
type: string
|
|
635
|
+
description: Mesh traffic encryption
|
|
636
|
+
enum:
|
|
637
|
+
- none
|
|
638
|
+
- tls
|
|
639
|
+
- mtls
|
|
640
|
+
- wireguard
|
|
641
|
+
default: mtls
|
|
642
|
+
|
|
643
|
+
allowed_agents:
|
|
644
|
+
type: array
|
|
645
|
+
description: Agent IDs allowed to communicate
|
|
646
|
+
items:
|
|
647
|
+
type: string
|
|
648
|
+
|
|
649
|
+
denied_agents:
|
|
650
|
+
type: array
|
|
651
|
+
description: Agent IDs explicitly denied
|
|
652
|
+
items:
|
|
653
|
+
type: string
|
|
654
|
+
default: []
|
|
655
|
+
|
|
656
|
+
# ============================================
|
|
657
|
+
# DEFINITIONS
|
|
658
|
+
# Reusable schema components
|
|
659
|
+
# ============================================
|
|
660
|
+
definitions:
|
|
661
|
+
LifecyclePhase:
|
|
662
|
+
type: object
|
|
663
|
+
required:
|
|
664
|
+
- name
|
|
665
|
+
properties:
|
|
666
|
+
name:
|
|
667
|
+
type: string
|
|
668
|
+
description: Phase identifier
|
|
669
|
+
|
|
670
|
+
timeout_seconds:
|
|
671
|
+
type: integer
|
|
672
|
+
description: Phase timeout in seconds
|
|
673
|
+
minimum: 1
|
|
674
|
+
maximum: 3600
|
|
675
|
+
|
|
676
|
+
retry_policy:
|
|
677
|
+
type: object
|
|
678
|
+
properties:
|
|
679
|
+
max_attempts:
|
|
680
|
+
type: integer
|
|
681
|
+
default: 3
|
|
682
|
+
minimum: 1
|
|
683
|
+
maximum: 10
|
|
684
|
+
backoff:
|
|
685
|
+
type: string
|
|
686
|
+
enum:
|
|
687
|
+
- exponential
|
|
688
|
+
- linear
|
|
689
|
+
- constant
|
|
690
|
+
default: exponential
|
|
691
|
+
initial_delay_ms:
|
|
692
|
+
type: integer
|
|
693
|
+
default: 1000
|
|
694
|
+
max_delay_ms:
|
|
695
|
+
type: integer
|
|
696
|
+
default: 30000
|
|
697
|
+
|
|
698
|
+
required_signals:
|
|
699
|
+
type: array
|
|
700
|
+
description: Signals that must be emitted to complete phase
|
|
701
|
+
items:
|
|
702
|
+
type: string
|
|
703
|
+
|
|
704
|
+
failure_signals:
|
|
705
|
+
type: array
|
|
706
|
+
description: Signals indicating phase failure
|
|
707
|
+
items:
|
|
708
|
+
type: string
|
|
709
|
+
|
|
710
|
+
hooks:
|
|
711
|
+
type: object
|
|
712
|
+
description: Lifecycle hooks for phase events
|
|
713
|
+
properties:
|
|
714
|
+
on_enter:
|
|
715
|
+
type: string
|
|
716
|
+
description: Hook called when entering phase
|
|
717
|
+
on_exit:
|
|
718
|
+
type: string
|
|
719
|
+
description: Hook called when exiting phase
|
|
720
|
+
on_error:
|
|
721
|
+
type: string
|
|
722
|
+
description: Hook called on phase error
|
|
723
|
+
|
|
724
|
+
PhaseTransition:
|
|
725
|
+
type: object
|
|
726
|
+
required:
|
|
727
|
+
- from
|
|
728
|
+
- to
|
|
729
|
+
- condition
|
|
730
|
+
properties:
|
|
731
|
+
from:
|
|
732
|
+
type: string
|
|
733
|
+
description: Source phase (or 'any' for wildcard)
|
|
734
|
+
|
|
735
|
+
to:
|
|
736
|
+
type: string
|
|
737
|
+
description: Target phase
|
|
738
|
+
|
|
739
|
+
condition:
|
|
740
|
+
type: string
|
|
741
|
+
description: Condition triggering transition
|
|
742
|
+
|
|
743
|
+
guard:
|
|
744
|
+
type: string
|
|
745
|
+
description: Optional guard expression
|
|
746
|
+
|
|
747
|
+
priority:
|
|
748
|
+
type: integer
|
|
749
|
+
description: Transition priority (higher = preferred)
|
|
750
|
+
default: 0
|
|
751
|
+
|
|
752
|
+
ControlSignal:
|
|
753
|
+
type: object
|
|
754
|
+
required:
|
|
755
|
+
- type
|
|
756
|
+
properties:
|
|
757
|
+
type:
|
|
758
|
+
type: string
|
|
759
|
+
description: Signal type identifier
|
|
760
|
+
|
|
761
|
+
async:
|
|
762
|
+
type: boolean
|
|
763
|
+
description: Whether signal is asynchronous
|
|
764
|
+
default: true
|
|
765
|
+
|
|
766
|
+
timeout_seconds:
|
|
767
|
+
type: integer
|
|
768
|
+
description: Signal handling timeout
|
|
769
|
+
minimum: 1
|
|
770
|
+
maximum: 3600
|
|
771
|
+
|
|
772
|
+
interval_seconds:
|
|
773
|
+
type: integer
|
|
774
|
+
description: Interval for periodic signals
|
|
775
|
+
minimum: 1
|
|
776
|
+
|
|
777
|
+
schema:
|
|
778
|
+
type: object
|
|
779
|
+
description: JSON Schema for signal payload
|
|
780
|
+
|
|
781
|
+
priority:
|
|
782
|
+
type: string
|
|
783
|
+
description: Signal priority level
|
|
784
|
+
enum:
|
|
785
|
+
- critical
|
|
786
|
+
- high
|
|
787
|
+
- normal
|
|
788
|
+
- low
|
|
789
|
+
default: normal
|
|
790
|
+
|
|
791
|
+
NetworkPolicy:
|
|
792
|
+
type: object
|
|
793
|
+
required:
|
|
794
|
+
- name
|
|
795
|
+
- type
|
|
796
|
+
properties:
|
|
797
|
+
name:
|
|
798
|
+
type: string
|
|
799
|
+
description: Policy name
|
|
800
|
+
pattern: ^[a-z][a-z0-9-]*$
|
|
801
|
+
|
|
802
|
+
type:
|
|
803
|
+
type: string
|
|
804
|
+
description: Policy type
|
|
805
|
+
enum:
|
|
806
|
+
- allow
|
|
807
|
+
- deny
|
|
808
|
+
- rate_limit
|
|
809
|
+
|
|
810
|
+
priority:
|
|
811
|
+
type: integer
|
|
812
|
+
description: Policy evaluation priority
|
|
813
|
+
default: 100
|
|
814
|
+
|
|
815
|
+
selectors:
|
|
816
|
+
type: object
|
|
817
|
+
description: Traffic selectors
|
|
818
|
+
properties:
|
|
819
|
+
source_agents:
|
|
820
|
+
type: array
|
|
821
|
+
items:
|
|
822
|
+
type: string
|
|
823
|
+
target_agents:
|
|
824
|
+
type: array
|
|
825
|
+
items:
|
|
826
|
+
type: string
|
|
827
|
+
source_cidrs:
|
|
828
|
+
type: array
|
|
829
|
+
items:
|
|
830
|
+
type: string
|
|
831
|
+
target_ports:
|
|
832
|
+
type: array
|
|
833
|
+
items:
|
|
834
|
+
type: integer
|
|
835
|
+
|
|
836
|
+
action:
|
|
837
|
+
type: object
|
|
838
|
+
description: Policy action configuration
|
|
839
|
+
properties:
|
|
840
|
+
log:
|
|
841
|
+
type: boolean
|
|
842
|
+
default: true
|
|
843
|
+
alert:
|
|
844
|
+
type: boolean
|
|
845
|
+
default: false
|
|
846
|
+
rate_limit:
|
|
847
|
+
type: object
|
|
848
|
+
properties:
|
|
849
|
+
requests_per_second:
|
|
850
|
+
type: integer
|
|
851
|
+
burst:
|
|
852
|
+
type: integer
|
|
853
|
+
|
|
854
|
+
examples:
|
|
855
|
+
- apiVersion: ossa/v0.3.2
|
|
856
|
+
kind: RuntimeSpec
|
|
857
|
+
lifecycle:
|
|
858
|
+
phases:
|
|
859
|
+
init:
|
|
860
|
+
name: init
|
|
861
|
+
timeout_seconds: 30
|
|
862
|
+
plan:
|
|
863
|
+
name: plan
|
|
864
|
+
timeout_seconds: 60
|
|
865
|
+
act:
|
|
866
|
+
name: act
|
|
867
|
+
timeout_seconds: 300
|
|
868
|
+
reflect:
|
|
869
|
+
name: reflect
|
|
870
|
+
timeout_seconds: 30
|
|
871
|
+
terminate:
|
|
872
|
+
name: terminate
|
|
873
|
+
timeout_seconds: 15
|
|
874
|
+
transitions:
|
|
875
|
+
- from: init
|
|
876
|
+
to: plan
|
|
877
|
+
condition: ready
|
|
878
|
+
- from: plan
|
|
879
|
+
to: act
|
|
880
|
+
condition: plan_ready
|
|
881
|
+
- from: act
|
|
882
|
+
to: reflect
|
|
883
|
+
condition: action_complete
|
|
884
|
+
- from: reflect
|
|
885
|
+
to: terminate
|
|
886
|
+
condition: goal_achieved
|
|
887
|
+
max_iterations: 10
|
|
888
|
+
control_signals:
|
|
889
|
+
tool_call:
|
|
890
|
+
type: tool_call
|
|
891
|
+
async: true
|
|
892
|
+
timeout_seconds: 60
|
|
893
|
+
delegation:
|
|
894
|
+
type: delegation
|
|
895
|
+
async: true
|
|
896
|
+
timeout_seconds: 300
|
|
897
|
+
halt:
|
|
898
|
+
type: halt
|
|
899
|
+
async: false
|
|
900
|
+
timeout_seconds: 5
|
|
901
|
+
error:
|
|
902
|
+
type: error
|
|
903
|
+
async: false
|
|
904
|
+
execution:
|
|
905
|
+
timeout:
|
|
906
|
+
default_seconds: 300
|
|
907
|
+
llm_call_seconds: 60
|
|
908
|
+
tool_call_seconds: 60
|
|
909
|
+
sandbox:
|
|
910
|
+
enabled: true
|
|
911
|
+
type: container
|
|
912
|
+
resource_limits:
|
|
913
|
+
memory_mb: 512
|
|
914
|
+
cpu_millicores: 1000
|
|
915
|
+
network_isolation:
|
|
916
|
+
enabled: true
|
|
917
|
+
mode: namespace
|
|
918
|
+
egress:
|
|
919
|
+
allowed_domains:
|
|
920
|
+
- api.openai.com
|
|
921
|
+
- api.anthropic.com
|
|
922
|
+
allowed_ports:
|
|
923
|
+
- 443
|
|
924
|
+
agent_mesh:
|
|
925
|
+
enabled: true
|
|
926
|
+
encryption: mtls
|