@bluefly/openstandardagents 0.5.1 → 0.5.3
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/.well-known/agent-card.json +28 -0
- package/.well-known/ossa.json +22 -0
- package/CHANGELOG.md +44 -26
- package/README.md +41 -697
- package/docs/README.md +59 -0
- package/docs/migration-v0.5.2.md +18 -0
- package/docs/spec.md +41 -0
- package/package.json +55 -371
- package/packages/cli/dist/cli.d.ts +1 -0
- package/packages/cli/dist/cli.js +128 -0
- package/packages/cli/package.json +25 -0
- package/packages/discovery/dist/index.d.ts +10 -0
- package/packages/discovery/dist/index.js +20 -0
- package/packages/discovery/package.json +25 -0
- package/packages/identity/dist/index.d.ts +3 -0
- package/packages/identity/dist/index.js +11 -0
- package/packages/identity/package.json +26 -0
- package/packages/policy/dist/index.d.ts +62 -0
- package/packages/policy/dist/index.js +17 -0
- package/packages/policy/package.json +22 -0
- package/packages/schema/package.json +14 -0
- package/packages/validator/dist/index.d.ts +13 -0
- package/packages/validator/dist/index.js +90 -0
- package/packages/validator/package.json +28 -0
- package/spec/reference/compliance-engine.openapi.yaml +84 -0
- package/spec/reference/reference-agents/advisor-pattern-example/manifest.ossa.yaml +57 -0
- package/spec/reference/reference-agents/compliance-auditor/manifest.ossa.yaml +0 -6
- package/spec/reference/reference-agents/doc-agent/manifest.ossa.yaml +1 -1
- package/spec/reference/reference-agents/mr-reviewer/manifest.ossa.yaml +1 -1
- package/spec/reference/reference-agents/mr-reviewer/system-prompt.md +1 -1
- package/spec/reference/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +1 -4
- package/spec/v0.5/agent-builder-openapi.yaml +1 -1
- package/spec/v0.5/agent-card.schema.json +2 -2
- package/spec/v0.5/agent.schema.json +289 -8
- package/spec/v0.5/conformance/profiles/baseline.json +7 -1
- package/spec/v0.5/extensions/a2a/a2a.schema.json +1 -1
- package/spec/v0.5/extensions/ag2/README.md +38 -0
- package/spec/v0.5/extensions/cognition/README.md +38 -0
- package/spec/v0.5/extensions/crewai/README.md +76 -0
- package/spec/v0.5/extensions/drupal/README.md +39 -0
- package/spec/v0.5/extensions/duadp/duadp-export-bundle.schema.json +47 -0
- package/spec/v0.5/extensions/duadp/duadp-validation-report.schema.json +54 -0
- package/spec/v0.5/extensions/economics/README.md +39 -0
- package/spec/v0.5/extensions/emotion.schema.json +47 -0
- package/spec/v0.5/extensions/evals/README.md +49 -0
- package/spec/v0.5/extensions/governance/README.md +61 -0
- package/spec/v0.5/extensions/governance/governance.schema.json +117 -0
- package/spec/v0.5/extensions/identity/README.md +50 -0
- package/spec/v0.5/extensions/kagent/kagent.schema.json +51 -0
- package/spec/v0.5/extensions/langchain/README.md +79 -0
- package/spec/v0.5/extensions/langgraph/README.md +97 -0
- package/spec/v0.5/extensions/memory/README.md +92 -0
- package/spec/v0.5/extensions/memory/governed-memory.schema.json +108 -0
- package/spec/v0.5/extensions/memory/memory-contract.schema.json +240 -0
- package/spec/v0.5/extensions/team/README.md +51 -0
- package/spec/v0.5/extensions/token-efficiency/README.md +55 -0
- package/spec/v0.5/invocation.openapi.yaml +120 -0
- package/spec/v0.5/memory-contract.schema.json +300 -0
- package/spec/v0.5/policy-binding.schema.json +38 -0
- package/spec/v0.5/registry.schema.json +31 -0
- package/spec/v0.5/role.schema.json +173 -0
- package/spec/v0.5/workflow.schema.json +53 -0
- package/.version.json +0 -7
- package/bin/ossa +0 -11
- package/bin/ossa-dev +0 -8
- package/bin/ossa-validate-all +0 -55
- package/bin/ossa-version +0 -23
- package/bin/postinstall +0 -62
- package/dist/.version.json +0 -7
- package/dist/adapters/a2a/a2a-protocol.d.ts +0 -398
- package/dist/adapters/a2a/a2a-protocol.js +0 -259
- package/dist/adapters/a2a/a2a-tool.d.ts +0 -110
- package/dist/adapters/a2a/a2a-tool.js +0 -351
- package/dist/adapters/a2a/agent-mesh.d.ts +0 -195
- package/dist/adapters/a2a/agent-mesh.js +0 -347
- package/dist/adapters/a2a/delegation.d.ts +0 -232
- package/dist/adapters/a2a/delegation.js +0 -236
- package/dist/adapters/a2a/index.d.ts +0 -18
- package/dist/adapters/a2a/index.js +0 -24
- package/dist/adapters/a2a/mcp-integration.d.ts +0 -259
- package/dist/adapters/a2a/mcp-integration.js +0 -331
- package/dist/adapters/a2a/mcp-transport.d.ts +0 -124
- package/dist/adapters/a2a/mcp-transport.js +0 -302
- package/dist/adapters/a2a/swarm-orchestration.d.ts +0 -278
- package/dist/adapters/a2a/swarm-orchestration.js +0 -322
- package/dist/adapters/agent-skills/exporter.d.ts +0 -98
- package/dist/adapters/agent-skills/exporter.js +0 -460
- package/dist/adapters/agent-skills/index.d.ts +0 -7
- package/dist/adapters/agent-skills/index.js +0 -6
- package/dist/adapters/anthropic/claude-optimizations.d.ts +0 -44
- package/dist/adapters/anthropic/claude-optimizations.js +0 -187
- package/dist/adapters/anthropic/client.d.ts +0 -56
- package/dist/adapters/anthropic/client.js +0 -105
- package/dist/adapters/anthropic/config-adapter.d.ts +0 -22
- package/dist/adapters/anthropic/config-adapter.js +0 -48
- package/dist/adapters/anthropic/config.d.ts +0 -149
- package/dist/adapters/anthropic/config.js +0 -157
- package/dist/adapters/anthropic/index.d.ts +0 -19
- package/dist/adapters/anthropic/index.js +0 -20
- package/dist/adapters/anthropic/messages.d.ts +0 -93
- package/dist/adapters/anthropic/messages.js +0 -285
- package/dist/adapters/anthropic/tools.d.ts +0 -111
- package/dist/adapters/anthropic/tools.js +0 -272
- package/dist/adapters/autogen/config-adapter.d.ts +0 -22
- package/dist/adapters/autogen/config-adapter.js +0 -72
- package/dist/adapters/base/adapter.interface.d.ts +0 -327
- package/dist/adapters/base/adapter.interface.js +0 -138
- package/dist/adapters/base/base-exporter.d.ts +0 -108
- package/dist/adapters/base/base-exporter.js +0 -165
- package/dist/adapters/base/common-file-generator.d.ts +0 -217
- package/dist/adapters/base/common-file-generator.js +0 -719
- package/dist/adapters/base/index.d.ts +0 -23
- package/dist/adapters/base/index.js +0 -29
- package/dist/adapters/base/manifest-validator.d.ts +0 -82
- package/dist/adapters/base/manifest-validator.js +0 -264
- package/dist/adapters/base/perfect-agent-utils.d.ts +0 -29
- package/dist/adapters/base/perfect-agent-utils.js +0 -327
- package/dist/adapters/base/template-engine.d.ts +0 -52
- package/dist/adapters/base/template-engine.js +0 -157
- package/dist/adapters/base/tool-params.d.ts +0 -42
- package/dist/adapters/base/tool-params.js +0 -123
- package/dist/adapters/browser/browser-exporter.d.ts +0 -26
- package/dist/adapters/browser/browser-exporter.js +0 -73
- package/dist/adapters/browser/browser-runner.d.ts +0 -23
- package/dist/adapters/browser/browser-runner.js +0 -46
- package/dist/adapters/browser/index.d.ts +0 -9
- package/dist/adapters/browser/index.js +0 -9
- package/dist/adapters/claude-agent-sdk/adapter.d.ts +0 -58
- package/dist/adapters/claude-agent-sdk/adapter.js +0 -705
- package/dist/adapters/claude-agent-sdk/index.d.ts +0 -9
- package/dist/adapters/claude-agent-sdk/index.js +0 -8
- package/dist/adapters/claude-agent-sdk/types.d.ts +0 -135
- package/dist/adapters/claude-agent-sdk/types.js +0 -14
- package/dist/adapters/claude-code/adapter.d.ts +0 -64
- package/dist/adapters/claude-code/adapter.js +0 -341
- package/dist/adapters/claude-code/types.d.ts +0 -154
- package/dist/adapters/claude-code/types.js +0 -6
- package/dist/adapters/crewai/adapter.d.ts +0 -109
- package/dist/adapters/crewai/adapter.js +0 -1769
- package/dist/adapters/crewai/converter.d.ts +0 -25
- package/dist/adapters/crewai/converter.js +0 -141
- package/dist/adapters/crewai/index.d.ts +0 -7
- package/dist/adapters/crewai/index.js +0 -6
- package/dist/adapters/crewai/types.d.ts +0 -29
- package/dist/adapters/crewai/types.js +0 -5
- package/dist/adapters/crewai-adapter.d.ts +0 -57
- package/dist/adapters/crewai-adapter.js +0 -166
- package/dist/adapters/cursor/adapter.d.ts +0 -75
- package/dist/adapters/cursor/adapter.js +0 -478
- package/dist/adapters/cursor/types.d.ts +0 -221
- package/dist/adapters/cursor/types.js +0 -6
- package/dist/adapters/docker/config-adapter.d.ts +0 -22
- package/dist/adapters/docker/config-adapter.js +0 -54
- package/dist/adapters/docker/docker-exporter.d.ts +0 -38
- package/dist/adapters/docker/docker-exporter.js +0 -648
- package/dist/adapters/docker/generators.d.ts +0 -85
- package/dist/adapters/docker/generators.js +0 -783
- package/dist/adapters/docker/index.d.ts +0 -10
- package/dist/adapters/docker/index.js +0 -9
- package/dist/adapters/docker/openclaw-bridge.d.ts +0 -57
- package/dist/adapters/docker/openclaw-bridge.js +0 -173
- package/dist/adapters/docker/types.d.ts +0 -87
- package/dist/adapters/docker/types.js +0 -5
- package/dist/adapters/drupal/adapter.d.ts +0 -59
- package/dist/adapters/drupal/adapter.js +0 -430
- package/dist/adapters/drupal/drupal-utils.d.ts +0 -213
- package/dist/adapters/drupal/drupal-utils.js +0 -313
- package/dist/adapters/drupal/generator.d.ts +0 -303
- package/dist/adapters/drupal/generator.js +0 -2628
- package/dist/adapters/drupal/index.d.ts +0 -114
- package/dist/adapters/drupal/index.js +0 -301
- package/dist/adapters/drupal/manifest-exporter.d.ts +0 -115
- package/dist/adapters/drupal/manifest-exporter.js +0 -584
- package/dist/adapters/drupal/twig-renderer.d.ts +0 -23
- package/dist/adapters/drupal/twig-renderer.js +0 -99
- package/dist/adapters/fusioninventory/config-adapter.d.ts +0 -22
- package/dist/adapters/fusioninventory/config-adapter.js +0 -145
- package/dist/adapters/fusioninventory/types.d.ts +0 -40
- package/dist/adapters/fusioninventory/types.js +0 -29
- package/dist/adapters/gitlab/agent-generator.d.ts +0 -103
- package/dist/adapters/gitlab/agent-generator.js +0 -909
- package/dist/adapters/gitlab/converter.d.ts +0 -35
- package/dist/adapters/gitlab/converter.js +0 -113
- package/dist/adapters/gitlab/external-agent-generator.d.ts +0 -70
- package/dist/adapters/gitlab/external-agent-generator.js +0 -347
- package/dist/adapters/gitlab/flow-generator.d.ts +0 -73
- package/dist/adapters/gitlab/flow-generator.js +0 -710
- package/dist/adapters/gitlab/index.d.ts +0 -15
- package/dist/adapters/gitlab/index.js +0 -11
- package/dist/adapters/gitlab/package-generator.d.ts +0 -180
- package/dist/adapters/gitlab/package-generator.js +0 -2400
- package/dist/adapters/gitlab/router-generator.d.ts +0 -113
- package/dist/adapters/gitlab/router-generator.js +0 -545
- package/dist/adapters/gitlab/trigger-generator.d.ts +0 -154
- package/dist/adapters/gitlab/trigger-generator.js +0 -279
- package/dist/adapters/gitlab/types.d.ts +0 -120
- package/dist/adapters/gitlab/types.js +0 -5
- package/dist/adapters/gitlab-duo/adapter.d.ts +0 -72
- package/dist/adapters/gitlab-duo/adapter.js +0 -350
- package/dist/adapters/index.d.ts +0 -14
- package/dist/adapters/index.js +0 -73
- package/dist/adapters/kubernetes/config-adapter.d.ts +0 -22
- package/dist/adapters/kubernetes/config-adapter.js +0 -112
- package/dist/adapters/kubernetes/generator.d.ts +0 -117
- package/dist/adapters/kubernetes/generator.js +0 -1386
- package/dist/adapters/kubernetes/index.d.ts +0 -7
- package/dist/adapters/kubernetes/index.js +0 -6
- package/dist/adapters/kubernetes/kagent-crd-generator.d.ts +0 -72
- package/dist/adapters/kubernetes/kagent-crd-generator.js +0 -237
- package/dist/adapters/kubernetes/types.d.ts +0 -62
- package/dist/adapters/kubernetes/types.js +0 -5
- package/dist/adapters/langchain/adapter.d.ts +0 -46
- package/dist/adapters/langchain/adapter.js +0 -289
- package/dist/adapters/langchain/converter.d.ts +0 -21
- package/dist/adapters/langchain/converter.js +0 -153
- package/dist/adapters/langchain/index.d.ts +0 -7
- package/dist/adapters/langchain/index.js +0 -6
- package/dist/adapters/langchain/types.d.ts +0 -27
- package/dist/adapters/langchain/types.js +0 -5
- package/dist/adapters/langchain-adapter.d.ts +0 -45
- package/dist/adapters/langchain-adapter.js +0 -132
- package/dist/adapters/langflow/platform-adapter.d.ts +0 -23
- package/dist/adapters/langflow/platform-adapter.js +0 -103
- package/dist/adapters/langflow-adapter.d.ts +0 -52
- package/dist/adapters/langflow-adapter.js +0 -247
- package/dist/adapters/langfuse.adapter.d.ts +0 -30
- package/dist/adapters/langfuse.adapter.js +0 -65
- package/dist/adapters/langsmith.adapter.d.ts +0 -29
- package/dist/adapters/langsmith.adapter.js +0 -62
- package/dist/adapters/mcp/adapter.d.ts +0 -49
- package/dist/adapters/mcp/adapter.js +0 -336
- package/dist/adapters/mcp/converter.d.ts +0 -32
- package/dist/adapters/mcp/converter.js +0 -343
- package/dist/adapters/mobile-agent/adapter.d.ts +0 -63
- package/dist/adapters/mobile-agent/adapter.js +0 -678
- package/dist/adapters/n8n/converter.d.ts +0 -17
- package/dist/adapters/n8n/converter.js +0 -77
- package/dist/adapters/n8n/index.d.ts +0 -7
- package/dist/adapters/n8n/index.js +0 -6
- package/dist/adapters/n8n/types.d.ts +0 -23
- package/dist/adapters/n8n/types.js +0 -5
- package/dist/adapters/npm/adapter.d.ts +0 -41
- package/dist/adapters/npm/adapter.js +0 -301
- package/dist/adapters/npm/converter.d.ts +0 -41
- package/dist/adapters/npm/converter.js +0 -357
- package/dist/adapters/npm/package-generator.d.ts +0 -93
- package/dist/adapters/npm/package-generator.js +0 -240
- package/dist/adapters/npm/type-aware-dependencies.d.ts +0 -19
- package/dist/adapters/npm/type-aware-dependencies.js +0 -160
- package/dist/adapters/npm/types.d.ts +0 -116
- package/dist/adapters/npm/types.js +0 -6
- package/dist/adapters/openai-agents/adapter.d.ts +0 -31
- package/dist/adapters/openai-agents/adapter.js +0 -346
- package/dist/adapters/openai-agents/config-adapter.d.ts +0 -25
- package/dist/adapters/openai-agents/config-adapter.js +0 -60
- package/dist/adapters/openai-agents/index.d.ts +0 -10
- package/dist/adapters/openai-agents/index.js +0 -10
- package/dist/adapters/openapi-adapter.d.ts +0 -93
- package/dist/adapters/openapi-adapter.js +0 -317
- package/dist/adapters/opentelemetry.adapter.d.ts +0 -142
- package/dist/adapters/opentelemetry.adapter.js +0 -375
- package/dist/adapters/phoenix.adapter.d.ts +0 -28
- package/dist/adapters/phoenix.adapter.js +0 -65
- package/dist/adapters/registry/platform-registry.d.ts +0 -69
- package/dist/adapters/registry/platform-registry.js +0 -94
- package/dist/adapters/semantic-kernel/config-adapter.d.ts +0 -22
- package/dist/adapters/semantic-kernel/config-adapter.js +0 -64
- package/dist/adapters/symfony/index.d.ts +0 -163
- package/dist/adapters/symfony/index.js +0 -272
- package/dist/adapters/symfony/platform-adapter.d.ts +0 -31
- package/dist/adapters/symfony/platform-adapter.js +0 -317
- package/dist/adapters/temporal/converter.d.ts +0 -17
- package/dist/adapters/temporal/converter.js +0 -96
- package/dist/adapters/temporal/index.d.ts +0 -7
- package/dist/adapters/temporal/index.js +0 -6
- package/dist/adapters/temporal/types.d.ts +0 -23
- package/dist/adapters/temporal/types.js +0 -5
- package/dist/adapters/warp/adapter.d.ts +0 -52
- package/dist/adapters/warp/adapter.js +0 -386
- package/dist/adapters/warp/types.d.ts +0 -140
- package/dist/adapters/warp/types.js +0 -6
- package/dist/api/index.d.ts +0 -13
- package/dist/api/index.js +0 -45
- package/dist/api/middleware/cors.d.ts +0 -6
- package/dist/api/middleware/cors.js +0 -17
- package/dist/api/middleware/error-handler.d.ts +0 -6
- package/dist/api/middleware/error-handler.js +0 -32
- package/dist/api/middleware/request-id.d.ts +0 -6
- package/dist/api/middleware/request-id.js +0 -12
- package/dist/api/middleware/validate.d.ts +0 -8
- package/dist/api/middleware/validate.js +0 -38
- package/dist/api/routes/agents-md.router.d.ts +0 -7
- package/dist/api/routes/agents-md.router.js +0 -93
- package/dist/api/routes/convert.router.d.ts +0 -6
- package/dist/api/routes/convert.router.js +0 -42
- package/dist/api/routes/export.router.d.ts +0 -6
- package/dist/api/routes/export.router.js +0 -44
- package/dist/api/routes/health.router.d.ts +0 -6
- package/dist/api/routes/health.router.js +0 -20
- package/dist/api/routes/manifests.router.d.ts +0 -6
- package/dist/api/routes/manifests.router.js +0 -128
- package/dist/api/routes/mcp.router.d.ts +0 -8
- package/dist/api/routes/mcp.router.js +0 -68
- package/dist/api/routes/skills.router.d.ts +0 -6
- package/dist/api/routes/skills.router.js +0 -53
- package/dist/api/routes/validate.router.d.ts +0 -7
- package/dist/api/routes/validate.router.js +0 -46
- package/dist/api/routes/version.router.d.ts +0 -6
- package/dist/api/routes/version.router.js +0 -28
- package/dist/api/routes/wizard.router.d.ts +0 -6
- package/dist/api/routes/wizard.router.js +0 -110
- package/dist/api/routes/workspace.router.d.ts +0 -6
- package/dist/api/routes/workspace.router.js +0 -52
- package/dist/api/server.d.ts +0 -10
- package/dist/api/server.js +0 -21
- package/dist/bot/agent-architecture_validator.d.ts +0 -8
- package/dist/bot/agent-architecture_validator.js +0 -15
- package/dist/bot/agent-ci_pipeline.d.ts +0 -7
- package/dist/bot/agent-ci_pipeline.js +0 -7
- package/dist/bot/agent-compliance.d.ts +0 -56
- package/dist/bot/agent-compliance.js +0 -222
- package/dist/bot/agent-dependency_updater.d.ts +0 -9
- package/dist/bot/agent-dependency_updater.js +0 -9
- package/dist/bot/agent-security_scanner.d.ts +0 -11
- package/dist/bot/agent-security_scanner.js +0 -21
- package/dist/cli/banner.d.ts +0 -25
- package/dist/cli/banner.js +0 -153
- package/dist/cli/commands/agent/discover-type.command.d.ts +0 -39
- package/dist/cli/commands/agent/discover-type.command.js +0 -332
- package/dist/cli/commands/agent-card.command.d.ts +0 -9
- package/dist/cli/commands/agent-card.command.js +0 -185
- package/dist/cli/commands/agent-wizard.command.d.ts +0 -21
- package/dist/cli/commands/agent-wizard.command.js +0 -1558
- package/dist/cli/commands/agents/delete.command.d.ts +0 -10
- package/dist/cli/commands/agents/delete.command.js +0 -105
- package/dist/cli/commands/agents/list.command.d.ts +0 -10
- package/dist/cli/commands/agents/list.command.js +0 -140
- package/dist/cli/commands/agents/persona.command.d.ts +0 -10
- package/dist/cli/commands/agents/persona.command.js +0 -519
- package/dist/cli/commands/agents/show.command.d.ts +0 -10
- package/dist/cli/commands/agents/show.command.js +0 -182
- package/dist/cli/commands/agents-local.command.d.ts +0 -10
- package/dist/cli/commands/agents-local.command.js +0 -281
- package/dist/cli/commands/agents-md/batch.command.d.ts +0 -3
- package/dist/cli/commands/agents-md/batch.command.js +0 -63
- package/dist/cli/commands/agents-md/generate.command.d.ts +0 -3
- package/dist/cli/commands/agents-md/generate.command.js +0 -43
- package/dist/cli/commands/agents-md/list.command.d.ts +0 -3
- package/dist/cli/commands/agents-md/list.command.js +0 -59
- package/dist/cli/commands/agents-md/validate.command.d.ts +0 -3
- package/dist/cli/commands/agents-md/validate.command.js +0 -42
- package/dist/cli/commands/agents-md.command.d.ts +0 -7
- package/dist/cli/commands/agents-md.command.js +0 -236
- package/dist/cli/commands/agents-sync.command.d.ts +0 -19
- package/dist/cli/commands/agents-sync.command.js +0 -278
- package/dist/cli/commands/agents.command.d.ts +0 -11
- package/dist/cli/commands/agents.command.js +0 -216
- package/dist/cli/commands/audit.d.ts +0 -8
- package/dist/cli/commands/audit.js +0 -268
- package/dist/cli/commands/build.command.d.ts +0 -7
- package/dist/cli/commands/build.command.js +0 -296
- package/dist/cli/commands/capability/create.command.d.ts +0 -7
- package/dist/cli/commands/capability/create.command.js +0 -225
- package/dist/cli/commands/capability/index.d.ts +0 -7
- package/dist/cli/commands/capability/index.js +0 -10
- package/dist/cli/commands/capability/validate.d.ts +0 -3
- package/dist/cli/commands/capability/validate.js +0 -62
- package/dist/cli/commands/catalog/config.d.ts +0 -54
- package/dist/cli/commands/catalog/config.js +0 -113
- package/dist/cli/commands/catalog/convert.command.d.ts +0 -8
- package/dist/cli/commands/catalog/convert.command.js +0 -106
- package/dist/cli/commands/catalog/index.d.ts +0 -17
- package/dist/cli/commands/catalog/index.js +0 -34
- package/dist/cli/commands/catalog/info.command.d.ts +0 -3
- package/dist/cli/commands/catalog/info.command.js +0 -137
- package/dist/cli/commands/catalog/list.command.d.ts +0 -8
- package/dist/cli/commands/catalog/list.command.js +0 -101
- package/dist/cli/commands/catalog/schemas.d.ts +0 -62
- package/dist/cli/commands/catalog/schemas.js +0 -55
- package/dist/cli/commands/catalog/search.command.d.ts +0 -3
- package/dist/cli/commands/catalog/search.command.js +0 -47
- package/dist/cli/commands/catalog/validate.command.d.ts +0 -8
- package/dist/cli/commands/catalog/validate.command.js +0 -140
- package/dist/cli/commands/compliance.command.d.ts +0 -19
- package/dist/cli/commands/compliance.command.js +0 -221
- package/dist/cli/commands/config.command.d.ts +0 -7
- package/dist/cli/commands/config.command.js +0 -92
- package/dist/cli/commands/conformance.command.d.ts +0 -14
- package/dist/cli/commands/conformance.command.js +0 -232
- package/dist/cli/commands/contract.command.d.ts +0 -15
- package/dist/cli/commands/contract.command.js +0 -381
- package/dist/cli/commands/daemon.command.d.ts +0 -9
- package/dist/cli/commands/daemon.command.js +0 -447
- package/dist/cli/commands/dependencies.command.d.ts +0 -15
- package/dist/cli/commands/dependencies.command.js +0 -274
- package/dist/cli/commands/deploy-enhanced.command.d.ts +0 -15
- package/dist/cli/commands/deploy-enhanced.command.js +0 -334
- package/dist/cli/commands/deploy.command.d.ts +0 -7
- package/dist/cli/commands/deploy.command.js +0 -83
- package/dist/cli/commands/deploy.d.ts +0 -22
- package/dist/cli/commands/deploy.js +0 -336
- package/dist/cli/commands/dev.command.d.ts +0 -20
- package/dist/cli/commands/dev.command.js +0 -78
- package/dist/cli/commands/diff.command.d.ts +0 -11
- package/dist/cli/commands/diff.command.js +0 -197
- package/dist/cli/commands/discover.d.ts +0 -15
- package/dist/cli/commands/discover.js +0 -219
- package/dist/cli/commands/docs.command.d.ts +0 -7
- package/dist/cli/commands/docs.command.js +0 -278
- package/dist/cli/commands/economics.command.d.ts +0 -9
- package/dist/cli/commands/economics.command.js +0 -113
- package/dist/cli/commands/enhance.command.d.ts +0 -10
- package/dist/cli/commands/enhance.command.js +0 -119
- package/dist/cli/commands/ensure-uuid.command.d.ts +0 -7
- package/dist/cli/commands/ensure-uuid.command.js +0 -153
- package/dist/cli/commands/estimate.command.d.ts +0 -12
- package/dist/cli/commands/estimate.command.js +0 -226
- package/dist/cli/commands/examples.command.d.ts +0 -10
- package/dist/cli/commands/examples.command.js +0 -73
- package/dist/cli/commands/export-enhanced.command.d.ts +0 -7
- package/dist/cli/commands/export-enhanced.command.js +0 -149
- package/dist/cli/commands/export.command.d.ts +0 -15
- package/dist/cli/commands/export.command.js +0 -1031
- package/dist/cli/commands/extension-team.command.d.ts +0 -15
- package/dist/cli/commands/extension-team.command.js +0 -126
- package/dist/cli/commands/framework.command.d.ts +0 -9
- package/dist/cli/commands/framework.command.js +0 -194
- package/dist/cli/commands/generate/conformance.d.ts +0 -3
- package/dist/cli/commands/generate/conformance.js +0 -106
- package/dist/cli/commands/generate-gaid.command.d.ts +0 -14
- package/dist/cli/commands/generate-gaid.command.js +0 -141
- package/dist/cli/commands/generate.command.d.ts +0 -18
- package/dist/cli/commands/generate.command.js +0 -247
- package/dist/cli/commands/github-sync.command.d.ts +0 -3
- package/dist/cli/commands/github-sync.command.js +0 -51
- package/dist/cli/commands/gitlab-agent.command.d.ts +0 -8
- package/dist/cli/commands/gitlab-agent.command.js +0 -201
- package/dist/cli/commands/governance.command.d.ts +0 -11
- package/dist/cli/commands/governance.command.js +0 -166
- package/dist/cli/commands/identity/plan.d.ts +0 -3
- package/dist/cli/commands/identity/plan.js +0 -182
- package/dist/cli/commands/import.command.d.ts +0 -7
- package/dist/cli/commands/import.command.js +0 -71
- package/dist/cli/commands/info.command.d.ts +0 -3
- package/dist/cli/commands/info.command.js +0 -45
- package/dist/cli/commands/init.command.d.ts +0 -7
- package/dist/cli/commands/init.command.js +0 -165
- package/dist/cli/commands/install.command.d.ts +0 -3
- package/dist/cli/commands/install.command.js +0 -43
- package/dist/cli/commands/knowledge-index.command.d.ts +0 -11
- package/dist/cli/commands/knowledge-index.command.js +0 -111
- package/dist/cli/commands/knowledge-query.command.d.ts +0 -11
- package/dist/cli/commands/knowledge-query.command.js +0 -118
- package/dist/cli/commands/knowledge.command.d.ts +0 -11
- package/dist/cli/commands/knowledge.command.js +0 -16
- package/dist/cli/commands/langchain.command.d.ts +0 -9
- package/dist/cli/commands/langchain.command.js +0 -113
- package/dist/cli/commands/langflow.command.d.ts +0 -9
- package/dist/cli/commands/langflow.command.js +0 -111
- package/dist/cli/commands/lifecycle.command.d.ts +0 -29
- package/dist/cli/commands/lifecycle.command.js +0 -495
- package/dist/cli/commands/lint.command.d.ts +0 -12
- package/dist/cli/commands/lint.command.js +0 -377
- package/dist/cli/commands/llms-txt.command.d.ts +0 -7
- package/dist/cli/commands/llms-txt.command.js +0 -118
- package/dist/cli/commands/manifest/diff.command.d.ts +0 -7
- package/dist/cli/commands/manifest/diff.command.js +0 -186
- package/dist/cli/commands/manifest/explain.command.d.ts +0 -7
- package/dist/cli/commands/manifest/explain.command.js +0 -193
- package/dist/cli/commands/manifest/index.d.ts +0 -7
- package/dist/cli/commands/manifest/index.js +0 -12
- package/dist/cli/commands/mcp.command.d.ts +0 -9
- package/dist/cli/commands/mcp.command.js +0 -112
- package/dist/cli/commands/memory.command.d.ts +0 -18
- package/dist/cli/commands/memory.command.js +0 -168
- package/dist/cli/commands/migrate-batch.command.d.ts +0 -19
- package/dist/cli/commands/migrate-batch.command.js +0 -223
- package/dist/cli/commands/migrate-langchain.command.d.ts +0 -23
- package/dist/cli/commands/migrate-langchain.command.js +0 -167
- package/dist/cli/commands/migrate.command.d.ts +0 -10
- package/dist/cli/commands/migrate.command.js +0 -103
- package/dist/cli/commands/platforms.command.d.ts +0 -7
- package/dist/cli/commands/platforms.command.js +0 -90
- package/dist/cli/commands/policy.command.d.ts +0 -11
- package/dist/cli/commands/policy.command.js +0 -85
- package/dist/cli/commands/publish.command.d.ts +0 -3
- package/dist/cli/commands/publish.command.js +0 -118
- package/dist/cli/commands/quickstart.command.d.ts +0 -10
- package/dist/cli/commands/quickstart.command.js +0 -238
- package/dist/cli/commands/register.d.ts +0 -12
- package/dist/cli/commands/register.js +0 -200
- package/dist/cli/commands/registry.command.d.ts +0 -18
- package/dist/cli/commands/registry.command.js +0 -433
- package/dist/cli/commands/release.command.d.ts +0 -10
- package/dist/cli/commands/release.command.js +0 -73
- package/dist/cli/commands/rollback.command.d.ts +0 -13
- package/dist/cli/commands/rollback.command.js +0 -169
- package/dist/cli/commands/run.command.d.ts +0 -7
- package/dist/cli/commands/run.command.js +0 -141
- package/dist/cli/commands/scaffold.command.d.ts +0 -19
- package/dist/cli/commands/scaffold.command.js +0 -240
- package/dist/cli/commands/schema.command.d.ts +0 -11
- package/dist/cli/commands/schema.command.js +0 -82
- package/dist/cli/commands/search.command.d.ts +0 -3
- package/dist/cli/commands/search.command.js +0 -74
- package/dist/cli/commands/serve-builder-routes.d.ts +0 -17
- package/dist/cli/commands/serve-builder-routes.js +0 -390
- package/dist/cli/commands/serve.command.d.ts +0 -7
- package/dist/cli/commands/serve.command.js +0 -237
- package/dist/cli/commands/sign.command.d.ts +0 -3
- package/dist/cli/commands/sign.command.js +0 -42
- package/dist/cli/commands/skills.command.d.ts +0 -10
- package/dist/cli/commands/skills.command.js +0 -649
- package/dist/cli/commands/standardize.command.d.ts +0 -19
- package/dist/cli/commands/standardize.command.js +0 -290
- package/dist/cli/commands/sync.command.d.ts +0 -3
- package/dist/cli/commands/sync.command.js +0 -51
- package/dist/cli/commands/taxonomy.command.d.ts +0 -10
- package/dist/cli/commands/taxonomy.command.js +0 -379
- package/dist/cli/commands/template.command.d.ts +0 -7
- package/dist/cli/commands/template.command.js +0 -159
- package/dist/cli/commands/test.command.d.ts +0 -12
- package/dist/cli/commands/test.command.js +0 -233
- package/dist/cli/commands/tool/create.command.d.ts +0 -12
- package/dist/cli/commands/tool/create.command.js +0 -276
- package/dist/cli/commands/tool/index.d.ts +0 -7
- package/dist/cli/commands/tool/index.js +0 -14
- package/dist/cli/commands/tool/list.command.d.ts +0 -7
- package/dist/cli/commands/tool/list.command.js +0 -268
- package/dist/cli/commands/tool/validate.command.d.ts +0 -7
- package/dist/cli/commands/tool/validate.command.js +0 -103
- package/dist/cli/commands/types/wizard-config.types.d.ts +0 -59
- package/dist/cli/commands/types/wizard-config.types.js +0 -34
- package/dist/cli/commands/update.command.d.ts +0 -3
- package/dist/cli/commands/update.command.js +0 -43
- package/dist/cli/commands/upgrade.command.d.ts +0 -9
- package/dist/cli/commands/upgrade.command.js +0 -179
- package/dist/cli/commands/usie-skills.command.d.ts +0 -24
- package/dist/cli/commands/usie-skills.command.js +0 -297
- package/dist/cli/commands/validate.command.d.ts +0 -11
- package/dist/cli/commands/validate.command.js +0 -396
- package/dist/cli/commands/verify.d.ts +0 -15
- package/dist/cli/commands/verify.js +0 -307
- package/dist/cli/commands/wizard-api-first.command.d.ts +0 -18
- package/dist/cli/commands/wizard-api-first.command.js +0 -1073
- package/dist/cli/commands/wizard-interactive.command.d.ts +0 -25
- package/dist/cli/commands/wizard-interactive.command.js +0 -3467
- package/dist/cli/commands/wizard.command.d.ts +0 -12
- package/dist/cli/commands/wizard.command.js +0 -844
- package/dist/cli/commands/workspace.command.d.ts +0 -16
- package/dist/cli/commands/workspace.command.js +0 -653
- package/dist/cli/extensions/gitlab-release.commands.d.ts +0 -19
- package/dist/cli/extensions/gitlab-release.commands.js +0 -345
- package/dist/cli/extensions/gitlab.extension.d.ts +0 -24
- package/dist/cli/extensions/gitlab.extension.js +0 -65
- package/dist/cli/extensions/index.d.ts +0 -63
- package/dist/cli/extensions/index.js +0 -182
- package/dist/cli/index.d.ts +0 -17
- package/dist/cli/index.js +0 -362
- package/dist/cli/schema-driven/index.d.ts +0 -27
- package/dist/cli/schema-driven/index.js +0 -34
- package/dist/cli/schema-driven/schema-loader.d.ts +0 -115
- package/dist/cli/schema-driven/schema-loader.js +0 -280
- package/dist/cli/schema-driven/ui-generator.d.ts +0 -88
- package/dist/cli/schema-driven/ui-generator.js +0 -335
- package/dist/cli/skills-wizard/skill-wizard.d.ts +0 -25
- package/dist/cli/skills-wizard/skill-wizard.js +0 -195
- package/dist/cli/templates/agent-templates.d.ts +0 -49
- package/dist/cli/templates/agent-templates.js +0 -237
- package/dist/cli/templates/enhanced-templates.d.ts +0 -32
- package/dist/cli/templates/enhanced-templates.js +0 -650
- package/dist/cli/utils/error-formatter.d.ts +0 -19
- package/dist/cli/utils/error-formatter.js +0 -352
- package/dist/cli/utils/gitlab-config.d.ts +0 -94
- package/dist/cli/utils/gitlab-config.js +0 -182
- package/dist/cli/utils/index.d.ts +0 -12
- package/dist/cli/utils/index.js +0 -17
- package/dist/cli/utils/logo.d.ts +0 -10
- package/dist/cli/utils/logo.js +0 -49
- package/dist/cli/utils/manifest-discovery.d.ts +0 -63
- package/dist/cli/utils/manifest-discovery.js +0 -201
- package/dist/cli/utils/manifest-loader.d.ts +0 -77
- package/dist/cli/utils/manifest-loader.js +0 -153
- package/dist/cli/utils/migration-reporter.d.ts +0 -96
- package/dist/cli/utils/migration-reporter.js +0 -253
- package/dist/cli/utils/output.d.ts +0 -134
- package/dist/cli/utils/output.js +0 -203
- package/dist/cli/utils/standard-options.d.ts +0 -144
- package/dist/cli/utils/standard-options.js +0 -246
- package/dist/cli/utils/validation-builder.d.ts +0 -121
- package/dist/cli/utils/validation-builder.js +0 -322
- package/dist/cli/wizard/data/agent-types.d.ts +0 -7
- package/dist/cli/wizard/data/agent-types.js +0 -192
- package/dist/cli/wizard/data/llm-providers.d.ts +0 -10
- package/dist/cli/wizard/data/llm-providers.js +0 -176
- package/dist/cli/wizard/data/taxonomy.d.ts +0 -39
- package/dist/cli/wizard/data/taxonomy.js +0 -138
- package/dist/cli/wizard/data/templates.d.ts +0 -10
- package/dist/cli/wizard/data/templates.js +0 -228
- package/dist/cli/wizard/engine/wizard-engine.d.ts +0 -47
- package/dist/cli/wizard/engine/wizard-engine.js +0 -193
- package/dist/cli/wizard/interactive-wizard.d.ts +0 -26
- package/dist/cli/wizard/interactive-wizard.js +0 -309
- package/dist/cli/wizard/steps/01-agent-type.d.ts +0 -7
- package/dist/cli/wizard/steps/01-agent-type.js +0 -35
- package/dist/cli/wizard/steps/02-basic-info.d.ts +0 -7
- package/dist/cli/wizard/steps/02-basic-info.js +0 -81
- package/dist/cli/wizard/steps/03-domain-capability.d.ts +0 -7
- package/dist/cli/wizard/steps/03-domain-capability.js +0 -98
- package/dist/cli/wizard/steps/04-llm-config.d.ts +0 -7
- package/dist/cli/wizard/steps/04-llm-config.js +0 -86
- package/dist/cli/wizard/steps/04a-persona.d.ts +0 -16
- package/dist/cli/wizard/steps/04a-persona.js +0 -297
- package/dist/cli/wizard/steps/05-tools.d.ts +0 -7
- package/dist/cli/wizard/steps/05-tools.js +0 -200
- package/dist/cli/wizard/steps/06-autonomy.d.ts +0 -7
- package/dist/cli/wizard/steps/06-autonomy.js +0 -87
- package/dist/cli/wizard/steps/07-observability.d.ts +0 -7
- package/dist/cli/wizard/steps/07-observability.js +0 -149
- package/dist/cli/wizard/steps/08-deployment.d.ts +0 -7
- package/dist/cli/wizard/steps/08-deployment.js +0 -122
- package/dist/cli/wizard/steps/08a-target-platforms.d.ts +0 -7
- package/dist/cli/wizard/steps/08a-target-platforms.js +0 -50
- package/dist/cli/wizard/steps/09-advanced.d.ts +0 -7
- package/dist/cli/wizard/steps/09-advanced.js +0 -160
- package/dist/cli/wizard/steps/09a-token-efficiency.d.ts +0 -8
- package/dist/cli/wizard/steps/09a-token-efficiency.js +0 -153
- package/dist/cli/wizard/steps/09b-separation-of-duties.d.ts +0 -7
- package/dist/cli/wizard/steps/09b-separation-of-duties.js +0 -93
- package/dist/cli/wizard/steps/09c-agents-md.d.ts +0 -8
- package/dist/cli/wizard/steps/09c-agents-md.js +0 -61
- package/dist/cli/wizard/steps/09d-drupal-tools-eca.d.ts +0 -8
- package/dist/cli/wizard/steps/09d-drupal-tools-eca.js +0 -52
- package/dist/cli/wizard/steps/09e-memory-management.d.ts +0 -9
- package/dist/cli/wizard/steps/09e-memory-management.js +0 -188
- package/dist/cli/wizard/steps/10-review.d.ts +0 -7
- package/dist/cli/wizard/steps/10-review.js +0 -173
- package/dist/cli/wizard/steps/12-agents-folder.d.ts +0 -7
- package/dist/cli/wizard/steps/12-agents-folder.js +0 -105
- package/dist/cli/wizard/steps/13-openapi-generation.d.ts +0 -7
- package/dist/cli/wizard/steps/13-openapi-generation.js +0 -68
- package/dist/cli/wizard/steps/14-workspace-registration.d.ts +0 -7
- package/dist/cli/wizard/steps/14-workspace-registration.js +0 -72
- package/dist/cli/wizard/steps/15-cost-estimation.d.ts +0 -7
- package/dist/cli/wizard/steps/15-cost-estimation.js +0 -135
- package/dist/cli/wizard/steps/16-best-practices.d.ts +0 -7
- package/dist/cli/wizard/steps/16-best-practices.js +0 -181
- package/dist/cli/wizard/steps/index.d.ts +0 -21
- package/dist/cli/wizard/steps/index.js +0 -21
- package/dist/cli/wizard/template-catalog.d.ts +0 -32
- package/dist/cli/wizard/template-catalog.js +0 -99
- package/dist/cli/wizard/types.d.ts +0 -132
- package/dist/cli/wizard/types.js +0 -6
- package/dist/cli/wizard/ui/banner.d.ts +0 -20
- package/dist/cli/wizard/ui/banner.js +0 -66
- package/dist/cli/wizard/ui/console.d.ts +0 -26
- package/dist/cli/wizard/ui/console.js +0 -102
- package/dist/cli/wizard/ui/wizard-ui.d.ts +0 -75
- package/dist/cli/wizard/ui/wizard-ui.js +0 -150
- package/dist/cli/wizard/use-cases.d.ts +0 -37
- package/dist/cli/wizard/use-cases.js +0 -157
- package/dist/cli/wizard/validators/index.d.ts +0 -11
- package/dist/cli/wizard/validators/index.js +0 -35
- package/dist/cli/workspace-validate.d.ts +0 -23
- package/dist/cli/workspace-validate.js +0 -117
- package/dist/confidence/index.d.ts +0 -67
- package/dist/confidence/index.js +0 -130
- package/dist/config/cli-config.d.ts +0 -33
- package/dist/config/cli-config.js +0 -107
- package/dist/config/defaults.d.ts +0 -197
- package/dist/config/defaults.js +0 -299
- package/dist/converters/skill-md-converter.d.ts +0 -72
- package/dist/converters/skill-md-converter.js +0 -169
- package/dist/data/marketplace-skills-catalog.d.ts +0 -119
- package/dist/data/marketplace-skills-catalog.js +0 -147
- package/dist/data/platform-matrix.d.ts +0 -43
- package/dist/data/platform-matrix.js +0 -497
- package/dist/deploy/base-driver.d.ts +0 -39
- package/dist/deploy/base-driver.js +0 -63
- package/dist/deploy/cloud/aws-driver.d.ts +0 -75
- package/dist/deploy/cloud/aws-driver.js +0 -349
- package/dist/deploy/cloud/azure-driver.d.ts +0 -54
- package/dist/deploy/cloud/azure-driver.js +0 -221
- package/dist/deploy/cloud/gcp-driver.d.ts +0 -56
- package/dist/deploy/cloud/gcp-driver.js +0 -216
- package/dist/deploy/docker-driver.d.ts +0 -32
- package/dist/deploy/docker-driver.js +0 -246
- package/dist/deploy/index.d.ts +0 -15
- package/dist/deploy/index.js +0 -28
- package/dist/deploy/k8s-driver.d.ts +0 -40
- package/dist/deploy/k8s-driver.js +0 -380
- package/dist/deploy/local-driver.d.ts +0 -20
- package/dist/deploy/local-driver.js +0 -150
- package/dist/deploy/types.d.ts +0 -104
- package/dist/deploy/types.js +0 -6
- package/dist/di-container.d.ts +0 -23
- package/dist/di-container.js +0 -200
- package/dist/errors/index.d.ts +0 -154
- package/dist/errors/index.js +0 -327
- package/dist/generated/types.d.ts +0 -691
- package/dist/generated/types.js +0 -6
- package/dist/index.d.ts +0 -12
- package/dist/index.js +0 -14
- package/dist/interfaces/governance-provider.interface.d.ts +0 -95
- package/dist/interfaces/governance-provider.interface.js +0 -17
- package/dist/mcp-server/index.d.ts +0 -21
- package/dist/mcp-server/index.js +0 -1866
- package/dist/mesh/advanced-routing.d.ts +0 -181
- package/dist/mesh/advanced-routing.js +0 -479
- package/dist/mesh/agent-graph.d.ts +0 -218
- package/dist/mesh/agent-graph.js +0 -493
- package/dist/mesh/client.d.ts +0 -144
- package/dist/mesh/client.js +0 -427
- package/dist/mesh/discovery-gkg.d.ts +0 -26
- package/dist/mesh/discovery-gkg.js +0 -92
- package/dist/mesh/discovery-providers.d.ts +0 -162
- package/dist/mesh/discovery-providers.js +0 -520
- package/dist/mesh/discovery.d.ts +0 -176
- package/dist/mesh/discovery.js +0 -289
- package/dist/mesh/index.d.ts +0 -92
- package/dist/mesh/index.js +0 -98
- package/dist/mesh/routing.d.ts +0 -158
- package/dist/mesh/routing.js +0 -363
- package/dist/mesh/types.d.ts +0 -889
- package/dist/mesh/types.js +0 -6
- package/dist/messaging/broker.d.ts +0 -76
- package/dist/messaging/broker.js +0 -147
- package/dist/messaging/channels.d.ts +0 -70
- package/dist/messaging/channels.js +0 -187
- package/dist/messaging/index.d.ts +0 -10
- package/dist/messaging/index.js +0 -10
- package/dist/messaging/protocols/memory.d.ts +0 -83
- package/dist/messaging/protocols/memory.js +0 -290
- package/dist/messaging/protocols/redis.d.ts +0 -83
- package/dist/messaging/protocols/redis.js +0 -223
- package/dist/messaging/types.d.ts +0 -180
- package/dist/messaging/types.js +0 -6
- package/dist/messenger/Commands/MessengerConsumeCommand.d.ts +0 -57
- package/dist/messenger/Commands/MessengerConsumeCommand.js +0 -49
- package/dist/messenger/Commands/MessengerFailedCommand.d.ts +0 -76
- package/dist/messenger/Commands/MessengerFailedCommand.js +0 -120
- package/dist/messenger/Commands/MessengerStatsCommand.d.ts +0 -61
- package/dist/messenger/Commands/MessengerStatsCommand.js +0 -80
- package/dist/messenger/Commands/index.d.ts +0 -10
- package/dist/messenger/Commands/index.js +0 -10
- package/dist/messenger/EventSubscriber/FailedMessageSubscriber.d.ts +0 -44
- package/dist/messenger/EventSubscriber/FailedMessageSubscriber.js +0 -64
- package/dist/messenger/Handler/AgentBatchHandler.d.ts +0 -80
- package/dist/messenger/Handler/AgentBatchHandler.js +0 -212
- package/dist/messenger/Handler/AgentExecutionHandler.d.ts +0 -76
- package/dist/messenger/Handler/AgentExecutionHandler.js +0 -136
- package/dist/messenger/Handler/index.d.ts +0 -9
- package/dist/messenger/Handler/index.js +0 -9
- package/dist/messenger/Message/AgentBatchMessage.d.ts +0 -115
- package/dist/messenger/Message/AgentBatchMessage.js +0 -102
- package/dist/messenger/Message/AgentExecutionMessage.d.ts +0 -98
- package/dist/messenger/Message/AgentExecutionMessage.js +0 -77
- package/dist/messenger/Message/index.d.ts +0 -9
- package/dist/messenger/Message/index.js +0 -9
- package/dist/messenger/Middleware/AuthenticationMiddleware.d.ts +0 -41
- package/dist/messenger/Middleware/AuthenticationMiddleware.js +0 -84
- package/dist/messenger/Middleware/LoggingMiddleware.d.ts +0 -30
- package/dist/messenger/Middleware/LoggingMiddleware.js +0 -59
- package/dist/messenger/Middleware/RateLimitMiddleware.d.ts +0 -67
- package/dist/messenger/Middleware/RateLimitMiddleware.js +0 -90
- package/dist/messenger/Middleware/ValidationMiddleware.d.ts +0 -39
- package/dist/messenger/Middleware/ValidationMiddleware.js +0 -96
- package/dist/messenger/Middleware/index.d.ts +0 -11
- package/dist/messenger/Middleware/index.js +0 -11
- package/dist/messenger/Monitoring/MetricsCollector.d.ts +0 -107
- package/dist/messenger/Monitoring/MetricsCollector.js +0 -80
- package/dist/messenger/Monitoring/QueueMonitor.d.ts +0 -74
- package/dist/messenger/Monitoring/QueueMonitor.js +0 -160
- package/dist/messenger/Monitoring/index.d.ts +0 -9
- package/dist/messenger/Monitoring/index.js +0 -9
- package/dist/messenger/index.d.ts +0 -38
- package/dist/messenger/index.js +0 -44
- package/dist/observability/index.d.ts +0 -13
- package/dist/observability/index.js +0 -14
- package/dist/observability/metrics.d.ts +0 -131
- package/dist/observability/metrics.js +0 -308
- package/dist/observability/middleware.d.ts +0 -64
- package/dist/observability/middleware.js +0 -225
- package/dist/package.json +0 -386
- package/dist/repositories/manifest.repository.d.ts +0 -26
- package/dist/repositories/manifest.repository.js +0 -96
- package/dist/repositories/schema.repository.d.ts +0 -54
- package/dist/repositories/schema.repository.js +0 -281
- package/dist/runtime/agent-runner.d.ts +0 -46
- package/dist/runtime/agent-runner.js +0 -346
- package/dist/runtime/crewai.runtime.d.ts +0 -30
- package/dist/runtime/crewai.runtime.js +0 -110
- package/dist/runtime/langchain.runtime.d.ts +0 -32
- package/dist/runtime/langchain.runtime.js +0 -75
- package/dist/runtime/langflow.runtime.d.ts +0 -65
- package/dist/runtime/langflow.runtime.js +0 -143
- package/dist/sdk.d.ts +0 -49
- package/dist/sdk.js +0 -66
- package/dist/sdks/index.d.ts +0 -15
- package/dist/sdks/index.js +0 -17
- package/dist/sdks/kagent/crd-generator.d.ts +0 -106
- package/dist/sdks/kagent/crd-generator.js +0 -1114
- package/dist/sdks/kagent/crd-parser.d.ts +0 -13
- package/dist/sdks/kagent/crd-parser.js +0 -92
- package/dist/sdks/kagent/index.d.ts +0 -10
- package/dist/sdks/kagent/index.js +0 -9
- package/dist/sdks/kagent/k8s-resources-generator.d.ts +0 -73
- package/dist/sdks/kagent/k8s-resources-generator.js +0 -286
- package/dist/sdks/kagent/kubectl-apply.d.ts +0 -35
- package/dist/sdks/kagent/kubectl-apply.js +0 -127
- package/dist/sdks/kagent/runtime-adapter.d.ts +0 -45
- package/dist/sdks/kagent/runtime-adapter.js +0 -129
- package/dist/sdks/kagent/tool-registry.d.ts +0 -25
- package/dist/sdks/kagent/tool-registry.js +0 -148
- package/dist/sdks/kagent/types.d.ts +0 -327
- package/dist/sdks/kagent/types.js +0 -10
- package/dist/sdks/kagent/validator.d.ts +0 -17
- package/dist/sdks/kagent/validator.js +0 -73
- package/dist/sdks/shared/index.d.ts +0 -24
- package/dist/sdks/shared/index.js +0 -28
- package/dist/sdks/shared/manifest-loader.d.ts +0 -41
- package/dist/sdks/shared/manifest-loader.js +0 -45
- package/dist/sdks/shared/schema-validator.d.ts +0 -34
- package/dist/sdks/shared/schema-validator.js +0 -103
- package/dist/sdks/shared/types.d.ts +0 -43
- package/dist/sdks/shared/types.js +0 -27
- package/dist/sdks/shared/validation.d.ts +0 -52
- package/dist/sdks/shared/validation.js +0 -41
- package/dist/services/agent-card-generator.d.ts +0 -77
- package/dist/services/agent-card-generator.js +0 -752
- package/dist/services/agent-services/qdrant.service.d.ts +0 -60
- package/dist/services/agent-services/qdrant.service.js +0 -168
- package/dist/services/agent-type-detector.service.d.ts +0 -72
- package/dist/services/agent-type-detector.service.js +0 -197
- package/dist/services/agents-md/agents-md-api.service.d.ts +0 -92
- package/dist/services/agents-md/agents-md-api.service.js +0 -162
- package/dist/services/agents-md/agents-md-discovery.service.d.ts +0 -50
- package/dist/services/agents-md/agents-md-discovery.service.js +0 -190
- package/dist/services/agents-md/agents-md-generator.service.d.ts +0 -29
- package/dist/services/agents-md/agents-md-generator.service.js +0 -252
- package/dist/services/agents-md/agents-md.service.d.ts +0 -65
- package/dist/services/agents-md/agents-md.service.js +0 -379
- package/dist/services/agents-md/repo-agents-md.service.d.ts +0 -87
- package/dist/services/agents-md/repo-agents-md.service.js +0 -202
- package/dist/services/ai-architect.service.d.ts +0 -48
- package/dist/services/ai-architect.service.js +0 -273
- package/dist/services/audit.d.ts +0 -86
- package/dist/services/audit.js +0 -279
- package/dist/services/codegen/codegen.service.d.ts +0 -77
- package/dist/services/codegen/codegen.service.js +0 -142
- package/dist/services/codegen/generators/manifest.generator.d.ts +0 -41
- package/dist/services/codegen/generators/manifest.generator.js +0 -178
- package/dist/services/codegen/generators/openapi-zod.generator.d.ts +0 -79
- package/dist/services/codegen/generators/openapi-zod.generator.js +0 -482
- package/dist/services/codegen/generators/openapi.generator.d.ts +0 -46
- package/dist/services/codegen/generators/openapi.generator.js +0 -157
- package/dist/services/codegen/generators/types.generator.d.ts +0 -27
- package/dist/services/codegen/generators/types.generator.js +0 -97
- package/dist/services/codegen/generators/vscode.generator.d.ts +0 -43
- package/dist/services/codegen/generators/vscode.generator.js +0 -163
- package/dist/services/codegen/generators/zod.generator.d.ts +0 -31
- package/dist/services/codegen/generators/zod.generator.js +0 -135
- package/dist/services/codegen/index.d.ts +0 -35
- package/dist/services/codegen/index.js +0 -38
- package/dist/services/conformance/conformance.service.d.ts +0 -75
- package/dist/services/conformance/conformance.service.js +0 -194
- package/dist/services/conformance/feature-detector.service.d.ts +0 -66
- package/dist/services/conformance/feature-detector.service.js +0 -161
- package/dist/services/conformance/index.d.ts +0 -10
- package/dist/services/conformance/index.js +0 -9
- package/dist/services/conformance/profile-loader.service.d.ts +0 -51
- package/dist/services/conformance/profile-loader.service.js +0 -192
- package/dist/services/conformance/score-calculator.service.d.ts +0 -50
- package/dist/services/conformance/score-calculator.service.js +0 -222
- package/dist/services/conformance/types.d.ts +0 -107
- package/dist/services/conformance/types.js +0 -6
- package/dist/services/convert/convert.service.d.ts +0 -26
- package/dist/services/convert/convert.service.js +0 -72
- package/dist/services/cost-estimation/optimization-patterns.d.ts +0 -23
- package/dist/services/cost-estimation/optimization-patterns.js +0 -147
- package/dist/services/cost-estimation/pricing.d.ts +0 -29
- package/dist/services/cost-estimation/pricing.js +0 -225
- package/dist/services/cost-estimation/scenario-estimator.d.ts +0 -59
- package/dist/services/cost-estimation/scenario-estimator.js +0 -145
- package/dist/services/cost-estimation/token-counter.service.d.ts +0 -51
- package/dist/services/cost-estimation/token-counter.service.js +0 -125
- package/dist/services/daemon/audit-log.service.d.ts +0 -37
- package/dist/services/daemon/audit-log.service.js +0 -81
- package/dist/services/daemon/execution.service.d.ts +0 -103
- package/dist/services/daemon/execution.service.js +0 -333
- package/dist/services/daemon/fs-watcher.service.d.ts +0 -55
- package/dist/services/daemon/fs-watcher.service.js +0 -182
- package/dist/services/daemon/pairing.service.d.ts +0 -61
- package/dist/services/daemon/pairing.service.js +0 -163
- package/dist/services/daemon/skill-aggregator.service.d.ts +0 -61
- package/dist/services/daemon/skill-aggregator.service.js +0 -336
- package/dist/services/daemon/sse-endpoints.d.ts +0 -68
- package/dist/services/daemon/sse-endpoints.js +0 -176
- package/dist/services/daemon/ws-server.d.ts +0 -66
- package/dist/services/daemon/ws-server.js +0 -258
- package/dist/services/deployment/deployment.service.d.ts +0 -19
- package/dist/services/deployment/deployment.service.js +0 -87
- package/dist/services/dev-server/dev-server.service.d.ts +0 -121
- package/dist/services/dev-server/dev-server.service.js +0 -290
- package/dist/services/dev-server/file-watcher.d.ts +0 -101
- package/dist/services/dev-server/file-watcher.js +0 -190
- package/dist/services/dev-server/live-validator.d.ts +0 -157
- package/dist/services/dev-server/live-validator.js +0 -301
- package/dist/services/dev-server/websocket-server.d.ts +0 -137
- package/dist/services/dev-server/websocket-server.js +0 -230
- package/dist/services/evals/evals-generator.service.d.ts +0 -90
- package/dist/services/evals/evals-generator.service.js +0 -1602
- package/dist/services/export/anthropic/anthropic-exporter.d.ts +0 -71
- package/dist/services/export/anthropic/anthropic-exporter.js +0 -590
- package/dist/services/export/anthropic/api-generator.d.ts +0 -39
- package/dist/services/export/anthropic/api-generator.js +0 -395
- package/dist/services/export/anthropic/index.d.ts +0 -18
- package/dist/services/export/anthropic/index.js +0 -16
- package/dist/services/export/anthropic/tools-generator.d.ts +0 -35
- package/dist/services/export/anthropic/tools-generator.js +0 -259
- package/dist/services/export/export-orchestrator.d.ts +0 -90
- package/dist/services/export/export-orchestrator.js +0 -181
- package/dist/services/export/export.service.d.ts +0 -30
- package/dist/services/export/export.service.js +0 -52
- package/dist/services/export/langchain/api-generator.d.ts +0 -17
- package/dist/services/export/langchain/api-generator.js +0 -375
- package/dist/services/export/langchain/callbacks-generator.d.ts +0 -63
- package/dist/services/export/langchain/callbacks-generator.js +0 -416
- package/dist/services/export/langchain/error-handling-generator.d.ts +0 -76
- package/dist/services/export/langchain/error-handling-generator.js +0 -526
- package/dist/services/export/langchain/index.d.ts +0 -17
- package/dist/services/export/langchain/index.js +0 -13
- package/dist/services/export/langchain/langchain-exporter.d.ts +0 -174
- package/dist/services/export/langchain/langchain-exporter.js +0 -961
- package/dist/services/export/langchain/langgraph-generator.d.ts +0 -86
- package/dist/services/export/langchain/langgraph-generator.js +0 -485
- package/dist/services/export/langchain/langserve-generator.d.ts +0 -95
- package/dist/services/export/langchain/langserve-generator.js +0 -813
- package/dist/services/export/langchain/memory-generator.d.ts +0 -71
- package/dist/services/export/langchain/memory-generator.js +0 -1182
- package/dist/services/export/langchain/openapi-generator.d.ts +0 -20
- package/dist/services/export/langchain/openapi-generator.js +0 -364
- package/dist/services/export/langchain/plan-execute-generator.d.ts +0 -60
- package/dist/services/export/langchain/plan-execute-generator.js +0 -679
- package/dist/services/export/langchain/streaming-generator.d.ts +0 -66
- package/dist/services/export/langchain/streaming-generator.js +0 -755
- package/dist/services/export/langchain/tools-generator.d.ts +0 -67
- package/dist/services/export/langchain/tools-generator.js +0 -543
- package/dist/services/export/npm/express-generator.d.ts +0 -23
- package/dist/services/export/npm/express-generator.js +0 -296
- package/dist/services/export/npm/index.d.ts +0 -13
- package/dist/services/export/npm/index.js +0 -11
- package/dist/services/export/npm/npm-exporter.d.ts +0 -182
- package/dist/services/export/npm/npm-exporter.js +0 -1773
- package/dist/services/export/npm/openapi-generator.d.ts +0 -19
- package/dist/services/export/npm/openapi-generator.js +0 -428
- package/dist/services/export/npm/package-json-generator.d.ts +0 -31
- package/dist/services/export/npm/package-json-generator.js +0 -156
- package/dist/services/export/npm/typescript-generator.d.ts +0 -69
- package/dist/services/export/npm/typescript-generator.js +0 -431
- package/dist/services/export/testing/index.d.ts +0 -8
- package/dist/services/export/testing/index.js +0 -7
- package/dist/services/export/testing/test-generator.d.ts +0 -178
- package/dist/services/export/testing/test-generator.js +0 -2546
- package/dist/services/extension-team/extension-team-kickoff.service.d.ts +0 -85
- package/dist/services/extension-team/extension-team-kickoff.service.js +0 -163
- package/dist/services/framework-import/langchain-importer.service.d.ts +0 -55
- package/dist/services/framework-import/langchain-importer.service.js +0 -157
- package/dist/services/framework-import/langflow-importer.service.d.ts +0 -85
- package/dist/services/framework-import/langflow-importer.service.js +0 -264
- package/dist/services/generation.service.d.ts +0 -65
- package/dist/services/generation.service.js +0 -356
- package/dist/services/git-rollback.service.d.ts +0 -75
- package/dist/services/git-rollback.service.js +0 -329
- package/dist/services/git.service.d.ts +0 -49
- package/dist/services/git.service.js +0 -162
- package/dist/services/github-sync/github-client.d.ts +0 -14
- package/dist/services/github-sync/github-client.js +0 -41
- package/dist/services/github-sync/gitlab-client.d.ts +0 -17
- package/dist/services/github-sync/gitlab-client.js +0 -42
- package/dist/services/github-sync/schemas.d.ts +0 -46
- package/dist/services/github-sync/schemas.js +0 -36
- package/dist/services/github-sync/sync.service.d.ts +0 -27
- package/dist/services/github-sync/sync.service.js +0 -101
- package/dist/services/gitlab-agent.service.d.ts +0 -94
- package/dist/services/gitlab-agent.service.js +0 -164
- package/dist/services/governance/cedar-provider.d.ts +0 -27
- package/dist/services/governance/cedar-provider.js +0 -109
- package/dist/services/governance/cedar-validator.service.d.ts +0 -32
- package/dist/services/governance/cedar-validator.service.js +0 -88
- package/dist/services/governance/governance-generator.service.d.ts +0 -120
- package/dist/services/governance/governance-generator.service.js +0 -1089
- package/dist/services/governance-client.service.d.ts +0 -39
- package/dist/services/governance-client.service.js +0 -124
- package/dist/services/id-card.service.d.ts +0 -109
- package/dist/services/id-card.service.js +0 -237
- package/dist/services/identity/identity.service.d.ts +0 -21
- package/dist/services/identity/identity.service.js +0 -36
- package/dist/services/import/framework-to-ossa.d.ts +0 -21
- package/dist/services/import/framework-to-ossa.js +0 -171
- package/dist/services/interfaces/governance-provider.interface.d.ts +0 -59
- package/dist/services/interfaces/governance-provider.interface.js +0 -6
- package/dist/services/knowledge-generation.service.d.ts +0 -46
- package/dist/services/knowledge-generation.service.js +0 -96
- package/dist/services/knowledge.service.d.ts +0 -88
- package/dist/services/knowledge.service.js +0 -214
- package/dist/services/llms-txt/llms-txt.service.d.ts +0 -59
- package/dist/services/llms-txt/llms-txt.service.js +0 -540
- package/dist/services/manifest/manifest-crud.service.d.ts +0 -119
- package/dist/services/manifest/manifest-crud.service.js +0 -319
- package/dist/services/mcp/bridge.service.d.ts +0 -63
- package/dist/services/mcp/bridge.service.js +0 -222
- package/dist/services/mcp-manifest/mcp-manifest.service.d.ts +0 -20
- package/dist/services/mcp-manifest/mcp-manifest.service.js +0 -85
- package/dist/services/messaging/example.d.ts +0 -6
- package/dist/services/messaging/example.js +0 -260
- package/dist/services/messaging/index.d.ts +0 -80
- package/dist/services/messaging/index.js +0 -86
- package/dist/services/messaging/memory-broker.d.ts +0 -103
- package/dist/services/messaging/memory-broker.js +0 -436
- package/dist/services/messaging/messaging.service.d.ts +0 -150
- package/dist/services/messaging/messaging.service.js +0 -458
- package/dist/services/messaging/messaging.types.d.ts +0 -319
- package/dist/services/messaging/messaging.types.js +0 -68
- package/dist/services/migration/langchain-migration.service.d.ts +0 -117
- package/dist/services/migration/langchain-migration.service.js +0 -621
- package/dist/services/migration-transform.service.d.ts +0 -82
- package/dist/services/migration-transform.service.js +0 -322
- package/dist/services/migration.service.d.ts +0 -132
- package/dist/services/migration.service.js +0 -698
- package/dist/services/multi-agent/team-generator.service.d.ts +0 -48
- package/dist/services/multi-agent/team-generator.service.js +0 -584
- package/dist/services/observability/observability-generator.service.d.ts +0 -54
- package/dist/services/observability/observability-generator.service.js +0 -1419
- package/dist/services/openapi-extensions-validation.d.ts +0 -20
- package/dist/services/openapi-extensions-validation.js +0 -193
- package/dist/services/registry/bundle.service.d.ts +0 -36
- package/dist/services/registry/bundle.service.js +0 -70
- package/dist/services/registry/index.service.d.ts +0 -76
- package/dist/services/registry/index.service.js +0 -88
- package/dist/services/registry/registry.service.d.ts +0 -39
- package/dist/services/registry/registry.service.js +0 -169
- package/dist/services/registry.service.d.ts +0 -34
- package/dist/services/registry.service.js +0 -162
- package/dist/services/release-automation/base-crud.service.d.ts +0 -93
- package/dist/services/release-automation/base-crud.service.js +0 -68
- package/dist/services/release-automation/generate-changelog.d.ts +0 -7
- package/dist/services/release-automation/generate-changelog.js +0 -288
- package/dist/services/release-automation/increment-dev-tag.d.ts +0 -7
- package/dist/services/release-automation/increment-dev-tag.js +0 -160
- package/dist/services/release-automation/index.d.ts +0 -12
- package/dist/services/release-automation/index.js +0 -12
- package/dist/services/release-automation/merge-request.service.d.ts +0 -119
- package/dist/services/release-automation/merge-request.service.js +0 -212
- package/dist/services/release-automation/milestone.service.d.ts +0 -104
- package/dist/services/release-automation/milestone.service.js +0 -207
- package/dist/services/release-automation/release-agent.service.d.ts +0 -39
- package/dist/services/release-automation/release-agent.service.js +0 -43
- package/dist/services/release-automation/release-buttons.d.ts +0 -7
- package/dist/services/release-automation/release-buttons.js +0 -207
- package/dist/services/release-automation/release.service.d.ts +0 -118
- package/dist/services/release-automation/release.service.js +0 -207
- package/dist/services/release-automation/schemas/release.schema.d.ts +0 -299
- package/dist/services/release-automation/schemas/release.schema.js +0 -272
- package/dist/services/release-automation/tag.service.d.ts +0 -99
- package/dist/services/release-automation/tag.service.js +0 -183
- package/dist/services/release-automation/webhook.service.d.ts +0 -37
- package/dist/services/release-automation/webhook.service.js +0 -187
- package/dist/services/runtime/anthropic.adapter.d.ts +0 -145
- package/dist/services/runtime/anthropic.adapter.js +0 -521
- package/dist/services/runtime/azure.adapter.d.ts +0 -389
- package/dist/services/runtime/azure.adapter.js +0 -517
- package/dist/services/runtime/bedrock.adapter.d.ts +0 -170
- package/dist/services/runtime/bedrock.adapter.js +0 -665
- package/dist/services/runtime/claude/capability-mapper.d.ts +0 -84
- package/dist/services/runtime/claude/capability-mapper.js +0 -245
- package/dist/services/runtime/claude/claude-adapter.d.ts +0 -80
- package/dist/services/runtime/claude/claude-adapter.js +0 -283
- package/dist/services/runtime/claude/manifest-parser.d.ts +0 -77
- package/dist/services/runtime/claude/manifest-parser.js +0 -169
- package/dist/services/runtime/claude/types.d.ts +0 -115
- package/dist/services/runtime/claude/types.js +0 -6
- package/dist/services/runtime/gemini.adapter.d.ts +0 -190
- package/dist/services/runtime/gemini.adapter.js +0 -600
- package/dist/services/runtime/mistral.adapter.d.ts +0 -201
- package/dist/services/runtime/mistral.adapter.js +0 -652
- package/dist/services/runtime/ollama.adapter.d.ts +0 -187
- package/dist/services/runtime/ollama.adapter.js +0 -521
- package/dist/services/runtime/openai.adapter.d.ts +0 -127
- package/dist/services/runtime/openai.adapter.js +0 -247
- package/dist/services/skill-registry.service.d.ts +0 -134
- package/dist/services/skill-registry.service.js +0 -452
- package/dist/services/skills/claude-skills.service.d.ts +0 -59
- package/dist/services/skills/claude-skills.service.js +0 -275
- package/dist/services/skills/skill-manifest.service.d.ts +0 -23
- package/dist/services/skills/skill-manifest.service.js +0 -86
- package/dist/services/skills-pipeline/index.d.ts +0 -9
- package/dist/services/skills-pipeline/index.js +0 -9
- package/dist/services/skills-pipeline/skills-export.service.d.ts +0 -86
- package/dist/services/skills-pipeline/skills-export.service.js +0 -483
- package/dist/services/skills-pipeline/skills-generator.service.d.ts +0 -118
- package/dist/services/skills-pipeline/skills-generator.service.js +0 -648
- package/dist/services/skills-pipeline/skills-install.service.d.ts +0 -42
- package/dist/services/skills-pipeline/skills-install.service.js +0 -219
- package/dist/services/skills-pipeline/skills-research.service.d.ts +0 -110
- package/dist/services/skills-pipeline/skills-research.service.js +0 -466
- package/dist/services/structure/agents-folder.service.d.ts +0 -37
- package/dist/services/structure/agents-folder.service.js +0 -318
- package/dist/services/taxonomy-service.d.ts +0 -103
- package/dist/services/taxonomy-service.js +0 -343
- package/dist/services/taxonomy-validator.service.d.ts +0 -25
- package/dist/services/taxonomy-validator.service.js +0 -149
- package/dist/services/taxonomy.service.d.ts +0 -132
- package/dist/services/taxonomy.service.js +0 -342
- package/dist/services/template-processor.service.d.ts +0 -34
- package/dist/services/template-processor.service.js +0 -123
- package/dist/services/template.service.d.ts +0 -54
- package/dist/services/template.service.js +0 -154
- package/dist/services/test-runner/mock-llm.service.d.ts +0 -77
- package/dist/services/test-runner/mock-llm.service.js +0 -172
- package/dist/services/test-runner/scenarios.d.ts +0 -36
- package/dist/services/test-runner/scenarios.js +0 -202
- package/dist/services/test-runner/test-runner.service.d.ts +0 -39
- package/dist/services/test-runner/test-runner.service.js +0 -165
- package/dist/services/trust/trust.service.d.ts +0 -47
- package/dist/services/trust/trust.service.js +0 -236
- package/dist/services/validation/best-practices-validator.d.ts +0 -84
- package/dist/services/validation/best-practices-validator.js +0 -499
- package/dist/services/validation/cost-estimator.d.ts +0 -69
- package/dist/services/validation/cost-estimator.js +0 -223
- package/dist/services/validation/enhanced-validator.d.ts +0 -78
- package/dist/services/validation/enhanced-validator.js +0 -210
- package/dist/services/validation/index.d.ts +0 -13
- package/dist/services/validation/index.js +0 -9
- package/dist/services/validation/security-validator.d.ts +0 -81
- package/dist/services/validation/security-validator.js +0 -330
- package/dist/services/validation-zod.service.d.ts +0 -36
- package/dist/services/validation-zod.service.js +0 -325
- package/dist/services/validation.service.d.ts +0 -50
- package/dist/services/validation.service.js +0 -445
- package/dist/services/validators/a2a.validator.d.ts +0 -16
- package/dist/services/validators/a2a.validator.js +0 -63
- package/dist/services/validators/anthropic.validator.d.ts +0 -9
- package/dist/services/validators/anthropic.validator.js +0 -111
- package/dist/services/validators/autogen.validator.d.ts +0 -12
- package/dist/services/validators/autogen.validator.js +0 -151
- package/dist/services/validators/contract.validator.d.ts +0 -91
- package/dist/services/validators/contract.validator.js +0 -522
- package/dist/services/validators/crewai.validator.d.ts +0 -12
- package/dist/services/validators/crewai.validator.js +0 -152
- package/dist/services/validators/cursor.validator.d.ts +0 -9
- package/dist/services/validators/cursor.validator.js +0 -93
- package/dist/services/validators/dependencies.validator.d.ts +0 -104
- package/dist/services/validators/dependencies.validator.js +0 -388
- package/dist/services/validators/index.d.ts +0 -20
- package/dist/services/validators/index.js +0 -21
- package/dist/services/validators/kagent.validator.d.ts +0 -13
- package/dist/services/validators/kagent.validator.js +0 -205
- package/dist/services/validators/langchain.validator.d.ts +0 -12
- package/dist/services/validators/langchain.validator.js +0 -139
- package/dist/services/validators/langflow.validator.d.ts +0 -9
- package/dist/services/validators/langflow.validator.js +0 -98
- package/dist/services/validators/langgraph.validator.d.ts +0 -12
- package/dist/services/validators/langgraph.validator.js +0 -161
- package/dist/services/validators/llamaindex.validator.d.ts +0 -9
- package/dist/services/validators/llamaindex.validator.js +0 -125
- package/dist/services/validators/mcp.validator.d.ts +0 -16
- package/dist/services/validators/mcp.validator.js +0 -70
- package/dist/services/validators/messaging.validator.d.ts +0 -77
- package/dist/services/validators/messaging.validator.js +0 -298
- package/dist/services/validators/openai.validator.d.ts +0 -9
- package/dist/services/validators/openai.validator.js +0 -131
- package/dist/services/validators/registry.d.ts +0 -21
- package/dist/services/validators/registry.js +0 -42
- package/dist/services/validators/vercel-ai.validator.d.ts +0 -9
- package/dist/services/validators/vercel-ai.validator.js +0 -101
- package/dist/services/version-detection.service.d.ts +0 -50
- package/dist/services/version-detection.service.js +0 -209
- package/dist/services/wizard/prompts.d.ts +0 -71
- package/dist/services/wizard/prompts.js +0 -345
- package/dist/services/wizard/wizard-state.service.d.ts +0 -111
- package/dist/services/wizard/wizard-state.service.js +0 -548
- package/dist/services/wizard/wizard.service.d.ts +0 -60
- package/dist/services/wizard/wizard.service.js +0 -329
- package/dist/services/workspace/workspace.service.d.ts +0 -44
- package/dist/services/workspace/workspace.service.js +0 -203
- package/dist/skills/test-skill/README.md +0 -36
- package/dist/skills/test-skill/SKILL.md +0 -31
- package/dist/skills/test-skill/index.d.ts +0 -31
- package/dist/skills/test-skill/install.js +0 -44
- package/dist/skills/test-skill/package.json +0 -36
- package/dist/spec/extensions/a2a-messaging.md +0 -471
- package/dist/spec/extensions/cognition.schema.json +0 -87
- package/dist/spec/extensions/knowledge-graph/knowledge-graph.schema.json +0 -386
- package/dist/spec/extensions/manifest-extensions.md +0 -550
- package/dist/spec/extensions/openapi/ossa-openapi-extensions.schema.json +0 -804
- package/dist/spec/extensions/role-manifest.md +0 -188
- package/dist/spec/extensions/skills-compatibility.md +0 -292
- package/dist/spec/layer4-economics/duadp-examples.json +0 -44
- package/dist/spec/ossa-audit-api.yaml +0 -311
- package/dist/spec/reference/reference-agents/compliance-auditor/manifest.ossa.yaml +0 -527
- package/dist/spec/reference/reference-agents/doc-agent/manifest.ossa.yaml +0 -776
- package/dist/spec/reference/reference-agents/mr-reviewer/manifest.ossa.yaml +0 -249
- package/dist/spec/reference/reference-agents/mr-reviewer/system-prompt.md +0 -154
- package/dist/spec/reference/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +0 -548
- package/dist/spec/reference/reference-agents/ossa-validator-v0.3/system-prompt.md +0 -135
- package/dist/spec/reference/reference-agents/pipeline-fixer/manifest.ossa.yaml +0 -336
- package/dist/spec/reference/reference-agents/release-orchestrator/README.md +0 -35
- package/dist/spec/reference/reference-agents/release-orchestrator/manifest.ossa.yaml +0 -233
- package/dist/spec/registry/README.md +0 -478
- package/dist/spec/registry/openapi.yaml +0 -1124
- package/dist/spec/registry/project-registry.schema.json +0 -62
- package/dist/spec/registry/registry-api.schema.json +0 -731
- package/dist/spec/registry/registry-api.yaml +0 -144
- package/dist/spec/registry/registry-spec.md +0 -2239
- package/dist/spec/schema/agent-test.schema.json +0 -117
- package/dist/spec/schema/components/activity-stream.schema.json +0 -94
- package/dist/spec/schema/components/adapter.schema.json +0 -33
- package/dist/spec/schema/components/constraints.schema.json +0 -84
- package/dist/spec/schema/components/dependencies.schema.json +0 -147
- package/dist/spec/schema/components/encryption.schema.json +0 -115
- package/dist/spec/schema/components/identity.schema.json +0 -126
- package/dist/spec/schema/components/index.json +0 -37
- package/dist/spec/schema/components/llm-config.schema.json +0 -67
- package/dist/spec/schema/components/metadata.schema.json +0 -52
- package/dist/spec/schema/components/tool.schema.json +0 -64
- package/dist/spec/schema/extensions/a2a.extension.schema.json +0 -127
- package/dist/spec/uadp/README.md +0 -393
- package/dist/spec/uadp/openapi.yaml +0 -387
- package/dist/spec/uadp/schemas/uadp-agents-response.schema.json +0 -68
- package/dist/spec/uadp/schemas/uadp-federation-response.schema.json +0 -46
- package/dist/spec/uadp/schemas/uadp-manifest.schema.json +0 -82
- package/dist/spec/uadp/schemas/uadp-skills-response.schema.json +0 -72
- package/dist/spec/v0.4/agent-card.schema.json +0 -477
- package/dist/spec/v0.4/agent.schema.json +0 -1581
- package/dist/spec/v0.4/conformance/profiles/baseline.json +0 -19
- package/dist/spec/v0.4/conformance/profiles/enterprise.json +0 -20
- package/dist/spec/v0.4/extensions/a2a/README.md +0 -193
- package/dist/spec/v0.4/extensions/a2a/a2a.schema.json +0 -77
- package/dist/spec/v0.4/extensions/ag2/ag2.schema.json +0 -277
- package/dist/spec/v0.4/extensions/cognition/cognition.schema.json +0 -94
- package/dist/spec/v0.4/extensions/cognition/thought-node.schema.json +0 -80
- package/dist/spec/v0.4/extensions/crewai/crewai.schema.json +0 -256
- package/dist/spec/v0.4/extensions/drupal/drupal.schema.json +0 -318
- package/dist/spec/v0.4/extensions/evals/evals.schema.json +0 -597
- package/dist/spec/v0.4/extensions/governance/governance-extension.yaml +0 -161
- package/dist/spec/v0.4/extensions/identity/identity.schema.json +0 -302
- package/dist/spec/v0.4/extensions/kagent/README.md +0 -315
- package/dist/spec/v0.4/extensions/kagent/kagent.schema.json +0 -624
- package/dist/spec/v0.4/extensions/langchain/langchain.schema.json +0 -243
- package/dist/spec/v0.4/extensions/langgraph/langgraph.schema.json +0 -211
- package/dist/spec/v0.4/extensions/mcp/README.md +0 -276
- package/dist/spec/v0.4/extensions/mcp/mcp.schema.json +0 -84
- package/dist/spec/v0.4/extensions/memory/memory.schema.json +0 -7
- package/dist/spec/v0.4/extensions/team/team.schema.json +0 -304
- package/dist/spec/v0.4/extensions/token-efficiency/token-efficiency.schema.json +0 -47
- package/dist/spec/v0.4/mcp.schema.json +0 -1
- package/dist/spec/v0.4/skill.schema.json +0 -1
- package/dist/spec/v0.4/validator.schema.json +0 -282
- package/dist/spec/v0.5/agent-builder-openapi.yaml +0 -230
- package/dist/spec/v0.5/agent-card.schema.json +0 -477
- package/dist/spec/v0.5/agent.schema.json +0 -1658
- package/dist/spec/v0.5/conformance/profiles/baseline.json +0 -19
- package/dist/spec/v0.5/conformance/profiles/enterprise.json +0 -20
- package/dist/spec/v0.5/extensions/a2a/README.md +0 -193
- package/dist/spec/v0.5/extensions/a2a/a2a.schema.json +0 -77
- package/dist/spec/v0.5/extensions/ag2/ag2.schema.json +0 -277
- package/dist/spec/v0.5/extensions/cognition/cognition.schema.json +0 -171
- package/dist/spec/v0.5/extensions/cognition/thought-node.schema.json +0 -80
- package/dist/spec/v0.5/extensions/crewai/crewai.schema.json +0 -256
- package/dist/spec/v0.5/extensions/drupal/drupal.schema.json +0 -318
- package/dist/spec/v0.5/extensions/economics/context-pack.schema.json +0 -91
- package/dist/spec/v0.5/extensions/economics/execution-profile.schema.json +0 -148
- package/dist/spec/v0.5/extensions/economics/failure-semantics.schema.json +0 -32
- package/dist/spec/v0.5/extensions/economics/replay-packet.schema.json +0 -120
- package/dist/spec/v0.5/extensions/evals/evals.schema.json +0 -597
- package/dist/spec/v0.5/extensions/governance/governance-extension.yaml +0 -161
- package/dist/spec/v0.5/extensions/identity/identity.schema.json +0 -302
- package/dist/spec/v0.5/extensions/kagent/README.md +0 -315
- package/dist/spec/v0.5/extensions/kagent/kagent.schema.json +0 -624
- package/dist/spec/v0.5/extensions/langchain/langchain.schema.json +0 -243
- package/dist/spec/v0.5/extensions/langgraph/langgraph.schema.json +0 -211
- package/dist/spec/v0.5/extensions/mcp/README.md +0 -276
- package/dist/spec/v0.5/extensions/mcp/mcp.schema.json +0 -84
- package/dist/spec/v0.5/extensions/memory/memory.schema.json +0 -7
- package/dist/spec/v0.5/extensions/team/team.schema.json +0 -304
- package/dist/spec/v0.5/extensions/token-efficiency/token-efficiency.schema.json +0 -47
- package/dist/spec/v0.5/mcp.schema.json +0 -1
- package/dist/spec/v0.5/memory-hierarchy.yaml +0 -120
- package/dist/spec/v0.5/role.schema.json +0 -268
- package/dist/spec/v0.5/skill.schema.json +0 -1
- package/dist/spec/v0.5/validator.schema.json +0 -282
- package/dist/spec/v1/agent-card.schema.json +0 -254
- package/dist/spec/v1/mcp.schema.json +0 -183
- package/dist/spec/v1/skill.schema.json +0 -346
- package/dist/testing/fixtures.d.ts +0 -61
- package/dist/testing/fixtures.js +0 -298
- package/dist/testing/index.d.ts +0 -10
- package/dist/testing/index.js +0 -10
- package/dist/testing/reporters/base.d.ts +0 -24
- package/dist/testing/reporters/base.js +0 -5
- package/dist/testing/reporters/console.d.ts +0 -18
- package/dist/testing/reporters/console.js +0 -78
- package/dist/testing/reporters/json.d.ts +0 -29
- package/dist/testing/reporters/json.js +0 -40
- package/dist/testing/runner.d.ts +0 -96
- package/dist/testing/runner.js +0 -392
- package/dist/transports/index.d.ts +0 -8
- package/dist/transports/index.js +0 -11
- package/dist/transports/sse.d.ts +0 -166
- package/dist/transports/sse.js +0 -314
- package/dist/transports/webrtc.d.ts +0 -183
- package/dist/transports/webrtc.js +0 -481
- package/dist/transports/websocket.d.ts +0 -205
- package/dist/transports/websocket.js +0 -407
- package/dist/types/architect.d.ts +0 -48
- package/dist/types/architect.js +0 -7
- package/dist/types/cognition.zod.d.ts +0 -312
- package/dist/types/cognition.zod.js +0 -223
- package/dist/types/dynamic-agent-types.d.ts +0 -158
- package/dist/types/dynamic-agent-types.js +0 -473
- package/dist/types/generated/ossa-0.3.2.types.d.ts +0 -367
- package/dist/types/generated/ossa-0.3.2.types.js +0 -10
- package/dist/types/generated/ossa-0.3.2.zod.d.ts +0 -36
- package/dist/types/generated/ossa-0.3.2.zod.js +0 -25
- package/dist/types/generated/ossa-0.3.3.types.d.ts +0 -367
- package/dist/types/generated/ossa-0.3.3.types.js +0 -10
- package/dist/types/generated/ossa-0.3.3.zod.d.ts +0 -36
- package/dist/types/generated/ossa-0.3.3.zod.js +0 -25
- package/dist/types/generated/ossa-0.3.4.types.d.ts +0 -430
- package/dist/types/generated/ossa-0.3.4.types.js +0 -10
- package/dist/types/generated/ossa-0.3.4.zod.d.ts +0 -340
- package/dist/types/generated/ossa-0.3.4.zod.js +0 -120
- package/dist/types/identity.d.ts +0 -82
- package/dist/types/identity.js +0 -10
- package/dist/types/identity.zod.d.ts +0 -622
- package/dist/types/identity.zod.js +0 -272
- package/dist/types/index.d.ts +0 -711
- package/dist/types/index.js +0 -32
- package/dist/types/llms-txt.zod.d.ts +0 -320
- package/dist/types/llms-txt.zod.js +0 -82
- package/dist/types/mcp-server-manifest.d.ts +0 -83
- package/dist/types/mcp-server-manifest.js +0 -17
- package/dist/types/messaging.d.ts +0 -116
- package/dist/types/messaging.js +0 -6
- package/dist/types/openapi-extensions.d.ts +0 -164
- package/dist/types/openapi-extensions.js +0 -6
- package/dist/types/personality.d.ts +0 -141
- package/dist/types/personality.js +0 -72
- package/dist/types/personality.zod.d.ts +0 -483
- package/dist/types/personality.zod.js +0 -190
- package/dist/types/policy.d.ts +0 -377
- package/dist/types/policy.js +0 -84
- package/dist/types/prompts.d.ts +0 -219
- package/dist/types/prompts.js +0 -163
- package/dist/types/prompts.zod.d.ts +0 -252
- package/dist/types/prompts.zod.js +0 -113
- package/dist/types/protocols.d.ts +0 -158
- package/dist/types/protocols.js +0 -8
- package/dist/types/role.d.ts +0 -126
- package/dist/types/role.js +0 -38
- package/dist/types/security.d.ts +0 -123
- package/dist/types/security.js +0 -9
- package/dist/types/skill.d.ts +0 -116
- package/dist/types/skill.js +0 -35
- package/dist/types/task.d.ts +0 -222
- package/dist/types/task.js +0 -40
- package/dist/types/tool.d.ts +0 -73
- package/dist/types/tool.js +0 -66
- package/dist/types/workflow.d.ts +0 -283
- package/dist/types/workflow.js +0 -51
- package/dist/utils/constants.d.ts +0 -31
- package/dist/utils/constants.js +0 -31
- package/dist/utils/http-client.d.ts +0 -22
- package/dist/utils/http-client.js +0 -51
- package/dist/utils/index.d.ts +0 -12
- package/dist/utils/index.js +0 -12
- package/dist/utils/logger.d.ts +0 -82
- package/dist/utils/logger.js +0 -250
- package/dist/utils/manifest-scanner.d.ts +0 -41
- package/dist/utils/manifest-scanner.js +0 -71
- package/dist/utils/path-validator.d.ts +0 -24
- package/dist/utils/path-validator.js +0 -70
- package/dist/utils/proxy-resolver.d.ts +0 -36
- package/dist/utils/proxy-resolver.js +0 -59
- package/dist/utils/type-guards.d.ts +0 -59
- package/dist/utils/type-guards.js +0 -190
- package/dist/utils/user-agent.d.ts +0 -11
- package/dist/utils/user-agent.js +0 -17
- package/dist/utils/version.d.ts +0 -79
- package/dist/utils/version.js +0 -239
- package/dist/utils/yaml-parser.d.ts +0 -29
- package/dist/utils/yaml-parser.js +0 -38
- package/dist/validation/enhanced-validator.d.ts +0 -38
- package/dist/validation/enhanced-validator.js +0 -242
- package/dist/validation/error-codes.d.ts +0 -170
- package/dist/validation/error-codes.js +0 -1160
- package/dist/validation/error-formatter.d.ts +0 -81
- package/dist/validation/error-formatter.js +0 -375
- package/dist/validation/index.d.ts +0 -19
- package/dist/validation/index.js +0 -26
- package/dist/validation/linter.d.ts +0 -36
- package/dist/validation/linter.js +0 -453
- package/dist/validation/progressive-scorer.d.ts +0 -123
- package/dist/validation/progressive-scorer.js +0 -370
- package/dist/validation/validation-context.d.ts +0 -86
- package/dist/validation/validation-context.js +0 -138
- package/dist/validation/validator-registry.d.ts +0 -158
- package/dist/validation/validator-registry.js +0 -245
- package/dist/validation/validator.d.ts +0 -42
- package/dist/validation/validator.js +0 -290
- package/dist/validation/version-compliance.d.ts +0 -17
- package/dist/validation/version-compliance.js +0 -25
- package/dist/version-management/api/server.d.ts +0 -3
- package/dist/version-management/api/server.js +0 -75
- package/dist/version-management/cli/index.d.ts +0 -3
- package/dist/version-management/cli/index.js +0 -219
- package/dist/version-management/core/version-manager.d.ts +0 -108
- package/dist/version-management/core/version-manager.js +0 -322
- package/dist/version-management/index.d.ts +0 -3
- package/dist/version-management/index.js +0 -2
- package/dist/version.d.ts +0 -62
- package/dist/version.js +0 -76
- package/examples/a2a/agent-handoff.ossa.yaml +0 -202
- package/examples/a2a/service-discovery.ossa.yaml +0 -194
- package/examples/adapters/anthropic-quickstart.ts +0 -66
- package/examples/adapters/crewai-quickstart.py +0 -86
- package/examples/adapters/drupal-eca-mapping.yaml +0 -153
- package/examples/adapters/drupal-eca-task.yaml +0 -48
- package/examples/adapters/drupal-flowdrop-mapping.yaml +0 -463
- package/examples/adapters/drupal-maestro-mapping.yaml +0 -369
- package/examples/adapters/langchain-quickstart.ts +0 -40
- package/examples/adapters/mistral-README.md +0 -367
- package/examples/adapters/mistral-agent.yaml +0 -147
- package/examples/adapters/symfony-messenger-task.yaml +0 -135
- package/examples/adapters/symfony-messenger-workflow.yaml +0 -352
- package/examples/adk-integration/code-review-workflow.yml +0 -136
- package/examples/adk-integration/customer-support.yml +0 -263
- package/examples/adk-integration/data-pipeline.yml +0 -173
- package/examples/advanced/patterns/compliance-context-production.json +0 -53
- package/examples/advanced/patterns/model-router.ts +0 -274
- package/examples/advanced/patterns/smart-model-routing.ts +0 -300
- package/examples/advanced/reasoning-agent.yaml +0 -136
- package/examples/advanced/workflows/hybrid-model-strategy.yaml +0 -215
- package/examples/agent-manifests/critics/critic-agent.yaml +0 -149
- package/examples/agent-manifests/governors/governor-agent.yaml +0 -128
- package/examples/agent-manifests/integrators/integrator-agent.yaml +0 -103
- package/examples/agent-manifests/judges/judge-agent.yaml +0 -153
- package/examples/agent-manifests/monitors/monitor-agent.yaml +0 -122
- package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +0 -247
- package/examples/agent-manifests/sample-compliant-agent.yaml +0 -160
- package/examples/agent-manifests/v0.4-identity-security-protocols-full.ossa.yaml +0 -159
- package/examples/agent-manifests/v0.4-minimal-identity-security-protocols.ossa.yaml +0 -37
- package/examples/agent-manifests/v0.5-identity-security-protocols.ossa.yaml +0 -159
- package/examples/agent-manifests/v0.5-minimal.ossa.yaml +0 -37
- package/examples/agent-manifests/workers/worker-agent.yaml +0 -82
- package/examples/agent-mesh/DISCOVERY.md +0 -679
- package/examples/agent-mesh/README.ts +0 -311
- package/examples/agent-mesh/basic-usage.ts +0 -461
- package/examples/agent-mesh/discovery-system.ts +0 -670
- package/examples/agent-skills/SKILLS_CATALOG.md +0 -341
- package/examples/agent-skills/ossa-agent-authoring/SKILL.md +0 -62
- package/examples/agent-skills/react-best-practices/SKILL.md +0 -158
- package/examples/agent-skills/react-best-practices/references/react-performance-guidelines.md +0 -500
- package/examples/agent-taxonomy-example.ossa.yaml +0 -89
- package/examples/agents/01-customer-support-bot/.env.example +0 -32
- package/examples/agents/01-customer-support-bot/Dockerfile +0 -30
- package/examples/agents/01-customer-support-bot/README.md +0 -295
- package/examples/agents/01-customer-support-bot/agent.ossa.yaml +0 -165
- package/examples/agents/01-customer-support-bot/docker-compose.yml +0 -55
- package/examples/agents/01-customer-support-bot/openapi.yaml +0 -238
- package/examples/agents/01-customer-support-bot/package.json +0 -48
- package/examples/agents/02-code-review-agent/README.md +0 -72
- package/examples/agents/02-code-review-agent/agent.ossa.yaml +0 -288
- package/examples/agents/02-code-review-agent/docker-compose.yml +0 -22
- package/examples/agents/02-code-review-agent/openapi.yaml +0 -150
- package/examples/agents/03-data-analysis-agent/README.md +0 -51
- package/examples/agents/03-data-analysis-agent/agent.ossa.yaml +0 -152
- package/examples/agents/03-data-analysis-agent/openapi.yaml +0 -74
- package/examples/agents/04-content-moderator/README.md +0 -55
- package/examples/agents/04-content-moderator/agent.ossa.yaml +0 -131
- package/examples/agents/04-content-moderator/openapi.yaml +0 -50
- package/examples/agents/05-sales-assistant/README.md +0 -37
- package/examples/agents/05-sales-assistant/agent.ossa.yaml +0 -158
- package/examples/agents/05-sales-assistant/openapi.yaml +0 -59
- package/examples/agents/06-devops-agent/README.md +0 -39
- package/examples/agents/06-devops-agent/agent.ossa.yaml +0 -188
- package/examples/agents/06-devops-agent/openapi.yaml +0 -51
- package/examples/agents/07-research-assistant/README.md +0 -31
- package/examples/agents/07-research-assistant/agent.ossa.yaml +0 -185
- package/examples/agents/07-research-assistant/openapi.yaml +0 -56
- package/examples/agents/08-email-triage-agent/README.md +0 -33
- package/examples/agents/08-email-triage-agent/agent.ossa.yaml +0 -133
- package/examples/agents/08-email-triage-agent/openapi.yaml +0 -41
- package/examples/agents/09-security-scanner/README.md +0 -49
- package/examples/agents/09-security-scanner/agent.ossa.yaml +0 -220
- package/examples/agents/09-security-scanner/openapi.yaml +0 -46
- package/examples/agents/10-meeting-assistant/README.md +0 -53
- package/examples/agents/10-meeting-assistant/agent.ossa.yaml +0 -203
- package/examples/agents/10-meeting-assistant/docker-compose.yml +0 -27
- package/examples/agents/10-meeting-assistant/openapi.yaml +0 -131
- package/examples/agents/COMPLETION_REPORT.txt +0 -272
- package/examples/agents/INDEX.md +0 -296
- package/examples/agents/README.md +0 -452
- package/examples/agents/SUMMARY.md +0 -362
- package/examples/agents/TEST_RESULTS.md +0 -458
- package/examples/agents/architecture-healer-enterprise.yaml +0 -143
- package/examples/agents/dependency-healer-npm.yaml +0 -81
- package/examples/agents/security-audit-agent.ossa.yaml +0 -234
- package/examples/agents/spec-healer-openapi.yaml +0 -59
- package/examples/agents/wiki-healer-production.yaml +0 -131
- package/examples/agents-md/code-agent.ossa.json +0 -125
- package/examples/agents-md/monorepo-agent.ossa.yaml +0 -199
- package/examples/agentscope/react-assistant/README.md +0 -111
- package/examples/agentscope/react-assistant/agent.ossa.yaml +0 -136
- package/examples/agentscope/react-assistant/skills/code-analysis/SKILL.md +0 -18
- package/examples/agentscope/react-assistant/skills/question-answering/SKILL.md +0 -18
- package/examples/anthropic/claude-assistant.ossa.json +0 -46
- package/examples/anthropic-adapter-example.ts +0 -374
- package/examples/anthropic-simple.ts +0 -70
- package/examples/architecture/model-configuration/ollama-integration.ts +0 -110
- package/examples/autogen/multi-agent.ossa.json +0 -39
- package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +0 -34
- package/examples/bridge-configurations.yaml +0 -346
- package/examples/bridges/.gitlab-ci.yml +0 -293
- package/examples/bridges/Dockerfile.production +0 -87
- package/examples/bridges/__pycache__/aiflow-bridge-enhanced.cpython-313.pyc +0 -0
- package/examples/bridges/__pycache__/aiflow-phoenix-tracing.cpython-313.pyc +0 -0
- package/examples/bridges/aiflow-bridge-enhanced.py +0 -462
- package/examples/bridges/aiflow-bridge-example.yml +0 -310
- package/examples/bridges/aiflow-phoenix-tracing.py +0 -310
- package/examples/bridges/aiflow-registration-api.openapi.yml +0 -439
- package/examples/bridges/k8s/configmap.yaml +0 -121
- package/examples/bridges/k8s/deployment-simple.yaml +0 -34
- package/examples/bridges/k8s/deployment.yaml +0 -275
- package/examples/bridges/k8s/hpa.yaml +0 -126
- package/examples/bridges/k8s/ingress.yaml +0 -155
- package/examples/bridges/kagent-bridge-example.yml +0 -94
- package/examples/bridges/load-tests/Dockerfile +0 -28
- package/examples/bridges/load-tests/k6-load-test.js +0 -302
- package/examples/bridges/load-tests/requirements.txt +0 -20
- package/examples/bridges/loadtest/k6-scenarios.js +0 -270
- package/examples/bridges/phase4/SLO-SLA.yaml +0 -249
- package/examples/bridges/phase4/chaos-tests.yaml +0 -226
- package/examples/bridges/requirements.txt +0 -24
- package/examples/bridges/test_aiflow_integration.py +0 -341
- package/examples/build-once-use-everywhere/README.md +0 -184
- package/examples/build-once-use-everywhere/agent.ossa.yaml +0 -38
- package/examples/build-once-use-everywhere/deploy-config.yaml +0 -32
- package/examples/ci/multi-project-release-example.yml +0 -401
- package/examples/claude-code/code-reviewer.ossa.yaml +0 -86
- package/examples/claude-code/ossa-validator.ossa.yaml +0 -86
- package/examples/common_npm/agent-router.ossa.yaml +0 -61
- package/examples/compliance-agent.yml +0 -155
- package/examples/contracts/data-consumer.ossa.yaml +0 -171
- package/examples/contracts/data-producer-v2.ossa.yaml +0 -229
- package/examples/contracts/data-producer.ossa.yaml +0 -219
- package/examples/coordinator-agent/README.md +0 -180
- package/examples/coordinator-agent/index.ts +0 -440
- package/examples/coordinator-agent/manifest.yaml +0 -41
- package/examples/crewai/research-team.ossa.json +0 -45
- package/examples/cursor/code-review-agent.ossa.json +0 -62
- package/examples/deployment-workflow.md +0 -601
- package/examples/drupal/QUICKSTART.md +0 -453
- package/examples/drupal/ai_agents_agentscope/README.md +0 -62
- package/examples/drupal/ai_agents_agentscope/ai_agents_agentscope.info.yml +0 -13
- package/examples/drupal/ai_agents_agentscope/ai_agents_agentscope.services.yml +0 -4
- package/examples/drupal/ai_agents_agentscope/config/install/ai_agents_agentscope.settings.yml +0 -3
- package/examples/drupal/ai_agents_agentscope/config/schema/ai_agents_agentscope.schema.yml +0 -14
- package/examples/drupal/ai_agents_agentscope/src/AgentScopeRuntime.php +0 -11
- package/examples/drupal/ai_agents_agentscope/src/Plugin/AiAgent/AgentScopeAgent.php +0 -10
- package/examples/drupal/ai_agents_agentscope/src/Plugin/AiProvider/AgentScopeProvider.php +0 -217
- package/examples/drupal/ai_agents_agentscope/src/Plugin/Derivative/AgentScopeDeriver.php +0 -10
- package/examples/drupal/ai_agents_agentscope/src/Service/AgentScopeAdapter.php +0 -9
- package/examples/drupal/ai_agents_ossa-module/.agents/example-agent/agent.ossa.yaml +0 -30
- package/examples/drupal/content-moderator.ossa.yaml +0 -217
- package/examples/drupal/drupal-contributor-agent/.eslintrc.json +0 -58
- package/examples/drupal/drupal-contributor-agent/.prettierrc.json +0 -10
- package/examples/drupal/drupal-contributor-agent/package.json +0 -55
- package/examples/drupal/drupal-contributor-agent/src/core/index.ts +0 -10
- package/examples/drupal/drupal-contributor-agent/src/index.ts +0 -17
- package/examples/drupal/drupal-contributor-agent/src/types/index.ts +0 -180
- package/examples/drupal/drupal-contributor-agent/tsconfig.json +0 -36
- package/examples/drupal/drupal-contributor.ossa.yaml +0 -247
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +0 -69
- package/examples/economics/marketplace-agent.ossa.json +0 -210
- package/examples/enterprise/agent.yml +0 -452
- package/examples/export/langchain/production-agent-with-memory/README.md +0 -373
- package/examples/export/langchain/production-agent-with-memory/agent.ossa.yaml +0 -87
- package/examples/export/langchain/production-agent-with-streaming/README.md +0 -617
- package/examples/export/langchain/production-agent-with-streaming/agent.ossa.yaml +0 -86
- package/examples/export/langchain/production-agent-with-streaming/client-example.py +0 -263
- package/examples/export/langchain/production-agent-with-tools/README.md +0 -296
- package/examples/export/langchain/production-agent-with-tools/agent.ossa.yaml +0 -215
- package/examples/export/langchain-export-example.ts +0 -246
- package/examples/export/langserve-export-example.ts +0 -246
- package/examples/export/test-generation-example.ts +0 -457
- package/examples/extensions/agents-md-advanced.yml +0 -177
- package/examples/extensions/agents-md-basic.yml +0 -74
- package/examples/extensions/agents-md-sync.yml +0 -96
- package/examples/extensions/agents-md-v1.yml +0 -176
- package/examples/extensions/drupal-v1.yml +0 -266
- package/examples/extensions/encryption-multi-provider.yaml +0 -120
- package/examples/extensions/kagent-v1.yml +0 -167
- package/examples/extensions/knowledge-sources.yaml +0 -59
- package/examples/extensions/mcp-full-featured.yaml +0 -150
- package/examples/genetics/breeding-agent.ossa.json +0 -194
- package/examples/getting-started/01-minimal-agent.ossa.yaml +0 -51
- package/examples/getting-started/02-agent-with-tools.ossa.yaml +0 -229
- package/examples/getting-started/03-agent-with-safety.ossa.yaml +0 -137
- package/examples/getting-started/04-agent-with-messaging.ossa.yaml +0 -392
- package/examples/getting-started/05-workflow-composition.ossa.yaml +0 -153
- package/examples/getting-started/README.md +0 -69
- package/examples/getting-started/hello-world-complete.ossa.yaml +0 -112
- package/examples/gitlab-agents/DEPLOYMENT.md +0 -331
- package/examples/gitlab-agents/daily-code-scan/.env.example +0 -11
- package/examples/gitlab-agents/daily-code-scan/.gitlab-ci.yml +0 -34
- package/examples/gitlab-agents/daily-code-scan/Dockerfile +0 -18
- package/examples/gitlab-agents/daily-code-scan/README.md +0 -80
- package/examples/gitlab-agents/daily-code-scan/package.json +0 -28
- package/examples/gitlab-agents/daily-code-scan/src/gitlab-client.ts +0 -135
- package/examples/gitlab-agents/daily-code-scan/src/index.ts +0 -50
- package/examples/gitlab-agents/daily-code-scan/src/types.ts +0 -22
- package/examples/gitlab-agents/daily-code-scan/src/workflow.ts +0 -109
- package/examples/gitlab-agents/daily-code-scan/tsconfig.json +0 -24
- package/examples/gitlab-agents/duo-comment-responder/.env.example +0 -14
- package/examples/gitlab-agents/duo-comment-responder/.gitlab-ci.yml +0 -34
- package/examples/gitlab-agents/duo-comment-responder/Dockerfile +0 -18
- package/examples/gitlab-agents/duo-comment-responder/README.md +0 -98
- package/examples/gitlab-agents/duo-comment-responder/package.json +0 -29
- package/examples/gitlab-agents/duo-comment-responder/src/gitlab-client.ts +0 -56
- package/examples/gitlab-agents/duo-comment-responder/src/index.ts +0 -103
- package/examples/gitlab-agents/duo-comment-responder/src/llm-client.ts +0 -75
- package/examples/gitlab-agents/duo-comment-responder/src/types.ts +0 -22
- package/examples/gitlab-agents/duo-comment-responder/src/workflow.ts +0 -135
- package/examples/gitlab-agents/duo-comment-responder/tsconfig.json +0 -24
- package/examples/gitlab-agents/duo-comment-responder/webhook-config.json +0 -11
- package/examples/gitlab-agents/gitlab-ci-agent.ossa.yaml +0 -221
- package/examples/gitlab-agents/k8s/deploy-all.yaml +0 -341
- package/examples/gitlab-agents/mr-reviewer/.env.example +0 -14
- package/examples/gitlab-agents/mr-reviewer/.gitlab-ci.yml +0 -34
- package/examples/gitlab-agents/mr-reviewer/Dockerfile +0 -18
- package/examples/gitlab-agents/mr-reviewer/README.md +0 -98
- package/examples/gitlab-agents/mr-reviewer/package.json +0 -29
- package/examples/gitlab-agents/mr-reviewer/src/gitlab-client.ts +0 -136
- package/examples/gitlab-agents/mr-reviewer/src/index.ts +0 -103
- package/examples/gitlab-agents/mr-reviewer/src/llm-client.ts +0 -95
- package/examples/gitlab-agents/mr-reviewer/src/types.ts +0 -22
- package/examples/gitlab-agents/mr-reviewer/src/workflow.ts +0 -144
- package/examples/gitlab-agents/mr-reviewer/tsconfig.json +0 -24
- package/examples/gitlab-agents/mr-reviewer/webhook-config.json +0 -11
- package/examples/gitlab-agents/pipeline-auto-fix/.env.example +0 -14
- package/examples/gitlab-agents/pipeline-auto-fix/.gitlab-ci.yml +0 -34
- package/examples/gitlab-agents/pipeline-auto-fix/Dockerfile +0 -18
- package/examples/gitlab-agents/pipeline-auto-fix/README.md +0 -98
- package/examples/gitlab-agents/pipeline-auto-fix/package.json +0 -29
- package/examples/gitlab-agents/pipeline-auto-fix/src/gitlab-client.ts +0 -76
- package/examples/gitlab-agents/pipeline-auto-fix/src/index.ts +0 -103
- package/examples/gitlab-agents/pipeline-auto-fix/src/llm-client.ts +0 -79
- package/examples/gitlab-agents/pipeline-auto-fix/src/types.ts +0 -22
- package/examples/gitlab-agents/pipeline-auto-fix/src/workflow.ts +0 -146
- package/examples/gitlab-agents/pipeline-auto-fix/tsconfig.json +0 -24
- package/examples/gitlab-agents/pipeline-auto-fix/webhook-config.json +0 -11
- package/examples/gitlab-agents/pre-commit-quality-check/.env.example +0 -11
- package/examples/gitlab-agents/pre-commit-quality-check/.gitlab-ci.yml +0 -34
- package/examples/gitlab-agents/pre-commit-quality-check/Dockerfile +0 -18
- package/examples/gitlab-agents/pre-commit-quality-check/README.md +0 -80
- package/examples/gitlab-agents/pre-commit-quality-check/package.json +0 -28
- package/examples/gitlab-agents/pre-commit-quality-check/src/gitlab-client.ts +0 -20
- package/examples/gitlab-agents/pre-commit-quality-check/src/index.ts +0 -50
- package/examples/gitlab-agents/pre-commit-quality-check/src/types.ts +0 -22
- package/examples/gitlab-agents/pre-commit-quality-check/src/workflow.ts +0 -63
- package/examples/gitlab-agents/pre-commit-quality-check/tsconfig.json +0 -24
- package/examples/gitlab-agents/pre-push-validation/.env.example +0 -11
- package/examples/gitlab-agents/pre-push-validation/.gitlab-ci.yml +0 -34
- package/examples/gitlab-agents/pre-push-validation/Dockerfile +0 -18
- package/examples/gitlab-agents/pre-push-validation/README.md +0 -80
- package/examples/gitlab-agents/pre-push-validation/package.json +0 -28
- package/examples/gitlab-agents/pre-push-validation/src/gitlab-client.ts +0 -20
- package/examples/gitlab-agents/pre-push-validation/src/index.ts +0 -50
- package/examples/gitlab-agents/pre-push-validation/src/types.ts +0 -22
- package/examples/gitlab-agents/pre-push-validation/src/workflow.ts +0 -63
- package/examples/gitlab-agents/pre-push-validation/tsconfig.json +0 -24
- package/examples/gitlab-duo/EXTERNAL_AGENTS.md +0 -466
- package/examples/gitlab-duo/README.md +0 -307
- package/examples/gitlab-duo/code-review-flow.yaml +0 -62
- package/examples/gitlab-duo/external-agent-example.ts +0 -192
- package/examples/gitlab-duo/generated/custom-vars-agent.yaml +0 -45
- package/examples/gitlab-duo/generated/go-agent.yaml +0 -41
- package/examples/gitlab-duo/generated/python-agent.yaml +0 -43
- package/examples/gitlab-duo/generated/webhook-agent.yaml +0 -52
- package/examples/hierarchical-agent.ossa.yaml +0 -83
- package/examples/hierarchical-crewai.ossa.yaml +0 -96
- package/examples/infrastructure/token-rotation/README.md +0 -119
- package/examples/infrastructure/token-rotation/manifest.ossa.yaml +0 -73
- package/examples/infrastructure/token-rotation/openapi.yaml +0 -133
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +0 -115
- package/examples/kagent/README.md +0 -32
- package/examples/kagent/compliance-validator.ossa.yaml +0 -100
- package/examples/kagent/cost-optimizer.ossa.yaml +0 -81
- package/examples/kagent/documentation-agent.ossa.yaml +0 -79
- package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +0 -87
- package/examples/kagent/k8s-troubleshooter.ossa.yaml +0 -102
- package/examples/kagent/ossa-kagent-anthropic.ossa.yaml +0 -36
- package/examples/kagent/ossa-kagent-mcp-tools.ossa.yaml +0 -40
- package/examples/kagent/ossa-kagent-multi-tool.ossa.yaml +0 -41
- package/examples/kagent/ossa-kagent-poc.ossa.yaml +0 -32
- package/examples/kagent/security-scanner.ossa.yaml +0 -84
- package/examples/knowledge-graph/drupal-agent-with-kg.ossa.yaml +0 -289
- package/examples/langchain/chain-agent.ossa.json +0 -58
- package/examples/langflow/workflow-agent.ossa.json +0 -38
- package/examples/langgraph/state-machine-agent.ossa.json +0 -58
- package/examples/lifecycle/mentoring-agent.ossa.json +0 -293
- package/examples/llamaindex/rag-agent.ossa.json +0 -40
- package/examples/mcp/browser-puppeteer.ossa.yaml +0 -232
- package/examples/mcp/database-mcp.ossa.yaml +0 -134
- package/examples/mcp/filesystem-mcp.ossa.yaml +0 -101
- package/examples/messaging/dependency-healer.ossa.yaml +0 -354
- package/examples/messaging/incident-responder.ossa.yaml +0 -477
- package/examples/messaging/routing-rules.ossa.yaml +0 -200
- package/examples/messaging/security-scanner.ossa.yaml +0 -335
- package/examples/migration-guides/from-langchain-to-ossa.yaml +0 -309
- package/examples/migrations/crewai-to-ossa/README.md +0 -66
- package/examples/migrations/langchain/01-python-react-agent-after.ossa.yaml +0 -38
- package/examples/migrations/langchain/01-python-react-agent-before.py +0 -62
- package/examples/migrations/langchain/02-typescript-conversational-after.ossa.yaml +0 -40
- package/examples/migrations/langchain/02-typescript-conversational-before.ts +0 -79
- package/examples/migrations/langchain/03-sequential-chain-after.ossa.yaml +0 -95
- package/examples/migrations/langchain/03-sequential-chain-before.py +0 -100
- package/examples/migrations/langchain/04-config-based-after.ossa.yaml +0 -54
- package/examples/migrations/langchain/04-config-based-before.yaml +0 -52
- package/examples/migrations/langchain/INTEGRATION-EXAMPLE.txt +0 -335
- package/examples/migrations/langchain/USAGE.txt +0 -121
- package/examples/migrations/langchain/test-migrations.ts +0 -135
- package/examples/migrations/langchain-to-ossa/README.md +0 -73
- package/examples/migrations/swarm-to-ossa/COMPARISON.md +0 -350
- package/examples/migrations/swarm-to-ossa/INDEX.md +0 -355
- package/examples/migrations/swarm-to-ossa/MIGRATION-FLOW.md +0 -410
- package/examples/migrations/swarm-to-ossa/QUICKSTART.md +0 -453
- package/examples/migrations/swarm-to-ossa/README.md +0 -665
- package/examples/migrations/swarm-to-ossa/after-handoffs.ossa.yaml +0 -482
- package/examples/migrations/swarm-to-ossa/after-triage-agent.ossa.yaml +0 -315
- package/examples/migrations/swarm-to-ossa/before-triage-agent.py +0 -234
- package/examples/minimal/agent.yml +0 -152
- package/examples/minimal/openapi.yaml +0 -95
- package/examples/mistral-adapter-example.ts +0 -435
- package/examples/mistral-simple.ts +0 -56
- package/examples/mr-reviewer-with-governance.ossa.yaml +0 -130
- package/examples/multi-agent/README.md +0 -74
- package/examples/multi-agent/conditional-router.ossa.yaml +0 -42
- package/examples/multi-agent/parallel-execution.ossa.yaml +0 -54
- package/examples/multi-agent/sequential-pipeline.ossa.yaml +0 -45
- package/examples/multi-agent-research-workflow.ossa.yaml +0 -133
- package/examples/multi-platform/single-manifest/README.md +0 -72
- package/examples/multi-platform/single-manifest/agent.ossa.yaml +0 -32
- package/examples/npm-export-example.ts +0 -150
- package/examples/observability/activity-stream-full.yaml +0 -133
- package/examples/observability/gitlab-ci-template.yml +0 -304
- package/examples/openai/basic-agent.ossa.yaml +0 -60
- package/examples/openai/multi-tool-agent.ossa.json +0 -188
- package/examples/openai/swarm-agent.ossa.json +0 -72
- package/examples/openapi-extensions/README.md +0 -87
- package/examples/openapi-extensions/minimal-agent-api.openapi.yml +0 -288
- package/examples/openapi-extensions/orchestrator-agent-api.openapi.yml +0 -633
- package/examples/openapi-extensions/worker-agent-api.openapi.yml +0 -533
- package/examples/ossa-templates/01-code-assistant.ossa.yaml +0 -114
- package/examples/ossa-templates/02-security-scanner.ossa.yaml +0 -103
- package/examples/ossa-templates/03-ci-pipeline.ossa.yaml +0 -100
- package/examples/ossa-templates/04-code-reviewer.ossa.yaml +0 -116
- package/examples/ossa-templates/05-doc-generator.ossa.yaml +0 -102
- package/examples/ossa-templates/06-compliance-validator.ossa.yaml +0 -132
- package/examples/ossa-templates/07-workflow-orchestrator.ossa.yaml +0 -110
- package/examples/ossa-templates/08-content-writer.ossa.yaml +0 -136
- package/examples/ossa-templates/09-test-generator.ossa.yaml +0 -113
- package/examples/ossa-templates/10-data-transformer.ossa.yaml +0 -102
- package/examples/ossa-templates/11-react-performance-expert.ossa.yaml +0 -384
- package/examples/ossa-templates/12-typescript-type-safety-expert.ossa.yaml +0 -265
- package/examples/ossa-templates/13-accessibility-champion.ossa.yaml +0 -264
- package/examples/ossa-templates/14-security-hardening-agent.ossa.yaml +0 -267
- package/examples/ossa-templates/README.md +0 -98
- package/examples/pipeline-agent.ossa.yaml +0 -196
- package/examples/platform-specific/claude-code-subagent.yaml +0 -185
- package/examples/platform-specific/cursor-coding-agent.yaml +0 -175
- package/examples/platform-specific/warp-terminal-agent.yaml +0 -122
- package/examples/production/agent.yml +0 -713
- package/examples/production/document-analyzer-openai.yml +0 -134
- package/examples/production-ready/01-customer-support-bot/.env.example +0 -32
- package/examples/production-ready/01-customer-support-bot/Dockerfile +0 -30
- package/examples/production-ready/01-customer-support-bot/README.md +0 -295
- package/examples/production-ready/01-customer-support-bot/agent.ossa.yaml +0 -165
- package/examples/production-ready/01-customer-support-bot/docker-compose.yml +0 -55
- package/examples/production-ready/01-customer-support-bot/openapi.yaml +0 -238
- package/examples/production-ready/01-customer-support-bot/package.json +0 -48
- package/examples/production-ready/02-code-review-agent/README.md +0 -72
- package/examples/production-ready/02-code-review-agent/agent.ossa.yaml +0 -239
- package/examples/production-ready/02-code-review-agent/docker-compose.yml +0 -22
- package/examples/production-ready/02-code-review-agent/openapi.yaml +0 -150
- package/examples/production-ready/03-data-analysis-agent/README.md +0 -51
- package/examples/production-ready/03-data-analysis-agent/agent.ossa.yaml +0 -97
- package/examples/production-ready/03-data-analysis-agent/openapi.yaml +0 -74
- package/examples/production-ready/04-content-moderator/README.md +0 -55
- package/examples/production-ready/04-content-moderator/agent.ossa.yaml +0 -131
- package/examples/production-ready/04-content-moderator/openapi.yaml +0 -50
- package/examples/production-ready/05-sales-assistant/README.md +0 -37
- package/examples/production-ready/05-sales-assistant/agent.ossa.yaml +0 -158
- package/examples/production-ready/05-sales-assistant/openapi.yaml +0 -59
- package/examples/production-ready/06-devops-agent/README.md +0 -39
- package/examples/production-ready/06-devops-agent/agent.ossa.yaml +0 -141
- package/examples/production-ready/06-devops-agent/openapi.yaml +0 -51
- package/examples/production-ready/07-research-assistant/README.md +0 -31
- package/examples/production-ready/07-research-assistant/agent.ossa.yaml +0 -127
- package/examples/production-ready/07-research-assistant/openapi.yaml +0 -56
- package/examples/production-ready/08-email-triage-agent/README.md +0 -33
- package/examples/production-ready/08-email-triage-agent/agent.ossa.yaml +0 -133
- package/examples/production-ready/08-email-triage-agent/openapi.yaml +0 -41
- package/examples/production-ready/09-security-scanner/README.md +0 -49
- package/examples/production-ready/09-security-scanner/agent.ossa.yaml +0 -174
- package/examples/production-ready/09-security-scanner/openapi.yaml +0 -46
- package/examples/production-ready/10-meeting-assistant/README.md +0 -53
- package/examples/production-ready/10-meeting-assistant/agent.ossa.yaml +0 -203
- package/examples/production-ready/10-meeting-assistant/docker-compose.yml +0 -27
- package/examples/production-ready/10-meeting-assistant/openapi.yaml +0 -131
- package/examples/production-ready/COMPLETION_REPORT.txt +0 -272
- package/examples/production-ready/INDEX.md +0 -296
- package/examples/production-ready/README.md +0 -452
- package/examples/production-ready/SUMMARY.md +0 -362
- package/examples/production-ready/TEST_RESULTS.md +0 -458
- package/examples/quickstart/support-agent.ossa.yaml +0 -57
- package/examples/rag-agent/README.md +0 -136
- package/examples/rag-agent/index.ts +0 -272
- package/examples/rag-agent/manifest.yaml +0 -45
- package/examples/real-world/gitlab-cicd-optimizer.ossa.yaml +0 -171
- package/examples/real-world/rag-documentation-assistant.ossa.yaml +0 -229
- package/examples/reference-implementations/README.md +0 -321
- package/examples/reference-implementations/curl-scripts/README.md +0 -277
- package/examples/reference-implementations/python-client/README.md +0 -282
- package/examples/reference-implementations/python-client/examples/basic_usage.py +0 -84
- package/examples/reference-implementations/python-client/examples/publish_agent.py +0 -137
- package/examples/reference-implementations/python-client/ossa_client/__init__.py +0 -80
- package/examples/reference-implementations/python-client/ossa_client/agents.py +0 -240
- package/examples/reference-implementations/python-client/ossa_client/client.py +0 -164
- package/examples/reference-implementations/python-client/ossa_client/discovery.py +0 -153
- package/examples/reference-implementations/python-client/ossa_client/messaging.py +0 -227
- package/examples/reference-implementations/python-client/requirements.txt +0 -2
- package/examples/reference-implementations/python-client/setup.py +0 -40
- package/examples/reference-implementations/typescript-client/README.md +0 -227
- package/examples/reference-implementations/typescript-client/examples/basic-usage.ts +0 -86
- package/examples/reference-implementations/typescript-client/examples/messaging.ts +0 -185
- package/examples/reference-implementations/typescript-client/examples/publish-agent.ts +0 -138
- package/examples/reference-implementations/typescript-client/package.json +0 -40
- package/examples/reference-implementations/typescript-client/src/agents.ts +0 -285
- package/examples/reference-implementations/typescript-client/src/client.ts +0 -161
- package/examples/reference-implementations/typescript-client/src/discovery.ts +0 -244
- package/examples/reference-implementations/typescript-client/src/index.ts +0 -67
- package/examples/reference-implementations/typescript-client/src/messaging.ts +0 -385
- package/examples/reference-implementations/typescript-client/tsconfig.json +0 -25
- package/examples/registry/USAGE.txt +0 -105
- package/examples/registry/agents/code-reviewer/agent.yaml +0 -159
- package/examples/registry/agents/security-scanner/agent.yaml +0 -128
- package/examples/registry/index.json +0 -5
- package/examples/roles/drupal-developer.role.yaml +0 -37
- package/examples/roles/platform-operator.role.yaml +0 -28
- package/examples/roles/security-auditor.role.yaml +0 -27
- package/examples/runtime-adapters/bedrock-claude-example.ossa.yaml +0 -99
- package/examples/schema/reusable-components.yaml +0 -95
- package/examples/service-registry-usage.ts +0 -423
- package/examples/showcase/PRODUCTION_EXAMPLES.md +0 -499
- package/examples/showcase/ci-pipeline.ossa.yaml +0 -55
- package/examples/showcase/code-assistant.ossa.yaml +0 -104
- package/examples/showcase/code-reviewer.ossa.yaml +0 -58
- package/examples/showcase/compliance-checker.ossa.yaml +0 -207
- package/examples/showcase/compliance-validator.ossa.yaml +0 -61
- package/examples/showcase/content-writer.ossa.yaml +0 -70
- package/examples/showcase/customer-support.ossa.yaml +0 -344
- package/examples/showcase/data-processing-pipeline.ossa.yaml +0 -254
- package/examples/showcase/data-transformer.ossa.yaml +0 -76
- package/examples/showcase/doc-generator.ossa.yaml +0 -66
- package/examples/showcase/full-power-agent.ossa.yaml +0 -350
- package/examples/showcase/security-scanner-enhanced.ossa.yaml +0 -304
- package/examples/showcase/security-scanner.ossa.yaml +0 -66
- package/examples/showcase/team-leader.ossa.yaml +0 -306
- package/examples/showcase/test-generator.ossa.yaml +0 -37
- package/examples/showcase/workflow-orchestrator.ossa.yaml +0 -114
- package/examples/single-agent.ossa.yaml +0 -40
- package/examples/skills/drupal-code-analysis/skill.ossa.yaml +0 -111
- package/examples/skills/git-commit-review/skill.ossa.yaml +0 -86
- package/examples/skills/tdd-workflow/skill.ossa.yaml +0 -93
- package/examples/skills-example.ossa.yaml +0 -140
- package/examples/spec-examples/audit-agent.yml +0 -147
- package/examples/spec-examples/chat-agent.yml +0 -189
- package/examples/spec-examples/compliance-agent.yml +0 -204
- package/examples/spec-examples/data-processing-agent.yml +0 -132
- package/examples/spec-examples/development-agent.yml +0 -138
- package/examples/spec-examples/edge-agent.yml +0 -101
- package/examples/spec-examples/integration-agent.yml +0 -129
- package/examples/spec-examples/monitoring-agent.yml +0 -130
- package/examples/spec-examples/serverless-agent.yml +0 -82
- package/examples/spec-examples/workflow-agent.yml +0 -223
- package/examples/subagents-pipeline.ossa.yaml +0 -76
- package/examples/swarm/pso-optimizer.ossa.json +0 -171
- package/examples/swarm-agent.ossa.yaml +0 -98
- package/examples/swarm-handoff.ossa.yaml +0 -67
- package/examples/tasks/batch-email-sender.yaml +0 -105
- package/examples/tasks/data-transform.yaml +0 -82
- package/examples/tasks/publish-content.yaml +0 -86
- package/examples/team-agent.ossa.yaml +0 -110
- package/examples/team-lead-teammate.ossa.yaml +0 -78
- package/examples/templates/ossa-compliance.yaml +0 -56
- package/examples/token-efficiency/security-scanner.ossa.yaml +0 -53
- package/examples/typescript/advanced/demo-registry.ts +0 -168
- package/examples/typescript/mcpb-agent-example.ts +0 -358
- package/examples/unified/security-scanner.ossa.yaml +0 -308
- package/examples/validation/error-codes-demo.ts +0 -254
- package/examples/vercel/edge-agent.ossa.json +0 -44
- package/examples/workflow-agent/README.md +0 -175
- package/examples/workflow-agent/index.ts +0 -408
- package/examples/workflow-agent/manifest.yaml +0 -41
- package/examples/workflows/batch-email-campaign.yaml +0 -140
- package/examples/workflows/content-review-publish.yaml +0 -156
- package/examples/workflows/simple-etl.yaml +0 -151
- package/openapi/CHANGELOG.md +0 -21
- package/openapi/README.md +0 -46
- package/openapi/agent-cognition-sessions.yaml +0 -580
- package/openapi/agent-communication.yaml +0 -1120
- package/openapi/agent-crud.yaml +0 -1102
- package/openapi/agent-discovery.yaml +0 -715
- package/openapi/agent-identity.yaml +0 -652
- package/openapi/agent-taxonomy.yaml +0 -378
- package/openapi/agents-md-service.yaml +0 -411
- package/openapi/cli/openapi.yaml +0 -1732
- package/openapi/core/ossa-core-api.openapi.yaml +0 -1321
- package/openapi/core/ossa-registry-api.openapi.yaml +0 -1043
- package/openapi/core/ossa-registry.openapi.yaml +0 -964
- package/openapi/core/unified-agent-gateway.openapi.yaml +0 -897
- package/openapi/daemon-api.openapi.yaml +0 -968
- package/openapi/dev-cli/openapi.yaml +0 -992
- package/openapi/github-sync.yaml +0 -158
- package/openapi/marketplace-plugin.openapi.yaml +0 -2358
- package/openapi/ossa-api.openapi.yaml +0 -1237
- package/openapi/ossa-cli-enhancements.openapi.yaml +0 -608
- package/openapi/ossa-cli.yaml +0 -1051
- package/openapi/protocols/sse-streams.yaml +0 -471
- package/openapi/protocols/websocket-events.yaml +0 -434
- package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +0 -153
- package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +0 -204
- package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +0 -160
- package/openapi/reference-implementations/critic-agent-api.openapi.yaml +0 -177
- package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +0 -223
- package/openapi/reference-implementations/drupal-agent-api.openapi.yaml +0 -399
- package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +0 -160
- package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +0 -155
- package/openapi/reference-implementations/governor-agent-api.openapi.yaml +0 -211
- package/openapi/reference-implementations/helm-generator.openapi.yaml +0 -431
- package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +0 -175
- package/openapi/reference-implementations/judge-agent-api.openapi.yaml +0 -154
- package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +0 -181
- package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +0 -182
- package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +0 -184
- package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +0 -264
- package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +0 -195
- package/openapi/reference-implementations/self-evolving-ecosystem.openapi.yaml +0 -1664
- package/openapi/reference-implementations/worker-agent-api.openapi.yaml +0 -219
- package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +0 -207
- package/openapi/registry.yaml +0 -49
- package/openapi/release-automation.openapi.yaml +0 -178
- package/openapi/schemas/common/agent.yaml +0 -264
- package/openapi/schemas/common/economics.yaml +0 -98
- package/openapi/schemas/common/errors.yaml +0 -85
- package/openapi/schemas/common/metadata.yaml +0 -86
- package/openapi/schemas/common/pagination.yaml +0 -84
- package/openapi/schemas/common/security.yaml +0 -96
- package/openapi/schemas/discovery.json +0 -488
- package/openapi/schemas/index.yaml +0 -95
- package/openapi/uadp-asyncapi.yaml +0 -434
- package/openapi/uadp-openapi.yaml +0 -865
- package/openapi/version-management.openapi.yaml +0 -761
- package/spec/extensions/a2a-messaging.md +0 -471
- package/spec/extensions/cognition.schema.json +0 -87
- package/spec/extensions/knowledge-graph/knowledge-graph.schema.json +0 -386
- package/spec/extensions/manifest-extensions.md +0 -550
- package/spec/extensions/openapi/ossa-openapi-extensions.schema.json +0 -804
- package/spec/extensions/role-manifest.md +0 -188
- package/spec/extensions/skills-compatibility.md +0 -292
- package/spec/layer4-economics/duadp-examples.json +0 -44
- package/spec/ossa-audit-api.yaml +0 -311
- package/spec/schema/agent-test.schema.json +0 -117
- package/spec/schema/components/activity-stream.schema.json +0 -94
- package/spec/schema/components/adapter.schema.json +0 -33
- package/spec/schema/components/constraints.schema.json +0 -84
- package/spec/schema/components/dependencies.schema.json +0 -147
- package/spec/schema/components/encryption.schema.json +0 -115
- package/spec/schema/components/identity.schema.json +0 -126
- package/spec/schema/components/index.json +0 -37
- package/spec/schema/components/llm-config.schema.json +0 -67
- package/spec/schema/components/metadata.schema.json +0 -52
- package/spec/schema/components/tool.schema.json +0 -64
- package/spec/schema/extensions/a2a.extension.schema.json +0 -127
- package/spec/uadp/README.md +0 -393
- package/spec/uadp/openapi.yaml +0 -387
- package/spec/uadp/schemas/uadp-agents-response.schema.json +0 -68
- package/spec/uadp/schemas/uadp-federation-response.schema.json +0 -46
- package/spec/uadp/schemas/uadp-manifest.schema.json +0 -82
- package/spec/uadp/schemas/uadp-skills-response.schema.json +0 -72
- package/spec/v0.4/agent-card.schema.json +0 -477
- package/spec/v0.4/agent.schema.json +0 -1581
- package/spec/v0.4/conformance/profiles/baseline.json +0 -19
- package/spec/v0.4/conformance/profiles/enterprise.json +0 -20
- package/spec/v0.4/extensions/a2a/README.md +0 -193
- package/spec/v0.4/extensions/a2a/a2a.schema.json +0 -77
- package/spec/v0.4/extensions/ag2/ag2.schema.json +0 -277
- package/spec/v0.4/extensions/cognition/cognition.schema.json +0 -94
- package/spec/v0.4/extensions/cognition/thought-node.schema.json +0 -80
- package/spec/v0.4/extensions/crewai/crewai.schema.json +0 -256
- package/spec/v0.4/extensions/drupal/drupal.schema.json +0 -318
- package/spec/v0.4/extensions/evals/evals.schema.json +0 -597
- package/spec/v0.4/extensions/governance/governance-extension.yaml +0 -161
- package/spec/v0.4/extensions/identity/identity.schema.json +0 -302
- package/spec/v0.4/extensions/kagent/README.md +0 -315
- package/spec/v0.4/extensions/kagent/kagent.schema.json +0 -624
- package/spec/v0.4/extensions/langchain/langchain.schema.json +0 -243
- package/spec/v0.4/extensions/langgraph/langgraph.schema.json +0 -211
- package/spec/v0.4/extensions/mcp/README.md +0 -276
- package/spec/v0.4/extensions/mcp/mcp.schema.json +0 -84
- package/spec/v0.4/extensions/memory/memory.schema.json +0 -7
- package/spec/v0.4/extensions/team/team.schema.json +0 -304
- package/spec/v0.4/extensions/token-efficiency/token-efficiency.schema.json +0 -47
- package/spec/v0.4/mcp.schema.json +0 -1
- package/spec/v0.4/skill.schema.json +0 -1
- package/spec/v0.4/validator.schema.json +0 -282
- package/spec/v1/agent-card.schema.json +0 -254
- package/spec/v1/mcp.schema.json +0 -183
- package/spec/v1/skill.schema.json +0 -346
- package/templates/agent-types/claude-agent.ossa.yaml +0 -83
- package/templates/agent-types/kagent.ossa.yaml +0 -110
- package/templates/agent-types/langchain-agent.ossa.yaml +0 -106
- package/templates/agent-types/openapi-agent.ossa.yaml +0 -121
- package/templates/agent-types/swarm-agents.ossa.yaml +0 -168
- package/templates/ci-cd/github-actions.deploy.yml +0 -272
- package/templates/ci-cd/gitlab-ci.deploy.yml +0 -205
- package/templates/validators/capability-compatibility.ossa.yaml +0 -174
- package/templates/validators/coordination-consistency.ossa.yaml +0 -160
- package/templates/validators/pattern-requirements.ossa.yaml +0 -182
- package/templates/validators/transport-compatibility.ossa.yaml +0 -185
|
@@ -1,1769 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CrewAI Platform Adapter
|
|
3
|
-
* Exports OSSA agent manifests to CrewAI format (Python)
|
|
4
|
-
*
|
|
5
|
-
* CrewAI is a framework for orchestrating role-playing autonomous AI agents.
|
|
6
|
-
* It excels at multi-agent collaboration and task delegation.
|
|
7
|
-
*
|
|
8
|
-
* SOLID: Single Responsibility - CrewAI export only
|
|
9
|
-
* DRY: Reuses BaseAdapter validation and existing converter
|
|
10
|
-
*/
|
|
11
|
-
import * as yaml from 'yaml';
|
|
12
|
-
import { BaseAdapter } from '../base/adapter.interface.js';
|
|
13
|
-
import { getApiVersion } from '../../utils/version.js';
|
|
14
|
-
import { generatePythonToolParams } from '../base/tool-params.js';
|
|
15
|
-
import { CrewAIConverter } from './converter.js';
|
|
16
|
-
export class CrewAIAdapter extends BaseAdapter {
|
|
17
|
-
platform = 'crewai';
|
|
18
|
-
displayName = 'CrewAI';
|
|
19
|
-
description = 'CrewAI multi-agent framework (Python)';
|
|
20
|
-
status = 'beta';
|
|
21
|
-
supportedVersions = ['v0.3.6', 'v{{VERSION}}'];
|
|
22
|
-
converter = new CrewAIConverter();
|
|
23
|
-
/**
|
|
24
|
-
* Export OSSA manifest to CrewAI format
|
|
25
|
-
*/
|
|
26
|
-
async export(manifest, options) {
|
|
27
|
-
const startTime = Date.now();
|
|
28
|
-
try {
|
|
29
|
-
// Validate manifest
|
|
30
|
-
if (options?.validate !== false) {
|
|
31
|
-
const validation = await this.validate(manifest);
|
|
32
|
-
if (!validation.valid) {
|
|
33
|
-
return this.createResult(false, [], `Validation failed: ${validation.errors?.map((e) => e.message).join(', ')}`, {
|
|
34
|
-
duration: Date.now() - startTime,
|
|
35
|
-
warnings: validation.warnings?.map((w) => w.message),
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
// Convert to CrewAI config
|
|
40
|
-
const config = this.converter.convert(manifest);
|
|
41
|
-
const files = [];
|
|
42
|
-
const projectName = manifest.metadata?.name || 'crew';
|
|
43
|
-
// Generate directory structure: agents/, tasks/, crew/, tools/
|
|
44
|
-
// 1. agents/ directory - Individual agent definitions
|
|
45
|
-
const agentsCode = this.generateAgentsCode(config, manifest);
|
|
46
|
-
files.push(this.createFile('agents/__init__.py', agentsCode, 'code', 'python'));
|
|
47
|
-
// 2. tasks/ directory - Task definitions
|
|
48
|
-
const tasksCode = this.generateTasksCode(config, manifest);
|
|
49
|
-
files.push(this.createFile('tasks/__init__.py', tasksCode, 'code', 'python'));
|
|
50
|
-
// 3. tools/ directory - Custom tool implementations
|
|
51
|
-
const toolsCode = this.generateToolsCode(manifest);
|
|
52
|
-
files.push(this.createFile('tools/__init__.py', toolsCode, 'code', 'python'));
|
|
53
|
-
const customToolsCode = this.generateCustomToolsCode(manifest);
|
|
54
|
-
files.push(this.createFile('tools/custom_tools.py', customToolsCode, 'code', 'python'));
|
|
55
|
-
// 4. crew/ directory - Crew setup and orchestration
|
|
56
|
-
const crewCode = this.generateCrewCode(config, manifest);
|
|
57
|
-
files.push(this.createFile('crew/__init__.py', crewCode, 'code', 'python'));
|
|
58
|
-
const crewSetupCode = this.generateCrewSetupCode(config, manifest);
|
|
59
|
-
files.push(this.createFile('crew/crew.py', crewSetupCode, 'code', 'python'));
|
|
60
|
-
// 5. main.py - Entry point
|
|
61
|
-
const mainCode = this.generateMainCode(manifest);
|
|
62
|
-
files.push(this.createFile('main.py', mainCode, 'code', 'python'));
|
|
63
|
-
// 6. Configuration files
|
|
64
|
-
const requirements = this.generateRequirements();
|
|
65
|
-
files.push(this.createFile('requirements.txt', requirements, 'config'));
|
|
66
|
-
const envExample = this.generateEnvExample(manifest);
|
|
67
|
-
files.push(this.createFile('.env.example', envExample, 'config'));
|
|
68
|
-
const dockerignore = this.generateDockerignore();
|
|
69
|
-
files.push(this.createFile('.dockerignore', dockerignore, 'config'));
|
|
70
|
-
const gitignore = this.generateGitignore();
|
|
71
|
-
files.push(this.createFile('.gitignore', gitignore, 'config'));
|
|
72
|
-
// 7. Documentation
|
|
73
|
-
const readme = this.generateReadme(manifest, config);
|
|
74
|
-
files.push(this.createFile('README.md', readme, 'documentation'));
|
|
75
|
-
const deployment = this.generateDeploymentGuide(manifest);
|
|
76
|
-
files.push(this.createFile('DEPLOYMENT.md', deployment, 'documentation'));
|
|
77
|
-
// Include source OSSA manifest for provenance
|
|
78
|
-
files.push(this.createFile('agent.ossa.yaml', yaml.stringify(manifest), 'config', 'yaml'));
|
|
79
|
-
// 8. Examples
|
|
80
|
-
const exampleUsage = this.generateExampleUsage(manifest);
|
|
81
|
-
files.push(this.createFile('examples/basic_usage.py', exampleUsage, 'code', 'python'));
|
|
82
|
-
const exampleAsync = this.generateExampleAsync(manifest);
|
|
83
|
-
files.push(this.createFile('examples/async_usage.py', exampleAsync, 'code', 'python'));
|
|
84
|
-
// 9. Tests (if requested)
|
|
85
|
-
if (options?.includeTests) {
|
|
86
|
-
const testsCode = this.generateTestsCode(manifest);
|
|
87
|
-
files.push(this.createFile('tests/test_crew.py', testsCode, 'test', 'python'));
|
|
88
|
-
const testToolsCode = this.generateTestToolsCode(manifest);
|
|
89
|
-
files.push(this.createFile('tests/test_tools.py', testToolsCode, 'test', 'python'));
|
|
90
|
-
}
|
|
91
|
-
// Perfect Agent files
|
|
92
|
-
files.push(...(await this.generatePerfectAgentFiles(manifest, options)));
|
|
93
|
-
return this.createResult(true, files, undefined, {
|
|
94
|
-
duration: Date.now() - startTime,
|
|
95
|
-
version: '0.1.0',
|
|
96
|
-
structure: 'production-grade',
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
catch (error) {
|
|
100
|
-
return this.createResult(false, [], error instanceof Error ? error.message : String(error), { duration: Date.now() - startTime });
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* Produce lightweight JSON config for MCP tool responses.
|
|
105
|
-
*/
|
|
106
|
-
async toConfig(manifest) {
|
|
107
|
-
const meta = manifest.metadata || { name: 'agent', version: '0.0.0' };
|
|
108
|
-
const config = {
|
|
109
|
-
agents: [
|
|
110
|
-
{
|
|
111
|
-
role: meta.name,
|
|
112
|
-
goal: meta.description || '',
|
|
113
|
-
backstory: manifest.spec?.role || '',
|
|
114
|
-
llm: manifest.spec?.llm?.model || 'gpt-4',
|
|
115
|
-
tools: (manifest.spec?.tools || []).map((t) => t.name),
|
|
116
|
-
},
|
|
117
|
-
],
|
|
118
|
-
};
|
|
119
|
-
return {
|
|
120
|
-
config,
|
|
121
|
-
filename: `${meta.name}.crewai.yaml`,
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Validate manifest for CrewAI compatibility
|
|
126
|
-
*/
|
|
127
|
-
async validate(manifest) {
|
|
128
|
-
const errors = [];
|
|
129
|
-
const warnings = [];
|
|
130
|
-
// Base validation
|
|
131
|
-
const baseValidation = await super.validate(manifest);
|
|
132
|
-
if (baseValidation.errors)
|
|
133
|
-
errors.push(...baseValidation.errors);
|
|
134
|
-
if (baseValidation.warnings)
|
|
135
|
-
warnings.push(...baseValidation.warnings);
|
|
136
|
-
// CrewAI-specific validation
|
|
137
|
-
const spec = manifest.spec;
|
|
138
|
-
// Check for workflow (CrewAI excels at multi-agent workflows)
|
|
139
|
-
const workflow = spec?.workflow;
|
|
140
|
-
if (!workflow || !workflow.steps || workflow.steps.length === 0) {
|
|
141
|
-
warnings.push({
|
|
142
|
-
message: 'No workflow defined, will create single-agent crew',
|
|
143
|
-
path: 'spec.workflow',
|
|
144
|
-
suggestion: 'Add spec.workflow.steps for multi-agent collaboration',
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
// Check for role (required for CrewAI agents)
|
|
148
|
-
if (!spec?.role) {
|
|
149
|
-
errors.push({
|
|
150
|
-
message: 'Role is required for CrewAI agents',
|
|
151
|
-
path: 'spec.role',
|
|
152
|
-
code: 'MISSING_REQUIRED_FIELD',
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
return {
|
|
156
|
-
valid: errors.length === 0,
|
|
157
|
-
errors: errors.length > 0 ? errors : undefined,
|
|
158
|
-
warnings: warnings.length > 0 ? warnings : undefined,
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* Get example CrewAI-optimized manifest
|
|
163
|
-
*/
|
|
164
|
-
getExample() {
|
|
165
|
-
return {
|
|
166
|
-
apiVersion: 'ossa/v{{VERSION}}',
|
|
167
|
-
kind: 'Agent',
|
|
168
|
-
metadata: {
|
|
169
|
-
name: 'crewai-research-team',
|
|
170
|
-
version: '1.0.0',
|
|
171
|
-
description: 'Multi-agent research team using CrewAI',
|
|
172
|
-
},
|
|
173
|
-
spec: {
|
|
174
|
-
role: 'Research Team Lead',
|
|
175
|
-
workflow: {
|
|
176
|
-
steps: [
|
|
177
|
-
{
|
|
178
|
-
agent: 'researcher',
|
|
179
|
-
task: 'research',
|
|
180
|
-
description: 'Conduct research on the given topic',
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
agent: 'analyst',
|
|
184
|
-
task: 'analyze',
|
|
185
|
-
description: 'Analyze research findings and identify patterns',
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
agent: 'writer',
|
|
189
|
-
task: 'write',
|
|
190
|
-
description: 'Write comprehensive report based on analysis',
|
|
191
|
-
},
|
|
192
|
-
],
|
|
193
|
-
},
|
|
194
|
-
tools: [
|
|
195
|
-
{
|
|
196
|
-
type: 'api',
|
|
197
|
-
name: 'web_search',
|
|
198
|
-
description: 'Search the web for information',
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
type: 'api',
|
|
202
|
-
name: 'document_analyzer',
|
|
203
|
-
description: 'Analyze documents and extract insights',
|
|
204
|
-
},
|
|
205
|
-
],
|
|
206
|
-
},
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* Generate agents.py - Agent definitions
|
|
211
|
-
*/
|
|
212
|
-
generateAgentsCode(config, manifest) {
|
|
213
|
-
return `"""
|
|
214
|
-
CrewAI Agent Definitions
|
|
215
|
-
Generated from OSSA manifest: ${manifest.metadata?.name || 'unknown'}
|
|
216
|
-
"""
|
|
217
|
-
|
|
218
|
-
from crewai import Agent
|
|
219
|
-
from tools import get_tools
|
|
220
|
-
|
|
221
|
-
# Define agents
|
|
222
|
-
${config.agents
|
|
223
|
-
.map((agent) => `
|
|
224
|
-
${agent.role.replace(/[^a-zA-Z0-9]/g, '_')}_agent = Agent(
|
|
225
|
-
role="${agent.role}",
|
|
226
|
-
goal="${agent.goal}",
|
|
227
|
-
backstory="""${agent.backstory}""",
|
|
228
|
-
tools=get_tools(),
|
|
229
|
-
verbose=${agent.verbose ? 'True' : 'False'},
|
|
230
|
-
allow_delegation=True,
|
|
231
|
-
)`)
|
|
232
|
-
.join('\n')}
|
|
233
|
-
|
|
234
|
-
# Export all agents
|
|
235
|
-
agents = [
|
|
236
|
-
${config.agents.map((agent) => ` ${agent.role.replace(/[^a-zA-Z0-9]/g, '_')}_agent`).join(',\n')}
|
|
237
|
-
]
|
|
238
|
-
`;
|
|
239
|
-
}
|
|
240
|
-
/**
|
|
241
|
-
* Generate tasks.py - Task definitions
|
|
242
|
-
*/
|
|
243
|
-
generateTasksCode(config, manifest) {
|
|
244
|
-
return `"""
|
|
245
|
-
CrewAI Task Definitions
|
|
246
|
-
Generated from OSSA manifest: ${manifest.metadata?.name || 'unknown'}
|
|
247
|
-
"""
|
|
248
|
-
|
|
249
|
-
from crewai import Task
|
|
250
|
-
from agents import agents
|
|
251
|
-
|
|
252
|
-
# Define tasks
|
|
253
|
-
${config.tasks
|
|
254
|
-
.map((task, index) => `
|
|
255
|
-
task_${index + 1} = Task(
|
|
256
|
-
description="""${task.description}""",
|
|
257
|
-
agent=agents[${config.agents.findIndex((a) => a.role === task.agent) || 0}],
|
|
258
|
-
expected_output="""${task.expected_output || 'Task completed'}""",
|
|
259
|
-
)`)
|
|
260
|
-
.join('\n')}
|
|
261
|
-
|
|
262
|
-
# Export all tasks
|
|
263
|
-
tasks = [
|
|
264
|
-
${config.tasks.map((_, index) => ` task_${index + 1}`).join(',\n')}
|
|
265
|
-
]
|
|
266
|
-
`;
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* Generate tools.py - Tool implementations
|
|
270
|
-
*/
|
|
271
|
-
generateToolsCode(manifest) {
|
|
272
|
-
const tools = (manifest.spec?.tools || []);
|
|
273
|
-
const allImports = new Set();
|
|
274
|
-
const toolDefs = tools.map((t) => {
|
|
275
|
-
const { params, imports, docParams } = generatePythonToolParams(t);
|
|
276
|
-
imports.forEach((i) => allImports.add(i));
|
|
277
|
-
return `
|
|
278
|
-
@tool
|
|
279
|
-
def ${t.name || 'unknown_tool'}(${params}) -> str:
|
|
280
|
-
"""${t.description || 'Tool implementation'}
|
|
281
|
-
|
|
282
|
-
Args:
|
|
283
|
-
${docParams}
|
|
284
|
-
"""
|
|
285
|
-
return json.dumps({"result": "ok", "tool": "${t.name || 'tool'}"})
|
|
286
|
-
`;
|
|
287
|
-
});
|
|
288
|
-
const extraImports = allImports.size > 0 ? '\n' + Array.from(allImports).join('\n') : '';
|
|
289
|
-
return `"""
|
|
290
|
-
CrewAI Tool Implementations
|
|
291
|
-
Generated from OSSA manifest: ${manifest.metadata?.name || 'unknown'}
|
|
292
|
-
"""
|
|
293
|
-
|
|
294
|
-
import json
|
|
295
|
-
from crewai_tools import tool
|
|
296
|
-
from typing import Any${extraImports}
|
|
297
|
-
|
|
298
|
-
${toolDefs.join('\n')}
|
|
299
|
-
|
|
300
|
-
def get_tools() -> list:
|
|
301
|
-
"""Return all available tools"""
|
|
302
|
-
return [
|
|
303
|
-
${tools.map((t) => ` ${t.name || 'unknown_tool'}`).join(',\n')}
|
|
304
|
-
]
|
|
305
|
-
`;
|
|
306
|
-
}
|
|
307
|
-
/**
|
|
308
|
-
* Generate crew/__init__.py - Crew module exports
|
|
309
|
-
*/
|
|
310
|
-
generateCrewCode(config, manifest) {
|
|
311
|
-
return `"""
|
|
312
|
-
${manifest.metadata?.name || 'CrewAI'} Crew Module
|
|
313
|
-
Generated from OSSA manifest
|
|
314
|
-
|
|
315
|
-
This module exports the main crew instance.
|
|
316
|
-
"""
|
|
317
|
-
|
|
318
|
-
from .crew import ${this.toPascalCase(manifest.metadata?.name || 'crew')}
|
|
319
|
-
|
|
320
|
-
__all__ = ['${this.toPascalCase(manifest.metadata?.name || 'crew')}']
|
|
321
|
-
`;
|
|
322
|
-
}
|
|
323
|
-
/**
|
|
324
|
-
* Generate crew/crew.py - Main crew setup
|
|
325
|
-
*/
|
|
326
|
-
generateCrewSetupCode(config, manifest) {
|
|
327
|
-
const className = this.toPascalCase(manifest.metadata?.name || 'crew');
|
|
328
|
-
return `"""
|
|
329
|
-
${manifest.metadata?.name || 'CrewAI'} Crew Setup
|
|
330
|
-
Generated from OSSA manifest: ${manifest.metadata?.name || 'unknown'}
|
|
331
|
-
|
|
332
|
-
This module defines the main crew orchestration.
|
|
333
|
-
"""
|
|
334
|
-
|
|
335
|
-
from crewai import Crew, Process
|
|
336
|
-
from agents import agents
|
|
337
|
-
from tasks import tasks
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
class ${className}:
|
|
341
|
-
"""Main crew orchestration class"""
|
|
342
|
-
|
|
343
|
-
def __init__(self):
|
|
344
|
-
"""Initialize the crew"""
|
|
345
|
-
self.agents = agents
|
|
346
|
-
self.tasks = tasks
|
|
347
|
-
self.crew = self._create_crew()
|
|
348
|
-
|
|
349
|
-
def _create_crew(self) -> Crew:
|
|
350
|
-
"""Create and configure the crew"""
|
|
351
|
-
return Crew(
|
|
352
|
-
agents=self.agents,
|
|
353
|
-
tasks=self.tasks,
|
|
354
|
-
process=Process.${config.process || 'sequential'},
|
|
355
|
-
verbose=${config.verbose ? 'True' : 'False'},
|
|
356
|
-
)
|
|
357
|
-
|
|
358
|
-
def kickoff(self, inputs: dict = None) -> str:
|
|
359
|
-
"""
|
|
360
|
-
Execute the crew with optional inputs
|
|
361
|
-
|
|
362
|
-
Args:
|
|
363
|
-
inputs: Dictionary of input parameters
|
|
364
|
-
|
|
365
|
-
Returns:
|
|
366
|
-
Crew execution result
|
|
367
|
-
"""
|
|
368
|
-
if inputs is None:
|
|
369
|
-
inputs = {}
|
|
370
|
-
|
|
371
|
-
return self.crew.kickoff(inputs=inputs)
|
|
372
|
-
|
|
373
|
-
async def kickoff_async(self, inputs: dict = None) -> str:
|
|
374
|
-
"""
|
|
375
|
-
Execute the crew asynchronously
|
|
376
|
-
|
|
377
|
-
Args:
|
|
378
|
-
inputs: Dictionary of input parameters
|
|
379
|
-
|
|
380
|
-
Returns:
|
|
381
|
-
Crew execution result
|
|
382
|
-
"""
|
|
383
|
-
if inputs is None:
|
|
384
|
-
inputs = {}
|
|
385
|
-
|
|
386
|
-
return await self.crew.kickoff_async(inputs=inputs)
|
|
387
|
-
`;
|
|
388
|
-
}
|
|
389
|
-
/**
|
|
390
|
-
* Generate tools/custom_tools.py - Custom tool implementations
|
|
391
|
-
*/
|
|
392
|
-
generateCustomToolsCode(manifest) {
|
|
393
|
-
const tools = (manifest.spec?.tools || []);
|
|
394
|
-
const allImports = new Set();
|
|
395
|
-
const toolDefs = tools.map((t) => {
|
|
396
|
-
const { params, imports, docParams } = generatePythonToolParams(t);
|
|
397
|
-
imports.forEach((i) => allImports.add(i));
|
|
398
|
-
return `@tool("${t.name || 'unknown_tool'}")
|
|
399
|
-
def ${t.name || 'unknown_tool'}(${params}) -> str:
|
|
400
|
-
"""
|
|
401
|
-
${t.description || 'Tool implementation'}
|
|
402
|
-
|
|
403
|
-
Args:
|
|
404
|
-
${docParams}
|
|
405
|
-
|
|
406
|
-
Returns:
|
|
407
|
-
Tool execution result
|
|
408
|
-
"""
|
|
409
|
-
return json.dumps({"result": "ok", "tool": "${t.name || 'tool'}"})
|
|
410
|
-
`;
|
|
411
|
-
});
|
|
412
|
-
const extraImports = allImports.size > 0 ? '\n' + Array.from(allImports).join('\n') : '';
|
|
413
|
-
return `"""
|
|
414
|
-
Custom Tool Implementations
|
|
415
|
-
Generated from OSSA manifest: ${manifest.metadata?.name || 'unknown'}
|
|
416
|
-
|
|
417
|
-
Implement your custom tools here following CrewAI's tool decorator pattern.
|
|
418
|
-
"""
|
|
419
|
-
|
|
420
|
-
import json
|
|
421
|
-
from crewai_tools import tool
|
|
422
|
-
from typing import Any, Optional${extraImports}
|
|
423
|
-
import os
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
${toolDefs.join('\n\n')}
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
# Add more custom tools as needed
|
|
430
|
-
${tools.length === 0
|
|
431
|
-
? `
|
|
432
|
-
@tool("example_tool")
|
|
433
|
-
def example_tool(query: str) -> str:
|
|
434
|
-
"""
|
|
435
|
-
Example tool implementation
|
|
436
|
-
|
|
437
|
-
Args:
|
|
438
|
-
query: Query string
|
|
439
|
-
|
|
440
|
-
Returns:
|
|
441
|
-
Tool result
|
|
442
|
-
"""
|
|
443
|
-
return json.dumps({"result": "ok", "tool": "example_tool"})
|
|
444
|
-
`
|
|
445
|
-
: ''}
|
|
446
|
-
`;
|
|
447
|
-
}
|
|
448
|
-
/**
|
|
449
|
-
* Generate main.py - Entry point
|
|
450
|
-
*/
|
|
451
|
-
generateMainCode(manifest) {
|
|
452
|
-
const className = this.toPascalCase(manifest.metadata?.name || 'crew');
|
|
453
|
-
const llmProvider = manifest.spec?.llm?.provider || 'openai';
|
|
454
|
-
const primaryApiKey = llmProvider === 'anthropic' ? 'ANTHROPIC_API_KEY' : 'OPENAI_API_KEY';
|
|
455
|
-
return `#!/usr/bin/env python3
|
|
456
|
-
"""
|
|
457
|
-
${manifest.metadata?.name || 'CrewAI Crew'} - Main Entry Point
|
|
458
|
-
Generated from OSSA manifest
|
|
459
|
-
|
|
460
|
-
Run this file to execute the crew.
|
|
461
|
-
"""
|
|
462
|
-
|
|
463
|
-
import os
|
|
464
|
-
import sys
|
|
465
|
-
from dotenv import load_dotenv
|
|
466
|
-
from crew import ${className}
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
def main():
|
|
470
|
-
"""Main execution function"""
|
|
471
|
-
# Load environment variables
|
|
472
|
-
load_dotenv()
|
|
473
|
-
|
|
474
|
-
# Validate required environment variables
|
|
475
|
-
required_vars = ['${primaryApiKey}']
|
|
476
|
-
missing_vars = [var for var in required_vars if not os.getenv(var)]
|
|
477
|
-
|
|
478
|
-
if missing_vars:
|
|
479
|
-
print(f"Error: Missing required environment variables: {', '.join(missing_vars)}")
|
|
480
|
-
print("Please copy .env.example to .env and set the required values")
|
|
481
|
-
sys.exit(1)
|
|
482
|
-
|
|
483
|
-
# Initialize crew
|
|
484
|
-
print("Initializing ${manifest.metadata?.name || 'crew'}...")
|
|
485
|
-
crew = ${className}()
|
|
486
|
-
|
|
487
|
-
# Execute crew
|
|
488
|
-
print("\\nExecuting crew...\\n")
|
|
489
|
-
|
|
490
|
-
inputs = {
|
|
491
|
-
# Add your input parameters here
|
|
492
|
-
# "topic": "AI agents",
|
|
493
|
-
# "context": "research paper",
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
try:
|
|
497
|
-
result = crew.kickoff(inputs=inputs)
|
|
498
|
-
|
|
499
|
-
print("\\n" + "="*80)
|
|
500
|
-
print("CREW EXECUTION RESULT")
|
|
501
|
-
print("="*80)
|
|
502
|
-
print(result)
|
|
503
|
-
print("="*80 + "\\n")
|
|
504
|
-
|
|
505
|
-
except Exception as e:
|
|
506
|
-
print(f"Error executing crew: {str(e)}")
|
|
507
|
-
sys.exit(1)
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
if __name__ == "__main__":
|
|
511
|
-
main()
|
|
512
|
-
`;
|
|
513
|
-
}
|
|
514
|
-
/**
|
|
515
|
-
* Generate requirements.txt
|
|
516
|
-
*/
|
|
517
|
-
generateRequirements() {
|
|
518
|
-
return `# CrewAI Framework
|
|
519
|
-
crewai>=0.28.0
|
|
520
|
-
crewai-tools>=0.4.0
|
|
521
|
-
|
|
522
|
-
# LLM Providers
|
|
523
|
-
openai>=1.12.0
|
|
524
|
-
anthropic>=0.18.0
|
|
525
|
-
|
|
526
|
-
# Utilities
|
|
527
|
-
python-dotenv>=1.0.0
|
|
528
|
-
pydantic>=2.6.0
|
|
529
|
-
|
|
530
|
-
# Optional: Enhanced features
|
|
531
|
-
langchain>=0.1.0
|
|
532
|
-
langchain-community>=0.0.20
|
|
533
|
-
`;
|
|
534
|
-
}
|
|
535
|
-
/**
|
|
536
|
-
* Generate .env.example
|
|
537
|
-
*/
|
|
538
|
-
generateEnvExample(manifest) {
|
|
539
|
-
const llmProvider = manifest.spec?.llm?.provider || 'openai';
|
|
540
|
-
const primaryKey = llmProvider === 'anthropic'
|
|
541
|
-
? 'ANTHROPIC_API_KEY=sk-ant-...'
|
|
542
|
-
: 'OPENAI_API_KEY=sk-...';
|
|
543
|
-
const secondaryKey = llmProvider === 'anthropic'
|
|
544
|
-
? '# OPENAI_API_KEY=sk-...'
|
|
545
|
-
: '# ANTHROPIC_API_KEY=sk-ant-...';
|
|
546
|
-
return `# ${manifest.metadata?.name || 'CrewAI Crew'} Environment Configuration
|
|
547
|
-
|
|
548
|
-
# LLM Provider API Keys
|
|
549
|
-
${primaryKey}
|
|
550
|
-
${secondaryKey}
|
|
551
|
-
|
|
552
|
-
# CrewAI Configuration
|
|
553
|
-
CREWAI_VERBOSE=true
|
|
554
|
-
CREWAI_LOG_LEVEL=INFO
|
|
555
|
-
|
|
556
|
-
# Optional: Tool-specific configuration
|
|
557
|
-
# Add your tool-specific env vars here
|
|
558
|
-
|
|
559
|
-
# Optional: Logging and monitoring
|
|
560
|
-
# LANGSMITH_API_KEY=lsv2_pt_...
|
|
561
|
-
# LANGSMITH_PROJECT=${manifest.metadata?.name || 'crew'}
|
|
562
|
-
`;
|
|
563
|
-
}
|
|
564
|
-
/**
|
|
565
|
-
* Generate .dockerignore
|
|
566
|
-
*/
|
|
567
|
-
generateDockerignore() {
|
|
568
|
-
return `# Python
|
|
569
|
-
__pycache__/
|
|
570
|
-
*.py[cod]
|
|
571
|
-
*$py.class
|
|
572
|
-
*.so
|
|
573
|
-
.Python
|
|
574
|
-
env/
|
|
575
|
-
venv/
|
|
576
|
-
ENV/
|
|
577
|
-
.venv/
|
|
578
|
-
|
|
579
|
-
# Environment
|
|
580
|
-
.env
|
|
581
|
-
.env.local
|
|
582
|
-
|
|
583
|
-
# IDE
|
|
584
|
-
.vscode/
|
|
585
|
-
.idea/
|
|
586
|
-
*.swp
|
|
587
|
-
*.swo
|
|
588
|
-
|
|
589
|
-
# Testing
|
|
590
|
-
.pytest_cache/
|
|
591
|
-
.coverage
|
|
592
|
-
htmlcov/
|
|
593
|
-
|
|
594
|
-
# Documentation build
|
|
595
|
-
docs/_build/
|
|
596
|
-
|
|
597
|
-
# OS
|
|
598
|
-
.DS_Store
|
|
599
|
-
Thumbs.db
|
|
600
|
-
|
|
601
|
-
# Git
|
|
602
|
-
.git/
|
|
603
|
-
.gitignore
|
|
604
|
-
`;
|
|
605
|
-
}
|
|
606
|
-
/**
|
|
607
|
-
* Generate .gitignore
|
|
608
|
-
*/
|
|
609
|
-
generateGitignore() {
|
|
610
|
-
return `# Python
|
|
611
|
-
__pycache__/
|
|
612
|
-
*.py[cod]
|
|
613
|
-
*$py.class
|
|
614
|
-
*.so
|
|
615
|
-
.Python
|
|
616
|
-
build/
|
|
617
|
-
develop-eggs/
|
|
618
|
-
dist/
|
|
619
|
-
downloads/
|
|
620
|
-
eggs/
|
|
621
|
-
.eggs/
|
|
622
|
-
lib/
|
|
623
|
-
lib64/
|
|
624
|
-
parts/
|
|
625
|
-
sdist/
|
|
626
|
-
var/
|
|
627
|
-
wheels/
|
|
628
|
-
*.egg-info/
|
|
629
|
-
.installed.cfg
|
|
630
|
-
*.egg
|
|
631
|
-
|
|
632
|
-
# Virtual Environment
|
|
633
|
-
venv/
|
|
634
|
-
ENV/
|
|
635
|
-
env/
|
|
636
|
-
.venv/
|
|
637
|
-
|
|
638
|
-
# Environment Variables
|
|
639
|
-
.env
|
|
640
|
-
.env.local
|
|
641
|
-
.env.*.local
|
|
642
|
-
|
|
643
|
-
# IDE
|
|
644
|
-
.vscode/
|
|
645
|
-
.idea/
|
|
646
|
-
*.swp
|
|
647
|
-
*.swo
|
|
648
|
-
*.sublime-project
|
|
649
|
-
*.sublime-workspace
|
|
650
|
-
|
|
651
|
-
# Testing
|
|
652
|
-
.pytest_cache/
|
|
653
|
-
.coverage
|
|
654
|
-
.coverage.*
|
|
655
|
-
htmlcov/
|
|
656
|
-
.tox/
|
|
657
|
-
|
|
658
|
-
# Jupyter
|
|
659
|
-
.ipynb_checkpoints/
|
|
660
|
-
|
|
661
|
-
# OS
|
|
662
|
-
.DS_Store
|
|
663
|
-
Thumbs.db
|
|
664
|
-
desktop.ini
|
|
665
|
-
|
|
666
|
-
# Logs
|
|
667
|
-
*.log
|
|
668
|
-
logs/
|
|
669
|
-
|
|
670
|
-
# CrewAI specific
|
|
671
|
-
crew_output/
|
|
672
|
-
`;
|
|
673
|
-
}
|
|
674
|
-
/**
|
|
675
|
-
* Generate examples/basic_usage.py
|
|
676
|
-
*/
|
|
677
|
-
generateExampleUsage(manifest) {
|
|
678
|
-
const className = this.toPascalCase(manifest.metadata?.name || 'crew');
|
|
679
|
-
return `#!/usr/bin/env python3
|
|
680
|
-
"""
|
|
681
|
-
Basic Usage Example for ${manifest.metadata?.name || 'CrewAI Crew'}
|
|
682
|
-
|
|
683
|
-
This example demonstrates how to use the crew in your applications.
|
|
684
|
-
"""
|
|
685
|
-
|
|
686
|
-
import os
|
|
687
|
-
from dotenv import load_dotenv
|
|
688
|
-
from crew import ${className}
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
def basic_example():
|
|
692
|
-
"""Run a basic crew execution"""
|
|
693
|
-
# Load environment
|
|
694
|
-
load_dotenv()
|
|
695
|
-
|
|
696
|
-
# Initialize crew
|
|
697
|
-
crew = ${className}()
|
|
698
|
-
|
|
699
|
-
# Prepare inputs
|
|
700
|
-
inputs = {
|
|
701
|
-
"topic": "artificial intelligence",
|
|
702
|
-
"context": "Write a comprehensive analysis"
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
# Execute crew
|
|
706
|
-
result = crew.kickoff(inputs=inputs)
|
|
707
|
-
|
|
708
|
-
# Process result
|
|
709
|
-
print("Crew Result:")
|
|
710
|
-
print("-" * 80)
|
|
711
|
-
print(result)
|
|
712
|
-
|
|
713
|
-
return result
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
if __name__ == "__main__":
|
|
717
|
-
basic_example()
|
|
718
|
-
`;
|
|
719
|
-
}
|
|
720
|
-
/**
|
|
721
|
-
* Generate examples/async_usage.py
|
|
722
|
-
*/
|
|
723
|
-
generateExampleAsync(manifest) {
|
|
724
|
-
const className = this.toPascalCase(manifest.metadata?.name || 'crew');
|
|
725
|
-
return `#!/usr/bin/env python3
|
|
726
|
-
"""
|
|
727
|
-
Async Usage Example for ${manifest.metadata?.name || 'CrewAI Crew'}
|
|
728
|
-
|
|
729
|
-
This example demonstrates asynchronous crew execution.
|
|
730
|
-
"""
|
|
731
|
-
|
|
732
|
-
import asyncio
|
|
733
|
-
import os
|
|
734
|
-
from dotenv import load_dotenv
|
|
735
|
-
from crew import ${className}
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
async def async_example():
|
|
739
|
-
"""Run crew execution asynchronously"""
|
|
740
|
-
# Load environment
|
|
741
|
-
load_dotenv()
|
|
742
|
-
|
|
743
|
-
# Initialize crew
|
|
744
|
-
crew = ${className}()
|
|
745
|
-
|
|
746
|
-
# Prepare inputs
|
|
747
|
-
inputs = {
|
|
748
|
-
"topic": "machine learning",
|
|
749
|
-
"context": "Generate a detailed report"
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
# Execute crew asynchronously
|
|
753
|
-
print("Starting async crew execution...")
|
|
754
|
-
result = await crew.kickoff_async(inputs=inputs)
|
|
755
|
-
|
|
756
|
-
# Process result
|
|
757
|
-
print("\\nCrew Result:")
|
|
758
|
-
print("-" * 80)
|
|
759
|
-
print(result)
|
|
760
|
-
|
|
761
|
-
return result
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
async def parallel_execution_example():
|
|
765
|
-
"""Run multiple crew executions in parallel"""
|
|
766
|
-
# Load environment
|
|
767
|
-
load_dotenv()
|
|
768
|
-
|
|
769
|
-
# Initialize crew
|
|
770
|
-
crew = ${className}()
|
|
771
|
-
|
|
772
|
-
# Prepare multiple inputs
|
|
773
|
-
inputs_list = [
|
|
774
|
-
{"topic": "AI ethics", "context": "research"},
|
|
775
|
-
{"topic": "neural networks", "context": "technical"},
|
|
776
|
-
{"topic": "robotics", "context": "industry"},
|
|
777
|
-
]
|
|
778
|
-
|
|
779
|
-
# Execute in parallel
|
|
780
|
-
print("Starting parallel executions...")
|
|
781
|
-
tasks = [crew.kickoff_async(inputs=inputs) for inputs in inputs_list]
|
|
782
|
-
results = await asyncio.gather(*tasks)
|
|
783
|
-
|
|
784
|
-
# Process results
|
|
785
|
-
for i, result in enumerate(results, 1):
|
|
786
|
-
print(f"\\nResult {i}:")
|
|
787
|
-
print("-" * 80)
|
|
788
|
-
print(result)
|
|
789
|
-
|
|
790
|
-
return results
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
if __name__ == "__main__":
|
|
794
|
-
# Run async example
|
|
795
|
-
asyncio.run(async_example())
|
|
796
|
-
|
|
797
|
-
# Uncomment to run parallel example
|
|
798
|
-
# asyncio.run(parallel_execution_example())
|
|
799
|
-
`;
|
|
800
|
-
}
|
|
801
|
-
/**
|
|
802
|
-
* Generate tests/test_crew.py
|
|
803
|
-
*/
|
|
804
|
-
generateTestsCode(manifest) {
|
|
805
|
-
const className = this.toPascalCase(manifest.metadata?.name || 'crew');
|
|
806
|
-
return `"""
|
|
807
|
-
Unit Tests for ${manifest.metadata?.name || 'CrewAI Crew'}
|
|
808
|
-
"""
|
|
809
|
-
|
|
810
|
-
import pytest
|
|
811
|
-
from crew import ${className}
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
class Test${className}:
|
|
815
|
-
"""Test suite for ${className}"""
|
|
816
|
-
|
|
817
|
-
@pytest.fixture
|
|
818
|
-
def crew(self):
|
|
819
|
-
"""Fixture to create crew instance"""
|
|
820
|
-
return ${className}()
|
|
821
|
-
|
|
822
|
-
def test_crew_initialization(self, crew):
|
|
823
|
-
"""Test crew initializes correctly"""
|
|
824
|
-
assert crew is not None
|
|
825
|
-
assert crew.agents is not None
|
|
826
|
-
assert crew.tasks is not None
|
|
827
|
-
assert crew.crew is not None
|
|
828
|
-
|
|
829
|
-
def test_crew_has_agents(self, crew):
|
|
830
|
-
"""Test crew has configured agents"""
|
|
831
|
-
assert len(crew.agents) > 0
|
|
832
|
-
|
|
833
|
-
def test_crew_has_tasks(self, crew):
|
|
834
|
-
"""Test crew has configured tasks"""
|
|
835
|
-
assert len(crew.tasks) > 0
|
|
836
|
-
|
|
837
|
-
def test_kickoff_with_empty_inputs(self, crew):
|
|
838
|
-
"""Test crew execution with empty inputs"""
|
|
839
|
-
# This test requires mocking or integration environment
|
|
840
|
-
# Implement based on your testing strategy
|
|
841
|
-
pass
|
|
842
|
-
|
|
843
|
-
def test_kickoff_with_valid_inputs(self, crew):
|
|
844
|
-
"""Test crew execution with valid inputs"""
|
|
845
|
-
# This test requires mocking or integration environment
|
|
846
|
-
# Implement based on your testing strategy
|
|
847
|
-
pass
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
if __name__ == "__main__":
|
|
851
|
-
pytest.main([__file__, "-v"])
|
|
852
|
-
`;
|
|
853
|
-
}
|
|
854
|
-
/**
|
|
855
|
-
* Generate tests/test_tools.py
|
|
856
|
-
*/
|
|
857
|
-
generateTestToolsCode(manifest) {
|
|
858
|
-
const tools = (manifest.spec?.tools || []);
|
|
859
|
-
return `"""
|
|
860
|
-
Unit Tests for Custom Tools
|
|
861
|
-
"""
|
|
862
|
-
|
|
863
|
-
import pytest
|
|
864
|
-
from tools.custom_tools import *
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
${tools
|
|
868
|
-
.map((t) => `
|
|
869
|
-
class Test${this.toPascalCase(t.name || 'Tool')}:
|
|
870
|
-
"""Test suite for ${t.name || 'tool'}"""
|
|
871
|
-
|
|
872
|
-
def test_${t.name || 'tool'}_executes(self):
|
|
873
|
-
"""Test ${t.name || 'tool'} executes without error"""
|
|
874
|
-
result = ${t.name || 'tool'}("test input")
|
|
875
|
-
assert result is not None
|
|
876
|
-
assert isinstance(result, str)
|
|
877
|
-
|
|
878
|
-
def test_${t.name || 'tool'}_handles_empty_input(self):
|
|
879
|
-
"""Test ${t.name || 'tool'} handles empty input"""
|
|
880
|
-
result = ${t.name || 'tool'}("")
|
|
881
|
-
assert result is not None
|
|
882
|
-
`)
|
|
883
|
-
.join('\n')}
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
if __name__ == "__main__":
|
|
887
|
-
pytest.main([__file__, "-v"])
|
|
888
|
-
`;
|
|
889
|
-
}
|
|
890
|
-
/**
|
|
891
|
-
* Convert string to PascalCase
|
|
892
|
-
*/
|
|
893
|
-
toPascalCase(str) {
|
|
894
|
-
return str
|
|
895
|
-
.replace(/[^a-zA-Z0-9]+(.)/g, (_, char) => char.toUpperCase())
|
|
896
|
-
.replace(/^(.)/, (char) => char.toUpperCase());
|
|
897
|
-
}
|
|
898
|
-
/**
|
|
899
|
-
* Generate README.md - Production-grade documentation
|
|
900
|
-
*/
|
|
901
|
-
generateReadme(manifest, config) {
|
|
902
|
-
const projectName = manifest.metadata?.name || 'crewai-crew';
|
|
903
|
-
const description = manifest.metadata?.description || 'CrewAI multi-agent crew';
|
|
904
|
-
return `# ${projectName}
|
|
905
|
-
|
|
906
|
-
${description}
|
|
907
|
-
|
|
908
|
-
> **Generated from OSSA v${manifest.apiVersion?.split('/')[1] || getApiVersion()} manifest**
|
|
909
|
-
|
|
910
|
-
## Table of Contents
|
|
911
|
-
|
|
912
|
-
- [Overview](#overview)
|
|
913
|
-
- [Features](#features)
|
|
914
|
-
- [Installation](#installation)
|
|
915
|
-
- [Quick Start](#quick-start)
|
|
916
|
-
- [Configuration](#configuration)
|
|
917
|
-
- [Usage](#usage)
|
|
918
|
-
- [Project Structure](#project-structure)
|
|
919
|
-
- [Agents](#agents)
|
|
920
|
-
- [Tasks](#tasks)
|
|
921
|
-
- [Tools](#tools)
|
|
922
|
-
- [Development](#development)
|
|
923
|
-
- [Testing](#testing)
|
|
924
|
-
- [Deployment](#deployment)
|
|
925
|
-
- [Troubleshooting](#troubleshooting)
|
|
926
|
-
- [Contributing](#contributing)
|
|
927
|
-
- [License](#license)
|
|
928
|
-
|
|
929
|
-
## Overview
|
|
930
|
-
|
|
931
|
-
${manifest.spec?.role || 'This is a multi-agent crew built with CrewAI, designed to collaborate on complex tasks through structured agent orchestration.'}
|
|
932
|
-
|
|
933
|
-
### Key Specifications
|
|
934
|
-
|
|
935
|
-
- **Process Type**: ${config.process || 'sequential'}
|
|
936
|
-
- **Number of Agents**: ${config.agents.length}
|
|
937
|
-
- **Number of Tasks**: ${config.tasks.length}
|
|
938
|
-
- **LLM Provider**: ${manifest.spec?.llm?.provider || 'openai'}
|
|
939
|
-
- **Model**: ${manifest.spec?.llm?.model || 'gpt-4'}
|
|
940
|
-
|
|
941
|
-
## Features
|
|
942
|
-
|
|
943
|
-
- ✅ Multi-agent collaboration with CrewAI
|
|
944
|
-
- ✅ ${config.process === 'sequential' ? 'Sequential task processing' : 'Hierarchical agent organization'}
|
|
945
|
-
- ✅ Custom tool implementations
|
|
946
|
-
- ✅ Async execution support
|
|
947
|
-
- ✅ Environment-based configuration
|
|
948
|
-
- ✅ Production-ready structure
|
|
949
|
-
- ✅ Comprehensive testing
|
|
950
|
-
- ✅ Docker deployment ready
|
|
951
|
-
|
|
952
|
-
## Installation
|
|
953
|
-
|
|
954
|
-
### Prerequisites
|
|
955
|
-
|
|
956
|
-
- Python 3.9 or higher
|
|
957
|
-
- pip or poetry for package management
|
|
958
|
-
- OpenAI API key (or other LLM provider credentials)
|
|
959
|
-
|
|
960
|
-
### Setup
|
|
961
|
-
|
|
962
|
-
1. **Clone the repository**
|
|
963
|
-
|
|
964
|
-
\`\`\`bash
|
|
965
|
-
git clone <repository-url>
|
|
966
|
-
cd ${projectName}
|
|
967
|
-
\`\`\`
|
|
968
|
-
|
|
969
|
-
2. **Create virtual environment**
|
|
970
|
-
|
|
971
|
-
\`\`\`bash
|
|
972
|
-
python -m venv venv
|
|
973
|
-
source venv/bin/activate # On Windows: venv\\Scripts\\activate
|
|
974
|
-
\`\`\`
|
|
975
|
-
|
|
976
|
-
3. **Install dependencies**
|
|
977
|
-
|
|
978
|
-
\`\`\`bash
|
|
979
|
-
pip install -r requirements.txt
|
|
980
|
-
\`\`\`
|
|
981
|
-
|
|
982
|
-
4. **Configure environment**
|
|
983
|
-
|
|
984
|
-
\`\`\`bash
|
|
985
|
-
cp .env.example .env
|
|
986
|
-
# Edit .env with your API keys and configuration
|
|
987
|
-
\`\`\`
|
|
988
|
-
|
|
989
|
-
## Quick Start
|
|
990
|
-
|
|
991
|
-
### Basic Execution
|
|
992
|
-
|
|
993
|
-
\`\`\`bash
|
|
994
|
-
python main.py
|
|
995
|
-
\`\`\`
|
|
996
|
-
|
|
997
|
-
### Programmatic Usage
|
|
998
|
-
|
|
999
|
-
\`\`\`python
|
|
1000
|
-
from crew import ${this.toPascalCase(projectName)}
|
|
1001
|
-
|
|
1002
|
-
# Initialize crew
|
|
1003
|
-
crew = ${this.toPascalCase(projectName)}()
|
|
1004
|
-
|
|
1005
|
-
# Execute with inputs
|
|
1006
|
-
result = crew.kickoff(inputs={
|
|
1007
|
-
"topic": "your topic here",
|
|
1008
|
-
"context": "additional context"
|
|
1009
|
-
})
|
|
1010
|
-
|
|
1011
|
-
print(result)
|
|
1012
|
-
\`\`\`
|
|
1013
|
-
|
|
1014
|
-
### Async Execution
|
|
1015
|
-
|
|
1016
|
-
\`\`\`python
|
|
1017
|
-
import asyncio
|
|
1018
|
-
from crew import ${this.toPascalCase(projectName)}
|
|
1019
|
-
|
|
1020
|
-
async def run():
|
|
1021
|
-
crew = ${this.toPascalCase(projectName)}()
|
|
1022
|
-
result = await crew.kickoff_async(inputs={
|
|
1023
|
-
"topic": "your topic"
|
|
1024
|
-
})
|
|
1025
|
-
return result
|
|
1026
|
-
|
|
1027
|
-
asyncio.run(run())
|
|
1028
|
-
\`\`\`
|
|
1029
|
-
|
|
1030
|
-
## Configuration
|
|
1031
|
-
|
|
1032
|
-
### Environment Variables
|
|
1033
|
-
|
|
1034
|
-
See \`.env.example\` for all configuration options:
|
|
1035
|
-
|
|
1036
|
-
- \`OPENAI_API_KEY\`: Your OpenAI API key (required)
|
|
1037
|
-
- \`CREWAI_VERBOSE\`: Enable verbose logging (default: true)
|
|
1038
|
-
- \`CREWAI_LOG_LEVEL\`: Logging level (default: INFO)
|
|
1039
|
-
|
|
1040
|
-
### Crew Configuration
|
|
1041
|
-
|
|
1042
|
-
Modify \`crew/crew.py\` to adjust:
|
|
1043
|
-
|
|
1044
|
-
- Process type (sequential/hierarchical)
|
|
1045
|
-
- Verbose mode
|
|
1046
|
-
- Custom agent configurations
|
|
1047
|
-
|
|
1048
|
-
## Usage
|
|
1049
|
-
|
|
1050
|
-
### Examples
|
|
1051
|
-
|
|
1052
|
-
See the \`examples/\` directory for detailed usage examples:
|
|
1053
|
-
|
|
1054
|
-
- \`basic_usage.py\`: Simple crew execution
|
|
1055
|
-
- \`async_usage.py\`: Asynchronous and parallel execution
|
|
1056
|
-
|
|
1057
|
-
### Running Examples
|
|
1058
|
-
|
|
1059
|
-
\`\`\`bash
|
|
1060
|
-
python examples/basic_usage.py
|
|
1061
|
-
python examples/async_usage.py
|
|
1062
|
-
\`\`\`
|
|
1063
|
-
|
|
1064
|
-
## Project Structure
|
|
1065
|
-
|
|
1066
|
-
\`\`\`
|
|
1067
|
-
${projectName}/
|
|
1068
|
-
├── agents/ # Agent definitions
|
|
1069
|
-
│ └── __init__.py # Agent configurations
|
|
1070
|
-
├── tasks/ # Task definitions
|
|
1071
|
-
│ └── __init__.py # Task configurations
|
|
1072
|
-
├── tools/ # Custom tools
|
|
1073
|
-
│ ├── __init__.py # Tool exports
|
|
1074
|
-
│ └── custom_tools.py # Tool implementations
|
|
1075
|
-
├── crew/ # Crew orchestration
|
|
1076
|
-
│ ├── __init__.py # Module exports
|
|
1077
|
-
│ └── crew.py # Main crew class
|
|
1078
|
-
├── examples/ # Usage examples
|
|
1079
|
-
│ ├── basic_usage.py
|
|
1080
|
-
│ └── async_usage.py
|
|
1081
|
-
├── tests/ # Test suite
|
|
1082
|
-
│ ├── test_crew.py
|
|
1083
|
-
│ └── test_tools.py
|
|
1084
|
-
├── main.py # Entry point
|
|
1085
|
-
├── requirements.txt # Python dependencies
|
|
1086
|
-
├── .env.example # Environment template
|
|
1087
|
-
├── .gitignore # Git ignore rules
|
|
1088
|
-
├── README.md # This file
|
|
1089
|
-
└── DEPLOYMENT.md # Deployment guide
|
|
1090
|
-
\`\`\`
|
|
1091
|
-
|
|
1092
|
-
## Agents
|
|
1093
|
-
|
|
1094
|
-
This crew consists of ${config.agents.length} specialized agent(s):
|
|
1095
|
-
|
|
1096
|
-
${config.agents
|
|
1097
|
-
.map((a, i) => `
|
|
1098
|
-
### ${i + 1}. ${a.role}
|
|
1099
|
-
|
|
1100
|
-
**Goal:** ${a.goal}
|
|
1101
|
-
|
|
1102
|
-
**Backstory:** ${a.backstory}
|
|
1103
|
-
|
|
1104
|
-
**Capabilities:**
|
|
1105
|
-
- Utilizes custom tools for enhanced functionality
|
|
1106
|
-
- Collaborates with other agents in the crew
|
|
1107
|
-
- Produces structured outputs for downstream tasks
|
|
1108
|
-
`)
|
|
1109
|
-
.join('\n')}
|
|
1110
|
-
|
|
1111
|
-
## Tasks
|
|
1112
|
-
|
|
1113
|
-
The crew executes ${config.tasks.length} task(s) in ${config.process} order:
|
|
1114
|
-
|
|
1115
|
-
${config.tasks
|
|
1116
|
-
.map((t, i) => `
|
|
1117
|
-
### Task ${i + 1}: ${t.description}
|
|
1118
|
-
|
|
1119
|
-
- **Assigned Agent:** ${t.agent}
|
|
1120
|
-
- **Expected Output:** ${t.expected_output || 'Completed task result'}
|
|
1121
|
-
${i < config.tasks.length - 1 ? '- **Flows to:** Task ' + (i + 2) : '- **Final Output:** Yes'}
|
|
1122
|
-
`)
|
|
1123
|
-
.join('\n')}
|
|
1124
|
-
|
|
1125
|
-
## Tools
|
|
1126
|
-
|
|
1127
|
-
Custom tools are implemented in \`tools/custom_tools.py\`:
|
|
1128
|
-
|
|
1129
|
-
${(manifest.spec?.tools || []).length > 0
|
|
1130
|
-
? (manifest.spec?.tools)
|
|
1131
|
-
.map((t) => `
|
|
1132
|
-
### ${t.name || 'Tool'}
|
|
1133
|
-
|
|
1134
|
-
${t.description || 'Custom tool implementation'}
|
|
1135
|
-
|
|
1136
|
-
\`\`\`python
|
|
1137
|
-
from tools.custom_tools import ${t.name || 'tool'}
|
|
1138
|
-
|
|
1139
|
-
result = ${t.name || 'tool'}("input data")
|
|
1140
|
-
\`\`\`
|
|
1141
|
-
`)
|
|
1142
|
-
.join('\n')
|
|
1143
|
-
: `
|
|
1144
|
-
No custom tools defined. Add tools in \`tools/custom_tools.py\`.
|
|
1145
|
-
`}
|
|
1146
|
-
|
|
1147
|
-
## Development
|
|
1148
|
-
|
|
1149
|
-
### Adding New Agents
|
|
1150
|
-
|
|
1151
|
-
Edit \`agents/__init__.py\`:
|
|
1152
|
-
|
|
1153
|
-
\`\`\`python
|
|
1154
|
-
from crewai import Agent
|
|
1155
|
-
|
|
1156
|
-
new_agent = Agent(
|
|
1157
|
-
role="New Role",
|
|
1158
|
-
goal="Agent goal",
|
|
1159
|
-
backstory="Agent backstory",
|
|
1160
|
-
tools=get_tools(),
|
|
1161
|
-
verbose=True
|
|
1162
|
-
)
|
|
1163
|
-
|
|
1164
|
-
agents.append(new_agent)
|
|
1165
|
-
\`\`\`
|
|
1166
|
-
|
|
1167
|
-
### Adding New Tasks
|
|
1168
|
-
|
|
1169
|
-
Edit \`tasks/__init__.py\`:
|
|
1170
|
-
|
|
1171
|
-
\`\`\`python
|
|
1172
|
-
from crewai import Task
|
|
1173
|
-
|
|
1174
|
-
new_task = Task(
|
|
1175
|
-
description="Task description",
|
|
1176
|
-
agent=agents[0],
|
|
1177
|
-
expected_output="Expected result"
|
|
1178
|
-
)
|
|
1179
|
-
|
|
1180
|
-
tasks.append(new_task)
|
|
1181
|
-
\`\`\`
|
|
1182
|
-
|
|
1183
|
-
### Adding Custom Tools
|
|
1184
|
-
|
|
1185
|
-
Edit \`tools/custom_tools.py\`:
|
|
1186
|
-
|
|
1187
|
-
\`\`\`python
|
|
1188
|
-
from crewai_tools import tool
|
|
1189
|
-
|
|
1190
|
-
@tool("my_custom_tool")
|
|
1191
|
-
def my_custom_tool(input: str) -> str:
|
|
1192
|
-
"""Tool description"""
|
|
1193
|
-
# Implementation
|
|
1194
|
-
return result
|
|
1195
|
-
\`\`\`
|
|
1196
|
-
|
|
1197
|
-
## Testing
|
|
1198
|
-
|
|
1199
|
-
Run the test suite:
|
|
1200
|
-
|
|
1201
|
-
\`\`\`bash
|
|
1202
|
-
# Install test dependencies
|
|
1203
|
-
pip install pytest pytest-cov pytest-asyncio
|
|
1204
|
-
|
|
1205
|
-
# Run all tests
|
|
1206
|
-
pytest
|
|
1207
|
-
|
|
1208
|
-
# Run with coverage
|
|
1209
|
-
pytest --cov=. --cov-report=html
|
|
1210
|
-
|
|
1211
|
-
# Run specific test file
|
|
1212
|
-
pytest tests/test_crew.py -v
|
|
1213
|
-
\`\`\`
|
|
1214
|
-
|
|
1215
|
-
## Deployment
|
|
1216
|
-
|
|
1217
|
-
See [DEPLOYMENT.md](./DEPLOYMENT.md) for detailed deployment instructions covering:
|
|
1218
|
-
|
|
1219
|
-
- Docker deployment
|
|
1220
|
-
- Kubernetes deployment
|
|
1221
|
-
- Cloud platforms (AWS, GCP, Azure)
|
|
1222
|
-
- Environment configuration
|
|
1223
|
-
- Monitoring and logging
|
|
1224
|
-
- Production best practices
|
|
1225
|
-
|
|
1226
|
-
### Quick Docker Deployment
|
|
1227
|
-
|
|
1228
|
-
\`\`\`bash
|
|
1229
|
-
# Build image
|
|
1230
|
-
docker build -t ${projectName}:latest .
|
|
1231
|
-
|
|
1232
|
-
# Run container
|
|
1233
|
-
docker run -e OPENAI_API_KEY=your-key ${projectName}:latest
|
|
1234
|
-
\`\`\`
|
|
1235
|
-
|
|
1236
|
-
## Troubleshooting
|
|
1237
|
-
|
|
1238
|
-
### Common Issues
|
|
1239
|
-
|
|
1240
|
-
**Import Errors**
|
|
1241
|
-
|
|
1242
|
-
\`\`\`bash
|
|
1243
|
-
pip install -r requirements.txt --force-reinstall
|
|
1244
|
-
\`\`\`
|
|
1245
|
-
|
|
1246
|
-
**API Key Errors**
|
|
1247
|
-
|
|
1248
|
-
Ensure your \`.env\` file has valid API keys:
|
|
1249
|
-
|
|
1250
|
-
\`\`\`bash
|
|
1251
|
-
# Verify .env file exists
|
|
1252
|
-
ls -la .env
|
|
1253
|
-
|
|
1254
|
-
# Check API key is set
|
|
1255
|
-
source .env && echo $OPENAI_API_KEY
|
|
1256
|
-
\`\`\`
|
|
1257
|
-
|
|
1258
|
-
**Agent Execution Failures**
|
|
1259
|
-
|
|
1260
|
-
Enable verbose logging:
|
|
1261
|
-
|
|
1262
|
-
\`\`\`python
|
|
1263
|
-
crew = ${this.toPascalCase(projectName)}()
|
|
1264
|
-
crew.crew.verbose = True
|
|
1265
|
-
\`\`\`
|
|
1266
|
-
|
|
1267
|
-
### Debug Mode
|
|
1268
|
-
|
|
1269
|
-
Run with debug logging:
|
|
1270
|
-
|
|
1271
|
-
\`\`\`bash
|
|
1272
|
-
CREWAI_LOG_LEVEL=DEBUG python main.py
|
|
1273
|
-
\`\`\`
|
|
1274
|
-
|
|
1275
|
-
## Contributing
|
|
1276
|
-
|
|
1277
|
-
Contributions are welcome! Please:
|
|
1278
|
-
|
|
1279
|
-
1. Fork the repository
|
|
1280
|
-
2. Create a feature branch
|
|
1281
|
-
3. Make your changes
|
|
1282
|
-
4. Add tests
|
|
1283
|
-
5. Submit a pull request
|
|
1284
|
-
|
|
1285
|
-
## License
|
|
1286
|
-
|
|
1287
|
-
${manifest.metadata?.license || 'MIT'}
|
|
1288
|
-
|
|
1289
|
-
---
|
|
1290
|
-
|
|
1291
|
-
**Generated by OSSA v${manifest.apiVersion?.split('/')[1] || getApiVersion()}**
|
|
1292
|
-
|
|
1293
|
-
For more information about OSSA, visit: https://openstandardagents.org
|
|
1294
|
-
`;
|
|
1295
|
-
}
|
|
1296
|
-
/**
|
|
1297
|
-
* Generate DEPLOYMENT.md - Production deployment guide
|
|
1298
|
-
*/
|
|
1299
|
-
generateDeploymentGuide(manifest) {
|
|
1300
|
-
const projectName = manifest.metadata?.name || 'crewai-crew';
|
|
1301
|
-
return `# Deployment Guide - ${projectName}
|
|
1302
|
-
|
|
1303
|
-
This guide covers production deployment options for your CrewAI crew.
|
|
1304
|
-
|
|
1305
|
-
## Table of Contents
|
|
1306
|
-
|
|
1307
|
-
- [Prerequisites](#prerequisites)
|
|
1308
|
-
- [Docker Deployment](#docker-deployment)
|
|
1309
|
-
- [Kubernetes Deployment](#kubernetes-deployment)
|
|
1310
|
-
- [Cloud Platforms](#cloud-platforms)
|
|
1311
|
-
- [Environment Configuration](#environment-configuration)
|
|
1312
|
-
- [Monitoring & Logging](#monitoring--logging)
|
|
1313
|
-
- [Security Best Practices](#security-best-practices)
|
|
1314
|
-
- [Scaling](#scaling)
|
|
1315
|
-
- [Troubleshooting](#troubleshooting)
|
|
1316
|
-
|
|
1317
|
-
## Prerequisites
|
|
1318
|
-
|
|
1319
|
-
- Docker (20.10+) and Docker Compose (2.0+)
|
|
1320
|
-
- kubectl (for Kubernetes deployments)
|
|
1321
|
-
- Cloud CLI tools (AWS CLI, gcloud, or az)
|
|
1322
|
-
- Valid LLM provider API keys
|
|
1323
|
-
|
|
1324
|
-
## Docker Deployment
|
|
1325
|
-
|
|
1326
|
-
### Dockerfile
|
|
1327
|
-
|
|
1328
|
-
Create a \`Dockerfile\` in the project root:
|
|
1329
|
-
|
|
1330
|
-
\`\`\`dockerfile
|
|
1331
|
-
FROM python:3.11-slim
|
|
1332
|
-
|
|
1333
|
-
WORKDIR /app
|
|
1334
|
-
|
|
1335
|
-
# Install dependencies
|
|
1336
|
-
COPY requirements.txt .
|
|
1337
|
-
RUN pip install --no-cache-dir -r requirements.txt
|
|
1338
|
-
|
|
1339
|
-
# Copy application
|
|
1340
|
-
COPY . .
|
|
1341
|
-
|
|
1342
|
-
# Run as non-root user
|
|
1343
|
-
RUN useradd -m -u 1000 crewai && chown -R crewai:crewai /app
|
|
1344
|
-
USER crewai
|
|
1345
|
-
|
|
1346
|
-
# Set environment
|
|
1347
|
-
ENV PYTHONUNBUFFERED=1
|
|
1348
|
-
|
|
1349
|
-
# Run application
|
|
1350
|
-
CMD ["python", "main.py"]
|
|
1351
|
-
\`\`\`
|
|
1352
|
-
|
|
1353
|
-
### Build and Run
|
|
1354
|
-
|
|
1355
|
-
\`\`\`bash
|
|
1356
|
-
# Build image
|
|
1357
|
-
docker build -t ${projectName}:latest .
|
|
1358
|
-
|
|
1359
|
-
# Run container
|
|
1360
|
-
docker run -d \\
|
|
1361
|
-
--name ${projectName} \\
|
|
1362
|
-
-e OPENAI_API_KEY=\${OPENAI_API_KEY} \\
|
|
1363
|
-
-e CREWAI_VERBOSE=true \\
|
|
1364
|
-
--restart unless-stopped \\
|
|
1365
|
-
${projectName}:latest
|
|
1366
|
-
|
|
1367
|
-
# View logs
|
|
1368
|
-
docker logs -f ${projectName}
|
|
1369
|
-
\`\`\`
|
|
1370
|
-
|
|
1371
|
-
### Docker Compose
|
|
1372
|
-
|
|
1373
|
-
Create \`docker-compose.yml\`:
|
|
1374
|
-
|
|
1375
|
-
\`\`\`yaml
|
|
1376
|
-
version: '3.8'
|
|
1377
|
-
|
|
1378
|
-
services:
|
|
1379
|
-
crew:
|
|
1380
|
-
build: .
|
|
1381
|
-
image: ${projectName}:latest
|
|
1382
|
-
container_name: ${projectName}
|
|
1383
|
-
env_file:
|
|
1384
|
-
- .env
|
|
1385
|
-
restart: unless-stopped
|
|
1386
|
-
volumes:
|
|
1387
|
-
- ./logs:/app/logs
|
|
1388
|
-
networks:
|
|
1389
|
-
- crew-network
|
|
1390
|
-
|
|
1391
|
-
networks:
|
|
1392
|
-
crew-network:
|
|
1393
|
-
driver: bridge
|
|
1394
|
-
\`\`\`
|
|
1395
|
-
|
|
1396
|
-
Run with Docker Compose:
|
|
1397
|
-
|
|
1398
|
-
\`\`\`bash
|
|
1399
|
-
docker-compose up -d
|
|
1400
|
-
docker-compose logs -f
|
|
1401
|
-
\`\`\`
|
|
1402
|
-
|
|
1403
|
-
## Kubernetes Deployment
|
|
1404
|
-
|
|
1405
|
-
### Deployment Manifest
|
|
1406
|
-
|
|
1407
|
-
Create \`k8s/deployment.yaml\`:
|
|
1408
|
-
|
|
1409
|
-
\`\`\`yaml
|
|
1410
|
-
apiVersion: apps/v1
|
|
1411
|
-
kind: Deployment
|
|
1412
|
-
metadata:
|
|
1413
|
-
name: ${projectName}
|
|
1414
|
-
labels:
|
|
1415
|
-
app: ${projectName}
|
|
1416
|
-
spec:
|
|
1417
|
-
replicas: 3
|
|
1418
|
-
selector:
|
|
1419
|
-
matchLabels:
|
|
1420
|
-
app: ${projectName}
|
|
1421
|
-
template:
|
|
1422
|
-
metadata:
|
|
1423
|
-
labels:
|
|
1424
|
-
app: ${projectName}
|
|
1425
|
-
spec:
|
|
1426
|
-
containers:
|
|
1427
|
-
- name: crew
|
|
1428
|
-
image: ${projectName}:latest
|
|
1429
|
-
ports:
|
|
1430
|
-
- containerPort: 8080
|
|
1431
|
-
env:
|
|
1432
|
-
- name: OPENAI_API_KEY
|
|
1433
|
-
valueFrom:
|
|
1434
|
-
secretKeyRef:
|
|
1435
|
-
name: llm-credentials
|
|
1436
|
-
key: openai-api-key
|
|
1437
|
-
- name: CREWAI_VERBOSE
|
|
1438
|
-
value: "true"
|
|
1439
|
-
resources:
|
|
1440
|
-
requests:
|
|
1441
|
-
memory: "512Mi"
|
|
1442
|
-
cpu: "500m"
|
|
1443
|
-
limits:
|
|
1444
|
-
memory: "1Gi"
|
|
1445
|
-
cpu: "1000m"
|
|
1446
|
-
livenessProbe:
|
|
1447
|
-
exec:
|
|
1448
|
-
command:
|
|
1449
|
-
- python
|
|
1450
|
-
- -c
|
|
1451
|
-
- "import sys; sys.exit(0)"
|
|
1452
|
-
initialDelaySeconds: 30
|
|
1453
|
-
periodSeconds: 10
|
|
1454
|
-
readinessProbe:
|
|
1455
|
-
exec:
|
|
1456
|
-
command:
|
|
1457
|
-
- python
|
|
1458
|
-
- -c
|
|
1459
|
-
- "import sys; sys.exit(0)"
|
|
1460
|
-
initialDelaySeconds: 5
|
|
1461
|
-
periodSeconds: 5
|
|
1462
|
-
\`\`\`
|
|
1463
|
-
|
|
1464
|
-
### Secret Management
|
|
1465
|
-
|
|
1466
|
-
\`\`\`bash
|
|
1467
|
-
# Create secret for API keys
|
|
1468
|
-
kubectl create secret generic llm-credentials \\
|
|
1469
|
-
--from-literal=openai-api-key=\${OPENAI_API_KEY}
|
|
1470
|
-
|
|
1471
|
-
# Deploy
|
|
1472
|
-
kubectl apply -f k8s/deployment.yaml
|
|
1473
|
-
kubectl apply -f k8s/service.yaml
|
|
1474
|
-
|
|
1475
|
-
# Check status
|
|
1476
|
-
kubectl get pods -l app=${projectName}
|
|
1477
|
-
kubectl logs -f deployment/${projectName}
|
|
1478
|
-
\`\`\`
|
|
1479
|
-
|
|
1480
|
-
## Cloud Platforms
|
|
1481
|
-
|
|
1482
|
-
### AWS ECS
|
|
1483
|
-
|
|
1484
|
-
\`\`\`bash
|
|
1485
|
-
# Build and push to ECR
|
|
1486
|
-
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin <account>.dkr.ecr.us-east-1.amazonaws.com
|
|
1487
|
-
docker tag ${projectName}:latest <account>.dkr.ecr.us-east-1.amazonaws.com/${projectName}:latest
|
|
1488
|
-
docker push <account>.dkr.ecr.us-east-1.amazonaws.com/${projectName}:latest
|
|
1489
|
-
|
|
1490
|
-
# Create ECS task definition and service
|
|
1491
|
-
aws ecs create-service \\
|
|
1492
|
-
--cluster production \\
|
|
1493
|
-
--service-name ${projectName} \\
|
|
1494
|
-
--task-definition ${projectName}:1 \\
|
|
1495
|
-
--desired-count 3
|
|
1496
|
-
\`\`\`
|
|
1497
|
-
|
|
1498
|
-
### Google Cloud Run
|
|
1499
|
-
|
|
1500
|
-
\`\`\`bash
|
|
1501
|
-
# Build and deploy
|
|
1502
|
-
gcloud builds submit --tag gcr.io/\${PROJECT_ID}/${projectName}
|
|
1503
|
-
gcloud run deploy ${projectName} \\
|
|
1504
|
-
--image gcr.io/\${PROJECT_ID}/${projectName} \\
|
|
1505
|
-
--platform managed \\
|
|
1506
|
-
--region us-central1 \\
|
|
1507
|
-
--set-env-vars OPENAI_API_KEY=\${OPENAI_API_KEY}
|
|
1508
|
-
\`\`\`
|
|
1509
|
-
|
|
1510
|
-
### Azure Container Instances
|
|
1511
|
-
|
|
1512
|
-
\`\`\`bash
|
|
1513
|
-
# Build and push to ACR
|
|
1514
|
-
az acr build --registry <registry-name> --image ${projectName}:latest .
|
|
1515
|
-
|
|
1516
|
-
# Deploy to ACI
|
|
1517
|
-
az container create \\
|
|
1518
|
-
--resource-group <resource-group> \\
|
|
1519
|
-
--name ${projectName} \\
|
|
1520
|
-
--image <registry-name>.azurecr.io/${projectName}:latest \\
|
|
1521
|
-
--environment-variables OPENAI_API_KEY=\${OPENAI_API_KEY}
|
|
1522
|
-
\`\`\`
|
|
1523
|
-
|
|
1524
|
-
## Environment Configuration
|
|
1525
|
-
|
|
1526
|
-
### Production Environment Variables
|
|
1527
|
-
|
|
1528
|
-
\`\`\`bash
|
|
1529
|
-
# Required
|
|
1530
|
-
OPENAI_API_KEY=sk-...
|
|
1531
|
-
|
|
1532
|
-
# Optional
|
|
1533
|
-
CREWAI_VERBOSE=false
|
|
1534
|
-
CREWAI_LOG_LEVEL=WARNING
|
|
1535
|
-
CREWAI_MAX_RETRIES=3
|
|
1536
|
-
CREWAI_TIMEOUT=300
|
|
1537
|
-
|
|
1538
|
-
# Monitoring
|
|
1539
|
-
LANGSMITH_API_KEY=lsv2_pt_...
|
|
1540
|
-
LANGSMITH_PROJECT=${projectName}-production
|
|
1541
|
-
|
|
1542
|
-
# Performance
|
|
1543
|
-
CREWAI_CACHE_ENABLED=true
|
|
1544
|
-
CREWAI_PARALLEL_EXECUTION=true
|
|
1545
|
-
\`\`\`
|
|
1546
|
-
|
|
1547
|
-
### Secrets Management
|
|
1548
|
-
|
|
1549
|
-
**AWS Secrets Manager**
|
|
1550
|
-
|
|
1551
|
-
\`\`\`python
|
|
1552
|
-
import boto3
|
|
1553
|
-
import json
|
|
1554
|
-
|
|
1555
|
-
def get_secret(secret_name):
|
|
1556
|
-
client = boto3.client('secretsmanager')
|
|
1557
|
-
response = client.get_secret_value(SecretId=secret_name)
|
|
1558
|
-
return json.loads(response['SecretString'])
|
|
1559
|
-
\`\`\`
|
|
1560
|
-
|
|
1561
|
-
**Kubernetes Secrets**
|
|
1562
|
-
|
|
1563
|
-
\`\`\`bash
|
|
1564
|
-
kubectl create secret generic ${projectName}-secrets \\
|
|
1565
|
-
--from-literal=openai-api-key=\${OPENAI_API_KEY} \\
|
|
1566
|
-
--from-literal=anthropic-api-key=\${ANTHROPIC_API_KEY}
|
|
1567
|
-
\`\`\`
|
|
1568
|
-
|
|
1569
|
-
## Monitoring & Logging
|
|
1570
|
-
|
|
1571
|
-
### Application Logging
|
|
1572
|
-
|
|
1573
|
-
Configure structured logging in \`main.py\`:
|
|
1574
|
-
|
|
1575
|
-
\`\`\`python
|
|
1576
|
-
import logging
|
|
1577
|
-
import json
|
|
1578
|
-
|
|
1579
|
-
logging.basicConfig(
|
|
1580
|
-
level=logging.INFO,
|
|
1581
|
-
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
|
|
1582
|
-
handlers=[
|
|
1583
|
-
logging.FileHandler('logs/crew.log'),
|
|
1584
|
-
logging.StreamHandler()
|
|
1585
|
-
]
|
|
1586
|
-
)
|
|
1587
|
-
\`\`\`
|
|
1588
|
-
|
|
1589
|
-
### LangSmith Integration
|
|
1590
|
-
|
|
1591
|
-
\`\`\`python
|
|
1592
|
-
import os
|
|
1593
|
-
os.environ["LANGCHAIN_TRACING_V2"] = "true"
|
|
1594
|
-
os.environ["LANGCHAIN_PROJECT"] = "${projectName}"
|
|
1595
|
-
os.environ["LANGCHAIN_API_KEY"] = "your-langsmith-key"
|
|
1596
|
-
\`\`\`
|
|
1597
|
-
|
|
1598
|
-
### Prometheus Metrics
|
|
1599
|
-
|
|
1600
|
-
Expose metrics for Prometheus scraping:
|
|
1601
|
-
|
|
1602
|
-
\`\`\`python
|
|
1603
|
-
from prometheus_client import Counter, Histogram, start_http_server
|
|
1604
|
-
|
|
1605
|
-
crew_executions = Counter('crew_executions_total', 'Total crew executions')
|
|
1606
|
-
crew_duration = Histogram('crew_duration_seconds', 'Crew execution duration')
|
|
1607
|
-
|
|
1608
|
-
# Start metrics server
|
|
1609
|
-
start_http_server(8000)
|
|
1610
|
-
\`\`\`
|
|
1611
|
-
|
|
1612
|
-
## Security Best Practices
|
|
1613
|
-
|
|
1614
|
-
1. **Never commit secrets to version control**
|
|
1615
|
-
- Use \`.env\` files (gitignored)
|
|
1616
|
-
- Use secret managers in production
|
|
1617
|
-
|
|
1618
|
-
2. **Use environment-specific configurations**
|
|
1619
|
-
- Separate dev/staging/prod configs
|
|
1620
|
-
- Validate all environment variables on startup
|
|
1621
|
-
|
|
1622
|
-
3. **Implement rate limiting**
|
|
1623
|
-
- Prevent API abuse
|
|
1624
|
-
- Use exponential backoff for retries
|
|
1625
|
-
|
|
1626
|
-
4. **Enable audit logging**
|
|
1627
|
-
- Log all crew executions
|
|
1628
|
-
- Track API usage and costs
|
|
1629
|
-
|
|
1630
|
-
5. **Regular security updates**
|
|
1631
|
-
- Keep dependencies updated
|
|
1632
|
-
- Monitor for vulnerabilities
|
|
1633
|
-
|
|
1634
|
-
6. **Network security**
|
|
1635
|
-
- Use private networks where possible
|
|
1636
|
-
- Implement proper firewall rules
|
|
1637
|
-
- Enable TLS for all communications
|
|
1638
|
-
|
|
1639
|
-
## Scaling
|
|
1640
|
-
|
|
1641
|
-
### Horizontal Scaling
|
|
1642
|
-
|
|
1643
|
-
**Kubernetes HPA:**
|
|
1644
|
-
|
|
1645
|
-
\`\`\`yaml
|
|
1646
|
-
apiVersion: autoscaling/v2
|
|
1647
|
-
kind: HorizontalPodAutoscaler
|
|
1648
|
-
metadata:
|
|
1649
|
-
name: ${projectName}-hpa
|
|
1650
|
-
spec:
|
|
1651
|
-
scaleTargetRef:
|
|
1652
|
-
apiVersion: apps/v1
|
|
1653
|
-
kind: Deployment
|
|
1654
|
-
name: ${projectName}
|
|
1655
|
-
minReplicas: 2
|
|
1656
|
-
maxReplicas: 10
|
|
1657
|
-
metrics:
|
|
1658
|
-
- type: Resource
|
|
1659
|
-
resource:
|
|
1660
|
-
name: cpu
|
|
1661
|
-
target:
|
|
1662
|
-
type: Utilization
|
|
1663
|
-
averageUtilization: 70
|
|
1664
|
-
\`\`\`
|
|
1665
|
-
|
|
1666
|
-
### Vertical Scaling
|
|
1667
|
-
|
|
1668
|
-
Adjust resource limits based on actual usage:
|
|
1669
|
-
|
|
1670
|
-
\`\`\`yaml
|
|
1671
|
-
resources:
|
|
1672
|
-
requests:
|
|
1673
|
-
memory: "1Gi"
|
|
1674
|
-
cpu: "1000m"
|
|
1675
|
-
limits:
|
|
1676
|
-
memory: "2Gi"
|
|
1677
|
-
cpu: "2000m"
|
|
1678
|
-
\`\`\`
|
|
1679
|
-
|
|
1680
|
-
## Troubleshooting
|
|
1681
|
-
|
|
1682
|
-
### Container Fails to Start
|
|
1683
|
-
|
|
1684
|
-
\`\`\`bash
|
|
1685
|
-
# Check logs
|
|
1686
|
-
docker logs ${projectName}
|
|
1687
|
-
|
|
1688
|
-
# Verify environment variables
|
|
1689
|
-
docker exec ${projectName} env
|
|
1690
|
-
|
|
1691
|
-
# Test manually
|
|
1692
|
-
docker run -it ${projectName}:latest /bin/bash
|
|
1693
|
-
\`\`\`
|
|
1694
|
-
|
|
1695
|
-
### High Memory Usage
|
|
1696
|
-
|
|
1697
|
-
- Monitor memory consumption
|
|
1698
|
-
- Adjust resource limits
|
|
1699
|
-
- Implement caching strategies
|
|
1700
|
-
- Consider using smaller LLM models
|
|
1701
|
-
|
|
1702
|
-
### API Rate Limits
|
|
1703
|
-
|
|
1704
|
-
- Implement exponential backoff
|
|
1705
|
-
- Use rate limiting middleware
|
|
1706
|
-
- Cache responses when possible
|
|
1707
|
-
- Consider using multiple API keys
|
|
1708
|
-
|
|
1709
|
-
### Network Issues
|
|
1710
|
-
|
|
1711
|
-
\`\`\`bash
|
|
1712
|
-
# Test connectivity
|
|
1713
|
-
kubectl exec -it pod-name -- curl https://api.openai.com/v1/models
|
|
1714
|
-
|
|
1715
|
-
# Check DNS resolution
|
|
1716
|
-
kubectl exec -it pod-name -- nslookup api.openai.com
|
|
1717
|
-
\`\`\`
|
|
1718
|
-
|
|
1719
|
-
## Performance Optimization
|
|
1720
|
-
|
|
1721
|
-
1. **Enable caching** for repeated queries
|
|
1722
|
-
2. **Use async execution** for parallel tasks
|
|
1723
|
-
3. **Implement connection pooling**
|
|
1724
|
-
4. **Optimize tool implementations**
|
|
1725
|
-
5. **Monitor and tune LLM parameters**
|
|
1726
|
-
|
|
1727
|
-
## Rollback Procedures
|
|
1728
|
-
|
|
1729
|
-
**Docker:**
|
|
1730
|
-
|
|
1731
|
-
\`\`\`bash
|
|
1732
|
-
docker tag ${projectName}:latest ${projectName}:backup
|
|
1733
|
-
docker pull ${projectName}:previous
|
|
1734
|
-
docker tag ${projectName}:previous ${projectName}:latest
|
|
1735
|
-
\`\`\`
|
|
1736
|
-
|
|
1737
|
-
**Kubernetes:**
|
|
1738
|
-
|
|
1739
|
-
\`\`\`bash
|
|
1740
|
-
kubectl rollout undo deployment/${projectName}
|
|
1741
|
-
kubectl rollout status deployment/${projectName}
|
|
1742
|
-
\`\`\`
|
|
1743
|
-
|
|
1744
|
-
## Health Checks
|
|
1745
|
-
|
|
1746
|
-
Implement health endpoints:
|
|
1747
|
-
|
|
1748
|
-
\`\`\`python
|
|
1749
|
-
from flask import Flask, jsonify
|
|
1750
|
-
|
|
1751
|
-
app = Flask(__name__)
|
|
1752
|
-
|
|
1753
|
-
@app.route('/health')
|
|
1754
|
-
def health():
|
|
1755
|
-
return jsonify({"status": "healthy"}), 200
|
|
1756
|
-
|
|
1757
|
-
@app.route('/ready')
|
|
1758
|
-
def ready():
|
|
1759
|
-
# Check crew initialization
|
|
1760
|
-
return jsonify({"status": "ready"}), 200
|
|
1761
|
-
\`\`\`
|
|
1762
|
-
|
|
1763
|
-
---
|
|
1764
|
-
|
|
1765
|
-
For additional support, see the main [README.md](./README.md) or consult the OSSA documentation.
|
|
1766
|
-
`;
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1769
|
-
//# sourceMappingURL=adapter.js.map
|