@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,1773 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NPM Package Exporter Service
|
|
3
|
-
*
|
|
4
|
-
* Generates TypeScript agent code with Express server + OpenAPI
|
|
5
|
-
* Exports OSSA agents as publishable npm packages
|
|
6
|
-
*
|
|
7
|
-
* SOLID: Single Responsibility - Coordinates npm export generation
|
|
8
|
-
* DRY: Delegates to specialized generators
|
|
9
|
-
*/
|
|
10
|
-
import { TypeScriptGenerator } from './typescript-generator.js';
|
|
11
|
-
import { ExpressGenerator } from './express-generator.js';
|
|
12
|
-
import { OpenAPIGenerator } from './openapi-generator.js';
|
|
13
|
-
import { PackageJsonGenerator } from './package-json-generator.js';
|
|
14
|
-
import { getApiVersion } from '../../../utils/version.js';
|
|
15
|
-
/**
|
|
16
|
-
* NPM Package Exporter
|
|
17
|
-
*
|
|
18
|
-
* Generates complete npm packages with TypeScript + Express + OpenAPI
|
|
19
|
-
*/
|
|
20
|
-
export class NPMExporter {
|
|
21
|
-
tsGenerator;
|
|
22
|
-
expressGenerator;
|
|
23
|
-
openapiGenerator;
|
|
24
|
-
packageJsonGenerator;
|
|
25
|
-
constructor() {
|
|
26
|
-
this.tsGenerator = new TypeScriptGenerator();
|
|
27
|
-
this.expressGenerator = new ExpressGenerator();
|
|
28
|
-
this.openapiGenerator = new OpenAPIGenerator();
|
|
29
|
-
this.packageJsonGenerator = new PackageJsonGenerator();
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Export OSSA manifest to npm package
|
|
33
|
-
*/
|
|
34
|
-
async export(manifest, options = {}) {
|
|
35
|
-
const startTime = Date.now();
|
|
36
|
-
const files = [];
|
|
37
|
-
try {
|
|
38
|
-
// Validate manifest
|
|
39
|
-
this.validateManifest(manifest);
|
|
40
|
-
const metadata = manifest.metadata || { name: 'agent', version: '1.0.0' };
|
|
41
|
-
const packageName = this.getPackageName(metadata.name, options.scope);
|
|
42
|
-
// 1. Generate package.json
|
|
43
|
-
const packageJson = this.packageJsonGenerator.generate(manifest, {
|
|
44
|
-
scope: options.scope,
|
|
45
|
-
additionalDeps: options.additionalDeps,
|
|
46
|
-
});
|
|
47
|
-
files.push({
|
|
48
|
-
path: 'package.json',
|
|
49
|
-
content: packageJson,
|
|
50
|
-
type: 'config',
|
|
51
|
-
language: 'json',
|
|
52
|
-
});
|
|
53
|
-
// 2. Generate TypeScript agent class
|
|
54
|
-
const agentClass = this.tsGenerator.generateAgentClass(manifest);
|
|
55
|
-
files.push({
|
|
56
|
-
path: 'src/index.ts',
|
|
57
|
-
content: agentClass,
|
|
58
|
-
type: 'code',
|
|
59
|
-
language: 'typescript',
|
|
60
|
-
});
|
|
61
|
-
// 3. Generate TypeScript types
|
|
62
|
-
const types = this.tsGenerator.generateTypes(manifest);
|
|
63
|
-
files.push({
|
|
64
|
-
path: 'src/types.ts',
|
|
65
|
-
content: types,
|
|
66
|
-
type: 'code',
|
|
67
|
-
language: 'typescript',
|
|
68
|
-
});
|
|
69
|
-
// 4. Generate tool implementations
|
|
70
|
-
if (manifest.spec?.tools && Array.isArray(manifest.spec.tools)) {
|
|
71
|
-
const toolsDir = this.tsGenerator.generateTools(manifest.spec.tools);
|
|
72
|
-
for (const [path, content] of Object.entries(toolsDir)) {
|
|
73
|
-
files.push({
|
|
74
|
-
path: `src/tools/${path}`,
|
|
75
|
-
content,
|
|
76
|
-
type: 'code',
|
|
77
|
-
language: 'typescript',
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
// 5. Generate Express server
|
|
82
|
-
const serverCode = this.expressGenerator.generateServer(manifest);
|
|
83
|
-
files.push({
|
|
84
|
-
path: 'src/server.ts',
|
|
85
|
-
content: serverCode,
|
|
86
|
-
type: 'code',
|
|
87
|
-
language: 'typescript',
|
|
88
|
-
});
|
|
89
|
-
// 6. Generate OpenAPI spec
|
|
90
|
-
const openapi = this.openapiGenerator.generate(manifest);
|
|
91
|
-
files.push({
|
|
92
|
-
path: 'openapi.yaml',
|
|
93
|
-
content: openapi,
|
|
94
|
-
type: 'config',
|
|
95
|
-
language: 'yaml',
|
|
96
|
-
});
|
|
97
|
-
// 7. Generate tsconfig.json
|
|
98
|
-
const tsconfig = this.generateTsConfig(options.tsVersion);
|
|
99
|
-
files.push({
|
|
100
|
-
path: 'tsconfig.json',
|
|
101
|
-
content: tsconfig,
|
|
102
|
-
type: 'config',
|
|
103
|
-
language: 'json',
|
|
104
|
-
});
|
|
105
|
-
// 8. Generate README.md
|
|
106
|
-
const readme = this.generateReadme(manifest, packageName);
|
|
107
|
-
files.push({
|
|
108
|
-
path: 'README.md',
|
|
109
|
-
content: readme,
|
|
110
|
-
type: 'documentation',
|
|
111
|
-
language: 'markdown',
|
|
112
|
-
});
|
|
113
|
-
// 9. Generate .gitignore
|
|
114
|
-
files.push({
|
|
115
|
-
path: '.gitignore',
|
|
116
|
-
content: this.generateGitIgnore(),
|
|
117
|
-
type: 'config',
|
|
118
|
-
});
|
|
119
|
-
// 10. Generate .npmignore
|
|
120
|
-
files.push({
|
|
121
|
-
path: '.npmignore',
|
|
122
|
-
content: this.generateNpmIgnore(),
|
|
123
|
-
type: 'config',
|
|
124
|
-
});
|
|
125
|
-
// 11. Docker files (optional)
|
|
126
|
-
if (options.includeDocker !== false) {
|
|
127
|
-
const dockerfile = this.generateDockerfile(options.nodeVersion);
|
|
128
|
-
files.push({
|
|
129
|
-
path: 'Dockerfile',
|
|
130
|
-
content: dockerfile,
|
|
131
|
-
type: 'docker',
|
|
132
|
-
});
|
|
133
|
-
const dockerCompose = this.generateDockerCompose(manifest);
|
|
134
|
-
files.push({
|
|
135
|
-
path: 'docker-compose.yaml',
|
|
136
|
-
content: dockerCompose,
|
|
137
|
-
type: 'docker',
|
|
138
|
-
language: 'yaml',
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
// 12. Tests (optional)
|
|
142
|
-
if (options.includeTests) {
|
|
143
|
-
const tests = this.generateTests(manifest);
|
|
144
|
-
files.push({
|
|
145
|
-
path: 'tests/agent.test.ts',
|
|
146
|
-
content: tests,
|
|
147
|
-
type: 'code',
|
|
148
|
-
language: 'typescript',
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
// 13. CHANGELOG.md
|
|
152
|
-
files.push({
|
|
153
|
-
path: 'CHANGELOG.md',
|
|
154
|
-
content: this.generateChangelog(manifest),
|
|
155
|
-
type: 'documentation',
|
|
156
|
-
language: 'markdown',
|
|
157
|
-
});
|
|
158
|
-
// 14. LICENSE
|
|
159
|
-
files.push({
|
|
160
|
-
path: 'LICENSE',
|
|
161
|
-
content: this.generateLicense(manifest),
|
|
162
|
-
type: 'documentation',
|
|
163
|
-
});
|
|
164
|
-
// 15. CONTRIBUTING.md
|
|
165
|
-
files.push({
|
|
166
|
-
path: 'CONTRIBUTING.md',
|
|
167
|
-
content: this.generateContributing(manifest, packageName),
|
|
168
|
-
type: 'documentation',
|
|
169
|
-
language: 'markdown',
|
|
170
|
-
});
|
|
171
|
-
// 16. SECURITY.md
|
|
172
|
-
files.push({
|
|
173
|
-
path: 'SECURITY.md',
|
|
174
|
-
content: this.generateSecurity(manifest),
|
|
175
|
-
type: 'documentation',
|
|
176
|
-
language: 'markdown',
|
|
177
|
-
});
|
|
178
|
-
// 17. API.md
|
|
179
|
-
files.push({
|
|
180
|
-
path: 'API.md',
|
|
181
|
-
content: this.generateApiDocs(manifest),
|
|
182
|
-
type: 'documentation',
|
|
183
|
-
language: 'markdown',
|
|
184
|
-
});
|
|
185
|
-
// 18. Examples
|
|
186
|
-
const examples = this.generateExamples(manifest, packageName);
|
|
187
|
-
for (const [path, content] of Object.entries(examples)) {
|
|
188
|
-
files.push({
|
|
189
|
-
path: `examples/${path}`,
|
|
190
|
-
content,
|
|
191
|
-
type: 'documentation',
|
|
192
|
-
language: path.endsWith('.ts') ? 'typescript' : 'markdown',
|
|
193
|
-
});
|
|
194
|
-
}
|
|
195
|
-
// 19. Complete test suite
|
|
196
|
-
if (options.includeTests) {
|
|
197
|
-
const testSuite = this.generateCompletedTestSuite(manifest);
|
|
198
|
-
for (const [path, content] of Object.entries(testSuite)) {
|
|
199
|
-
files.push({
|
|
200
|
-
path: `tests/${path}`,
|
|
201
|
-
content,
|
|
202
|
-
type: 'code',
|
|
203
|
-
language: path.endsWith('.ts') ? 'typescript' : 'json',
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
// 20. Enhanced source structure
|
|
208
|
-
const enhancedSource = this.generateEnhancedSource(manifest);
|
|
209
|
-
for (const [path, content] of Object.entries(enhancedSource)) {
|
|
210
|
-
files.push({
|
|
211
|
-
path: `src/${path}`,
|
|
212
|
-
content,
|
|
213
|
-
type: 'code',
|
|
214
|
-
language: 'typescript',
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
// 21. Quality assurance files
|
|
218
|
-
const qaFiles = this.generateQAFiles(options);
|
|
219
|
-
for (const [path, content] of Object.entries(qaFiles)) {
|
|
220
|
-
files.push({
|
|
221
|
-
path,
|
|
222
|
-
content,
|
|
223
|
-
type: 'config',
|
|
224
|
-
language: this.getLanguageFromPath(path),
|
|
225
|
-
});
|
|
226
|
-
}
|
|
227
|
-
return {
|
|
228
|
-
success: true,
|
|
229
|
-
files,
|
|
230
|
-
packageName,
|
|
231
|
-
version: metadata.version || '1.0.0',
|
|
232
|
-
metadata: {
|
|
233
|
-
duration: Date.now() - startTime,
|
|
234
|
-
fileCount: files.length,
|
|
235
|
-
hasDocker: options.includeDocker !== false,
|
|
236
|
-
hasTests: options.includeTests === true,
|
|
237
|
-
},
|
|
238
|
-
};
|
|
239
|
-
}
|
|
240
|
-
catch (error) {
|
|
241
|
-
return {
|
|
242
|
-
success: false,
|
|
243
|
-
files: [],
|
|
244
|
-
error: error instanceof Error ? error.message : String(error),
|
|
245
|
-
metadata: {
|
|
246
|
-
duration: Date.now() - startTime,
|
|
247
|
-
fileCount: 0,
|
|
248
|
-
hasDocker: false,
|
|
249
|
-
hasTests: false,
|
|
250
|
-
},
|
|
251
|
-
};
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
/**
|
|
255
|
-
* Validate OSSA manifest
|
|
256
|
-
*/
|
|
257
|
-
validateManifest(manifest) {
|
|
258
|
-
if (!manifest.metadata?.name) {
|
|
259
|
-
throw new Error('manifest.metadata.name is required');
|
|
260
|
-
}
|
|
261
|
-
if (!manifest.metadata?.version) {
|
|
262
|
-
throw new Error('manifest.metadata.version is required');
|
|
263
|
-
}
|
|
264
|
-
if (!manifest.spec) {
|
|
265
|
-
throw new Error('manifest.spec is required');
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* Get npm package name with scope
|
|
270
|
-
*/
|
|
271
|
-
getPackageName(name, scope) {
|
|
272
|
-
const sanitized = name
|
|
273
|
-
.toLowerCase()
|
|
274
|
-
.replace(/[^a-z0-9-]/g, '-')
|
|
275
|
-
.replace(/^-+|-+$/g, '');
|
|
276
|
-
return scope ? `${scope}/${sanitized}` : sanitized;
|
|
277
|
-
}
|
|
278
|
-
/**
|
|
279
|
-
* Generate tsconfig.json
|
|
280
|
-
*/
|
|
281
|
-
generateTsConfig(tsVersion) {
|
|
282
|
-
return JSON.stringify({
|
|
283
|
-
compilerOptions: {
|
|
284
|
-
target: 'ES2022',
|
|
285
|
-
module: 'NodeNext',
|
|
286
|
-
moduleResolution: 'NodeNext',
|
|
287
|
-
lib: ['ES2022'],
|
|
288
|
-
outDir: './dist',
|
|
289
|
-
rootDir: './src',
|
|
290
|
-
strict: true,
|
|
291
|
-
esModuleInterop: true,
|
|
292
|
-
skipLibCheck: true,
|
|
293
|
-
forceConsistentCasingInFileNames: true,
|
|
294
|
-
resolveJsonModule: true,
|
|
295
|
-
declaration: true,
|
|
296
|
-
declarationMap: true,
|
|
297
|
-
sourceMap: true,
|
|
298
|
-
types: ['node'],
|
|
299
|
-
},
|
|
300
|
-
include: ['src/**/*'],
|
|
301
|
-
exclude: ['node_modules', 'dist', 'tests'],
|
|
302
|
-
}, null, 2);
|
|
303
|
-
}
|
|
304
|
-
/**
|
|
305
|
-
* Generate README.md
|
|
306
|
-
*/
|
|
307
|
-
generateReadme(manifest, packageName) {
|
|
308
|
-
const metadata = manifest.metadata || { name: 'agent', version: '1.0.0' };
|
|
309
|
-
const spec = manifest.spec || {};
|
|
310
|
-
return `# ${metadata.name}
|
|
311
|
-
|
|
312
|
-
${metadata.description || 'OSSA agent package'}
|
|
313
|
-
|
|
314
|
-
## Installation
|
|
315
|
-
|
|
316
|
-
\`\`\`bash
|
|
317
|
-
npm install ${packageName}
|
|
318
|
-
\`\`\`
|
|
319
|
-
|
|
320
|
-
## Usage
|
|
321
|
-
|
|
322
|
-
### Import the Agent
|
|
323
|
-
|
|
324
|
-
\`\`\`typescript
|
|
325
|
-
import { Agent } from '${packageName}';
|
|
326
|
-
|
|
327
|
-
const agent = new Agent();
|
|
328
|
-
const response = await agent.chat({ message: 'Hello!' });
|
|
329
|
-
console.log(response);
|
|
330
|
-
\`\`\`
|
|
331
|
-
|
|
332
|
-
### Run as Server
|
|
333
|
-
|
|
334
|
-
\`\`\`bash
|
|
335
|
-
npm start
|
|
336
|
-
\`\`\`
|
|
337
|
-
|
|
338
|
-
The server will start on port 3000 (configurable via PORT env var).
|
|
339
|
-
|
|
340
|
-
### API Endpoints
|
|
341
|
-
|
|
342
|
-
- \`POST /chat\` - Send message to agent
|
|
343
|
-
- \`GET /health\` - Health check
|
|
344
|
-
- \`GET /openapi\` - OpenAPI specification
|
|
345
|
-
|
|
346
|
-
See \`openapi.yaml\` for full API documentation.
|
|
347
|
-
|
|
348
|
-
## Configuration
|
|
349
|
-
|
|
350
|
-
Environment variables:
|
|
351
|
-
|
|
352
|
-
- \`PORT\` - Server port (default: 3000)
|
|
353
|
-
- \`LLM_API_KEY\` - API key for LLM provider
|
|
354
|
-
- \`LOG_LEVEL\` - Logging level (default: info)
|
|
355
|
-
|
|
356
|
-
## Development
|
|
357
|
-
|
|
358
|
-
\`\`\`bash
|
|
359
|
-
# Install dependencies
|
|
360
|
-
npm install
|
|
361
|
-
|
|
362
|
-
# Build
|
|
363
|
-
npm run build
|
|
364
|
-
|
|
365
|
-
# Run in development
|
|
366
|
-
npm run dev
|
|
367
|
-
|
|
368
|
-
# Run tests
|
|
369
|
-
npm test
|
|
370
|
-
\`\`\`
|
|
371
|
-
|
|
372
|
-
## Docker
|
|
373
|
-
|
|
374
|
-
\`\`\`bash
|
|
375
|
-
# Build image
|
|
376
|
-
docker build -t ${metadata.name} .
|
|
377
|
-
|
|
378
|
-
# Run container
|
|
379
|
-
docker-compose up
|
|
380
|
-
\`\`\`
|
|
381
|
-
|
|
382
|
-
## License
|
|
383
|
-
|
|
384
|
-
${metadata.license || 'MIT'}
|
|
385
|
-
|
|
386
|
-
## Generated from OSSA
|
|
387
|
-
|
|
388
|
-
This package was generated from OSSA v${manifest.apiVersion?.split('/')[1] || getApiVersion()} manifest.
|
|
389
|
-
|
|
390
|
-
- [OSSA Specification](https://openstandardagents.org)
|
|
391
|
-
- [Documentation](https://docs.openstandardagents.org)
|
|
392
|
-
`;
|
|
393
|
-
}
|
|
394
|
-
/**
|
|
395
|
-
* Generate .gitignore
|
|
396
|
-
*/
|
|
397
|
-
generateGitIgnore() {
|
|
398
|
-
return `# Dependencies
|
|
399
|
-
node_modules/
|
|
400
|
-
|
|
401
|
-
# Build output
|
|
402
|
-
dist/
|
|
403
|
-
build/
|
|
404
|
-
*.tsbuildinfo
|
|
405
|
-
|
|
406
|
-
# Tests
|
|
407
|
-
coverage/
|
|
408
|
-
.nyc_output/
|
|
409
|
-
|
|
410
|
-
# Logs
|
|
411
|
-
*.log
|
|
412
|
-
logs/
|
|
413
|
-
|
|
414
|
-
# Environment
|
|
415
|
-
.env
|
|
416
|
-
.env.local
|
|
417
|
-
.env.*.local
|
|
418
|
-
|
|
419
|
-
# IDEs
|
|
420
|
-
.vscode/
|
|
421
|
-
.idea/
|
|
422
|
-
*.swp
|
|
423
|
-
*.swo
|
|
424
|
-
|
|
425
|
-
# OS
|
|
426
|
-
.DS_Store
|
|
427
|
-
Thumbs.db
|
|
428
|
-
|
|
429
|
-
# Temp
|
|
430
|
-
*.tmp
|
|
431
|
-
.tmp/
|
|
432
|
-
`;
|
|
433
|
-
}
|
|
434
|
-
/**
|
|
435
|
-
* Generate .npmignore
|
|
436
|
-
*/
|
|
437
|
-
generateNpmIgnore() {
|
|
438
|
-
return `# Source files
|
|
439
|
-
src/
|
|
440
|
-
tests/
|
|
441
|
-
*.test.ts
|
|
442
|
-
*.spec.ts
|
|
443
|
-
|
|
444
|
-
# Config
|
|
445
|
-
tsconfig.json
|
|
446
|
-
.eslintrc.json
|
|
447
|
-
.prettierrc
|
|
448
|
-
|
|
449
|
-
# Docker
|
|
450
|
-
Dockerfile
|
|
451
|
-
docker-compose.yaml
|
|
452
|
-
.dockerignore
|
|
453
|
-
|
|
454
|
-
# CI/CD
|
|
455
|
-
.gitlab-ci.yml
|
|
456
|
-
.github/
|
|
457
|
-
|
|
458
|
-
# Development
|
|
459
|
-
coverage/
|
|
460
|
-
.nyc_output/
|
|
461
|
-
*.log
|
|
462
|
-
|
|
463
|
-
# Misc
|
|
464
|
-
.git/
|
|
465
|
-
.DS_Store
|
|
466
|
-
`;
|
|
467
|
-
}
|
|
468
|
-
/**
|
|
469
|
-
* Generate Dockerfile
|
|
470
|
-
*/
|
|
471
|
-
generateDockerfile(nodeVersion) {
|
|
472
|
-
const version = nodeVersion || '18-alpine';
|
|
473
|
-
return `FROM node:${version}
|
|
474
|
-
|
|
475
|
-
WORKDIR /app
|
|
476
|
-
|
|
477
|
-
# Copy package files
|
|
478
|
-
COPY package*.json ./
|
|
479
|
-
|
|
480
|
-
# Install dependencies
|
|
481
|
-
RUN npm ci --only=production
|
|
482
|
-
|
|
483
|
-
# Copy built files
|
|
484
|
-
COPY dist/ ./dist/
|
|
485
|
-
COPY openapi.yaml ./
|
|
486
|
-
|
|
487
|
-
# Expose port
|
|
488
|
-
EXPOSE 3000
|
|
489
|
-
|
|
490
|
-
# Health check
|
|
491
|
-
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \\
|
|
492
|
-
CMD node -e "require('http').get('http://localhost:3000/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"
|
|
493
|
-
|
|
494
|
-
# Start server
|
|
495
|
-
CMD ["node", "dist/server.js"]
|
|
496
|
-
`;
|
|
497
|
-
}
|
|
498
|
-
/**
|
|
499
|
-
* Generate docker-compose.yaml
|
|
500
|
-
*/
|
|
501
|
-
generateDockerCompose(manifest) {
|
|
502
|
-
const name = manifest.metadata?.name || 'agent';
|
|
503
|
-
const sanitized = name.toLowerCase().replace(/[^a-z0-9-]/g, '-');
|
|
504
|
-
return `version: '3.8'
|
|
505
|
-
|
|
506
|
-
services:
|
|
507
|
-
${sanitized}:
|
|
508
|
-
build: .
|
|
509
|
-
ports:
|
|
510
|
-
- "3000:3000"
|
|
511
|
-
environment:
|
|
512
|
-
- NODE_ENV=production
|
|
513
|
-
- PORT=3000
|
|
514
|
-
- LLM_API_KEY=\${LLM_API_KEY}
|
|
515
|
-
restart: unless-stopped
|
|
516
|
-
healthcheck:
|
|
517
|
-
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3000/health"]
|
|
518
|
-
interval: 30s
|
|
519
|
-
timeout: 10s
|
|
520
|
-
retries: 3
|
|
521
|
-
start_period: 40s
|
|
522
|
-
`;
|
|
523
|
-
}
|
|
524
|
-
/**
|
|
525
|
-
* Generate test file
|
|
526
|
-
*/
|
|
527
|
-
generateTests(manifest) {
|
|
528
|
-
const name = manifest.metadata?.name || 'Agent';
|
|
529
|
-
return `import { describe, it, expect, beforeEach } from '@jest/globals';
|
|
530
|
-
import { Agent } from '../src/index.js';
|
|
531
|
-
|
|
532
|
-
describe('${name}', () => {
|
|
533
|
-
let agent: Agent;
|
|
534
|
-
|
|
535
|
-
beforeEach(() => {
|
|
536
|
-
agent = new Agent();
|
|
537
|
-
});
|
|
538
|
-
|
|
539
|
-
it('should create agent instance', () => {
|
|
540
|
-
expect(agent).toBeDefined();
|
|
541
|
-
});
|
|
542
|
-
|
|
543
|
-
it('should respond to chat', async () => {
|
|
544
|
-
const response = await agent.chat({ message: 'Hello' });
|
|
545
|
-
expect(response).toHaveProperty('message');
|
|
546
|
-
});
|
|
547
|
-
|
|
548
|
-
it('should have metadata', () => {
|
|
549
|
-
const metadata = agent.getMetadata();
|
|
550
|
-
expect(metadata).toHaveProperty('name');
|
|
551
|
-
expect(metadata).toHaveProperty('version');
|
|
552
|
-
});
|
|
553
|
-
});
|
|
554
|
-
`;
|
|
555
|
-
}
|
|
556
|
-
/**
|
|
557
|
-
* Generate CHANGELOG.md
|
|
558
|
-
*/
|
|
559
|
-
generateChangelog(manifest) {
|
|
560
|
-
const version = manifest.metadata?.version || '1.0.0';
|
|
561
|
-
const date = new Date().toISOString().split('T')[0];
|
|
562
|
-
return `# Changelog
|
|
563
|
-
|
|
564
|
-
All notable changes to this project will be documented in this file.
|
|
565
|
-
|
|
566
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
567
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
568
|
-
|
|
569
|
-
## [${version}] - ${date}
|
|
570
|
-
|
|
571
|
-
### Added
|
|
572
|
-
- Initial release
|
|
573
|
-
- Agent implementation with TypeScript
|
|
574
|
-
- Express server with OpenAPI documentation
|
|
575
|
-
- Docker support
|
|
576
|
-
${manifest.spec?.tools ? `- ${manifest.spec.tools.length} tool(s) implementation` : ''}
|
|
577
|
-
|
|
578
|
-
### Changed
|
|
579
|
-
- N/A
|
|
580
|
-
|
|
581
|
-
### Deprecated
|
|
582
|
-
- N/A
|
|
583
|
-
|
|
584
|
-
### Removed
|
|
585
|
-
- N/A
|
|
586
|
-
|
|
587
|
-
### Fixed
|
|
588
|
-
- N/A
|
|
589
|
-
|
|
590
|
-
### Security
|
|
591
|
-
- N/A
|
|
592
|
-
`;
|
|
593
|
-
}
|
|
594
|
-
/**
|
|
595
|
-
* Generate LICENSE file
|
|
596
|
-
*/
|
|
597
|
-
generateLicense(manifest) {
|
|
598
|
-
const license = manifest.metadata?.license || 'MIT';
|
|
599
|
-
const year = new Date().getFullYear();
|
|
600
|
-
const author = manifest.metadata?.author || 'The Agent Developers';
|
|
601
|
-
if (license === 'MIT') {
|
|
602
|
-
return `MIT License
|
|
603
|
-
|
|
604
|
-
Copyright (c) ${year} ${author}
|
|
605
|
-
|
|
606
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
607
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
608
|
-
in the Software without restriction, including without limitation the rights
|
|
609
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
610
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
611
|
-
furnished to do so, subject to the following conditions:
|
|
612
|
-
|
|
613
|
-
The above copyright notice and this permission notice shall be included in all
|
|
614
|
-
copies or substantial portions of the Software.
|
|
615
|
-
|
|
616
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
617
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
618
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
619
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
620
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
621
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
622
|
-
SOFTWARE.
|
|
623
|
-
`;
|
|
624
|
-
}
|
|
625
|
-
else if (license === 'Apache-2.0') {
|
|
626
|
-
return `Apache License
|
|
627
|
-
Version 2.0, January 2004
|
|
628
|
-
http://www.apache.org/licenses/
|
|
629
|
-
|
|
630
|
-
Copyright ${year} ${author}
|
|
631
|
-
|
|
632
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
633
|
-
you may not use this file except in compliance with the License.
|
|
634
|
-
You may obtain a copy of the License at
|
|
635
|
-
|
|
636
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
637
|
-
|
|
638
|
-
Unless required by applicable law or agreed to in writing, software
|
|
639
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
640
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
641
|
-
See the License for the specific language governing permissions and
|
|
642
|
-
limitations under the License.
|
|
643
|
-
`;
|
|
644
|
-
}
|
|
645
|
-
return `${license} License
|
|
646
|
-
|
|
647
|
-
Copyright (c) ${year} ${author}
|
|
648
|
-
|
|
649
|
-
All rights reserved.
|
|
650
|
-
`;
|
|
651
|
-
}
|
|
652
|
-
/**
|
|
653
|
-
* Generate CONTRIBUTING.md
|
|
654
|
-
*/
|
|
655
|
-
generateContributing(manifest, packageName) {
|
|
656
|
-
return `# Contributing to ${manifest.metadata?.name || 'this project'}
|
|
657
|
-
|
|
658
|
-
Thank you for your interest in contributing! This document provides guidelines for contributing.
|
|
659
|
-
|
|
660
|
-
## Getting Started
|
|
661
|
-
|
|
662
|
-
1. Fork the repository
|
|
663
|
-
2. Clone your fork: \`git clone https://github.com/yourusername/${packageName}.git\`
|
|
664
|
-
3. Install dependencies: \`npm install\`
|
|
665
|
-
4. Create a branch: \`git checkout -b feature/your-feature-name\`
|
|
666
|
-
|
|
667
|
-
## Development Workflow
|
|
668
|
-
|
|
669
|
-
### Building
|
|
670
|
-
|
|
671
|
-
\`\`\`bash
|
|
672
|
-
npm run build
|
|
673
|
-
\`\`\`
|
|
674
|
-
|
|
675
|
-
### Testing
|
|
676
|
-
|
|
677
|
-
\`\`\`bash
|
|
678
|
-
# Run all tests
|
|
679
|
-
npm test
|
|
680
|
-
|
|
681
|
-
# Run tests in watch mode
|
|
682
|
-
npm run test:watch
|
|
683
|
-
|
|
684
|
-
# Generate coverage report
|
|
685
|
-
npm run test:coverage
|
|
686
|
-
\`\`\`
|
|
687
|
-
|
|
688
|
-
### Linting
|
|
689
|
-
|
|
690
|
-
\`\`\`bash
|
|
691
|
-
# Check for linting errors
|
|
692
|
-
npm run lint
|
|
693
|
-
|
|
694
|
-
# Auto-fix linting errors
|
|
695
|
-
npm run lint:fix
|
|
696
|
-
\`\`\`
|
|
697
|
-
|
|
698
|
-
### Code Style
|
|
699
|
-
|
|
700
|
-
This project uses:
|
|
701
|
-
- ESLint for code linting
|
|
702
|
-
- Prettier for code formatting
|
|
703
|
-
- TypeScript for type safety
|
|
704
|
-
|
|
705
|
-
Please ensure your code:
|
|
706
|
-
- Passes all linting checks
|
|
707
|
-
- Follows the existing code style
|
|
708
|
-
- Includes appropriate tests
|
|
709
|
-
- Has clear commit messages
|
|
710
|
-
|
|
711
|
-
## Pull Request Process
|
|
712
|
-
|
|
713
|
-
1. Update documentation if needed
|
|
714
|
-
2. Add tests for new functionality
|
|
715
|
-
3. Ensure all tests pass
|
|
716
|
-
4. Update CHANGELOG.md
|
|
717
|
-
5. Submit pull request with clear description
|
|
718
|
-
|
|
719
|
-
### Commit Messages
|
|
720
|
-
|
|
721
|
-
Follow conventional commits format:
|
|
722
|
-
|
|
723
|
-
- \`feat: Add new feature\`
|
|
724
|
-
- \`fix: Fix bug\`
|
|
725
|
-
- \`docs: Update documentation\`
|
|
726
|
-
- \`test: Add tests\`
|
|
727
|
-
- \`refactor: Refactor code\`
|
|
728
|
-
- \`chore: Update dependencies\`
|
|
729
|
-
|
|
730
|
-
## Code of Conduct
|
|
731
|
-
|
|
732
|
-
- Be respectful and inclusive
|
|
733
|
-
- Focus on constructive feedback
|
|
734
|
-
- Help others learn and grow
|
|
735
|
-
- Follow project guidelines
|
|
736
|
-
|
|
737
|
-
## Questions?
|
|
738
|
-
|
|
739
|
-
Feel free to open an issue for questions or discussions.
|
|
740
|
-
|
|
741
|
-
## License
|
|
742
|
-
|
|
743
|
-
By contributing, you agree that your contributions will be licensed under the ${manifest.metadata?.license || 'MIT'} License.
|
|
744
|
-
`;
|
|
745
|
-
}
|
|
746
|
-
/**
|
|
747
|
-
* Generate SECURITY.md
|
|
748
|
-
*/
|
|
749
|
-
generateSecurity(manifest) {
|
|
750
|
-
return `# Security Policy
|
|
751
|
-
|
|
752
|
-
## Supported Versions
|
|
753
|
-
|
|
754
|
-
| Version | Supported |
|
|
755
|
-
| ------- | ------------------ |
|
|
756
|
-
| ${manifest.metadata?.version || '1.0.0'} | :white_check_mark: |
|
|
757
|
-
|
|
758
|
-
## Reporting a Vulnerability
|
|
759
|
-
|
|
760
|
-
If you discover a security vulnerability, please report it by:
|
|
761
|
-
|
|
762
|
-
1. **DO NOT** open a public issue
|
|
763
|
-
2. Email security contact (if provided in package.json)
|
|
764
|
-
3. Include detailed information:
|
|
765
|
-
- Description of the vulnerability
|
|
766
|
-
- Steps to reproduce
|
|
767
|
-
- Potential impact
|
|
768
|
-
- Suggested fix (if any)
|
|
769
|
-
|
|
770
|
-
## Security Best Practices
|
|
771
|
-
|
|
772
|
-
When using this agent:
|
|
773
|
-
|
|
774
|
-
1. **API Keys**: Never commit API keys or secrets
|
|
775
|
-
2. **Environment Variables**: Use \`.env\` files (not committed)
|
|
776
|
-
3. **Input Validation**: Always validate user inputs
|
|
777
|
-
4. **Dependencies**: Keep dependencies up to date
|
|
778
|
-
5. **HTTPS**: Use HTTPS in production
|
|
779
|
-
6. **Rate Limiting**: Implement rate limiting for APIs
|
|
780
|
-
7. **Error Handling**: Don't expose sensitive information in errors
|
|
781
|
-
|
|
782
|
-
## Security Updates
|
|
783
|
-
|
|
784
|
-
Security updates are released as patch versions. Subscribe to releases to stay informed.
|
|
785
|
-
|
|
786
|
-
## Disclosure Policy
|
|
787
|
-
|
|
788
|
-
- Report received: We acknowledge within 48 hours
|
|
789
|
-
- Assessment: We assess the vulnerability
|
|
790
|
-
- Fix: We develop and test a fix
|
|
791
|
-
- Release: We release a security patch
|
|
792
|
-
- Disclosure: We publicly disclose after users have time to update
|
|
793
|
-
|
|
794
|
-
## Known Security Considerations
|
|
795
|
-
|
|
796
|
-
### LLM Security
|
|
797
|
-
- Input sanitization for prompts
|
|
798
|
-
- Output validation for responses
|
|
799
|
-
- Rate limiting for API calls
|
|
800
|
-
- Cost monitoring for API usage
|
|
801
|
-
|
|
802
|
-
### API Security
|
|
803
|
-
- Authentication required for sensitive endpoints
|
|
804
|
-
- Authorization checks for operations
|
|
805
|
-
- Input validation for all requests
|
|
806
|
-
- Rate limiting for abuse prevention
|
|
807
|
-
|
|
808
|
-
### Data Privacy
|
|
809
|
-
- No sensitive data in logs
|
|
810
|
-
- Secure storage for credentials
|
|
811
|
-
- Encryption in transit (HTTPS)
|
|
812
|
-
- Data retention policies
|
|
813
|
-
|
|
814
|
-
## Dependencies
|
|
815
|
-
|
|
816
|
-
We regularly audit dependencies for security vulnerabilities using:
|
|
817
|
-
- npm audit
|
|
818
|
-
- Snyk
|
|
819
|
-
- Dependabot
|
|
820
|
-
|
|
821
|
-
## Questions?
|
|
822
|
-
|
|
823
|
-
For security questions, contact the maintainers through secure channels.
|
|
824
|
-
`;
|
|
825
|
-
}
|
|
826
|
-
/**
|
|
827
|
-
* Generate API.md documentation
|
|
828
|
-
*/
|
|
829
|
-
generateApiDocs(manifest) {
|
|
830
|
-
const name = manifest.metadata?.name || 'Agent';
|
|
831
|
-
const tools = manifest.spec?.tools || [];
|
|
832
|
-
let toolsDocs = '';
|
|
833
|
-
if (Array.isArray(tools) && tools.length > 0) {
|
|
834
|
-
toolsDocs = `\n## Tools\n\n`;
|
|
835
|
-
for (const tool of tools) {
|
|
836
|
-
if (typeof tool === 'object' && tool !== null && 'name' in tool) {
|
|
837
|
-
toolsDocs += `### ${tool.name}\n\n`;
|
|
838
|
-
if ('description' in tool) {
|
|
839
|
-
toolsDocs += `${tool.description}\n\n`;
|
|
840
|
-
}
|
|
841
|
-
if ('parameters' in tool) {
|
|
842
|
-
toolsDocs += `**Parameters:**\n\n\`\`\`typescript\n${JSON.stringify(tool.parameters, null, 2)}\n\`\`\`\n\n`;
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
return `# API Documentation
|
|
848
|
-
|
|
849
|
-
Complete API reference for ${name}.
|
|
850
|
-
|
|
851
|
-
## Table of Contents
|
|
852
|
-
|
|
853
|
-
- [Installation](#installation)
|
|
854
|
-
- [Agent Class](#agent-class)
|
|
855
|
-
- [Methods](#methods)
|
|
856
|
-
- [Types](#types)
|
|
857
|
-
${tools.length > 0 ? '- [Tools](#tools)' : ''}
|
|
858
|
-
- [Server API](#server-api)
|
|
859
|
-
- [Examples](#examples)
|
|
860
|
-
|
|
861
|
-
## Installation
|
|
862
|
-
|
|
863
|
-
\`\`\`bash
|
|
864
|
-
npm install ${manifest.metadata?.name || 'agent'}
|
|
865
|
-
\`\`\`
|
|
866
|
-
|
|
867
|
-
## Agent Class
|
|
868
|
-
|
|
869
|
-
### Constructor
|
|
870
|
-
|
|
871
|
-
\`\`\`typescript
|
|
872
|
-
import { Agent } from '${manifest.metadata?.name || 'agent'}';
|
|
873
|
-
|
|
874
|
-
const agent = new Agent(options?: AgentOptions);
|
|
875
|
-
\`\`\`
|
|
876
|
-
|
|
877
|
-
**AgentOptions:**
|
|
878
|
-
|
|
879
|
-
\`\`\`typescript
|
|
880
|
-
interface AgentOptions {
|
|
881
|
-
apiKey?: string;
|
|
882
|
-
model?: string;
|
|
883
|
-
temperature?: number;
|
|
884
|
-
maxTokens?: number;
|
|
885
|
-
}
|
|
886
|
-
\`\`\`
|
|
887
|
-
|
|
888
|
-
## Methods
|
|
889
|
-
|
|
890
|
-
### chat()
|
|
891
|
-
|
|
892
|
-
Send a message to the agent and receive a response.
|
|
893
|
-
|
|
894
|
-
\`\`\`typescript
|
|
895
|
-
const response = await agent.chat(request: ChatRequest): Promise<ChatResponse>
|
|
896
|
-
\`\`\`
|
|
897
|
-
|
|
898
|
-
**Parameters:**
|
|
899
|
-
|
|
900
|
-
\`\`\`typescript
|
|
901
|
-
interface ChatRequest {
|
|
902
|
-
message: string;
|
|
903
|
-
context?: Record<string, any>;
|
|
904
|
-
sessionId?: string;
|
|
905
|
-
}
|
|
906
|
-
\`\`\`
|
|
907
|
-
|
|
908
|
-
**Returns:**
|
|
909
|
-
|
|
910
|
-
\`\`\`typescript
|
|
911
|
-
interface ChatResponse {
|
|
912
|
-
message: string;
|
|
913
|
-
context?: Record<string, any>;
|
|
914
|
-
metadata?: {
|
|
915
|
-
model: string;
|
|
916
|
-
tokens: number;
|
|
917
|
-
duration: number;
|
|
918
|
-
};
|
|
919
|
-
}
|
|
920
|
-
\`\`\`
|
|
921
|
-
|
|
922
|
-
**Example:**
|
|
923
|
-
|
|
924
|
-
\`\`\`typescript
|
|
925
|
-
const response = await agent.chat({
|
|
926
|
-
message: 'Hello, how are you?',
|
|
927
|
-
context: { user: 'john' }
|
|
928
|
-
});
|
|
929
|
-
|
|
930
|
-
console.log(response.message);
|
|
931
|
-
\`\`\`
|
|
932
|
-
|
|
933
|
-
### getMetadata()
|
|
934
|
-
|
|
935
|
-
Get agent metadata information.
|
|
936
|
-
|
|
937
|
-
\`\`\`typescript
|
|
938
|
-
const metadata = agent.getMetadata(): AgentMetadata
|
|
939
|
-
\`\`\`
|
|
940
|
-
|
|
941
|
-
**Returns:**
|
|
942
|
-
|
|
943
|
-
\`\`\`typescript
|
|
944
|
-
interface AgentMetadata {
|
|
945
|
-
name: string;
|
|
946
|
-
version: string;
|
|
947
|
-
description?: string;
|
|
948
|
-
author?: string;
|
|
949
|
-
license?: string;
|
|
950
|
-
}
|
|
951
|
-
\`\`\`
|
|
952
|
-
|
|
953
|
-
### getCapabilities()
|
|
954
|
-
|
|
955
|
-
Get agent capabilities and features.
|
|
956
|
-
|
|
957
|
-
\`\`\`typescript
|
|
958
|
-
const capabilities = agent.getCapabilities(): Capabilities
|
|
959
|
-
\`\`\`
|
|
960
|
-
|
|
961
|
-
**Returns:**
|
|
962
|
-
|
|
963
|
-
\`\`\`typescript
|
|
964
|
-
interface Capabilities {
|
|
965
|
-
tools: string[];
|
|
966
|
-
models: string[];
|
|
967
|
-
features: string[];
|
|
968
|
-
}
|
|
969
|
-
\`\`\`
|
|
970
|
-
|
|
971
|
-
## Types
|
|
972
|
-
|
|
973
|
-
### ChatRequest
|
|
974
|
-
|
|
975
|
-
\`\`\`typescript
|
|
976
|
-
interface ChatRequest {
|
|
977
|
-
message: string;
|
|
978
|
-
context?: Record<string, any>;
|
|
979
|
-
sessionId?: string;
|
|
980
|
-
}
|
|
981
|
-
\`\`\`
|
|
982
|
-
|
|
983
|
-
### ChatResponse
|
|
984
|
-
|
|
985
|
-
\`\`\`typescript
|
|
986
|
-
interface ChatResponse {
|
|
987
|
-
message: string;
|
|
988
|
-
context?: Record<string, any>;
|
|
989
|
-
metadata?: ResponseMetadata;
|
|
990
|
-
}
|
|
991
|
-
\`\`\`
|
|
992
|
-
|
|
993
|
-
### AgentOptions
|
|
994
|
-
|
|
995
|
-
\`\`\`typescript
|
|
996
|
-
interface AgentOptions {
|
|
997
|
-
apiKey?: string;
|
|
998
|
-
model?: string;
|
|
999
|
-
temperature?: number;
|
|
1000
|
-
maxTokens?: number;
|
|
1001
|
-
}
|
|
1002
|
-
\`\`\`
|
|
1003
|
-
${toolsDocs}
|
|
1004
|
-
## Server API
|
|
1005
|
-
|
|
1006
|
-
When running as a server, the following REST endpoints are available:
|
|
1007
|
-
|
|
1008
|
-
### POST /chat
|
|
1009
|
-
|
|
1010
|
-
Send a message to the agent.
|
|
1011
|
-
|
|
1012
|
-
**Request:**
|
|
1013
|
-
|
|
1014
|
-
\`\`\`json
|
|
1015
|
-
{
|
|
1016
|
-
"message": "Hello",
|
|
1017
|
-
"context": {},
|
|
1018
|
-
"sessionId": "optional-session-id"
|
|
1019
|
-
}
|
|
1020
|
-
\`\`\`
|
|
1021
|
-
|
|
1022
|
-
**Response:**
|
|
1023
|
-
|
|
1024
|
-
\`\`\`json
|
|
1025
|
-
{
|
|
1026
|
-
"message": "Response from agent",
|
|
1027
|
-
"context": {},
|
|
1028
|
-
"metadata": {
|
|
1029
|
-
"model": "gpt-4",
|
|
1030
|
-
"tokens": 100,
|
|
1031
|
-
"duration": 500
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
\`\`\`
|
|
1035
|
-
|
|
1036
|
-
### GET /health
|
|
1037
|
-
|
|
1038
|
-
Health check endpoint.
|
|
1039
|
-
|
|
1040
|
-
**Response:**
|
|
1041
|
-
|
|
1042
|
-
\`\`\`json
|
|
1043
|
-
{
|
|
1044
|
-
"status": "ok",
|
|
1045
|
-
"uptime": 12345,
|
|
1046
|
-
"version": "1.0.0"
|
|
1047
|
-
}
|
|
1048
|
-
\`\`\`
|
|
1049
|
-
|
|
1050
|
-
### GET /openapi
|
|
1051
|
-
|
|
1052
|
-
Get OpenAPI specification.
|
|
1053
|
-
|
|
1054
|
-
**Response:**
|
|
1055
|
-
|
|
1056
|
-
Returns the OpenAPI 3.0 specification in YAML format.
|
|
1057
|
-
|
|
1058
|
-
## Examples
|
|
1059
|
-
|
|
1060
|
-
See the [examples](./examples/) directory for complete examples:
|
|
1061
|
-
|
|
1062
|
-
- [Basic Usage](./examples/basic-usage.ts)
|
|
1063
|
-
- [With Tools](./examples/with-tools.ts)
|
|
1064
|
-
- [With API](./examples/with-api.ts)
|
|
1065
|
-
- [Advanced Usage](./examples/advanced.ts)
|
|
1066
|
-
|
|
1067
|
-
## Error Handling
|
|
1068
|
-
|
|
1069
|
-
All methods can throw errors. Always use try-catch:
|
|
1070
|
-
|
|
1071
|
-
\`\`\`typescript
|
|
1072
|
-
try {
|
|
1073
|
-
const response = await agent.chat({ message: 'Hello' });
|
|
1074
|
-
console.log(response);
|
|
1075
|
-
} catch (error) {
|
|
1076
|
-
console.error('Error:', error.message);
|
|
1077
|
-
}
|
|
1078
|
-
\`\`\`
|
|
1079
|
-
|
|
1080
|
-
## TypeScript Support
|
|
1081
|
-
|
|
1082
|
-
This package includes TypeScript definitions. Import types:
|
|
1083
|
-
|
|
1084
|
-
\`\`\`typescript
|
|
1085
|
-
import type {
|
|
1086
|
-
ChatRequest,
|
|
1087
|
-
ChatResponse,
|
|
1088
|
-
AgentOptions
|
|
1089
|
-
} from '${manifest.metadata?.name || 'agent'}';
|
|
1090
|
-
\`\`\`
|
|
1091
|
-
|
|
1092
|
-
## Rate Limiting
|
|
1093
|
-
|
|
1094
|
-
The server includes rate limiting:
|
|
1095
|
-
- 100 requests per 15 minutes per IP
|
|
1096
|
-
- 429 status code when limit exceeded
|
|
1097
|
-
|
|
1098
|
-
## Environment Variables
|
|
1099
|
-
|
|
1100
|
-
- \`LLM_API_KEY\` - API key for LLM provider (required)
|
|
1101
|
-
- \`PORT\` - Server port (default: 3000)
|
|
1102
|
-
- \`LOG_LEVEL\` - Logging level (default: info)
|
|
1103
|
-
- \`NODE_ENV\` - Environment (development/production)
|
|
1104
|
-
|
|
1105
|
-
## License
|
|
1106
|
-
|
|
1107
|
-
${manifest.metadata?.license || 'MIT'}
|
|
1108
|
-
`;
|
|
1109
|
-
}
|
|
1110
|
-
/**
|
|
1111
|
-
* Generate examples
|
|
1112
|
-
*/
|
|
1113
|
-
generateExamples(manifest, packageName) {
|
|
1114
|
-
return {
|
|
1115
|
-
'README.md': `# Examples
|
|
1116
|
-
|
|
1117
|
-
This directory contains examples for using ${manifest.metadata?.name || 'the agent'}.
|
|
1118
|
-
|
|
1119
|
-
## Available Examples
|
|
1120
|
-
|
|
1121
|
-
- [basic-usage.ts](./basic-usage.ts) - Simple usage example
|
|
1122
|
-
- [with-tools.ts](./with-tools.ts) - Using agent tools
|
|
1123
|
-
- [with-api.ts](./with-api.ts) - Using the REST API
|
|
1124
|
-
- [advanced.ts](./advanced.ts) - Advanced features
|
|
1125
|
-
|
|
1126
|
-
## Running Examples
|
|
1127
|
-
|
|
1128
|
-
\`\`\`bash
|
|
1129
|
-
# Install dependencies
|
|
1130
|
-
npm install
|
|
1131
|
-
|
|
1132
|
-
# Run an example
|
|
1133
|
-
npx tsx examples/basic-usage.ts
|
|
1134
|
-
\`\`\`
|
|
1135
|
-
|
|
1136
|
-
## Environment Setup
|
|
1137
|
-
|
|
1138
|
-
Copy \`.env.example\` to \`.env\` and configure:
|
|
1139
|
-
|
|
1140
|
-
\`\`\`bash
|
|
1141
|
-
LLM_API_KEY=your-api-key
|
|
1142
|
-
\`\`\`
|
|
1143
|
-
`,
|
|
1144
|
-
'basic-usage.ts': `/**
|
|
1145
|
-
* Basic Usage Example
|
|
1146
|
-
*
|
|
1147
|
-
* Demonstrates simple agent interaction
|
|
1148
|
-
*/
|
|
1149
|
-
|
|
1150
|
-
import { Agent } from '${packageName}';
|
|
1151
|
-
|
|
1152
|
-
async function main() {
|
|
1153
|
-
// Create agent instance
|
|
1154
|
-
const agent = new Agent({
|
|
1155
|
-
apiKey: process.env.LLM_API_KEY,
|
|
1156
|
-
});
|
|
1157
|
-
|
|
1158
|
-
// Send a message
|
|
1159
|
-
const response = await agent.chat({
|
|
1160
|
-
message: 'Hello! Can you help me?',
|
|
1161
|
-
});
|
|
1162
|
-
|
|
1163
|
-
console.log('Agent response:', response.message);
|
|
1164
|
-
|
|
1165
|
-
// Get agent metadata
|
|
1166
|
-
const metadata = agent.getMetadata();
|
|
1167
|
-
console.log('Agent info:', metadata);
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
main().catch(console.error);
|
|
1171
|
-
`,
|
|
1172
|
-
'with-tools.ts': `/**
|
|
1173
|
-
* Tools Example
|
|
1174
|
-
*
|
|
1175
|
-
* Demonstrates using agent tools
|
|
1176
|
-
*/
|
|
1177
|
-
|
|
1178
|
-
import { Agent } from '${packageName}';
|
|
1179
|
-
|
|
1180
|
-
async function main() {
|
|
1181
|
-
const agent = new Agent({
|
|
1182
|
-
apiKey: process.env.LLM_API_KEY,
|
|
1183
|
-
});
|
|
1184
|
-
|
|
1185
|
-
// Get available capabilities
|
|
1186
|
-
const capabilities = agent.getCapabilities();
|
|
1187
|
-
console.log('Available tools:', capabilities.tools);
|
|
1188
|
-
|
|
1189
|
-
// Use agent with tools
|
|
1190
|
-
const response = await agent.chat({
|
|
1191
|
-
message: 'Use your tools to help me',
|
|
1192
|
-
context: {
|
|
1193
|
-
enableTools: true,
|
|
1194
|
-
},
|
|
1195
|
-
});
|
|
1196
|
-
|
|
1197
|
-
console.log('Response:', response.message);
|
|
1198
|
-
console.log('Metadata:', response.metadata);
|
|
1199
|
-
}
|
|
1200
|
-
|
|
1201
|
-
main().catch(console.error);
|
|
1202
|
-
`,
|
|
1203
|
-
'with-api.ts': `/**
|
|
1204
|
-
* REST API Example
|
|
1205
|
-
*
|
|
1206
|
-
* Demonstrates using the agent via REST API
|
|
1207
|
-
*/
|
|
1208
|
-
|
|
1209
|
-
async function main() {
|
|
1210
|
-
const baseUrl = 'http://localhost:3000';
|
|
1211
|
-
|
|
1212
|
-
// Health check
|
|
1213
|
-
const health = await fetch(\`\${baseUrl}/health\`);
|
|
1214
|
-
console.log('Health:', await health.json());
|
|
1215
|
-
|
|
1216
|
-
// Chat with agent
|
|
1217
|
-
const response = await fetch(\`\${baseUrl}/chat\`, {
|
|
1218
|
-
method: 'POST',
|
|
1219
|
-
headers: {
|
|
1220
|
-
'Content-Type': 'application/json',
|
|
1221
|
-
},
|
|
1222
|
-
body: JSON.stringify({
|
|
1223
|
-
message: 'Hello from API!',
|
|
1224
|
-
}),
|
|
1225
|
-
});
|
|
1226
|
-
|
|
1227
|
-
const data = await response.json();
|
|
1228
|
-
console.log('Response:', data);
|
|
1229
|
-
|
|
1230
|
-
// Get OpenAPI spec
|
|
1231
|
-
const openapi = await fetch(\`\${baseUrl}/openapi\`);
|
|
1232
|
-
console.log('OpenAPI spec:', await openapi.text());
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
main().catch(console.error);
|
|
1236
|
-
`,
|
|
1237
|
-
'advanced.ts': `/**
|
|
1238
|
-
* Advanced Usage Example
|
|
1239
|
-
*
|
|
1240
|
-
* Demonstrates advanced features
|
|
1241
|
-
*/
|
|
1242
|
-
|
|
1243
|
-
import { Agent } from '${packageName}';
|
|
1244
|
-
|
|
1245
|
-
async function main() {
|
|
1246
|
-
const agent = new Agent({
|
|
1247
|
-
apiKey: process.env.LLM_API_KEY,
|
|
1248
|
-
temperature: 0.7,
|
|
1249
|
-
maxTokens: 1000,
|
|
1250
|
-
});
|
|
1251
|
-
|
|
1252
|
-
// Multi-turn conversation with context
|
|
1253
|
-
let context = { conversationId: '123' };
|
|
1254
|
-
|
|
1255
|
-
const turn1 = await agent.chat({
|
|
1256
|
-
message: 'Remember my name is Alice',
|
|
1257
|
-
context,
|
|
1258
|
-
});
|
|
1259
|
-
console.log('Turn 1:', turn1.message);
|
|
1260
|
-
context = turn1.context || context;
|
|
1261
|
-
|
|
1262
|
-
const turn2 = await agent.chat({
|
|
1263
|
-
message: 'What is my name?',
|
|
1264
|
-
context,
|
|
1265
|
-
});
|
|
1266
|
-
console.log('Turn 2:', turn2.message);
|
|
1267
|
-
|
|
1268
|
-
// Error handling
|
|
1269
|
-
try {
|
|
1270
|
-
await agent.chat({ message: '' });
|
|
1271
|
-
} catch (error) {
|
|
1272
|
-
console.error('Handled error:', error.message);
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
main().catch(console.error);
|
|
1277
|
-
`,
|
|
1278
|
-
};
|
|
1279
|
-
}
|
|
1280
|
-
/**
|
|
1281
|
-
* Generate complete test suite
|
|
1282
|
-
*/
|
|
1283
|
-
generateCompletedTestSuite(manifest) {
|
|
1284
|
-
const name = manifest.metadata?.name || 'Agent';
|
|
1285
|
-
return {
|
|
1286
|
-
'unit/agent.test.ts': `import { describe, it, expect, beforeEach } from '@jest/globals';
|
|
1287
|
-
import { Agent } from '../../src/index.js';
|
|
1288
|
-
|
|
1289
|
-
describe('${name} - Unit Tests', () => {
|
|
1290
|
-
let agent: Agent;
|
|
1291
|
-
|
|
1292
|
-
beforeEach(() => {
|
|
1293
|
-
agent = new Agent();
|
|
1294
|
-
});
|
|
1295
|
-
|
|
1296
|
-
describe('initialization', () => {
|
|
1297
|
-
it('should create agent instance', () => {
|
|
1298
|
-
expect(agent).toBeDefined();
|
|
1299
|
-
expect(agent).toBeInstanceOf(Agent);
|
|
1300
|
-
});
|
|
1301
|
-
|
|
1302
|
-
it('should accept configuration options', () => {
|
|
1303
|
-
const customAgent = new Agent({
|
|
1304
|
-
apiKey: 'test-key',
|
|
1305
|
-
temperature: 0.5,
|
|
1306
|
-
});
|
|
1307
|
-
expect(customAgent).toBeDefined();
|
|
1308
|
-
});
|
|
1309
|
-
});
|
|
1310
|
-
|
|
1311
|
-
describe('metadata', () => {
|
|
1312
|
-
it('should return agent metadata', () => {
|
|
1313
|
-
const metadata = agent.getMetadata();
|
|
1314
|
-
expect(metadata).toHaveProperty('name');
|
|
1315
|
-
expect(metadata).toHaveProperty('version');
|
|
1316
|
-
expect(metadata.name).toBe('${name}');
|
|
1317
|
-
});
|
|
1318
|
-
});
|
|
1319
|
-
|
|
1320
|
-
describe('capabilities', () => {
|
|
1321
|
-
it('should return agent capabilities', () => {
|
|
1322
|
-
const capabilities = agent.getCapabilities();
|
|
1323
|
-
expect(capabilities).toHaveProperty('tools');
|
|
1324
|
-
expect(capabilities).toHaveProperty('models');
|
|
1325
|
-
expect(Array.isArray(capabilities.tools)).toBe(true);
|
|
1326
|
-
});
|
|
1327
|
-
});
|
|
1328
|
-
});
|
|
1329
|
-
`,
|
|
1330
|
-
'unit/tools.test.ts': `import { describe, it, expect } from '@jest/globals';
|
|
1331
|
-
|
|
1332
|
-
describe('Tools - Unit Tests', () => {
|
|
1333
|
-
it('should have tool implementations', () => {
|
|
1334
|
-
// Add tool-specific tests here
|
|
1335
|
-
expect(true).toBe(true);
|
|
1336
|
-
});
|
|
1337
|
-
});
|
|
1338
|
-
`,
|
|
1339
|
-
'integration/api.test.ts': `import { describe, it, expect, beforeAll, afterAll } from '@jest/globals';
|
|
1340
|
-
import { Agent } from '../../src/index.js';
|
|
1341
|
-
|
|
1342
|
-
describe('API - Integration Tests', () => {
|
|
1343
|
-
let agent: Agent;
|
|
1344
|
-
|
|
1345
|
-
beforeAll(() => {
|
|
1346
|
-
agent = new Agent();
|
|
1347
|
-
});
|
|
1348
|
-
|
|
1349
|
-
afterAll(() => {
|
|
1350
|
-
// Cleanup
|
|
1351
|
-
});
|
|
1352
|
-
|
|
1353
|
-
describe('chat', () => {
|
|
1354
|
-
it('should respond to messages', async () => {
|
|
1355
|
-
const response = await agent.chat({
|
|
1356
|
-
message: 'Hello',
|
|
1357
|
-
});
|
|
1358
|
-
|
|
1359
|
-
expect(response).toHaveProperty('message');
|
|
1360
|
-
expect(typeof response.message).toBe('string');
|
|
1361
|
-
});
|
|
1362
|
-
|
|
1363
|
-
it('should handle context', async () => {
|
|
1364
|
-
const response = await agent.chat({
|
|
1365
|
-
message: 'Test',
|
|
1366
|
-
context: { user: 'test' },
|
|
1367
|
-
});
|
|
1368
|
-
|
|
1369
|
-
expect(response).toHaveProperty('context');
|
|
1370
|
-
});
|
|
1371
|
-
|
|
1372
|
-
it('should handle errors gracefully', async () => {
|
|
1373
|
-
await expect(
|
|
1374
|
-
agent.chat({ message: '' })
|
|
1375
|
-
).rejects.toThrow();
|
|
1376
|
-
});
|
|
1377
|
-
});
|
|
1378
|
-
});
|
|
1379
|
-
`,
|
|
1380
|
-
'e2e/workflow.test.ts': `import { describe, it, expect } from '@jest/globals';
|
|
1381
|
-
import { Agent } from '../../src/index.js';
|
|
1382
|
-
|
|
1383
|
-
describe('Workflow - E2E Tests', () => {
|
|
1384
|
-
it('should complete full conversation workflow', async () => {
|
|
1385
|
-
const agent = new Agent();
|
|
1386
|
-
|
|
1387
|
-
// Step 1: Initial message
|
|
1388
|
-
const response1 = await agent.chat({
|
|
1389
|
-
message: 'Start conversation',
|
|
1390
|
-
});
|
|
1391
|
-
expect(response1.message).toBeDefined();
|
|
1392
|
-
|
|
1393
|
-
// Step 2: Follow-up
|
|
1394
|
-
const response2 = await agent.chat({
|
|
1395
|
-
message: 'Continue',
|
|
1396
|
-
context: response1.context,
|
|
1397
|
-
});
|
|
1398
|
-
expect(response2.message).toBeDefined();
|
|
1399
|
-
});
|
|
1400
|
-
});
|
|
1401
|
-
`,
|
|
1402
|
-
'fixtures/sample-data.json': JSON.stringify({
|
|
1403
|
-
testMessages: [
|
|
1404
|
-
{ message: 'Hello', expectedType: 'greeting' },
|
|
1405
|
-
{ message: 'Help', expectedType: 'request' },
|
|
1406
|
-
{ message: 'Thank you', expectedType: 'gratitude' },
|
|
1407
|
-
],
|
|
1408
|
-
testContext: {
|
|
1409
|
-
user: 'test-user',
|
|
1410
|
-
session: 'test-session',
|
|
1411
|
-
},
|
|
1412
|
-
}, null, 2),
|
|
1413
|
-
'setup.ts': `/**
|
|
1414
|
-
* Test Setup
|
|
1415
|
-
*
|
|
1416
|
-
* Global test configuration and utilities
|
|
1417
|
-
*/
|
|
1418
|
-
|
|
1419
|
-
// Set test environment
|
|
1420
|
-
process.env.NODE_ENV = 'test';
|
|
1421
|
-
|
|
1422
|
-
// Configure test timeout
|
|
1423
|
-
jest.setTimeout(10000);
|
|
1424
|
-
|
|
1425
|
-
// Global setup
|
|
1426
|
-
beforeAll(() => {
|
|
1427
|
-
// Setup code here
|
|
1428
|
-
});
|
|
1429
|
-
|
|
1430
|
-
// Global teardown
|
|
1431
|
-
afterAll(() => {
|
|
1432
|
-
// Cleanup code here
|
|
1433
|
-
});
|
|
1434
|
-
|
|
1435
|
-
// Custom matchers
|
|
1436
|
-
expect.extend({
|
|
1437
|
-
toBeValidResponse(received) {
|
|
1438
|
-
const pass =
|
|
1439
|
-
typeof received === 'object' &&
|
|
1440
|
-
'message' in received &&
|
|
1441
|
-
typeof received.message === 'string';
|
|
1442
|
-
|
|
1443
|
-
return {
|
|
1444
|
-
pass,
|
|
1445
|
-
message: () =>
|
|
1446
|
-
pass
|
|
1447
|
-
? 'Expected not to be valid response'
|
|
1448
|
-
: 'Expected to be valid response',
|
|
1449
|
-
};
|
|
1450
|
-
},
|
|
1451
|
-
});
|
|
1452
|
-
`,
|
|
1453
|
-
};
|
|
1454
|
-
}
|
|
1455
|
-
/**
|
|
1456
|
-
* Generate enhanced source structure
|
|
1457
|
-
*/
|
|
1458
|
-
generateEnhancedSource(manifest) {
|
|
1459
|
-
return {
|
|
1460
|
-
'agent.ts': `/**
|
|
1461
|
-
* Agent Implementation
|
|
1462
|
-
*
|
|
1463
|
-
* Main agent class implementation
|
|
1464
|
-
*/
|
|
1465
|
-
|
|
1466
|
-
import type { ChatRequest, ChatResponse, AgentOptions, AgentMetadata, Capabilities } from './types.js';
|
|
1467
|
-
import { Logger } from './utils/logger.js';
|
|
1468
|
-
import { ValidationError } from './utils/errors.js';
|
|
1469
|
-
import { validateChatRequest } from './utils/validation.js';
|
|
1470
|
-
import { defaultConfig } from './config/defaults.js';
|
|
1471
|
-
|
|
1472
|
-
export class Agent {
|
|
1473
|
-
private config: Required<AgentOptions>;
|
|
1474
|
-
private logger: Logger;
|
|
1475
|
-
|
|
1476
|
-
constructor(options: AgentOptions = {}) {
|
|
1477
|
-
this.config = { ...defaultConfig, ...options };
|
|
1478
|
-
this.logger = new Logger('Agent');
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
async chat(request: ChatRequest): Promise<ChatResponse> {
|
|
1482
|
-
this.logger.debug('Chat request received', request);
|
|
1483
|
-
|
|
1484
|
-
// Validate request
|
|
1485
|
-
const validation = validateChatRequest(request);
|
|
1486
|
-
if (!validation.valid) {
|
|
1487
|
-
throw new ValidationError(validation.error || 'Invalid request');
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1490
|
-
try {
|
|
1491
|
-
// Process request
|
|
1492
|
-
const response: ChatResponse = {
|
|
1493
|
-
message: \`Echo: \${request.message}\`,
|
|
1494
|
-
context: request.context,
|
|
1495
|
-
metadata: {
|
|
1496
|
-
model: this.config.model,
|
|
1497
|
-
tokens: 0,
|
|
1498
|
-
duration: 0,
|
|
1499
|
-
},
|
|
1500
|
-
};
|
|
1501
|
-
|
|
1502
|
-
this.logger.debug('Chat response sent', response);
|
|
1503
|
-
return response;
|
|
1504
|
-
} catch (error) {
|
|
1505
|
-
this.logger.error('Chat error', error);
|
|
1506
|
-
throw error;
|
|
1507
|
-
}
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
getMetadata(): AgentMetadata {
|
|
1511
|
-
return {
|
|
1512
|
-
name: '${manifest.metadata?.name || 'agent'}',
|
|
1513
|
-
version: '${manifest.metadata?.version || '1.0.0'}',
|
|
1514
|
-
description: '${manifest.metadata?.description || 'OSSA agent'}',
|
|
1515
|
-
author: '${manifest.metadata?.author || 'Unknown'}',
|
|
1516
|
-
license: '${manifest.metadata?.license || 'MIT'}',
|
|
1517
|
-
};
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
getCapabilities(): Capabilities {
|
|
1521
|
-
return {
|
|
1522
|
-
tools: [],
|
|
1523
|
-
models: [this.config.model],
|
|
1524
|
-
features: ['chat', 'context'],
|
|
1525
|
-
};
|
|
1526
|
-
}
|
|
1527
|
-
}
|
|
1528
|
-
`,
|
|
1529
|
-
'utils/logger.ts': `/**
|
|
1530
|
-
* Logger Utility
|
|
1531
|
-
*
|
|
1532
|
-
* Structured logging for the agent
|
|
1533
|
-
*/
|
|
1534
|
-
|
|
1535
|
-
export type LogLevel = 'debug' | 'info' | 'warn' | 'error';
|
|
1536
|
-
|
|
1537
|
-
export class Logger {
|
|
1538
|
-
constructor(private context: string) {}
|
|
1539
|
-
|
|
1540
|
-
debug(message: string, data?: any): void {
|
|
1541
|
-
this.log('debug', message, data);
|
|
1542
|
-
}
|
|
1543
|
-
|
|
1544
|
-
info(message: string, data?: any): void {
|
|
1545
|
-
this.log('info', message, data);
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
|
-
warn(message: string, data?: any): void {
|
|
1549
|
-
this.log('warn', message, data);
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1552
|
-
error(message: string, error?: any): void {
|
|
1553
|
-
this.log('error', message, error);
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
private log(level: LogLevel, message: string, data?: any): void {
|
|
1557
|
-
const timestamp = new Date().toISOString();
|
|
1558
|
-
const logData = {
|
|
1559
|
-
timestamp,
|
|
1560
|
-
level,
|
|
1561
|
-
context: this.context,
|
|
1562
|
-
message,
|
|
1563
|
-
...(data && { data }),
|
|
1564
|
-
};
|
|
1565
|
-
|
|
1566
|
-
const logLevel = process.env.LOG_LEVEL || 'info';
|
|
1567
|
-
const levels = ['debug', 'info', 'warn', 'error'];
|
|
1568
|
-
|
|
1569
|
-
if (levels.indexOf(level) >= levels.indexOf(logLevel as LogLevel)) {
|
|
1570
|
-
console[level === 'debug' ? 'log' : level](
|
|
1571
|
-
JSON.stringify(logData)
|
|
1572
|
-
);
|
|
1573
|
-
}
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
`,
|
|
1577
|
-
'utils/errors.ts': `/**
|
|
1578
|
-
* Error Classes
|
|
1579
|
-
*
|
|
1580
|
-
* Custom error types for the agent
|
|
1581
|
-
*/
|
|
1582
|
-
|
|
1583
|
-
export class AgentError extends Error {
|
|
1584
|
-
constructor(message: string) {
|
|
1585
|
-
super(message);
|
|
1586
|
-
this.name = 'AgentError';
|
|
1587
|
-
}
|
|
1588
|
-
}
|
|
1589
|
-
|
|
1590
|
-
export class ValidationError extends AgentError {
|
|
1591
|
-
constructor(message: string) {
|
|
1592
|
-
super(message);
|
|
1593
|
-
this.name = 'ValidationError';
|
|
1594
|
-
}
|
|
1595
|
-
}
|
|
1596
|
-
|
|
1597
|
-
export class ConfigurationError extends AgentError {
|
|
1598
|
-
constructor(message: string) {
|
|
1599
|
-
super(message);
|
|
1600
|
-
this.name = 'ConfigurationError';
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
1603
|
-
|
|
1604
|
-
export class ToolError extends AgentError {
|
|
1605
|
-
constructor(message: string) {
|
|
1606
|
-
super(message);
|
|
1607
|
-
this.name = 'ToolError';
|
|
1608
|
-
}
|
|
1609
|
-
}
|
|
1610
|
-
`,
|
|
1611
|
-
'utils/validation.ts': `/**
|
|
1612
|
-
* Validation Utilities
|
|
1613
|
-
*
|
|
1614
|
-
* Request and response validation
|
|
1615
|
-
*/
|
|
1616
|
-
|
|
1617
|
-
import type { ChatRequest } from '../types.js';
|
|
1618
|
-
|
|
1619
|
-
export interface ValidationResult {
|
|
1620
|
-
valid: boolean;
|
|
1621
|
-
error?: string;
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
export function validateChatRequest(request: ChatRequest): ValidationResult {
|
|
1625
|
-
if (!request) {
|
|
1626
|
-
return { valid: false, error: 'Request is required' };
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1629
|
-
if (!request.message || typeof request.message !== 'string') {
|
|
1630
|
-
return { valid: false, error: 'Message is required and must be a string' };
|
|
1631
|
-
}
|
|
1632
|
-
|
|
1633
|
-
if (request.message.trim().length === 0) {
|
|
1634
|
-
return { valid: false, error: 'Message cannot be empty' };
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
|
-
if (request.context && typeof request.context !== 'object') {
|
|
1638
|
-
return { valid: false, error: 'Context must be an object' };
|
|
1639
|
-
}
|
|
1640
|
-
|
|
1641
|
-
return { valid: true };
|
|
1642
|
-
}
|
|
1643
|
-
`,
|
|
1644
|
-
'config/defaults.ts': `/**
|
|
1645
|
-
* Default Configuration
|
|
1646
|
-
*
|
|
1647
|
-
* Default settings for the agent
|
|
1648
|
-
*/
|
|
1649
|
-
|
|
1650
|
-
import type { AgentOptions } from '../types.js';
|
|
1651
|
-
|
|
1652
|
-
export const defaultConfig: Required<AgentOptions> = {
|
|
1653
|
-
apiKey: process.env.LLM_API_KEY || '',
|
|
1654
|
-
model: 'gpt-4',
|
|
1655
|
-
temperature: 0.7,
|
|
1656
|
-
maxTokens: 2000,
|
|
1657
|
-
};
|
|
1658
|
-
`,
|
|
1659
|
-
};
|
|
1660
|
-
}
|
|
1661
|
-
/**
|
|
1662
|
-
* Generate quality assurance files
|
|
1663
|
-
*/
|
|
1664
|
-
generateQAFiles(options) {
|
|
1665
|
-
return {
|
|
1666
|
-
'.eslintrc.json': JSON.stringify({
|
|
1667
|
-
extends: [
|
|
1668
|
-
'eslint:recommended',
|
|
1669
|
-
'plugin:@typescript-eslint/recommended',
|
|
1670
|
-
'prettier',
|
|
1671
|
-
],
|
|
1672
|
-
parser: '@typescript-eslint/parser',
|
|
1673
|
-
parserOptions: {
|
|
1674
|
-
ecmaVersion: 2022,
|
|
1675
|
-
sourceType: 'module',
|
|
1676
|
-
project: './tsconfig.json',
|
|
1677
|
-
},
|
|
1678
|
-
plugins: ['@typescript-eslint'],
|
|
1679
|
-
rules: {
|
|
1680
|
-
'@typescript-eslint/explicit-function-return-type': 'warn',
|
|
1681
|
-
'@typescript-eslint/no-explicit-any': 'warn',
|
|
1682
|
-
'@typescript-eslint/no-unused-vars': [
|
|
1683
|
-
'error',
|
|
1684
|
-
{ argsIgnorePattern: '^_' },
|
|
1685
|
-
],
|
|
1686
|
-
'no-console': ['warn', { allow: ['warn', 'error'] }],
|
|
1687
|
-
},
|
|
1688
|
-
env: {
|
|
1689
|
-
node: true,
|
|
1690
|
-
es2022: true,
|
|
1691
|
-
},
|
|
1692
|
-
}, null, 2),
|
|
1693
|
-
'.prettierrc': JSON.stringify({
|
|
1694
|
-
semi: true,
|
|
1695
|
-
trailingComma: 'es5',
|
|
1696
|
-
singleQuote: true,
|
|
1697
|
-
printWidth: 80,
|
|
1698
|
-
tabWidth: 2,
|
|
1699
|
-
useTabs: false,
|
|
1700
|
-
arrowParens: 'always',
|
|
1701
|
-
endOfLine: 'lf',
|
|
1702
|
-
}, null, 2),
|
|
1703
|
-
'jest.config.js': `export default {
|
|
1704
|
-
preset: 'ts-jest/presets/default-esm',
|
|
1705
|
-
testEnvironment: 'node',
|
|
1706
|
-
extensionsToTreatAsEsm: ['.ts'],
|
|
1707
|
-
moduleNameMapper: {
|
|
1708
|
-
'^(\\.{1,2}/.*)\\.js$': '$1',
|
|
1709
|
-
},
|
|
1710
|
-
transform: {
|
|
1711
|
-
'^.+\\.ts$': [
|
|
1712
|
-
'ts-jest',
|
|
1713
|
-
{
|
|
1714
|
-
useESM: true,
|
|
1715
|
-
},
|
|
1716
|
-
],
|
|
1717
|
-
},
|
|
1718
|
-
testMatch: ['**/tests/**/*.test.ts'],
|
|
1719
|
-
collectCoverageFrom: [
|
|
1720
|
-
'src/**/*.ts',
|
|
1721
|
-
'!src/**/*.d.ts',
|
|
1722
|
-
'!src/types.ts',
|
|
1723
|
-
],
|
|
1724
|
-
coverageThreshold: {
|
|
1725
|
-
global: {
|
|
1726
|
-
branches: 70,
|
|
1727
|
-
functions: 70,
|
|
1728
|
-
lines: 70,
|
|
1729
|
-
statements: 70,
|
|
1730
|
-
},
|
|
1731
|
-
},
|
|
1732
|
-
setupFilesAfterEnv: ['<rootDir>/tests/setup.ts'],
|
|
1733
|
-
};
|
|
1734
|
-
`,
|
|
1735
|
-
'.editorconfig': `root = true
|
|
1736
|
-
|
|
1737
|
-
[*]
|
|
1738
|
-
indent_style = space
|
|
1739
|
-
indent_size = 2
|
|
1740
|
-
end_of_line = lf
|
|
1741
|
-
charset = utf-8
|
|
1742
|
-
trim_trailing_whitespace = true
|
|
1743
|
-
insert_final_newline = true
|
|
1744
|
-
|
|
1745
|
-
[*.md]
|
|
1746
|
-
trim_trailing_whitespace = false
|
|
1747
|
-
|
|
1748
|
-
[*.json]
|
|
1749
|
-
indent_size = 2
|
|
1750
|
-
|
|
1751
|
-
[*.{yml,yaml}]
|
|
1752
|
-
indent_size = 2
|
|
1753
|
-
`,
|
|
1754
|
-
'.nvmrc': options.nodeVersion || '18.0.0',
|
|
1755
|
-
};
|
|
1756
|
-
}
|
|
1757
|
-
/**
|
|
1758
|
-
* Get language from file path
|
|
1759
|
-
*/
|
|
1760
|
-
getLanguageFromPath(path) {
|
|
1761
|
-
const ext = path.split('.').pop();
|
|
1762
|
-
const languageMap = {
|
|
1763
|
-
js: 'javascript',
|
|
1764
|
-
ts: 'typescript',
|
|
1765
|
-
json: 'json',
|
|
1766
|
-
yaml: 'yaml',
|
|
1767
|
-
yml: 'yaml',
|
|
1768
|
-
md: 'markdown',
|
|
1769
|
-
};
|
|
1770
|
-
return ext ? languageMap[ext] : undefined;
|
|
1771
|
-
}
|
|
1772
|
-
}
|
|
1773
|
-
//# sourceMappingURL=npm-exporter.js.map
|