@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,201 @@
|
|
|
1
|
+
# =============================================================================
|
|
2
|
+
# OSSA v0.3.2 - Tier 3 (Write Elevated) Example: Deployment Operator
|
|
3
|
+
# =============================================================================
|
|
4
|
+
# Demonstrates separation of duties for elevated-access operator agents
|
|
5
|
+
# Can modify production systems but requires approval chains
|
|
6
|
+
# =============================================================================
|
|
7
|
+
|
|
8
|
+
apiVersion: ossa/v0.3.2
|
|
9
|
+
kind: Agent
|
|
10
|
+
|
|
11
|
+
metadata:
|
|
12
|
+
name: deployment-operator
|
|
13
|
+
version: 1.0.0
|
|
14
|
+
description: Deployment operator agent with elevated write access
|
|
15
|
+
labels:
|
|
16
|
+
team: platform
|
|
17
|
+
access_tier: tier_3_write_elevated
|
|
18
|
+
domain: infrastructure
|
|
19
|
+
|
|
20
|
+
spec:
|
|
21
|
+
type: operator
|
|
22
|
+
|
|
23
|
+
role: |
|
|
24
|
+
You are a deployment operator that manages CI/CD pipelines, deployments,
|
|
25
|
+
and infrastructure changes. You have elevated access to production systems
|
|
26
|
+
but all changes require approval through the defined approval chain.
|
|
27
|
+
|
|
28
|
+
CRITICAL: Never bypass approval processes. Never delete production data.
|
|
29
|
+
Always ensure rollback plans exist before deployment.
|
|
30
|
+
|
|
31
|
+
llm:
|
|
32
|
+
provider: anthropic
|
|
33
|
+
model: claude-sonnet-4-20250514
|
|
34
|
+
temperature: 0.1
|
|
35
|
+
profile: safe
|
|
36
|
+
|
|
37
|
+
# Taxonomy Classification (v0.3.2+)
|
|
38
|
+
taxonomy:
|
|
39
|
+
domain: infrastructure
|
|
40
|
+
subdomain: deployment
|
|
41
|
+
capability: execute_deployments
|
|
42
|
+
concerns:
|
|
43
|
+
- reliability
|
|
44
|
+
- observability
|
|
45
|
+
- performance
|
|
46
|
+
|
|
47
|
+
# Access Tier Configuration (v0.3.2+)
|
|
48
|
+
access:
|
|
49
|
+
tier: tier_3_write_elevated
|
|
50
|
+
permissions:
|
|
51
|
+
- read_code
|
|
52
|
+
- read_configs
|
|
53
|
+
- read_metrics
|
|
54
|
+
- read_logs
|
|
55
|
+
- execute_deployments
|
|
56
|
+
- modify_pipelines
|
|
57
|
+
- merge_mrs
|
|
58
|
+
- modify_configs
|
|
59
|
+
- execute_commands
|
|
60
|
+
prohibited:
|
|
61
|
+
- delete_production
|
|
62
|
+
- modify_secrets_direct
|
|
63
|
+
- bypass_approvals
|
|
64
|
+
- force_push
|
|
65
|
+
audit_level: detailed
|
|
66
|
+
requires_approval: true
|
|
67
|
+
approval_chain: elevated
|
|
68
|
+
|
|
69
|
+
# Separation of Duties (v0.3.2+)
|
|
70
|
+
separation:
|
|
71
|
+
role: deployer
|
|
72
|
+
conflicts_with:
|
|
73
|
+
- governor
|
|
74
|
+
- policy_definer
|
|
75
|
+
- critic
|
|
76
|
+
can_delegate_to:
|
|
77
|
+
- worker
|
|
78
|
+
- analyzer
|
|
79
|
+
|
|
80
|
+
# Delegation Configuration (v0.3.2+)
|
|
81
|
+
delegation:
|
|
82
|
+
enabled: true
|
|
83
|
+
allowed_tiers:
|
|
84
|
+
- tier_1_read
|
|
85
|
+
- tier_2_write_limited
|
|
86
|
+
allowed_operations:
|
|
87
|
+
- gather_information
|
|
88
|
+
- run_analysis
|
|
89
|
+
- generate_reports
|
|
90
|
+
- write_docs
|
|
91
|
+
requires:
|
|
92
|
+
- task_specification
|
|
93
|
+
- audit_trail
|
|
94
|
+
|
|
95
|
+
tools:
|
|
96
|
+
- name: kubernetes
|
|
97
|
+
type: kubernetes
|
|
98
|
+
config:
|
|
99
|
+
namespace: production
|
|
100
|
+
rbac_required: true
|
|
101
|
+
- name: gitlab-ci
|
|
102
|
+
type: api
|
|
103
|
+
config:
|
|
104
|
+
endpoint: https://gitlab.com/api/v4
|
|
105
|
+
scopes:
|
|
106
|
+
- api
|
|
107
|
+
- write_repository
|
|
108
|
+
- name: deployment-monitor
|
|
109
|
+
type: mcp
|
|
110
|
+
config:
|
|
111
|
+
server: monitoring-mcp-server
|
|
112
|
+
|
|
113
|
+
autonomy:
|
|
114
|
+
level: supervised
|
|
115
|
+
approval_required:
|
|
116
|
+
- deploy_to_production
|
|
117
|
+
- modify_infrastructure
|
|
118
|
+
- delete_resources
|
|
119
|
+
allowed_actions:
|
|
120
|
+
- deploy_to_staging
|
|
121
|
+
- run_tests
|
|
122
|
+
- view_metrics
|
|
123
|
+
escalation_policy:
|
|
124
|
+
triggers:
|
|
125
|
+
- deployment_failure
|
|
126
|
+
- rollback_required
|
|
127
|
+
- security_alert
|
|
128
|
+
notify:
|
|
129
|
+
- slack:#platform-alerts
|
|
130
|
+
- gitlab:@platform-team
|
|
131
|
+
|
|
132
|
+
safety:
|
|
133
|
+
guardrails:
|
|
134
|
+
enabled: true
|
|
135
|
+
max_tool_calls: 50
|
|
136
|
+
max_execution_time_seconds: 1800
|
|
137
|
+
policies:
|
|
138
|
+
- require_rollback_plan
|
|
139
|
+
- no_production_deletes
|
|
140
|
+
- approval_chain_required
|
|
141
|
+
human_in_loop:
|
|
142
|
+
enabled: true
|
|
143
|
+
triggers:
|
|
144
|
+
- production_deployment
|
|
145
|
+
- infrastructure_change
|
|
146
|
+
- security_modification
|
|
147
|
+
|
|
148
|
+
identity:
|
|
149
|
+
provider: gitlab
|
|
150
|
+
service_account:
|
|
151
|
+
username: bot-deployer
|
|
152
|
+
email: bot-deployer@bluefly.io
|
|
153
|
+
token_source:
|
|
154
|
+
env_var: GITLAB_BOT_DEPLOYER_TOKEN
|
|
155
|
+
file_path: ~/.tokens/bot-deployer
|
|
156
|
+
authentication:
|
|
157
|
+
method: project_access_token
|
|
158
|
+
scopes:
|
|
159
|
+
- api
|
|
160
|
+
- write_repository
|
|
161
|
+
- read_registry
|
|
162
|
+
|
|
163
|
+
observability:
|
|
164
|
+
tracing:
|
|
165
|
+
enabled: true
|
|
166
|
+
exporter: otlp
|
|
167
|
+
metrics:
|
|
168
|
+
enabled: true
|
|
169
|
+
customMetrics:
|
|
170
|
+
- name: deployments_total
|
|
171
|
+
type: counter
|
|
172
|
+
description: Total deployments executed
|
|
173
|
+
- name: deployment_duration_seconds
|
|
174
|
+
type: histogram
|
|
175
|
+
description: Time to complete deployment
|
|
176
|
+
- name: rollbacks_total
|
|
177
|
+
type: counter
|
|
178
|
+
description: Total rollbacks performed
|
|
179
|
+
slo:
|
|
180
|
+
availability: 99.9
|
|
181
|
+
latency_p95_ms: 30000
|
|
182
|
+
error_budget: 0.1
|
|
183
|
+
|
|
184
|
+
messaging:
|
|
185
|
+
subscribes:
|
|
186
|
+
- channel: ci.pipeline_complete
|
|
187
|
+
description: Listen for pipeline completion to trigger deployments
|
|
188
|
+
handler: onPipelineComplete
|
|
189
|
+
publishes:
|
|
190
|
+
- channel: deployments.status
|
|
191
|
+
description: Deployment status updates
|
|
192
|
+
schema:
|
|
193
|
+
type: object
|
|
194
|
+
properties:
|
|
195
|
+
environment:
|
|
196
|
+
type: string
|
|
197
|
+
status:
|
|
198
|
+
type: string
|
|
199
|
+
enum: [started, success, failed, rolled_back]
|
|
200
|
+
version:
|
|
201
|
+
type: string
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# =============================================================================
|
|
2
|
+
# OSSA v0.3.2 - Tier 2 (Write Limited) Example: Documentation Generator
|
|
3
|
+
# =============================================================================
|
|
4
|
+
# Demonstrates separation of duties for limited-write worker agents
|
|
5
|
+
# Can write docs, tests, scaffolds - but not production code
|
|
6
|
+
# =============================================================================
|
|
7
|
+
|
|
8
|
+
apiVersion: ossa/v0.3.2
|
|
9
|
+
kind: Agent
|
|
10
|
+
|
|
11
|
+
metadata:
|
|
12
|
+
name: doc-generator
|
|
13
|
+
version: 1.0.0
|
|
14
|
+
description: Documentation generator agent with sandboxed write access
|
|
15
|
+
labels:
|
|
16
|
+
team: platform
|
|
17
|
+
access_tier: tier_2_write_limited
|
|
18
|
+
domain: documentation
|
|
19
|
+
|
|
20
|
+
spec:
|
|
21
|
+
type: worker
|
|
22
|
+
|
|
23
|
+
role: |
|
|
24
|
+
You are a documentation generator that creates and updates documentation
|
|
25
|
+
based on code analysis. You can write to documentation files, create
|
|
26
|
+
test files, and scaffold new structures.
|
|
27
|
+
|
|
28
|
+
IMPORTANT: You cannot modify production code or merge changes. All changes
|
|
29
|
+
must go through review by a human or supervisor agent.
|
|
30
|
+
|
|
31
|
+
llm:
|
|
32
|
+
provider: anthropic
|
|
33
|
+
model: claude-sonnet-4-20250514
|
|
34
|
+
temperature: 0.3
|
|
35
|
+
|
|
36
|
+
# Taxonomy Classification (v0.3.2+)
|
|
37
|
+
taxonomy:
|
|
38
|
+
domain: documentation
|
|
39
|
+
subdomain: api-docs
|
|
40
|
+
capability: generate_documentation
|
|
41
|
+
concerns:
|
|
42
|
+
- quality
|
|
43
|
+
- architecture
|
|
44
|
+
|
|
45
|
+
# Access Tier Configuration (v0.3.2+)
|
|
46
|
+
access:
|
|
47
|
+
tier: tier_2_write_limited
|
|
48
|
+
permissions:
|
|
49
|
+
- read_code
|
|
50
|
+
- read_configs
|
|
51
|
+
- write_docs
|
|
52
|
+
- write_tests
|
|
53
|
+
- create_issues
|
|
54
|
+
- create_mrs_draft
|
|
55
|
+
- execute_sandboxed
|
|
56
|
+
prohibited:
|
|
57
|
+
- write_production_code
|
|
58
|
+
- merge_mrs
|
|
59
|
+
- delete_branches
|
|
60
|
+
- modify_infrastructure
|
|
61
|
+
audit_level: standard
|
|
62
|
+
requires_approval: false
|
|
63
|
+
|
|
64
|
+
# Separation of Duties (v0.3.2+)
|
|
65
|
+
separation:
|
|
66
|
+
role: documenter
|
|
67
|
+
conflicts_with:
|
|
68
|
+
- executor
|
|
69
|
+
- deployer
|
|
70
|
+
can_delegate_to:
|
|
71
|
+
- analyzer
|
|
72
|
+
|
|
73
|
+
# Delegation Configuration (v0.3.2+)
|
|
74
|
+
delegation:
|
|
75
|
+
enabled: true
|
|
76
|
+
allowed_tiers:
|
|
77
|
+
- tier_1_read
|
|
78
|
+
allowed_operations:
|
|
79
|
+
- analyze_code
|
|
80
|
+
- scan_dependencies
|
|
81
|
+
requires:
|
|
82
|
+
- task_specification
|
|
83
|
+
|
|
84
|
+
tools:
|
|
85
|
+
- name: filesystem
|
|
86
|
+
type: mcp
|
|
87
|
+
config:
|
|
88
|
+
server: filesystem-mcp-server
|
|
89
|
+
paths:
|
|
90
|
+
- docs/**
|
|
91
|
+
- tests/**
|
|
92
|
+
- README.md
|
|
93
|
+
- name: code-reader
|
|
94
|
+
type: mcp
|
|
95
|
+
config:
|
|
96
|
+
server: filesystem-mcp-server
|
|
97
|
+
read_only: true
|
|
98
|
+
|
|
99
|
+
autonomy:
|
|
100
|
+
level: assisted
|
|
101
|
+
allowed_actions:
|
|
102
|
+
- read_code
|
|
103
|
+
- write_documentation
|
|
104
|
+
- create_draft_mr
|
|
105
|
+
blocked_actions:
|
|
106
|
+
- modify_production_code
|
|
107
|
+
- merge_changes
|
|
108
|
+
- deploy
|
|
109
|
+
|
|
110
|
+
identity:
|
|
111
|
+
provider: gitlab
|
|
112
|
+
service_account:
|
|
113
|
+
username: bot-docs
|
|
114
|
+
email: bot-docs@bluefly.io
|
|
115
|
+
token_source:
|
|
116
|
+
env_var: GITLAB_BOT_DOCS_TOKEN
|
|
117
|
+
file_path: ~/.tokens/bot-docs
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# =============================================================================
|
|
2
|
+
# OSSA v0.3.2 - Tier 1 (Read Only) Example: Security Scanner
|
|
3
|
+
# =============================================================================
|
|
4
|
+
# Demonstrates separation of duties for read-only analyzer agents
|
|
5
|
+
# Cannot modify code, only scan and report - critics cannot execute
|
|
6
|
+
# =============================================================================
|
|
7
|
+
|
|
8
|
+
apiVersion: ossa/v0.3.2
|
|
9
|
+
kind: Agent
|
|
10
|
+
|
|
11
|
+
metadata:
|
|
12
|
+
name: security-scanner
|
|
13
|
+
version: 1.0.0
|
|
14
|
+
description: Security vulnerability scanner - read-only analysis agent
|
|
15
|
+
labels:
|
|
16
|
+
team: security
|
|
17
|
+
access_tier: tier_1_read
|
|
18
|
+
domain: security
|
|
19
|
+
|
|
20
|
+
spec:
|
|
21
|
+
type: analyzer
|
|
22
|
+
|
|
23
|
+
role: |
|
|
24
|
+
You are a security vulnerability scanner that analyzes code for potential
|
|
25
|
+
security issues. You can read code, scan dependencies, and report findings.
|
|
26
|
+
|
|
27
|
+
IMPORTANT: You cannot modify code, approve changes, or execute remediations.
|
|
28
|
+
You must report findings to a tier_3 remediator agent for action.
|
|
29
|
+
|
|
30
|
+
llm:
|
|
31
|
+
provider: anthropic
|
|
32
|
+
model: claude-sonnet-4-20250514
|
|
33
|
+
temperature: 0.1
|
|
34
|
+
|
|
35
|
+
# Taxonomy Classification (v0.3.2+)
|
|
36
|
+
taxonomy:
|
|
37
|
+
domain: security
|
|
38
|
+
subdomain: vulnerability
|
|
39
|
+
capability: scan_vulnerabilities
|
|
40
|
+
concerns:
|
|
41
|
+
- quality
|
|
42
|
+
- governance
|
|
43
|
+
recommended_tier: tier_1_read
|
|
44
|
+
|
|
45
|
+
# Access Tier Configuration (v0.3.2+)
|
|
46
|
+
access:
|
|
47
|
+
tier: tier_1_read
|
|
48
|
+
permissions:
|
|
49
|
+
- read_code
|
|
50
|
+
- read_configs
|
|
51
|
+
- read_logs
|
|
52
|
+
- execute_queries
|
|
53
|
+
prohibited:
|
|
54
|
+
- write_*
|
|
55
|
+
- delete_*
|
|
56
|
+
- execute_commands
|
|
57
|
+
- modify_infrastructure
|
|
58
|
+
audit_level: standard
|
|
59
|
+
requires_approval: false
|
|
60
|
+
|
|
61
|
+
# Separation of Duties (v0.3.2+)
|
|
62
|
+
separation:
|
|
63
|
+
role: scanner
|
|
64
|
+
conflicts_with:
|
|
65
|
+
- remediator
|
|
66
|
+
- executor
|
|
67
|
+
- approver
|
|
68
|
+
prohibited_actions:
|
|
69
|
+
- execute
|
|
70
|
+
- merge
|
|
71
|
+
- approve
|
|
72
|
+
|
|
73
|
+
tools:
|
|
74
|
+
- name: code-reader
|
|
75
|
+
type: mcp
|
|
76
|
+
config:
|
|
77
|
+
server: filesystem-mcp-server
|
|
78
|
+
read_only: true
|
|
79
|
+
- name: dependency-scanner
|
|
80
|
+
type: api
|
|
81
|
+
config:
|
|
82
|
+
endpoint: https://api.security.local/scan
|
|
83
|
+
method: GET
|
|
84
|
+
|
|
85
|
+
autonomy:
|
|
86
|
+
level: semi_autonomous
|
|
87
|
+
allowed_actions:
|
|
88
|
+
- scan_code
|
|
89
|
+
- generate_report
|
|
90
|
+
- create_issue
|
|
91
|
+
blocked_actions:
|
|
92
|
+
- modify_code
|
|
93
|
+
- execute_fix
|
|
94
|
+
- approve_mr
|
|
95
|
+
|
|
96
|
+
safety:
|
|
97
|
+
content_filtering:
|
|
98
|
+
enabled: true
|
|
99
|
+
categories:
|
|
100
|
+
- credentials
|
|
101
|
+
- pii
|
|
102
|
+
action: redact
|
|
103
|
+
rate_limiting:
|
|
104
|
+
enabled: true
|
|
105
|
+
requests_per_minute: 60
|
|
106
|
+
|
|
107
|
+
observability:
|
|
108
|
+
metrics:
|
|
109
|
+
enabled: true
|
|
110
|
+
customMetrics:
|
|
111
|
+
- name: vulnerabilities_found
|
|
112
|
+
type: counter
|
|
113
|
+
description: Total vulnerabilities detected
|
|
114
|
+
- name: scan_duration_seconds
|
|
115
|
+
type: histogram
|
|
116
|
+
description: Time to complete security scan
|
|
117
|
+
|
|
118
|
+
messaging:
|
|
119
|
+
publishes:
|
|
120
|
+
- channel: security.vulnerabilities
|
|
121
|
+
description: Vulnerability findings for remediation
|
|
122
|
+
schema:
|
|
123
|
+
type: object
|
|
124
|
+
properties:
|
|
125
|
+
severity:
|
|
126
|
+
type: string
|
|
127
|
+
enum: [critical, high, medium, low]
|
|
128
|
+
cve:
|
|
129
|
+
type: string
|
|
130
|
+
affected_file:
|
|
131
|
+
type: string
|
|
132
|
+
remediation_required:
|
|
133
|
+
type: boolean
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# OSSA v0.3.1 Agent with Identity Configuration
|
|
2
|
+
# Demonstrates service account integration for automated git operations
|
|
3
|
+
apiVersion: ossa/v0.3.2
|
|
4
|
+
kind: Agent
|
|
5
|
+
metadata:
|
|
6
|
+
name: typescript-worker
|
|
7
|
+
version: 1.0.0
|
|
8
|
+
description: TypeScript development agent with GitLab service account identity
|
|
9
|
+
labels:
|
|
10
|
+
team: platform
|
|
11
|
+
tier: development
|
|
12
|
+
spec:
|
|
13
|
+
role: |
|
|
14
|
+
You are a TypeScript development assistant that manages code changes
|
|
15
|
+
for the agent-buildkit and related TypeScript projects.
|
|
16
|
+
|
|
17
|
+
llm:
|
|
18
|
+
provider: anthropic
|
|
19
|
+
model: claude-sonnet-4-20250514
|
|
20
|
+
temperature: 0.2
|
|
21
|
+
|
|
22
|
+
# Agent Identity Configuration (v0.3.1+)
|
|
23
|
+
identity:
|
|
24
|
+
provider: gitlab
|
|
25
|
+
service_account:
|
|
26
|
+
id: 31840529
|
|
27
|
+
username: bot-ts-local
|
|
28
|
+
email: bot-ts-local@bluefly.io
|
|
29
|
+
token_source:
|
|
30
|
+
env_var: GITLAB_BOT_TS_TOKEN
|
|
31
|
+
file_path: ~/.tokens/bot-ts-local
|
|
32
|
+
patterns:
|
|
33
|
+
- "*/common_npm/*"
|
|
34
|
+
- "*/agent-buildkit"
|
|
35
|
+
- "*/agent-studio"
|
|
36
|
+
dora_tracking:
|
|
37
|
+
enabled: true
|
|
38
|
+
metrics:
|
|
39
|
+
- deployment_frequency
|
|
40
|
+
- lead_time
|
|
41
|
+
- change_failure_rate
|
|
42
|
+
- mttr
|
|
43
|
+
observability:
|
|
44
|
+
service_name: typescript-worker
|
|
45
|
+
service_namespace: development
|
|
46
|
+
service_version: "1.0.0"
|
|
47
|
+
|
|
48
|
+
tools:
|
|
49
|
+
- name: git
|
|
50
|
+
type: mcp
|
|
51
|
+
config:
|
|
52
|
+
server: git-mcp-server
|
|
53
|
+
- name: file-operations
|
|
54
|
+
type: mcp
|
|
55
|
+
config:
|
|
56
|
+
server: filesystem-mcp-server
|
|
57
|
+
|
|
58
|
+
autonomy:
|
|
59
|
+
level: supervised
|
|
60
|
+
require_approval:
|
|
61
|
+
- push_to_protected_branch
|
|
62
|
+
- delete_branch
|
|
63
|
+
- force_push
|
|
64
|
+
|
|
65
|
+
safety:
|
|
66
|
+
max_tokens_per_turn: 8000
|
|
67
|
+
rate_limits:
|
|
68
|
+
requests_per_minute: 30
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
apiVersion: ossa/v0.3.2
|
|
2
|
+
kind: Agent
|
|
3
|
+
metadata:
|
|
4
|
+
name: drupal-content-writer
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
description: Autonomous content generation agent for Drupal with background processing
|
|
7
|
+
|
|
8
|
+
spec:
|
|
9
|
+
capabilities:
|
|
10
|
+
- name: content.create
|
|
11
|
+
description: "Create Drupal content entities (nodes, taxonomy terms)"
|
|
12
|
+
- name: seo.optimize
|
|
13
|
+
description: "Optimize content for SEO (meta tags, keywords, structure)"
|
|
14
|
+
- name: media.select
|
|
15
|
+
description: "Select relevant media from media library"
|
|
16
|
+
|
|
17
|
+
role: |
|
|
18
|
+
You are an autonomous content writer for a Drupal website. You generate high-quality articles
|
|
19
|
+
based on content briefs, optimize them for SEO, and select appropriate media assets.
|
|
20
|
+
|
|
21
|
+
Process:
|
|
22
|
+
1. Analyze content brief and target audience
|
|
23
|
+
2. Research topic using available tools
|
|
24
|
+
3. Generate article with proper structure (H1, H2, paragraphs)
|
|
25
|
+
4. Optimize for SEO (meta description, keywords, readability)
|
|
26
|
+
5. Select relevant images from media library
|
|
27
|
+
6. Create content entity in Drupal
|
|
28
|
+
|
|
29
|
+
llm:
|
|
30
|
+
provider: ${OSSA_LLM_PROVIDER:-anthropic}
|
|
31
|
+
model: ${OSSA_LLM_MODEL:-claude-sonnet-4}
|
|
32
|
+
temperature: ${OSSA_LLM_TEMPERATURE:-0.7}
|
|
33
|
+
maxTokens: ${OSSA_LLM_MAX_TOKENS:-8192}
|
|
34
|
+
|
|
35
|
+
tools:
|
|
36
|
+
- name: drupal.node.create
|
|
37
|
+
description: "Create a new Drupal node (article, page, etc.)"
|
|
38
|
+
handler:
|
|
39
|
+
runtime: drupal
|
|
40
|
+
capability: node.create
|
|
41
|
+
|
|
42
|
+
- name: drupal.taxonomy.search
|
|
43
|
+
description: "Search taxonomy terms for tagging"
|
|
44
|
+
handler:
|
|
45
|
+
runtime: drupal
|
|
46
|
+
capability: taxonomy.search
|
|
47
|
+
|
|
48
|
+
- name: drupal.media.search
|
|
49
|
+
description: "Search media library for images"
|
|
50
|
+
handler:
|
|
51
|
+
runtime: drupal
|
|
52
|
+
capability: media.search
|
|
53
|
+
|
|
54
|
+
extensions:
|
|
55
|
+
drupal:
|
|
56
|
+
# Module providing this agent
|
|
57
|
+
module: ai_agents_ossa
|
|
58
|
+
|
|
59
|
+
# Store as exportable config entity
|
|
60
|
+
config_entity: true
|
|
61
|
+
|
|
62
|
+
# Permissions for autonomous execution
|
|
63
|
+
permissions:
|
|
64
|
+
# Core Drupal entity permissions
|
|
65
|
+
entity_permissions:
|
|
66
|
+
- "create article content"
|
|
67
|
+
- "create page content"
|
|
68
|
+
- "edit own article content"
|
|
69
|
+
- "view media"
|
|
70
|
+
- "view taxonomy term"
|
|
71
|
+
|
|
72
|
+
# Custom permissions for agent execution
|
|
73
|
+
custom_permissions:
|
|
74
|
+
- "execute content writer agent"
|
|
75
|
+
- "generate ai content"
|
|
76
|
+
|
|
77
|
+
# Run as admin service account for autonomous operation
|
|
78
|
+
execution_user: "1"
|
|
79
|
+
|
|
80
|
+
# Agent runs with its own permissions (no user context)
|
|
81
|
+
permission_mode: agent_only
|
|
82
|
+
|
|
83
|
+
# Async processing via Symfony Messenger
|
|
84
|
+
messenger:
|
|
85
|
+
# Use Redis for high-performance message queue
|
|
86
|
+
transport: redis
|
|
87
|
+
|
|
88
|
+
# Dedicated queue for content generation
|
|
89
|
+
queue: content_generation
|
|
90
|
+
|
|
91
|
+
# Retry strategy for failed executions
|
|
92
|
+
retry_strategy:
|
|
93
|
+
max_retries: 3
|
|
94
|
+
delay: 2000
|
|
95
|
+
multiplier: 2
|
|
96
|
+
max_delay: 30000
|
|
97
|
+
|
|
98
|
+
# ECA workflow integration
|
|
99
|
+
workflow_engine: eca
|
|
100
|
+
|
|
101
|
+
# Discovery paths for manifest loading
|
|
102
|
+
discovery_paths:
|
|
103
|
+
- "config/agents/*.ossa.yaml"
|
|
104
|
+
- "modules/custom/ai_agents_ossa/agents/*.ossa.yaml"
|
|
105
|
+
|
|
106
|
+
# Drupal hooks for integration
|
|
107
|
+
hooks:
|
|
108
|
+
before_execute: ai_agents_ossa_content_writer_before
|
|
109
|
+
after_execute: ai_agents_ossa_content_writer_after
|
|
110
|
+
on_error: ai_agents_ossa_content_writer_error
|