@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,1419 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Observability Generator Service
|
|
3
|
-
*
|
|
4
|
-
* Generates deployable observability configuration from an OSSA agent manifest:
|
|
5
|
-
* - observability/traces.yaml OTel Collector pipeline config
|
|
6
|
-
* - observability/metrics.yaml Prometheus-compatible metric definitions
|
|
7
|
-
* - observability/dashboards/agent-health.json Grafana dashboard template
|
|
8
|
-
*
|
|
9
|
-
* Uses OpenTelemetry gen_ai semantic conventions (v1.39.0 experimental).
|
|
10
|
-
* Reference: src/adapters/opentelemetry.adapter.ts for runtime patterns.
|
|
11
|
-
* This service generates static config FILES, not runtime initialization.
|
|
12
|
-
*
|
|
13
|
-
* SOLID: Single Responsibility - observability config generation only
|
|
14
|
-
* DRY: Reuses OssaAgent types, single-source manifest
|
|
15
|
-
*/
|
|
16
|
-
import * as yaml from 'yaml';
|
|
17
|
-
// ── Service ─────────────────────────────────────────────────────────
|
|
18
|
-
export class ObservabilityGeneratorService {
|
|
19
|
-
/**
|
|
20
|
-
* Generate observability configuration files from an OSSA manifest.
|
|
21
|
-
*
|
|
22
|
-
* @param manifest - A validated OssaAgent manifest
|
|
23
|
-
* @returns ExportFile[] ready for disk write or archive
|
|
24
|
-
*/
|
|
25
|
-
generate(manifest) {
|
|
26
|
-
const identity = this.resolveIdentity(manifest);
|
|
27
|
-
const endpoints = this.resolveEndpoints(manifest);
|
|
28
|
-
const constraints = this.resolveConstraints(manifest);
|
|
29
|
-
const tools = this.resolveTools(manifest);
|
|
30
|
-
const team = this.resolveTeam(manifest);
|
|
31
|
-
const isMultiAgent = team.length > 0;
|
|
32
|
-
const files = [
|
|
33
|
-
this.generateTracesYaml(identity, endpoints, tools, team),
|
|
34
|
-
this.generateMetricsYaml(identity, endpoints, constraints, tools, team),
|
|
35
|
-
this.generateDashboardJson(identity, constraints, tools, isMultiAgent),
|
|
36
|
-
];
|
|
37
|
-
return files;
|
|
38
|
-
}
|
|
39
|
-
// ── Identity resolution ─────────────────────────────────────────
|
|
40
|
-
resolveIdentity(manifest) {
|
|
41
|
-
const meta = manifest.metadata;
|
|
42
|
-
const spec = manifest.spec;
|
|
43
|
-
return {
|
|
44
|
-
name: meta?.name ?? 'unnamed-agent',
|
|
45
|
-
version: meta?.version ?? '0.0.0',
|
|
46
|
-
provider: spec?.llm?.provider ?? 'unknown',
|
|
47
|
-
model: spec?.llm?.model ?? 'unknown',
|
|
48
|
-
pattern: meta?.agentArchitecture?.pattern ?? 'single',
|
|
49
|
-
agentType: meta?.agentType ?? 'custom',
|
|
50
|
-
agentKind: meta?.agentKind ?? 'worker',
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
// ── Endpoint resolution ─────────────────────────────────────────
|
|
54
|
-
resolveEndpoints(manifest) {
|
|
55
|
-
const obs = manifest.spec?.observability;
|
|
56
|
-
const ext = manifest.extensions?.observability;
|
|
57
|
-
const extTraces = ext?.traces;
|
|
58
|
-
const extMetrics = ext?.metrics;
|
|
59
|
-
// Prefer spec.observability, fall back to extensions.observability, then defaults
|
|
60
|
-
const tracesEndpoint = obs?.tracing?.endpoint ??
|
|
61
|
-
extTraces?.endpoint ??
|
|
62
|
-
'http://localhost:4318/v1/traces';
|
|
63
|
-
const metricsEndpoint = obs?.metrics?.endpoint ??
|
|
64
|
-
extMetrics?.endpoint ??
|
|
65
|
-
'http://localhost:4318/v1/metrics';
|
|
66
|
-
const tracesExporter = obs?.tracing?.exporter ?? 'otlp';
|
|
67
|
-
const metricsExporter = obs?.metrics?.exporter ?? 'otlp';
|
|
68
|
-
const sampleRate = extTraces?.sample_rate ?? 1.0;
|
|
69
|
-
const collectionIntervalSeconds = extMetrics?.collection_interval_seconds ?? 60;
|
|
70
|
-
return {
|
|
71
|
-
tracesEndpoint,
|
|
72
|
-
metricsEndpoint,
|
|
73
|
-
tracesExporter,
|
|
74
|
-
metricsExporter,
|
|
75
|
-
sampleRate,
|
|
76
|
-
collectionIntervalSeconds,
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
// ── Constraint resolution ───────────────────────────────────────
|
|
80
|
-
resolveConstraints(manifest) {
|
|
81
|
-
const cost = manifest.spec?.constraints?.cost;
|
|
82
|
-
const perf = manifest.spec?.constraints?.performance;
|
|
83
|
-
return {
|
|
84
|
-
maxTokensPerDay: cost?.maxTokensPerDay ?? 1_000_000,
|
|
85
|
-
maxCostPerDay: cost?.maxCostPerDay ?? 100,
|
|
86
|
-
maxLatencySeconds: perf?.maxLatencySeconds ?? 30,
|
|
87
|
-
maxErrorRate: perf?.maxErrorRate ?? 0.05,
|
|
88
|
-
timeoutSeconds: perf?.timeoutSeconds ?? 120,
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
// ── Tool resolution ─────────────────────────────────────────────
|
|
92
|
-
resolveTools(manifest) {
|
|
93
|
-
const tools = manifest.spec?.tools ?? [];
|
|
94
|
-
return tools.map((t) => t.name ?? t.type ?? 'unknown_tool');
|
|
95
|
-
}
|
|
96
|
-
// ── Team resolution ─────────────────────────────────────────────
|
|
97
|
-
resolveTeam(manifest) {
|
|
98
|
-
const spec = manifest.spec;
|
|
99
|
-
if (!spec)
|
|
100
|
-
return [];
|
|
101
|
-
// Check spec.team.members (primary path for multi-agent)
|
|
102
|
-
const team = spec.team;
|
|
103
|
-
if (team?.members && Array.isArray(team.members)) {
|
|
104
|
-
return team.members.map((m) => ({
|
|
105
|
-
name: m.name ?? 'unnamed',
|
|
106
|
-
role: m.role ?? 'worker',
|
|
107
|
-
}));
|
|
108
|
-
}
|
|
109
|
-
// Check spec.swarm.agents
|
|
110
|
-
const swarm = spec.swarm;
|
|
111
|
-
if (swarm?.agents && Array.isArray(swarm.agents)) {
|
|
112
|
-
return swarm.agents.map((a) => ({
|
|
113
|
-
name: a.name ?? 'unnamed',
|
|
114
|
-
role: a.role ?? 'worker',
|
|
115
|
-
}));
|
|
116
|
-
}
|
|
117
|
-
// Check spec.subagents
|
|
118
|
-
if (spec.subagents && Array.isArray(spec.subagents)) {
|
|
119
|
-
return spec.subagents.map((s) => ({
|
|
120
|
-
name: s.name ?? 'unnamed',
|
|
121
|
-
role: s.role ?? 'worker',
|
|
122
|
-
}));
|
|
123
|
-
}
|
|
124
|
-
return [];
|
|
125
|
-
}
|
|
126
|
-
// ── Traces YAML ─────────────────────────────────────────────────
|
|
127
|
-
generateTracesYaml(identity, endpoints, tools, team) {
|
|
128
|
-
const isMultiAgent = team.length > 0;
|
|
129
|
-
// Build OTel Collector config using gen_ai semantic conventions
|
|
130
|
-
const config = {
|
|
131
|
-
// Header comment captured as YAML comment below
|
|
132
|
-
receivers: {
|
|
133
|
-
otlp: {
|
|
134
|
-
protocols: {
|
|
135
|
-
http: {
|
|
136
|
-
endpoint: '0.0.0.0:4318',
|
|
137
|
-
},
|
|
138
|
-
grpc: {
|
|
139
|
-
endpoint: '0.0.0.0:4317',
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
},
|
|
143
|
-
},
|
|
144
|
-
processors: {
|
|
145
|
-
batch: {
|
|
146
|
-
timeout: '5s',
|
|
147
|
-
send_batch_size: 512,
|
|
148
|
-
send_batch_max_size: 1024,
|
|
149
|
-
},
|
|
150
|
-
// Enrich all spans with agent resource attributes
|
|
151
|
-
resource: {
|
|
152
|
-
attributes: [
|
|
153
|
-
{ key: 'service.name', value: identity.name, action: 'upsert' },
|
|
154
|
-
{
|
|
155
|
-
key: 'service.version',
|
|
156
|
-
value: identity.version,
|
|
157
|
-
action: 'upsert',
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
key: 'gen_ai.agent.name',
|
|
161
|
-
value: identity.name,
|
|
162
|
-
action: 'upsert',
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
key: 'gen_ai.provider.name',
|
|
166
|
-
value: identity.provider,
|
|
167
|
-
action: 'upsert',
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
key: 'gen_ai.request.model',
|
|
171
|
-
value: identity.model,
|
|
172
|
-
action: 'upsert',
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
key: 'ossa.agent.type',
|
|
176
|
-
value: identity.agentType,
|
|
177
|
-
action: 'upsert',
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
key: 'ossa.agent.kind',
|
|
181
|
-
value: identity.agentKind,
|
|
182
|
-
action: 'upsert',
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
key: 'ossa.agent.architecture.pattern',
|
|
186
|
-
value: identity.pattern,
|
|
187
|
-
action: 'upsert',
|
|
188
|
-
},
|
|
189
|
-
],
|
|
190
|
-
},
|
|
191
|
-
// Probabilistic sampling for high-throughput agents
|
|
192
|
-
probabilistic_sampler: {
|
|
193
|
-
sampling_percentage: endpoints.sampleRate * 100,
|
|
194
|
-
},
|
|
195
|
-
// Span filtering: keep only gen_ai.* and agent.* spans in production
|
|
196
|
-
filter: {
|
|
197
|
-
error_mode: 'ignore',
|
|
198
|
-
traces: {
|
|
199
|
-
span: [
|
|
200
|
-
'attributes["gen_ai.operation.name"] != nil',
|
|
201
|
-
'attributes["gen_ai.agent.name"] != nil',
|
|
202
|
-
'name == "invoke_agent"',
|
|
203
|
-
'name == "gen_ai.tool.call"',
|
|
204
|
-
'name == "gen_ai.chat"',
|
|
205
|
-
'name == "gen_ai.content.completion"',
|
|
206
|
-
],
|
|
207
|
-
},
|
|
208
|
-
},
|
|
209
|
-
},
|
|
210
|
-
exporters: this.buildTraceExporters(endpoints),
|
|
211
|
-
service: {
|
|
212
|
-
pipelines: {
|
|
213
|
-
traces: {
|
|
214
|
-
receivers: ['otlp'],
|
|
215
|
-
processors: ['resource', 'probabilistic_sampler', 'batch'],
|
|
216
|
-
exporters: this.buildTraceExporterNames(endpoints),
|
|
217
|
-
},
|
|
218
|
-
},
|
|
219
|
-
telemetry: {
|
|
220
|
-
logs: {
|
|
221
|
-
level: 'info',
|
|
222
|
-
},
|
|
223
|
-
},
|
|
224
|
-
},
|
|
225
|
-
};
|
|
226
|
-
// Add span definitions as documentation for instrumentation
|
|
227
|
-
const spanDefinitions = this.buildSpanDefinitions(identity, tools, team, isMultiAgent);
|
|
228
|
-
const yamlContent = [
|
|
229
|
-
`# OpenTelemetry Collector configuration for ${identity.name}`,
|
|
230
|
-
`# Generated from OSSA manifest v${identity.version}`,
|
|
231
|
-
`# gen_ai semantic conventions v1.39.0 (experimental)`,
|
|
232
|
-
'#',
|
|
233
|
-
'# Span naming conventions:',
|
|
234
|
-
'# invoke_agent - Top-level agent invocation (kind: CLIENT)',
|
|
235
|
-
'# gen_ai.chat - LLM chat completion call (kind: CLIENT)',
|
|
236
|
-
'# gen_ai.content.completion - Content generation (kind: INTERNAL)',
|
|
237
|
-
'# gen_ai.tool.call - Tool invocation (kind: INTERNAL)',
|
|
238
|
-
...(isMultiAgent
|
|
239
|
-
? [
|
|
240
|
-
'# agent.handoff - Inter-agent handoff (kind: INTERNAL)',
|
|
241
|
-
'# agent.coordinate - Team coordination (kind: INTERNAL)',
|
|
242
|
-
]
|
|
243
|
-
: []),
|
|
244
|
-
'#',
|
|
245
|
-
yaml.stringify(config, { lineWidth: 120 }),
|
|
246
|
-
'',
|
|
247
|
-
'# ── Span Definitions (for instrumentation reference) ──',
|
|
248
|
-
'#',
|
|
249
|
-
yaml.stringify({ _span_definitions: spanDefinitions }, { lineWidth: 120 }),
|
|
250
|
-
].join('\n');
|
|
251
|
-
return {
|
|
252
|
-
path: 'observability/traces.yaml',
|
|
253
|
-
content: yamlContent,
|
|
254
|
-
type: 'config',
|
|
255
|
-
language: 'yaml',
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
buildTraceExporters(endpoints) {
|
|
259
|
-
const exporters = {};
|
|
260
|
-
switch (endpoints.tracesExporter) {
|
|
261
|
-
case 'jaeger':
|
|
262
|
-
exporters.jaeger = {
|
|
263
|
-
endpoint: endpoints.tracesEndpoint,
|
|
264
|
-
tls: { insecure: true },
|
|
265
|
-
};
|
|
266
|
-
break;
|
|
267
|
-
case 'zipkin':
|
|
268
|
-
exporters.zipkin = {
|
|
269
|
-
endpoint: endpoints.tracesEndpoint,
|
|
270
|
-
};
|
|
271
|
-
break;
|
|
272
|
-
case 'otlp':
|
|
273
|
-
default:
|
|
274
|
-
exporters.otlp = {
|
|
275
|
-
endpoint: endpoints.tracesEndpoint,
|
|
276
|
-
tls: { insecure: true },
|
|
277
|
-
};
|
|
278
|
-
break;
|
|
279
|
-
}
|
|
280
|
-
// Always include debug exporter for development
|
|
281
|
-
exporters.debug = {
|
|
282
|
-
verbosity: 'basic',
|
|
283
|
-
};
|
|
284
|
-
return exporters;
|
|
285
|
-
}
|
|
286
|
-
buildTraceExporterNames(endpoints) {
|
|
287
|
-
const names = [];
|
|
288
|
-
switch (endpoints.tracesExporter) {
|
|
289
|
-
case 'jaeger':
|
|
290
|
-
names.push('jaeger');
|
|
291
|
-
break;
|
|
292
|
-
case 'zipkin':
|
|
293
|
-
names.push('zipkin');
|
|
294
|
-
break;
|
|
295
|
-
case 'otlp':
|
|
296
|
-
default:
|
|
297
|
-
names.push('otlp');
|
|
298
|
-
break;
|
|
299
|
-
}
|
|
300
|
-
names.push('debug');
|
|
301
|
-
return names;
|
|
302
|
-
}
|
|
303
|
-
buildSpanDefinitions(identity, tools, team, isMultiAgent) {
|
|
304
|
-
const spans = [
|
|
305
|
-
{
|
|
306
|
-
name: 'invoke_agent',
|
|
307
|
-
kind: 'CLIENT',
|
|
308
|
-
description: `Top-level invocation of ${identity.name}`,
|
|
309
|
-
attributes: {
|
|
310
|
-
'gen_ai.agent.name': identity.name,
|
|
311
|
-
'gen_ai.operation.name': 'invoke_agent',
|
|
312
|
-
'gen_ai.request.model': identity.model,
|
|
313
|
-
'gen_ai.provider.name': identity.provider,
|
|
314
|
-
'gen_ai.agent.description': `${identity.agentKind} agent (${identity.pattern} pattern)`,
|
|
315
|
-
},
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
name: 'gen_ai.chat',
|
|
319
|
-
kind: 'CLIENT',
|
|
320
|
-
description: 'LLM chat completion request',
|
|
321
|
-
attributes: {
|
|
322
|
-
'gen_ai.operation.name': 'chat',
|
|
323
|
-
'gen_ai.request.model': identity.model,
|
|
324
|
-
'gen_ai.provider.name': identity.provider,
|
|
325
|
-
'gen_ai.request.temperature': '${temperature}',
|
|
326
|
-
'gen_ai.request.max_tokens': '${maxTokens}',
|
|
327
|
-
'gen_ai.request.top_p': '${topP}',
|
|
328
|
-
},
|
|
329
|
-
events: [
|
|
330
|
-
{
|
|
331
|
-
name: 'gen_ai.content.prompt',
|
|
332
|
-
attributes: { 'gen_ai.prompt': '${prompt_content}' },
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
name: 'gen_ai.content.completion',
|
|
336
|
-
attributes: { 'gen_ai.completion': '${completion_content}' },
|
|
337
|
-
},
|
|
338
|
-
],
|
|
339
|
-
metrics_on_end: {
|
|
340
|
-
'gen_ai.usage.input_tokens': '${input_tokens}',
|
|
341
|
-
'gen_ai.usage.output_tokens': '${output_tokens}',
|
|
342
|
-
},
|
|
343
|
-
},
|
|
344
|
-
];
|
|
345
|
-
// Tool call spans
|
|
346
|
-
for (const toolName of tools) {
|
|
347
|
-
spans.push({
|
|
348
|
-
name: 'gen_ai.tool.call',
|
|
349
|
-
kind: 'INTERNAL',
|
|
350
|
-
description: `Tool invocation: ${toolName}`,
|
|
351
|
-
attributes: {
|
|
352
|
-
'gen_ai.operation.name': 'tool_call',
|
|
353
|
-
'gen_ai.tool.name': toolName,
|
|
354
|
-
'gen_ai.tool.call.id': '${call_id}',
|
|
355
|
-
'gen_ai.tool.parameters': '${parameters_json}',
|
|
356
|
-
},
|
|
357
|
-
});
|
|
358
|
-
}
|
|
359
|
-
// Multi-agent coordination spans
|
|
360
|
-
if (isMultiAgent) {
|
|
361
|
-
spans.push({
|
|
362
|
-
name: 'agent.handoff',
|
|
363
|
-
kind: 'INTERNAL',
|
|
364
|
-
description: 'Handoff between agents in the team',
|
|
365
|
-
attributes: {
|
|
366
|
-
'gen_ai.operation.name': 'handoff',
|
|
367
|
-
'ossa.handoff.source_agent': '${source_agent}',
|
|
368
|
-
'ossa.handoff.target_agent': '${target_agent}',
|
|
369
|
-
'ossa.handoff.reason': '${reason}',
|
|
370
|
-
},
|
|
371
|
-
}, {
|
|
372
|
-
name: 'agent.coordinate',
|
|
373
|
-
kind: 'INTERNAL',
|
|
374
|
-
description: 'Team coordination event',
|
|
375
|
-
attributes: {
|
|
376
|
-
'gen_ai.operation.name': 'coordinate',
|
|
377
|
-
'ossa.coordination.team_size': String(team.length),
|
|
378
|
-
'ossa.coordination.pattern': identity.pattern,
|
|
379
|
-
'ossa.coordination.leader': '${leader_name}',
|
|
380
|
-
},
|
|
381
|
-
});
|
|
382
|
-
// Per-member invocation spans
|
|
383
|
-
for (const member of team) {
|
|
384
|
-
spans.push({
|
|
385
|
-
name: `invoke_agent`,
|
|
386
|
-
kind: 'INTERNAL',
|
|
387
|
-
description: `Invocation of team member: ${member.name} (${member.role})`,
|
|
388
|
-
attributes: {
|
|
389
|
-
'gen_ai.agent.name': member.name,
|
|
390
|
-
'gen_ai.operation.name': 'invoke_agent',
|
|
391
|
-
'ossa.agent.role': member.role,
|
|
392
|
-
'ossa.team.parent': identity.name,
|
|
393
|
-
},
|
|
394
|
-
});
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
return spans;
|
|
398
|
-
}
|
|
399
|
-
// ── Metrics YAML ────────────────────────────────────────────────
|
|
400
|
-
generateMetricsYaml(identity, endpoints, constraints, tools, team) {
|
|
401
|
-
const isMultiAgent = team.length > 0;
|
|
402
|
-
const sanitizedName = identity.name.replace(/[^a-zA-Z0-9_]/g, '_');
|
|
403
|
-
const metricDefinitions = this.buildMetricDefinitions(sanitizedName, identity, constraints, tools, team, isMultiAgent);
|
|
404
|
-
// OTel Collector config fragment for metrics pipeline
|
|
405
|
-
const collectorConfig = {
|
|
406
|
-
receivers: {
|
|
407
|
-
otlp: {
|
|
408
|
-
protocols: {
|
|
409
|
-
http: { endpoint: '0.0.0.0:4318' },
|
|
410
|
-
grpc: { endpoint: '0.0.0.0:4317' },
|
|
411
|
-
},
|
|
412
|
-
},
|
|
413
|
-
prometheus: {
|
|
414
|
-
config: {
|
|
415
|
-
scrape_configs: [
|
|
416
|
-
{
|
|
417
|
-
job_name: `${identity.name}-metrics`,
|
|
418
|
-
scrape_interval: `${endpoints.collectionIntervalSeconds}s`,
|
|
419
|
-
static_configs: [
|
|
420
|
-
{
|
|
421
|
-
targets: ['localhost:9464'],
|
|
422
|
-
labels: {
|
|
423
|
-
agent: identity.name,
|
|
424
|
-
version: identity.version,
|
|
425
|
-
provider: identity.provider,
|
|
426
|
-
},
|
|
427
|
-
},
|
|
428
|
-
],
|
|
429
|
-
},
|
|
430
|
-
],
|
|
431
|
-
},
|
|
432
|
-
},
|
|
433
|
-
},
|
|
434
|
-
processors: {
|
|
435
|
-
batch: {
|
|
436
|
-
timeout: '10s',
|
|
437
|
-
send_batch_size: 256,
|
|
438
|
-
},
|
|
439
|
-
resource: {
|
|
440
|
-
attributes: [
|
|
441
|
-
{ key: 'service.name', value: identity.name, action: 'upsert' },
|
|
442
|
-
{
|
|
443
|
-
key: 'service.version',
|
|
444
|
-
value: identity.version,
|
|
445
|
-
action: 'upsert',
|
|
446
|
-
},
|
|
447
|
-
],
|
|
448
|
-
},
|
|
449
|
-
},
|
|
450
|
-
exporters: this.buildMetricExporters(endpoints),
|
|
451
|
-
service: {
|
|
452
|
-
pipelines: {
|
|
453
|
-
metrics: {
|
|
454
|
-
receivers: ['otlp', 'prometheus'],
|
|
455
|
-
processors: ['resource', 'batch'],
|
|
456
|
-
exporters: this.buildMetricExporterNames(endpoints),
|
|
457
|
-
},
|
|
458
|
-
},
|
|
459
|
-
},
|
|
460
|
-
};
|
|
461
|
-
// Prometheus recording rules for derived metrics
|
|
462
|
-
const recordingRules = this.buildRecordingRules(sanitizedName, identity, constraints, isMultiAgent);
|
|
463
|
-
// Alert rules based on constraints
|
|
464
|
-
const alertRules = this.buildAlertRules(sanitizedName, identity, constraints, isMultiAgent);
|
|
465
|
-
const yamlContent = [
|
|
466
|
-
`# Metrics configuration for ${identity.name}`,
|
|
467
|
-
`# Generated from OSSA manifest v${identity.version}`,
|
|
468
|
-
`# gen_ai semantic conventions v1.39.0 (experimental)`,
|
|
469
|
-
'#',
|
|
470
|
-
'# Includes:',
|
|
471
|
-
'# - OTel Collector metrics pipeline config',
|
|
472
|
-
'# - Metric definitions (Prometheus-compatible)',
|
|
473
|
-
'# - Recording rules (pre-computed aggregates)',
|
|
474
|
-
'# - Alert rules (constraint-based thresholds)',
|
|
475
|
-
'#',
|
|
476
|
-
'',
|
|
477
|
-
'# ── OTel Collector Config ──',
|
|
478
|
-
yaml.stringify(collectorConfig, { lineWidth: 120 }),
|
|
479
|
-
'',
|
|
480
|
-
'# ── Metric Definitions ──',
|
|
481
|
-
yaml.stringify({ metric_definitions: metricDefinitions }, { lineWidth: 120 }),
|
|
482
|
-
'',
|
|
483
|
-
'# ── Prometheus Recording Rules ──',
|
|
484
|
-
yaml.stringify({ groups: [recordingRules] }, { lineWidth: 120 }),
|
|
485
|
-
'',
|
|
486
|
-
'# ── Prometheus Alert Rules ──',
|
|
487
|
-
yaml.stringify({ groups: [alertRules] }, { lineWidth: 120 }),
|
|
488
|
-
].join('\n');
|
|
489
|
-
return {
|
|
490
|
-
path: 'observability/metrics.yaml',
|
|
491
|
-
content: yamlContent,
|
|
492
|
-
type: 'config',
|
|
493
|
-
language: 'yaml',
|
|
494
|
-
};
|
|
495
|
-
}
|
|
496
|
-
buildMetricExporters(endpoints) {
|
|
497
|
-
const exporters = {};
|
|
498
|
-
switch (endpoints.metricsExporter) {
|
|
499
|
-
case 'prometheus':
|
|
500
|
-
exporters.prometheus = {
|
|
501
|
-
endpoint: '0.0.0.0:9464',
|
|
502
|
-
namespace: 'ossa',
|
|
503
|
-
const_labels: {
|
|
504
|
-
source: 'ossa-agent',
|
|
505
|
-
},
|
|
506
|
-
};
|
|
507
|
-
break;
|
|
508
|
-
case 'otlp':
|
|
509
|
-
default:
|
|
510
|
-
exporters.otlp = {
|
|
511
|
-
endpoint: endpoints.metricsEndpoint,
|
|
512
|
-
tls: { insecure: true },
|
|
513
|
-
};
|
|
514
|
-
break;
|
|
515
|
-
}
|
|
516
|
-
exporters.debug = {
|
|
517
|
-
verbosity: 'basic',
|
|
518
|
-
};
|
|
519
|
-
return exporters;
|
|
520
|
-
}
|
|
521
|
-
buildMetricExporterNames(endpoints) {
|
|
522
|
-
const names = [];
|
|
523
|
-
switch (endpoints.metricsExporter) {
|
|
524
|
-
case 'prometheus':
|
|
525
|
-
names.push('prometheus');
|
|
526
|
-
break;
|
|
527
|
-
case 'otlp':
|
|
528
|
-
default:
|
|
529
|
-
names.push('otlp');
|
|
530
|
-
break;
|
|
531
|
-
}
|
|
532
|
-
names.push('debug');
|
|
533
|
-
return names;
|
|
534
|
-
}
|
|
535
|
-
buildMetricDefinitions(sanitizedName, identity, constraints, tools, team, isMultiAgent) {
|
|
536
|
-
const metrics = [
|
|
537
|
-
// ── Token Usage ───────────────────────────────────
|
|
538
|
-
{
|
|
539
|
-
name: 'gen_ai_usage_input_tokens_total',
|
|
540
|
-
type: 'counter',
|
|
541
|
-
unit: 'tokens',
|
|
542
|
-
description: 'Total input tokens consumed by LLM requests',
|
|
543
|
-
labels: [
|
|
544
|
-
'gen_ai.provider.name',
|
|
545
|
-
'gen_ai.request.model',
|
|
546
|
-
'gen_ai.agent.name',
|
|
547
|
-
],
|
|
548
|
-
semantic_convention: 'gen_ai.usage.input_tokens',
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
name: 'gen_ai_usage_output_tokens_total',
|
|
552
|
-
type: 'counter',
|
|
553
|
-
unit: 'tokens',
|
|
554
|
-
description: 'Total output tokens generated by LLM responses',
|
|
555
|
-
labels: [
|
|
556
|
-
'gen_ai.provider.name',
|
|
557
|
-
'gen_ai.request.model',
|
|
558
|
-
'gen_ai.agent.name',
|
|
559
|
-
],
|
|
560
|
-
semantic_convention: 'gen_ai.usage.output_tokens',
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
name: `${sanitizedName}_tokens_daily_total`,
|
|
564
|
-
type: 'counter',
|
|
565
|
-
unit: 'tokens',
|
|
566
|
-
description: `Daily token budget consumption for ${identity.name}`,
|
|
567
|
-
labels: ['direction', 'gen_ai.request.model'],
|
|
568
|
-
threshold: constraints.maxTokensPerDay,
|
|
569
|
-
},
|
|
570
|
-
// ── Latency ───────────────────────────────────────
|
|
571
|
-
{
|
|
572
|
-
name: 'gen_ai_client_operation_duration_seconds',
|
|
573
|
-
type: 'histogram',
|
|
574
|
-
unit: 'seconds',
|
|
575
|
-
description: 'Duration of gen_ai operations (chat, tool_call, invoke_agent)',
|
|
576
|
-
labels: [
|
|
577
|
-
'gen_ai.operation.name',
|
|
578
|
-
'gen_ai.agent.name',
|
|
579
|
-
'gen_ai.request.model',
|
|
580
|
-
],
|
|
581
|
-
buckets: [0.1, 0.25, 0.5, 1.0, 2.5, 5.0, 10.0, 15.0, 30.0, 60.0, 120.0],
|
|
582
|
-
semantic_convention: 'gen_ai.client.operation.duration',
|
|
583
|
-
slo_threshold: constraints.maxLatencySeconds,
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
name: `${sanitizedName}_time_to_first_token_seconds`,
|
|
587
|
-
type: 'histogram',
|
|
588
|
-
unit: 'seconds',
|
|
589
|
-
description: 'Time to first token in streaming responses',
|
|
590
|
-
labels: ['gen_ai.request.model', 'gen_ai.provider.name'],
|
|
591
|
-
buckets: [0.05, 0.1, 0.2, 0.5, 1.0, 2.0, 5.0],
|
|
592
|
-
},
|
|
593
|
-
// ── Cost ──────────────────────────────────────────
|
|
594
|
-
{
|
|
595
|
-
name: `${sanitizedName}_cost_per_request_dollars`,
|
|
596
|
-
type: 'histogram',
|
|
597
|
-
unit: 'dollars',
|
|
598
|
-
description: 'Estimated cost per LLM request in USD',
|
|
599
|
-
labels: ['gen_ai.operation.name', 'gen_ai.request.model'],
|
|
600
|
-
buckets: [0.001, 0.005, 0.01, 0.05, 0.1, 0.5, 1.0, 5.0],
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
name: `${sanitizedName}_cost_daily_total_dollars`,
|
|
604
|
-
type: 'counter',
|
|
605
|
-
unit: 'dollars',
|
|
606
|
-
description: `Daily cost accumulation for ${identity.name}`,
|
|
607
|
-
labels: ['gen_ai.request.model'],
|
|
608
|
-
threshold: constraints.maxCostPerDay,
|
|
609
|
-
},
|
|
610
|
-
// ── Error Tracking ────────────────────────────────
|
|
611
|
-
{
|
|
612
|
-
name: `${sanitizedName}_requests_total`,
|
|
613
|
-
type: 'counter',
|
|
614
|
-
description: 'Total requests processed by the agent',
|
|
615
|
-
labels: ['gen_ai.operation.name', 'status', 'error.type'],
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
name: `${sanitizedName}_errors_total`,
|
|
619
|
-
type: 'counter',
|
|
620
|
-
description: 'Total errors encountered by the agent',
|
|
621
|
-
labels: ['gen_ai.operation.name', 'error.type', 'gen_ai.request.model'],
|
|
622
|
-
threshold_rate: constraints.maxErrorRate,
|
|
623
|
-
},
|
|
624
|
-
// ── Tool Metrics ──────────────────────────────────
|
|
625
|
-
{
|
|
626
|
-
name: `${sanitizedName}_tool_calls_total`,
|
|
627
|
-
type: 'counter',
|
|
628
|
-
description: 'Total tool invocations',
|
|
629
|
-
labels: ['gen_ai.tool.name', 'status'],
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
name: `${sanitizedName}_tool_duration_seconds`,
|
|
633
|
-
type: 'histogram',
|
|
634
|
-
unit: 'seconds',
|
|
635
|
-
description: 'Duration of individual tool calls',
|
|
636
|
-
labels: ['gen_ai.tool.name'],
|
|
637
|
-
buckets: [0.01, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0, 10.0, 30.0],
|
|
638
|
-
},
|
|
639
|
-
// ── Agent Lifecycle ───────────────────────────────
|
|
640
|
-
{
|
|
641
|
-
name: `${sanitizedName}_invocations_total`,
|
|
642
|
-
type: 'counter',
|
|
643
|
-
description: 'Total agent invocations',
|
|
644
|
-
labels: ['gen_ai.agent.name', 'status'],
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
name: `${sanitizedName}_active_invocations`,
|
|
648
|
-
type: 'gauge',
|
|
649
|
-
description: 'Currently active agent invocations',
|
|
650
|
-
labels: ['gen_ai.agent.name'],
|
|
651
|
-
},
|
|
652
|
-
{
|
|
653
|
-
name: `${sanitizedName}_invocation_duration_seconds`,
|
|
654
|
-
type: 'histogram',
|
|
655
|
-
unit: 'seconds',
|
|
656
|
-
description: 'End-to-end duration of a full agent invocation',
|
|
657
|
-
labels: ['gen_ai.agent.name', 'status'],
|
|
658
|
-
buckets: [0.5, 1.0, 2.5, 5.0, 10.0, 30.0, 60.0, 120.0, 300.0],
|
|
659
|
-
},
|
|
660
|
-
];
|
|
661
|
-
// Per-tool specific counters
|
|
662
|
-
for (const tool of tools) {
|
|
663
|
-
metrics.push({
|
|
664
|
-
name: `${sanitizedName}_tool_${tool.replace(/[^a-zA-Z0-9_]/g, '_')}_calls_total`,
|
|
665
|
-
type: 'counter',
|
|
666
|
-
description: `Invocations of tool: ${tool}`,
|
|
667
|
-
labels: ['status', 'error.type'],
|
|
668
|
-
});
|
|
669
|
-
}
|
|
670
|
-
// ── Multi-agent / Team metrics ──────────────────────
|
|
671
|
-
if (isMultiAgent) {
|
|
672
|
-
metrics.push({
|
|
673
|
-
name: `${sanitizedName}_team_handoffs_total`,
|
|
674
|
-
type: 'counter',
|
|
675
|
-
description: 'Total handoffs between team members',
|
|
676
|
-
labels: ['source_agent', 'target_agent', 'reason'],
|
|
677
|
-
}, {
|
|
678
|
-
name: `${sanitizedName}_team_coordination_duration_seconds`,
|
|
679
|
-
type: 'histogram',
|
|
680
|
-
unit: 'seconds',
|
|
681
|
-
description: 'Duration of team coordination events',
|
|
682
|
-
labels: ['coordination_type', 'pattern'],
|
|
683
|
-
buckets: [0.1, 0.5, 1.0, 5.0, 10.0, 30.0, 60.0],
|
|
684
|
-
}, {
|
|
685
|
-
name: `${sanitizedName}_team_member_utilization_ratio`,
|
|
686
|
-
type: 'gauge',
|
|
687
|
-
description: 'Utilization ratio per team member (active time / total time)',
|
|
688
|
-
labels: ['gen_ai.agent.name', 'role'],
|
|
689
|
-
});
|
|
690
|
-
// Per-member metrics
|
|
691
|
-
for (const member of team) {
|
|
692
|
-
const memberSafe = member.name.replace(/[^a-zA-Z0-9_]/g, '_');
|
|
693
|
-
metrics.push({
|
|
694
|
-
name: `${sanitizedName}_member_${memberSafe}_tokens_total`,
|
|
695
|
-
type: 'counter',
|
|
696
|
-
unit: 'tokens',
|
|
697
|
-
description: `Token usage for team member: ${member.name} (${member.role})`,
|
|
698
|
-
labels: ['direction', 'gen_ai.request.model'],
|
|
699
|
-
}, {
|
|
700
|
-
name: `${sanitizedName}_member_${memberSafe}_invocations_total`,
|
|
701
|
-
type: 'counter',
|
|
702
|
-
description: `Invocations of team member: ${member.name}`,
|
|
703
|
-
labels: ['status'],
|
|
704
|
-
});
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
return metrics;
|
|
708
|
-
}
|
|
709
|
-
buildRecordingRules(sanitizedName, identity, constraints, isMultiAgent) {
|
|
710
|
-
const rules = [
|
|
711
|
-
// Token usage rate (tokens per minute)
|
|
712
|
-
{
|
|
713
|
-
record: `${sanitizedName}:tokens_per_minute`,
|
|
714
|
-
expr: `rate(gen_ai_usage_input_tokens_total{gen_ai_agent_name="${identity.name}"}[5m]) + rate(gen_ai_usage_output_tokens_total{gen_ai_agent_name="${identity.name}"}[5m])`,
|
|
715
|
-
},
|
|
716
|
-
// Error rate over 5m window
|
|
717
|
-
{
|
|
718
|
-
record: `${sanitizedName}:error_rate_5m`,
|
|
719
|
-
expr: `rate(${sanitizedName}_errors_total[5m]) / rate(${sanitizedName}_requests_total[5m])`,
|
|
720
|
-
},
|
|
721
|
-
// p50, p95, p99 latency
|
|
722
|
-
{
|
|
723
|
-
record: `${sanitizedName}:latency_p50`,
|
|
724
|
-
expr: `histogram_quantile(0.50, rate(gen_ai_client_operation_duration_seconds_bucket{gen_ai_agent_name="${identity.name}"}[5m]))`,
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
record: `${sanitizedName}:latency_p95`,
|
|
728
|
-
expr: `histogram_quantile(0.95, rate(gen_ai_client_operation_duration_seconds_bucket{gen_ai_agent_name="${identity.name}"}[5m]))`,
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
record: `${sanitizedName}:latency_p99`,
|
|
732
|
-
expr: `histogram_quantile(0.99, rate(gen_ai_client_operation_duration_seconds_bucket{gen_ai_agent_name="${identity.name}"}[5m]))`,
|
|
733
|
-
},
|
|
734
|
-
// Cost per task (estimated from token usage)
|
|
735
|
-
{
|
|
736
|
-
record: `${sanitizedName}:cost_per_task_avg`,
|
|
737
|
-
expr: `rate(${sanitizedName}_cost_daily_total_dollars[5m]) / rate(${sanitizedName}_invocations_total{status="success"}[5m])`,
|
|
738
|
-
},
|
|
739
|
-
// Token budget utilization (percentage of daily limit used)
|
|
740
|
-
{
|
|
741
|
-
record: `${sanitizedName}:token_budget_utilization`,
|
|
742
|
-
expr: `increase(${sanitizedName}_tokens_daily_total[24h]) / ${constraints.maxTokensPerDay}`,
|
|
743
|
-
},
|
|
744
|
-
// Tool call success rate
|
|
745
|
-
{
|
|
746
|
-
record: `${sanitizedName}:tool_success_rate`,
|
|
747
|
-
expr: `rate(${sanitizedName}_tool_calls_total{status="success"}[5m]) / rate(${sanitizedName}_tool_calls_total[5m])`,
|
|
748
|
-
},
|
|
749
|
-
];
|
|
750
|
-
if (isMultiAgent) {
|
|
751
|
-
rules.push({
|
|
752
|
-
record: `${sanitizedName}:handoff_rate_5m`,
|
|
753
|
-
expr: `rate(${sanitizedName}_team_handoffs_total[5m])`,
|
|
754
|
-
}, {
|
|
755
|
-
record: `${sanitizedName}:coordination_overhead_ratio`,
|
|
756
|
-
expr: `rate(${sanitizedName}_team_coordination_duration_seconds_sum[5m]) / rate(${sanitizedName}_invocation_duration_seconds_sum[5m])`,
|
|
757
|
-
});
|
|
758
|
-
}
|
|
759
|
-
return {
|
|
760
|
-
name: `${identity.name}_recording_rules`,
|
|
761
|
-
interval: '30s',
|
|
762
|
-
rules,
|
|
763
|
-
};
|
|
764
|
-
}
|
|
765
|
-
buildAlertRules(sanitizedName, identity, constraints, isMultiAgent) {
|
|
766
|
-
const rules = [
|
|
767
|
-
// High error rate
|
|
768
|
-
{
|
|
769
|
-
alert: `${identity.name}_HighErrorRate`,
|
|
770
|
-
expr: `${sanitizedName}:error_rate_5m > ${constraints.maxErrorRate}`,
|
|
771
|
-
for: '5m',
|
|
772
|
-
labels: {
|
|
773
|
-
severity: 'critical',
|
|
774
|
-
agent: identity.name,
|
|
775
|
-
},
|
|
776
|
-
annotations: {
|
|
777
|
-
summary: `Agent ${identity.name} error rate exceeds ${constraints.maxErrorRate * 100}%`,
|
|
778
|
-
description: `Error rate is {{ $value | humanizePercentage }} (threshold: ${constraints.maxErrorRate * 100}%).`,
|
|
779
|
-
runbook_url: `https://runbooks.example.com/agents/${identity.name}/high-error-rate`,
|
|
780
|
-
},
|
|
781
|
-
},
|
|
782
|
-
// High latency (p95 exceeding SLO)
|
|
783
|
-
{
|
|
784
|
-
alert: `${identity.name}_HighLatency`,
|
|
785
|
-
expr: `${sanitizedName}:latency_p95 > ${constraints.maxLatencySeconds}`,
|
|
786
|
-
for: '5m',
|
|
787
|
-
labels: {
|
|
788
|
-
severity: 'warning',
|
|
789
|
-
agent: identity.name,
|
|
790
|
-
},
|
|
791
|
-
annotations: {
|
|
792
|
-
summary: `Agent ${identity.name} p95 latency exceeds ${constraints.maxLatencySeconds}s`,
|
|
793
|
-
description: `p95 latency is {{ $value | humanizeDuration }} (SLO: ${constraints.maxLatencySeconds}s).`,
|
|
794
|
-
},
|
|
795
|
-
},
|
|
796
|
-
// Token budget exhaustion (>80% of daily budget)
|
|
797
|
-
{
|
|
798
|
-
alert: `${identity.name}_TokenBudgetWarning`,
|
|
799
|
-
expr: `${sanitizedName}:token_budget_utilization > 0.8`,
|
|
800
|
-
for: '10m',
|
|
801
|
-
labels: {
|
|
802
|
-
severity: 'warning',
|
|
803
|
-
agent: identity.name,
|
|
804
|
-
},
|
|
805
|
-
annotations: {
|
|
806
|
-
summary: `Agent ${identity.name} approaching token budget limit`,
|
|
807
|
-
description: `Token budget utilization is {{ $value | humanizePercentage }} of daily limit (${constraints.maxTokensPerDay.toLocaleString()} tokens).`,
|
|
808
|
-
},
|
|
809
|
-
},
|
|
810
|
-
// Token budget exceeded
|
|
811
|
-
{
|
|
812
|
-
alert: `${identity.name}_TokenBudgetExceeded`,
|
|
813
|
-
expr: `${sanitizedName}:token_budget_utilization > 1.0`,
|
|
814
|
-
for: '1m',
|
|
815
|
-
labels: {
|
|
816
|
-
severity: 'critical',
|
|
817
|
-
agent: identity.name,
|
|
818
|
-
},
|
|
819
|
-
annotations: {
|
|
820
|
-
summary: `Agent ${identity.name} has exceeded daily token budget`,
|
|
821
|
-
description: `Token budget utilization is {{ $value | humanizePercentage }}. Limit: ${constraints.maxTokensPerDay.toLocaleString()} tokens/day.`,
|
|
822
|
-
},
|
|
823
|
-
},
|
|
824
|
-
// Cost threshold exceeded
|
|
825
|
-
{
|
|
826
|
-
alert: `${identity.name}_DailyCostExceeded`,
|
|
827
|
-
expr: `increase(${sanitizedName}_cost_daily_total_dollars[24h]) > ${constraints.maxCostPerDay}`,
|
|
828
|
-
for: '5m',
|
|
829
|
-
labels: {
|
|
830
|
-
severity: 'critical',
|
|
831
|
-
agent: identity.name,
|
|
832
|
-
},
|
|
833
|
-
annotations: {
|
|
834
|
-
summary: `Agent ${identity.name} daily cost exceeds $${constraints.maxCostPerDay}`,
|
|
835
|
-
description: 'Daily cost is ${{ $value | printf "%.2f" }}.',
|
|
836
|
-
},
|
|
837
|
-
},
|
|
838
|
-
// Agent down (no invocations in 15m)
|
|
839
|
-
{
|
|
840
|
-
alert: `${identity.name}_AgentDown`,
|
|
841
|
-
expr: `rate(${sanitizedName}_invocations_total[15m]) == 0`,
|
|
842
|
-
for: '15m',
|
|
843
|
-
labels: {
|
|
844
|
-
severity: 'warning',
|
|
845
|
-
agent: identity.name,
|
|
846
|
-
},
|
|
847
|
-
annotations: {
|
|
848
|
-
summary: `Agent ${identity.name} has received no invocations in 15 minutes`,
|
|
849
|
-
description: 'The agent may be down or unreachable.',
|
|
850
|
-
},
|
|
851
|
-
},
|
|
852
|
-
// Tool failure spike
|
|
853
|
-
{
|
|
854
|
-
alert: `${identity.name}_ToolFailureSpike`,
|
|
855
|
-
expr: `(1 - ${sanitizedName}:tool_success_rate) > 0.2`,
|
|
856
|
-
for: '5m',
|
|
857
|
-
labels: {
|
|
858
|
-
severity: 'warning',
|
|
859
|
-
agent: identity.name,
|
|
860
|
-
},
|
|
861
|
-
annotations: {
|
|
862
|
-
summary: `Agent ${identity.name} tool failure rate exceeds 20%`,
|
|
863
|
-
description: 'Tool success rate is {{ $value | humanizePercentage }}.',
|
|
864
|
-
},
|
|
865
|
-
},
|
|
866
|
-
];
|
|
867
|
-
if (isMultiAgent) {
|
|
868
|
-
rules.push({
|
|
869
|
-
alert: `${identity.name}_HighCoordinationOverhead`,
|
|
870
|
-
expr: `${sanitizedName}:coordination_overhead_ratio > 0.3`,
|
|
871
|
-
for: '10m',
|
|
872
|
-
labels: {
|
|
873
|
-
severity: 'warning',
|
|
874
|
-
agent: identity.name,
|
|
875
|
-
},
|
|
876
|
-
annotations: {
|
|
877
|
-
summary: `Agent ${identity.name} spending >30% of time on coordination`,
|
|
878
|
-
description: 'Coordination overhead is {{ $value | humanizePercentage }}. Consider simplifying the team structure.',
|
|
879
|
-
},
|
|
880
|
-
}, {
|
|
881
|
-
alert: `${identity.name}_ExcessiveHandoffs`,
|
|
882
|
-
expr: `${sanitizedName}:handoff_rate_5m > 10`,
|
|
883
|
-
for: '5m',
|
|
884
|
-
labels: {
|
|
885
|
-
severity: 'warning',
|
|
886
|
-
agent: identity.name,
|
|
887
|
-
},
|
|
888
|
-
annotations: {
|
|
889
|
-
summary: `Agent ${identity.name} team handoff rate exceeds 10/5m`,
|
|
890
|
-
description: 'High handoff rate may indicate unclear task boundaries.',
|
|
891
|
-
},
|
|
892
|
-
});
|
|
893
|
-
}
|
|
894
|
-
return {
|
|
895
|
-
name: `${identity.name}_alert_rules`,
|
|
896
|
-
rules,
|
|
897
|
-
};
|
|
898
|
-
}
|
|
899
|
-
// ── Grafana Dashboard JSON ──────────────────────────────────────
|
|
900
|
-
generateDashboardJson(identity, constraints, tools, isMultiAgent) {
|
|
901
|
-
const dashboard = this.buildGrafanaDashboard(identity, constraints, tools, isMultiAgent);
|
|
902
|
-
return {
|
|
903
|
-
path: 'observability/dashboards/agent-health.json',
|
|
904
|
-
content: JSON.stringify(dashboard, null, 2),
|
|
905
|
-
type: 'config',
|
|
906
|
-
language: 'json',
|
|
907
|
-
};
|
|
908
|
-
}
|
|
909
|
-
buildGrafanaDashboard(identity, constraints, tools, isMultiAgent) {
|
|
910
|
-
const sanitizedName = identity.name.replace(/[^a-zA-Z0-9_]/g, '_');
|
|
911
|
-
const panels = [];
|
|
912
|
-
let panelId = 1;
|
|
913
|
-
let gridY = 0;
|
|
914
|
-
// ── Row: Overview ─────────────────────────────────
|
|
915
|
-
panels.push(this.createRow('Overview', gridY));
|
|
916
|
-
gridY += 1;
|
|
917
|
-
// Stat panels row
|
|
918
|
-
panels.push(this.createStatPanel(panelId++, 'Total Invocations', `sum(increase(${sanitizedName}_invocations_total[24h]))`, { x: 0, y: gridY, w: 4, h: 4 }, 'none', 'blue'));
|
|
919
|
-
panels.push(this.createStatPanel(panelId++, 'Active Invocations', `sum(${sanitizedName}_active_invocations)`, { x: 4, y: gridY, w: 4, h: 4 }, 'none', 'green'));
|
|
920
|
-
panels.push(this.createStatPanel(panelId++, 'Error Rate', `${sanitizedName}:error_rate_5m`, { x: 8, y: gridY, w: 4, h: 4 }, 'percentunit', 'red', [
|
|
921
|
-
{ color: 'green', value: null },
|
|
922
|
-
{ color: 'orange', value: constraints.maxErrorRate * 0.5 },
|
|
923
|
-
{ color: 'red', value: constraints.maxErrorRate },
|
|
924
|
-
]));
|
|
925
|
-
panels.push(this.createStatPanel(panelId++, 'p95 Latency', `${sanitizedName}:latency_p95`, { x: 12, y: gridY, w: 4, h: 4 }, 's', 'orange', [
|
|
926
|
-
{ color: 'green', value: null },
|
|
927
|
-
{ color: 'orange', value: constraints.maxLatencySeconds * 0.7 },
|
|
928
|
-
{ color: 'red', value: constraints.maxLatencySeconds },
|
|
929
|
-
]));
|
|
930
|
-
panels.push(this.createStatPanel(panelId++, 'Daily Cost', `increase(${sanitizedName}_cost_daily_total_dollars[24h])`, { x: 16, y: gridY, w: 4, h: 4 }, 'currencyUSD', 'purple', [
|
|
931
|
-
{ color: 'green', value: null },
|
|
932
|
-
{ color: 'orange', value: constraints.maxCostPerDay * 0.8 },
|
|
933
|
-
{ color: 'red', value: constraints.maxCostPerDay },
|
|
934
|
-
]));
|
|
935
|
-
panels.push(this.createStatPanel(panelId++, 'Token Budget Used', `${sanitizedName}:token_budget_utilization * 100`, { x: 20, y: gridY, w: 4, h: 4 }, 'percent', 'yellow', [
|
|
936
|
-
{ color: 'green', value: null },
|
|
937
|
-
{ color: 'orange', value: 80 },
|
|
938
|
-
{ color: 'red', value: 100 },
|
|
939
|
-
]));
|
|
940
|
-
gridY += 4;
|
|
941
|
-
// ── Row: Token Usage ──────────────────────────────
|
|
942
|
-
panels.push(this.createRow('Token Usage', gridY));
|
|
943
|
-
gridY += 1;
|
|
944
|
-
panels.push(this.createTimeSeriesPanel(panelId++, 'Token Usage Over Time', [
|
|
945
|
-
{
|
|
946
|
-
expr: `rate(gen_ai_usage_input_tokens_total{gen_ai_agent_name="${identity.name}"}[5m])`,
|
|
947
|
-
legendFormat: 'Input tokens/s',
|
|
948
|
-
},
|
|
949
|
-
{
|
|
950
|
-
expr: `rate(gen_ai_usage_output_tokens_total{gen_ai_agent_name="${identity.name}"}[5m])`,
|
|
951
|
-
legendFormat: 'Output tokens/s',
|
|
952
|
-
},
|
|
953
|
-
], { x: 0, y: gridY, w: 12, h: 8 }, 'tokens/s'));
|
|
954
|
-
panels.push(this.createTimeSeriesPanel(panelId++, 'Cumulative Token Budget', [
|
|
955
|
-
{
|
|
956
|
-
expr: `increase(${sanitizedName}_tokens_daily_total[${this.buildRange('$__range')}])`,
|
|
957
|
-
legendFormat: 'Tokens used',
|
|
958
|
-
},
|
|
959
|
-
{
|
|
960
|
-
expr: `vector(${constraints.maxTokensPerDay})`,
|
|
961
|
-
legendFormat: 'Daily limit',
|
|
962
|
-
},
|
|
963
|
-
], { x: 12, y: gridY, w: 12, h: 8 }, 'tokens'));
|
|
964
|
-
gridY += 8;
|
|
965
|
-
// ── Row: Latency ──────────────────────────────────
|
|
966
|
-
panels.push(this.createRow('Latency', gridY));
|
|
967
|
-
gridY += 1;
|
|
968
|
-
panels.push(this.createTimeSeriesPanel(panelId++, 'Latency Percentiles (p50 / p95 / p99)', [
|
|
969
|
-
{
|
|
970
|
-
expr: `${sanitizedName}:latency_p50`,
|
|
971
|
-
legendFormat: 'p50',
|
|
972
|
-
},
|
|
973
|
-
{
|
|
974
|
-
expr: `${sanitizedName}:latency_p95`,
|
|
975
|
-
legendFormat: 'p95',
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
expr: `${sanitizedName}:latency_p99`,
|
|
979
|
-
legendFormat: 'p99',
|
|
980
|
-
},
|
|
981
|
-
{
|
|
982
|
-
expr: `vector(${constraints.maxLatencySeconds})`,
|
|
983
|
-
legendFormat: 'SLO threshold',
|
|
984
|
-
},
|
|
985
|
-
], { x: 0, y: gridY, w: 12, h: 8 }, 's'));
|
|
986
|
-
panels.push(this.createHeatmapPanel(panelId++, 'Latency Distribution', `sum(rate(gen_ai_client_operation_duration_seconds_bucket{gen_ai_agent_name="${identity.name}"}[5m])) by (le)`, { x: 12, y: gridY, w: 12, h: 8 }));
|
|
987
|
-
gridY += 8;
|
|
988
|
-
// ── Row: Cost ─────────────────────────────────────
|
|
989
|
-
panels.push(this.createRow('Cost Per Task', gridY));
|
|
990
|
-
gridY += 1;
|
|
991
|
-
panels.push(this.createTimeSeriesPanel(panelId++, 'Cost Per Request', [
|
|
992
|
-
{
|
|
993
|
-
expr: `rate(${sanitizedName}_cost_per_request_dollars_sum[5m]) / rate(${sanitizedName}_cost_per_request_dollars_count[5m])`,
|
|
994
|
-
legendFormat: 'Avg cost/request',
|
|
995
|
-
},
|
|
996
|
-
{
|
|
997
|
-
expr: `histogram_quantile(0.95, rate(${sanitizedName}_cost_per_request_dollars_bucket[5m]))`,
|
|
998
|
-
legendFormat: 'p95 cost/request',
|
|
999
|
-
},
|
|
1000
|
-
], { x: 0, y: gridY, w: 12, h: 8 }, 'currencyUSD'));
|
|
1001
|
-
panels.push(this.createTimeSeriesPanel(panelId++, 'Daily Cost Accumulation', [
|
|
1002
|
-
{
|
|
1003
|
-
expr: `increase(${sanitizedName}_cost_daily_total_dollars[1h])`,
|
|
1004
|
-
legendFormat: 'Hourly spend',
|
|
1005
|
-
},
|
|
1006
|
-
{
|
|
1007
|
-
expr: `vector(${constraints.maxCostPerDay / 24})`,
|
|
1008
|
-
legendFormat: 'Hourly budget',
|
|
1009
|
-
},
|
|
1010
|
-
], { x: 12, y: gridY, w: 12, h: 8 }, 'currencyUSD'));
|
|
1011
|
-
gridY += 8;
|
|
1012
|
-
// ── Row: Error Rate ───────────────────────────────
|
|
1013
|
-
panels.push(this.createRow('Error Rate', gridY));
|
|
1014
|
-
gridY += 1;
|
|
1015
|
-
panels.push(this.createTimeSeriesPanel(panelId++, 'Error Rate Over Time', [
|
|
1016
|
-
{
|
|
1017
|
-
expr: `${sanitizedName}:error_rate_5m`,
|
|
1018
|
-
legendFormat: 'Error rate',
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
expr: `vector(${constraints.maxErrorRate})`,
|
|
1022
|
-
legendFormat: 'SLO threshold',
|
|
1023
|
-
},
|
|
1024
|
-
], { x: 0, y: gridY, w: 12, h: 8 }, 'percentunit'));
|
|
1025
|
-
panels.push(this.createTimeSeriesPanel(panelId++, 'Errors by Type', [
|
|
1026
|
-
{
|
|
1027
|
-
expr: `sum by (error_type) (rate(${sanitizedName}_errors_total[5m]))`,
|
|
1028
|
-
legendFormat: '{{ error_type }}',
|
|
1029
|
-
},
|
|
1030
|
-
], { x: 12, y: gridY, w: 12, h: 8 }, 'ops'));
|
|
1031
|
-
gridY += 8;
|
|
1032
|
-
// ── Row: Tool Call Frequency ──────────────────────
|
|
1033
|
-
panels.push(this.createRow('Tool Calls', gridY));
|
|
1034
|
-
gridY += 1;
|
|
1035
|
-
panels.push(this.createTimeSeriesPanel(panelId++, 'Tool Call Frequency', [
|
|
1036
|
-
{
|
|
1037
|
-
expr: `sum by (gen_ai_tool_name) (rate(${sanitizedName}_tool_calls_total[5m]))`,
|
|
1038
|
-
legendFormat: '{{ gen_ai_tool_name }}',
|
|
1039
|
-
},
|
|
1040
|
-
], { x: 0, y: gridY, w: 12, h: 8 }, 'ops'));
|
|
1041
|
-
panels.push(this.createTimeSeriesPanel(panelId++, 'Tool Latency by Tool', [
|
|
1042
|
-
{
|
|
1043
|
-
expr: `histogram_quantile(0.95, sum by (gen_ai_tool_name, le) (rate(${sanitizedName}_tool_duration_seconds_bucket[5m])))`,
|
|
1044
|
-
legendFormat: '{{ gen_ai_tool_name }} p95',
|
|
1045
|
-
},
|
|
1046
|
-
], { x: 12, y: gridY, w: 12, h: 8 }, 's'));
|
|
1047
|
-
gridY += 8;
|
|
1048
|
-
// Per-tool breakdown table
|
|
1049
|
-
if (tools.length > 0) {
|
|
1050
|
-
panels.push(this.createTablePanel(panelId++, 'Tool Breakdown', [
|
|
1051
|
-
{
|
|
1052
|
-
expr: `sum by (gen_ai_tool_name) (increase(${sanitizedName}_tool_calls_total[24h]))`,
|
|
1053
|
-
legendFormat: '{{ gen_ai_tool_name }}',
|
|
1054
|
-
format: 'table',
|
|
1055
|
-
instant: true,
|
|
1056
|
-
},
|
|
1057
|
-
], { x: 0, y: gridY, w: 24, h: 6 }));
|
|
1058
|
-
gridY += 6;
|
|
1059
|
-
}
|
|
1060
|
-
// ── Row: Multi-agent (conditional) ────────────────
|
|
1061
|
-
if (isMultiAgent) {
|
|
1062
|
-
panels.push(this.createRow('Team Coordination', gridY));
|
|
1063
|
-
gridY += 1;
|
|
1064
|
-
panels.push(this.createTimeSeriesPanel(panelId++, 'Handoff Rate', [
|
|
1065
|
-
{
|
|
1066
|
-
expr: `sum by (source_agent, target_agent) (rate(${sanitizedName}_team_handoffs_total[5m]))`,
|
|
1067
|
-
legendFormat: '{{ source_agent }} -> {{ target_agent }}',
|
|
1068
|
-
},
|
|
1069
|
-
], { x: 0, y: gridY, w: 12, h: 8 }, 'ops'));
|
|
1070
|
-
panels.push(this.createTimeSeriesPanel(panelId++, 'Coordination Overhead', [
|
|
1071
|
-
{
|
|
1072
|
-
expr: `${sanitizedName}:coordination_overhead_ratio`,
|
|
1073
|
-
legendFormat: 'Overhead ratio',
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
expr: 'vector(0.3)',
|
|
1077
|
-
legendFormat: 'Threshold (30%)',
|
|
1078
|
-
},
|
|
1079
|
-
], { x: 12, y: gridY, w: 12, h: 8 }, 'percentunit'));
|
|
1080
|
-
gridY += 8;
|
|
1081
|
-
panels.push(this.createTimeSeriesPanel(panelId++, 'Member Utilization', [
|
|
1082
|
-
{
|
|
1083
|
-
expr: `${sanitizedName}_team_member_utilization_ratio`,
|
|
1084
|
-
legendFormat: '{{ gen_ai_agent_name }} ({{ role }})',
|
|
1085
|
-
},
|
|
1086
|
-
], { x: 0, y: gridY, w: 24, h: 8 }, 'percentunit'));
|
|
1087
|
-
gridY += 8;
|
|
1088
|
-
}
|
|
1089
|
-
return {
|
|
1090
|
-
__inputs: [
|
|
1091
|
-
{
|
|
1092
|
-
name: 'DS_PROMETHEUS',
|
|
1093
|
-
label: 'Prometheus',
|
|
1094
|
-
description: 'Prometheus data source for agent metrics',
|
|
1095
|
-
type: 'datasource',
|
|
1096
|
-
pluginId: 'prometheus',
|
|
1097
|
-
pluginName: 'Prometheus',
|
|
1098
|
-
},
|
|
1099
|
-
],
|
|
1100
|
-
__requires: [
|
|
1101
|
-
{ type: 'grafana', id: 'grafana', name: 'Grafana', version: '10.0.0' },
|
|
1102
|
-
{
|
|
1103
|
-
type: 'datasource',
|
|
1104
|
-
id: 'prometheus',
|
|
1105
|
-
name: 'Prometheus',
|
|
1106
|
-
version: '1.0.0',
|
|
1107
|
-
},
|
|
1108
|
-
{ type: 'panel', id: 'timeseries', name: 'Time series', version: '' },
|
|
1109
|
-
{ type: 'panel', id: 'stat', name: 'Stat', version: '' },
|
|
1110
|
-
{ type: 'panel', id: 'heatmap', name: 'Heatmap', version: '' },
|
|
1111
|
-
{ type: 'panel', id: 'table', name: 'Table', version: '' },
|
|
1112
|
-
{ type: 'panel', id: 'row', name: 'Row', version: '' },
|
|
1113
|
-
],
|
|
1114
|
-
annotations: {
|
|
1115
|
-
list: [
|
|
1116
|
-
{
|
|
1117
|
-
builtIn: 1,
|
|
1118
|
-
datasource: { type: 'grafana', uid: '-- Grafana --' },
|
|
1119
|
-
enable: true,
|
|
1120
|
-
hide: true,
|
|
1121
|
-
iconColor: 'rgba(0, 211, 255, 1)',
|
|
1122
|
-
name: 'Annotations & Alerts',
|
|
1123
|
-
type: 'dashboard',
|
|
1124
|
-
},
|
|
1125
|
-
],
|
|
1126
|
-
},
|
|
1127
|
-
description: `Health dashboard for OSSA agent: ${identity.name} (${identity.agentKind}, ${identity.pattern} pattern)`,
|
|
1128
|
-
editable: true,
|
|
1129
|
-
fiscalYearStartMonth: 0,
|
|
1130
|
-
graphTooltip: 1, // Shared crosshair
|
|
1131
|
-
id: null,
|
|
1132
|
-
links: [],
|
|
1133
|
-
panels,
|
|
1134
|
-
schemaVersion: 39,
|
|
1135
|
-
tags: [
|
|
1136
|
-
'ossa',
|
|
1137
|
-
'agent',
|
|
1138
|
-
identity.name,
|
|
1139
|
-
identity.agentType,
|
|
1140
|
-
identity.pattern,
|
|
1141
|
-
],
|
|
1142
|
-
templating: {
|
|
1143
|
-
list: [
|
|
1144
|
-
{
|
|
1145
|
-
current: {
|
|
1146
|
-
selected: false,
|
|
1147
|
-
text: 'Prometheus',
|
|
1148
|
-
value: 'Prometheus',
|
|
1149
|
-
},
|
|
1150
|
-
hide: 0,
|
|
1151
|
-
includeAll: false,
|
|
1152
|
-
label: 'Data Source',
|
|
1153
|
-
multi: false,
|
|
1154
|
-
name: 'datasource',
|
|
1155
|
-
options: [],
|
|
1156
|
-
query: 'prometheus',
|
|
1157
|
-
queryValue: '',
|
|
1158
|
-
refresh: 1,
|
|
1159
|
-
regex: '',
|
|
1160
|
-
skipUrlSync: false,
|
|
1161
|
-
type: 'datasource',
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
current: {
|
|
1165
|
-
selected: false,
|
|
1166
|
-
text: identity.name,
|
|
1167
|
-
value: identity.name,
|
|
1168
|
-
},
|
|
1169
|
-
hide: 2,
|
|
1170
|
-
label: 'Agent Name',
|
|
1171
|
-
name: 'agent_name',
|
|
1172
|
-
options: [
|
|
1173
|
-
{ selected: true, text: identity.name, value: identity.name },
|
|
1174
|
-
],
|
|
1175
|
-
query: identity.name,
|
|
1176
|
-
skipUrlSync: false,
|
|
1177
|
-
type: 'constant',
|
|
1178
|
-
},
|
|
1179
|
-
],
|
|
1180
|
-
},
|
|
1181
|
-
time: { from: 'now-6h', to: 'now' },
|
|
1182
|
-
timepicker: {},
|
|
1183
|
-
timezone: 'browser',
|
|
1184
|
-
title: `${identity.name} - Agent Health`,
|
|
1185
|
-
uid: `ossa-${sanitizedName}-health`,
|
|
1186
|
-
version: 1,
|
|
1187
|
-
refresh: '30s',
|
|
1188
|
-
};
|
|
1189
|
-
}
|
|
1190
|
-
// ── Grafana panel builders ──────────────────────────────────────
|
|
1191
|
-
createRow(title, gridY) {
|
|
1192
|
-
return {
|
|
1193
|
-
collapsed: false,
|
|
1194
|
-
gridPos: { h: 1, w: 24, x: 0, y: gridY },
|
|
1195
|
-
id: 1000 + gridY,
|
|
1196
|
-
panels: [],
|
|
1197
|
-
title,
|
|
1198
|
-
type: 'row',
|
|
1199
|
-
};
|
|
1200
|
-
}
|
|
1201
|
-
createStatPanel(id, title, expr, gridPos, unit, color, thresholds) {
|
|
1202
|
-
return {
|
|
1203
|
-
id,
|
|
1204
|
-
title,
|
|
1205
|
-
type: 'stat',
|
|
1206
|
-
datasource: { type: 'prometheus', uid: '${datasource}' },
|
|
1207
|
-
fieldConfig: {
|
|
1208
|
-
defaults: {
|
|
1209
|
-
color: {
|
|
1210
|
-
mode: thresholds ? 'thresholds' : 'fixed',
|
|
1211
|
-
fixedColor: color,
|
|
1212
|
-
},
|
|
1213
|
-
mappings: [],
|
|
1214
|
-
thresholds: {
|
|
1215
|
-
mode: 'absolute',
|
|
1216
|
-
steps: thresholds ?? [{ color: color, value: null }],
|
|
1217
|
-
},
|
|
1218
|
-
unit,
|
|
1219
|
-
},
|
|
1220
|
-
overrides: [],
|
|
1221
|
-
},
|
|
1222
|
-
gridPos,
|
|
1223
|
-
options: {
|
|
1224
|
-
colorMode: thresholds ? 'background' : 'value',
|
|
1225
|
-
graphMode: 'area',
|
|
1226
|
-
justifyMode: 'auto',
|
|
1227
|
-
orientation: 'auto',
|
|
1228
|
-
reduceOptions: {
|
|
1229
|
-
calcs: ['lastNotNull'],
|
|
1230
|
-
fields: '',
|
|
1231
|
-
values: false,
|
|
1232
|
-
},
|
|
1233
|
-
textMode: 'auto',
|
|
1234
|
-
wideLayout: true,
|
|
1235
|
-
},
|
|
1236
|
-
targets: [
|
|
1237
|
-
{
|
|
1238
|
-
datasource: { type: 'prometheus', uid: '${datasource}' },
|
|
1239
|
-
expr,
|
|
1240
|
-
instant: true,
|
|
1241
|
-
legendFormat: '__auto',
|
|
1242
|
-
refId: 'A',
|
|
1243
|
-
},
|
|
1244
|
-
],
|
|
1245
|
-
};
|
|
1246
|
-
}
|
|
1247
|
-
createTimeSeriesPanel(id, title, queries, gridPos, unit) {
|
|
1248
|
-
return {
|
|
1249
|
-
id,
|
|
1250
|
-
title,
|
|
1251
|
-
type: 'timeseries',
|
|
1252
|
-
datasource: { type: 'prometheus', uid: '${datasource}' },
|
|
1253
|
-
fieldConfig: {
|
|
1254
|
-
defaults: {
|
|
1255
|
-
color: { mode: 'palette-classic' },
|
|
1256
|
-
custom: {
|
|
1257
|
-
axisBorderShow: false,
|
|
1258
|
-
axisCenteredZero: false,
|
|
1259
|
-
axisColorMode: 'text',
|
|
1260
|
-
axisLabel: '',
|
|
1261
|
-
axisPlacement: 'auto',
|
|
1262
|
-
barAlignment: 0,
|
|
1263
|
-
drawStyle: 'line',
|
|
1264
|
-
fillOpacity: 10,
|
|
1265
|
-
gradientMode: 'none',
|
|
1266
|
-
hideFrom: { legend: false, tooltip: false, viz: false },
|
|
1267
|
-
insertNulls: false,
|
|
1268
|
-
lineInterpolation: 'smooth',
|
|
1269
|
-
lineWidth: 2,
|
|
1270
|
-
pointSize: 5,
|
|
1271
|
-
scaleDistribution: { type: 'linear' },
|
|
1272
|
-
showPoints: 'auto',
|
|
1273
|
-
spanNulls: false,
|
|
1274
|
-
stacking: { group: 'A', mode: 'none' },
|
|
1275
|
-
thresholdsStyle: { mode: 'off' },
|
|
1276
|
-
},
|
|
1277
|
-
mappings: [],
|
|
1278
|
-
thresholds: {
|
|
1279
|
-
mode: 'absolute',
|
|
1280
|
-
steps: [{ color: 'green', value: null }],
|
|
1281
|
-
},
|
|
1282
|
-
unit,
|
|
1283
|
-
},
|
|
1284
|
-
overrides: [],
|
|
1285
|
-
},
|
|
1286
|
-
gridPos,
|
|
1287
|
-
options: {
|
|
1288
|
-
legend: {
|
|
1289
|
-
calcs: ['mean', 'max', 'lastNotNull'],
|
|
1290
|
-
displayMode: 'table',
|
|
1291
|
-
placement: 'bottom',
|
|
1292
|
-
showLegend: true,
|
|
1293
|
-
},
|
|
1294
|
-
tooltip: { mode: 'multi', sort: 'desc' },
|
|
1295
|
-
},
|
|
1296
|
-
targets: queries.map((q, i) => ({
|
|
1297
|
-
datasource: { type: 'prometheus', uid: '${datasource}' },
|
|
1298
|
-
expr: q.expr,
|
|
1299
|
-
legendFormat: q.legendFormat,
|
|
1300
|
-
refId: String.fromCharCode(65 + i), // A, B, C, ...
|
|
1301
|
-
})),
|
|
1302
|
-
};
|
|
1303
|
-
}
|
|
1304
|
-
createHeatmapPanel(id, title, expr, gridPos) {
|
|
1305
|
-
return {
|
|
1306
|
-
id,
|
|
1307
|
-
title,
|
|
1308
|
-
type: 'heatmap',
|
|
1309
|
-
datasource: { type: 'prometheus', uid: '${datasource}' },
|
|
1310
|
-
gridPos,
|
|
1311
|
-
options: {
|
|
1312
|
-
calculate: false,
|
|
1313
|
-
cellGap: 1,
|
|
1314
|
-
color: {
|
|
1315
|
-
exponent: 0.5,
|
|
1316
|
-
fill: 'dark-orange',
|
|
1317
|
-
mode: 'scheme',
|
|
1318
|
-
reverse: false,
|
|
1319
|
-
scale: 'exponential',
|
|
1320
|
-
scheme: 'Oranges',
|
|
1321
|
-
steps: 64,
|
|
1322
|
-
},
|
|
1323
|
-
exemplars: { color: 'rgba(255,0,255,0.7)' },
|
|
1324
|
-
filterValues: { le: 1e-9 },
|
|
1325
|
-
legend: { show: true },
|
|
1326
|
-
rowsFrame: { layout: 'le' },
|
|
1327
|
-
showValue: 'auto',
|
|
1328
|
-
tooltip: { mode: 'single', showColorScale: false, yHistogram: false },
|
|
1329
|
-
yAxis: {
|
|
1330
|
-
axisPlacement: 'left',
|
|
1331
|
-
reverse: false,
|
|
1332
|
-
unit: 's',
|
|
1333
|
-
},
|
|
1334
|
-
},
|
|
1335
|
-
targets: [
|
|
1336
|
-
{
|
|
1337
|
-
datasource: { type: 'prometheus', uid: '${datasource}' },
|
|
1338
|
-
expr,
|
|
1339
|
-
format: 'heatmap',
|
|
1340
|
-
legendFormat: '{{ le }}',
|
|
1341
|
-
refId: 'A',
|
|
1342
|
-
},
|
|
1343
|
-
],
|
|
1344
|
-
};
|
|
1345
|
-
}
|
|
1346
|
-
createTablePanel(id, title, queries, gridPos) {
|
|
1347
|
-
return {
|
|
1348
|
-
id,
|
|
1349
|
-
title,
|
|
1350
|
-
type: 'table',
|
|
1351
|
-
datasource: { type: 'prometheus', uid: '${datasource}' },
|
|
1352
|
-
fieldConfig: {
|
|
1353
|
-
defaults: {
|
|
1354
|
-
color: { mode: 'thresholds' },
|
|
1355
|
-
custom: {
|
|
1356
|
-
align: 'auto',
|
|
1357
|
-
cellOptions: { type: 'auto' },
|
|
1358
|
-
inspect: false,
|
|
1359
|
-
},
|
|
1360
|
-
mappings: [],
|
|
1361
|
-
thresholds: {
|
|
1362
|
-
mode: 'absolute',
|
|
1363
|
-
steps: [
|
|
1364
|
-
{ color: 'green', value: null },
|
|
1365
|
-
{ color: 'red', value: 80 },
|
|
1366
|
-
],
|
|
1367
|
-
},
|
|
1368
|
-
},
|
|
1369
|
-
overrides: [
|
|
1370
|
-
{
|
|
1371
|
-
matcher: { id: 'byName', options: 'gen_ai_tool_name' },
|
|
1372
|
-
properties: [{ id: 'displayName', value: 'Tool' }],
|
|
1373
|
-
},
|
|
1374
|
-
{
|
|
1375
|
-
matcher: { id: 'byName', options: 'Value' },
|
|
1376
|
-
properties: [{ id: 'displayName', value: 'Calls (24h)' }],
|
|
1377
|
-
},
|
|
1378
|
-
],
|
|
1379
|
-
},
|
|
1380
|
-
gridPos,
|
|
1381
|
-
options: {
|
|
1382
|
-
cellHeight: 'sm',
|
|
1383
|
-
footer: { countRows: false, fields: '', reducer: ['sum'], show: true },
|
|
1384
|
-
showHeader: true,
|
|
1385
|
-
sortBy: [{ desc: true, displayName: 'Calls (24h)' }],
|
|
1386
|
-
},
|
|
1387
|
-
targets: queries.map((q, i) => ({
|
|
1388
|
-
datasource: { type: 'prometheus', uid: '${datasource}' },
|
|
1389
|
-
expr: q.expr,
|
|
1390
|
-
format: q.format,
|
|
1391
|
-
instant: q.instant,
|
|
1392
|
-
legendFormat: q.legendFormat,
|
|
1393
|
-
refId: String.fromCharCode(65 + i),
|
|
1394
|
-
})),
|
|
1395
|
-
transformations: [
|
|
1396
|
-
{
|
|
1397
|
-
id: 'merge',
|
|
1398
|
-
options: {},
|
|
1399
|
-
},
|
|
1400
|
-
{
|
|
1401
|
-
id: 'organize',
|
|
1402
|
-
options: {
|
|
1403
|
-
excludeByName: { Time: true, __name__: true },
|
|
1404
|
-
indexByName: {},
|
|
1405
|
-
renameByName: {},
|
|
1406
|
-
},
|
|
1407
|
-
},
|
|
1408
|
-
],
|
|
1409
|
-
};
|
|
1410
|
-
}
|
|
1411
|
-
/**
|
|
1412
|
-
* Build a range expression for PromQL that works with Grafana variables.
|
|
1413
|
-
* Falls back to a static range if no variable is available.
|
|
1414
|
-
*/
|
|
1415
|
-
buildRange(variable) {
|
|
1416
|
-
return variable;
|
|
1417
|
-
}
|
|
1418
|
-
}
|
|
1419
|
-
//# sourceMappingURL=observability-generator.service.js.map
|