@bluefly/openstandardagents 0.3.3 → 0.3.6
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/.version.json +7 -0
- package/.wiki-config.json +1 -1
- package/CHANGELOG.md +163 -31
- package/README.md +211 -55
- package/bin/ossa +2 -23
- package/bin/postinstall +62 -0
- package/dist/adapters/anthropic/client.d.ts.map +1 -1
- package/dist/adapters/anthropic/client.js +15 -7
- package/dist/adapters/anthropic/client.js.map +1 -1
- package/dist/adapters/anthropic/config.d.ts.map +1 -1
- package/dist/adapters/anthropic/config.js +1 -1
- package/dist/adapters/anthropic/config.js.map +1 -1
- package/dist/adapters/anthropic/index.d.ts +3 -3
- package/dist/adapters/anthropic/index.d.ts.map +1 -1
- package/dist/adapters/anthropic/index.js +1 -1
- package/dist/adapters/anthropic/index.js.map +1 -1
- package/dist/adapters/anthropic/messages.d.ts.map +1 -1
- package/dist/adapters/anthropic/messages.js +10 -4
- package/dist/adapters/anthropic/messages.js.map +1 -1
- package/dist/adapters/anthropic/runtime.d.ts.map +1 -1
- package/dist/adapters/anthropic/runtime.js +6 -3
- package/dist/adapters/anthropic/runtime.js.map +1 -1
- package/dist/adapters/anthropic/tools.d.ts.map +1 -1
- package/dist/adapters/anthropic/tools.js +13 -6
- package/dist/adapters/anthropic/tools.js.map +1 -1
- package/dist/adapters/crewai/converter.d.ts +17 -0
- package/dist/adapters/crewai/converter.d.ts.map +1 -0
- package/dist/adapters/crewai/converter.js +110 -0
- package/dist/adapters/crewai/converter.js.map +1 -0
- package/dist/adapters/crewai/index.d.ts +7 -0
- package/dist/adapters/crewai/index.d.ts.map +1 -0
- package/dist/adapters/crewai/index.js +6 -0
- package/dist/adapters/crewai/index.js.map +1 -0
- package/dist/adapters/crewai/types.d.ts +29 -0
- package/dist/adapters/crewai/types.d.ts.map +1 -0
- package/dist/adapters/crewai/types.js +5 -0
- package/dist/adapters/crewai/types.js.map +1 -0
- package/dist/adapters/crewai-adapter.d.ts.map +1 -1
- package/dist/adapters/crewai-adapter.js +4 -1
- package/dist/adapters/crewai-adapter.js.map +1 -1
- package/dist/adapters/docker/generators.d.ts +19 -0
- package/dist/adapters/docker/generators.d.ts.map +1 -0
- package/dist/adapters/docker/generators.js +93 -0
- package/dist/adapters/docker/generators.js.map +1 -0
- package/dist/adapters/docker/index.d.ts +7 -0
- package/dist/adapters/docker/index.d.ts.map +1 -0
- package/dist/adapters/docker/index.js +6 -0
- package/dist/adapters/docker/index.js.map +1 -0
- package/dist/adapters/docker/types.d.ts +17 -0
- package/dist/adapters/docker/types.d.ts.map +1 -0
- package/dist/adapters/docker/types.js +5 -0
- package/dist/adapters/docker/types.js.map +1 -0
- package/dist/adapters/drupal/index.d.ts.map +1 -1
- package/dist/adapters/drupal/index.js.map +1 -1
- package/dist/adapters/gitlab/converter.d.ts +25 -0
- package/dist/adapters/gitlab/converter.d.ts.map +1 -0
- package/dist/adapters/gitlab/converter.js +96 -0
- package/dist/adapters/gitlab/converter.js.map +1 -0
- package/dist/adapters/gitlab/index.d.ts +7 -0
- package/dist/adapters/gitlab/index.d.ts.map +1 -0
- package/dist/adapters/gitlab/index.js +6 -0
- package/dist/adapters/gitlab/index.js.map +1 -0
- package/dist/adapters/gitlab/types.d.ts +22 -0
- package/dist/adapters/gitlab/types.d.ts.map +1 -0
- package/dist/adapters/gitlab/types.js +5 -0
- package/dist/adapters/gitlab/types.js.map +1 -0
- package/dist/adapters/kubernetes/generator.d.ts +29 -0
- package/dist/adapters/kubernetes/generator.d.ts.map +1 -0
- package/dist/adapters/kubernetes/generator.js +133 -0
- package/dist/adapters/kubernetes/generator.js.map +1 -0
- package/dist/adapters/kubernetes/index.d.ts +7 -0
- package/dist/adapters/kubernetes/index.d.ts.map +1 -0
- package/dist/adapters/kubernetes/index.js +6 -0
- package/dist/adapters/kubernetes/index.js.map +1 -0
- package/dist/adapters/kubernetes/types.d.ts +17 -0
- package/dist/adapters/kubernetes/types.d.ts.map +1 -0
- package/dist/adapters/kubernetes/types.js +5 -0
- package/dist/adapters/kubernetes/types.js.map +1 -0
- package/dist/adapters/langchain/converter.d.ts +21 -0
- package/dist/adapters/langchain/converter.d.ts.map +1 -0
- package/dist/adapters/langchain/converter.js +143 -0
- package/dist/adapters/langchain/converter.js.map +1 -0
- package/dist/adapters/langchain/index.d.ts +7 -0
- package/dist/adapters/langchain/index.d.ts.map +1 -0
- package/dist/adapters/langchain/index.js +6 -0
- package/dist/adapters/langchain/index.js.map +1 -0
- package/dist/adapters/langchain/types.d.ts +27 -0
- package/dist/adapters/langchain/types.d.ts.map +1 -0
- package/dist/adapters/langchain/types.js +5 -0
- package/dist/adapters/langchain/types.js.map +1 -0
- package/dist/adapters/langchain-adapter.d.ts.map +1 -1
- package/dist/adapters/langchain-adapter.js.map +1 -1
- package/dist/adapters/langflow-adapter.d.ts.map +1 -1
- package/dist/adapters/langflow-adapter.js +8 -2
- package/dist/adapters/langflow-adapter.js.map +1 -1
- package/dist/adapters/langfuse.adapter.d.ts.map +1 -1
- package/dist/adapters/langfuse.adapter.js +7 -3
- package/dist/adapters/langfuse.adapter.js.map +1 -1
- package/dist/adapters/langsmith.adapter.d.ts.map +1 -1
- package/dist/adapters/langsmith.adapter.js +4 -2
- package/dist/adapters/langsmith.adapter.js.map +1 -1
- package/dist/adapters/n8n/converter.d.ts +17 -0
- package/dist/adapters/n8n/converter.d.ts.map +1 -0
- package/dist/adapters/n8n/converter.js +77 -0
- package/dist/adapters/n8n/converter.js.map +1 -0
- package/dist/adapters/n8n/index.d.ts +7 -0
- package/dist/adapters/n8n/index.d.ts.map +1 -0
- package/dist/adapters/n8n/index.js +6 -0
- package/dist/adapters/n8n/index.js.map +1 -0
- package/dist/adapters/n8n/types.d.ts +23 -0
- package/dist/adapters/n8n/types.d.ts.map +1 -0
- package/dist/adapters/n8n/types.js +5 -0
- package/dist/adapters/n8n/types.js.map +1 -0
- package/dist/adapters/openapi-adapter.d.ts.map +1 -1
- package/dist/adapters/openapi-adapter.js +3 -1
- package/dist/adapters/openapi-adapter.js.map +1 -1
- package/dist/adapters/opentelemetry.adapter.d.ts.map +1 -1
- package/dist/adapters/opentelemetry.adapter.js +91 -50
- package/dist/adapters/opentelemetry.adapter.js.map +1 -1
- package/dist/adapters/phoenix.adapter.d.ts.map +1 -1
- package/dist/adapters/phoenix.adapter.js +6 -4
- package/dist/adapters/phoenix.adapter.js.map +1 -1
- package/dist/adapters/symfony/index.d.ts.map +1 -1
- package/dist/adapters/symfony/index.js +2 -1
- package/dist/adapters/symfony/index.js.map +1 -1
- package/dist/adapters/temporal/converter.d.ts +17 -0
- package/dist/adapters/temporal/converter.d.ts.map +1 -0
- package/dist/adapters/temporal/converter.js +96 -0
- package/dist/adapters/temporal/converter.js.map +1 -0
- package/dist/adapters/temporal/index.d.ts +7 -0
- package/dist/adapters/temporal/index.d.ts.map +1 -0
- package/dist/adapters/temporal/index.js +6 -0
- package/dist/adapters/temporal/index.js.map +1 -0
- package/dist/adapters/temporal/types.d.ts +23 -0
- package/dist/adapters/temporal/types.d.ts.map +1 -0
- package/dist/adapters/temporal/types.js +5 -0
- package/dist/adapters/temporal/types.js.map +1 -0
- package/dist/bot/agent-architecture_validator.d.ts +8 -0
- package/dist/bot/agent-architecture_validator.d.ts.map +1 -0
- package/dist/bot/agent-architecture_validator.js +15 -0
- package/dist/bot/agent-architecture_validator.js.map +1 -0
- package/dist/bot/agent-ci_pipeline.d.ts +7 -0
- package/dist/bot/agent-ci_pipeline.d.ts.map +1 -0
- package/dist/bot/agent-ci_pipeline.js +7 -0
- package/dist/bot/agent-ci_pipeline.js.map +1 -0
- package/dist/bot/agent-compliance.d.ts +56 -0
- package/dist/bot/agent-compliance.d.ts.map +1 -0
- package/dist/bot/agent-compliance.js +222 -0
- package/dist/bot/agent-compliance.js.map +1 -0
- package/dist/bot/agent-dependency_updater.d.ts +9 -0
- package/dist/bot/agent-dependency_updater.d.ts.map +1 -0
- package/dist/bot/agent-dependency_updater.js +9 -0
- package/dist/bot/agent-dependency_updater.js.map +1 -0
- package/dist/bot/agent-security_scanner.d.ts +11 -0
- package/dist/bot/agent-security_scanner.d.ts.map +1 -0
- package/dist/bot/agent-security_scanner.js +21 -0
- package/dist/bot/agent-security_scanner.js.map +1 -0
- package/dist/cli/commands/agent-card.command.d.ts.map +1 -1
- package/dist/cli/commands/agent-card.command.js +15 -9
- package/dist/cli/commands/agent-card.command.js.map +1 -1
- package/dist/cli/commands/agent-create.command.d.ts +18 -0
- package/dist/cli/commands/agent-create.command.d.ts.map +1 -0
- package/dist/cli/commands/agent-create.command.js +437 -0
- package/dist/cli/commands/agent-create.command.js.map +1 -0
- package/dist/cli/commands/agent-wizard.command.d.ts +21 -0
- package/dist/cli/commands/agent-wizard.command.d.ts.map +1 -0
- package/dist/cli/commands/agent-wizard.command.js +1136 -0
- package/dist/cli/commands/agent-wizard.command.js.map +1 -0
- package/dist/cli/commands/agents-md/batch.command.d.ts +3 -0
- package/dist/cli/commands/agents-md/batch.command.d.ts.map +1 -0
- package/dist/cli/commands/agents-md/batch.command.js +63 -0
- package/dist/cli/commands/agents-md/batch.command.js.map +1 -0
- package/dist/cli/commands/agents-md/generate.command.d.ts +3 -0
- package/dist/cli/commands/agents-md/generate.command.d.ts.map +1 -0
- package/dist/cli/commands/agents-md/generate.command.js +43 -0
- package/dist/cli/commands/agents-md/generate.command.js.map +1 -0
- package/dist/cli/commands/agents-md/list.command.d.ts +3 -0
- package/dist/cli/commands/agents-md/list.command.d.ts.map +1 -0
- package/dist/cli/commands/agents-md/list.command.js +59 -0
- package/dist/cli/commands/agents-md/list.command.js.map +1 -0
- package/dist/cli/commands/agents-md/validate.command.d.ts +3 -0
- package/dist/cli/commands/agents-md/validate.command.d.ts.map +1 -0
- package/dist/cli/commands/agents-md/validate.command.js +42 -0
- package/dist/cli/commands/agents-md/validate.command.js.map +1 -0
- package/dist/cli/commands/agents-md.command.d.ts +1 -1
- package/dist/cli/commands/agents-md.command.d.ts.map +1 -1
- package/dist/cli/commands/agents-md.command.js +40 -122
- package/dist/cli/commands/agents-md.command.js.map +1 -1
- package/dist/cli/commands/agents.command.d.ts.map +1 -1
- package/dist/cli/commands/agents.command.js +28 -11
- package/dist/cli/commands/agents.command.js.map +1 -1
- package/dist/cli/commands/audit.d.ts +8 -0
- package/dist/cli/commands/audit.d.ts.map +1 -0
- package/dist/cli/commands/audit.js +238 -0
- package/dist/cli/commands/audit.js.map +1 -0
- package/dist/cli/commands/build.command.d.ts +7 -0
- package/dist/cli/commands/build.command.d.ts.map +1 -0
- package/dist/cli/commands/build.command.js +314 -0
- package/dist/cli/commands/build.command.js.map +1 -0
- package/dist/cli/commands/capability/validate.d.ts +3 -0
- package/dist/cli/commands/capability/validate.d.ts.map +1 -0
- package/dist/cli/commands/capability/validate.js +60 -0
- package/dist/cli/commands/capability/validate.js.map +1 -0
- package/dist/cli/commands/catalog/convert.command.js.map +1 -1
- package/dist/cli/commands/catalog/index.d.ts +3 -1
- package/dist/cli/commands/catalog/index.d.ts.map +1 -1
- package/dist/cli/commands/catalog/index.js +8 -2
- package/dist/cli/commands/catalog/index.js.map +1 -1
- package/dist/cli/commands/catalog/info.command.d.ts +3 -0
- package/dist/cli/commands/catalog/info.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/info.command.js +137 -0
- package/dist/cli/commands/catalog/info.command.js.map +1 -0
- package/dist/cli/commands/catalog/list.command.js.map +1 -1
- package/dist/cli/commands/catalog/pull.command.js.map +1 -1
- package/dist/cli/commands/catalog/push.command.js.map +1 -1
- package/dist/cli/commands/catalog/search.command.d.ts +3 -0
- package/dist/cli/commands/catalog/search.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/search.command.js +47 -0
- package/dist/cli/commands/catalog/search.command.js.map +1 -0
- package/dist/cli/commands/catalog/sync.command.js.map +1 -1
- package/dist/cli/commands/catalog/validate.command.js.map +1 -1
- package/dist/cli/commands/compliance.command.d.ts.map +1 -1
- package/dist/cli/commands/compliance.command.js +10 -7
- package/dist/cli/commands/compliance.command.js.map +1 -1
- package/dist/cli/commands/conformance.command.d.ts +14 -0
- package/dist/cli/commands/conformance.command.d.ts.map +1 -0
- package/dist/cli/commands/conformance.command.js +232 -0
- package/dist/cli/commands/conformance.command.js.map +1 -0
- package/dist/cli/commands/contract.command.d.ts.map +1 -1
- package/dist/cli/commands/contract.command.js +3 -1
- package/dist/cli/commands/contract.command.js.map +1 -1
- package/dist/cli/commands/dependencies.command.d.ts.map +1 -1
- package/dist/cli/commands/dependencies.command.js +9 -3
- package/dist/cli/commands/dependencies.command.js.map +1 -1
- package/dist/cli/commands/deploy.command.d.ts +5 -2
- package/dist/cli/commands/deploy.command.d.ts.map +1 -1
- package/dist/cli/commands/deploy.command.js +50 -152
- package/dist/cli/commands/deploy.command.js.map +1 -1
- package/dist/cli/commands/deploy.d.ts.map +1 -1
- package/dist/cli/commands/deploy.js +20 -4
- package/dist/cli/commands/deploy.js.map +1 -1
- package/dist/cli/commands/diff.command.d.ts.map +1 -1
- package/dist/cli/commands/diff.command.js +22 -6
- package/dist/cli/commands/diff.command.js.map +1 -1
- package/dist/cli/commands/docs.command.d.ts.map +1 -1
- package/dist/cli/commands/docs.command.js +5 -2
- package/dist/cli/commands/docs.command.js.map +1 -1
- package/dist/cli/commands/enhance.command.d.ts +10 -0
- package/dist/cli/commands/enhance.command.d.ts.map +1 -0
- package/dist/cli/commands/enhance.command.js +119 -0
- package/dist/cli/commands/enhance.command.js.map +1 -0
- package/dist/cli/commands/examples.command.d.ts +10 -0
- package/dist/cli/commands/examples.command.d.ts.map +1 -0
- package/dist/cli/commands/examples.command.js +73 -0
- package/dist/cli/commands/examples.command.js.map +1 -0
- package/dist/cli/commands/export.command.d.ts +2 -2
- package/dist/cli/commands/export.command.d.ts.map +1 -1
- package/dist/cli/commands/export.command.js +109 -37
- package/dist/cli/commands/export.command.js.map +1 -1
- package/dist/cli/commands/extension-team.command.d.ts.map +1 -1
- package/dist/cli/commands/extension-team.command.js +6 -7
- package/dist/cli/commands/extension-team.command.js.map +1 -1
- package/dist/cli/commands/framework.command.js +24 -10
- package/dist/cli/commands/framework.command.js.map +1 -1
- package/dist/cli/commands/generate/conformance.d.ts +3 -0
- package/dist/cli/commands/generate/conformance.d.ts.map +1 -0
- package/dist/cli/commands/generate/conformance.js +106 -0
- package/dist/cli/commands/generate/conformance.js.map +1 -0
- package/dist/cli/commands/generate.command.d.ts.map +1 -1
- package/dist/cli/commands/generate.command.js +4 -5
- package/dist/cli/commands/generate.command.js.map +1 -1
- package/dist/cli/commands/github-sync.command.js +1 -1
- package/dist/cli/commands/github-sync.command.js.map +1 -1
- package/dist/cli/commands/gitlab-agent.command.d.ts.map +1 -1
- package/dist/cli/commands/gitlab-agent.command.js.map +1 -1
- package/dist/cli/commands/identity/plan.d.ts +3 -0
- package/dist/cli/commands/identity/plan.d.ts.map +1 -0
- package/dist/cli/commands/identity/plan.js +198 -0
- package/dist/cli/commands/identity/plan.js.map +1 -0
- package/dist/cli/commands/import.command.d.ts.map +1 -1
- package/dist/cli/commands/import.command.js.map +1 -1
- package/dist/cli/commands/info.command.d.ts.map +1 -1
- package/dist/cli/commands/info.command.js.map +1 -1
- package/dist/cli/commands/init.command.d.ts.map +1 -1
- package/dist/cli/commands/init.command.js +7 -3
- package/dist/cli/commands/init.command.js.map +1 -1
- package/dist/cli/commands/install.command.d.ts.map +1 -1
- package/dist/cli/commands/install.command.js +29 -32
- package/dist/cli/commands/install.command.js.map +1 -1
- package/dist/cli/commands/knowledge-index.command.d.ts +11 -0
- package/dist/cli/commands/knowledge-index.command.d.ts.map +1 -0
- package/dist/cli/commands/knowledge-index.command.js +111 -0
- package/dist/cli/commands/knowledge-index.command.js.map +1 -0
- package/dist/cli/commands/knowledge-query.command.d.ts +11 -0
- package/dist/cli/commands/knowledge-query.command.d.ts.map +1 -0
- package/dist/cli/commands/knowledge-query.command.js +118 -0
- package/dist/cli/commands/knowledge-query.command.js.map +1 -0
- package/dist/cli/commands/knowledge.command.d.ts +11 -0
- package/dist/cli/commands/knowledge.command.d.ts.map +1 -0
- package/dist/cli/commands/knowledge.command.js +16 -0
- package/dist/cli/commands/knowledge.command.js.map +1 -0
- package/dist/cli/commands/langchain.command.js +4 -1
- package/dist/cli/commands/langchain.command.js.map +1 -1
- package/dist/cli/commands/langflow.command.js.map +1 -1
- package/dist/cli/commands/lint.command.d.ts.map +1 -1
- package/dist/cli/commands/lint.command.js +12 -3
- package/dist/cli/commands/lint.command.js.map +1 -1
- package/dist/cli/commands/llms-txt.command.d.ts.map +1 -1
- package/dist/cli/commands/llms-txt.command.js +4 -5
- package/dist/cli/commands/llms-txt.command.js.map +1 -1
- package/dist/cli/commands/migrate-batch.command.d.ts +19 -0
- package/dist/cli/commands/migrate-batch.command.d.ts.map +1 -0
- package/dist/cli/commands/migrate-batch.command.js +223 -0
- package/dist/cli/commands/migrate-batch.command.js.map +1 -0
- package/dist/cli/commands/migrate-langchain.command.d.ts +23 -0
- package/dist/cli/commands/migrate-langchain.command.d.ts.map +1 -0
- package/dist/cli/commands/migrate-langchain.command.js +167 -0
- package/dist/cli/commands/migrate-langchain.command.js.map +1 -0
- package/dist/cli/commands/migrate.command.d.ts +2 -17
- package/dist/cli/commands/migrate.command.d.ts.map +1 -1
- package/dist/cli/commands/migrate.command.js +86 -141
- package/dist/cli/commands/migrate.command.js.map +1 -1
- package/dist/cli/commands/publish.command.d.ts.map +1 -1
- package/dist/cli/commands/publish.command.js +35 -60
- package/dist/cli/commands/publish.command.js.map +1 -1
- package/dist/cli/commands/quickstart.command.d.ts.map +1 -1
- package/dist/cli/commands/quickstart.command.js.map +1 -1
- package/dist/cli/commands/registry.command.d.ts.map +1 -1
- package/dist/cli/commands/registry.command.js +17 -11
- package/dist/cli/commands/registry.command.js.map +1 -1
- package/dist/cli/commands/release.command.d.ts +10 -0
- package/dist/cli/commands/release.command.d.ts.map +1 -0
- package/dist/cli/commands/release.command.js +73 -0
- package/dist/cli/commands/release.command.js.map +1 -0
- package/dist/cli/commands/run.command.d.ts.map +1 -1
- package/dist/cli/commands/run.command.js +3 -2
- package/dist/cli/commands/run.command.js.map +1 -1
- package/dist/cli/commands/scaffold.command.d.ts.map +1 -1
- package/dist/cli/commands/scaffold.command.js +89 -31
- package/dist/cli/commands/scaffold.command.js.map +1 -1
- package/dist/cli/commands/schema.command.d.ts.map +1 -1
- package/dist/cli/commands/schema.command.js +5 -2
- package/dist/cli/commands/schema.command.js.map +1 -1
- package/dist/cli/commands/search.command.d.ts.map +1 -1
- package/dist/cli/commands/search.command.js +33 -33
- package/dist/cli/commands/search.command.js.map +1 -1
- package/dist/cli/commands/serve.command.d.ts.map +1 -1
- package/dist/cli/commands/serve.command.js +8 -3
- package/dist/cli/commands/serve.command.js.map +1 -1
- package/dist/cli/commands/setup.command.d.ts.map +1 -1
- package/dist/cli/commands/setup.command.js +7 -2
- package/dist/cli/commands/setup.command.js.map +1 -1
- package/dist/cli/commands/skills.command.d.ts +10 -0
- package/dist/cli/commands/skills.command.d.ts.map +1 -0
- package/dist/cli/commands/skills.command.js +135 -0
- package/dist/cli/commands/skills.command.js.map +1 -0
- package/dist/cli/commands/standardize.command.d.ts.map +1 -1
- package/dist/cli/commands/standardize.command.js +13 -7
- package/dist/cli/commands/standardize.command.js.map +1 -1
- package/dist/cli/commands/sync.command.d.ts.map +1 -1
- package/dist/cli/commands/sync.command.js.map +1 -1
- package/dist/cli/commands/taxonomy.command.d.ts +10 -0
- package/dist/cli/commands/taxonomy.command.d.ts.map +1 -0
- package/dist/cli/commands/taxonomy.command.js +379 -0
- package/dist/cli/commands/taxonomy.command.js.map +1 -0
- package/dist/cli/commands/template.command.d.ts +7 -0
- package/dist/cli/commands/template.command.d.ts.map +1 -0
- package/dist/cli/commands/template.command.js +159 -0
- package/dist/cli/commands/template.command.js.map +1 -0
- package/dist/cli/commands/test.command.d.ts.map +1 -1
- package/dist/cli/commands/test.command.js +10 -3
- package/dist/cli/commands/test.command.js.map +1 -1
- package/dist/cli/commands/update.command.d.ts +3 -0
- package/dist/cli/commands/update.command.d.ts.map +1 -0
- package/dist/cli/commands/update.command.js +43 -0
- package/dist/cli/commands/update.command.js.map +1 -0
- package/dist/cli/commands/validate.command.d.ts.map +1 -1
- package/dist/cli/commands/validate.command.js +46 -1
- package/dist/cli/commands/validate.command.js.map +1 -1
- package/dist/cli/commands/wizard.command.d.ts +12 -0
- package/dist/cli/commands/wizard.command.d.ts.map +1 -0
- package/dist/cli/commands/wizard.command.js +862 -0
- package/dist/cli/commands/wizard.command.js.map +1 -0
- package/dist/cli/commands/workspace.command.d.ts.map +1 -1
- package/dist/cli/commands/workspace.command.js +23 -12
- package/dist/cli/commands/workspace.command.js.map +1 -1
- package/dist/cli/extensions/gitlab-release.commands.d.ts.map +1 -1
- package/dist/cli/extensions/gitlab-release.commands.js +6 -2
- package/dist/cli/extensions/gitlab-release.commands.js.map +1 -1
- package/dist/cli/extensions/gitlab.extension.d.ts.map +1 -1
- package/dist/cli/extensions/gitlab.extension.js.map +1 -1
- package/dist/cli/extensions/index.d.ts.map +1 -1
- package/dist/cli/extensions/index.js +2 -1
- package/dist/cli/extensions/index.js.map +1 -1
- package/dist/cli/index.d.ts +2 -11
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +25 -224
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/utils/error-formatter.d.ts.map +1 -1
- package/dist/cli/utils/error-formatter.js +27 -6
- package/dist/cli/utils/error-formatter.js.map +1 -1
- package/dist/cli/utils/gitlab-config.d.ts.map +1 -1
- package/dist/cli/utils/gitlab-config.js +3 -1
- package/dist/cli/utils/gitlab-config.js.map +1 -1
- package/dist/cli/utils/index.d.ts +1 -1
- package/dist/cli/utils/index.d.ts.map +1 -1
- package/dist/cli/utils/index.js +1 -1
- package/dist/cli/utils/index.js.map +1 -1
- package/dist/cli/utils/manifest-discovery.d.ts +63 -0
- package/dist/cli/utils/manifest-discovery.d.ts.map +1 -0
- package/dist/cli/utils/manifest-discovery.js +201 -0
- package/dist/cli/utils/manifest-discovery.js.map +1 -0
- package/dist/cli/utils/manifest-loader.d.ts.map +1 -1
- package/dist/cli/utils/manifest-loader.js.map +1 -1
- package/dist/cli/utils/migration-reporter.d.ts +96 -0
- package/dist/cli/utils/migration-reporter.d.ts.map +1 -0
- package/dist/cli/utils/migration-reporter.js +253 -0
- package/dist/cli/utils/migration-reporter.js.map +1 -0
- package/dist/cli/utils/output.d.ts +1 -0
- package/dist/cli/utils/output.d.ts.map +1 -1
- package/dist/cli/utils/output.js +10 -6
- package/dist/cli/utils/output.js.map +1 -1
- package/dist/cli/wizard/data/agent-types.d.ts +7 -0
- package/dist/cli/wizard/data/agent-types.d.ts.map +1 -0
- package/dist/cli/wizard/data/agent-types.js +192 -0
- package/dist/cli/wizard/data/agent-types.js.map +1 -0
- package/dist/cli/wizard/data/llm-providers.d.ts +10 -0
- package/dist/cli/wizard/data/llm-providers.d.ts.map +1 -0
- package/dist/cli/wizard/data/llm-providers.js +176 -0
- package/dist/cli/wizard/data/llm-providers.js.map +1 -0
- package/dist/cli/wizard/data/taxonomy.d.ts +39 -0
- package/dist/cli/wizard/data/taxonomy.d.ts.map +1 -0
- package/dist/cli/wizard/data/taxonomy.js +134 -0
- package/dist/cli/wizard/data/taxonomy.js.map +1 -0
- package/dist/cli/wizard/data/templates.d.ts +10 -0
- package/dist/cli/wizard/data/templates.d.ts.map +1 -0
- package/dist/cli/wizard/data/templates.js +228 -0
- package/dist/cli/wizard/data/templates.js.map +1 -0
- package/dist/cli/wizard/steps/01-agent-type.d.ts +7 -0
- package/dist/cli/wizard/steps/01-agent-type.d.ts.map +1 -0
- package/dist/cli/wizard/steps/01-agent-type.js +35 -0
- package/dist/cli/wizard/steps/01-agent-type.js.map +1 -0
- package/dist/cli/wizard/steps/02-basic-info.d.ts +7 -0
- package/dist/cli/wizard/steps/02-basic-info.d.ts.map +1 -0
- package/dist/cli/wizard/steps/02-basic-info.js +81 -0
- package/dist/cli/wizard/steps/02-basic-info.js.map +1 -0
- package/dist/cli/wizard/steps/03-domain-capability.d.ts +7 -0
- package/dist/cli/wizard/steps/03-domain-capability.d.ts.map +1 -0
- package/dist/cli/wizard/steps/03-domain-capability.js +98 -0
- package/dist/cli/wizard/steps/03-domain-capability.js.map +1 -0
- package/dist/cli/wizard/steps/04-llm-config.d.ts +7 -0
- package/dist/cli/wizard/steps/04-llm-config.d.ts.map +1 -0
- package/dist/cli/wizard/steps/04-llm-config.js +86 -0
- package/dist/cli/wizard/steps/04-llm-config.js.map +1 -0
- package/dist/cli/wizard/steps/05-tools.d.ts +7 -0
- package/dist/cli/wizard/steps/05-tools.d.ts.map +1 -0
- package/dist/cli/wizard/steps/05-tools.js +172 -0
- package/dist/cli/wizard/steps/05-tools.js.map +1 -0
- package/dist/cli/wizard/steps/06-autonomy.d.ts +7 -0
- package/dist/cli/wizard/steps/06-autonomy.d.ts.map +1 -0
- package/dist/cli/wizard/steps/06-autonomy.js +87 -0
- package/dist/cli/wizard/steps/06-autonomy.js.map +1 -0
- package/dist/cli/wizard/steps/07-observability.d.ts +7 -0
- package/dist/cli/wizard/steps/07-observability.d.ts.map +1 -0
- package/dist/cli/wizard/steps/07-observability.js +149 -0
- package/dist/cli/wizard/steps/07-observability.js.map +1 -0
- package/dist/cli/wizard/steps/08-deployment.d.ts +7 -0
- package/dist/cli/wizard/steps/08-deployment.d.ts.map +1 -0
- package/dist/cli/wizard/steps/08-deployment.js +120 -0
- package/dist/cli/wizard/steps/08-deployment.js.map +1 -0
- package/dist/cli/wizard/steps/09-advanced.d.ts +7 -0
- package/dist/cli/wizard/steps/09-advanced.d.ts.map +1 -0
- package/dist/cli/wizard/steps/09-advanced.js +160 -0
- package/dist/cli/wizard/steps/09-advanced.js.map +1 -0
- package/dist/cli/wizard/steps/10-review.d.ts +7 -0
- package/dist/cli/wizard/steps/10-review.d.ts.map +1 -0
- package/dist/cli/wizard/steps/10-review.js +109 -0
- package/dist/cli/wizard/steps/10-review.js.map +1 -0
- package/dist/cli/wizard/steps/12-agents-folder.d.ts +7 -0
- package/dist/cli/wizard/steps/12-agents-folder.d.ts.map +1 -0
- package/dist/cli/wizard/steps/12-agents-folder.js +101 -0
- package/dist/cli/wizard/steps/12-agents-folder.js.map +1 -0
- package/dist/cli/wizard/steps/13-openapi-generation.d.ts +7 -0
- package/dist/cli/wizard/steps/13-openapi-generation.d.ts.map +1 -0
- package/dist/cli/wizard/steps/13-openapi-generation.js +60 -0
- package/dist/cli/wizard/steps/13-openapi-generation.js.map +1 -0
- package/dist/cli/wizard/steps/14-workspace-registration.d.ts +7 -0
- package/dist/cli/wizard/steps/14-workspace-registration.d.ts.map +1 -0
- package/dist/cli/wizard/steps/14-workspace-registration.js +65 -0
- package/dist/cli/wizard/steps/14-workspace-registration.js.map +1 -0
- package/dist/cli/wizard/steps/15-cost-estimation.d.ts +7 -0
- package/dist/cli/wizard/steps/15-cost-estimation.d.ts.map +1 -0
- package/dist/cli/wizard/steps/15-cost-estimation.js +119 -0
- package/dist/cli/wizard/steps/15-cost-estimation.js.map +1 -0
- package/dist/cli/wizard/steps/16-best-practices.d.ts +7 -0
- package/dist/cli/wizard/steps/16-best-practices.d.ts.map +1 -0
- package/dist/cli/wizard/steps/16-best-practices.js +180 -0
- package/dist/cli/wizard/steps/16-best-practices.js.map +1 -0
- package/dist/cli/wizard/steps/index.d.ts +15 -0
- package/dist/cli/wizard/steps/index.d.ts.map +1 -0
- package/dist/cli/wizard/steps/index.js +15 -0
- package/dist/cli/wizard/steps/index.js.map +1 -0
- package/dist/cli/wizard/types.d.ts +94 -0
- package/dist/cli/wizard/types.d.ts.map +1 -0
- package/dist/cli/wizard/types.js +6 -0
- package/dist/cli/wizard/types.js.map +1 -0
- package/dist/cli/wizard/ui/console.d.ts +26 -0
- package/dist/cli/wizard/ui/console.d.ts.map +1 -0
- package/dist/cli/wizard/ui/console.js +104 -0
- package/dist/cli/wizard/ui/console.js.map +1 -0
- package/dist/cli/wizard/validators/index.d.ts +11 -0
- package/dist/cli/wizard/validators/index.d.ts.map +1 -0
- package/dist/cli/wizard/validators/index.js +35 -0
- package/dist/cli/wizard/validators/index.js.map +1 -0
- package/dist/config/defaults.d.ts.map +1 -1
- package/dist/config/defaults.js +10 -7
- package/dist/config/defaults.js.map +1 -1
- package/dist/deploy/base-driver.d.ts.map +1 -1
- package/dist/deploy/base-driver.js.map +1 -1
- package/dist/deploy/docker-driver.d.ts.map +1 -1
- package/dist/deploy/docker-driver.js.map +1 -1
- package/dist/deploy/k8s-driver.d.ts.map +1 -1
- package/dist/deploy/k8s-driver.js +11 -3
- package/dist/deploy/k8s-driver.js.map +1 -1
- package/dist/dev-cli/schemas/version.schema.d.ts +1 -1
- package/dist/dev-cli/schemas/version.schema.d.ts.map +1 -1
- package/dist/dev-cli/schemas/version.schema.js +1 -1
- package/dist/dev-cli/schemas/version.schema.js.map +1 -1
- package/dist/dev-cli/services/version-audit.service.d.ts +2 -2
- package/dist/dev-cli/services/version-audit.service.d.ts.map +1 -1
- package/dist/dev-cli/services/version-audit.service.js +4 -4
- package/dist/dev-cli/services/version-audit.service.js.map +1 -1
- package/dist/dev-cli/src/commands/env-cleanup.command.d.ts +8 -0
- package/dist/dev-cli/src/commands/env-cleanup.command.d.ts.map +1 -0
- package/dist/dev-cli/src/commands/env-cleanup.command.js +103 -0
- package/dist/dev-cli/src/commands/env-cleanup.command.js.map +1 -0
- package/dist/dev-cli/src/commands/migrate.command.d.ts +9 -0
- package/dist/dev-cli/src/commands/migrate.command.d.ts.map +1 -0
- package/dist/dev-cli/src/commands/migrate.command.js +78 -0
- package/dist/dev-cli/src/commands/migrate.command.js.map +1 -0
- package/dist/dev-cli/src/commands/release-prep.command.d.ts.map +1 -1
- package/dist/dev-cli/src/commands/release-prep.command.js +23 -9
- package/dist/dev-cli/src/commands/release-prep.command.js.map +1 -1
- package/dist/dev-cli/src/commands/release.command.js +7 -7
- package/dist/dev-cli/src/commands/release.command.js.map +1 -1
- package/dist/dev-cli/src/commands/spec.command.js +4 -4
- package/dist/dev-cli/src/commands/spec.command.js.map +1 -1
- package/dist/dev-cli/src/commands/v035.command.d.ts +8 -0
- package/dist/dev-cli/src/commands/v035.command.d.ts.map +1 -0
- package/dist/dev-cli/src/commands/v035.command.js +247 -0
- package/dist/dev-cli/src/commands/v035.command.js.map +1 -0
- package/dist/dev-cli/src/commands/version.command.d.ts.map +1 -1
- package/dist/dev-cli/src/commands/version.command.js +31 -5
- package/dist/dev-cli/src/commands/version.command.js.map +1 -1
- package/dist/dev-cli/src/commands/workflow.command.js +2 -2
- package/dist/dev-cli/src/commands/workflow.command.js.map +1 -1
- package/dist/dev-cli/src/index.js +6 -0
- package/dist/dev-cli/src/index.js.map +1 -1
- package/dist/dev-cli/src/schemas/migrate.schema.d.ts +40 -0
- package/dist/dev-cli/src/schemas/migrate.schema.d.ts.map +1 -0
- package/dist/dev-cli/src/schemas/migrate.schema.js +31 -0
- package/dist/dev-cli/src/schemas/migrate.schema.js.map +1 -0
- package/dist/dev-cli/src/schemas/release-prep.schema.d.ts.map +1 -1
- package/dist/dev-cli/src/schemas/release-prep.schema.js.map +1 -1
- package/dist/dev-cli/src/schemas/spec.schema.d.ts.map +1 -1
- package/dist/dev-cli/src/schemas/spec.schema.js +4 -2
- package/dist/dev-cli/src/schemas/spec.schema.js.map +1 -1
- package/dist/dev-cli/src/schemas/version.schema.d.ts.map +1 -1
- package/dist/dev-cli/src/schemas/version.schema.js.map +1 -1
- package/dist/dev-cli/src/services/agent-migration.service.d.ts +39 -0
- package/dist/dev-cli/src/services/agent-migration.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/agent-migration.service.js +199 -0
- package/dist/dev-cli/src/services/agent-migration.service.js.map +1 -0
- package/dist/dev-cli/src/services/file.service.d.ts +42 -0
- package/dist/dev-cli/src/services/file.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/file.service.js +109 -0
- package/dist/dev-cli/src/services/file.service.js.map +1 -0
- package/dist/dev-cli/src/services/git.service.d.ts +77 -0
- package/dist/dev-cli/src/services/git.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/git.service.js +226 -0
- package/dist/dev-cli/src/services/git.service.js.map +1 -0
- package/dist/dev-cli/src/services/npm.service.d.ts +40 -0
- package/dist/dev-cli/src/services/npm.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/npm.service.js +75 -0
- package/dist/dev-cli/src/services/npm.service.js.map +1 -0
- package/dist/dev-cli/src/services/release-prep.service.d.ts.map +1 -1
- package/dist/dev-cli/src/services/release-prep.service.js +24 -8
- package/dist/dev-cli/src/services/release-prep.service.js.map +1 -1
- package/dist/dev-cli/src/services/release-verify.service.d.ts.map +1 -1
- package/dist/dev-cli/src/services/release-verify.service.js +17 -14
- package/dist/dev-cli/src/services/release-verify.service.js.map +1 -1
- package/dist/dev-cli/src/services/spec-generate.service.d.ts.map +1 -1
- package/dist/dev-cli/src/services/spec-generate.service.js.map +1 -1
- package/dist/dev-cli/src/services/spec-validate.service.d.ts.map +1 -1
- package/dist/dev-cli/src/services/spec-validate.service.js +3 -1
- package/dist/dev-cli/src/services/spec-validate.service.js.map +1 -1
- package/dist/dev-cli/src/services/version-detection.service.d.ts +51 -0
- package/dist/dev-cli/src/services/version-detection.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/version-detection.service.js +235 -0
- package/dist/dev-cli/src/services/version-detection.service.js.map +1 -0
- package/dist/dev-cli/src/services/version-file.service.d.ts +32 -0
- package/dist/dev-cli/src/services/version-file.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/version-file.service.js +65 -0
- package/dist/dev-cli/src/services/version-file.service.js.map +1 -0
- package/dist/dev-cli/src/services/version-release.service.d.ts +4 -2
- package/dist/dev-cli/src/services/version-release.service.d.ts.map +1 -1
- package/dist/dev-cli/src/services/version-release.service.js +36 -24
- package/dist/dev-cli/src/services/version-release.service.js.map +1 -1
- package/dist/dev-cli/src/services/version-sync.service.d.ts +6 -3
- package/dist/dev-cli/src/services/version-sync.service.d.ts.map +1 -1
- package/dist/dev-cli/src/services/version-sync.service.js +14 -12
- package/dist/dev-cli/src/services/version-sync.service.js.map +1 -1
- package/dist/dev-cli/src/services/version-validate.service.d.ts +2 -0
- package/dist/dev-cli/src/services/version-validate.service.d.ts.map +1 -1
- package/dist/dev-cli/src/services/version-validate.service.js +12 -14
- package/dist/dev-cli/src/services/version-validate.service.js.map +1 -1
- package/dist/di-container.d.ts.map +1 -1
- package/dist/di-container.js +50 -0
- package/dist/di-container.js.map +1 -1
- package/dist/index.d.ts +7 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -18
- package/dist/index.js.map +1 -1
- package/dist/mesh/client.d.ts.map +1 -1
- package/dist/mesh/client.js +5 -2
- package/dist/mesh/client.js.map +1 -1
- package/dist/mesh/discovery.d.ts.map +1 -1
- package/dist/mesh/discovery.js +2 -1
- package/dist/mesh/discovery.js.map +1 -1
- package/dist/mesh/routing.d.ts.map +1 -1
- package/dist/mesh/routing.js +6 -3
- package/dist/mesh/routing.js.map +1 -1
- package/dist/mesh/types.d.ts.map +1 -1
- package/dist/messaging/broker.d.ts.map +1 -1
- package/dist/messaging/broker.js +3 -1
- package/dist/messaging/broker.js.map +1 -1
- package/dist/messaging/channels.d.ts.map +1 -1
- package/dist/messaging/channels.js +8 -4
- package/dist/messaging/channels.js.map +1 -1
- package/dist/messaging/protocols/memory.d.ts.map +1 -1
- package/dist/messaging/protocols/memory.js +2 -5
- package/dist/messaging/protocols/memory.js.map +1 -1
- package/dist/messaging/protocols/redis.d.ts.map +1 -1
- package/dist/messaging/protocols/redis.js.map +1 -1
- package/dist/messaging/types.d.ts.map +1 -1
- package/dist/repositories/manifest.repository.d.ts.map +1 -1
- package/dist/repositories/manifest.repository.js +1 -1
- package/dist/repositories/manifest.repository.js.map +1 -1
- package/dist/repositories/schema.repository.d.ts.map +1 -1
- package/dist/repositories/schema.repository.js +33 -16
- package/dist/repositories/schema.repository.js.map +1 -1
- package/dist/runtime/crewai.runtime.d.ts.map +1 -1
- package/dist/runtime/crewai.runtime.js +8 -4
- package/dist/runtime/crewai.runtime.js.map +1 -1
- package/dist/runtime/langchain.runtime.d.ts.map +1 -1
- package/dist/runtime/langchain.runtime.js.map +1 -1
- package/dist/runtime/langflow.runtime.d.ts +2 -2
- package/dist/runtime/langflow.runtime.d.ts.map +1 -1
- package/dist/runtime/langflow.runtime.js +5 -2
- package/dist/runtime/langflow.runtime.js.map +1 -1
- package/dist/sdks/kagent/crd-generator.d.ts +21 -0
- package/dist/sdks/kagent/crd-generator.d.ts.map +1 -0
- package/dist/sdks/kagent/crd-generator.js +101 -0
- package/dist/sdks/kagent/crd-generator.js.map +1 -0
- package/dist/sdks/kagent/crd-parser.d.ts +13 -0
- package/dist/sdks/kagent/crd-parser.d.ts.map +1 -0
- package/dist/sdks/kagent/crd-parser.js +91 -0
- package/dist/sdks/kagent/crd-parser.js.map +1 -0
- package/dist/sdks/kagent/index.d.ts +10 -0
- package/dist/sdks/kagent/index.d.ts.map +1 -0
- package/dist/sdks/kagent/index.js +9 -0
- package/dist/sdks/kagent/index.js.map +1 -0
- package/dist/sdks/kagent/runtime-adapter.d.ts +45 -0
- package/dist/sdks/kagent/runtime-adapter.d.ts.map +1 -0
- package/dist/sdks/kagent/runtime-adapter.js +129 -0
- package/dist/sdks/kagent/runtime-adapter.js.map +1 -0
- package/dist/sdks/kagent/types.d.ts +91 -0
- package/dist/sdks/kagent/types.d.ts.map +1 -0
- package/dist/sdks/kagent/types.js +5 -0
- package/dist/sdks/kagent/types.js.map +1 -0
- package/dist/sdks/kagent/validator.d.ts +17 -0
- package/dist/sdks/kagent/validator.d.ts.map +1 -0
- package/dist/sdks/kagent/validator.js +73 -0
- package/dist/sdks/kagent/validator.js.map +1 -0
- package/dist/sdks/python-generator/index.d.ts.map +1 -1
- package/dist/sdks/python-generator/index.js.map +1 -1
- package/dist/sdks/shared/manifest-loader.d.ts.map +1 -1
- package/dist/sdks/shared/manifest-loader.js.map +1 -1
- package/dist/sdks/shared/schema-validator.d.ts.map +1 -1
- package/dist/sdks/shared/schema-validator.js +3 -1
- package/dist/sdks/shared/schema-validator.js.map +1 -1
- package/dist/sdks/shared/types.d.ts +1 -1
- package/dist/sdks/shared/validation.d.ts.map +1 -1
- package/dist/sdks/shared/validation.js +5 -1
- package/dist/sdks/shared/validation.js.map +1 -1
- package/dist/sdks/typescript/client.d.ts.map +1 -1
- package/dist/sdks/typescript/client.js.map +1 -1
- package/dist/sdks/typescript/events/cloudevents-emitter.d.ts.map +1 -1
- package/dist/sdks/typescript/events/cloudevents-emitter.js.map +1 -1
- package/dist/sdks/typescript/manifest.d.ts.map +1 -1
- package/dist/sdks/typescript/manifest.js +5 -2
- package/dist/sdks/typescript/manifest.js.map +1 -1
- package/dist/sdks/typescript/tracing/w3c-baggage.d.ts.map +1 -1
- package/dist/sdks/typescript/tracing/w3c-baggage.js +3 -1
- package/dist/sdks/typescript/tracing/w3c-baggage.js.map +1 -1
- package/dist/sdks/typescript/types.d.ts +3 -3
- package/dist/sdks/typescript/types.d.ts.map +1 -1
- package/dist/sdks/typescript/types.js +3 -3
- package/dist/sdks/typescript/types.js.map +1 -1
- package/dist/sdks/typescript/validator.d.ts.map +1 -1
- package/dist/sdks/typescript/validator.js.map +1 -1
- package/dist/services/agent-services/qdrant.service.d.ts.map +1 -1
- package/dist/services/agent-services/qdrant.service.js.map +1 -1
- package/dist/services/agents-md/agents-md.service.d.ts.map +1 -1
- package/dist/services/agents-md/agents-md.service.js +0 -6
- package/dist/services/agents-md/agents-md.service.js.map +1 -1
- package/dist/services/agents-md/repo-agents-md.service.d.ts +87 -0
- package/dist/services/agents-md/repo-agents-md.service.d.ts.map +1 -0
- package/dist/services/agents-md/repo-agents-md.service.js +202 -0
- package/dist/services/agents-md/repo-agents-md.service.js.map +1 -0
- package/dist/services/ai-architect.service.d.ts +48 -0
- package/dist/services/ai-architect.service.d.ts.map +1 -0
- package/dist/services/ai-architect.service.js +273 -0
- package/dist/services/ai-architect.service.js.map +1 -0
- package/dist/services/audit.d.ts +80 -0
- package/dist/services/audit.d.ts.map +1 -0
- package/dist/services/audit.js +245 -0
- package/dist/services/audit.js.map +1 -0
- package/dist/services/codegen/codegen.service.d.ts.map +1 -1
- package/dist/services/codegen/codegen.service.js.map +1 -1
- package/dist/services/codegen/generators/manifest.generator.d.ts.map +1 -1
- package/dist/services/codegen/generators/manifest.generator.js.map +1 -1
- package/dist/services/codegen/generators/openapi-zod.generator.d.ts.map +1 -1
- package/dist/services/codegen/generators/openapi-zod.generator.js +10 -4
- package/dist/services/codegen/generators/openapi-zod.generator.js.map +1 -1
- package/dist/services/codegen/generators/openapi.generator.d.ts.map +1 -1
- package/dist/services/codegen/generators/openapi.generator.js.map +1 -1
- package/dist/services/codegen/generators/types.generator.d.ts.map +1 -1
- package/dist/services/codegen/generators/types.generator.js.map +1 -1
- package/dist/services/codegen/generators/vscode.generator.d.ts.map +1 -1
- package/dist/services/codegen/generators/vscode.generator.js +3 -3
- package/dist/services/codegen/generators/vscode.generator.js.map +1 -1
- package/dist/services/codegen/generators/zod.generator.d.ts.map +1 -1
- package/dist/services/codegen/generators/zod.generator.js.map +1 -1
- package/dist/services/codegen/index.d.ts +1 -1
- package/dist/services/codegen/index.d.ts.map +1 -1
- package/dist/services/codegen/index.js +1 -1
- package/dist/services/codegen/index.js.map +1 -1
- package/dist/services/conformance/conformance.service.d.ts +75 -0
- package/dist/services/conformance/conformance.service.d.ts.map +1 -0
- package/dist/services/conformance/conformance.service.js +194 -0
- package/dist/services/conformance/conformance.service.js.map +1 -0
- package/dist/services/conformance/feature-detector.service.d.ts +66 -0
- package/dist/services/conformance/feature-detector.service.d.ts.map +1 -0
- package/dist/services/conformance/feature-detector.service.js +161 -0
- package/dist/services/conformance/feature-detector.service.js.map +1 -0
- package/dist/services/conformance/index.d.ts +10 -0
- package/dist/services/conformance/index.d.ts.map +1 -0
- package/dist/services/conformance/index.js +9 -0
- package/dist/services/conformance/index.js.map +1 -0
- package/dist/services/conformance/profile-loader.service.d.ts +51 -0
- package/dist/services/conformance/profile-loader.service.d.ts.map +1 -0
- package/dist/services/conformance/profile-loader.service.js +192 -0
- package/dist/services/conformance/profile-loader.service.js.map +1 -0
- package/dist/services/conformance/score-calculator.service.d.ts +50 -0
- package/dist/services/conformance/score-calculator.service.d.ts.map +1 -0
- package/dist/services/conformance/score-calculator.service.js +222 -0
- package/dist/services/conformance/score-calculator.service.js.map +1 -0
- package/dist/services/conformance/types.d.ts +107 -0
- package/dist/services/conformance/types.d.ts.map +1 -0
- package/dist/services/conformance/types.js +6 -0
- package/dist/services/conformance/types.js.map +1 -0
- package/dist/services/deployment/deployment.service.d.ts.map +1 -1
- package/dist/services/deployment/deployment.service.js.map +1 -1
- package/dist/services/extension-team/extension-team-kickoff.service.d.ts.map +1 -1
- package/dist/services/extension-team/extension-team-kickoff.service.js +51 -9
- package/dist/services/extension-team/extension-team-kickoff.service.js.map +1 -1
- package/dist/services/framework-import/langchain-importer.service.d.ts.map +1 -1
- package/dist/services/framework-import/langchain-importer.service.js +13 -7
- package/dist/services/framework-import/langchain-importer.service.js.map +1 -1
- package/dist/services/framework-import/langflow-importer.service.d.ts.map +1 -1
- package/dist/services/framework-import/langflow-importer.service.js +29 -27
- package/dist/services/framework-import/langflow-importer.service.js.map +1 -1
- package/dist/services/generation.service.d.ts.map +1 -1
- package/dist/services/generation.service.js +44 -14
- package/dist/services/generation.service.js.map +1 -1
- package/dist/services/git-rollback.service.d.ts +75 -0
- package/dist/services/git-rollback.service.d.ts.map +1 -0
- package/dist/services/git-rollback.service.js +329 -0
- package/dist/services/git-rollback.service.js.map +1 -0
- package/dist/services/git.service.d.ts +10 -1
- package/dist/services/git.service.d.ts.map +1 -1
- package/dist/services/git.service.js +42 -2
- package/dist/services/git.service.js.map +1 -1
- package/dist/services/github-sync/github-client.d.ts.map +1 -1
- package/dist/services/github-sync/github-client.js.map +1 -1
- package/dist/services/github-sync/gitlab-client.d.ts.map +1 -1
- package/dist/services/github-sync/gitlab-client.js.map +1 -1
- package/dist/services/github-sync/sync.service.d.ts.map +1 -1
- package/dist/services/github-sync/sync.service.js.map +1 -1
- package/dist/services/gitlab-agent.service.d.ts.map +1 -1
- package/dist/services/gitlab-agent.service.js.map +1 -1
- package/dist/services/knowledge-generation.service.d.ts +46 -0
- package/dist/services/knowledge-generation.service.d.ts.map +1 -0
- package/dist/services/knowledge-generation.service.js +96 -0
- package/dist/services/knowledge-generation.service.js.map +1 -0
- package/dist/services/knowledge.service.d.ts +88 -0
- package/dist/services/knowledge.service.d.ts.map +1 -0
- package/dist/services/knowledge.service.js +214 -0
- package/dist/services/knowledge.service.js.map +1 -0
- package/dist/services/llms-txt/llms-txt.service.d.ts.map +1 -1
- package/dist/services/llms-txt/llms-txt.service.js +30 -19
- package/dist/services/llms-txt/llms-txt.service.js.map +1 -1
- package/dist/services/messaging/example.js +1 -1
- package/dist/services/messaging/example.js.map +1 -1
- package/dist/services/messaging/memory-broker.d.ts.map +1 -1
- package/dist/services/messaging/memory-broker.js +2 -1
- package/dist/services/messaging/memory-broker.js.map +1 -1
- package/dist/services/messaging/messaging.service.d.ts.map +1 -1
- package/dist/services/messaging/messaging.service.js.map +1 -1
- package/dist/services/migration/langchain-migration.service.d.ts +117 -0
- package/dist/services/migration/langchain-migration.service.d.ts.map +1 -0
- package/dist/services/migration/langchain-migration.service.js +621 -0
- package/dist/services/migration/langchain-migration.service.js.map +1 -0
- package/dist/services/migration-transform.service.d.ts +82 -0
- package/dist/services/migration-transform.service.d.ts.map +1 -0
- package/dist/services/migration-transform.service.js +322 -0
- package/dist/services/migration-transform.service.js.map +1 -0
- package/dist/services/migration.service.d.ts +60 -0
- package/dist/services/migration.service.d.ts.map +1 -1
- package/dist/services/migration.service.js +214 -12
- package/dist/services/migration.service.js.map +1 -1
- package/dist/services/registry/bundle.service.d.ts +36 -0
- package/dist/services/registry/bundle.service.d.ts.map +1 -0
- package/dist/services/registry/bundle.service.js +69 -0
- package/dist/services/registry/bundle.service.js.map +1 -0
- package/dist/services/registry/index.service.d.ts +76 -0
- package/dist/services/registry/index.service.d.ts.map +1 -0
- package/dist/services/registry/index.service.js +85 -0
- package/dist/services/registry/index.service.js.map +1 -0
- package/dist/services/registry/registry.service.d.ts.map +1 -1
- package/dist/services/registry/registry.service.js.map +1 -1
- package/dist/services/registry.service.d.ts +34 -0
- package/dist/services/registry.service.d.ts.map +1 -0
- package/dist/services/registry.service.js +161 -0
- package/dist/services/registry.service.js.map +1 -0
- package/dist/services/release-automation/base-crud.service.d.ts.map +1 -1
- package/dist/services/release-automation/base-crud.service.js.map +1 -1
- package/dist/services/release-automation/generate-changelog.js +22 -20
- package/dist/services/release-automation/generate-changelog.js.map +1 -1
- package/dist/services/release-automation/increment-dev-tag.js +6 -2
- package/dist/services/release-automation/increment-dev-tag.js.map +1 -1
- package/dist/services/release-automation/merge-request.service.d.ts.map +1 -1
- package/dist/services/release-automation/merge-request.service.js +4 -4
- package/dist/services/release-automation/merge-request.service.js.map +1 -1
- package/dist/services/release-automation/milestone.service.d.ts.map +1 -1
- package/dist/services/release-automation/milestone.service.js.map +1 -1
- package/dist/services/release-automation/release-agent.service.d.ts +39 -0
- package/dist/services/release-automation/release-agent.service.d.ts.map +1 -0
- package/dist/services/release-automation/release-agent.service.js +42 -0
- package/dist/services/release-automation/release-agent.service.js.map +1 -0
- package/dist/services/release-automation/release-buttons.js +12 -4
- package/dist/services/release-automation/release-buttons.js.map +1 -1
- package/dist/services/release-automation/release.service.d.ts.map +1 -1
- package/dist/services/release-automation/release.service.js +3 -1
- package/dist/services/release-automation/release.service.js.map +1 -1
- package/dist/services/release-automation/schemas/release.schema.d.ts.map +1 -1
- package/dist/services/release-automation/schemas/release.schema.js +19 -4
- package/dist/services/release-automation/schemas/release.schema.js.map +1 -1
- package/dist/services/release-automation/tag.service.d.ts.map +1 -1
- package/dist/services/release-automation/tag.service.js.map +1 -1
- package/dist/services/release-automation/webhook.service.d.ts.map +1 -1
- package/dist/services/release-automation/webhook.service.js +2 -1
- package/dist/services/release-automation/webhook.service.js.map +1 -1
- package/dist/services/runtime/anthropic.adapter.d.ts.map +1 -1
- package/dist/services/runtime/anthropic.adapter.js.map +1 -1
- package/dist/services/runtime/azure.adapter.d.ts.map +1 -1
- package/dist/services/runtime/azure.adapter.js +3 -1
- package/dist/services/runtime/azure.adapter.js.map +1 -1
- package/dist/services/runtime/bedrock.adapter.d.ts.map +1 -1
- package/dist/services/runtime/bedrock.adapter.js +3 -1
- package/dist/services/runtime/bedrock.adapter.js.map +1 -1
- package/dist/services/runtime/claude/claude-adapter.d.ts.map +1 -1
- package/dist/services/runtime/claude/claude-adapter.js +7 -3
- package/dist/services/runtime/claude/claude-adapter.js.map +1 -1
- package/dist/services/runtime/gemini.adapter.d.ts.map +1 -1
- package/dist/services/runtime/gemini.adapter.js +2 -1
- package/dist/services/runtime/gemini.adapter.js.map +1 -1
- package/dist/services/runtime/mistral.adapter.d.ts.map +1 -1
- package/dist/services/runtime/mistral.adapter.js +4 -2
- package/dist/services/runtime/mistral.adapter.js.map +1 -1
- package/dist/services/runtime/ollama.adapter.d.ts.map +1 -1
- package/dist/services/runtime/ollama.adapter.js.map +1 -1
- package/dist/services/runtime/openai.adapter.d.ts.map +1 -1
- package/dist/services/runtime/openai.adapter.js.map +1 -1
- package/dist/services/skill-registry.service.d.ts +134 -0
- package/dist/services/skill-registry.service.d.ts.map +1 -0
- package/dist/services/skill-registry.service.js +452 -0
- package/dist/services/skill-registry.service.js.map +1 -0
- package/dist/services/skills/claude-skills.service.d.ts +51 -0
- package/dist/services/skills/claude-skills.service.d.ts.map +1 -0
- package/dist/services/skills/claude-skills.service.js +252 -0
- package/dist/services/skills/claude-skills.service.js.map +1 -0
- package/dist/services/structure/agents-folder.service.d.ts +37 -0
- package/dist/services/structure/agents-folder.service.d.ts.map +1 -0
- package/dist/services/structure/agents-folder.service.js +318 -0
- package/dist/services/structure/agents-folder.service.js.map +1 -0
- package/dist/services/taxonomy-validator.service.d.ts +25 -0
- package/dist/services/taxonomy-validator.service.d.ts.map +1 -0
- package/dist/services/taxonomy-validator.service.js +149 -0
- package/dist/services/taxonomy-validator.service.js.map +1 -0
- package/dist/services/taxonomy.service.d.ts +132 -0
- package/dist/services/taxonomy.service.d.ts.map +1 -0
- package/dist/services/taxonomy.service.js +330 -0
- package/dist/services/taxonomy.service.js.map +1 -0
- package/dist/services/template-processor.service.d.ts +34 -0
- package/dist/services/template-processor.service.d.ts.map +1 -0
- package/dist/services/template-processor.service.js +112 -0
- package/dist/services/template-processor.service.js.map +1 -0
- package/dist/services/template.service.d.ts +54 -0
- package/dist/services/template.service.d.ts.map +1 -0
- package/dist/services/template.service.js +154 -0
- package/dist/services/template.service.js.map +1 -0
- package/dist/services/test-runner/test-runner.service.d.ts.map +1 -1
- package/dist/services/test-runner/test-runner.service.js +11 -3
- package/dist/services/test-runner/test-runner.service.js.map +1 -1
- package/dist/services/validation-zod.service.d.ts.map +1 -1
- package/dist/services/validation-zod.service.js +32 -16
- package/dist/services/validation-zod.service.js.map +1 -1
- package/dist/services/validation.service.d.ts.map +1 -1
- package/dist/services/validation.service.js +16 -8
- package/dist/services/validation.service.js.map +1 -1
- package/dist/services/validators/a2a.validator.d.ts +16 -0
- package/dist/services/validators/a2a.validator.d.ts.map +1 -0
- package/dist/services/validators/a2a.validator.js +61 -0
- package/dist/services/validators/a2a.validator.js.map +1 -0
- package/dist/services/validators/anthropic.validator.d.ts.map +1 -1
- package/dist/services/validators/anthropic.validator.js +5 -2
- package/dist/services/validators/anthropic.validator.js.map +1 -1
- package/dist/services/validators/autogen.validator.d.ts +5 -2
- package/dist/services/validators/autogen.validator.d.ts.map +1 -1
- package/dist/services/validators/autogen.validator.js +41 -6
- package/dist/services/validators/autogen.validator.js.map +1 -1
- package/dist/services/validators/contract.validator.d.ts.map +1 -1
- package/dist/services/validators/contract.validator.js +19 -7
- package/dist/services/validators/contract.validator.js.map +1 -1
- package/dist/services/validators/crewai.validator.d.ts +3 -0
- package/dist/services/validators/crewai.validator.d.ts.map +1 -1
- package/dist/services/validators/crewai.validator.js +33 -2
- package/dist/services/validators/crewai.validator.js.map +1 -1
- package/dist/services/validators/cursor.validator.d.ts.map +1 -1
- package/dist/services/validators/cursor.validator.js.map +1 -1
- package/dist/services/validators/dependencies.validator.d.ts.map +1 -1
- package/dist/services/validators/dependencies.validator.js +2 -1
- package/dist/services/validators/dependencies.validator.js.map +1 -1
- package/dist/services/validators/index.d.ts +3 -0
- package/dist/services/validators/index.d.ts.map +1 -1
- package/dist/services/validators/index.js +3 -0
- package/dist/services/validators/index.js.map +1 -1
- package/dist/services/validators/kagent.validator.d.ts +13 -0
- package/dist/services/validators/kagent.validator.d.ts.map +1 -0
- package/dist/services/validators/kagent.validator.js +202 -0
- package/dist/services/validators/kagent.validator.js.map +1 -0
- package/dist/services/validators/langchain.validator.d.ts +3 -0
- package/dist/services/validators/langchain.validator.d.ts.map +1 -1
- package/dist/services/validators/langchain.validator.js +44 -5
- package/dist/services/validators/langchain.validator.js.map +1 -1
- package/dist/services/validators/langflow.validator.d.ts.map +1 -1
- package/dist/services/validators/langflow.validator.js +2 -1
- package/dist/services/validators/langflow.validator.js.map +1 -1
- package/dist/services/validators/langgraph.validator.d.ts +3 -0
- package/dist/services/validators/langgraph.validator.d.ts.map +1 -1
- package/dist/services/validators/langgraph.validator.js +33 -2
- package/dist/services/validators/langgraph.validator.js.map +1 -1
- package/dist/services/validators/llamaindex.validator.d.ts.map +1 -1
- package/dist/services/validators/llamaindex.validator.js +13 -4
- package/dist/services/validators/llamaindex.validator.js.map +1 -1
- package/dist/services/validators/mcp.validator.d.ts +16 -0
- package/dist/services/validators/mcp.validator.d.ts.map +1 -0
- package/dist/services/validators/mcp.validator.js +68 -0
- package/dist/services/validators/mcp.validator.js.map +1 -0
- package/dist/services/validators/openai.validator.d.ts.map +1 -1
- package/dist/services/validators/openai.validator.js +6 -1
- package/dist/services/validators/openai.validator.js.map +1 -1
- package/dist/services/validators/vercel-ai.validator.d.ts.map +1 -1
- package/dist/services/validators/vercel-ai.validator.js +3 -1
- package/dist/services/validators/vercel-ai.validator.js.map +1 -1
- package/dist/services/version-detection.service.d.ts +50 -0
- package/dist/services/version-detection.service.d.ts.map +1 -0
- package/dist/services/version-detection.service.js +206 -0
- package/dist/services/version-detection.service.js.map +1 -0
- package/dist/spec/ossa-audit-api.yaml +311 -0
- package/dist/spec/reference/reference-agents/compliance-auditor/manifest.ossa.yaml +527 -0
- package/dist/spec/reference/reference-agents/doc-agent/manifest.ossa.yaml +776 -0
- package/dist/spec/reference/reference-agents/mr-reviewer/manifest.ossa.yaml +249 -0
- package/dist/spec/reference/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +548 -0
- package/dist/spec/reference/reference-agents/pipeline-fixer/manifest.ossa.yaml +336 -0
- package/dist/spec/reference/reference-agents/release-orchestrator/manifest.ossa.yaml +233 -0
- package/dist/spec/registry/registry-api.yaml +144 -0
- package/dist/spec/schema/components/adapter.schema.json +33 -0
- package/dist/spec/schema/components/identity.schema.json +78 -0
- package/dist/spec/v0.3/CHANGELOG.md +237 -0
- package/dist/spec/v0.3/MIGRATION-v0.3.4-to-v0.3.5.md +292 -0
- package/dist/spec/v0.3/MIGRATION-v0.3.5-to-v0.3.6.md +552 -0
- package/dist/spec/v0.3/README.md +366 -0
- package/dist/spec/v0.3/adoption-blockers.json +142 -0
- package/dist/spec/v0.3/bat-framework.schema.json +114 -0
- package/dist/spec/v0.3/capability-discovery.schema.json +128 -0
- package/dist/spec/v0.3/checkpoint.schema.json +132 -0
- package/dist/spec/v0.3/completion-signals.schema.json +136 -0
- package/dist/spec/v0.3/conformance/IMPLEMENTATION.md +402 -0
- package/dist/spec/v0.3/conformance/PROFILES.md +210 -0
- package/dist/spec/v0.3/conformance/README.md +263 -0
- package/dist/spec/v0.3/conformance/profiles/baseline.json +27 -0
- package/dist/spec/v0.3/conformance/profiles/enterprise.json +33 -0
- package/dist/spec/v0.3/conformance/profiles/gitlab-kagent.json +36 -0
- package/dist/spec/v0.3/conformance/tests/baseline/invalid/missing-identity.yaml +6 -0
- package/dist/spec/v0.3/conformance/tests/baseline/invalid/missing-kind.yaml +7 -0
- package/dist/spec/v0.3/conformance/tests/baseline/valid/basic-agent.yaml +22 -0
- package/dist/spec/v0.3/conformance/tests/baseline/valid/minimal-agent.yaml +15 -0
- package/dist/spec/v0.3/conformance/tests/enterprise/valid/enterprise-agent.yaml +88 -0
- package/dist/spec/v0.3/conformance/tests/enterprise/valid/production-agent.yaml +112 -0
- package/dist/spec/v0.3/conformance/tests/gitlab-kagent/valid/kagent-agent.yaml +117 -0
- package/dist/spec/v0.3/conformance/tests/gitlab-kagent/valid/kagent-full.yaml +125 -0
- package/dist/spec/v0.3/examples/checkpoint-example.ossa.yaml +81 -0
- package/dist/spec/v0.3/examples/flow-example.ossa.yaml +119 -0
- package/dist/spec/v0.3/examples/forward-thinking-agent.ossa.yaml +294 -0
- package/dist/spec/v0.3/examples/moe-example.ossa.yaml +120 -0
- package/dist/spec/v0.3/extensions/a2a/README.md +193 -0
- package/dist/spec/v0.3/extensions/a2a/a2a.schema.json +77 -0
- package/dist/spec/v0.3/extensions/ag2/ag2.schema.json +277 -0
- package/dist/spec/v0.3/extensions/crewai/crewai.schema.json +256 -0
- package/dist/spec/v0.3/extensions/kagent/README.md +315 -0
- package/dist/spec/v0.3/extensions/kagent/kagent.schema.json +624 -0
- package/dist/spec/v0.3/extensions/langchain/langchain.schema.json +243 -0
- package/dist/spec/v0.3/extensions/langgraph/langgraph.schema.json +211 -0
- package/dist/spec/v0.3/extensions/mcp/README.md +276 -0
- package/dist/spec/v0.3/extensions/mcp/mcp.schema.json +84 -0
- package/dist/spec/v0.3/feedback-loops.schema.json +145 -0
- package/dist/spec/v0.3/flow-kind.schema.json +244 -0
- package/dist/spec/v0.3/infrastructure-substrate.schema.json +190 -0
- package/dist/spec/v0.3/mixture-of-experts.schema.json +159 -0
- package/dist/spec/v0.3/moe-metrics.schema.json +162 -0
- package/dist/spec/v0.3/ossa-0.3.5.schema.json +13534 -0
- package/dist/spec/v0.3/ossa-0.3.6.schema.json +17604 -0
- package/dist/spec/v0.3/ossa-v0.3.schema.json +15824 -0
- package/dist/spec/v0.3/registry/registry-contract.schema.json +359 -0
- package/dist/spec/v0.3.6/CHANGELOG.md +171 -0
- package/dist/spec/v0.3.6/README.md +382 -0
- package/dist/spec/v0.3.6/taxonomy.yaml +506 -0
- package/dist/testing/fixtures.d.ts.map +1 -1
- package/dist/testing/fixtures.js +6 -0
- package/dist/testing/fixtures.js.map +1 -1
- package/dist/testing/reporters/console.d.ts.map +1 -1
- package/dist/testing/reporters/console.js +3 -1
- package/dist/testing/reporters/console.js.map +1 -1
- package/dist/testing/runner.d.ts.map +1 -1
- package/dist/testing/runner.js +13 -23
- package/dist/testing/runner.js.map +1 -1
- package/dist/tools/validation/validate-v0.3.5-features.d.ts +50 -0
- package/dist/tools/validation/validate-v0.3.5-features.d.ts.map +1 -0
- package/dist/tools/validation/validate-v0.3.5-features.js +280 -0
- package/dist/tools/validation/validate-v0.3.5-features.js.map +1 -0
- package/dist/transports/index.d.ts +3 -3
- package/dist/transports/index.d.ts.map +1 -1
- package/dist/transports/index.js +3 -3
- package/dist/transports/index.js.map +1 -1
- package/dist/transports/sse.d.ts.map +1 -1
- package/dist/transports/sse.js +7 -2
- package/dist/transports/sse.js.map +1 -1
- package/dist/transports/webrtc.d.ts.map +1 -1
- package/dist/transports/webrtc.js +6 -3
- package/dist/transports/webrtc.js.map +1 -1
- package/dist/transports/websocket.d.ts.map +1 -1
- package/dist/transports/websocket.js +2 -1
- package/dist/transports/websocket.js.map +1 -1
- package/dist/types/architect.d.ts +48 -0
- package/dist/types/architect.d.ts.map +1 -0
- package/dist/types/architect.js +7 -0
- package/dist/types/architect.js.map +1 -0
- package/dist/types/generated/ossa-0.3.2.types.d.ts +10 -10
- package/dist/types/generated/ossa-0.3.2.types.d.ts.map +1 -1
- package/dist/types/generated/ossa-0.3.2.zod.d.ts.map +1 -1
- package/dist/types/generated/ossa-0.3.2.zod.js.map +1 -1
- package/dist/types/generated/ossa-0.3.3.types.d.ts +10 -10
- package/dist/types/generated/ossa-0.3.3.types.d.ts.map +1 -1
- package/dist/types/generated/ossa-0.3.3.zod.d.ts.map +1 -1
- package/dist/types/generated/ossa-0.3.3.zod.js.map +1 -1
- package/dist/types/generated/ossa-0.3.4.types.d.ts +367 -0
- package/dist/types/generated/ossa-0.3.4.types.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.4.types.js +10 -0
- package/dist/types/generated/ossa-0.3.4.types.js.map +1 -0
- package/dist/types/generated/ossa-0.3.4.zod.d.ts +37 -0
- package/dist/types/generated/ossa-0.3.4.zod.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.4.zod.js +28 -0
- package/dist/types/generated/ossa-0.3.4.zod.js.map +1 -0
- package/dist/types/identity.d.ts +78 -401
- package/dist/types/identity.d.ts.map +1 -1
- package/dist/types/identity.js +5 -7
- package/dist/types/identity.js.map +1 -1
- package/dist/types/identity.zod.d.ts +5 -5
- package/dist/types/identity.zod.d.ts.map +1 -1
- package/dist/types/identity.zod.js +11 -2
- package/dist/types/identity.zod.js.map +1 -1
- package/dist/types/index.d.ts +77 -49
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +9 -5
- package/dist/types/index.js.map +1 -1
- package/dist/types/llms-txt.zod.d.ts.map +1 -1
- package/dist/types/llms-txt.zod.js +4 -2
- package/dist/types/llms-txt.zod.js.map +1 -1
- package/dist/types/personality.d.ts.map +1 -1
- package/dist/types/personality.js +1 -1
- package/dist/types/personality.js.map +1 -1
- package/dist/types/personality.zod.d.ts +40 -40
- package/dist/types/personality.zod.d.ts.map +1 -1
- package/dist/types/personality.zod.js +36 -6
- package/dist/types/personality.zod.js.map +1 -1
- package/dist/types/policy.d.ts.map +1 -1
- package/dist/types/policy.js.map +1 -1
- package/dist/types/prompts.d.ts.map +1 -1
- package/dist/types/prompts.js +4 -4
- package/dist/types/prompts.js.map +1 -1
- package/dist/types/prompts.zod.d.ts +4 -4
- package/dist/types/prompts.zod.d.ts.map +1 -1
- package/dist/types/prompts.zod.js +10 -2
- package/dist/types/prompts.zod.js.map +1 -1
- package/dist/types/task.d.ts.map +1 -1
- package/dist/types/task.js.map +1 -1
- package/dist/types/workflow.d.ts +1 -1
- package/dist/types/workflow.d.ts.map +1 -1
- package/dist/types/workflow.js.map +1 -1
- package/dist/utils/path-validator.d.ts.map +1 -1
- package/dist/utils/path-validator.js.map +1 -1
- package/dist/utils/type-guards.d.ts.map +1 -1
- package/dist/utils/type-guards.js +30 -10
- package/dist/utils/type-guards.js.map +1 -1
- package/dist/utils/version.d.ts.map +1 -1
- package/dist/utils/version.js +73 -45
- package/dist/utils/version.js.map +1 -1
- package/dist/utils/yaml-parser.d.ts.map +1 -1
- package/dist/utils/yaml-parser.js +1 -1
- package/dist/utils/yaml-parser.js.map +1 -1
- package/dist/validation/__tests__/error-codes.test.d.ts +5 -0
- package/dist/validation/__tests__/error-codes.test.d.ts.map +1 -0
- package/dist/validation/__tests__/error-codes.test.js +252 -0
- package/dist/validation/__tests__/error-codes.test.js.map +1 -0
- package/dist/validation/enhanced-validator.d.ts +38 -0
- package/dist/validation/enhanced-validator.d.ts.map +1 -0
- package/dist/validation/enhanced-validator.js +242 -0
- package/dist/validation/enhanced-validator.js.map +1 -0
- package/dist/validation/error-codes.d.ts +170 -0
- package/dist/validation/error-codes.d.ts.map +1 -0
- package/dist/validation/error-codes.js +1159 -0
- package/dist/validation/error-codes.js.map +1 -0
- package/dist/validation/error-formatter.d.ts +81 -0
- package/dist/validation/error-formatter.d.ts.map +1 -0
- package/dist/validation/error-formatter.js +375 -0
- package/dist/validation/error-formatter.js.map +1 -0
- package/dist/validation/index.d.ts +16 -0
- package/dist/validation/index.d.ts.map +1 -0
- package/dist/validation/index.js +20 -0
- package/dist/validation/index.js.map +1 -0
- package/dist/validation/linter.d.ts +36 -0
- package/dist/validation/linter.d.ts.map +1 -0
- package/dist/validation/linter.js +453 -0
- package/dist/validation/linter.js.map +1 -0
- package/dist/validation/validator.d.ts +38 -0
- package/dist/validation/validator.d.ts.map +1 -0
- package/dist/validation/validator.js +262 -0
- package/dist/validation/validator.js.map +1 -0
- package/examples/a2a/agent-handoff.ossa.yaml +202 -0
- package/examples/a2a/service-discovery.ossa.yaml +194 -0
- package/examples/adapters/anthropic-quickstart.ts +66 -0
- package/examples/adapters/crewai-quickstart.py +86 -0
- package/examples/adapters/drupal-eca-mapping.yaml +1 -1
- package/examples/adapters/drupal-eca-task.yaml +1 -1
- package/examples/adapters/drupal-flowdrop-mapping.yaml +1 -1
- package/examples/adapters/drupal-maestro-mapping.yaml +1 -1
- package/examples/adapters/langchain-quickstart.ts +40 -0
- package/examples/adapters/mistral-agent.yaml +1 -1
- package/examples/adapters/symfony-messenger-task.yaml +1 -1
- package/examples/adapters/symfony-messenger-workflow.yaml +1 -1
- package/examples/adk-integration/code-review-workflow.yml +1 -1
- package/examples/adk-integration/customer-support.yml +1 -1
- package/examples/adk-integration/data-pipeline.yml +1 -1
- package/examples/advanced/reasoning-agent.yaml +1 -1
- package/examples/advanced/workflows/hybrid-model-strategy.yaml +1 -1
- package/examples/agent-manifests/critics/critic-agent.yaml +1 -1
- package/examples/agent-manifests/governors/governor-agent.yaml +1 -1
- package/examples/agent-manifests/integrators/integrator-agent.yaml +1 -1
- package/examples/agent-manifests/judges/judge-agent.yaml +1 -1
- package/examples/agent-manifests/monitors/monitor-agent.yaml +1 -1
- package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +1 -1
- package/examples/agent-manifests/sample-compliant-agent.yaml +37 -24
- package/examples/agent-manifests/workers/worker-agent.yaml +1 -1
- package/examples/agent-skills/SKILLS_CATALOG.md +323 -0
- package/examples/agent-skills/react-best-practices/SKILL.md +158 -0
- package/examples/agent-skills/react-best-practices/references/react-performance-guidelines.md +500 -0
- package/examples/agents/architecture-healer-enterprise.yaml +1 -1
- package/examples/agents/dependency-healer-npm.yaml +1 -1
- package/examples/agents/spec-healer-openapi.yaml +1 -1
- package/examples/agents/wiki-healer-production.yaml +1 -1
- package/examples/agents-md/code-agent.ossa.json +1 -1
- package/examples/agents-md/monorepo-agent.ossa.yaml +1 -1
- package/examples/anthropic/claude-assistant.ossa.json +1 -1
- package/examples/autogen/multi-agent.ossa.json +1 -1
- package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +12 -15
- package/examples/build-once-use-everywhere/README.md +184 -0
- package/examples/build-once-use-everywhere/agent.ossa.yaml +38 -0
- package/examples/build-once-use-everywhere/deploy-config.yaml +32 -0
- package/examples/claude-code/code-reviewer.ossa.yaml +5 -5
- package/examples/claude-code/ossa-validator.ossa.yaml +11 -9
- package/examples/common_npm/agent-router.ossa.yaml +3 -3
- package/examples/contracts/data-consumer.ossa.yaml +1 -1
- package/examples/contracts/data-producer-v2.ossa.yaml +5 -3
- package/examples/contracts/data-producer.ossa.yaml +5 -3
- package/examples/crewai/research-team.ossa.json +1 -1
- package/examples/cursor/code-review-agent.ossa.json +1 -1
- package/examples/drupal/ai_agents_ossa-module/.agents/example-agent/agent.ossa.yaml +7 -10
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +4 -4
- package/examples/economics/marketplace-agent.ossa.json +210 -0
- package/examples/extensions/agents-md-advanced.yml +1 -1
- package/examples/extensions/agents-md-basic.yml +1 -1
- package/examples/extensions/agents-md-sync.yml +1 -1
- package/examples/extensions/agents-md-v1.yml +1 -1
- package/examples/extensions/drupal-v1.yml +1 -1
- package/examples/extensions/encryption-multi-provider.yaml +4 -4
- package/examples/extensions/kagent-v1.yml +1 -1
- package/examples/extensions/knowledge-sources.yaml +1 -1
- package/examples/extensions/mcp-full-featured.yaml +1 -1
- package/examples/genetics/breeding-agent.ossa.json +194 -0
- package/examples/getting-started/01-minimal-agent.ossa.yaml +1 -1
- package/examples/getting-started/02-agent-with-tools.ossa.yaml +1 -1
- package/examples/getting-started/03-agent-with-safety.ossa.yaml +1 -1
- package/examples/getting-started/04-agent-with-messaging.ossa.yaml +1 -1
- package/examples/getting-started/05-workflow-composition.ossa.yaml +1 -1
- package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +1 -1
- package/examples/kagent/compliance-validator.ossa.yaml +1 -1
- package/examples/kagent/cost-optimizer.ossa.yaml +1 -1
- package/examples/kagent/documentation-agent.ossa.yaml +1 -1
- package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +3 -3
- package/examples/kagent/k8s-troubleshooter.ossa.yaml +1 -1
- package/examples/kagent/security-scanner.ossa.yaml +1 -1
- package/examples/langchain/chain-agent.ossa.json +1 -1
- package/examples/langflow/workflow-agent.ossa.json +1 -1
- package/examples/langgraph/state-machine-agent.ossa.json +1 -1
- package/examples/lifecycle/mentoring-agent.ossa.json +293 -0
- package/examples/llamaindex/rag-agent.ossa.json +1 -1
- package/examples/mcp/database-mcp.ossa.yaml +134 -0
- package/examples/mcp/filesystem-mcp.ossa.yaml +101 -0
- package/examples/messaging/dependency-healer.ossa.yaml +1 -1
- package/examples/messaging/incident-responder.ossa.yaml +1 -1
- package/examples/messaging/routing-rules.ossa.yaml +1 -1
- package/examples/messaging/security-scanner.ossa.yaml +1 -1
- package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
- package/examples/migrations/crewai-to-ossa/README.md +66 -0
- package/examples/migrations/langchain/01-python-react-agent-after.ossa.yaml +38 -0
- package/examples/migrations/langchain/01-python-react-agent-before.py +62 -0
- package/examples/migrations/langchain/02-typescript-conversational-after.ossa.yaml +40 -0
- package/examples/migrations/langchain/02-typescript-conversational-before.ts +79 -0
- package/examples/migrations/langchain/03-sequential-chain-after.ossa.yaml +95 -0
- package/examples/migrations/langchain/03-sequential-chain-before.py +100 -0
- package/examples/migrations/langchain/04-config-based-after.ossa.yaml +54 -0
- package/examples/migrations/langchain/04-config-based-before.yaml +52 -0
- package/examples/migrations/langchain/INTEGRATION-EXAMPLE.txt +335 -0
- package/examples/migrations/langchain/USAGE.txt +121 -0
- package/examples/migrations/langchain/test-migrations.ts +135 -0
- package/examples/migrations/langchain-to-ossa/README.md +73 -0
- package/examples/migrations/swarm-to-ossa/COMPARISON.md +350 -0
- package/examples/migrations/swarm-to-ossa/INDEX.md +355 -0
- package/examples/migrations/swarm-to-ossa/MIGRATION-FLOW.md +410 -0
- package/examples/migrations/swarm-to-ossa/QUICKSTART.md +453 -0
- package/examples/migrations/swarm-to-ossa/README.md +665 -0
- package/examples/migrations/swarm-to-ossa/after-handoffs.ossa.yaml +482 -0
- package/examples/migrations/swarm-to-ossa/after-triage-agent.ossa.yaml +315 -0
- package/examples/migrations/swarm-to-ossa/before-handoffs.py +373 -0
- package/examples/migrations/swarm-to-ossa/before-triage-agent.py +234 -0
- package/examples/multi-agent/conditional-router.ossa.yaml +1 -1
- package/examples/multi-agent/parallel-execution.ossa.yaml +1 -1
- package/examples/multi-agent/sequential-pipeline.ossa.yaml +1 -1
- package/examples/multi-platform/single-manifest/README.md +72 -0
- package/examples/multi-platform/single-manifest/agent.ossa.yaml +32 -0
- package/examples/observability/activity-stream-full.yaml +1 -1
- package/examples/openai/basic-agent.ossa.yaml +1 -1
- package/examples/openai/multi-tool-agent.ossa.json +1 -1
- package/examples/openai/swarm-agent.ossa.json +1 -1
- package/examples/ossa-templates/01-code-assistant.ossa.yaml +1 -1
- package/examples/ossa-templates/02-security-scanner.ossa.yaml +1 -1
- package/examples/ossa-templates/03-ci-pipeline.ossa.yaml +1 -1
- package/examples/ossa-templates/04-code-reviewer.ossa.yaml +1 -1
- package/examples/ossa-templates/05-doc-generator.ossa.yaml +1 -1
- package/examples/ossa-templates/06-compliance-validator.ossa.yaml +1 -1
- package/examples/ossa-templates/07-workflow-orchestrator.ossa.yaml +1 -1
- package/examples/ossa-templates/08-content-writer.ossa.yaml +1 -1
- package/examples/ossa-templates/09-test-generator.ossa.yaml +1 -1
- package/examples/ossa-templates/10-data-transformer.ossa.yaml +1 -1
- package/examples/ossa-templates/11-react-performance-expert.ossa.yaml +384 -0
- package/examples/ossa-templates/12-typescript-type-safety-expert.ossa.yaml +265 -0
- package/examples/ossa-templates/13-accessibility-champion.ossa.yaml +264 -0
- package/examples/ossa-templates/14-security-hardening-agent.ossa.yaml +267 -0
- package/examples/production/document-analyzer-openai.yml +1 -1
- package/examples/quickstart/support-agent.ossa.yaml +1 -1
- package/examples/real-world/gitlab-cicd-optimizer.ossa.yaml +14 -7
- package/examples/real-world/rag-documentation-assistant.ossa.yaml +3 -10
- package/examples/registry/USAGE.txt +105 -0
- package/examples/registry/agents/code-reviewer/agent.yaml +159 -0
- package/examples/registry/agents/security-scanner/agent.yaml +128 -0
- package/examples/registry/index.json +5 -0
- package/examples/runtime-adapters/bedrock-claude-example.ossa.yaml +1 -1
- package/examples/schema/reusable-components.yaml +1 -1
- package/examples/showcase/ci-pipeline.ossa.yaml +1 -1
- package/examples/showcase/code-assistant.ossa.yaml +1 -1
- package/examples/showcase/code-reviewer.ossa.yaml +1 -1
- package/examples/showcase/compliance-validator.ossa.yaml +1 -1
- package/examples/showcase/content-writer.ossa.yaml +1 -1
- package/examples/showcase/data-transformer.ossa.yaml +1 -1
- package/examples/showcase/doc-generator.ossa.yaml +1 -1
- package/examples/showcase/security-scanner.ossa.yaml +1 -1
- package/examples/showcase/test-generator.ossa.yaml +1 -1
- package/examples/showcase/workflow-orchestrator.ossa.yaml +1 -1
- package/examples/swarm/pso-optimizer.ossa.json +171 -0
- package/examples/tasks/batch-email-sender.yaml +1 -1
- package/examples/tasks/data-transform.yaml +1 -1
- package/examples/tasks/publish-content.yaml +1 -1
- package/examples/templates/ossa-compliance.yaml +1 -1
- package/examples/unified/security-scanner.ossa.yaml +4 -4
- package/examples/v0.3.6/full-featured-v0.3.6.ossa.yaml +304 -0
- package/examples/v0.3.6/gitlab-duo-composite-identity.ossa.yaml +119 -0
- package/examples/v0.3.6/knowledge-graph-integration.ossa.yaml +109 -0
- package/examples/v0.3.6/token-efficiency-economy.ossa.yaml +111 -0
- package/examples/v0.3.6-features/README.md +433 -0
- package/examples/v0.3.6-features/genetics-breeding-advanced.ossa.yaml +496 -0
- package/examples/v0.3.6-features/genetics-breeding-simple.ossa.yaml +304 -0
- package/examples/v0.3.6-features/genetics-fitness-scoring.ossa.yaml +551 -0
- package/examples/validation/error-codes-demo.ts +254 -0
- package/examples/vercel/edge-agent.ossa.json +1 -1
- package/examples/workflows/batch-email-campaign.yaml +1 -1
- package/examples/workflows/content-review-publish.yaml +1 -1
- package/examples/workflows/simple-etl.yaml +1 -1
- package/llms-ctx-full.txt +9 -7
- package/llms-ctx.txt +8 -6
- package/openapi/agents-md-service.yaml +338 -0
- package/openapi/cli-commands.openapi.yaml +0 -28
- package/openapi/ossa-cli-enhancements.openapi.yaml +148 -0
- package/openapi/release-automation.openapi.yaml +144 -0
- package/package.json +94 -15
- package/schemas/capability-contract.v0.json +116 -0
- package/schemas/identity.lock.schema.json +59 -0
- package/schemas/identity.plan.schema.json +132 -0
- package/spec/ossa-audit-api.yaml +311 -0
- package/spec/reference/reference-agents/compliance-auditor/manifest.ossa.yaml +527 -0
- package/spec/reference/reference-agents/doc-agent/manifest.ossa.yaml +776 -0
- package/spec/reference/reference-agents/mr-reviewer/manifest.ossa.yaml +249 -0
- package/spec/reference/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +548 -0
- package/spec/reference/reference-agents/pipeline-fixer/manifest.ossa.yaml +336 -0
- package/spec/reference/reference-agents/release-orchestrator/manifest.ossa.yaml +233 -0
- package/spec/registry/registry-api.yaml +144 -0
- package/spec/schema/components/adapter.schema.json +33 -0
- package/spec/schema/components/identity.schema.json +78 -0
- package/spec/v0.3/CHANGELOG.md +237 -0
- package/spec/v0.3/MIGRATION-v0.3.4-to-v0.3.5.md +292 -0
- package/spec/v0.3/MIGRATION-v0.3.5-to-v0.3.6.md +552 -0
- package/spec/v0.3/README.md +366 -0
- package/spec/v0.3/adoption-blockers.json +142 -0
- package/spec/v0.3/bat-framework.schema.json +114 -0
- package/spec/v0.3/capability-discovery.schema.json +128 -0
- package/spec/v0.3/checkpoint.schema.json +132 -0
- package/spec/v0.3/completion-signals.schema.json +136 -0
- package/spec/v0.3/conformance/IMPLEMENTATION.md +402 -0
- package/spec/v0.3/conformance/PROFILES.md +210 -0
- package/spec/v0.3/conformance/README.md +263 -0
- package/spec/v0.3/conformance/profiles/baseline.json +27 -0
- package/spec/v0.3/conformance/profiles/enterprise.json +33 -0
- package/spec/v0.3/conformance/profiles/gitlab-kagent.json +36 -0
- package/spec/v0.3/conformance/tests/baseline/invalid/missing-identity.yaml +6 -0
- package/spec/v0.3/conformance/tests/baseline/invalid/missing-kind.yaml +7 -0
- package/spec/v0.3/conformance/tests/baseline/valid/basic-agent.yaml +22 -0
- package/spec/v0.3/conformance/tests/baseline/valid/minimal-agent.yaml +15 -0
- package/spec/v0.3/conformance/tests/enterprise/valid/enterprise-agent.yaml +88 -0
- package/spec/v0.3/conformance/tests/enterprise/valid/production-agent.yaml +112 -0
- package/spec/v0.3/conformance/tests/gitlab-kagent/valid/kagent-agent.yaml +117 -0
- package/spec/v0.3/conformance/tests/gitlab-kagent/valid/kagent-full.yaml +125 -0
- package/spec/v0.3/examples/checkpoint-example.ossa.yaml +81 -0
- package/spec/v0.3/examples/flow-example.ossa.yaml +119 -0
- package/spec/v0.3/examples/forward-thinking-agent.ossa.yaml +294 -0
- package/spec/v0.3/examples/moe-example.ossa.yaml +120 -0
- package/spec/v0.3/extensions/a2a/README.md +193 -0
- package/spec/v0.3/extensions/a2a/a2a.schema.json +77 -0
- package/spec/v0.3/extensions/ag2/ag2.schema.json +277 -0
- package/spec/v0.3/extensions/crewai/crewai.schema.json +256 -0
- package/spec/v0.3/extensions/kagent/README.md +315 -0
- package/spec/v0.3/extensions/kagent/kagent.schema.json +624 -0
- package/spec/v0.3/extensions/langchain/langchain.schema.json +243 -0
- package/spec/v0.3/extensions/langgraph/langgraph.schema.json +211 -0
- package/spec/v0.3/extensions/mcp/README.md +276 -0
- package/spec/v0.3/extensions/mcp/mcp.schema.json +84 -0
- package/spec/v0.3/feedback-loops.schema.json +145 -0
- package/spec/v0.3/flow-kind.schema.json +244 -0
- package/spec/v0.3/infrastructure-substrate.schema.json +190 -0
- package/spec/v0.3/mixture-of-experts.schema.json +159 -0
- package/spec/v0.3/moe-metrics.schema.json +162 -0
- package/spec/v0.3/ossa-0.3.5.schema.json +13534 -0
- package/spec/v0.3/ossa-0.3.6.schema.json +17604 -0
- package/spec/v0.3/ossa-v0.3.schema.json +15824 -0
- package/spec/v0.3/registry/registry-contract.schema.json +359 -0
- package/spec/v0.3.6/CHANGELOG.md +171 -0
- package/spec/v0.3.6/README.md +382 -0
- package/spec/v0.3.6/taxonomy.yaml +506 -0
- package/src/dev-cli/README.md +53 -0
- package/src/dev-cli/src/index.ts +47 -0
- package/templates/agent-types/analyzer/cost-analyzer.yaml +38 -0
- package/templates/agent-types/analyzer/performance-profiler.yaml +38 -0
- package/templates/agent-types/analyzer/security-scanner.yaml +36 -0
- package/templates/agent-types/backend/api-validator.yaml +37 -0
- package/templates/agent-types/backend/load-balancer.yaml +39 -0
- package/templates/agent-types/content/content-generator.yaml +40 -0
- package/templates/agent-types/content/seo-optimizer.yaml +39 -0
- package/templates/agent-types/data/data-processor.yaml +38 -0
- package/templates/agent-types/data/report-generator.yaml +40 -0
- package/templates/agent-types/development/code-generator.yaml +39 -0
- package/templates/agent-types/development/dependency-updater.yaml +38 -0
- package/templates/agent-types/frontend/accessibility-checker.yaml +38 -0
- package/templates/agent-types/frontend/ui-tester.yaml +38 -0
- package/templates/agent-types/infrastructure/deployment-automator.yaml +39 -0
- package/templates/agent-types/infrastructure/resource-optimizer.yaml +38 -0
- package/templates/agent-types/monitor/health-checker.yaml +37 -0
- package/templates/agent-types/monitor/log-analyzer.yaml +37 -0
- package/templates/agent-types/orchestrator/multi-agent-coordinator.yaml +38 -0
- package/templates/agent-types/orchestrator/workflow-manager.yaml +39 -0
- package/templates/agent-types/security/compliance-checker.yaml +38 -0
- package/templates/agent-types/security/vulnerability-scanner.yaml +38 -0
- package/templates/agent-types/worker/api-tester.yaml +43 -0
- package/templates/agent-types/worker/code-reviewer.yaml +39 -0
- package/templates/agent-types/worker/database-migrator.yaml +38 -0
- package/templates/platforms/cursor/code-assistant/manifest.ossa.yaml +40 -0
- package/templates/platforms/drupal/content-agent/manifest.ossa.yaml +39 -0
- package/templates/platforms/gitlab/ci-agent/manifest.ossa.yaml +41 -0
- package/templates/platforms/kubernetes/operator-agent/manifest.ossa.yaml +39 -0
- package/templates/platforms/langflow/workflow-agent/manifest.ossa.yaml +38 -0
- package/dist/bot/architecture-validator-bot.d.ts +0 -8
- package/dist/bot/architecture-validator-bot.d.ts.map +0 -1
- package/dist/bot/architecture-validator-bot.js +0 -15
- package/dist/bot/architecture-validator-bot.js.map +0 -1
- package/dist/bot/ci-pipeline-bot.d.ts +0 -7
- package/dist/bot/ci-pipeline-bot.d.ts.map +0 -1
- package/dist/bot/ci-pipeline-bot.js +0 -7
- package/dist/bot/ci-pipeline-bot.js.map +0 -1
- package/dist/bot/compliance-bot.d.ts +0 -56
- package/dist/bot/compliance-bot.d.ts.map +0 -1
- package/dist/bot/compliance-bot.js +0 -203
- package/dist/bot/compliance-bot.js.map +0 -1
- package/dist/bot/dependency-updater-bot.d.ts +0 -9
- package/dist/bot/dependency-updater-bot.d.ts.map +0 -1
- package/dist/bot/dependency-updater-bot.js +0 -9
- package/dist/bot/dependency-updater-bot.js.map +0 -1
- package/dist/bot/security-scanner-bot.d.ts +0 -11
- package/dist/bot/security-scanner-bot.d.ts.map +0 -1
- package/dist/bot/security-scanner-bot.js +0 -21
- package/dist/bot/security-scanner-bot.js.map +0 -1
- package/dist/spec/examples/reference-agents/compliance-auditor/manifest.ossa.yaml +0 -527
- package/dist/spec/examples/reference-agents/doc-agent/manifest.ossa.yaml +0 -776
- package/dist/spec/examples/reference-agents/mr-reviewer/manifest.ossa.yaml +0 -249
- package/dist/spec/examples/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +0 -548
- package/dist/spec/examples/reference-agents/pipeline-fixer/manifest.ossa.yaml +0 -336
- package/dist/spec/examples/reference-agents/release-orchestrator/manifest.ossa.yaml +0 -233
- package/dist/spec/v0.3.1/UNIFIED-SCHEMA.md +0 -120
- package/dist/spec/v0.3.1/adapters/drupal.md +0 -541
- package/dist/spec/v0.3.1/adapters/symfony.md +0 -659
- package/dist/spec/v0.3.1/agent-test.schema.json +0 -75
- package/dist/spec/v0.3.1/examples/agent-with-identity.ossa.yaml +0 -68
- package/dist/spec/v0.3.1/examples/drupal-content-writer.ossa.yaml +0 -110
- package/dist/spec/v0.3.1/examples/drupal-moderation-assistant.ossa.yaml +0 -96
- package/dist/spec/v0.3.1/examples/multi-provider-identity.ossa.yaml +0 -236
- package/dist/spec/v0.3.1/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +0 -144
- package/dist/spec/v0.3.1/extensions/agent-identity.yaml +0 -594
- package/dist/spec/v0.3.1/extensions/drupal.md +0 -417
- package/dist/spec/v0.3.1/ossa-0.3.1.schema.json +0 -3085
- package/dist/spec/v0.3.1/protocols/sse.md +0 -494
- package/dist/spec/v0.3.1/protocols/webrtc.md +0 -600
- package/dist/spec/v0.3.1/protocols/websocket.md +0 -362
- package/dist/spec/v0.3.1/schemas/agent-unified.yaml +0 -165
- package/dist/spec/v0.3.1/schemas/capabilities.yaml +0 -102
- package/dist/spec/v0.3.1/schemas/functions.yaml +0 -75
- package/dist/spec/v0.3.1/schemas/messaging/channel.schema.json +0 -245
- package/dist/spec/v0.3.1/schemas/messaging/delivery-receipt.schema.json +0 -192
- package/dist/spec/v0.3.1/schemas/messaging/message.schema.json +0 -205
- package/dist/spec/v0.3.1/schemas/messaging/subscription.schema.json +0 -214
- package/dist/spec/v0.3.1/schemas/runtime.yaml +0 -102
- package/dist/spec/v0.3.1/schemas/taxonomy.yaml +0 -533
- package/dist/spec/v0.3.1/schemas/unified-llm.yaml +0 -91
- package/dist/spec/v0.3.1/taxonomy.yaml +0 -256
- package/dist/spec/v0.3.2/MIGRATION-v0.3.1-to-v0.3.2.md +0 -293
- package/dist/spec/v0.3.2/UNIFIED-SCHEMA.md +0 -120
- package/dist/spec/v0.3.2/access_tiers.yaml +0 -375
- package/dist/spec/v0.3.2/adapters/drupal.md +0 -541
- package/dist/spec/v0.3.2/adapters/symfony.md +0 -659
- package/dist/spec/v0.3.2/agent-test.schema.json +0 -75
- package/dist/spec/v0.3.2/examples/access-tiers/README.md +0 -106
- package/dist/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +0 -105
- package/dist/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +0 -216
- package/dist/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +0 -183
- package/dist/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +0 -98
- package/dist/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +0 -118
- package/dist/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +0 -63
- package/dist/spec/v0.3.2/examples/drupal-content-writer.ossa.yaml +0 -91
- package/dist/spec/v0.3.2/examples/drupal-moderation-assistant.ossa.yaml +0 -80
- package/dist/spec/v0.3.2/examples/multi-provider-identity.ossa.yaml +0 -205
- package/dist/spec/v0.3.2/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +0 -131
- package/dist/spec/v0.3.2/examples/tasks/data-transform.ossa.yaml +0 -137
- package/dist/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +0 -103
- package/dist/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +0 -173
- package/dist/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +0 -235
- package/dist/spec/v0.3.2/extensions/agent-identity.yaml +0 -594
- package/dist/spec/v0.3.2/extensions/drupal.md +0 -417
- package/dist/spec/v0.3.2/infrastructure/service-ports.yaml +0 -324
- package/dist/spec/v0.3.2/ossa-0.3.2.schema.json +0 -3387
- package/dist/spec/v0.3.2/protocols/delegation.yaml +0 -239
- package/dist/spec/v0.3.2/protocols/sse.md +0 -494
- package/dist/spec/v0.3.2/protocols/webrtc.md +0 -600
- package/dist/spec/v0.3.2/protocols/websocket.md +0 -362
- package/dist/spec/v0.3.2/runtime/RUNTIME.md +0 -457
- package/dist/spec/v0.3.2/runtime/memory-model.yaml +0 -871
- package/dist/spec/v0.3.2/runtime/runtime.yaml +0 -926
- package/dist/spec/v0.3.2/schemas/agent-unified.yaml +0 -165
- package/dist/spec/v0.3.2/schemas/capabilities.yaml +0 -102
- package/dist/spec/v0.3.2/schemas/functions.yaml +0 -75
- package/dist/spec/v0.3.2/schemas/messaging/channel.schema.json +0 -245
- package/dist/spec/v0.3.2/schemas/messaging/delivery-receipt.schema.json +0 -192
- package/dist/spec/v0.3.2/schemas/messaging/message.schema.json +0 -205
- package/dist/spec/v0.3.2/schemas/messaging/subscription.schema.json +0 -214
- package/dist/spec/v0.3.2/schemas/runtime.yaml +0 -102
- package/dist/spec/v0.3.2/schemas/taxonomy.yaml +0 -533
- package/dist/spec/v0.3.2/schemas/unified-llm.yaml +0 -91
- package/dist/spec/v0.3.2/taxonomy.yaml +0 -363
- package/dist/spec/v0.3.3/MIGRATION-v0.3.2-to-v0.3.3.md +0 -117
- package/dist/spec/v0.3.3/UNIFIED-SCHEMA.md +0 -120
- package/dist/spec/v0.3.3/access_tiers.yaml +0 -375
- package/dist/spec/v0.3.3/adapters/drupal.md +0 -541
- package/dist/spec/v0.3.3/adapters/symfony.md +0 -659
- package/dist/spec/v0.3.3/agent-test.schema.json +0 -75
- package/dist/spec/v0.3.3/examples/access-tiers/README.md +0 -106
- package/dist/spec/v0.3.3/examples/access-tiers/code-critic.ossa.yaml +0 -105
- package/dist/spec/v0.3.3/examples/access-tiers/compliance-governor.ossa.yaml +0 -216
- package/dist/spec/v0.3.3/examples/access-tiers/deployment-operator.ossa.yaml +0 -183
- package/dist/spec/v0.3.3/examples/access-tiers/doc-generator.ossa.yaml +0 -98
- package/dist/spec/v0.3.3/examples/access-tiers/security-scanner.ossa.yaml +0 -118
- package/dist/spec/v0.3.3/examples/agent-with-identity.ossa.yaml +0 -63
- package/dist/spec/v0.3.3/examples/drupal-content-writer.ossa.yaml +0 -91
- package/dist/spec/v0.3.3/examples/drupal-moderation-assistant.ossa.yaml +0 -80
- package/dist/spec/v0.3.3/examples/multi-provider-identity.ossa.yaml +0 -205
- package/dist/spec/v0.3.3/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +0 -131
- package/dist/spec/v0.3.3/examples/tasks/data-transform.ossa.yaml +0 -137
- package/dist/spec/v0.3.3/examples/tasks/publish-content.ossa.yaml +0 -103
- package/dist/spec/v0.3.3/examples/workflows/content-publishing.ossa.yaml +0 -173
- package/dist/spec/v0.3.3/examples/workflows/deployment-pipeline.ossa.yaml +0 -235
- package/dist/spec/v0.3.3/extensions/agent-identity.yaml +0 -594
- package/dist/spec/v0.3.3/extensions/agents-md.md +0 -1219
- package/dist/spec/v0.3.3/extensions/autogen.md +0 -1124
- package/dist/spec/v0.3.3/extensions/bedrock-agents.md +0 -1320
- package/dist/spec/v0.3.3/extensions/crewai.md +0 -1575
- package/dist/spec/v0.3.3/extensions/dify.md +0 -1461
- package/dist/spec/v0.3.3/extensions/drupal.md +0 -417
- package/dist/spec/v0.3.3/extensions/langchain.md +0 -1092
- package/dist/spec/v0.3.3/extensions/langflow.md +0 -1055
- package/dist/spec/v0.3.3/extensions/llamaindex.md +0 -1519
- package/dist/spec/v0.3.3/extensions/llms-txt.md +0 -295
- package/dist/spec/v0.3.3/extensions/openai-assistants.md +0 -1632
- package/dist/spec/v0.3.3/extensions/openai-swarm.md +0 -1400
- package/dist/spec/v0.3.3/extensions/opentelemetry.md +0 -360
- package/dist/spec/v0.3.3/extensions/semantic-kernel.md +0 -1360
- package/dist/spec/v0.3.3/extensions/vercel-ai.md +0 -1197
- package/dist/spec/v0.3.3/infrastructure/service-ports.yaml +0 -324
- package/dist/spec/v0.3.3/ossa-0.3.3.schema.json +0 -9773
- package/dist/spec/v0.3.3/protocols/a2a-communication.schema.json +0 -897
- package/dist/spec/v0.3.3/protocols/delegation.yaml +0 -239
- package/dist/spec/v0.3.3/protocols/identity-runtime.schema.json +0 -482
- package/dist/spec/v0.3.3/protocols/sse.md +0 -494
- package/dist/spec/v0.3.3/protocols/webrtc.md +0 -600
- package/dist/spec/v0.3.3/protocols/websocket.md +0 -362
- package/dist/spec/v0.3.3/runtime/RUNTIME.md +0 -457
- package/dist/spec/v0.3.3/runtime/memory-model.yaml +0 -871
- package/dist/spec/v0.3.3/runtime/runtime.yaml +0 -926
- package/dist/spec/v0.3.3/runtime-bindings/anthropic.yaml +0 -209
- package/dist/spec/v0.3.3/schemas/agent-unified.yaml +0 -165
- package/dist/spec/v0.3.3/schemas/capabilities.yaml +0 -102
- package/dist/spec/v0.3.3/schemas/functions.yaml +0 -75
- package/dist/spec/v0.3.3/schemas/messaging/channel.schema.json +0 -245
- package/dist/spec/v0.3.3/schemas/messaging/delivery-receipt.schema.json +0 -192
- package/dist/spec/v0.3.3/schemas/messaging/message.schema.json +0 -205
- package/dist/spec/v0.3.3/schemas/messaging/subscription.schema.json +0 -214
- package/dist/spec/v0.3.3/schemas/runtime.yaml +0 -102
- package/dist/spec/v0.3.3/schemas/taxonomy.yaml +0 -533
- package/dist/spec/v0.3.3/schemas/unified-llm.yaml +0 -91
- package/dist/spec/v0.3.3/taxonomy.yaml +0 -363
- package/spec/examples/reference-agents/compliance-auditor/manifest.ossa.yaml +0 -527
- package/spec/examples/reference-agents/doc-agent/manifest.ossa.yaml +0 -776
- package/spec/examples/reference-agents/mr-reviewer/manifest.ossa.yaml +0 -249
- package/spec/examples/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +0 -548
- package/spec/examples/reference-agents/pipeline-fixer/manifest.ossa.yaml +0 -336
- package/spec/examples/reference-agents/release-orchestrator/manifest.ossa.yaml +0 -233
- package/spec/v0.3.1/UNIFIED-SCHEMA.md +0 -120
- package/spec/v0.3.1/adapters/drupal.md +0 -541
- package/spec/v0.3.1/adapters/symfony.md +0 -659
- package/spec/v0.3.1/agent-test.schema.json +0 -75
- package/spec/v0.3.1/examples/agent-with-identity.ossa.yaml +0 -68
- package/spec/v0.3.1/examples/drupal-content-writer.ossa.yaml +0 -110
- package/spec/v0.3.1/examples/drupal-moderation-assistant.ossa.yaml +0 -96
- package/spec/v0.3.1/examples/multi-provider-identity.ossa.yaml +0 -236
- package/spec/v0.3.1/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +0 -144
- package/spec/v0.3.1/extensions/agent-identity.yaml +0 -594
- package/spec/v0.3.1/extensions/drupal.md +0 -417
- package/spec/v0.3.1/ossa-0.3.1.schema.json +0 -3085
- package/spec/v0.3.1/protocols/sse.md +0 -494
- package/spec/v0.3.1/protocols/webrtc.md +0 -600
- package/spec/v0.3.1/protocols/websocket.md +0 -362
- package/spec/v0.3.1/schemas/agent-unified.yaml +0 -165
- package/spec/v0.3.1/schemas/capabilities.yaml +0 -102
- package/spec/v0.3.1/schemas/functions.yaml +0 -75
- package/spec/v0.3.1/schemas/messaging/channel.schema.json +0 -245
- package/spec/v0.3.1/schemas/messaging/delivery-receipt.schema.json +0 -192
- package/spec/v0.3.1/schemas/messaging/message.schema.json +0 -205
- package/spec/v0.3.1/schemas/messaging/subscription.schema.json +0 -214
- package/spec/v0.3.1/schemas/runtime.yaml +0 -102
- package/spec/v0.3.1/schemas/taxonomy.yaml +0 -533
- package/spec/v0.3.1/schemas/unified-llm.yaml +0 -91
- package/spec/v0.3.1/taxonomy.yaml +0 -256
- package/spec/v0.3.2/MIGRATION-v0.3.1-to-v0.3.2.md +0 -293
- package/spec/v0.3.2/UNIFIED-SCHEMA.md +0 -120
- package/spec/v0.3.2/access_tiers.yaml +0 -375
- package/spec/v0.3.2/adapters/drupal.md +0 -541
- package/spec/v0.3.2/adapters/symfony.md +0 -659
- package/spec/v0.3.2/agent-test.schema.json +0 -75
- package/spec/v0.3.2/examples/access-tiers/README.md +0 -106
- package/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +0 -105
- package/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +0 -216
- package/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +0 -183
- package/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +0 -98
- package/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +0 -118
- package/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +0 -63
- package/spec/v0.3.2/examples/drupal-content-writer.ossa.yaml +0 -91
- package/spec/v0.3.2/examples/drupal-moderation-assistant.ossa.yaml +0 -80
- package/spec/v0.3.2/examples/multi-provider-identity.ossa.yaml +0 -205
- package/spec/v0.3.2/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +0 -131
- package/spec/v0.3.2/examples/tasks/data-transform.ossa.yaml +0 -137
- package/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +0 -103
- package/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +0 -173
- package/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +0 -235
- package/spec/v0.3.2/extensions/agent-identity.yaml +0 -594
- package/spec/v0.3.2/extensions/drupal.md +0 -417
- package/spec/v0.3.2/infrastructure/service-ports.yaml +0 -324
- package/spec/v0.3.2/ossa-0.3.2.schema.json +0 -3387
- package/spec/v0.3.2/protocols/delegation.yaml +0 -239
- package/spec/v0.3.2/protocols/sse.md +0 -494
- package/spec/v0.3.2/protocols/webrtc.md +0 -600
- package/spec/v0.3.2/protocols/websocket.md +0 -362
- package/spec/v0.3.2/runtime/RUNTIME.md +0 -457
- package/spec/v0.3.2/runtime/memory-model.yaml +0 -871
- package/spec/v0.3.2/runtime/runtime.yaml +0 -926
- package/spec/v0.3.2/schemas/agent-unified.yaml +0 -165
- package/spec/v0.3.2/schemas/capabilities.yaml +0 -102
- package/spec/v0.3.2/schemas/functions.yaml +0 -75
- package/spec/v0.3.2/schemas/messaging/channel.schema.json +0 -245
- package/spec/v0.3.2/schemas/messaging/delivery-receipt.schema.json +0 -192
- package/spec/v0.3.2/schemas/messaging/message.schema.json +0 -205
- package/spec/v0.3.2/schemas/messaging/subscription.schema.json +0 -214
- package/spec/v0.3.2/schemas/runtime.yaml +0 -102
- package/spec/v0.3.2/schemas/taxonomy.yaml +0 -533
- package/spec/v0.3.2/schemas/unified-llm.yaml +0 -91
- package/spec/v0.3.2/taxonomy.yaml +0 -363
- package/spec/v0.3.3/MIGRATION-v0.3.2-to-v0.3.3.md +0 -117
- package/spec/v0.3.3/UNIFIED-SCHEMA.md +0 -120
- package/spec/v0.3.3/access_tiers.yaml +0 -375
- package/spec/v0.3.3/adapters/drupal.md +0 -541
- package/spec/v0.3.3/adapters/symfony.md +0 -659
- package/spec/v0.3.3/agent-test.schema.json +0 -75
- package/spec/v0.3.3/examples/access-tiers/README.md +0 -106
- package/spec/v0.3.3/examples/access-tiers/code-critic.ossa.yaml +0 -105
- package/spec/v0.3.3/examples/access-tiers/compliance-governor.ossa.yaml +0 -216
- package/spec/v0.3.3/examples/access-tiers/deployment-operator.ossa.yaml +0 -183
- package/spec/v0.3.3/examples/access-tiers/doc-generator.ossa.yaml +0 -98
- package/spec/v0.3.3/examples/access-tiers/security-scanner.ossa.yaml +0 -118
- package/spec/v0.3.3/examples/agent-with-identity.ossa.yaml +0 -63
- package/spec/v0.3.3/examples/drupal-content-writer.ossa.yaml +0 -91
- package/spec/v0.3.3/examples/drupal-moderation-assistant.ossa.yaml +0 -80
- package/spec/v0.3.3/examples/multi-provider-identity.ossa.yaml +0 -205
- package/spec/v0.3.3/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +0 -131
- package/spec/v0.3.3/examples/tasks/data-transform.ossa.yaml +0 -137
- package/spec/v0.3.3/examples/tasks/publish-content.ossa.yaml +0 -103
- package/spec/v0.3.3/examples/workflows/content-publishing.ossa.yaml +0 -173
- package/spec/v0.3.3/examples/workflows/deployment-pipeline.ossa.yaml +0 -235
- package/spec/v0.3.3/extensions/agent-identity.yaml +0 -594
- package/spec/v0.3.3/extensions/agents-md.md +0 -1219
- package/spec/v0.3.3/extensions/autogen.md +0 -1124
- package/spec/v0.3.3/extensions/bedrock-agents.md +0 -1320
- package/spec/v0.3.3/extensions/crewai.md +0 -1575
- package/spec/v0.3.3/extensions/dify.md +0 -1461
- package/spec/v0.3.3/extensions/drupal.md +0 -417
- package/spec/v0.3.3/extensions/langchain.md +0 -1092
- package/spec/v0.3.3/extensions/langflow.md +0 -1055
- package/spec/v0.3.3/extensions/llamaindex.md +0 -1519
- package/spec/v0.3.3/extensions/llms-txt.md +0 -295
- package/spec/v0.3.3/extensions/openai-assistants.md +0 -1632
- package/spec/v0.3.3/extensions/openai-swarm.md +0 -1400
- package/spec/v0.3.3/extensions/opentelemetry.md +0 -360
- package/spec/v0.3.3/extensions/semantic-kernel.md +0 -1360
- package/spec/v0.3.3/extensions/vercel-ai.md +0 -1197
- package/spec/v0.3.3/infrastructure/service-ports.yaml +0 -324
- package/spec/v0.3.3/ossa-0.3.3.schema.json +0 -9773
- package/spec/v0.3.3/protocols/a2a-communication.schema.json +0 -897
- package/spec/v0.3.3/protocols/delegation.yaml +0 -239
- package/spec/v0.3.3/protocols/identity-runtime.schema.json +0 -482
- package/spec/v0.3.3/protocols/sse.md +0 -494
- package/spec/v0.3.3/protocols/webrtc.md +0 -600
- package/spec/v0.3.3/protocols/websocket.md +0 -362
- package/spec/v0.3.3/runtime/RUNTIME.md +0 -457
- package/spec/v0.3.3/runtime/memory-model.yaml +0 -871
- package/spec/v0.3.3/runtime/runtime.yaml +0 -926
- package/spec/v0.3.3/runtime-bindings/anthropic.yaml +0 -209
- package/spec/v0.3.3/schemas/agent-unified.yaml +0 -165
- package/spec/v0.3.3/schemas/capabilities.yaml +0 -102
- package/spec/v0.3.3/schemas/functions.yaml +0 -75
- package/spec/v0.3.3/schemas/messaging/channel.schema.json +0 -245
- package/spec/v0.3.3/schemas/messaging/delivery-receipt.schema.json +0 -192
- package/spec/v0.3.3/schemas/messaging/message.schema.json +0 -205
- package/spec/v0.3.3/schemas/messaging/subscription.schema.json +0 -214
- package/spec/v0.3.3/schemas/runtime.yaml +0 -102
- package/spec/v0.3.3/schemas/taxonomy.yaml +0 -533
- package/spec/v0.3.3/schemas/unified-llm.yaml +0 -91
- package/spec/v0.3.3/taxonomy.yaml +0 -363
- /package/dist/spec/{examples → reference}/reference-agents/mr-reviewer/system-prompt.md +0 -0
- /package/dist/spec/{examples → reference}/reference-agents/ossa-validator-v0.3/system-prompt.md +0 -0
- /package/dist/spec/{examples → reference}/reference-agents/release-orchestrator/README.md +0 -0
- /package/spec/{examples → reference}/reference-agents/mr-reviewer/system-prompt.md +0 -0
- /package/spec/{examples → reference}/reference-agents/ossa-validator-v0.3/system-prompt.md +0 -0
- /package/spec/{examples → reference}/reference-agents/release-orchestrator/README.md +0 -0
|
@@ -1,1461 +0,0 @@
|
|
|
1
|
-
# Dify Extension for OSSA v0.3.3
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
The `extensions.dify` schema provides comprehensive integration between OSSA agents and [Dify](https://dify.ai), an open-source LLMOps platform. This extension enables bidirectional mapping between Dify's application types, tools, datasets, and workflows with OSSA's Agent, Task, and Workflow kinds.
|
|
6
|
-
|
|
7
|
-
## Schema Definition
|
|
8
|
-
|
|
9
|
-
```yaml
|
|
10
|
-
extensions:
|
|
11
|
-
dify:
|
|
12
|
-
type: object
|
|
13
|
-
description: "Dify LLMOps platform integration for OSSA agents"
|
|
14
|
-
properties:
|
|
15
|
-
app_type:
|
|
16
|
-
type: string
|
|
17
|
-
enum: [chat, completion, agent, workflow]
|
|
18
|
-
description: "Dify application type mapping"
|
|
19
|
-
|
|
20
|
-
app_id:
|
|
21
|
-
type: string
|
|
22
|
-
format: uuid
|
|
23
|
-
description: "Dify application UUID for API operations"
|
|
24
|
-
|
|
25
|
-
dataset_ids:
|
|
26
|
-
type: array
|
|
27
|
-
items:
|
|
28
|
-
type: string
|
|
29
|
-
format: uuid
|
|
30
|
-
description: "Dify Knowledge/Dataset UUIDs for RAG"
|
|
31
|
-
|
|
32
|
-
workflow_config:
|
|
33
|
-
type: object
|
|
34
|
-
description: "Dify workflow configuration"
|
|
35
|
-
properties:
|
|
36
|
-
graph:
|
|
37
|
-
type: object
|
|
38
|
-
description: "Workflow DAG definition"
|
|
39
|
-
variables:
|
|
40
|
-
type: object
|
|
41
|
-
description: "Workflow input variables"
|
|
42
|
-
output_variables:
|
|
43
|
-
type: array
|
|
44
|
-
description: "Workflow output variable names"
|
|
45
|
-
|
|
46
|
-
api_config:
|
|
47
|
-
type: object
|
|
48
|
-
description: "Dify API integration settings"
|
|
49
|
-
properties:
|
|
50
|
-
base_url:
|
|
51
|
-
type: string
|
|
52
|
-
format: uri
|
|
53
|
-
default: "https://api.dify.ai/v1"
|
|
54
|
-
api_key_ref:
|
|
55
|
-
type: string
|
|
56
|
-
description: "Reference to API key (env var or secret)"
|
|
57
|
-
rate_limits:
|
|
58
|
-
type: object
|
|
59
|
-
properties:
|
|
60
|
-
requests_per_minute:
|
|
61
|
-
type: integer
|
|
62
|
-
default: 60
|
|
63
|
-
tokens_per_minute:
|
|
64
|
-
type: integer
|
|
65
|
-
default: 100000
|
|
66
|
-
|
|
67
|
-
conversation_config:
|
|
68
|
-
type: object
|
|
69
|
-
description: "Dify conversation/messaging settings"
|
|
70
|
-
|
|
71
|
-
annotation_config:
|
|
72
|
-
type: object
|
|
73
|
-
description: "Dify annotation and observability settings"
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
---
|
|
77
|
-
|
|
78
|
-
## Bidirectional Mapping Tables
|
|
79
|
-
|
|
80
|
-
### 1. Dify Apps to OSSA Kinds
|
|
81
|
-
|
|
82
|
-
| Dify App Type | OSSA Kind | Notes |
|
|
83
|
-
|---------------|-----------|-------|
|
|
84
|
-
| `chat` | `Agent` | Conversational agent with memory |
|
|
85
|
-
| `completion` | `Task` | Single-shot text generation |
|
|
86
|
-
| `agent` | `Agent` | Autonomous agent with tool use |
|
|
87
|
-
| `workflow` | `Workflow` | Visual workflow composition |
|
|
88
|
-
|
|
89
|
-
### 2. Dify Tools to OSSA Capabilities
|
|
90
|
-
|
|
91
|
-
| Dify Tool Category | OSSA Capability Pattern | Example |
|
|
92
|
-
|--------------------|-------------------------|---------|
|
|
93
|
-
| Built-in Tools | `spec.capabilities[]` | `web_search`, `code_interpreter` |
|
|
94
|
-
| Custom Tools | `spec.tools[]` with OpenAPI | Custom API integrations |
|
|
95
|
-
| API Tools | `spec.functions[]` | RESTful API calls |
|
|
96
|
-
| Workflow Tools | `runtime.bindings{}` | Bound at runtime |
|
|
97
|
-
|
|
98
|
-
### 3. Dify Knowledge/Datasets to OSSA Resources
|
|
99
|
-
|
|
100
|
-
| Dify Resource | OSSA Equivalent | Mapping |
|
|
101
|
-
|---------------|-----------------|---------|
|
|
102
|
-
| Dataset | `extensions.mcp.resources[]` | Knowledge base as MCP resource |
|
|
103
|
-
| Document | `spec.state.context[]` | Injected context |
|
|
104
|
-
| Segment | N/A (internal chunking) | Handled by Dify |
|
|
105
|
-
| Embedding | `extensions.dify.embedding_model` | Model configuration |
|
|
106
|
-
|
|
107
|
-
### 4. Dify Variables to OSSA Input Schema
|
|
108
|
-
|
|
109
|
-
| Dify Variable Type | JSON Schema Type | OSSA Location |
|
|
110
|
-
|--------------------|------------------|---------------|
|
|
111
|
-
| `text` | `string` | `spec.input.properties` |
|
|
112
|
-
| `paragraph` | `string` (multiline) | `spec.input.properties` |
|
|
113
|
-
| `select` | `string` with `enum` | `spec.input.properties` |
|
|
114
|
-
| `number` | `number` | `spec.input.properties` |
|
|
115
|
-
| `file` | `object` (file ref) | `spec.input.properties` |
|
|
116
|
-
| `file-list` | `array` of file refs | `spec.input.properties` |
|
|
117
|
-
|
|
118
|
-
### 5. Dify Workflow Nodes to OSSA Workflow Steps
|
|
119
|
-
|
|
120
|
-
| Dify Node Type | OSSA Step Kind | Description |
|
|
121
|
-
|----------------|----------------|-------------|
|
|
122
|
-
| Start | `spec.triggers[]` | Workflow entry point |
|
|
123
|
-
| LLM | `Agent` (inline/ref) | LLM completion node |
|
|
124
|
-
| Knowledge Retrieval | `Task` | RAG retrieval step |
|
|
125
|
-
| Code | `Task` | Code execution node |
|
|
126
|
-
| Template | `Task` | Jinja2 template processing |
|
|
127
|
-
| HTTP Request | `Task` | External API call |
|
|
128
|
-
| Tool | `Agent`/`Task` | Tool invocation |
|
|
129
|
-
| IF/ELSE | `Conditional` | Branching logic |
|
|
130
|
-
| Iterator | `Loop` | Iteration over arrays |
|
|
131
|
-
| Parameter Extractor | `Task` | JSON extraction |
|
|
132
|
-
| Variable Aggregator | `Task` | Variable collection |
|
|
133
|
-
| Answer | Output mapping | Response generation |
|
|
134
|
-
| End | `spec.output` | Workflow exit |
|
|
135
|
-
|
|
136
|
-
### 6. Dify API Endpoints to OSSA OpenAPI
|
|
137
|
-
|
|
138
|
-
| Dify Endpoint | HTTP Method | OSSA Mapping |
|
|
139
|
-
|---------------|-------------|--------------|
|
|
140
|
-
| `/chat-messages` | POST | Agent execution with conversation |
|
|
141
|
-
| `/completion-messages` | POST | Task execution |
|
|
142
|
-
| `/workflows/run` | POST | Workflow execution |
|
|
143
|
-
| `/workflows/{id}/run` | POST | Specific workflow by ID |
|
|
144
|
-
| `/conversations` | GET | Conversation history retrieval |
|
|
145
|
-
| `/messages/{id}/feedbacks` | POST | Annotation submission |
|
|
146
|
-
| `/datasets` | GET/POST | Knowledge base CRUD |
|
|
147
|
-
| `/datasets/{id}/documents` | GET/POST/PUT | Document CRUD |
|
|
148
|
-
|
|
149
|
-
### 7. Dify Conversations to OSSA Messaging
|
|
150
|
-
|
|
151
|
-
| Dify Concept | OSSA Equivalent | Location |
|
|
152
|
-
|--------------|-----------------|----------|
|
|
153
|
-
| Conversation | `spec.messaging.channels[]` | Agent messaging extension |
|
|
154
|
-
| Message | A2A message format | `spec.messaging.message_schema` |
|
|
155
|
-
| Memory | `spec.state.memory` | Conversation state |
|
|
156
|
-
| Variables | `spec.state.variables` | Session variables |
|
|
157
|
-
|
|
158
|
-
### 8. Dify Annotations to OSSA Observability
|
|
159
|
-
|
|
160
|
-
| Dify Feature | OSSA Equivalent | Location |
|
|
161
|
-
|--------------|-----------------|----------|
|
|
162
|
-
| Message Feedback | `spec.observability.feedback` | Thumbs up/down |
|
|
163
|
-
| Suggested Questions | `spec.observability.suggestions` | Follow-up prompts |
|
|
164
|
-
| Thought Process | `spec.observability.traces` | CoT logging |
|
|
165
|
-
| Token Usage | `spec.observability.metrics` | Usage metrics |
|
|
166
|
-
| Logs | `spec.observability.logging` | Execution logs |
|
|
167
|
-
|
|
168
|
-
---
|
|
169
|
-
|
|
170
|
-
## Detailed Schema Specification
|
|
171
|
-
|
|
172
|
-
### app_type
|
|
173
|
-
|
|
174
|
-
Maps Dify application types to OSSA kinds:
|
|
175
|
-
|
|
176
|
-
```yaml
|
|
177
|
-
extensions:
|
|
178
|
-
dify:
|
|
179
|
-
app_type: agent # chat | completion | agent | workflow
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
**Behavior by type:**
|
|
183
|
-
|
|
184
|
-
- **chat**: Creates conversational Agent with memory persistence
|
|
185
|
-
- **completion**: Creates stateless Task for single-shot generation
|
|
186
|
-
- **agent**: Creates autonomous Agent with tool-use capabilities
|
|
187
|
-
- **workflow**: Creates Workflow with visual DAG composition
|
|
188
|
-
|
|
189
|
-
### dataset_ids
|
|
190
|
-
|
|
191
|
-
References Dify Knowledge bases for RAG:
|
|
192
|
-
|
|
193
|
-
```yaml
|
|
194
|
-
extensions:
|
|
195
|
-
dify:
|
|
196
|
-
dataset_ids:
|
|
197
|
-
- "550e8400-e29b-41d4-a716-446655440000" # Product docs
|
|
198
|
-
- "6ba7b810-9dad-11d1-80b4-00c04fd430c8" # FAQ database
|
|
199
|
-
|
|
200
|
-
retrieval_config:
|
|
201
|
-
mode: hybrid # semantic | keyword | hybrid
|
|
202
|
-
top_k: 5
|
|
203
|
-
score_threshold: 0.7
|
|
204
|
-
rerank_model: cohere-rerank
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
### workflow_config
|
|
208
|
-
|
|
209
|
-
Defines Dify workflow structure:
|
|
210
|
-
|
|
211
|
-
```yaml
|
|
212
|
-
extensions:
|
|
213
|
-
dify:
|
|
214
|
-
workflow_config:
|
|
215
|
-
graph:
|
|
216
|
-
nodes:
|
|
217
|
-
- id: start
|
|
218
|
-
type: start
|
|
219
|
-
data:
|
|
220
|
-
variables:
|
|
221
|
-
- name: query
|
|
222
|
-
type: text
|
|
223
|
-
required: true
|
|
224
|
-
- id: llm_1
|
|
225
|
-
type: llm
|
|
226
|
-
data:
|
|
227
|
-
model: gpt-4
|
|
228
|
-
prompt: "Process: {{#start.query#}}"
|
|
229
|
-
- id: end
|
|
230
|
-
type: end
|
|
231
|
-
data:
|
|
232
|
-
outputs:
|
|
233
|
-
- variable: result
|
|
234
|
-
value_selector: ["llm_1", "text"]
|
|
235
|
-
edges:
|
|
236
|
-
- source: start
|
|
237
|
-
target: llm_1
|
|
238
|
-
- source: llm_1
|
|
239
|
-
target: end
|
|
240
|
-
|
|
241
|
-
variables:
|
|
242
|
-
query:
|
|
243
|
-
type: text
|
|
244
|
-
max_length: 2000
|
|
245
|
-
default: ""
|
|
246
|
-
|
|
247
|
-
output_variables:
|
|
248
|
-
- result
|
|
249
|
-
- tokens_used
|
|
250
|
-
```
|
|
251
|
-
|
|
252
|
-
### api_config
|
|
253
|
-
|
|
254
|
-
Dify API integration settings:
|
|
255
|
-
|
|
256
|
-
```yaml
|
|
257
|
-
extensions:
|
|
258
|
-
dify:
|
|
259
|
-
api_config:
|
|
260
|
-
base_url: "https://api.dify.ai/v1"
|
|
261
|
-
api_key_ref: "DIFY_API_KEY" # Environment variable
|
|
262
|
-
|
|
263
|
-
# Or use secret reference
|
|
264
|
-
api_key_secret:
|
|
265
|
-
vault_path: "secrets/dify/api-key"
|
|
266
|
-
key: "value"
|
|
267
|
-
|
|
268
|
-
rate_limits:
|
|
269
|
-
requests_per_minute: 60
|
|
270
|
-
tokens_per_minute: 100000
|
|
271
|
-
concurrent_requests: 10
|
|
272
|
-
|
|
273
|
-
retry:
|
|
274
|
-
max_attempts: 3
|
|
275
|
-
backoff: exponential
|
|
276
|
-
initial_delay_ms: 1000
|
|
277
|
-
|
|
278
|
-
timeout_seconds: 120
|
|
279
|
-
|
|
280
|
-
# OpenAPI spec reference for tool generation
|
|
281
|
-
openapi_spec: "./dify-api.openapi.yaml"
|
|
282
|
-
```
|
|
283
|
-
|
|
284
|
-
### conversation_config
|
|
285
|
-
|
|
286
|
-
Conversation management settings:
|
|
287
|
-
|
|
288
|
-
```yaml
|
|
289
|
-
extensions:
|
|
290
|
-
dify:
|
|
291
|
-
conversation_config:
|
|
292
|
-
# Conversation persistence
|
|
293
|
-
persistence:
|
|
294
|
-
enabled: true
|
|
295
|
-
ttl_hours: 24
|
|
296
|
-
max_messages: 100
|
|
297
|
-
|
|
298
|
-
# Conversation variables
|
|
299
|
-
variables:
|
|
300
|
-
user_preference: string
|
|
301
|
-
session_context: object
|
|
302
|
-
|
|
303
|
-
# Suggested responses
|
|
304
|
-
suggested_questions:
|
|
305
|
-
enabled: true
|
|
306
|
-
max_suggestions: 3
|
|
307
|
-
|
|
308
|
-
# Streaming configuration
|
|
309
|
-
streaming:
|
|
310
|
-
enabled: true
|
|
311
|
-
chunk_size: 100
|
|
312
|
-
|
|
313
|
-
# Memory settings
|
|
314
|
-
memory:
|
|
315
|
-
type: buffer_window
|
|
316
|
-
window_size: 10
|
|
317
|
-
summary_enabled: true
|
|
318
|
-
```
|
|
319
|
-
|
|
320
|
-
### annotation_config
|
|
321
|
-
|
|
322
|
-
Observability and feedback settings:
|
|
323
|
-
|
|
324
|
-
```yaml
|
|
325
|
-
extensions:
|
|
326
|
-
dify:
|
|
327
|
-
annotation_config:
|
|
328
|
-
# Feedback collection
|
|
329
|
-
feedback:
|
|
330
|
-
enabled: true
|
|
331
|
-
types:
|
|
332
|
-
- like
|
|
333
|
-
- dislike
|
|
334
|
-
- regenerate
|
|
335
|
-
|
|
336
|
-
# Thought process logging
|
|
337
|
-
thought_logging:
|
|
338
|
-
enabled: true
|
|
339
|
-
detail_level: comprehensive # minimal | standard | comprehensive
|
|
340
|
-
|
|
341
|
-
# Token usage tracking
|
|
342
|
-
usage_tracking:
|
|
343
|
-
enabled: true
|
|
344
|
-
export_format: prometheus
|
|
345
|
-
labels:
|
|
346
|
-
app_id: "{{app_id}}"
|
|
347
|
-
user_id: "{{user_id}}"
|
|
348
|
-
|
|
349
|
-
# Log forwarding
|
|
350
|
-
log_export:
|
|
351
|
-
enabled: true
|
|
352
|
-
destination: opentelemetry
|
|
353
|
-
endpoint: "http://otel-collector:4317"
|
|
354
|
-
|
|
355
|
-
# Annotation storage for fine-tuning
|
|
356
|
-
annotation_storage:
|
|
357
|
-
enabled: true
|
|
358
|
-
format: jsonl
|
|
359
|
-
path: "./annotations/{{date}}.jsonl"
|
|
360
|
-
```
|
|
361
|
-
|
|
362
|
-
---
|
|
363
|
-
|
|
364
|
-
## Example Manifests
|
|
365
|
-
|
|
366
|
-
### 1. Dify Chat Application as OSSA Agent
|
|
367
|
-
|
|
368
|
-
```yaml
|
|
369
|
-
apiVersion: ossa/v0.3.3
|
|
370
|
-
kind: Agent
|
|
371
|
-
metadata:
|
|
372
|
-
name: dify-customer-support
|
|
373
|
-
version: 1.0.0
|
|
374
|
-
labels:
|
|
375
|
-
platform: dify
|
|
376
|
-
type: chat
|
|
377
|
-
description: "Customer support agent powered by Dify"
|
|
378
|
-
|
|
379
|
-
spec:
|
|
380
|
-
role: |
|
|
381
|
-
You are a helpful customer support agent. Use the knowledge base
|
|
382
|
-
to answer questions about products and services.
|
|
383
|
-
|
|
384
|
-
llm:
|
|
385
|
-
model: gpt-4-turbo
|
|
386
|
-
provider: openai
|
|
387
|
-
parameters:
|
|
388
|
-
temperature: 0.7
|
|
389
|
-
max_tokens: 2000
|
|
390
|
-
|
|
391
|
-
tools:
|
|
392
|
-
- name: search_knowledge
|
|
393
|
-
type: retrieval
|
|
394
|
-
description: "Search product documentation"
|
|
395
|
-
|
|
396
|
-
state:
|
|
397
|
-
memory:
|
|
398
|
-
type: buffer_window
|
|
399
|
-
window_size: 20
|
|
400
|
-
variables:
|
|
401
|
-
customer_id: string
|
|
402
|
-
conversation_topic: string
|
|
403
|
-
|
|
404
|
-
extensions:
|
|
405
|
-
dify:
|
|
406
|
-
app_type: chat
|
|
407
|
-
app_id: "550e8400-e29b-41d4-a716-446655440000"
|
|
408
|
-
|
|
409
|
-
dataset_ids:
|
|
410
|
-
- "6ba7b810-9dad-11d1-80b4-00c04fd430c8" # Product docs
|
|
411
|
-
|
|
412
|
-
api_config:
|
|
413
|
-
base_url: "https://api.dify.ai/v1"
|
|
414
|
-
api_key_ref: "DIFY_API_KEY"
|
|
415
|
-
|
|
416
|
-
conversation_config:
|
|
417
|
-
persistence:
|
|
418
|
-
enabled: true
|
|
419
|
-
ttl_hours: 24
|
|
420
|
-
streaming:
|
|
421
|
-
enabled: true
|
|
422
|
-
|
|
423
|
-
annotation_config:
|
|
424
|
-
feedback:
|
|
425
|
-
enabled: true
|
|
426
|
-
types: [like, dislike]
|
|
427
|
-
thought_logging:
|
|
428
|
-
enabled: true
|
|
429
|
-
```
|
|
430
|
-
|
|
431
|
-
### 2. Dify Completion as OSSA Task
|
|
432
|
-
|
|
433
|
-
```yaml
|
|
434
|
-
apiVersion: ossa/v0.3.3
|
|
435
|
-
kind: Task
|
|
436
|
-
metadata:
|
|
437
|
-
name: dify-content-generator
|
|
438
|
-
version: 1.0.0
|
|
439
|
-
labels:
|
|
440
|
-
platform: dify
|
|
441
|
-
type: completion
|
|
442
|
-
description: "Content generation task using Dify"
|
|
443
|
-
|
|
444
|
-
spec:
|
|
445
|
-
execution:
|
|
446
|
-
type: idempotent
|
|
447
|
-
runtime: dify
|
|
448
|
-
timeout_seconds: 60
|
|
449
|
-
|
|
450
|
-
input:
|
|
451
|
-
type: object
|
|
452
|
-
required: [topic, style]
|
|
453
|
-
properties:
|
|
454
|
-
topic:
|
|
455
|
-
type: string
|
|
456
|
-
description: "Content topic"
|
|
457
|
-
maxLength: 500
|
|
458
|
-
style:
|
|
459
|
-
type: string
|
|
460
|
-
enum: [formal, casual, technical]
|
|
461
|
-
description: "Writing style"
|
|
462
|
-
word_count:
|
|
463
|
-
type: integer
|
|
464
|
-
minimum: 100
|
|
465
|
-
maximum: 5000
|
|
466
|
-
default: 500
|
|
467
|
-
|
|
468
|
-
output:
|
|
469
|
-
type: object
|
|
470
|
-
properties:
|
|
471
|
-
content:
|
|
472
|
-
type: string
|
|
473
|
-
description: "Generated content"
|
|
474
|
-
tokens_used:
|
|
475
|
-
type: integer
|
|
476
|
-
description: "Total tokens consumed"
|
|
477
|
-
|
|
478
|
-
capabilities:
|
|
479
|
-
- text_generation
|
|
480
|
-
- content_formatting
|
|
481
|
-
|
|
482
|
-
extensions:
|
|
483
|
-
dify:
|
|
484
|
-
app_type: completion
|
|
485
|
-
app_id: "7c9e6679-7425-40de-944b-e07fc1f90ae7"
|
|
486
|
-
|
|
487
|
-
api_config:
|
|
488
|
-
base_url: "https://api.dify.ai/v1"
|
|
489
|
-
api_key_ref: "DIFY_API_KEY"
|
|
490
|
-
timeout_seconds: 60
|
|
491
|
-
|
|
492
|
-
annotation_config:
|
|
493
|
-
usage_tracking:
|
|
494
|
-
enabled: true
|
|
495
|
-
export_format: prometheus
|
|
496
|
-
```
|
|
497
|
-
|
|
498
|
-
### 3. Dify Agent with Tools as OSSA Agent
|
|
499
|
-
|
|
500
|
-
```yaml
|
|
501
|
-
apiVersion: ossa/v0.3.3
|
|
502
|
-
kind: Agent
|
|
503
|
-
metadata:
|
|
504
|
-
name: dify-research-agent
|
|
505
|
-
version: 1.0.0
|
|
506
|
-
labels:
|
|
507
|
-
platform: dify
|
|
508
|
-
type: agent
|
|
509
|
-
description: "Autonomous research agent with tool access"
|
|
510
|
-
|
|
511
|
-
spec:
|
|
512
|
-
role: |
|
|
513
|
-
You are a research assistant capable of searching the web,
|
|
514
|
-
analyzing documents, and synthesizing information.
|
|
515
|
-
|
|
516
|
-
llm:
|
|
517
|
-
model: gpt-4-turbo
|
|
518
|
-
provider: openai
|
|
519
|
-
parameters:
|
|
520
|
-
temperature: 0.3
|
|
521
|
-
max_tokens: 4000
|
|
522
|
-
|
|
523
|
-
tools:
|
|
524
|
-
- name: web_search
|
|
525
|
-
type: builtin
|
|
526
|
-
description: "Search the web for information"
|
|
527
|
-
parameters:
|
|
528
|
-
type: object
|
|
529
|
-
properties:
|
|
530
|
-
query:
|
|
531
|
-
type: string
|
|
532
|
-
description: "Search query"
|
|
533
|
-
required: [query]
|
|
534
|
-
|
|
535
|
-
- name: document_reader
|
|
536
|
-
type: builtin
|
|
537
|
-
description: "Read and parse documents"
|
|
538
|
-
|
|
539
|
-
- name: calculator
|
|
540
|
-
type: builtin
|
|
541
|
-
description: "Perform calculations"
|
|
542
|
-
|
|
543
|
-
functions:
|
|
544
|
-
- name: search_web
|
|
545
|
-
description: "Execute a web search"
|
|
546
|
-
parameters:
|
|
547
|
-
type: object
|
|
548
|
-
properties:
|
|
549
|
-
query:
|
|
550
|
-
type: string
|
|
551
|
-
num_results:
|
|
552
|
-
type: integer
|
|
553
|
-
default: 5
|
|
554
|
-
required: [query]
|
|
555
|
-
|
|
556
|
-
autonomy:
|
|
557
|
-
level: supervised
|
|
558
|
-
max_iterations: 10
|
|
559
|
-
requires_approval_for:
|
|
560
|
-
- external_api_calls
|
|
561
|
-
|
|
562
|
-
constraints:
|
|
563
|
-
allowed_actions:
|
|
564
|
-
- search
|
|
565
|
-
- read
|
|
566
|
-
- analyze
|
|
567
|
-
prohibited_actions:
|
|
568
|
-
- write_files
|
|
569
|
-
- execute_code
|
|
570
|
-
|
|
571
|
-
extensions:
|
|
572
|
-
dify:
|
|
573
|
-
app_type: agent
|
|
574
|
-
app_id: "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"
|
|
575
|
-
|
|
576
|
-
dataset_ids:
|
|
577
|
-
- "b5d5b7e5-5d5b-4d5b-8d5b-5d5b5d5b5d5b" # Research docs
|
|
578
|
-
|
|
579
|
-
api_config:
|
|
580
|
-
base_url: "https://api.dify.ai/v1"
|
|
581
|
-
api_key_ref: "DIFY_API_KEY"
|
|
582
|
-
|
|
583
|
-
tool_mapping:
|
|
584
|
-
web_search: "dify.builtin.web_search"
|
|
585
|
-
document_reader: "dify.builtin.document_reader"
|
|
586
|
-
calculator: "dify.builtin.calculator"
|
|
587
|
-
|
|
588
|
-
annotation_config:
|
|
589
|
-
thought_logging:
|
|
590
|
-
enabled: true
|
|
591
|
-
detail_level: comprehensive
|
|
592
|
-
```
|
|
593
|
-
|
|
594
|
-
### 4. Dify Workflow as OSSA Workflow
|
|
595
|
-
|
|
596
|
-
```yaml
|
|
597
|
-
apiVersion: ossa/v0.3.3
|
|
598
|
-
kind: Workflow
|
|
599
|
-
metadata:
|
|
600
|
-
name: dify-content-pipeline
|
|
601
|
-
version: 1.0.0
|
|
602
|
-
labels:
|
|
603
|
-
platform: dify
|
|
604
|
-
type: workflow
|
|
605
|
-
description: "Content generation and review pipeline"
|
|
606
|
-
|
|
607
|
-
spec:
|
|
608
|
-
triggers:
|
|
609
|
-
- type: webhook
|
|
610
|
-
path: /content/generate
|
|
611
|
-
|
|
612
|
-
input:
|
|
613
|
-
type: object
|
|
614
|
-
required: [topic, target_audience]
|
|
615
|
-
properties:
|
|
616
|
-
topic:
|
|
617
|
-
type: string
|
|
618
|
-
target_audience:
|
|
619
|
-
type: string
|
|
620
|
-
enum: [technical, business, general]
|
|
621
|
-
review_required:
|
|
622
|
-
type: boolean
|
|
623
|
-
default: true
|
|
624
|
-
|
|
625
|
-
output:
|
|
626
|
-
type: object
|
|
627
|
-
properties:
|
|
628
|
-
final_content:
|
|
629
|
-
type: string
|
|
630
|
-
review_feedback:
|
|
631
|
-
type: string
|
|
632
|
-
status:
|
|
633
|
-
type: string
|
|
634
|
-
enum: [approved, rejected, pending]
|
|
635
|
-
|
|
636
|
-
steps:
|
|
637
|
-
- id: generate-draft
|
|
638
|
-
name: "Generate Content Draft"
|
|
639
|
-
kind: Task
|
|
640
|
-
ref: ./tasks/generate-content.yaml
|
|
641
|
-
input:
|
|
642
|
-
topic: "${{ workflow.input.topic }}"
|
|
643
|
-
audience: "${{ workflow.input.target_audience }}"
|
|
644
|
-
output:
|
|
645
|
-
to: draft_content
|
|
646
|
-
|
|
647
|
-
- id: check-review
|
|
648
|
-
name: "Check if Review Required"
|
|
649
|
-
kind: Conditional
|
|
650
|
-
condition: "${{ workflow.input.review_required == true }}"
|
|
651
|
-
then:
|
|
652
|
-
- id: human-review
|
|
653
|
-
name: "Human Review"
|
|
654
|
-
kind: Task
|
|
655
|
-
ref: ./tasks/human-review.yaml
|
|
656
|
-
input:
|
|
657
|
-
content: "${{ steps.generate-draft.output.content }}"
|
|
658
|
-
output:
|
|
659
|
-
to: review_result
|
|
660
|
-
else:
|
|
661
|
-
- id: auto-approve
|
|
662
|
-
name: "Auto Approve"
|
|
663
|
-
kind: Task
|
|
664
|
-
inline:
|
|
665
|
-
spec:
|
|
666
|
-
execution:
|
|
667
|
-
type: deterministic
|
|
668
|
-
input:
|
|
669
|
-
type: object
|
|
670
|
-
properties:
|
|
671
|
-
content:
|
|
672
|
-
type: string
|
|
673
|
-
output:
|
|
674
|
-
type: object
|
|
675
|
-
properties:
|
|
676
|
-
status:
|
|
677
|
-
type: string
|
|
678
|
-
const: approved
|
|
679
|
-
feedback:
|
|
680
|
-
type: string
|
|
681
|
-
const: "Auto-approved (no review required)"
|
|
682
|
-
input:
|
|
683
|
-
content: "${{ steps.generate-draft.output.content }}"
|
|
684
|
-
output:
|
|
685
|
-
to: review_result
|
|
686
|
-
|
|
687
|
-
- id: finalize
|
|
688
|
-
name: "Finalize Content"
|
|
689
|
-
kind: Task
|
|
690
|
-
ref: ./tasks/finalize-content.yaml
|
|
691
|
-
depends_on: [generate-draft]
|
|
692
|
-
input:
|
|
693
|
-
draft: "${{ steps.generate-draft.output.content }}"
|
|
694
|
-
feedback: "${{ steps.review_result.feedback }}"
|
|
695
|
-
output:
|
|
696
|
-
to: final_output
|
|
697
|
-
|
|
698
|
-
extensions:
|
|
699
|
-
dify:
|
|
700
|
-
app_type: workflow
|
|
701
|
-
app_id: "c3d4e5f6-7890-1234-5678-90abcdef1234"
|
|
702
|
-
|
|
703
|
-
workflow_config:
|
|
704
|
-
graph:
|
|
705
|
-
nodes:
|
|
706
|
-
- id: start
|
|
707
|
-
type: start
|
|
708
|
-
data:
|
|
709
|
-
variables:
|
|
710
|
-
- name: topic
|
|
711
|
-
type: text
|
|
712
|
-
required: true
|
|
713
|
-
- name: target_audience
|
|
714
|
-
type: select
|
|
715
|
-
options: [technical, business, general]
|
|
716
|
-
- name: review_required
|
|
717
|
-
type: boolean
|
|
718
|
-
default: true
|
|
719
|
-
|
|
720
|
-
- id: generate
|
|
721
|
-
type: llm
|
|
722
|
-
data:
|
|
723
|
-
model: gpt-4-turbo
|
|
724
|
-
prompt: |
|
|
725
|
-
Generate content about {{#start.topic#}}
|
|
726
|
-
for {{#start.target_audience#}} audience.
|
|
727
|
-
|
|
728
|
-
- id: check
|
|
729
|
-
type: if-else
|
|
730
|
-
data:
|
|
731
|
-
conditions:
|
|
732
|
-
- comparison_operator: "=="
|
|
733
|
-
variable_selector: ["start", "review_required"]
|
|
734
|
-
value: true
|
|
735
|
-
|
|
736
|
-
- id: review
|
|
737
|
-
type: human-review
|
|
738
|
-
data:
|
|
739
|
-
reviewer_role: content_editor
|
|
740
|
-
|
|
741
|
-
- id: auto
|
|
742
|
-
type: template
|
|
743
|
-
data:
|
|
744
|
-
template: |
|
|
745
|
-
{"status": "approved", "feedback": "Auto-approved"}
|
|
746
|
-
|
|
747
|
-
- id: end
|
|
748
|
-
type: end
|
|
749
|
-
data:
|
|
750
|
-
outputs:
|
|
751
|
-
- variable: final_content
|
|
752
|
-
value_selector: ["generate", "text"]
|
|
753
|
-
- variable: review_feedback
|
|
754
|
-
value_selector: ["review", "feedback"]
|
|
755
|
-
|
|
756
|
-
edges:
|
|
757
|
-
- source: start
|
|
758
|
-
target: generate
|
|
759
|
-
- source: generate
|
|
760
|
-
target: check
|
|
761
|
-
- source: check
|
|
762
|
-
target: review
|
|
763
|
-
condition: true
|
|
764
|
-
- source: check
|
|
765
|
-
target: auto
|
|
766
|
-
condition: false
|
|
767
|
-
- source: review
|
|
768
|
-
target: end
|
|
769
|
-
- source: auto
|
|
770
|
-
target: end
|
|
771
|
-
|
|
772
|
-
variables:
|
|
773
|
-
topic:
|
|
774
|
-
type: text
|
|
775
|
-
max_length: 500
|
|
776
|
-
target_audience:
|
|
777
|
-
type: select
|
|
778
|
-
options: [technical, business, general]
|
|
779
|
-
review_required:
|
|
780
|
-
type: boolean
|
|
781
|
-
default: true
|
|
782
|
-
|
|
783
|
-
output_variables:
|
|
784
|
-
- final_content
|
|
785
|
-
- review_feedback
|
|
786
|
-
- status
|
|
787
|
-
|
|
788
|
-
api_config:
|
|
789
|
-
base_url: "https://api.dify.ai/v1"
|
|
790
|
-
api_key_ref: "DIFY_API_KEY"
|
|
791
|
-
|
|
792
|
-
annotation_config:
|
|
793
|
-
thought_logging:
|
|
794
|
-
enabled: true
|
|
795
|
-
usage_tracking:
|
|
796
|
-
enabled: true
|
|
797
|
-
```
|
|
798
|
-
|
|
799
|
-
### 5. Dify RAG Application
|
|
800
|
-
|
|
801
|
-
```yaml
|
|
802
|
-
apiVersion: ossa/v0.3.3
|
|
803
|
-
kind: Agent
|
|
804
|
-
metadata:
|
|
805
|
-
name: dify-rag-assistant
|
|
806
|
-
version: 1.0.0
|
|
807
|
-
labels:
|
|
808
|
-
platform: dify
|
|
809
|
-
type: rag
|
|
810
|
-
description: "RAG-powered Q&A assistant"
|
|
811
|
-
|
|
812
|
-
spec:
|
|
813
|
-
role: |
|
|
814
|
-
You are a knowledgeable assistant that answers questions
|
|
815
|
-
based on the provided documentation. Always cite your sources.
|
|
816
|
-
|
|
817
|
-
llm:
|
|
818
|
-
model: gpt-4-turbo
|
|
819
|
-
provider: openai
|
|
820
|
-
parameters:
|
|
821
|
-
temperature: 0.1
|
|
822
|
-
max_tokens: 2000
|
|
823
|
-
|
|
824
|
-
tools:
|
|
825
|
-
- name: knowledge_search
|
|
826
|
-
type: retrieval
|
|
827
|
-
description: "Search knowledge base"
|
|
828
|
-
parameters:
|
|
829
|
-
type: object
|
|
830
|
-
properties:
|
|
831
|
-
query:
|
|
832
|
-
type: string
|
|
833
|
-
top_k:
|
|
834
|
-
type: integer
|
|
835
|
-
default: 5
|
|
836
|
-
required: [query]
|
|
837
|
-
|
|
838
|
-
extensions:
|
|
839
|
-
dify:
|
|
840
|
-
app_type: chat
|
|
841
|
-
app_id: "d4e5f6a7-8901-2345-6789-0abcdef12345"
|
|
842
|
-
|
|
843
|
-
dataset_ids:
|
|
844
|
-
- "e5f6a7b8-9012-3456-7890-abcdef123456" # Primary docs
|
|
845
|
-
- "f6a7b8c9-0123-4567-8901-bcdef1234567" # Support articles
|
|
846
|
-
|
|
847
|
-
retrieval_config:
|
|
848
|
-
mode: hybrid
|
|
849
|
-
top_k: 5
|
|
850
|
-
score_threshold: 0.6
|
|
851
|
-
rerank_model: cohere-rerank-multilingual-v3.0
|
|
852
|
-
|
|
853
|
-
# Chunking settings (for document ingestion)
|
|
854
|
-
chunking:
|
|
855
|
-
mode: automatic
|
|
856
|
-
max_tokens: 500
|
|
857
|
-
overlap_tokens: 50
|
|
858
|
-
|
|
859
|
-
# Embedding configuration
|
|
860
|
-
embedding:
|
|
861
|
-
model: text-embedding-3-large
|
|
862
|
-
provider: openai
|
|
863
|
-
dimensions: 3072
|
|
864
|
-
|
|
865
|
-
conversation_config:
|
|
866
|
-
memory:
|
|
867
|
-
type: buffer_window
|
|
868
|
-
window_size: 10
|
|
869
|
-
suggested_questions:
|
|
870
|
-
enabled: true
|
|
871
|
-
|
|
872
|
-
annotation_config:
|
|
873
|
-
feedback:
|
|
874
|
-
enabled: true
|
|
875
|
-
types: [like, dislike, report_error]
|
|
876
|
-
citation_tracking:
|
|
877
|
-
enabled: true
|
|
878
|
-
format: inline
|
|
879
|
-
```
|
|
880
|
-
|
|
881
|
-
---
|
|
882
|
-
|
|
883
|
-
## Zod Validation Schema
|
|
884
|
-
|
|
885
|
-
For TypeScript/JavaScript implementations:
|
|
886
|
-
|
|
887
|
-
```typescript
|
|
888
|
-
import { z } from 'zod';
|
|
889
|
-
|
|
890
|
-
// Dify App Types
|
|
891
|
-
const DifyAppType = z.enum(['chat', 'completion', 'agent', 'workflow']);
|
|
892
|
-
|
|
893
|
-
// Variable Types
|
|
894
|
-
const DifyVariableType = z.enum([
|
|
895
|
-
'text',
|
|
896
|
-
'paragraph',
|
|
897
|
-
'select',
|
|
898
|
-
'number',
|
|
899
|
-
'file',
|
|
900
|
-
'file-list'
|
|
901
|
-
]);
|
|
902
|
-
|
|
903
|
-
// Retrieval Modes
|
|
904
|
-
const RetrievalMode = z.enum(['semantic', 'keyword', 'hybrid']);
|
|
905
|
-
|
|
906
|
-
// Workflow Node Types
|
|
907
|
-
const WorkflowNodeType = z.enum([
|
|
908
|
-
'start',
|
|
909
|
-
'end',
|
|
910
|
-
'llm',
|
|
911
|
-
'knowledge-retrieval',
|
|
912
|
-
'code',
|
|
913
|
-
'template',
|
|
914
|
-
'http-request',
|
|
915
|
-
'tool',
|
|
916
|
-
'if-else',
|
|
917
|
-
'iterator',
|
|
918
|
-
'parameter-extractor',
|
|
919
|
-
'variable-aggregator',
|
|
920
|
-
'answer',
|
|
921
|
-
'human-review'
|
|
922
|
-
]);
|
|
923
|
-
|
|
924
|
-
// Workflow Edge
|
|
925
|
-
const WorkflowEdge = z.object({
|
|
926
|
-
source: z.string(),
|
|
927
|
-
target: z.string(),
|
|
928
|
-
condition: z.union([z.boolean(), z.string()]).optional()
|
|
929
|
-
});
|
|
930
|
-
|
|
931
|
-
// Workflow Node
|
|
932
|
-
const WorkflowNode = z.object({
|
|
933
|
-
id: z.string(),
|
|
934
|
-
type: WorkflowNodeType,
|
|
935
|
-
data: z.record(z.unknown()).optional(),
|
|
936
|
-
position: z.object({
|
|
937
|
-
x: z.number(),
|
|
938
|
-
y: z.number()
|
|
939
|
-
}).optional()
|
|
940
|
-
});
|
|
941
|
-
|
|
942
|
-
// Workflow Graph
|
|
943
|
-
const WorkflowGraph = z.object({
|
|
944
|
-
nodes: z.array(WorkflowNode),
|
|
945
|
-
edges: z.array(WorkflowEdge)
|
|
946
|
-
});
|
|
947
|
-
|
|
948
|
-
// Workflow Variable
|
|
949
|
-
const WorkflowVariable = z.object({
|
|
950
|
-
type: DifyVariableType,
|
|
951
|
-
max_length: z.number().optional(),
|
|
952
|
-
default: z.unknown().optional(),
|
|
953
|
-
options: z.array(z.string()).optional(),
|
|
954
|
-
required: z.boolean().optional()
|
|
955
|
-
});
|
|
956
|
-
|
|
957
|
-
// Workflow Config
|
|
958
|
-
const WorkflowConfig = z.object({
|
|
959
|
-
graph: WorkflowGraph.optional(),
|
|
960
|
-
variables: z.record(WorkflowVariable).optional(),
|
|
961
|
-
output_variables: z.array(z.string()).optional()
|
|
962
|
-
});
|
|
963
|
-
|
|
964
|
-
// Rate Limits
|
|
965
|
-
const RateLimits = z.object({
|
|
966
|
-
requests_per_minute: z.number().default(60),
|
|
967
|
-
tokens_per_minute: z.number().default(100000),
|
|
968
|
-
concurrent_requests: z.number().optional()
|
|
969
|
-
});
|
|
970
|
-
|
|
971
|
-
// Retry Config
|
|
972
|
-
const RetryConfig = z.object({
|
|
973
|
-
max_attempts: z.number().default(3),
|
|
974
|
-
backoff: z.enum(['fixed', 'exponential', 'linear']).default('exponential'),
|
|
975
|
-
initial_delay_ms: z.number().default(1000),
|
|
976
|
-
max_delay_ms: z.number().optional()
|
|
977
|
-
});
|
|
978
|
-
|
|
979
|
-
// API Config
|
|
980
|
-
const ApiConfig = z.object({
|
|
981
|
-
base_url: z.string().url().default('https://api.dify.ai/v1'),
|
|
982
|
-
api_key_ref: z.string().optional(),
|
|
983
|
-
api_key_secret: z.object({
|
|
984
|
-
vault_path: z.string(),
|
|
985
|
-
key: z.string().default('value')
|
|
986
|
-
}).optional(),
|
|
987
|
-
rate_limits: RateLimits.optional(),
|
|
988
|
-
retry: RetryConfig.optional(),
|
|
989
|
-
timeout_seconds: z.number().default(120),
|
|
990
|
-
openapi_spec: z.string().optional()
|
|
991
|
-
});
|
|
992
|
-
|
|
993
|
-
// Conversation Persistence
|
|
994
|
-
const ConversationPersistence = z.object({
|
|
995
|
-
enabled: z.boolean().default(true),
|
|
996
|
-
ttl_hours: z.number().default(24),
|
|
997
|
-
max_messages: z.number().default(100)
|
|
998
|
-
});
|
|
999
|
-
|
|
1000
|
-
// Streaming Config
|
|
1001
|
-
const StreamingConfig = z.object({
|
|
1002
|
-
enabled: z.boolean().default(true),
|
|
1003
|
-
chunk_size: z.number().optional()
|
|
1004
|
-
});
|
|
1005
|
-
|
|
1006
|
-
// Memory Config
|
|
1007
|
-
const MemoryConfig = z.object({
|
|
1008
|
-
type: z.enum(['buffer', 'buffer_window', 'summary', 'conversation_kg']),
|
|
1009
|
-
window_size: z.number().optional(),
|
|
1010
|
-
summary_enabled: z.boolean().optional()
|
|
1011
|
-
});
|
|
1012
|
-
|
|
1013
|
-
// Conversation Config
|
|
1014
|
-
const ConversationConfig = z.object({
|
|
1015
|
-
persistence: ConversationPersistence.optional(),
|
|
1016
|
-
variables: z.record(z.string()).optional(),
|
|
1017
|
-
suggested_questions: z.object({
|
|
1018
|
-
enabled: z.boolean().default(true),
|
|
1019
|
-
max_suggestions: z.number().default(3)
|
|
1020
|
-
}).optional(),
|
|
1021
|
-
streaming: StreamingConfig.optional(),
|
|
1022
|
-
memory: MemoryConfig.optional()
|
|
1023
|
-
});
|
|
1024
|
-
|
|
1025
|
-
// Feedback Types
|
|
1026
|
-
const FeedbackType = z.enum(['like', 'dislike', 'regenerate', 'report_error']);
|
|
1027
|
-
|
|
1028
|
-
// Annotation Config
|
|
1029
|
-
const AnnotationConfig = z.object({
|
|
1030
|
-
feedback: z.object({
|
|
1031
|
-
enabled: z.boolean().default(true),
|
|
1032
|
-
types: z.array(FeedbackType).optional()
|
|
1033
|
-
}).optional(),
|
|
1034
|
-
thought_logging: z.object({
|
|
1035
|
-
enabled: z.boolean().default(true),
|
|
1036
|
-
detail_level: z.enum(['minimal', 'standard', 'comprehensive']).default('standard')
|
|
1037
|
-
}).optional(),
|
|
1038
|
-
usage_tracking: z.object({
|
|
1039
|
-
enabled: z.boolean().default(true),
|
|
1040
|
-
export_format: z.enum(['prometheus', 'opentelemetry', 'json']).optional(),
|
|
1041
|
-
labels: z.record(z.string()).optional()
|
|
1042
|
-
}).optional(),
|
|
1043
|
-
log_export: z.object({
|
|
1044
|
-
enabled: z.boolean().default(false),
|
|
1045
|
-
destination: z.enum(['opentelemetry', 'elasticsearch', 'loki']).optional(),
|
|
1046
|
-
endpoint: z.string().optional()
|
|
1047
|
-
}).optional(),
|
|
1048
|
-
annotation_storage: z.object({
|
|
1049
|
-
enabled: z.boolean().default(false),
|
|
1050
|
-
format: z.enum(['jsonl', 'parquet', 'csv']).default('jsonl'),
|
|
1051
|
-
path: z.string().optional()
|
|
1052
|
-
}).optional(),
|
|
1053
|
-
citation_tracking: z.object({
|
|
1054
|
-
enabled: z.boolean().default(false),
|
|
1055
|
-
format: z.enum(['inline', 'footnote', 'endnote']).default('inline')
|
|
1056
|
-
}).optional()
|
|
1057
|
-
});
|
|
1058
|
-
|
|
1059
|
-
// Retrieval Config
|
|
1060
|
-
const RetrievalConfig = z.object({
|
|
1061
|
-
mode: RetrievalMode.default('hybrid'),
|
|
1062
|
-
top_k: z.number().default(5),
|
|
1063
|
-
score_threshold: z.number().min(0).max(1).default(0.7),
|
|
1064
|
-
rerank_model: z.string().optional(),
|
|
1065
|
-
chunking: z.object({
|
|
1066
|
-
mode: z.enum(['automatic', 'custom']).default('automatic'),
|
|
1067
|
-
max_tokens: z.number().default(500),
|
|
1068
|
-
overlap_tokens: z.number().default(50)
|
|
1069
|
-
}).optional(),
|
|
1070
|
-
embedding: z.object({
|
|
1071
|
-
model: z.string(),
|
|
1072
|
-
provider: z.string(),
|
|
1073
|
-
dimensions: z.number().optional()
|
|
1074
|
-
}).optional()
|
|
1075
|
-
});
|
|
1076
|
-
|
|
1077
|
-
// Main Dify Extension Schema
|
|
1078
|
-
export const DifyExtension = z.object({
|
|
1079
|
-
app_type: DifyAppType,
|
|
1080
|
-
app_id: z.string().uuid().optional(),
|
|
1081
|
-
dataset_ids: z.array(z.string().uuid()).optional(),
|
|
1082
|
-
workflow_config: WorkflowConfig.optional(),
|
|
1083
|
-
api_config: ApiConfig.optional(),
|
|
1084
|
-
conversation_config: ConversationConfig.optional(),
|
|
1085
|
-
annotation_config: AnnotationConfig.optional(),
|
|
1086
|
-
retrieval_config: RetrievalConfig.optional(),
|
|
1087
|
-
tool_mapping: z.record(z.string()).optional()
|
|
1088
|
-
});
|
|
1089
|
-
|
|
1090
|
-
export type DifyExtensionType = z.infer<typeof DifyExtension>;
|
|
1091
|
-
|
|
1092
|
-
// Validation function
|
|
1093
|
-
export function validateDifyExtension(data: unknown): DifyExtensionType {
|
|
1094
|
-
return DifyExtension.parse(data);
|
|
1095
|
-
}
|
|
1096
|
-
```
|
|
1097
|
-
|
|
1098
|
-
---
|
|
1099
|
-
|
|
1100
|
-
## CRUD Operations via OpenAPI
|
|
1101
|
-
|
|
1102
|
-
### Create Chat Message (Chat/Agent App)
|
|
1103
|
-
|
|
1104
|
-
```yaml
|
|
1105
|
-
openapi: 3.1.0
|
|
1106
|
-
paths:
|
|
1107
|
-
/chat-messages:
|
|
1108
|
-
post:
|
|
1109
|
-
operationId: createChatMessage
|
|
1110
|
-
summary: Send a message to a chat/agent app
|
|
1111
|
-
requestBody:
|
|
1112
|
-
required: true
|
|
1113
|
-
content:
|
|
1114
|
-
application/json:
|
|
1115
|
-
schema:
|
|
1116
|
-
type: object
|
|
1117
|
-
required:
|
|
1118
|
-
- query
|
|
1119
|
-
properties:
|
|
1120
|
-
query:
|
|
1121
|
-
type: string
|
|
1122
|
-
description: User message content
|
|
1123
|
-
inputs:
|
|
1124
|
-
type: object
|
|
1125
|
-
additionalProperties: true
|
|
1126
|
-
description: Variable inputs
|
|
1127
|
-
response_mode:
|
|
1128
|
-
type: string
|
|
1129
|
-
enum: [streaming, blocking]
|
|
1130
|
-
default: streaming
|
|
1131
|
-
conversation_id:
|
|
1132
|
-
type: string
|
|
1133
|
-
format: uuid
|
|
1134
|
-
description: Existing conversation ID for context
|
|
1135
|
-
user:
|
|
1136
|
-
type: string
|
|
1137
|
-
description: User identifier
|
|
1138
|
-
files:
|
|
1139
|
-
type: array
|
|
1140
|
-
items:
|
|
1141
|
-
type: object
|
|
1142
|
-
properties:
|
|
1143
|
-
type:
|
|
1144
|
-
type: string
|
|
1145
|
-
enum: [image, document]
|
|
1146
|
-
transfer_method:
|
|
1147
|
-
type: string
|
|
1148
|
-
enum: [remote_url, local_file]
|
|
1149
|
-
url:
|
|
1150
|
-
type: string
|
|
1151
|
-
format: uri
|
|
1152
|
-
responses:
|
|
1153
|
-
'200':
|
|
1154
|
-
description: Chat response
|
|
1155
|
-
content:
|
|
1156
|
-
application/json:
|
|
1157
|
-
schema:
|
|
1158
|
-
$ref: '#/components/schemas/ChatMessageResponse'
|
|
1159
|
-
text/event-stream:
|
|
1160
|
-
schema:
|
|
1161
|
-
$ref: '#/components/schemas/StreamingChatResponse'
|
|
1162
|
-
```
|
|
1163
|
-
|
|
1164
|
-
### Execute Workflow
|
|
1165
|
-
|
|
1166
|
-
```yaml
|
|
1167
|
-
paths:
|
|
1168
|
-
/workflows/run:
|
|
1169
|
-
post:
|
|
1170
|
-
operationId: runWorkflow
|
|
1171
|
-
summary: Execute a workflow
|
|
1172
|
-
requestBody:
|
|
1173
|
-
required: true
|
|
1174
|
-
content:
|
|
1175
|
-
application/json:
|
|
1176
|
-
schema:
|
|
1177
|
-
type: object
|
|
1178
|
-
required:
|
|
1179
|
-
- inputs
|
|
1180
|
-
properties:
|
|
1181
|
-
inputs:
|
|
1182
|
-
type: object
|
|
1183
|
-
additionalProperties: true
|
|
1184
|
-
description: Workflow input variables
|
|
1185
|
-
response_mode:
|
|
1186
|
-
type: string
|
|
1187
|
-
enum: [streaming, blocking]
|
|
1188
|
-
default: blocking
|
|
1189
|
-
user:
|
|
1190
|
-
type: string
|
|
1191
|
-
files:
|
|
1192
|
-
type: array
|
|
1193
|
-
items:
|
|
1194
|
-
type: object
|
|
1195
|
-
responses:
|
|
1196
|
-
'200':
|
|
1197
|
-
description: Workflow execution result
|
|
1198
|
-
content:
|
|
1199
|
-
application/json:
|
|
1200
|
-
schema:
|
|
1201
|
-
$ref: '#/components/schemas/WorkflowRunResponse'
|
|
1202
|
-
```
|
|
1203
|
-
|
|
1204
|
-
### Knowledge Base Operations
|
|
1205
|
-
|
|
1206
|
-
```yaml
|
|
1207
|
-
paths:
|
|
1208
|
-
/datasets:
|
|
1209
|
-
get:
|
|
1210
|
-
operationId: listDatasets
|
|
1211
|
-
summary: List available datasets
|
|
1212
|
-
parameters:
|
|
1213
|
-
- name: page
|
|
1214
|
-
in: query
|
|
1215
|
-
schema:
|
|
1216
|
-
type: integer
|
|
1217
|
-
default: 1
|
|
1218
|
-
- name: limit
|
|
1219
|
-
in: query
|
|
1220
|
-
schema:
|
|
1221
|
-
type: integer
|
|
1222
|
-
default: 20
|
|
1223
|
-
responses:
|
|
1224
|
-
'200':
|
|
1225
|
-
description: List of datasets
|
|
1226
|
-
content:
|
|
1227
|
-
application/json:
|
|
1228
|
-
schema:
|
|
1229
|
-
type: object
|
|
1230
|
-
properties:
|
|
1231
|
-
data:
|
|
1232
|
-
type: array
|
|
1233
|
-
items:
|
|
1234
|
-
$ref: '#/components/schemas/Dataset'
|
|
1235
|
-
has_more:
|
|
1236
|
-
type: boolean
|
|
1237
|
-
|
|
1238
|
-
post:
|
|
1239
|
-
operationId: createDataset
|
|
1240
|
-
summary: Create a new dataset
|
|
1241
|
-
requestBody:
|
|
1242
|
-
required: true
|
|
1243
|
-
content:
|
|
1244
|
-
application/json:
|
|
1245
|
-
schema:
|
|
1246
|
-
type: object
|
|
1247
|
-
required:
|
|
1248
|
-
- name
|
|
1249
|
-
properties:
|
|
1250
|
-
name:
|
|
1251
|
-
type: string
|
|
1252
|
-
description:
|
|
1253
|
-
type: string
|
|
1254
|
-
indexing_technique:
|
|
1255
|
-
type: string
|
|
1256
|
-
enum: [high_quality, economy]
|
|
1257
|
-
default: high_quality
|
|
1258
|
-
permission:
|
|
1259
|
-
type: string
|
|
1260
|
-
enum: [only_me, all_team_members]
|
|
1261
|
-
default: only_me
|
|
1262
|
-
responses:
|
|
1263
|
-
'201':
|
|
1264
|
-
description: Dataset created
|
|
1265
|
-
content:
|
|
1266
|
-
application/json:
|
|
1267
|
-
schema:
|
|
1268
|
-
$ref: '#/components/schemas/Dataset'
|
|
1269
|
-
|
|
1270
|
-
/datasets/{dataset_id}/documents:
|
|
1271
|
-
post:
|
|
1272
|
-
operationId: createDocument
|
|
1273
|
-
summary: Add document to dataset
|
|
1274
|
-
parameters:
|
|
1275
|
-
- name: dataset_id
|
|
1276
|
-
in: path
|
|
1277
|
-
required: true
|
|
1278
|
-
schema:
|
|
1279
|
-
type: string
|
|
1280
|
-
format: uuid
|
|
1281
|
-
requestBody:
|
|
1282
|
-
required: true
|
|
1283
|
-
content:
|
|
1284
|
-
multipart/form-data:
|
|
1285
|
-
schema:
|
|
1286
|
-
type: object
|
|
1287
|
-
properties:
|
|
1288
|
-
file:
|
|
1289
|
-
type: string
|
|
1290
|
-
format: binary
|
|
1291
|
-
data:
|
|
1292
|
-
type: object
|
|
1293
|
-
properties:
|
|
1294
|
-
indexing_technique:
|
|
1295
|
-
type: string
|
|
1296
|
-
process_rule:
|
|
1297
|
-
type: object
|
|
1298
|
-
responses:
|
|
1299
|
-
'201':
|
|
1300
|
-
description: Document added
|
|
1301
|
-
```
|
|
1302
|
-
|
|
1303
|
-
### Feedback/Annotation Operations
|
|
1304
|
-
|
|
1305
|
-
```yaml
|
|
1306
|
-
paths:
|
|
1307
|
-
/messages/{message_id}/feedbacks:
|
|
1308
|
-
post:
|
|
1309
|
-
operationId: submitFeedback
|
|
1310
|
-
summary: Submit feedback for a message
|
|
1311
|
-
parameters:
|
|
1312
|
-
- name: message_id
|
|
1313
|
-
in: path
|
|
1314
|
-
required: true
|
|
1315
|
-
schema:
|
|
1316
|
-
type: string
|
|
1317
|
-
format: uuid
|
|
1318
|
-
requestBody:
|
|
1319
|
-
required: true
|
|
1320
|
-
content:
|
|
1321
|
-
application/json:
|
|
1322
|
-
schema:
|
|
1323
|
-
type: object
|
|
1324
|
-
required:
|
|
1325
|
-
- rating
|
|
1326
|
-
- user
|
|
1327
|
-
properties:
|
|
1328
|
-
rating:
|
|
1329
|
-
type: string
|
|
1330
|
-
enum: [like, dislike]
|
|
1331
|
-
user:
|
|
1332
|
-
type: string
|
|
1333
|
-
content:
|
|
1334
|
-
type: string
|
|
1335
|
-
description: Optional feedback text
|
|
1336
|
-
responses:
|
|
1337
|
-
'200':
|
|
1338
|
-
description: Feedback submitted
|
|
1339
|
-
```
|
|
1340
|
-
|
|
1341
|
-
---
|
|
1342
|
-
|
|
1343
|
-
## Migration from Dify to OSSA
|
|
1344
|
-
|
|
1345
|
-
### Exporting Dify App to OSSA Manifest
|
|
1346
|
-
|
|
1347
|
-
```typescript
|
|
1348
|
-
// dify-to-ossa.ts
|
|
1349
|
-
import { DifyExtension } from './schemas/dify';
|
|
1350
|
-
|
|
1351
|
-
interface DifyApp {
|
|
1352
|
-
id: string;
|
|
1353
|
-
name: string;
|
|
1354
|
-
mode: 'chat' | 'completion' | 'agent' | 'workflow';
|
|
1355
|
-
model_config: {
|
|
1356
|
-
model: string;
|
|
1357
|
-
provider: string;
|
|
1358
|
-
configs: Record<string, unknown>;
|
|
1359
|
-
};
|
|
1360
|
-
dataset_ids: string[];
|
|
1361
|
-
workflow?: Record<string, unknown>;
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
export function convertDifyAppToOSSA(difyApp: DifyApp): Record<string, unknown> {
|
|
1365
|
-
const kind = difyApp.mode === 'workflow' ? 'Workflow' :
|
|
1366
|
-
difyApp.mode === 'completion' ? 'Task' : 'Agent';
|
|
1367
|
-
|
|
1368
|
-
const base = {
|
|
1369
|
-
apiVersion: 'ossa/v0.3.3',
|
|
1370
|
-
kind,
|
|
1371
|
-
metadata: {
|
|
1372
|
-
name: difyApp.name.toLowerCase().replace(/\s+/g, '-'),
|
|
1373
|
-
version: '1.0.0',
|
|
1374
|
-
labels: {
|
|
1375
|
-
platform: 'dify',
|
|
1376
|
-
type: difyApp.mode
|
|
1377
|
-
}
|
|
1378
|
-
},
|
|
1379
|
-
extensions: {
|
|
1380
|
-
dify: {
|
|
1381
|
-
app_type: difyApp.mode,
|
|
1382
|
-
app_id: difyApp.id,
|
|
1383
|
-
dataset_ids: difyApp.dataset_ids,
|
|
1384
|
-
api_config: {
|
|
1385
|
-
base_url: 'https://api.dify.ai/v1',
|
|
1386
|
-
api_key_ref: 'DIFY_API_KEY'
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
};
|
|
1391
|
-
|
|
1392
|
-
if (kind === 'Agent') {
|
|
1393
|
-
return {
|
|
1394
|
-
...base,
|
|
1395
|
-
spec: {
|
|
1396
|
-
role: 'Converted from Dify application',
|
|
1397
|
-
llm: {
|
|
1398
|
-
model: difyApp.model_config.model,
|
|
1399
|
-
provider: difyApp.model_config.provider,
|
|
1400
|
-
parameters: difyApp.model_config.configs
|
|
1401
|
-
}
|
|
1402
|
-
}
|
|
1403
|
-
};
|
|
1404
|
-
}
|
|
1405
|
-
|
|
1406
|
-
if (kind === 'Task') {
|
|
1407
|
-
return {
|
|
1408
|
-
...base,
|
|
1409
|
-
spec: {
|
|
1410
|
-
execution: {
|
|
1411
|
-
type: 'idempotent',
|
|
1412
|
-
runtime: 'dify'
|
|
1413
|
-
},
|
|
1414
|
-
input: {
|
|
1415
|
-
type: 'object',
|
|
1416
|
-
properties: {
|
|
1417
|
-
prompt: { type: 'string' }
|
|
1418
|
-
}
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
};
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
// Workflow
|
|
1425
|
-
return {
|
|
1426
|
-
...base,
|
|
1427
|
-
spec: {
|
|
1428
|
-
triggers: [{ type: 'manual' }],
|
|
1429
|
-
steps: [] // Would need workflow graph conversion
|
|
1430
|
-
},
|
|
1431
|
-
extensions: {
|
|
1432
|
-
...base.extensions,
|
|
1433
|
-
dify: {
|
|
1434
|
-
...base.extensions.dify,
|
|
1435
|
-
workflow_config: {
|
|
1436
|
-
graph: difyApp.workflow
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
}
|
|
1440
|
-
};
|
|
1441
|
-
}
|
|
1442
|
-
```
|
|
1443
|
-
|
|
1444
|
-
---
|
|
1445
|
-
|
|
1446
|
-
## Related Resources
|
|
1447
|
-
|
|
1448
|
-
- [Dify Documentation](https://docs.dify.ai)
|
|
1449
|
-
- [Dify API Reference](https://docs.dify.ai/api-reference)
|
|
1450
|
-
- [Dify GitHub Repository](https://github.com/langgenius/dify)
|
|
1451
|
-
- [OSSA Specification](https://openstandardagents.org)
|
|
1452
|
-
- [MCP Extension](./mcp.md)
|
|
1453
|
-
- [Drupal Extension](./drupal.md)
|
|
1454
|
-
|
|
1455
|
-
---
|
|
1456
|
-
|
|
1457
|
-
## Version History
|
|
1458
|
-
|
|
1459
|
-
| Version | Date | Changes |
|
|
1460
|
-
|---------|------|---------|
|
|
1461
|
-
| 0.3.3 | 2025-01 | Initial Dify extension specification |
|