@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,417 @@
|
|
|
1
|
+
# Drupal Extension for OSSA v0.3.1
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
The `extensions.drupal` schema formalizes Drupal-specific runtime bindings, permission systems, and async processing via Symfony Messenger.
|
|
6
|
+
|
|
7
|
+
## Schema Definition
|
|
8
|
+
|
|
9
|
+
```yaml
|
|
10
|
+
extensions:
|
|
11
|
+
drupal:
|
|
12
|
+
type: object
|
|
13
|
+
properties:
|
|
14
|
+
module:
|
|
15
|
+
type: string
|
|
16
|
+
description: "Drupal module providing this agent"
|
|
17
|
+
example: "ai_agents_ossa"
|
|
18
|
+
|
|
19
|
+
config_entity:
|
|
20
|
+
type: boolean
|
|
21
|
+
description: "Store agent configuration as Drupal config entity for export/import"
|
|
22
|
+
default: true
|
|
23
|
+
|
|
24
|
+
permissions:
|
|
25
|
+
type: object
|
|
26
|
+
description: "Permission configuration for autonomous and user-context agent execution"
|
|
27
|
+
properties:
|
|
28
|
+
entity_permissions:
|
|
29
|
+
type: array
|
|
30
|
+
items: { type: string }
|
|
31
|
+
description: "Drupal core entity permissions (create content, edit own content, etc.)"
|
|
32
|
+
examples:
|
|
33
|
+
- "create article content"
|
|
34
|
+
- "edit any page content"
|
|
35
|
+
- "delete own blog content"
|
|
36
|
+
|
|
37
|
+
custom_permissions:
|
|
38
|
+
type: array
|
|
39
|
+
items: { type: string }
|
|
40
|
+
description: "Module-specific custom permissions"
|
|
41
|
+
examples:
|
|
42
|
+
- "execute content writer agent"
|
|
43
|
+
- "approve ai generated content"
|
|
44
|
+
|
|
45
|
+
execution_user:
|
|
46
|
+
type: string
|
|
47
|
+
description: "Service account UID for autonomous background execution"
|
|
48
|
+
examples:
|
|
49
|
+
- "1" # admin
|
|
50
|
+
- "agent_executor" # service account name
|
|
51
|
+
|
|
52
|
+
permission_mode:
|
|
53
|
+
enum: [least_permissive, most_permissive, user_only, agent_only]
|
|
54
|
+
description: "How to merge user + agent permissions when agent runs in user context"
|
|
55
|
+
default: "least_permissive"
|
|
56
|
+
|
|
57
|
+
messenger:
|
|
58
|
+
type: object
|
|
59
|
+
description: "Symfony Messenger integration for async agent execution"
|
|
60
|
+
properties:
|
|
61
|
+
transport:
|
|
62
|
+
enum: [redis, amqp, doctrine, sync]
|
|
63
|
+
description: "Message transport backend"
|
|
64
|
+
default: "doctrine"
|
|
65
|
+
|
|
66
|
+
queue:
|
|
67
|
+
type: string
|
|
68
|
+
description: "Queue name for agent messages"
|
|
69
|
+
default: "agents_default"
|
|
70
|
+
|
|
71
|
+
retry_strategy:
|
|
72
|
+
type: object
|
|
73
|
+
description: "Message retry configuration"
|
|
74
|
+
properties:
|
|
75
|
+
max_retries:
|
|
76
|
+
type: integer
|
|
77
|
+
description: "Maximum retry attempts"
|
|
78
|
+
default: 3
|
|
79
|
+
|
|
80
|
+
delay:
|
|
81
|
+
type: integer
|
|
82
|
+
description: "Initial delay in milliseconds"
|
|
83
|
+
default: 1000
|
|
84
|
+
|
|
85
|
+
multiplier:
|
|
86
|
+
type: number
|
|
87
|
+
description: "Backoff multiplier for exponential retry"
|
|
88
|
+
default: 2
|
|
89
|
+
|
|
90
|
+
max_delay:
|
|
91
|
+
type: integer
|
|
92
|
+
description: "Maximum delay cap in milliseconds"
|
|
93
|
+
default: 10000
|
|
94
|
+
|
|
95
|
+
workflow_engine:
|
|
96
|
+
enum: [flowdrop, eca, custom]
|
|
97
|
+
description: "Visual workflow integration engine"
|
|
98
|
+
examples:
|
|
99
|
+
- "eca" # Events-Conditions-Actions module
|
|
100
|
+
- "flowdrop" # FlowDrop visual builder
|
|
101
|
+
|
|
102
|
+
discovery_paths:
|
|
103
|
+
type: array
|
|
104
|
+
items: { type: string }
|
|
105
|
+
description: "Paths where Drupal should discover agent manifests"
|
|
106
|
+
default: ["config/agents", "agents"]
|
|
107
|
+
examples:
|
|
108
|
+
- "config/agents/*.ossa.yaml"
|
|
109
|
+
- "modules/custom/*/agents/*.ossa.yaml"
|
|
110
|
+
- "profiles/custom/*/agents/*.ossa.yaml"
|
|
111
|
+
|
|
112
|
+
hooks:
|
|
113
|
+
type: object
|
|
114
|
+
description: "Drupal hook integration points"
|
|
115
|
+
properties:
|
|
116
|
+
before_execute:
|
|
117
|
+
type: string
|
|
118
|
+
description: "Hook name called before agent execution"
|
|
119
|
+
|
|
120
|
+
after_execute:
|
|
121
|
+
type: string
|
|
122
|
+
description: "Hook name called after agent execution"
|
|
123
|
+
|
|
124
|
+
on_error:
|
|
125
|
+
type: string
|
|
126
|
+
description: "Hook name called on agent error"
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## Use Cases
|
|
130
|
+
|
|
131
|
+
### 1. Background Content Generation Agent
|
|
132
|
+
|
|
133
|
+
An agent that generates content autonomously without user context:
|
|
134
|
+
|
|
135
|
+
```yaml
|
|
136
|
+
apiVersion: ossa/v0.3.1
|
|
137
|
+
kind: Agent
|
|
138
|
+
metadata:
|
|
139
|
+
name: content-writer
|
|
140
|
+
version: 1.0.0
|
|
141
|
+
|
|
142
|
+
spec:
|
|
143
|
+
# ... agent spec ...
|
|
144
|
+
|
|
145
|
+
extensions:
|
|
146
|
+
drupal:
|
|
147
|
+
module: ai_agents_ossa
|
|
148
|
+
config_entity: true
|
|
149
|
+
permissions:
|
|
150
|
+
entity_permissions:
|
|
151
|
+
- "create article content"
|
|
152
|
+
- "create page content"
|
|
153
|
+
execution_user: "1" # Run as admin
|
|
154
|
+
permission_mode: agent_only
|
|
155
|
+
messenger:
|
|
156
|
+
transport: redis
|
|
157
|
+
queue: content_generation
|
|
158
|
+
retry_strategy:
|
|
159
|
+
max_retries: 3
|
|
160
|
+
delay: 1000
|
|
161
|
+
multiplier: 2
|
|
162
|
+
discovery_paths:
|
|
163
|
+
- "config/agents/*.ossa.yaml"
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### 2. User-Context Content Review Agent
|
|
167
|
+
|
|
168
|
+
An agent that reviews user-submitted content with merged permissions:
|
|
169
|
+
|
|
170
|
+
```yaml
|
|
171
|
+
apiVersion: ossa/v0.3.1
|
|
172
|
+
kind: Agent
|
|
173
|
+
metadata:
|
|
174
|
+
name: content-reviewer
|
|
175
|
+
version: 1.0.0
|
|
176
|
+
|
|
177
|
+
spec:
|
|
178
|
+
# ... agent spec ...
|
|
179
|
+
|
|
180
|
+
extensions:
|
|
181
|
+
drupal:
|
|
182
|
+
module: ai_agents_ossa
|
|
183
|
+
permissions:
|
|
184
|
+
entity_permissions:
|
|
185
|
+
- "view any article content"
|
|
186
|
+
- "edit any article content"
|
|
187
|
+
custom_permissions:
|
|
188
|
+
- "approve ai content review"
|
|
189
|
+
permission_mode: least_permissive # User must have all permissions
|
|
190
|
+
workflow_engine: eca
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### 3. Visual Workflow Integration with ECA
|
|
194
|
+
|
|
195
|
+
An agent integrated into ECA (Events-Conditions-Actions) module:
|
|
196
|
+
|
|
197
|
+
```yaml
|
|
198
|
+
apiVersion: ossa/v0.3.1
|
|
199
|
+
kind: Agent
|
|
200
|
+
metadata:
|
|
201
|
+
name: moderation-assistant
|
|
202
|
+
version: 1.0.0
|
|
203
|
+
|
|
204
|
+
spec:
|
|
205
|
+
# ... agent spec ...
|
|
206
|
+
|
|
207
|
+
extensions:
|
|
208
|
+
drupal:
|
|
209
|
+
module: ai_agents_ossa
|
|
210
|
+
workflow_engine: eca
|
|
211
|
+
permissions:
|
|
212
|
+
entity_permissions:
|
|
213
|
+
- "use editorial transition review"
|
|
214
|
+
- "use editorial transition publish"
|
|
215
|
+
permission_mode: user_only # Respect user permissions
|
|
216
|
+
hooks:
|
|
217
|
+
before_execute: ai_agents_ossa_moderation_before
|
|
218
|
+
after_execute: ai_agents_ossa_moderation_after
|
|
219
|
+
on_error: ai_agents_ossa_moderation_error
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### 4. Multi-Site Discovery
|
|
223
|
+
|
|
224
|
+
An agent that can be discovered across multiple Drupal subsites:
|
|
225
|
+
|
|
226
|
+
```yaml
|
|
227
|
+
extensions:
|
|
228
|
+
drupal:
|
|
229
|
+
module: ai_agents_ossa
|
|
230
|
+
discovery_paths:
|
|
231
|
+
- "config/agents/*.ossa.yaml"
|
|
232
|
+
- "modules/custom/*/agents/*.ossa.yaml"
|
|
233
|
+
- "profiles/custom/*/agents/*.ossa.yaml"
|
|
234
|
+
- "sites/*/agents/*.ossa.yaml"
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
## Permission Modes
|
|
238
|
+
|
|
239
|
+
### `least_permissive` (default)
|
|
240
|
+
|
|
241
|
+
User must have **all** permissions that the agent requires:
|
|
242
|
+
|
|
243
|
+
```
|
|
244
|
+
effective_permissions = user_permissions ∩ agent_permissions
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
Example: Agent requires `create article`, `edit article`. User must have both.
|
|
248
|
+
|
|
249
|
+
### `most_permissive`
|
|
250
|
+
|
|
251
|
+
User gets **union** of user and agent permissions:
|
|
252
|
+
|
|
253
|
+
```
|
|
254
|
+
effective_permissions = user_permissions ∪ agent_permissions
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
Example: Agent has `create article`, user has `edit article`. Execution gets both.
|
|
258
|
+
|
|
259
|
+
### `user_only`
|
|
260
|
+
|
|
261
|
+
Only user's permissions are used:
|
|
262
|
+
|
|
263
|
+
```
|
|
264
|
+
effective_permissions = user_permissions
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
Example: Agent is an assistant, doesn't grant extra privileges.
|
|
268
|
+
|
|
269
|
+
### `agent_only`
|
|
270
|
+
|
|
271
|
+
Only agent's permissions are used (service account):
|
|
272
|
+
|
|
273
|
+
```
|
|
274
|
+
effective_permissions = agent_permissions
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
Example: Autonomous background agent ignores user context.
|
|
278
|
+
|
|
279
|
+
## Messenger Integration
|
|
280
|
+
|
|
281
|
+
### Transport Options
|
|
282
|
+
|
|
283
|
+
#### `redis`
|
|
284
|
+
- High performance
|
|
285
|
+
- Requires Redis server
|
|
286
|
+
- Best for high-throughput async agents
|
|
287
|
+
|
|
288
|
+
#### `amqp`
|
|
289
|
+
- Enterprise message queue (RabbitMQ, etc.)
|
|
290
|
+
- Advanced routing and durability
|
|
291
|
+
- Best for multi-service architectures
|
|
292
|
+
|
|
293
|
+
#### `doctrine`
|
|
294
|
+
- Database-backed queue
|
|
295
|
+
- No external dependencies
|
|
296
|
+
- Best for simple deployments
|
|
297
|
+
|
|
298
|
+
#### `sync`
|
|
299
|
+
- Synchronous execution (no queue)
|
|
300
|
+
- Useful for development/testing
|
|
301
|
+
|
|
302
|
+
### Retry Strategy
|
|
303
|
+
|
|
304
|
+
Exponential backoff example:
|
|
305
|
+
|
|
306
|
+
```
|
|
307
|
+
Attempt 1: delay = 1000ms
|
|
308
|
+
Attempt 2: delay = 2000ms (1000 * 2)
|
|
309
|
+
Attempt 3: delay = 4000ms (2000 * 2)
|
|
310
|
+
Attempt 4: delay = 8000ms (4000 * 2)
|
|
311
|
+
Capped at max_delay: 10000ms
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
## Workflow Engine Integration
|
|
315
|
+
|
|
316
|
+
### ECA (Events-Conditions-Actions)
|
|
317
|
+
|
|
318
|
+
Integrate agents into Drupal's ECA visual workflow builder:
|
|
319
|
+
|
|
320
|
+
- **Events**: Trigger agent execution on Drupal events
|
|
321
|
+
- **Conditions**: Conditional agent invocation
|
|
322
|
+
- **Actions**: Agent as an action in workflows
|
|
323
|
+
|
|
324
|
+
### FlowDrop
|
|
325
|
+
|
|
326
|
+
Visual low-code agent orchestration:
|
|
327
|
+
|
|
328
|
+
- Drag-and-drop agent composition
|
|
329
|
+
- Real-time agent monitoring
|
|
330
|
+
- Visual debugging
|
|
331
|
+
|
|
332
|
+
## Discovery Paths
|
|
333
|
+
|
|
334
|
+
Agents can be discovered from multiple locations:
|
|
335
|
+
|
|
336
|
+
1. **Config directory**: `config/agents/*.ossa.yaml`
|
|
337
|
+
2. **Custom modules**: `modules/custom/*/agents/*.ossa.yaml`
|
|
338
|
+
3. **Profiles**: `profiles/custom/*/agents/*.ossa.yaml`
|
|
339
|
+
4. **Multi-site**: `sites/*/agents/*.ossa.yaml`
|
|
340
|
+
|
|
341
|
+
Discovery happens during:
|
|
342
|
+
- Module installation
|
|
343
|
+
- Configuration import
|
|
344
|
+
- Cache rebuild
|
|
345
|
+
- Manual discovery command
|
|
346
|
+
|
|
347
|
+
## Hooks
|
|
348
|
+
|
|
349
|
+
### Before Execute
|
|
350
|
+
|
|
351
|
+
Called before agent runs:
|
|
352
|
+
|
|
353
|
+
```php
|
|
354
|
+
function mymodule_ai_agents_ossa_before_execute($agent, $context) {
|
|
355
|
+
// Log execution
|
|
356
|
+
// Validate inputs
|
|
357
|
+
// Load additional context
|
|
358
|
+
}
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
### After Execute
|
|
362
|
+
|
|
363
|
+
Called after successful agent execution:
|
|
364
|
+
|
|
365
|
+
```php
|
|
366
|
+
function mymodule_ai_agents_ossa_after_execute($agent, $result, $context) {
|
|
367
|
+
// Save result to entity
|
|
368
|
+
// Trigger follow-up actions
|
|
369
|
+
// Update metrics
|
|
370
|
+
}
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
### On Error
|
|
374
|
+
|
|
375
|
+
Called when agent execution fails:
|
|
376
|
+
|
|
377
|
+
```php
|
|
378
|
+
function mymodule_ai_agents_ossa_on_error($agent, $error, $context) {
|
|
379
|
+
// Log error
|
|
380
|
+
// Send notification
|
|
381
|
+
// Trigger fallback
|
|
382
|
+
}
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
## Config Entity Export
|
|
386
|
+
|
|
387
|
+
When `config_entity: true`, agents are stored as Drupal config entities:
|
|
388
|
+
|
|
389
|
+
```yaml
|
|
390
|
+
# config/agents/content_writer.agent.yml
|
|
391
|
+
uuid: 12345678-1234-1234-1234-123456789012
|
|
392
|
+
langcode: en
|
|
393
|
+
status: true
|
|
394
|
+
dependencies:
|
|
395
|
+
module:
|
|
396
|
+
- ai_agents_ossa
|
|
397
|
+
id: content_writer
|
|
398
|
+
label: Content Writer
|
|
399
|
+
manifest: |
|
|
400
|
+
apiVersion: ossa/v0.3.1
|
|
401
|
+
kind: Agent
|
|
402
|
+
# ... full manifest ...
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
Benefits:
|
|
406
|
+
- **Exportable**: Via `drush config:export`
|
|
407
|
+
- **Versionable**: Track changes in git
|
|
408
|
+
- **Multi-site**: Deploy across environments
|
|
409
|
+
- **Translatable**: Multi-language support
|
|
410
|
+
|
|
411
|
+
## Related
|
|
412
|
+
|
|
413
|
+
- [Drupal AI Community Requirements](https://www.drupal.org/project/ai/issues/3560619)
|
|
414
|
+
- [ai_agents_ossa Module](https://gitlab.com/blueflyio/agent-platform/ai_agents_ossa)
|
|
415
|
+
- [Symfony Messenger Documentation](https://symfony.com/doc/current/messenger.html)
|
|
416
|
+
- [ECA Module](https://www.drupal.org/project/eca)
|
|
417
|
+
- [FlowDrop Integration](https://gitlab.com/blueflyio/agent-platform/flowdrop-drupal)
|