@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,541 @@
|
|
|
1
|
+
# Drupal OSSA Runtime Adapter
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
The Drupal OSSA Runtime Adapter enables execution of OSSA Task, Workflow, and Agent manifests within Drupal's ecosystem. It provides a unified interface that bridges Drupal's five execution models to the OSSA standard.
|
|
6
|
+
|
|
7
|
+
## Background
|
|
8
|
+
|
|
9
|
+
From the conversation with James Abrahams:
|
|
10
|
+
|
|
11
|
+
> "Drupal has 5 execution models that can't talk to each other. If we can bring those 5 things together in Drupal, why can't it be a standard that actually would work outside of Drupal or even outside of PHP?"
|
|
12
|
+
|
|
13
|
+
This adapter answers that question by providing bidirectional mapping between Drupal's native execution engines and OSSA's portable schema.
|
|
14
|
+
|
|
15
|
+
## Execution Models Mapping
|
|
16
|
+
|
|
17
|
+
| Drupal Model | OSSA Kind | Use Case | Mapping Strategy |
|
|
18
|
+
|--------------|-----------|----------|------------------|
|
|
19
|
+
| **ECA** | Task + Workflow | Event-Condition-Action rules | ECA models → deterministic Tasks; complex rules → Workflows |
|
|
20
|
+
| **Maestro** | Workflow | Business process engine | Maestro templates → OSSA Workflow with step orchestration |
|
|
21
|
+
| **FlowDrop** | Workflow | Visual workflow builder | FlowDrop nodes → OSSA Workflow steps |
|
|
22
|
+
| **AI Agent Runner** | Agent | Agentic execution with LLM | Direct mapping to OSSA Agent kind |
|
|
23
|
+
| **Minikanban** | Task | Simple task boards | Kanban cards → individual OSSA Tasks |
|
|
24
|
+
|
|
25
|
+
## Architecture
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
29
|
+
│ Drupal Application │
|
|
30
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
31
|
+
│ ┌─────────┐ ┌─────────┐ ┌──────────┐ ┌─────────┐ ┌──────┐ │
|
|
32
|
+
│ │ ECA │ │ Maestro │ │ FlowDrop │ │AI Agent │ │ Mini │ │
|
|
33
|
+
│ │ │ │ │ │ │ │ Runner │ │Kanban│ │
|
|
34
|
+
│ └────┬────┘ └────┬────┘ └────┬─────┘ └────┬────┘ └──┬───┘ │
|
|
35
|
+
│ │ │ │ │ │ │
|
|
36
|
+
│ └────────────┴────────────┴─────────────┴──────────┘ │
|
|
37
|
+
│ │ │
|
|
38
|
+
│ ┌─────────▼─────────┐ │
|
|
39
|
+
│ │ OSSA Adapter │ │
|
|
40
|
+
│ │ --------------- │ │
|
|
41
|
+
│ │ • Manifest Parser│ │
|
|
42
|
+
│ │ • Runtime Binder │ │
|
|
43
|
+
│ │ • State Manager │ │
|
|
44
|
+
│ │ • Observability │ │
|
|
45
|
+
│ └─────────┬─────────┘ │
|
|
46
|
+
│ │ │
|
|
47
|
+
├──────────────────────────────┼──────────────────────────────────┤
|
|
48
|
+
│ ┌─────────▼─────────┐ │
|
|
49
|
+
│ │ OSSA Manifests │ │
|
|
50
|
+
│ │ (Task/Workflow/ │ │
|
|
51
|
+
│ │ Agent) │ │
|
|
52
|
+
│ └───────────────────┘ │
|
|
53
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Installation
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
composer require ossa/drupal-adapter
|
|
60
|
+
drush en ossa_adapter
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Configuration
|
|
64
|
+
|
|
65
|
+
### Module Configuration (`ossa_adapter.settings.yml`)
|
|
66
|
+
|
|
67
|
+
```yaml
|
|
68
|
+
ossa_adapter:
|
|
69
|
+
# Default runtime for Task execution
|
|
70
|
+
default_runtime: drupal
|
|
71
|
+
|
|
72
|
+
# Manifest discovery paths
|
|
73
|
+
manifest_paths:
|
|
74
|
+
- 'modules/custom/*/manifests'
|
|
75
|
+
- 'config/ossa'
|
|
76
|
+
|
|
77
|
+
# Execution engine preferences
|
|
78
|
+
execution:
|
|
79
|
+
task:
|
|
80
|
+
engine: queue # queue, sync, batch
|
|
81
|
+
queue_name: ossa_tasks
|
|
82
|
+
workflow:
|
|
83
|
+
engine: maestro # maestro, flowdrop, native
|
|
84
|
+
agent:
|
|
85
|
+
engine: ai_agent_runner
|
|
86
|
+
fallback: queue
|
|
87
|
+
|
|
88
|
+
# Observability
|
|
89
|
+
observability:
|
|
90
|
+
enabled: true
|
|
91
|
+
exporter: otel
|
|
92
|
+
endpoint: 'http://localhost:4317'
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## ECA Integration
|
|
96
|
+
|
|
97
|
+
### Mapping ECA to OSSA Tasks
|
|
98
|
+
|
|
99
|
+
ECA (Event-Condition-Action) rules map naturally to OSSA Tasks with event triggers:
|
|
100
|
+
|
|
101
|
+
```yaml
|
|
102
|
+
# ECA Model → OSSA Task
|
|
103
|
+
apiVersion: ossa/v0.3.1
|
|
104
|
+
kind: Task
|
|
105
|
+
metadata:
|
|
106
|
+
name: eca-node-publish
|
|
107
|
+
annotations:
|
|
108
|
+
drupal.ossa.io/eca-model: node_publish_notify
|
|
109
|
+
|
|
110
|
+
spec:
|
|
111
|
+
execution:
|
|
112
|
+
type: deterministic
|
|
113
|
+
runtime: drupal
|
|
114
|
+
entrypoint: 'Drupal\ossa_adapter\TaskHandler\ECAHandler::execute'
|
|
115
|
+
|
|
116
|
+
# ECA Event → OSSA Trigger
|
|
117
|
+
triggers:
|
|
118
|
+
- type: event
|
|
119
|
+
source: drupal.entity
|
|
120
|
+
event: node.insert
|
|
121
|
+
filter:
|
|
122
|
+
bundle: article
|
|
123
|
+
status: 1
|
|
124
|
+
|
|
125
|
+
# ECA Conditions → OSSA Input Validation
|
|
126
|
+
input:
|
|
127
|
+
type: object
|
|
128
|
+
properties:
|
|
129
|
+
entity:
|
|
130
|
+
type: object
|
|
131
|
+
description: The Drupal entity
|
|
132
|
+
user:
|
|
133
|
+
type: object
|
|
134
|
+
description: Current user context
|
|
135
|
+
|
|
136
|
+
# ECA Actions → OSSA Capabilities
|
|
137
|
+
capabilities:
|
|
138
|
+
- send_email
|
|
139
|
+
- create_entity
|
|
140
|
+
- log_message
|
|
141
|
+
|
|
142
|
+
runtime:
|
|
143
|
+
type: drupal
|
|
144
|
+
bindings:
|
|
145
|
+
send_email:
|
|
146
|
+
plugin: 'eca_mail:send'
|
|
147
|
+
create_entity:
|
|
148
|
+
plugin: 'eca_content:create_entity'
|
|
149
|
+
log_message:
|
|
150
|
+
plugin: 'eca_log:message'
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## Maestro Integration
|
|
154
|
+
|
|
155
|
+
### Mapping Maestro Templates to OSSA Workflows
|
|
156
|
+
|
|
157
|
+
```yaml
|
|
158
|
+
# Maestro Template → OSSA Workflow
|
|
159
|
+
apiVersion: ossa/v0.3.1
|
|
160
|
+
kind: Workflow
|
|
161
|
+
metadata:
|
|
162
|
+
name: content-approval-workflow
|
|
163
|
+
annotations:
|
|
164
|
+
drupal.ossa.io/maestro-template: content_approval
|
|
165
|
+
|
|
166
|
+
spec:
|
|
167
|
+
triggers:
|
|
168
|
+
- type: event
|
|
169
|
+
source: drupal.entity
|
|
170
|
+
event: node.presave
|
|
171
|
+
filter:
|
|
172
|
+
moderation_state: review
|
|
173
|
+
|
|
174
|
+
steps:
|
|
175
|
+
- id: assign_reviewer
|
|
176
|
+
kind: Task
|
|
177
|
+
ref: ./tasks/assign-reviewer.yaml
|
|
178
|
+
|
|
179
|
+
- id: notify_reviewer
|
|
180
|
+
kind: Task
|
|
181
|
+
ref: ./tasks/notify-user.yaml
|
|
182
|
+
input:
|
|
183
|
+
user_id: ${{ steps.assign_reviewer.output.reviewer_id }}
|
|
184
|
+
message: "New content pending review"
|
|
185
|
+
depends_on:
|
|
186
|
+
- assign_reviewer
|
|
187
|
+
|
|
188
|
+
- id: wait_approval
|
|
189
|
+
kind: Task
|
|
190
|
+
name: Wait for human approval
|
|
191
|
+
inline:
|
|
192
|
+
execution:
|
|
193
|
+
type: human
|
|
194
|
+
timeout_hours: 72
|
|
195
|
+
input:
|
|
196
|
+
type: object
|
|
197
|
+
properties:
|
|
198
|
+
decision:
|
|
199
|
+
type: string
|
|
200
|
+
enum: [approve, reject, revise]
|
|
201
|
+
comments:
|
|
202
|
+
type: string
|
|
203
|
+
depends_on:
|
|
204
|
+
- notify_reviewer
|
|
205
|
+
|
|
206
|
+
- id: process_decision
|
|
207
|
+
kind: Task
|
|
208
|
+
ref: ./tasks/process-decision.yaml
|
|
209
|
+
input:
|
|
210
|
+
entity_id: ${{ workflow.input.entity_id }}
|
|
211
|
+
decision: ${{ steps.wait_approval.output.decision }}
|
|
212
|
+
depends_on:
|
|
213
|
+
- wait_approval
|
|
214
|
+
|
|
215
|
+
runtime:
|
|
216
|
+
type: drupal
|
|
217
|
+
bindings:
|
|
218
|
+
maestro:
|
|
219
|
+
template_id: content_approval
|
|
220
|
+
task_console: /admin/maestro
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
## FlowDrop Integration
|
|
224
|
+
|
|
225
|
+
### Mapping FlowDrop to OSSA Workflows
|
|
226
|
+
|
|
227
|
+
```yaml
|
|
228
|
+
# FlowDrop Diagram → OSSA Workflow
|
|
229
|
+
apiVersion: ossa/v0.3.1
|
|
230
|
+
kind: Workflow
|
|
231
|
+
metadata:
|
|
232
|
+
name: user-registration-flow
|
|
233
|
+
annotations:
|
|
234
|
+
drupal.ossa.io/flowdrop-diagram: user_registration_v2
|
|
235
|
+
|
|
236
|
+
spec:
|
|
237
|
+
triggers:
|
|
238
|
+
- type: webhook
|
|
239
|
+
path: /flowdrop/user-registration
|
|
240
|
+
|
|
241
|
+
steps:
|
|
242
|
+
- id: validate_input
|
|
243
|
+
kind: Task
|
|
244
|
+
name: Validate registration data
|
|
245
|
+
inline:
|
|
246
|
+
execution:
|
|
247
|
+
type: deterministic
|
|
248
|
+
runtime: drupal
|
|
249
|
+
entrypoint: 'Drupal\flowdrop\NodeHandler\ValidateNode::execute'
|
|
250
|
+
|
|
251
|
+
- id: check_duplicate
|
|
252
|
+
kind: Task
|
|
253
|
+
name: Check for duplicate email
|
|
254
|
+
ref: ./tasks/check-duplicate-email.yaml
|
|
255
|
+
depends_on:
|
|
256
|
+
- validate_input
|
|
257
|
+
|
|
258
|
+
- id: decision
|
|
259
|
+
kind: Task
|
|
260
|
+
name: Conditional branch
|
|
261
|
+
inline:
|
|
262
|
+
execution:
|
|
263
|
+
type: deterministic
|
|
264
|
+
output:
|
|
265
|
+
type: object
|
|
266
|
+
properties:
|
|
267
|
+
branch:
|
|
268
|
+
type: string
|
|
269
|
+
input:
|
|
270
|
+
condition: ${{ steps.check_duplicate.output.exists }}
|
|
271
|
+
depends_on:
|
|
272
|
+
- check_duplicate
|
|
273
|
+
|
|
274
|
+
- id: create_user
|
|
275
|
+
kind: Task
|
|
276
|
+
ref: ./tasks/create-user.yaml
|
|
277
|
+
condition: ${{ steps.decision.output.branch == 'new' }}
|
|
278
|
+
depends_on:
|
|
279
|
+
- decision
|
|
280
|
+
|
|
281
|
+
- id: send_error
|
|
282
|
+
kind: Task
|
|
283
|
+
ref: ./tasks/send-error-response.yaml
|
|
284
|
+
condition: ${{ steps.decision.output.branch == 'duplicate' }}
|
|
285
|
+
depends_on:
|
|
286
|
+
- decision
|
|
287
|
+
|
|
288
|
+
runtime:
|
|
289
|
+
type: drupal
|
|
290
|
+
bindings:
|
|
291
|
+
flowdrop:
|
|
292
|
+
diagram_id: user_registration_v2
|
|
293
|
+
visual_editor: /admin/flowdrop/user_registration_v2
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
## AI Agent Runner Integration
|
|
297
|
+
|
|
298
|
+
### Direct OSSA Agent Mapping
|
|
299
|
+
|
|
300
|
+
```yaml
|
|
301
|
+
# AI Agent Runner → OSSA Agent
|
|
302
|
+
apiVersion: ossa/v0.3.1
|
|
303
|
+
kind: Agent
|
|
304
|
+
metadata:
|
|
305
|
+
name: content-assistant
|
|
306
|
+
version: 1.0.0
|
|
307
|
+
annotations:
|
|
308
|
+
drupal.ossa.io/ai-agent-runner: content_assistant
|
|
309
|
+
|
|
310
|
+
spec:
|
|
311
|
+
model:
|
|
312
|
+
provider: openai
|
|
313
|
+
name: gpt-4
|
|
314
|
+
|
|
315
|
+
system_prompt: |
|
|
316
|
+
You are a content assistant for a Drupal website.
|
|
317
|
+
Help users create, edit, and organize content.
|
|
318
|
+
|
|
319
|
+
capabilities:
|
|
320
|
+
- create_node
|
|
321
|
+
- update_node
|
|
322
|
+
- list_content
|
|
323
|
+
- search_content
|
|
324
|
+
- manage_taxonomy
|
|
325
|
+
|
|
326
|
+
reasoning:
|
|
327
|
+
strategy: react
|
|
328
|
+
max_steps: 10
|
|
329
|
+
|
|
330
|
+
runtime:
|
|
331
|
+
type: drupal
|
|
332
|
+
bindings:
|
|
333
|
+
create_node:
|
|
334
|
+
service: '@entity_type.manager'
|
|
335
|
+
method: 'getStorage("node")->create'
|
|
336
|
+
update_node:
|
|
337
|
+
service: '@entity_type.manager'
|
|
338
|
+
method: 'getStorage("node")->save'
|
|
339
|
+
list_content:
|
|
340
|
+
plugin: 'ai_agent_runner:content_list'
|
|
341
|
+
search_content:
|
|
342
|
+
service: '@search_api.query_helper'
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
## Minikanban Integration
|
|
346
|
+
|
|
347
|
+
### Mapping Kanban Cards to OSSA Tasks
|
|
348
|
+
|
|
349
|
+
```yaml
|
|
350
|
+
# Minikanban Card → OSSA Task
|
|
351
|
+
apiVersion: ossa/v0.3.1
|
|
352
|
+
kind: Task
|
|
353
|
+
metadata:
|
|
354
|
+
name: kanban-task
|
|
355
|
+
annotations:
|
|
356
|
+
drupal.ossa.io/minikanban-card: card_12345
|
|
357
|
+
|
|
358
|
+
spec:
|
|
359
|
+
execution:
|
|
360
|
+
type: human
|
|
361
|
+
assignee: ${{ input.assigned_to }}
|
|
362
|
+
due_date: ${{ input.due_date }}
|
|
363
|
+
|
|
364
|
+
input:
|
|
365
|
+
type: object
|
|
366
|
+
properties:
|
|
367
|
+
title:
|
|
368
|
+
type: string
|
|
369
|
+
description:
|
|
370
|
+
type: string
|
|
371
|
+
assigned_to:
|
|
372
|
+
type: string
|
|
373
|
+
format: user_id
|
|
374
|
+
due_date:
|
|
375
|
+
type: string
|
|
376
|
+
format: date
|
|
377
|
+
priority:
|
|
378
|
+
type: string
|
|
379
|
+
enum: [low, medium, high, critical]
|
|
380
|
+
labels:
|
|
381
|
+
type: array
|
|
382
|
+
items:
|
|
383
|
+
type: string
|
|
384
|
+
|
|
385
|
+
output:
|
|
386
|
+
type: object
|
|
387
|
+
properties:
|
|
388
|
+
status:
|
|
389
|
+
type: string
|
|
390
|
+
enum: [todo, in_progress, review, done]
|
|
391
|
+
completed_at:
|
|
392
|
+
type: string
|
|
393
|
+
format: date-time
|
|
394
|
+
|
|
395
|
+
runtime:
|
|
396
|
+
type: drupal
|
|
397
|
+
bindings:
|
|
398
|
+
minikanban:
|
|
399
|
+
board_id: default
|
|
400
|
+
status_column_map:
|
|
401
|
+
todo: backlog
|
|
402
|
+
in_progress: doing
|
|
403
|
+
review: review
|
|
404
|
+
done: done
|
|
405
|
+
```
|
|
406
|
+
|
|
407
|
+
## Bidirectional Sync
|
|
408
|
+
|
|
409
|
+
The adapter supports bidirectional synchronization:
|
|
410
|
+
|
|
411
|
+
### Export: Drupal → OSSA
|
|
412
|
+
|
|
413
|
+
```php
|
|
414
|
+
use Drupal\ossa_adapter\Exporter\OSSAExporter;
|
|
415
|
+
|
|
416
|
+
$exporter = \Drupal::service('ossa_adapter.exporter');
|
|
417
|
+
|
|
418
|
+
// Export ECA model
|
|
419
|
+
$manifest = $exporter->exportECA('my_eca_model');
|
|
420
|
+
|
|
421
|
+
// Export Maestro template
|
|
422
|
+
$manifest = $exporter->exportMaestro('content_approval');
|
|
423
|
+
|
|
424
|
+
// Export all workflows
|
|
425
|
+
$manifests = $exporter->exportAll(['type' => 'workflow']);
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
### Import: OSSA → Drupal
|
|
429
|
+
|
|
430
|
+
```php
|
|
431
|
+
use Drupal\ossa_adapter\Importer\OSSAImporter;
|
|
432
|
+
|
|
433
|
+
$importer = \Drupal::service('ossa_adapter.importer');
|
|
434
|
+
|
|
435
|
+
// Import OSSA manifest
|
|
436
|
+
$importer->import('/path/to/manifest.yaml', [
|
|
437
|
+
'target' => 'maestro', // maestro, eca, flowdrop
|
|
438
|
+
'overwrite' => false,
|
|
439
|
+
]);
|
|
440
|
+
```
|
|
441
|
+
|
|
442
|
+
## CLI Commands
|
|
443
|
+
|
|
444
|
+
```bash
|
|
445
|
+
# Validate OSSA manifest
|
|
446
|
+
drush ossa:validate /path/to/manifest.yaml
|
|
447
|
+
|
|
448
|
+
# Export Drupal workflows to OSSA
|
|
449
|
+
drush ossa:export --type=workflow --output=/path/to/output
|
|
450
|
+
|
|
451
|
+
# Import OSSA manifest to Drupal
|
|
452
|
+
drush ossa:import /path/to/manifest.yaml --engine=maestro
|
|
453
|
+
|
|
454
|
+
# List all OSSA-compatible workflows
|
|
455
|
+
drush ossa:list
|
|
456
|
+
|
|
457
|
+
# Run an OSSA Task
|
|
458
|
+
drush ossa:run task my-task --input='{"key": "value"}'
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
## Observability
|
|
462
|
+
|
|
463
|
+
### OpenTelemetry Integration
|
|
464
|
+
|
|
465
|
+
The adapter exports traces using OSSA semantic conventions:
|
|
466
|
+
|
|
467
|
+
```php
|
|
468
|
+
// Automatic span creation for Task execution
|
|
469
|
+
$tracer->startSpan('ossa.task.execute', [
|
|
470
|
+
'ossa.task.name' => 'my-task',
|
|
471
|
+
'ossa.task.version' => '1.0.0',
|
|
472
|
+
'drupal.execution.engine' => 'eca',
|
|
473
|
+
]);
|
|
474
|
+
```
|
|
475
|
+
|
|
476
|
+
### Metrics
|
|
477
|
+
|
|
478
|
+
```yaml
|
|
479
|
+
# Prometheus metrics exposed at /metrics
|
|
480
|
+
ossa_task_executions_total{task="my-task", status="success"} 42
|
|
481
|
+
ossa_task_duration_seconds{task="my-task"} 0.123
|
|
482
|
+
ossa_workflow_steps_completed{workflow="content-approval"} 156
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
## Error Handling
|
|
486
|
+
|
|
487
|
+
```yaml
|
|
488
|
+
spec:
|
|
489
|
+
error_handling:
|
|
490
|
+
on_error: retry
|
|
491
|
+
retry:
|
|
492
|
+
max_attempts: 3
|
|
493
|
+
backoff_strategy: exponential
|
|
494
|
+
|
|
495
|
+
# Drupal-specific error mapping
|
|
496
|
+
error_codes:
|
|
497
|
+
ENTITY_VALIDATION_FAILED:
|
|
498
|
+
drupal_exception: 'EntityStorageException'
|
|
499
|
+
retryable: false
|
|
500
|
+
PERMISSION_DENIED:
|
|
501
|
+
drupal_exception: 'AccessDeniedHttpException'
|
|
502
|
+
retryable: false
|
|
503
|
+
DATABASE_ERROR:
|
|
504
|
+
drupal_exception: 'DatabaseExceptionWrapper'
|
|
505
|
+
retryable: true
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
## Migration Guide
|
|
509
|
+
|
|
510
|
+
### From ECA to OSSA
|
|
511
|
+
|
|
512
|
+
1. Export existing ECA models: `drush ossa:export --engine=eca`
|
|
513
|
+
2. Review generated manifests
|
|
514
|
+
3. Test execution: `drush ossa:run task exported-eca-task`
|
|
515
|
+
4. Optionally disable original ECA model
|
|
516
|
+
|
|
517
|
+
### From Maestro to OSSA
|
|
518
|
+
|
|
519
|
+
1. Export Maestro template: `drush ossa:export --engine=maestro --template=my_template`
|
|
520
|
+
2. Map human tasks to OSSA `execution.type: human`
|
|
521
|
+
3. Configure queue integration
|
|
522
|
+
4. Test workflow: `drush ossa:run workflow exported-maestro-workflow`
|
|
523
|
+
|
|
524
|
+
## OSSA Compliance
|
|
525
|
+
|
|
526
|
+
This adapter implements OSSA v0.3.1 specification:
|
|
527
|
+
|
|
528
|
+
- ✅ Task execution with deterministic semantics
|
|
529
|
+
- ✅ Workflow orchestration with step dependencies
|
|
530
|
+
- ✅ Agent execution with LLM integration
|
|
531
|
+
- ✅ Capability abstraction and runtime bindings
|
|
532
|
+
- ✅ OpenTelemetry observability
|
|
533
|
+
- ✅ Error handling with retry strategies
|
|
534
|
+
- ✅ Input/output schema validation
|
|
535
|
+
|
|
536
|
+
## Related
|
|
537
|
+
|
|
538
|
+
- [OSSA Specification v0.3.1](../README.md)
|
|
539
|
+
- [Symfony Adapter](./symfony.md)
|
|
540
|
+
- [Node.js Adapter](./nodejs.md)
|
|
541
|
+
- [Capability Registry](../capability-schema.md)
|