@bluefly/openstandardagents 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.wiki-config.json +24 -0
- package/CHANGELOG.md +37 -1779
- package/README.md +164 -418
- package/dist/adapters/anthropic/runtime.d.ts +1 -1
- package/dist/adapters/anthropic/runtime.d.ts.map +1 -1
- package/dist/adapters/anthropic/runtime.js +3 -3
- package/dist/adapters/anthropic/runtime.js.map +1 -1
- package/dist/adapters/crewai-adapter.d.ts.map +1 -1
- package/dist/adapters/crewai-adapter.js +0 -1
- package/dist/adapters/crewai-adapter.js.map +1 -1
- package/dist/adapters/langchain-adapter.d.ts.map +1 -1
- package/dist/adapters/langchain-adapter.js +0 -1
- package/dist/adapters/langchain-adapter.js.map +1 -1
- package/dist/adapters/langflow-adapter.js +1 -1
- package/dist/adapters/langflow-adapter.js.map +1 -1
- package/dist/adapters/langfuse.adapter.d.ts +30 -0
- package/dist/adapters/langfuse.adapter.d.ts.map +1 -0
- package/dist/adapters/langfuse.adapter.js +61 -0
- package/dist/adapters/langfuse.adapter.js.map +1 -0
- package/dist/adapters/langsmith.adapter.d.ts +29 -0
- package/dist/adapters/langsmith.adapter.d.ts.map +1 -0
- package/dist/adapters/langsmith.adapter.js +60 -0
- package/dist/adapters/langsmith.adapter.js.map +1 -0
- package/dist/adapters/openapi-adapter.d.ts.map +1 -1
- package/dist/adapters/openapi-adapter.js +19 -15
- package/dist/adapters/openapi-adapter.js.map +1 -1
- package/dist/adapters/opentelemetry.adapter.d.ts +136 -0
- package/dist/adapters/opentelemetry.adapter.d.ts.map +1 -0
- package/dist/adapters/opentelemetry.adapter.js +239 -0
- package/dist/adapters/opentelemetry.adapter.js.map +1 -0
- package/dist/adapters/phoenix.adapter.d.ts +28 -0
- package/dist/adapters/phoenix.adapter.d.ts.map +1 -0
- package/dist/adapters/phoenix.adapter.js +63 -0
- package/dist/adapters/phoenix.adapter.js.map +1 -0
- package/dist/bot/architecture-validator-bot.d.ts +8 -0
- package/dist/bot/architecture-validator-bot.d.ts.map +1 -0
- package/dist/bot/architecture-validator-bot.js +15 -0
- package/dist/bot/architecture-validator-bot.js.map +1 -0
- package/dist/bot/ci-pipeline-bot.d.ts +7 -0
- package/dist/bot/ci-pipeline-bot.d.ts.map +1 -0
- package/dist/bot/ci-pipeline-bot.js +7 -0
- package/dist/bot/ci-pipeline-bot.js.map +1 -0
- package/dist/bot/compliance-bot.d.ts +56 -0
- package/dist/bot/compliance-bot.d.ts.map +1 -0
- package/dist/bot/compliance-bot.js +203 -0
- package/dist/bot/compliance-bot.js.map +1 -0
- package/dist/bot/dependency-updater-bot.d.ts +9 -0
- package/dist/bot/dependency-updater-bot.d.ts.map +1 -0
- package/dist/bot/dependency-updater-bot.js +9 -0
- package/dist/bot/dependency-updater-bot.js.map +1 -0
- package/dist/bot/security-scanner-bot.d.ts +11 -0
- package/dist/bot/security-scanner-bot.d.ts.map +1 -0
- package/dist/bot/security-scanner-bot.js +21 -0
- package/dist/bot/security-scanner-bot.js.map +1 -0
- package/dist/cli/commands/agent-card.command.d.ts +15 -0
- package/dist/cli/commands/agent-card.command.d.ts.map +1 -0
- package/dist/cli/commands/agent-card.command.js +287 -0
- package/dist/cli/commands/agent-card.command.js.map +1 -0
- package/dist/cli/commands/agents-md.command.d.ts.map +1 -1
- package/dist/cli/commands/agents-md.command.js +9 -11
- package/dist/cli/commands/agents-md.command.js.map +1 -1
- package/dist/cli/commands/agents.command.d.ts +11 -0
- package/dist/cli/commands/agents.command.d.ts.map +1 -0
- package/dist/cli/commands/agents.command.js +326 -0
- package/dist/cli/commands/agents.command.js.map +1 -0
- package/dist/cli/commands/catalog/config.d.ts +54 -0
- package/dist/cli/commands/catalog/config.d.ts.map +1 -0
- package/dist/cli/commands/catalog/config.js +113 -0
- package/dist/cli/commands/catalog/config.js.map +1 -0
- package/dist/cli/commands/catalog/convert.command.d.ts +8 -0
- package/dist/cli/commands/catalog/convert.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/convert.command.js +106 -0
- package/dist/cli/commands/catalog/convert.command.js.map +1 -0
- package/dist/cli/commands/catalog/diff.command.d.ts +8 -0
- package/dist/cli/commands/catalog/diff.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/diff.command.js +76 -0
- package/dist/cli/commands/catalog/diff.command.js.map +1 -0
- package/dist/cli/commands/catalog/index.d.ts +19 -0
- package/dist/cli/commands/catalog/index.d.ts.map +1 -0
- package/dist/cli/commands/catalog/index.js +40 -0
- package/dist/cli/commands/catalog/index.js.map +1 -0
- package/dist/cli/commands/catalog/list.command.d.ts +8 -0
- package/dist/cli/commands/catalog/list.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/list.command.js +101 -0
- package/dist/cli/commands/catalog/list.command.js.map +1 -0
- package/dist/cli/commands/catalog/pull.command.d.ts +8 -0
- package/dist/cli/commands/catalog/pull.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/pull.command.js +87 -0
- package/dist/cli/commands/catalog/pull.command.js.map +1 -0
- package/dist/cli/commands/catalog/push.command.d.ts +8 -0
- package/dist/cli/commands/catalog/push.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/push.command.js +98 -0
- package/dist/cli/commands/catalog/push.command.js.map +1 -0
- package/dist/cli/commands/catalog/schemas.d.ts +62 -0
- package/dist/cli/commands/catalog/schemas.d.ts.map +1 -0
- package/dist/cli/commands/catalog/schemas.js +55 -0
- package/dist/cli/commands/catalog/schemas.js.map +1 -0
- package/dist/cli/commands/catalog/sync.command.d.ts +8 -0
- package/dist/cli/commands/catalog/sync.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/sync.command.js +69 -0
- package/dist/cli/commands/catalog/sync.command.js.map +1 -0
- package/dist/cli/commands/catalog/validate.command.d.ts +8 -0
- package/dist/cli/commands/catalog/validate.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/validate.command.js +140 -0
- package/dist/cli/commands/catalog/validate.command.js.map +1 -0
- package/dist/cli/commands/compliance.command.d.ts +19 -0
- package/dist/cli/commands/compliance.command.d.ts.map +1 -0
- package/dist/cli/commands/compliance.command.js +218 -0
- package/dist/cli/commands/compliance.command.js.map +1 -0
- package/dist/cli/commands/contract.command.d.ts +5 -0
- package/dist/cli/commands/contract.command.d.ts.map +1 -1
- package/dist/cli/commands/contract.command.js +40 -63
- package/dist/cli/commands/contract.command.js.map +1 -1
- package/dist/cli/commands/dependencies.command.d.ts +5 -0
- package/dist/cli/commands/dependencies.command.d.ts.map +1 -1
- package/dist/cli/commands/dependencies.command.js +58 -108
- package/dist/cli/commands/dependencies.command.js.map +1 -1
- package/dist/cli/commands/diff.command.d.ts +4 -0
- package/dist/cli/commands/diff.command.d.ts.map +1 -1
- package/dist/cli/commands/diff.command.js +10 -10
- 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 +2 -1
- package/dist/cli/commands/docs.command.js.map +1 -1
- package/dist/cli/commands/export.command.d.ts.map +1 -1
- package/dist/cli/commands/export.command.js +2 -2
- package/dist/cli/commands/export.command.js.map +1 -1
- package/dist/cli/commands/extension-team.command.d.ts +15 -0
- package/dist/cli/commands/extension-team.command.d.ts.map +1 -0
- package/dist/cli/commands/extension-team.command.js +117 -0
- package/dist/cli/commands/extension-team.command.js.map +1 -0
- package/dist/cli/commands/framework.command.d.ts +9 -0
- package/dist/cli/commands/framework.command.d.ts.map +1 -0
- package/dist/cli/commands/framework.command.js +179 -0
- package/dist/cli/commands/framework.command.js.map +1 -0
- package/dist/cli/commands/generate.command.d.ts +13 -2
- package/dist/cli/commands/generate.command.d.ts.map +1 -1
- package/dist/cli/commands/generate.command.js +212 -30
- package/dist/cli/commands/generate.command.js.map +1 -1
- package/dist/cli/commands/github-sync.command.js +2 -2
- package/dist/cli/commands/github-sync.command.js.map +1 -1
- package/dist/cli/commands/import.command.d.ts.map +1 -1
- package/dist/cli/commands/import.command.js +2 -2
- package/dist/cli/commands/import.command.js.map +1 -1
- package/dist/cli/commands/install.command.d.ts.map +1 -1
- package/dist/cli/commands/install.command.js +3 -1
- package/dist/cli/commands/install.command.js.map +1 -1
- package/dist/cli/commands/langchain.command.d.ts +9 -0
- package/dist/cli/commands/langchain.command.d.ts.map +1 -0
- package/dist/cli/commands/langchain.command.js +110 -0
- package/dist/cli/commands/langchain.command.js.map +1 -0
- package/dist/cli/commands/langflow.command.d.ts +9 -0
- package/dist/cli/commands/langflow.command.d.ts.map +1 -0
- package/dist/cli/commands/langflow.command.js +111 -0
- package/dist/cli/commands/langflow.command.js.map +1 -0
- package/dist/cli/commands/lint.command.d.ts +5 -0
- package/dist/cli/commands/lint.command.d.ts.map +1 -1
- package/dist/cli/commands/lint.command.js +13 -57
- package/dist/cli/commands/lint.command.js.map +1 -1
- package/dist/cli/commands/llms-txt.command.d.ts +7 -0
- package/dist/cli/commands/llms-txt.command.d.ts.map +1 -0
- package/dist/cli/commands/llms-txt.command.js +119 -0
- package/dist/cli/commands/llms-txt.command.js.map +1 -0
- package/dist/cli/commands/migrate.command.js +4 -4
- 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.map +1 -1
- package/dist/cli/commands/quickstart.command.d.ts.map +1 -1
- package/dist/cli/commands/quickstart.command.js +4 -10
- package/dist/cli/commands/quickstart.command.js.map +1 -1
- package/dist/cli/commands/registry.command.d.ts +18 -0
- package/dist/cli/commands/registry.command.d.ts.map +1 -0
- package/dist/cli/commands/registry.command.js +427 -0
- package/dist/cli/commands/registry.command.js.map +1 -0
- package/dist/cli/commands/scaffold.command.d.ts +19 -0
- package/dist/cli/commands/scaffold.command.d.ts.map +1 -0
- package/dist/cli/commands/scaffold.command.js +182 -0
- package/dist/cli/commands/scaffold.command.js.map +1 -0
- package/dist/cli/commands/schema.command.d.ts +4 -0
- package/dist/cli/commands/schema.command.d.ts.map +1 -1
- package/dist/cli/commands/schema.command.js +8 -5
- package/dist/cli/commands/schema.command.js.map +1 -1
- package/dist/cli/commands/setup.command.d.ts.map +1 -1
- package/dist/cli/commands/setup.command.js +23 -24
- package/dist/cli/commands/setup.command.js.map +1 -1
- package/dist/cli/commands/standardize.command.d.ts +19 -0
- package/dist/cli/commands/standardize.command.d.ts.map +1 -0
- package/dist/cli/commands/standardize.command.js +275 -0
- package/dist/cli/commands/standardize.command.js.map +1 -0
- package/dist/cli/commands/sync.command.js +3 -3
- package/dist/cli/commands/sync.command.js.map +1 -1
- package/dist/cli/commands/test.command.d.ts +8 -0
- package/dist/cli/commands/test.command.d.ts.map +1 -1
- package/dist/cli/commands/test.command.js +83 -15
- package/dist/cli/commands/test.command.js.map +1 -1
- package/dist/cli/commands/validate.command.d.ts +4 -0
- package/dist/cli/commands/validate.command.d.ts.map +1 -1
- package/dist/cli/commands/validate.command.js +30 -1
- package/dist/cli/commands/validate.command.js.map +1 -1
- package/dist/cli/commands/workspace.command.d.ts +14 -0
- package/dist/cli/commands/workspace.command.d.ts.map +1 -0
- package/dist/cli/commands/workspace.command.js +457 -0
- package/dist/cli/commands/workspace.command.js.map +1 -0
- package/dist/cli/extensions/gitlab-release.commands.d.ts +19 -0
- package/dist/cli/extensions/gitlab-release.commands.d.ts.map +1 -0
- package/dist/cli/extensions/gitlab-release.commands.js +341 -0
- package/dist/cli/extensions/gitlab-release.commands.js.map +1 -0
- package/dist/cli/extensions/gitlab.extension.d.ts +24 -0
- package/dist/cli/extensions/gitlab.extension.d.ts.map +1 -0
- package/dist/cli/extensions/gitlab.extension.js +64 -0
- package/dist/cli/extensions/gitlab.extension.js.map +1 -0
- package/dist/cli/extensions/index.d.ts +63 -0
- package/dist/cli/extensions/index.d.ts.map +1 -0
- package/dist/cli/extensions/index.js +181 -0
- package/dist/cli/extensions/index.js.map +1 -0
- package/dist/cli/index.d.ts +11 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +117 -32
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/utils/error-formatter.js +6 -6
- package/dist/cli/utils/error-formatter.js.map +1 -1
- package/dist/cli/utils/gitlab-config.d.ts +94 -0
- package/dist/cli/utils/gitlab-config.d.ts.map +1 -0
- package/dist/cli/utils/gitlab-config.js +180 -0
- package/dist/cli/utils/gitlab-config.js.map +1 -0
- package/dist/cli/utils/index.d.ts +11 -0
- package/dist/cli/utils/index.d.ts.map +1 -0
- package/dist/cli/utils/index.js +15 -0
- package/dist/cli/utils/index.js.map +1 -0
- package/dist/cli/utils/manifest-loader.d.ts +77 -0
- package/dist/cli/utils/manifest-loader.d.ts.map +1 -0
- package/dist/cli/utils/manifest-loader.js +153 -0
- package/dist/cli/utils/manifest-loader.js.map +1 -0
- package/dist/cli/utils/output.d.ts +134 -0
- package/dist/cli/utils/output.d.ts.map +1 -0
- package/dist/cli/utils/output.js +200 -0
- package/dist/cli/utils/output.js.map +1 -0
- package/dist/config/defaults.d.ts +138 -0
- package/dist/config/defaults.d.ts.map +1 -0
- package/dist/config/defaults.js +223 -0
- package/dist/config/defaults.js.map +1 -0
- package/dist/dev-cli/schemas/spec.schema.d.ts +38 -0
- package/dist/dev-cli/schemas/spec.schema.d.ts.map +1 -0
- package/dist/dev-cli/schemas/spec.schema.js +36 -0
- package/dist/dev-cli/schemas/spec.schema.js.map +1 -0
- package/dist/dev-cli/schemas/version.schema.d.ts +82 -0
- package/dist/dev-cli/schemas/version.schema.d.ts.map +1 -0
- package/dist/dev-cli/schemas/version.schema.js +83 -0
- package/dist/dev-cli/schemas/version.schema.js.map +1 -0
- package/dist/dev-cli/services/version-audit.service.d.ts +31 -0
- package/dist/dev-cli/services/version-audit.service.d.ts.map +1 -0
- package/dist/dev-cli/services/version-audit.service.js +168 -0
- package/dist/dev-cli/services/version-audit.service.js.map +1 -0
- package/dist/dev-cli/src/commands/release-prep.command.d.ts +12 -0
- package/dist/dev-cli/src/commands/release-prep.command.d.ts.map +1 -0
- package/dist/dev-cli/src/commands/release-prep.command.js +112 -0
- package/dist/dev-cli/src/commands/release-prep.command.js.map +1 -0
- package/dist/dev-cli/src/commands/release.command.d.ts +9 -0
- package/dist/dev-cli/src/commands/release.command.d.ts.map +1 -0
- package/dist/dev-cli/src/commands/release.command.js +112 -0
- package/dist/dev-cli/src/commands/release.command.js.map +1 -0
- package/dist/dev-cli/src/commands/spec.command.d.ts +9 -0
- package/dist/dev-cli/src/commands/spec.command.d.ts.map +1 -0
- package/dist/dev-cli/src/commands/spec.command.js +85 -0
- package/dist/dev-cli/src/commands/spec.command.js.map +1 -0
- package/dist/dev-cli/src/commands/version.command.d.ts +9 -0
- package/dist/dev-cli/src/commands/version.command.d.ts.map +1 -0
- package/dist/dev-cli/src/commands/version.command.js +114 -0
- package/dist/dev-cli/src/commands/version.command.js.map +1 -0
- package/dist/dev-cli/src/commands/workflow.command.d.ts +8 -0
- package/dist/dev-cli/src/commands/workflow.command.d.ts.map +1 -0
- package/dist/dev-cli/src/commands/workflow.command.js +93 -0
- package/dist/dev-cli/src/commands/workflow.command.js.map +1 -0
- package/dist/dev-cli/src/index.d.ts +14 -0
- package/dist/dev-cli/src/index.d.ts.map +1 -0
- package/dist/dev-cli/src/index.js +35 -0
- package/dist/dev-cli/src/index.js.map +1 -0
- package/dist/dev-cli/src/schemas/release-prep.schema.d.ts +112 -0
- package/dist/dev-cli/src/schemas/release-prep.schema.d.ts.map +1 -0
- package/dist/dev-cli/src/schemas/release-prep.schema.js +76 -0
- package/dist/dev-cli/src/schemas/release-prep.schema.js.map +1 -0
- package/dist/dev-cli/src/schemas/release.schema.d.ts +146 -0
- package/dist/dev-cli/src/schemas/release.schema.d.ts.map +1 -0
- package/dist/dev-cli/src/schemas/release.schema.js +77 -0
- package/dist/dev-cli/src/schemas/release.schema.js.map +1 -0
- package/dist/dev-cli/src/schemas/spec.schema.d.ts +34 -0
- package/dist/dev-cli/src/schemas/spec.schema.d.ts.map +1 -0
- package/dist/dev-cli/src/schemas/spec.schema.js +30 -0
- package/dist/dev-cli/src/schemas/spec.schema.js.map +1 -0
- package/dist/dev-cli/src/schemas/version.schema.d.ts +53 -0
- package/dist/dev-cli/src/schemas/version.schema.d.ts.map +1 -0
- package/dist/dev-cli/src/schemas/version.schema.js +43 -0
- package/dist/dev-cli/src/schemas/version.schema.js.map +1 -0
- package/dist/dev-cli/src/services/release-prep.service.d.ts +55 -0
- package/dist/dev-cli/src/services/release-prep.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/release-prep.service.js +492 -0
- package/dist/dev-cli/src/services/release-prep.service.js.map +1 -0
- package/dist/dev-cli/src/services/release-verify.service.d.ts +49 -0
- package/dist/dev-cli/src/services/release-verify.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/release-verify.service.js +385 -0
- package/dist/dev-cli/src/services/release-verify.service.js.map +1 -0
- package/dist/dev-cli/src/services/spec-generate.service.d.ts +18 -0
- package/dist/dev-cli/src/services/spec-generate.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/spec-generate.service.js +49 -0
- package/dist/dev-cli/src/services/spec-generate.service.js.map +1 -0
- package/dist/dev-cli/src/services/spec-validate.service.d.ts +17 -0
- package/dist/dev-cli/src/services/spec-validate.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/spec-validate.service.js +52 -0
- package/dist/dev-cli/src/services/spec-validate.service.js.map +1 -0
- package/dist/dev-cli/src/services/version-release.service.d.ts +17 -0
- package/dist/dev-cli/src/services/version-release.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/version-release.service.js +80 -0
- package/dist/dev-cli/src/services/version-release.service.js.map +1 -0
- package/dist/dev-cli/src/services/version-sync.service.d.ts +21 -0
- package/dist/dev-cli/src/services/version-sync.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/version-sync.service.js +98 -0
- package/dist/dev-cli/src/services/version-sync.service.js.map +1 -0
- package/dist/dev-cli/src/services/version-validate.service.d.ts +17 -0
- package/dist/dev-cli/src/services/version-validate.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/version-validate.service.js +52 -0
- package/dist/dev-cli/src/services/version-validate.service.js.map +1 -0
- package/dist/di-container.d.ts.map +1 -1
- package/dist/di-container.js +34 -3
- package/dist/di-container.js.map +1 -1
- package/dist/messaging/broker.d.ts +1 -1
- package/dist/messaging/broker.js +1 -1
- package/dist/messaging/channels.d.ts +1 -1
- package/dist/messaging/channels.js +1 -1
- package/dist/messaging/index.d.ts +1 -1
- package/dist/messaging/index.js +1 -1
- package/dist/messaging/protocols/memory.d.ts +1 -1
- package/dist/messaging/protocols/memory.js +1 -1
- package/dist/messaging/protocols/redis.d.ts +1 -1
- package/dist/messaging/protocols/redis.js +1 -1
- package/dist/messaging/types.d.ts +2 -2
- package/dist/messaging/types.js +1 -1
- package/dist/repositories/manifest.repository.d.ts +1 -1
- package/dist/repositories/manifest.repository.d.ts.map +1 -1
- package/dist/repositories/manifest.repository.js +18 -13
- package/dist/repositories/manifest.repository.js.map +1 -1
- package/dist/repositories/schema.repository.d.ts +2 -2
- package/dist/repositories/schema.repository.d.ts.map +1 -1
- package/dist/repositories/schema.repository.js +1 -1
- package/dist/runtime/crewai.runtime.d.ts +30 -0
- package/dist/runtime/crewai.runtime.d.ts.map +1 -0
- package/dist/runtime/crewai.runtime.js +106 -0
- package/dist/runtime/crewai.runtime.js.map +1 -0
- package/dist/runtime/langchain.runtime.d.ts +32 -0
- package/dist/runtime/langchain.runtime.d.ts.map +1 -0
- package/dist/runtime/langchain.runtime.js +75 -0
- package/dist/runtime/langchain.runtime.js.map +1 -0
- package/dist/runtime/langflow.runtime.d.ts +65 -0
- package/dist/runtime/langflow.runtime.d.ts.map +1 -0
- package/dist/runtime/langflow.runtime.js +140 -0
- package/dist/runtime/langflow.runtime.js.map +1 -0
- package/dist/sdks/index.d.ts +15 -0
- package/dist/sdks/index.d.ts.map +1 -0
- package/dist/sdks/index.js +17 -0
- package/dist/sdks/index.js.map +1 -0
- package/dist/sdks/python-generator/index.d.ts +18 -0
- package/dist/sdks/python-generator/index.d.ts.map +1 -0
- package/dist/sdks/python-generator/index.js +13 -0
- package/dist/sdks/python-generator/index.js.map +1 -0
- package/dist/sdks/shared/index.d.ts +24 -0
- package/dist/sdks/shared/index.d.ts.map +1 -0
- package/dist/sdks/shared/index.js +28 -0
- package/dist/sdks/shared/index.js.map +1 -0
- package/dist/sdks/shared/manifest-loader.d.ts +41 -0
- package/dist/sdks/shared/manifest-loader.d.ts.map +1 -0
- package/dist/sdks/shared/manifest-loader.js +45 -0
- package/dist/sdks/shared/manifest-loader.js.map +1 -0
- package/dist/sdks/shared/schema-validator.d.ts +34 -0
- package/dist/sdks/shared/schema-validator.d.ts.map +1 -0
- package/dist/sdks/shared/schema-validator.js +101 -0
- package/dist/sdks/shared/schema-validator.js.map +1 -0
- package/dist/sdks/shared/types.d.ts +43 -0
- package/dist/sdks/shared/types.d.ts.map +1 -0
- package/dist/sdks/shared/types.js +27 -0
- package/dist/sdks/shared/types.js.map +1 -0
- package/dist/sdks/shared/validation.d.ts +52 -0
- package/dist/sdks/shared/validation.d.ts.map +1 -0
- package/dist/sdks/shared/validation.js +37 -0
- package/dist/sdks/shared/validation.js.map +1 -0
- package/dist/sdks/typescript/client.d.ts +44 -0
- package/dist/sdks/typescript/client.d.ts.map +1 -0
- package/dist/sdks/typescript/client.js +51 -0
- package/dist/sdks/typescript/client.js.map +1 -0
- package/dist/sdks/typescript/events/cloudevents-emitter.d.ts.map +1 -0
- package/dist/sdks/typescript/events/cloudevents-emitter.js.map +1 -0
- package/dist/sdks/typescript/events/index.d.ts.map +1 -0
- package/dist/sdks/typescript/events/index.js.map +1 -0
- package/dist/sdks/typescript/index.d.ts +31 -0
- package/dist/sdks/typescript/index.d.ts.map +1 -0
- package/dist/sdks/typescript/index.js +36 -0
- package/dist/sdks/typescript/index.js.map +1 -0
- package/dist/sdks/typescript/manifest.d.ts +36 -0
- package/dist/sdks/typescript/manifest.d.ts.map +1 -0
- package/dist/sdks/typescript/manifest.js +85 -0
- package/dist/sdks/typescript/manifest.js.map +1 -0
- package/dist/sdks/typescript/tracing/index.d.ts.map +1 -0
- package/dist/sdks/typescript/tracing/index.js.map +1 -0
- package/dist/sdks/typescript/tracing/w3c-baggage.d.ts.map +1 -0
- package/dist/sdks/typescript/tracing/w3c-baggage.js.map +1 -0
- package/dist/sdks/typescript/types.d.ts +145 -0
- package/dist/sdks/typescript/types.d.ts.map +1 -0
- package/dist/sdks/typescript/types.js +51 -0
- package/dist/sdks/typescript/types.js.map +1 -0
- package/dist/sdks/typescript/validator.d.ts +26 -0
- package/dist/sdks/typescript/validator.d.ts.map +1 -0
- package/dist/sdks/typescript/validator.js +58 -0
- package/dist/sdks/typescript/validator.js.map +1 -0
- package/dist/services/agent-services/qdrant.service.js +2 -2
- package/dist/services/agent-services/qdrant.service.js.map +1 -1
- package/dist/services/codegen/codegen.service.d.ts +77 -0
- package/dist/services/codegen/codegen.service.d.ts.map +1 -0
- package/dist/services/codegen/codegen.service.js +142 -0
- package/dist/services/codegen/codegen.service.js.map +1 -0
- package/dist/services/codegen/generators/manifest.generator.d.ts +41 -0
- package/dist/services/codegen/generators/manifest.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/manifest.generator.js +178 -0
- package/dist/services/codegen/generators/manifest.generator.js.map +1 -0
- package/dist/services/codegen/generators/openapi-zod.generator.d.ts +79 -0
- package/dist/services/codegen/generators/openapi-zod.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/openapi-zod.generator.js +476 -0
- package/dist/services/codegen/generators/openapi-zod.generator.js.map +1 -0
- package/dist/services/codegen/generators/openapi.generator.d.ts +46 -0
- package/dist/services/codegen/generators/openapi.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/openapi.generator.js +157 -0
- package/dist/services/codegen/generators/openapi.generator.js.map +1 -0
- package/dist/services/codegen/generators/types.generator.d.ts +27 -0
- package/dist/services/codegen/generators/types.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/types.generator.js +97 -0
- package/dist/services/codegen/generators/types.generator.js.map +1 -0
- package/dist/services/codegen/generators/vscode.generator.d.ts +43 -0
- package/dist/services/codegen/generators/vscode.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/vscode.generator.js +163 -0
- package/dist/services/codegen/generators/vscode.generator.js.map +1 -0
- package/dist/services/codegen/generators/zod.generator.d.ts +31 -0
- package/dist/services/codegen/generators/zod.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/zod.generator.js +135 -0
- package/dist/services/codegen/generators/zod.generator.js.map +1 -0
- package/dist/services/codegen/index.d.ts +35 -0
- package/dist/services/codegen/index.d.ts.map +1 -0
- package/dist/services/codegen/index.js +38 -0
- package/dist/services/codegen/index.js.map +1 -0
- package/dist/services/extension-team/extension-team-kickoff.service.d.ts +85 -0
- package/dist/services/extension-team/extension-team-kickoff.service.d.ts.map +1 -0
- package/dist/services/extension-team/extension-team-kickoff.service.js +121 -0
- package/dist/services/extension-team/extension-team-kickoff.service.js.map +1 -0
- package/dist/services/framework-import/langchain-importer.service.d.ts +55 -0
- package/dist/services/framework-import/langchain-importer.service.d.ts.map +1 -0
- package/dist/services/framework-import/langchain-importer.service.js +149 -0
- package/dist/services/framework-import/langchain-importer.service.js.map +1 -0
- package/dist/services/framework-import/langflow-importer.service.d.ts +85 -0
- package/dist/services/framework-import/langflow-importer.service.d.ts.map +1 -0
- package/dist/services/framework-import/langflow-importer.service.js +260 -0
- package/dist/services/framework-import/langflow-importer.service.js.map +1 -0
- package/dist/services/github-sync/sync.service.js +2 -2
- package/dist/services/llms-txt/llms-txt.service.d.ts +59 -0
- package/dist/services/llms-txt/llms-txt.service.d.ts.map +1 -0
- package/dist/services/llms-txt/llms-txt.service.js +509 -0
- package/dist/services/llms-txt/llms-txt.service.js.map +1 -0
- package/dist/services/messaging/example.js +15 -15
- package/dist/services/messaging/example.js.map +1 -1
- package/dist/services/release-automation/generate-changelog.d.ts +7 -0
- package/dist/services/release-automation/generate-changelog.d.ts.map +1 -0
- package/dist/services/release-automation/generate-changelog.js +286 -0
- package/dist/services/release-automation/generate-changelog.js.map +1 -0
- package/dist/services/release-automation/increment-dev-tag.d.ts +7 -0
- package/dist/services/release-automation/increment-dev-tag.d.ts.map +1 -0
- package/dist/services/release-automation/increment-dev-tag.js +156 -0
- package/dist/services/release-automation/increment-dev-tag.js.map +1 -0
- package/dist/services/release-automation/release-buttons.d.ts +7 -0
- package/dist/services/release-automation/release-buttons.d.ts.map +1 -0
- package/dist/services/release-automation/release-buttons.js +165 -0
- package/dist/services/release-automation/release-buttons.js.map +1 -0
- package/dist/services/release-automation/schemas/release.schema.d.ts +2 -2
- package/dist/services/release-automation/tag.service.d.ts +3 -3
- package/dist/services/validation-zod.service.d.ts +36 -0
- package/dist/services/validation-zod.service.d.ts.map +1 -0
- package/dist/services/validation-zod.service.js +328 -0
- package/dist/services/validation-zod.service.js.map +1 -0
- package/dist/services/validation.service.js +1 -1
- package/dist/services/validation.service.js.map +1 -1
- package/dist/services/validators/contract.validator.d.ts +6 -5
- package/dist/services/validators/contract.validator.d.ts.map +1 -1
- package/dist/services/validators/contract.validator.js +6 -6
- package/dist/services/validators/contract.validator.js.map +1 -1
- package/dist/services/validators/dependencies.validator.js.map +1 -1
- package/dist/spec/examples/reference-agents/compliance-auditor/manifest.ossa.yaml +527 -0
- package/dist/spec/examples/reference-agents/doc-agent/manifest.ossa.yaml +776 -0
- package/dist/spec/examples/reference-agents/mr-reviewer/manifest.ossa.yaml +249 -0
- package/dist/spec/examples/reference-agents/mr-reviewer/system-prompt.md +154 -0
- package/dist/spec/examples/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +548 -0
- package/dist/spec/examples/reference-agents/ossa-validator-v0.3/system-prompt.md +135 -0
- package/dist/spec/examples/reference-agents/pipeline-fixer/manifest.ossa.yaml +336 -0
- package/dist/spec/examples/reference-agents/release-orchestrator/README.md +35 -0
- package/dist/spec/examples/reference-agents/release-orchestrator/manifest.ossa.yaml +233 -0
- package/dist/spec/extensions/a2a-messaging.md +5 -5
- package/dist/spec/extensions/manifest-extensions.md +4 -4
- package/dist/spec/extensions/openapi/ossa-openapi-extensions.schema.json +804 -0
- package/dist/spec/extensions/skills-compatibility.md +292 -0
- package/dist/spec/registry/README.md +1 -1
- package/dist/spec/registry/registry-spec.md +6 -6
- package/dist/spec/v0.3.1/examples/agent-with-identity.ossa.yaml +68 -0
- package/dist/spec/v0.3.1/examples/drupal-content-writer.ossa.yaml +1 -1
- package/dist/spec/v0.3.1/examples/drupal-moderation-assistant.ossa.yaml +1 -1
- package/dist/spec/v0.3.1/examples/multi-provider-identity.ossa.yaml +236 -0
- package/dist/spec/v0.3.1/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +1 -1
- package/dist/spec/v0.3.1/extensions/agent-identity.yaml +594 -0
- package/dist/spec/v0.3.1/ossa-0.3.1.schema.json +300 -21
- package/dist/spec/v0.3.2/MIGRATION-v0.3.1-to-v0.3.2.md +293 -0
- package/dist/spec/{v0.3.0 → v0.3.2}/UNIFIED-SCHEMA.md +3 -3
- package/dist/spec/v0.3.2/access_tiers.yaml +375 -0
- package/{spec/v0.3.0 → dist/spec/v0.3.2}/adapters/drupal.md +7 -7
- package/dist/spec/{v0.3.0 → v0.3.2}/adapters/symfony.md +4 -4
- package/{spec/v0.3.0 → dist/spec/v0.3.2}/agent-test.schema.json +2 -2
- package/dist/spec/v0.3.2/examples/access-tiers/README.md +106 -0
- package/dist/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +105 -0
- package/dist/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +216 -0
- package/dist/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +183 -0
- package/dist/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +98 -0
- package/dist/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +118 -0
- package/dist/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +63 -0
- package/{spec/v0.3.0 → dist/spec/v0.3.2}/examples/drupal-content-writer.ossa.yaml +31 -50
- package/{spec/v0.3.0 → dist/spec/v0.3.2}/examples/drupal-moderation-assistant.ossa.yaml +27 -43
- package/dist/spec/v0.3.2/examples/multi-provider-identity.ossa.yaml +205 -0
- package/dist/spec/{v0.3.0 → v0.3.2}/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +5 -18
- package/dist/spec/v0.3.2/examples/tasks/data-transform.ossa.yaml +137 -0
- package/dist/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +103 -0
- package/dist/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +173 -0
- package/dist/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +235 -0
- package/dist/spec/v0.3.2/extensions/agent-identity.yaml +594 -0
- package/dist/spec/{v0.3.0 → v0.3.2}/extensions/drupal.md +5 -5
- package/dist/spec/v0.3.2/infrastructure/service-ports.yaml +324 -0
- package/{spec/v0.3.0/ossa-0.3.0.schema.json → dist/spec/v0.3.2/ossa-0.3.2.schema.json} +634 -34
- package/dist/spec/v0.3.2/protocols/delegation.yaml +239 -0
- package/dist/spec/{v0.3.0 → v0.3.2}/protocols/websocket.md +2 -2
- package/dist/spec/v0.3.2/runtime/RUNTIME.md +457 -0
- package/dist/spec/v0.3.2/runtime/memory-model.yaml +871 -0
- package/dist/spec/v0.3.2/runtime/runtime.yaml +926 -0
- package/{spec/v0.3.0 → dist/spec/v0.3.2}/schemas/agent-unified.yaml +2 -2
- package/dist/spec/{v0.3.0 → v0.3.2}/schemas/capabilities.yaml +2 -2
- package/dist/spec/{v0.3.0 → v0.3.2}/schemas/functions.yaml +2 -2
- package/dist/spec/{v0.3.0 → v0.3.2}/schemas/messaging/channel.schema.json +2 -2
- package/dist/spec/{v0.3.0 → v0.3.2}/schemas/messaging/delivery-receipt.schema.json +2 -2
- package/{spec/v0.3.0 → dist/spec/v0.3.2}/schemas/messaging/message.schema.json +3 -3
- package/dist/spec/{v0.3.0 → v0.3.2}/schemas/messaging/subscription.schema.json +2 -2
- package/{spec/v0.3.0 → dist/spec/v0.3.2}/schemas/runtime.yaml +2 -2
- package/dist/spec/{v0.3.0 → v0.3.2}/schemas/taxonomy.yaml +3 -3
- package/dist/spec/{v0.3.0 → v0.3.2}/schemas/unified-llm.yaml +2 -2
- package/{spec/v0.3.0 → dist/spec/v0.3.2}/taxonomy.yaml +114 -7
- package/dist/spec/v0.3.3/MIGRATION-v0.3.2-to-v0.3.3.md +117 -0
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/UNIFIED-SCHEMA.md +3 -3
- package/dist/spec/v0.3.3/access_tiers.yaml +375 -0
- package/dist/spec/{v0.3.0 → v0.3.3}/adapters/drupal.md +7 -7
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/adapters/symfony.md +4 -4
- package/dist/spec/{v0.3.0 → v0.3.3}/agent-test.schema.json +2 -2
- package/dist/spec/v0.3.3/examples/access-tiers/README.md +106 -0
- package/dist/spec/v0.3.3/examples/access-tiers/code-critic.ossa.yaml +105 -0
- package/dist/spec/v0.3.3/examples/access-tiers/compliance-governor.ossa.yaml +216 -0
- package/dist/spec/v0.3.3/examples/access-tiers/deployment-operator.ossa.yaml +183 -0
- package/dist/spec/v0.3.3/examples/access-tiers/doc-generator.ossa.yaml +98 -0
- package/dist/spec/v0.3.3/examples/access-tiers/security-scanner.ossa.yaml +118 -0
- package/dist/spec/v0.3.3/examples/agent-with-identity.ossa.yaml +63 -0
- package/dist/spec/{v0.3.0 → v0.3.3}/examples/drupal-content-writer.ossa.yaml +31 -50
- package/dist/spec/{v0.3.0 → v0.3.3}/examples/drupal-moderation-assistant.ossa.yaml +27 -43
- package/dist/spec/v0.3.3/examples/multi-provider-identity.ossa.yaml +205 -0
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +5 -18
- package/dist/spec/v0.3.3/examples/tasks/data-transform.ossa.yaml +137 -0
- package/dist/spec/v0.3.3/examples/tasks/publish-content.ossa.yaml +103 -0
- package/dist/spec/v0.3.3/examples/workflows/content-publishing.ossa.yaml +173 -0
- package/dist/spec/v0.3.3/examples/workflows/deployment-pipeline.ossa.yaml +235 -0
- package/dist/spec/v0.3.3/extensions/agent-identity.yaml +594 -0
- package/dist/spec/v0.3.3/extensions/agents-md.md +1219 -0
- package/dist/spec/v0.3.3/extensions/autogen.md +1124 -0
- package/dist/spec/v0.3.3/extensions/bedrock-agents.md +1320 -0
- package/dist/spec/v0.3.3/extensions/crewai.md +1575 -0
- package/dist/spec/v0.3.3/extensions/dify.md +1461 -0
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/extensions/drupal.md +5 -5
- package/dist/spec/v0.3.3/extensions/langchain.md +1092 -0
- package/dist/spec/v0.3.3/extensions/langflow.md +1055 -0
- package/dist/spec/v0.3.3/extensions/llamaindex.md +1519 -0
- package/dist/spec/v0.3.3/extensions/llms-txt.md +295 -0
- package/dist/spec/v0.3.3/extensions/openai-assistants.md +1632 -0
- package/dist/spec/v0.3.3/extensions/openai-swarm.md +1400 -0
- package/dist/spec/v0.3.3/extensions/opentelemetry.md +360 -0
- package/dist/spec/v0.3.3/extensions/semantic-kernel.md +1360 -0
- package/dist/spec/v0.3.3/extensions/vercel-ai.md +1197 -0
- package/dist/spec/v0.3.3/infrastructure/service-ports.yaml +324 -0
- package/dist/spec/v0.3.3/ossa-0.3.3.schema.json +9773 -0
- package/dist/spec/v0.3.3/protocols/delegation.yaml +239 -0
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/protocols/websocket.md +2 -2
- package/dist/spec/v0.3.3/runtime/RUNTIME.md +457 -0
- package/dist/spec/v0.3.3/runtime/memory-model.yaml +871 -0
- package/dist/spec/v0.3.3/runtime/runtime.yaml +926 -0
- package/dist/spec/v0.3.3/runtime-bindings/anthropic.yaml +209 -0
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/agent-unified.yaml +2 -2
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/capabilities.yaml +2 -2
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/functions.yaml +2 -2
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/messaging/channel.schema.json +2 -2
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/messaging/delivery-receipt.schema.json +2 -2
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/messaging/message.schema.json +3 -3
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/messaging/subscription.schema.json +2 -2
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/runtime.yaml +2 -2
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/taxonomy.yaml +3 -3
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/unified-llm.yaml +2 -2
- package/dist/spec/{v0.3.0 → v0.3.3}/taxonomy.yaml +114 -7
- package/dist/types/generated/ossa-0.3.2.types.d.ts +367 -0
- package/dist/types/generated/ossa-0.3.2.types.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.2.types.js +10 -0
- package/dist/types/generated/ossa-0.3.2.types.js.map +1 -0
- package/dist/types/generated/ossa-0.3.2.zod.d.ts +36 -0
- package/dist/types/generated/ossa-0.3.2.zod.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.2.zod.js +25 -0
- package/dist/types/generated/ossa-0.3.2.zod.js.map +1 -0
- package/dist/types/generated/ossa-0.3.3.types.d.ts +367 -0
- package/dist/types/generated/ossa-0.3.3.types.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.3.types.js +10 -0
- package/dist/types/generated/ossa-0.3.3.types.js.map +1 -0
- package/dist/types/generated/ossa-0.3.3.zod.d.ts +36 -0
- package/dist/types/generated/ossa-0.3.3.zod.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.3.zod.js +25 -0
- package/dist/types/generated/ossa-0.3.3.zod.js.map +1 -0
- package/dist/types/identity.d.ts +405 -0
- package/dist/types/identity.d.ts.map +1 -0
- package/dist/types/identity.js +12 -0
- package/dist/types/identity.js.map +1 -0
- package/dist/types/identity.zod.d.ts +622 -0
- package/dist/types/identity.zod.d.ts.map +1 -0
- package/dist/types/identity.zod.js +263 -0
- package/dist/types/identity.zod.js.map +1 -0
- package/dist/types/index.d.ts +67 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/llms-txt.zod.d.ts +320 -0
- package/dist/types/llms-txt.zod.d.ts.map +1 -0
- package/dist/types/llms-txt.zod.js +80 -0
- package/dist/types/llms-txt.zod.js.map +1 -0
- package/dist/types/personality.d.ts +141 -0
- package/dist/types/personality.d.ts.map +1 -0
- package/dist/types/personality.js +72 -0
- package/dist/types/personality.js.map +1 -0
- package/dist/types/personality.zod.d.ts +483 -0
- package/dist/types/personality.zod.d.ts.map +1 -0
- package/dist/types/personality.zod.js +160 -0
- package/dist/types/personality.zod.js.map +1 -0
- package/dist/types/prompts.d.ts +219 -0
- package/dist/types/prompts.d.ts.map +1 -0
- package/dist/types/prompts.js +163 -0
- package/dist/types/prompts.js.map +1 -0
- package/dist/types/prompts.zod.d.ts +252 -0
- package/dist/types/prompts.zod.d.ts.map +1 -0
- package/dist/types/prompts.zod.js +105 -0
- package/dist/types/prompts.zod.js.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/type-guards.d.ts +59 -0
- package/dist/utils/type-guards.d.ts.map +1 -0
- package/dist/utils/type-guards.js +170 -0
- package/dist/utils/type-guards.js.map +1 -0
- package/dist/utils/version.js +3 -3
- package/dist/utils/version.js.map +1 -1
- package/examples/adapters/drupal-eca-mapping.yaml +1 -1
- package/examples/adapters/drupal-eca-task.yaml +1 -1
- package/examples/adapters/drupal-flowdrop-mapping.yaml +1 -1
- package/examples/adapters/drupal-maestro-mapping.yaml +1 -1
- package/examples/adapters/mistral-agent.yaml +1 -1
- package/examples/adapters/symfony-messenger-task.yaml +1 -1
- package/examples/adapters/symfony-messenger-workflow.yaml +1 -1
- package/examples/adk-integration/code-review-workflow.yml +1 -1
- package/examples/adk-integration/customer-support.yml +1 -1
- package/examples/adk-integration/data-pipeline.yml +1 -1
- package/examples/advanced/reasoning-agent.yaml +1 -1
- package/examples/advanced/workflows/hybrid-model-strategy.yaml +1 -1
- package/examples/agent-manifests/critics/critic-agent.yaml +1 -1
- package/examples/agent-manifests/governors/governor-agent.yaml +1 -1
- package/examples/agent-manifests/integrators/integrator-agent.yaml +1 -1
- package/examples/agent-manifests/judges/judge-agent.yaml +1 -1
- package/examples/agent-manifests/monitors/monitor-agent.yaml +1 -1
- package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +1 -1
- package/examples/agent-manifests/sample-compliant-agent.yaml +1 -1
- package/examples/agent-manifests/workers/worker-agent.yaml +1 -1
- package/examples/agents/architecture-healer-enterprise.yaml +1 -1
- package/examples/agents/dependency-healer-npm.yaml +1 -1
- package/examples/agents/spec-healer-openapi.yaml +1 -1
- package/examples/agents/wiki-healer-production.yaml +1 -1
- package/examples/agents-md/code-agent.ossa.json +36 -11
- package/examples/agents-md/monorepo-agent.ossa.yaml +123 -104
- package/examples/anthropic/claude-assistant.ossa.json +4 -4
- package/examples/autogen/multi-agent.ossa.json +2 -2
- package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +13 -13
- package/examples/claude-code/code-reviewer.ossa.yaml +55 -47
- package/examples/claude-code/ossa-validator.ossa.yaml +62 -58
- package/examples/common_npm/agent-router.ossa.yaml +49 -171
- package/examples/contracts/data-consumer.ossa.yaml +2 -2
- package/examples/contracts/data-producer-v2.ossa.yaml +4 -4
- package/examples/contracts/data-producer.ossa.yaml +4 -4
- package/examples/crewai/research-team.ossa.json +2 -2
- package/examples/cursor/code-review-agent.ossa.json +2 -2
- package/examples/drupal/ai_agents_ossa-module/.agents/example-agent/agent.ossa.yaml +7 -11
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +53 -594
- package/examples/extensions/agents-md-advanced.yml +1 -1
- package/examples/extensions/agents-md-basic.yml +1 -1
- package/examples/extensions/agents-md-sync.yml +1 -1
- package/examples/extensions/agents-md-v1.yml +1 -1
- package/examples/extensions/drupal-v1.yml +1 -1
- package/examples/extensions/encryption-multi-provider.yaml +4 -4
- package/examples/extensions/kagent-v1.yml +1 -1
- package/examples/extensions/knowledge-sources.yaml +1 -1
- package/examples/extensions/mcp-full-featured.yaml +1 -1
- package/examples/getting-started/01-minimal-agent.ossa.yaml +24 -349
- package/examples/getting-started/02-agent-with-tools.ossa.yaml +187 -824
- package/examples/getting-started/03-agent-with-safety.ossa.yaml +66 -797
- package/examples/getting-started/04-agent-with-messaging.ossa.yaml +317 -754
- package/examples/getting-started/05-workflow-composition.ossa.yaml +98 -154
- package/examples/getting-started/hello-world-complete.ossa.yaml +61 -216
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +75 -336
- package/examples/kagent/compliance-validator.ossa.yaml +40 -51
- package/examples/kagent/cost-optimizer.ossa.yaml +30 -42
- package/examples/kagent/documentation-agent.ossa.yaml +29 -41
- package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +80 -263
- package/examples/kagent/k8s-troubleshooter.ossa.yaml +69 -224
- package/examples/kagent/security-scanner.ossa.yaml +54 -110
- package/examples/langchain/chain-agent.ossa.json +2 -2
- package/examples/langflow/workflow-agent.ossa.json +2 -2
- package/examples/langgraph/state-machine-agent.ossa.json +2 -2
- package/examples/llamaindex/rag-agent.ossa.json +2 -2
- package/examples/messaging/dependency-healer.ossa.yaml +2 -2
- package/examples/messaging/incident-responder.ossa.yaml +2 -2
- package/examples/messaging/routing-rules.ossa.yaml +2 -109
- package/examples/messaging/security-scanner.ossa.yaml +248 -241
- package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
- package/examples/multi-agent/conditional-router.ossa.yaml +32 -32
- package/examples/multi-agent/parallel-execution.ossa.yaml +43 -43
- package/examples/multi-agent/sequential-pipeline.ossa.yaml +35 -35
- package/examples/observability/activity-stream-full.yaml +1 -1
- package/examples/openai/basic-agent.ossa.yaml +33 -34
- package/examples/openai/multi-tool-agent.ossa.json +2 -2
- package/examples/openai/swarm-agent.ossa.json +2 -2
- package/examples/ossa-templates/01-code-assistant.ossa.yaml +114 -0
- package/examples/ossa-templates/02-security-scanner.ossa.yaml +103 -0
- package/examples/ossa-templates/03-ci-pipeline.ossa.yaml +100 -0
- package/examples/ossa-templates/04-code-reviewer.ossa.yaml +116 -0
- package/examples/ossa-templates/05-doc-generator.ossa.yaml +102 -0
- package/examples/ossa-templates/06-compliance-validator.ossa.yaml +132 -0
- package/examples/ossa-templates/07-workflow-orchestrator.ossa.yaml +110 -0
- package/examples/ossa-templates/08-content-writer.ossa.yaml +136 -0
- package/examples/ossa-templates/09-test-generator.ossa.yaml +113 -0
- package/examples/ossa-templates/10-data-transformer.ossa.yaml +102 -0
- package/examples/ossa-templates/README.md +98 -0
- package/examples/production/document-analyzer-openai.yml +1 -1
- package/examples/quickstart/support-agent.ossa.yaml +27 -29
- package/examples/rag-agent/index.ts +1 -1
- package/examples/real-world/gitlab-cicd-optimizer.ossa.yaml +2 -1
- package/examples/real-world/rag-documentation-assistant.ossa.yaml +2 -1
- package/examples/reference-implementations/typescript-client/package.json +1 -1
- package/examples/runtime-adapters/bedrock-claude-example.ossa.yaml +54 -420
- package/examples/schema/reusable-components.yaml +1 -1
- package/examples/showcase/ci-pipeline.ossa.yaml +55 -0
- package/examples/showcase/code-assistant.ossa.yaml +104 -0
- package/examples/showcase/code-reviewer.ossa.yaml +58 -0
- package/examples/showcase/compliance-validator.ossa.yaml +61 -0
- package/examples/showcase/content-writer.ossa.yaml +70 -0
- package/examples/showcase/data-transformer.ossa.yaml +76 -0
- package/examples/showcase/doc-generator.ossa.yaml +66 -0
- package/examples/showcase/security-scanner.ossa.yaml +66 -0
- package/examples/showcase/test-generator.ossa.yaml +37 -0
- package/examples/showcase/workflow-orchestrator.ossa.yaml +114 -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 +224 -227
- package/examples/vercel/edge-agent.ossa.json +2 -2
- package/examples/workflows/batch-email-campaign.yaml +1 -1
- package/examples/workflows/content-review-publish.yaml +1 -1
- package/examples/workflows/simple-etl.yaml +1 -1
- package/junit.xml +1469 -0
- package/llms-ctx-full.txt +39 -0
- package/llms-ctx.txt +39 -0
- package/openapi/agent-communication.yaml +4 -45
- package/openapi/agent-crud.yaml +13 -65
- package/openapi/agent-discovery.yaml +3 -3
- package/openapi/agent-identity.yaml +8 -8
- package/openapi/cli-commands.openapi.yaml +1437 -0
- package/openapi/core/ossa-core-api.openapi.yaml +19 -257
- package/openapi/core/ossa-registry-api.openapi.yaml +1 -1
- package/openapi/core/ossa-registry.openapi.yaml +5 -36
- package/openapi/core/unified-agent-gateway.openapi.yaml +1 -1
- package/openapi/dev-cli.openapi.yml +867 -0
- package/openapi/github-sync.yaml +1 -1
- package/openapi/protocols/sse-streams.yaml +1 -1
- package/openapi/protocols/websocket-events.yaml +2 -2
- package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +4 -4
- package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/critic-agent-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/drupal-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +4 -4
- package/openapi/reference-implementations/governor-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/helm-generator.openapi.yaml +1 -1
- package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/judge-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +4 -4
- package/openapi/reference-implementations/self-evolving-ecosystem.openapi.yaml +1 -1
- package/openapi/reference-implementations/worker-agent-api.openapi.yaml +2 -2
- package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +1 -1
- package/openapi/schemas/common/agent.yaml +229 -0
- package/openapi/schemas/common/errors.yaml +75 -0
- package/openapi/schemas/common/metadata.yaml +62 -0
- package/openapi/schemas/common/pagination.yaml +72 -0
- package/openapi/schemas/common/security.yaml +88 -0
- package/openapi/schemas/index.yaml +88 -0
- package/package.json +39 -21
- package/spec/examples/reference-agents/compliance-auditor/manifest.ossa.yaml +527 -0
- package/spec/examples/reference-agents/doc-agent/manifest.ossa.yaml +776 -0
- package/spec/examples/reference-agents/mr-reviewer/manifest.ossa.yaml +249 -0
- package/spec/examples/reference-agents/mr-reviewer/system-prompt.md +154 -0
- package/spec/examples/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +548 -0
- package/spec/examples/reference-agents/ossa-validator-v0.3/system-prompt.md +135 -0
- package/spec/examples/reference-agents/pipeline-fixer/manifest.ossa.yaml +336 -0
- package/spec/examples/reference-agents/release-orchestrator/README.md +35 -0
- package/spec/examples/reference-agents/release-orchestrator/manifest.ossa.yaml +233 -0
- package/spec/extensions/a2a-messaging.md +5 -5
- package/spec/extensions/manifest-extensions.md +4 -4
- package/spec/extensions/openapi/ossa-openapi-extensions.schema.json +804 -0
- package/spec/extensions/skills-compatibility.md +292 -0
- package/spec/registry/README.md +1 -1
- package/spec/registry/registry-spec.md +6 -6
- package/spec/v0.3.1/examples/agent-with-identity.ossa.yaml +68 -0
- package/spec/v0.3.1/examples/drupal-content-writer.ossa.yaml +1 -1
- package/spec/v0.3.1/examples/drupal-moderation-assistant.ossa.yaml +1 -1
- package/spec/v0.3.1/examples/multi-provider-identity.ossa.yaml +236 -0
- package/spec/v0.3.1/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +1 -1
- package/spec/v0.3.1/extensions/agent-identity.yaml +594 -0
- package/spec/v0.3.1/ossa-0.3.1.schema.json +300 -21
- package/spec/v0.3.2/MIGRATION-v0.3.1-to-v0.3.2.md +293 -0
- package/spec/v0.3.2/UNIFIED-SCHEMA.md +120 -0
- package/spec/v0.3.2/access_tiers.yaml +375 -0
- package/spec/v0.3.2/adapters/drupal.md +541 -0
- package/spec/v0.3.2/adapters/symfony.md +659 -0
- package/spec/v0.3.2/agent-test.schema.json +75 -0
- package/spec/v0.3.2/examples/access-tiers/README.md +106 -0
- package/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +105 -0
- package/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +216 -0
- package/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +183 -0
- package/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +98 -0
- package/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +118 -0
- package/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +63 -0
- package/spec/v0.3.2/examples/drupal-content-writer.ossa.yaml +91 -0
- package/spec/v0.3.2/examples/drupal-moderation-assistant.ossa.yaml +80 -0
- package/spec/v0.3.2/examples/multi-provider-identity.ossa.yaml +205 -0
- package/spec/v0.3.2/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +131 -0
- package/spec/v0.3.2/examples/tasks/data-transform.ossa.yaml +137 -0
- package/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +103 -0
- package/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +173 -0
- package/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +235 -0
- package/spec/v0.3.2/extensions/agent-identity.yaml +594 -0
- package/spec/v0.3.2/extensions/drupal.md +417 -0
- package/spec/v0.3.2/infrastructure/service-ports.yaml +324 -0
- package/spec/{v0.3.1/ossa-0.3.0.schema.json → v0.3.2/ossa-0.3.2.schema.json} +634 -34
- package/spec/v0.3.2/protocols/delegation.yaml +239 -0
- package/spec/v0.3.2/protocols/sse.md +494 -0
- package/spec/v0.3.2/protocols/webrtc.md +600 -0
- package/spec/v0.3.2/protocols/websocket.md +362 -0
- package/spec/v0.3.2/runtime/RUNTIME.md +457 -0
- package/spec/v0.3.2/runtime/memory-model.yaml +871 -0
- package/spec/v0.3.2/runtime/runtime.yaml +926 -0
- package/spec/v0.3.2/schemas/agent-unified.yaml +165 -0
- package/spec/v0.3.2/schemas/capabilities.yaml +102 -0
- package/spec/v0.3.2/schemas/functions.yaml +75 -0
- package/spec/v0.3.2/schemas/messaging/channel.schema.json +245 -0
- package/spec/v0.3.2/schemas/messaging/delivery-receipt.schema.json +192 -0
- package/spec/v0.3.2/schemas/messaging/message.schema.json +205 -0
- package/spec/v0.3.2/schemas/messaging/subscription.schema.json +214 -0
- package/spec/v0.3.2/schemas/runtime.yaml +102 -0
- package/spec/v0.3.2/schemas/taxonomy.yaml +533 -0
- package/spec/v0.3.2/schemas/unified-llm.yaml +91 -0
- package/spec/v0.3.2/taxonomy.yaml +363 -0
- package/spec/v0.3.3/MIGRATION-v0.3.2-to-v0.3.3.md +117 -0
- package/spec/v0.3.3/UNIFIED-SCHEMA.md +120 -0
- package/spec/v0.3.3/access_tiers.yaml +375 -0
- package/spec/v0.3.3/adapters/drupal.md +541 -0
- package/spec/v0.3.3/adapters/symfony.md +659 -0
- package/spec/v0.3.3/agent-test.schema.json +75 -0
- package/spec/v0.3.3/examples/access-tiers/README.md +106 -0
- package/spec/v0.3.3/examples/access-tiers/code-critic.ossa.yaml +105 -0
- package/spec/v0.3.3/examples/access-tiers/compliance-governor.ossa.yaml +216 -0
- package/spec/v0.3.3/examples/access-tiers/deployment-operator.ossa.yaml +183 -0
- package/spec/v0.3.3/examples/access-tiers/doc-generator.ossa.yaml +98 -0
- package/spec/v0.3.3/examples/access-tiers/security-scanner.ossa.yaml +118 -0
- package/spec/v0.3.3/examples/agent-with-identity.ossa.yaml +63 -0
- package/spec/v0.3.3/examples/drupal-content-writer.ossa.yaml +91 -0
- package/spec/v0.3.3/examples/drupal-moderation-assistant.ossa.yaml +80 -0
- package/spec/v0.3.3/examples/multi-provider-identity.ossa.yaml +205 -0
- package/spec/v0.3.3/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +131 -0
- package/spec/v0.3.3/examples/tasks/data-transform.ossa.yaml +137 -0
- package/spec/v0.3.3/examples/tasks/publish-content.ossa.yaml +103 -0
- package/spec/v0.3.3/examples/workflows/content-publishing.ossa.yaml +173 -0
- package/spec/v0.3.3/examples/workflows/deployment-pipeline.ossa.yaml +235 -0
- package/spec/v0.3.3/extensions/agent-identity.yaml +594 -0
- package/spec/v0.3.3/extensions/agents-md.md +1219 -0
- package/spec/v0.3.3/extensions/autogen.md +1124 -0
- package/spec/v0.3.3/extensions/bedrock-agents.md +1320 -0
- package/spec/v0.3.3/extensions/crewai.md +1575 -0
- package/spec/v0.3.3/extensions/dify.md +1461 -0
- package/spec/v0.3.3/extensions/drupal.md +417 -0
- package/spec/v0.3.3/extensions/langchain.md +1092 -0
- package/spec/v0.3.3/extensions/langflow.md +1055 -0
- package/spec/v0.3.3/extensions/llamaindex.md +1519 -0
- package/spec/v0.3.3/extensions/llms-txt.md +295 -0
- package/spec/v0.3.3/extensions/openai-assistants.md +1632 -0
- package/spec/v0.3.3/extensions/openai-swarm.md +1400 -0
- package/spec/v0.3.3/extensions/opentelemetry.md +360 -0
- package/spec/v0.3.3/extensions/semantic-kernel.md +1360 -0
- package/spec/v0.3.3/extensions/vercel-ai.md +1197 -0
- package/spec/v0.3.3/infrastructure/service-ports.yaml +324 -0
- package/spec/v0.3.3/ossa-0.3.3.schema.json +9773 -0
- package/spec/v0.3.3/protocols/a2a-communication.schema.json +897 -0
- package/spec/v0.3.3/protocols/delegation.yaml +239 -0
- package/spec/v0.3.3/protocols/identity-runtime.schema.json +482 -0
- package/spec/v0.3.3/protocols/sse.md +494 -0
- package/spec/v0.3.3/protocols/webrtc.md +600 -0
- package/spec/v0.3.3/protocols/websocket.md +362 -0
- package/spec/v0.3.3/runtime/RUNTIME.md +457 -0
- package/spec/v0.3.3/runtime/memory-model.yaml +871 -0
- package/spec/v0.3.3/runtime/runtime.yaml +926 -0
- package/spec/v0.3.3/runtime-bindings/anthropic.yaml +209 -0
- package/spec/v0.3.3/schemas/agent-unified.yaml +165 -0
- package/spec/v0.3.3/schemas/capabilities.yaml +102 -0
- package/spec/v0.3.3/schemas/functions.yaml +75 -0
- package/spec/v0.3.3/schemas/messaging/channel.schema.json +245 -0
- package/spec/v0.3.3/schemas/messaging/delivery-receipt.schema.json +192 -0
- package/spec/v0.3.3/schemas/messaging/message.schema.json +205 -0
- package/spec/v0.3.3/schemas/messaging/subscription.schema.json +214 -0
- package/spec/v0.3.3/schemas/runtime.yaml +102 -0
- package/spec/v0.3.3/schemas/taxonomy.yaml +533 -0
- package/spec/v0.3.3/schemas/unified-llm.yaml +91 -0
- package/spec/v0.3.3/taxonomy.yaml +363 -0
- package/bin/ossa-dev +0 -42
- package/bin/ossa-export +0 -32
- package/bin/ossa-generate +0 -53
- package/bin/ossa-health +0 -40
- package/bin/ossa-init +0 -26
- package/bin/quickstart +0 -514
- package/bin/validate-ossa.ts +0 -273
- package/dist/cli/commands/release.command.d.ts +0 -8
- package/dist/cli/commands/release.command.d.ts.map +0 -1
- package/dist/cli/commands/release.command.js +0 -641
- package/dist/cli/commands/release.command.js.map +0 -1
- package/dist/sdk/events/cloudevents-emitter.d.ts.map +0 -1
- package/dist/sdk/events/cloudevents-emitter.js.map +0 -1
- package/dist/sdk/events/index.d.ts.map +0 -1
- package/dist/sdk/events/index.js.map +0 -1
- package/dist/sdk/tracing/index.d.ts.map +0 -1
- package/dist/sdk/tracing/index.js.map +0 -1
- package/dist/sdk/tracing/w3c-baggage.d.ts.map +0 -1
- package/dist/sdk/tracing/w3c-baggage.js.map +0 -1
- package/dist/spec/v0.1.9/agent-autonomous-extensions.json +0 -234
- package/dist/spec/v0.1.9/ecosystem-compliance.json +0 -235
- package/dist/spec/v0.1.9/ossa-v0.1.9.schema.json +0 -695
- package/dist/spec/v0.1.9/ossa-v0.1.9.schema.json.backup +0 -695
- package/dist/spec/v0.1.9/reasoning-compliance.json +0 -654
- package/dist/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
- package/dist/spec/v0.2.1/ossa-0.2.1.schema.json +0 -555
- package/dist/spec/v0.2.2/kagent-enhancements.json +0 -395
- package/dist/spec/v0.2.2/ossa-0.2.2.schema.json +0 -906
- package/dist/spec/v0.2.2/ossa-0.2.2.yaml +0 -448
- package/dist/spec/v0.2.2/ossa-reasoning-compliance-1.0.schema.json +0 -424
- package/dist/spec/v0.2.3/CHANGELOG.md +0 -176
- package/dist/spec/v0.2.3/README.md +0 -154
- package/dist/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +0 -343
- package/dist/spec/v0.2.3/ossa-0.2.3.schema.json +0 -1397
- package/dist/spec/v0.2.3/ossa-0.2.3.yaml +0 -448
- package/dist/spec/v0.2.4/CHANGELOG.md +0 -403
- package/dist/spec/v0.2.4/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/dist/spec/v0.2.4/ossa-0.2.4.schema.json +0 -1696
- package/dist/spec/v0.2.4/ossa-0.2.4.yaml +0 -581
- package/dist/spec/v0.2.5/CHANGELOG.md +0 -401
- package/dist/spec/v0.2.5/README.md +0 -72
- package/dist/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/dist/spec/v0.2.5/ossa-0.2.5.schema.json +0 -1696
- package/dist/spec/v0.2.5/ossa-0.2.5.yaml +0 -581
- package/dist/spec/v0.2.5-RC/CHANGELOG.md +0 -401
- package/dist/spec/v0.2.5-RC/README.md +0 -72
- package/dist/spec/v0.2.5-RC/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +0 -1696
- package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +0 -581
- package/dist/spec/v0.2.6/CHANGELOG.md +0 -401
- package/dist/spec/v0.2.6/README.md +0 -72
- package/dist/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/dist/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +0 -65
- package/dist/spec/v0.2.6/ossa-0.2.6.schema.json +0 -1786
- package/dist/spec/v0.2.6/ossa-0.2.6.yaml +0 -581
- package/dist/spec/v0.2.6-dev/CHANGELOG.md +0 -164
- package/dist/spec/v0.2.6-dev/README.md +0 -75
- package/dist/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +0 -343
- package/dist/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/dist/spec/v0.2.6-dev/ossa-0.2.5.yaml +0 -581
- package/dist/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +0 -448
- package/dist/spec/v0.2.7/core/agentgraph.md +0 -324
- package/dist/spec/v0.2.7/resources/agentgraph.yaml +0 -135
- package/dist/spec/v0.2.8/CHANGELOG.md +0 -401
- package/dist/spec/v0.2.8/README.md +0 -72
- package/dist/spec/v0.2.8/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/dist/spec/v0.2.8/migrations/v0.2.5-RC-to-v0.2.6.md +0 -65
- package/dist/spec/v0.2.8/migrations/v0.2.6-to-v0.2.8.md +0 -81
- package/dist/spec/v0.2.8/ossa-0.2.8.schema.json +0 -3247
- package/dist/spec/v0.2.8/ossa-0.2.8.yaml +0 -581
- package/dist/spec/v0.2.9/a2a-protocol.md +0 -1337
- package/dist/spec/v0.2.9/agent.md +0 -1946
- package/dist/spec/v0.2.9/capabilities/index.yaml +0 -25
- package/dist/spec/v0.2.9/capabilities/memory.yaml +0 -251
- package/dist/spec/v0.2.9/capability-schema.md +0 -576
- package/dist/spec/v0.2.9/compliance-profiles.md +0 -533
- package/dist/spec/v0.2.9/conformance-testing.md +0 -1527
- package/dist/spec/v0.2.9/gitlab-duo-integration.md +0 -621
- package/dist/spec/v0.2.9/ossa-0.2.9.schema.json +0 -3699
- package/dist/spec/v0.2.9/runtime-semantics.md +0 -464
- package/dist/spec/v0.2.9/security-model.md +0 -1245
- package/dist/spec/v0.2.9/semantic-conventions.md +0 -347
- package/dist/spec/v0.2.9/types.ts +0 -522
- package/dist/spec/v0.3.0/ossa-0.3.0.schema.json +0 -2787
- package/dist/spec/v0.3.1/ossa-0.3.0.schema.json +0 -2787
- package/examples/common_npm/agent-router.v0.2.2.ossa.yaml +0 -60
- package/examples/drupal/gitlab-ml-recommender.v0.2.2.ossa.yaml +0 -68
- package/examples/kagent/k8s-troubleshooter-v1.v0.2.2.ossa.yaml +0 -106
- package/examples/reference-implementations/curl-scripts/01-search-agents.sh +0 -72
- package/examples/reference-implementations/curl-scripts/02-get-agent-details.sh +0 -74
- package/examples/reference-implementations/curl-scripts/03-publish-agent.sh +0 -136
- package/examples/reference-implementations/curl-scripts/04-a2a-messaging.sh +0 -178
- package/examples/reference-implementations/curl-scripts/05-discovery.sh +0 -98
- package/schemas/agent.json +0 -523
- package/spec/v0.1.9/agent-autonomous-extensions.json +0 -234
- package/spec/v0.1.9/ecosystem-compliance.json +0 -235
- package/spec/v0.1.9/ossa-v0.1.9.schema.json +0 -695
- package/spec/v0.1.9/ossa-v0.1.9.schema.json.backup +0 -695
- package/spec/v0.1.9/reasoning-compliance.json +0 -654
- package/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
- package/spec/v0.2.1/ossa-0.2.1.schema.json +0 -555
- package/spec/v0.2.2/kagent-enhancements.json +0 -395
- package/spec/v0.2.2/ossa-0.2.2.schema.json +0 -906
- package/spec/v0.2.2/ossa-0.2.2.yaml +0 -448
- package/spec/v0.2.2/ossa-reasoning-compliance-1.0.schema.json +0 -424
- package/spec/v0.2.3/CHANGELOG.md +0 -176
- package/spec/v0.2.3/README.md +0 -154
- package/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +0 -343
- package/spec/v0.2.3/ossa-0.2.3.schema.json +0 -1397
- package/spec/v0.2.3/ossa-0.2.3.yaml +0 -448
- package/spec/v0.2.4/CHANGELOG.md +0 -403
- package/spec/v0.2.4/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/spec/v0.2.4/ossa-0.2.4.schema.json +0 -1696
- package/spec/v0.2.4/ossa-0.2.4.yaml +0 -581
- package/spec/v0.2.5/CHANGELOG.md +0 -401
- package/spec/v0.2.5/README.md +0 -72
- package/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/spec/v0.2.5/ossa-0.2.5.schema.json +0 -1696
- package/spec/v0.2.5/ossa-0.2.5.yaml +0 -581
- package/spec/v0.2.5-RC/CHANGELOG.md +0 -401
- package/spec/v0.2.5-RC/README.md +0 -72
- package/spec/v0.2.5-RC/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +0 -1696
- package/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +0 -581
- package/spec/v0.2.6/CHANGELOG.md +0 -401
- package/spec/v0.2.6/README.md +0 -72
- package/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +0 -65
- package/spec/v0.2.6/ossa-0.2.6.schema.json +0 -1786
- package/spec/v0.2.6/ossa-0.2.6.yaml +0 -581
- package/spec/v0.2.6-dev/CHANGELOG.md +0 -164
- package/spec/v0.2.6-dev/README.md +0 -75
- package/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +0 -343
- package/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/spec/v0.2.6-dev/ossa-0.2.5.yaml +0 -581
- package/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +0 -448
- package/spec/v0.2.7/core/agentgraph.md +0 -324
- package/spec/v0.2.7/resources/agentgraph.yaml +0 -135
- package/spec/v0.2.8/CHANGELOG.md +0 -401
- package/spec/v0.2.8/README.md +0 -72
- package/spec/v0.2.8/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/spec/v0.2.8/migrations/v0.2.5-RC-to-v0.2.6.md +0 -65
- package/spec/v0.2.8/migrations/v0.2.6-to-v0.2.8.md +0 -81
- package/spec/v0.2.8/ossa-0.2.8.schema.json +0 -3247
- package/spec/v0.2.8/ossa-0.2.8.yaml +0 -581
- package/spec/v0.2.9/a2a-protocol.md +0 -1337
- package/spec/v0.2.9/agent.md +0 -1946
- package/spec/v0.2.9/capabilities/index.yaml +0 -25
- package/spec/v0.2.9/capabilities/memory.yaml +0 -251
- package/spec/v0.2.9/capability-schema.md +0 -576
- package/spec/v0.2.9/compliance-profiles.md +0 -533
- package/spec/v0.2.9/conformance-testing.md +0 -1527
- package/spec/v0.2.9/gitlab-duo-integration.md +0 -621
- package/spec/v0.2.9/ossa-0.2.9.schema.json +0 -3699
- package/spec/v0.2.9/runtime-semantics.md +0 -464
- package/spec/v0.2.9/security-model.md +0 -1245
- package/spec/v0.2.9/semantic-conventions.md +0 -347
- package/spec/v0.2.9/types.ts +0 -522
- /package/dist/{sdk → sdks/typescript}/events/cloudevents-emitter.d.ts +0 -0
- /package/dist/{sdk → sdks/typescript}/events/cloudevents-emitter.js +0 -0
- /package/dist/{sdk → sdks/typescript}/events/index.d.ts +0 -0
- /package/dist/{sdk → sdks/typescript}/events/index.js +0 -0
- /package/dist/{sdk → sdks/typescript}/tracing/index.d.ts +0 -0
- /package/dist/{sdk → sdks/typescript}/tracing/index.js +0 -0
- /package/dist/{sdk → sdks/typescript}/tracing/w3c-baggage.d.ts +0 -0
- /package/dist/{sdk → sdks/typescript}/tracing/w3c-baggage.js +0 -0
- /package/dist/spec/{v0.3.0 → v0.3.2}/protocols/sse.md +0 -0
- /package/dist/spec/{v0.3.0 → v0.3.2}/protocols/webrtc.md +0 -0
- /package/{schemas/communication.json → dist/spec/v0.3.3/protocols/a2a-communication.schema.json} +0 -0
- /package/{schemas/identity.json → dist/spec/v0.3.3/protocols/identity-runtime.schema.json} +0 -0
- /package/{spec/v0.3.0 → dist/spec/v0.3.3}/protocols/sse.md +0 -0
- /package/{spec/v0.3.0 → dist/spec/v0.3.3}/protocols/webrtc.md +0 -0
|
@@ -0,0 +1,1461 @@
|
|
|
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 |
|