@bluefly/openstandardagents 0.3.2 → 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/CHANGELOG.md +37 -1990
- package/README.md +163 -392
- 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 +1 -1
- 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/ci-pipeline-bot.d.ts +1 -1
- package/dist/bot/ci-pipeline-bot.d.ts.map +1 -1
- package/dist/bot/ci-pipeline-bot.js +1 -1
- package/dist/bot/ci-pipeline-bot.js.map +1 -1
- package/dist/bot/compliance-bot.d.ts.map +1 -1
- package/dist/bot/compliance-bot.js +1 -1
- package/dist/bot/compliance-bot.js.map +1 -1
- package/dist/cli/commands/agent-card.command.d.ts +4 -0
- package/dist/cli/commands/agent-card.command.d.ts.map +1 -1
- package/dist/cli/commands/agent-card.command.js +9 -7
- package/dist/cli/commands/agent-card.command.js.map +1 -1
- 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.js +3 -3
- package/dist/cli/commands/agents.command.js.map +1 -1
- 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.map +1 -1
- package/dist/cli/commands/generate.command.js +15 -8
- 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 +4 -0
- package/dist/cli/commands/registry.command.d.ts.map +1 -1
- package/dist/cli/commands/registry.command.js +11 -12
- package/dist/cli/commands/registry.command.js.map +1 -1
- 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.map +1 -1
- package/dist/cli/commands/workspace.command.js +32 -42
- package/dist/cli/commands/workspace.command.js.map +1 -1
- 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 +111 -35
- 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 +14 -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 +4 -2
- package/dist/services/codegen/codegen.service.d.ts.map +1 -1
- package/dist/services/codegen/codegen.service.js +8 -2
- package/dist/services/codegen/codegen.service.js.map +1 -1
- 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/vscode.generator.js +1 -1
- package/dist/services/codegen/generators/zod.generator.d.ts.map +1 -1
- package/dist/services/codegen/generators/zod.generator.js +2 -1
- package/dist/services/codegen/generators/zod.generator.js.map +1 -1
- package/dist/services/codegen/index.d.ts +2 -0
- package/dist/services/codegen/index.d.ts.map +1 -1
- package/dist/services/codegen/index.js +2 -0
- package/dist/services/codegen/index.js.map +1 -1
- 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 +10 -10
- 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.2/MIGRATION-v0.3.1-to-v0.3.2.md +19 -19
- package/dist/spec/v0.3.2/UNIFIED-SCHEMA.md +3 -3
- package/dist/spec/v0.3.2/access_tiers.yaml +2 -2
- package/dist/spec/v0.3.2/adapters/drupal.md +7 -7
- package/dist/spec/v0.3.2/adapters/symfony.md +4 -4
- package/dist/spec/v0.3.2/agent-test.schema.json +2 -2
- package/dist/spec/v0.3.2/examples/access-tiers/README.md +4 -4
- package/dist/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +8 -22
- package/dist/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +11 -29
- package/dist/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +9 -27
- package/dist/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +4 -23
- package/dist/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +9 -24
- package/dist/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +5 -10
- package/dist/spec/v0.3.2/examples/drupal-content-writer.ossa.yaml +31 -50
- package/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 +4 -35
- package/dist/spec/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 +37 -47
- package/dist/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +21 -43
- package/dist/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +59 -76
- package/dist/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +80 -92
- package/dist/spec/v0.3.2/extensions/agent-identity.yaml +3 -3
- package/dist/spec/v0.3.2/extensions/drupal.md +5 -5
- package/dist/spec/v0.3.2/infrastructure/service-ports.yaml +1 -1
- package/dist/spec/v0.3.2/ossa-0.3.2.schema.json +86 -15
- package/dist/spec/v0.3.2/protocols/delegation.yaml +1 -1
- package/dist/spec/v0.3.2/protocols/websocket.md +2 -2
- package/dist/spec/v0.3.2/runtime/RUNTIME.md +3 -3
- package/dist/spec/v0.3.2/runtime/memory-model.yaml +4 -4
- package/dist/spec/v0.3.2/runtime/runtime.yaml +4 -4
- package/dist/spec/v0.3.2/schemas/agent-unified.yaml +2 -2
- package/dist/spec/v0.3.2/schemas/capabilities.yaml +2 -2
- package/dist/spec/v0.3.2/schemas/functions.yaml +2 -2
- package/dist/spec/v0.3.2/schemas/messaging/channel.schema.json +2 -2
- package/dist/spec/v0.3.2/schemas/messaging/delivery-receipt.schema.json +2 -2
- package/dist/spec/v0.3.2/schemas/messaging/message.schema.json +3 -3
- package/dist/spec/v0.3.2/schemas/messaging/subscription.schema.json +2 -2
- package/dist/spec/v0.3.2/schemas/runtime.yaml +2 -2
- package/dist/spec/v0.3.2/schemas/taxonomy.yaml +3 -3
- package/dist/spec/v0.3.2/schemas/unified-llm.yaml +2 -2
- package/dist/spec/v0.3.2/taxonomy.yaml +2 -2
- package/dist/spec/v0.3.3/MIGRATION-v0.3.2-to-v0.3.3.md +117 -0
- package/dist/spec/{v0.3.0 → v0.3.3}/UNIFIED-SCHEMA.md +3 -3
- package/dist/spec/v0.3.3/access_tiers.yaml +375 -0
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/adapters/drupal.md +7 -7
- package/dist/spec/{v0.3.0 → v0.3.3}/adapters/symfony.md +4 -4
- package/{spec/v0.3.0 → dist/spec/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/dist/spec/{v0.3.0 → 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/dist/spec/{v0.3.0 → 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/dist/spec/{v0.3.0 → 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.0 → v0.3.3}/schemas/agent-unified.yaml +2 -2
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/capabilities.yaml +2 -2
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/functions.yaml +2 -2
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/messaging/channel.schema.json +2 -2
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/messaging/delivery-receipt.schema.json +2 -2
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/messaging/message.schema.json +3 -3
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/messaging/subscription.schema.json +2 -2
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/runtime.yaml +2 -2
- package/dist/spec/{v0.3.0 → 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/{spec/v0.3.0 → dist/spec/v0.3.3}/taxonomy.yaml +114 -7
- package/dist/types/generated/ossa-0.3.2.types.d.ts +4 -4
- package/dist/types/generated/ossa-0.3.2.types.js +2 -2
- package/dist/types/generated/ossa-0.3.2.zod.d.ts +4 -4
- package/dist/types/generated/ossa-0.3.2.zod.js +3 -3
- 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 +1 -1
- package/examples/agents-md/monorepo-agent.ossa.yaml +123 -104
- package/examples/anthropic/claude-assistant.ossa.json +1 -1
- package/examples/autogen/multi-agent.ossa.json +1 -1
- package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +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 +1 -1
- package/examples/cursor/code-review-agent.ossa.json +1 -1
- package/examples/drupal/ai_agents_ossa-module/.agents/example-agent/agent.ossa.yaml +7 -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 +1 -1
- package/examples/langflow/workflow-agent.ossa.json +1 -1
- package/examples/langgraph/state-machine-agent.ossa.json +1 -1
- package/examples/llamaindex/rag-agent.ossa.json +1 -1
- 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 +1 -1
- package/examples/openai/swarm-agent.ossa.json +1 -1
- 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 +27 -31
- package/examples/showcase/code-assistant.ossa.yaml +51 -65
- package/examples/showcase/code-reviewer.ossa.yaml +28 -31
- package/examples/showcase/compliance-validator.ossa.yaml +31 -32
- package/examples/showcase/content-writer.ossa.yaml +35 -32
- package/examples/showcase/data-transformer.ossa.yaml +35 -37
- package/examples/showcase/doc-generator.ossa.yaml +33 -35
- package/examples/showcase/security-scanner.ossa.yaml +33 -32
- package/examples/showcase/test-generator.ossa.yaml +25 -51
- package/examples/showcase/workflow-orchestrator.ossa.yaml +63 -78
- 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 +1 -1
- package/examples/workflows/batch-email-campaign.yaml +1 -1
- package/examples/workflows/content-review-publish.yaml +1 -1
- package/examples/workflows/simple-etl.yaml +1 -1
- package/junit.xml +1469 -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 +1316 -110
- 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 +3 -3
- 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 +1 -1
- package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +1 -1
- 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 +3 -3
- 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 +1 -1
- package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +3 -3
- package/openapi/reference-implementations/self-evolving-ecosystem.openapi.yaml +1 -1
- package/openapi/reference-implementations/worker-agent-api.openapi.yaml +1 -1
- 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 +29 -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 +10 -10
- 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.2/MIGRATION-v0.3.1-to-v0.3.2.md +19 -19
- package/spec/v0.3.2/UNIFIED-SCHEMA.md +3 -3
- package/spec/v0.3.2/access_tiers.yaml +2 -2
- package/spec/v0.3.2/adapters/drupal.md +7 -7
- package/spec/v0.3.2/adapters/symfony.md +4 -4
- package/spec/v0.3.2/agent-test.schema.json +2 -2
- package/spec/v0.3.2/examples/access-tiers/README.md +4 -4
- package/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +8 -22
- package/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +11 -29
- package/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +9 -27
- package/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +4 -23
- package/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +9 -24
- package/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +5 -10
- package/spec/v0.3.2/examples/drupal-content-writer.ossa.yaml +31 -50
- package/spec/v0.3.2/examples/drupal-moderation-assistant.ossa.yaml +27 -43
- package/spec/v0.3.2/examples/multi-provider-identity.ossa.yaml +4 -35
- package/spec/v0.3.2/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +5 -18
- package/spec/v0.3.2/examples/tasks/data-transform.ossa.yaml +37 -47
- package/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +21 -43
- package/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +59 -76
- package/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +80 -92
- package/spec/v0.3.2/extensions/agent-identity.yaml +3 -3
- package/spec/v0.3.2/extensions/drupal.md +5 -5
- package/spec/v0.3.2/infrastructure/service-ports.yaml +1 -1
- package/spec/v0.3.2/ossa-0.3.2.schema.json +86 -15
- package/spec/v0.3.2/protocols/delegation.yaml +1 -1
- package/spec/v0.3.2/protocols/websocket.md +2 -2
- package/spec/v0.3.2/runtime/RUNTIME.md +3 -3
- package/spec/v0.3.2/runtime/memory-model.yaml +4 -4
- package/spec/v0.3.2/runtime/runtime.yaml +4 -4
- package/spec/v0.3.2/schemas/agent-unified.yaml +2 -2
- package/spec/v0.3.2/schemas/capabilities.yaml +2 -2
- package/spec/v0.3.2/schemas/functions.yaml +2 -2
- package/spec/v0.3.2/schemas/messaging/channel.schema.json +2 -2
- package/spec/v0.3.2/schemas/messaging/delivery-receipt.schema.json +2 -2
- package/spec/v0.3.2/schemas/messaging/message.schema.json +3 -3
- package/spec/v0.3.2/schemas/messaging/subscription.schema.json +2 -2
- package/spec/v0.3.2/schemas/runtime.yaml +2 -2
- package/spec/v0.3.2/schemas/taxonomy.yaml +3 -3
- package/spec/v0.3.2/schemas/unified-llm.yaml +2 -2
- package/spec/v0.3.2/taxonomy.yaml +2 -2
- package/spec/v0.3.3/MIGRATION-v0.3.2-to-v0.3.3.md +117 -0
- package/spec/{v0.3.0 → v0.3.3}/UNIFIED-SCHEMA.md +3 -3
- package/spec/v0.3.3/access_tiers.yaml +375 -0
- package/{dist/spec/v0.3.0 → spec/v0.3.3}/adapters/drupal.md +7 -7
- package/spec/{v0.3.0 → v0.3.3}/adapters/symfony.md +4 -4
- package/{dist/spec/v0.3.0 → spec/v0.3.3}/agent-test.schema.json +2 -2
- 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.0 → v0.3.3}/examples/drupal-content-writer.ossa.yaml +31 -50
- package/spec/{v0.3.0 → v0.3.3}/examples/drupal-moderation-assistant.ossa.yaml +27 -43
- package/spec/v0.3.3/examples/multi-provider-identity.ossa.yaml +205 -0
- package/spec/{v0.3.0 → v0.3.3}/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +5 -18
- 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.0 → v0.3.3}/extensions/drupal.md +5 -5
- 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.0 → v0.3.3}/protocols/websocket.md +2 -2
- 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.0 → v0.3.3}/schemas/agent-unified.yaml +2 -2
- package/spec/{v0.3.0 → v0.3.3}/schemas/capabilities.yaml +2 -2
- package/spec/{v0.3.0 → v0.3.3}/schemas/functions.yaml +2 -2
- package/spec/{v0.3.0 → v0.3.3}/schemas/messaging/channel.schema.json +2 -2
- package/spec/{v0.3.0 → v0.3.3}/schemas/messaging/delivery-receipt.schema.json +2 -2
- package/{dist/spec/v0.3.0 → spec/v0.3.3}/schemas/messaging/message.schema.json +3 -3
- package/spec/{v0.3.0 → v0.3.3}/schemas/messaging/subscription.schema.json +2 -2
- package/{dist/spec/v0.3.0 → spec/v0.3.3}/schemas/runtime.yaml +2 -2
- package/spec/{v0.3.0 → v0.3.3}/schemas/taxonomy.yaml +3 -3
- package/{dist/spec/v0.3.0 → spec/v0.3.3}/schemas/unified-llm.yaml +2 -2
- package/{dist/spec/v0.3.0 → spec/v0.3.3}/taxonomy.yaml +114 -7
- package/.devfile.yaml +0 -87
- package/.gitlab-ci-trigger +0 -1
- 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/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/spec/v0.3.0/ossa-0.3.0.schema.json +0 -2787
- /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/{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/dist/spec/{v0.3.0 → v0.3.3}/protocols/sse.md +0 -0
- /package/dist/spec/{v0.3.0 → v0.3.3}/protocols/webrtc.md +0 -0
- /package/dist/spec/{v0.3.0 → v0.3.3}/runtime-bindings/anthropic.yaml +0 -0
- /package/spec/{v0.3.0 → v0.3.3}/protocols/sse.md +0 -0
- /package/spec/{v0.3.0 → v0.3.3}/protocols/webrtc.md +0 -0
- /package/spec/{v0.3.0 → v0.3.3}/runtime-bindings/anthropic.yaml +0 -0
|
@@ -0,0 +1,1519 @@
|
|
|
1
|
+
# LlamaIndex Extension for OSSA v0.3.3
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
The `extensions.llamaindex` schema provides comprehensive bidirectional mappings between LlamaIndex's data framework components and OSSA manifest constructs. LlamaIndex is a data framework for LLM applications that enables structured data access, indexing, and retrieval for AI agents.
|
|
6
|
+
|
|
7
|
+
This extension supports:
|
|
8
|
+
- **Agents**: ReAct, OpenAI, Custom agent types mapped to OSSA Agent kind
|
|
9
|
+
- **Tools**: LlamaIndex tools mapped to OSSA capabilities
|
|
10
|
+
- **Query Engines**: Query engines mapped to OSSA Task kind
|
|
11
|
+
- **Indices**: Vector, List, Tree, and custom indices as OSSA resources
|
|
12
|
+
- **Storage Context**: Persistence layer mapped to OSSA state
|
|
13
|
+
- **Service Context**: Runtime configuration as OSSA runtime settings
|
|
14
|
+
- **Callbacks**: Observability handlers mapped to OSSA observability
|
|
15
|
+
- **Workflows**: LlamaIndex Workflows mapped to OSSA Workflow kind
|
|
16
|
+
|
|
17
|
+
## Schema Definition
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
extensions:
|
|
21
|
+
llamaindex:
|
|
22
|
+
type: object
|
|
23
|
+
description: "LlamaIndex framework extension for OSSA v0.3.3"
|
|
24
|
+
properties:
|
|
25
|
+
agent_type:
|
|
26
|
+
type: string
|
|
27
|
+
enum:
|
|
28
|
+
- react # ReActAgent - reasoning + action loops
|
|
29
|
+
- openai # OpenAIAgent - OpenAI function calling
|
|
30
|
+
- custom # CustomAgent - user-defined agent logic
|
|
31
|
+
- structured # StructuredPlannerAgent - multi-step planning
|
|
32
|
+
- lats # LATSAgentWorker - language agent tree search
|
|
33
|
+
- introspective # IntrospectiveAgent - self-reflection
|
|
34
|
+
description: "LlamaIndex agent type classification"
|
|
35
|
+
default: "react"
|
|
36
|
+
|
|
37
|
+
index_config:
|
|
38
|
+
type: object
|
|
39
|
+
description: "Index configuration for retrieval-augmented generation"
|
|
40
|
+
properties:
|
|
41
|
+
type:
|
|
42
|
+
type: string
|
|
43
|
+
enum:
|
|
44
|
+
- vector # VectorStoreIndex - embedding similarity
|
|
45
|
+
- list # SummaryIndex - sequential document list
|
|
46
|
+
- tree # TreeIndex - hierarchical summarization
|
|
47
|
+
- keyword # KeywordTableIndex - keyword extraction
|
|
48
|
+
- knowledge_graph # KnowledgeGraphIndex - entity relationships
|
|
49
|
+
- document_summary # DocumentSummaryIndex - per-document summaries
|
|
50
|
+
- property_graph # PropertyGraphIndex - property graph queries
|
|
51
|
+
- sql # SQLStructStoreIndex - SQL database
|
|
52
|
+
- pandas # PandasIndex - DataFrame operations
|
|
53
|
+
- custom # Custom index implementation
|
|
54
|
+
description: "Index type for document retrieval"
|
|
55
|
+
default: "vector"
|
|
56
|
+
|
|
57
|
+
embed_model:
|
|
58
|
+
type: object
|
|
59
|
+
description: "Embedding model configuration"
|
|
60
|
+
properties:
|
|
61
|
+
provider:
|
|
62
|
+
type: string
|
|
63
|
+
enum: ["openai", "huggingface", "cohere", "ollama", "azure", "vertex", "bedrock", "custom"]
|
|
64
|
+
description: "Embedding provider"
|
|
65
|
+
model:
|
|
66
|
+
type: string
|
|
67
|
+
description: "Model identifier (e.g., text-embedding-3-large)"
|
|
68
|
+
examples:
|
|
69
|
+
- "text-embedding-3-large"
|
|
70
|
+
- "text-embedding-ada-002"
|
|
71
|
+
- "BAAI/bge-large-en-v1.5"
|
|
72
|
+
dimensions:
|
|
73
|
+
type: integer
|
|
74
|
+
description: "Embedding dimensions (for truncation/padding)"
|
|
75
|
+
minimum: 1
|
|
76
|
+
maximum: 8192
|
|
77
|
+
|
|
78
|
+
similarity_top_k:
|
|
79
|
+
type: integer
|
|
80
|
+
description: "Number of similar documents to retrieve"
|
|
81
|
+
default: 5
|
|
82
|
+
minimum: 1
|
|
83
|
+
maximum: 100
|
|
84
|
+
|
|
85
|
+
similarity_cutoff:
|
|
86
|
+
type: number
|
|
87
|
+
description: "Minimum similarity score threshold"
|
|
88
|
+
minimum: 0
|
|
89
|
+
maximum: 1
|
|
90
|
+
|
|
91
|
+
chunk_size:
|
|
92
|
+
type: integer
|
|
93
|
+
description: "Document chunk size for indexing"
|
|
94
|
+
default: 1024
|
|
95
|
+
minimum: 64
|
|
96
|
+
maximum: 32768
|
|
97
|
+
|
|
98
|
+
chunk_overlap:
|
|
99
|
+
type: integer
|
|
100
|
+
description: "Overlap between chunks"
|
|
101
|
+
default: 20
|
|
102
|
+
minimum: 0
|
|
103
|
+
|
|
104
|
+
node_parser:
|
|
105
|
+
type: string
|
|
106
|
+
enum: ["simple", "sentence", "semantic", "hierarchical", "markdown", "json", "code", "custom"]
|
|
107
|
+
description: "Node parser type for document chunking"
|
|
108
|
+
default: "simple"
|
|
109
|
+
|
|
110
|
+
transformations:
|
|
111
|
+
type: array
|
|
112
|
+
items:
|
|
113
|
+
type: string
|
|
114
|
+
enum: ["title_extractor", "keyword_extractor", "qa_extractor", "summary_extractor", "entity_extractor", "custom"]
|
|
115
|
+
description: "Document transformation pipeline"
|
|
116
|
+
|
|
117
|
+
reranker:
|
|
118
|
+
type: object
|
|
119
|
+
description: "Reranking configuration for improved retrieval"
|
|
120
|
+
properties:
|
|
121
|
+
type:
|
|
122
|
+
type: string
|
|
123
|
+
enum: ["cohere", "colbert", "bge", "sentence_transformer", "llm", "custom"]
|
|
124
|
+
model:
|
|
125
|
+
type: string
|
|
126
|
+
description: "Reranker model identifier"
|
|
127
|
+
top_n:
|
|
128
|
+
type: integer
|
|
129
|
+
description: "Number of documents after reranking"
|
|
130
|
+
default: 3
|
|
131
|
+
|
|
132
|
+
storage_context:
|
|
133
|
+
type: object
|
|
134
|
+
description: "Storage context configuration for persistence"
|
|
135
|
+
properties:
|
|
136
|
+
docstore:
|
|
137
|
+
type: object
|
|
138
|
+
description: "Document store configuration"
|
|
139
|
+
properties:
|
|
140
|
+
type:
|
|
141
|
+
type: string
|
|
142
|
+
enum: ["simple", "mongodb", "redis", "firestore", "dynamodb", "postgres", "custom"]
|
|
143
|
+
default: "simple"
|
|
144
|
+
connection_uri:
|
|
145
|
+
type: string
|
|
146
|
+
description: "Database connection URI (env var reference supported)"
|
|
147
|
+
namespace:
|
|
148
|
+
type: string
|
|
149
|
+
description: "Namespace/collection for documents"
|
|
150
|
+
|
|
151
|
+
index_store:
|
|
152
|
+
type: object
|
|
153
|
+
description: "Index metadata store"
|
|
154
|
+
properties:
|
|
155
|
+
type:
|
|
156
|
+
type: string
|
|
157
|
+
enum: ["simple", "mongodb", "redis", "postgres", "custom"]
|
|
158
|
+
default: "simple"
|
|
159
|
+
connection_uri:
|
|
160
|
+
type: string
|
|
161
|
+
|
|
162
|
+
vector_store:
|
|
163
|
+
type: object
|
|
164
|
+
description: "Vector store for embeddings"
|
|
165
|
+
properties:
|
|
166
|
+
type:
|
|
167
|
+
type: string
|
|
168
|
+
enum:
|
|
169
|
+
- simple # In-memory
|
|
170
|
+
- chroma # ChromaDB
|
|
171
|
+
- pinecone # Pinecone
|
|
172
|
+
- weaviate # Weaviate
|
|
173
|
+
- qdrant # Qdrant
|
|
174
|
+
- milvus # Milvus/Zilliz
|
|
175
|
+
- pgvector # PostgreSQL pgvector
|
|
176
|
+
- faiss # FAISS
|
|
177
|
+
- elasticsearch # Elasticsearch
|
|
178
|
+
- opensearch # OpenSearch
|
|
179
|
+
- lancedb # LanceDB
|
|
180
|
+
- deeplake # Deep Lake
|
|
181
|
+
- custom
|
|
182
|
+
description: "Vector database type"
|
|
183
|
+
connection_uri:
|
|
184
|
+
type: string
|
|
185
|
+
description: "Vector store connection URI"
|
|
186
|
+
collection_name:
|
|
187
|
+
type: string
|
|
188
|
+
description: "Collection/index name"
|
|
189
|
+
dimension:
|
|
190
|
+
type: integer
|
|
191
|
+
description: "Vector dimensions"
|
|
192
|
+
distance_metric:
|
|
193
|
+
type: string
|
|
194
|
+
enum: ["cosine", "euclidean", "dot_product", "ip"]
|
|
195
|
+
default: "cosine"
|
|
196
|
+
|
|
197
|
+
graph_store:
|
|
198
|
+
type: object
|
|
199
|
+
description: "Graph store for knowledge graphs"
|
|
200
|
+
properties:
|
|
201
|
+
type:
|
|
202
|
+
type: string
|
|
203
|
+
enum: ["simple", "neo4j", "nebula", "kuzu", "falkordb", "custom"]
|
|
204
|
+
connection_uri:
|
|
205
|
+
type: string
|
|
206
|
+
|
|
207
|
+
persist_dir:
|
|
208
|
+
type: string
|
|
209
|
+
description: "Local directory for file-based persistence"
|
|
210
|
+
|
|
211
|
+
persist_strategy:
|
|
212
|
+
type: string
|
|
213
|
+
enum: ["on_change", "on_shutdown", "periodic", "manual"]
|
|
214
|
+
description: "When to persist state"
|
|
215
|
+
default: "on_change"
|
|
216
|
+
|
|
217
|
+
query_engine_config:
|
|
218
|
+
type: object
|
|
219
|
+
description: "Query engine configuration (maps to OSSA Task kind)"
|
|
220
|
+
properties:
|
|
221
|
+
type:
|
|
222
|
+
type: string
|
|
223
|
+
enum:
|
|
224
|
+
- retriever # Basic retrieval + synthesis
|
|
225
|
+
- router # Routes queries to sub-engines
|
|
226
|
+
- sub_question # Decomposes into sub-questions
|
|
227
|
+
- citation # Includes source citations
|
|
228
|
+
- knowledge_graph # Graph-based queries
|
|
229
|
+
- sql # SQL generation + execution
|
|
230
|
+
- pandas # DataFrame operations
|
|
231
|
+
- multi_step # Multi-hop reasoning
|
|
232
|
+
- flare # Forward-looking active retrieval
|
|
233
|
+
- custom
|
|
234
|
+
description: "Query engine type"
|
|
235
|
+
default: "retriever"
|
|
236
|
+
|
|
237
|
+
response_synthesizer:
|
|
238
|
+
type: object
|
|
239
|
+
description: "Response synthesis configuration"
|
|
240
|
+
properties:
|
|
241
|
+
mode:
|
|
242
|
+
type: string
|
|
243
|
+
enum:
|
|
244
|
+
- refine # Iterative refinement
|
|
245
|
+
- compact # Compact context
|
|
246
|
+
- tree_summarize # Hierarchical summarization
|
|
247
|
+
- simple # Simple generation
|
|
248
|
+
- accumulate # Accumulate responses
|
|
249
|
+
- compact_accumulate # Compact + accumulate
|
|
250
|
+
description: "Response synthesis mode"
|
|
251
|
+
default: "compact"
|
|
252
|
+
|
|
253
|
+
streaming:
|
|
254
|
+
type: boolean
|
|
255
|
+
description: "Enable streaming responses"
|
|
256
|
+
default: false
|
|
257
|
+
|
|
258
|
+
retriever:
|
|
259
|
+
type: object
|
|
260
|
+
description: "Retriever configuration"
|
|
261
|
+
properties:
|
|
262
|
+
type:
|
|
263
|
+
type: string
|
|
264
|
+
enum: ["vector", "bm25", "hybrid", "auto_merging", "recursive", "custom"]
|
|
265
|
+
default: "vector"
|
|
266
|
+
top_k:
|
|
267
|
+
type: integer
|
|
268
|
+
default: 5
|
|
269
|
+
alpha:
|
|
270
|
+
type: number
|
|
271
|
+
description: "Hybrid search alpha (0=keyword, 1=vector)"
|
|
272
|
+
minimum: 0
|
|
273
|
+
maximum: 1
|
|
274
|
+
|
|
275
|
+
post_processors:
|
|
276
|
+
type: array
|
|
277
|
+
description: "Post-processing nodes after retrieval"
|
|
278
|
+
items:
|
|
279
|
+
type: object
|
|
280
|
+
properties:
|
|
281
|
+
type:
|
|
282
|
+
type: string
|
|
283
|
+
enum:
|
|
284
|
+
- similarity_cutoff
|
|
285
|
+
- keyword_filter
|
|
286
|
+
- metadata_filter
|
|
287
|
+
- sentence_reorder
|
|
288
|
+
- time_weighted
|
|
289
|
+
- cohere_rerank
|
|
290
|
+
- llm_rerank
|
|
291
|
+
- custom
|
|
292
|
+
config:
|
|
293
|
+
type: object
|
|
294
|
+
additionalProperties: true
|
|
295
|
+
|
|
296
|
+
tools:
|
|
297
|
+
type: array
|
|
298
|
+
description: "LlamaIndex tool configurations (maps to OSSA capabilities)"
|
|
299
|
+
items:
|
|
300
|
+
type: object
|
|
301
|
+
required: ["name", "type"]
|
|
302
|
+
properties:
|
|
303
|
+
name:
|
|
304
|
+
type: string
|
|
305
|
+
description: "Tool name"
|
|
306
|
+
type:
|
|
307
|
+
type: string
|
|
308
|
+
enum:
|
|
309
|
+
- query_engine # QueryEngineTool
|
|
310
|
+
- function # FunctionTool
|
|
311
|
+
- retriever # RetrieverTool
|
|
312
|
+
- on_demand_loader # OnDemandLoaderTool
|
|
313
|
+
- load_and_search # LoadAndSearchToolSpec
|
|
314
|
+
- code_interpreter # CodeInterpreterToolSpec
|
|
315
|
+
- wolfram # WolframAlphaToolSpec
|
|
316
|
+
- google_search # GoogleSearchToolSpec
|
|
317
|
+
- arxiv # ArxivToolSpec
|
|
318
|
+
- wikipedia # WikipediaToolSpec
|
|
319
|
+
- sql # SQLToolSpec
|
|
320
|
+
- mcp # MCP server tool
|
|
321
|
+
- custom
|
|
322
|
+
description: "Tool type"
|
|
323
|
+
description:
|
|
324
|
+
type: string
|
|
325
|
+
description: "Tool description for agent"
|
|
326
|
+
return_direct:
|
|
327
|
+
type: boolean
|
|
328
|
+
description: "Return tool result directly without LLM processing"
|
|
329
|
+
default: false
|
|
330
|
+
mcp_server:
|
|
331
|
+
type: string
|
|
332
|
+
description: "MCP server name (for type: mcp)"
|
|
333
|
+
config:
|
|
334
|
+
type: object
|
|
335
|
+
description: "Tool-specific configuration"
|
|
336
|
+
additionalProperties: true
|
|
337
|
+
|
|
338
|
+
service_context:
|
|
339
|
+
type: object
|
|
340
|
+
description: "Service context / runtime settings (DEPRECATED in favor of Settings)"
|
|
341
|
+
properties:
|
|
342
|
+
llm:
|
|
343
|
+
type: object
|
|
344
|
+
description: "LLM configuration (inherits from spec.llm)"
|
|
345
|
+
properties:
|
|
346
|
+
provider:
|
|
347
|
+
type: string
|
|
348
|
+
enum: ["openai", "anthropic", "azure", "huggingface", "ollama", "groq", "together", "bedrock", "vertex", "custom"]
|
|
349
|
+
model:
|
|
350
|
+
type: string
|
|
351
|
+
temperature:
|
|
352
|
+
type: number
|
|
353
|
+
max_tokens:
|
|
354
|
+
type: integer
|
|
355
|
+
context_window:
|
|
356
|
+
type: integer
|
|
357
|
+
description: "Context window size"
|
|
358
|
+
|
|
359
|
+
callback_manager:
|
|
360
|
+
$ref: "#/definitions/CallbackManagerConfig"
|
|
361
|
+
|
|
362
|
+
node_parser:
|
|
363
|
+
type: string
|
|
364
|
+
description: "Default node parser"
|
|
365
|
+
|
|
366
|
+
prompt_helper:
|
|
367
|
+
type: object
|
|
368
|
+
description: "Prompt helper configuration"
|
|
369
|
+
properties:
|
|
370
|
+
context_window:
|
|
371
|
+
type: integer
|
|
372
|
+
num_output:
|
|
373
|
+
type: integer
|
|
374
|
+
chunk_overlap_ratio:
|
|
375
|
+
type: number
|
|
376
|
+
chunk_size_limit:
|
|
377
|
+
type: integer
|
|
378
|
+
|
|
379
|
+
callbacks:
|
|
380
|
+
type: object
|
|
381
|
+
description: "Callback/observability configuration (maps to OSSA observability)"
|
|
382
|
+
properties:
|
|
383
|
+
handlers:
|
|
384
|
+
type: array
|
|
385
|
+
description: "Callback handler configurations"
|
|
386
|
+
items:
|
|
387
|
+
type: object
|
|
388
|
+
required: ["type"]
|
|
389
|
+
properties:
|
|
390
|
+
type:
|
|
391
|
+
type: string
|
|
392
|
+
enum:
|
|
393
|
+
- llama_debug # LlamaDebugHandler
|
|
394
|
+
- wandb # WandbCallbackHandler
|
|
395
|
+
- arize_phoenix # ArizePhoenixCallbackHandler
|
|
396
|
+
- openinference # OpenInferenceCallbackHandler
|
|
397
|
+
- langfuse # LangfuseCallbackHandler
|
|
398
|
+
- aim # AimCallback
|
|
399
|
+
- simple # SimpleSpanHandler
|
|
400
|
+
- opentelemetry # OpenTelemetry integration
|
|
401
|
+
- custom
|
|
402
|
+
description: "Callback handler type"
|
|
403
|
+
config:
|
|
404
|
+
type: object
|
|
405
|
+
description: "Handler-specific configuration"
|
|
406
|
+
additionalProperties: true
|
|
407
|
+
|
|
408
|
+
trace_events:
|
|
409
|
+
type: array
|
|
410
|
+
description: "Events to trace"
|
|
411
|
+
items:
|
|
412
|
+
type: string
|
|
413
|
+
enum:
|
|
414
|
+
- llm_start
|
|
415
|
+
- llm_end
|
|
416
|
+
- llm_stream
|
|
417
|
+
- embedding_start
|
|
418
|
+
- embedding_end
|
|
419
|
+
- retrieval_start
|
|
420
|
+
- retrieval_end
|
|
421
|
+
- synthesize_start
|
|
422
|
+
- synthesize_end
|
|
423
|
+
- query_start
|
|
424
|
+
- query_end
|
|
425
|
+
- reranking_start
|
|
426
|
+
- reranking_end
|
|
427
|
+
- agent_step
|
|
428
|
+
- tool_call
|
|
429
|
+
- exception
|
|
430
|
+
default: ["llm_start", "llm_end", "query_start", "query_end"]
|
|
431
|
+
|
|
432
|
+
workflows:
|
|
433
|
+
type: object
|
|
434
|
+
description: "LlamaIndex Workflows configuration (maps to OSSA Workflow kind)"
|
|
435
|
+
properties:
|
|
436
|
+
enabled:
|
|
437
|
+
type: boolean
|
|
438
|
+
description: "Enable LlamaIndex Workflows integration"
|
|
439
|
+
default: false
|
|
440
|
+
|
|
441
|
+
events:
|
|
442
|
+
type: array
|
|
443
|
+
description: "Custom event type definitions"
|
|
444
|
+
items:
|
|
445
|
+
type: object
|
|
446
|
+
properties:
|
|
447
|
+
name:
|
|
448
|
+
type: string
|
|
449
|
+
description: "Event class name"
|
|
450
|
+
schema:
|
|
451
|
+
$ref: "#/definitions/JSONSchemaDefinition"
|
|
452
|
+
description: "Event payload schema"
|
|
453
|
+
|
|
454
|
+
steps:
|
|
455
|
+
type: array
|
|
456
|
+
description: "Workflow step definitions (alternative to OSSA Workflow steps)"
|
|
457
|
+
items:
|
|
458
|
+
type: object
|
|
459
|
+
required: ["name", "handler"]
|
|
460
|
+
properties:
|
|
461
|
+
name:
|
|
462
|
+
type: string
|
|
463
|
+
description: "Step name (maps to @step decorator)"
|
|
464
|
+
handler:
|
|
465
|
+
type: string
|
|
466
|
+
description: "Handler function path"
|
|
467
|
+
input_events:
|
|
468
|
+
type: array
|
|
469
|
+
items:
|
|
470
|
+
type: string
|
|
471
|
+
description: "Events this step listens to"
|
|
472
|
+
output_events:
|
|
473
|
+
type: array
|
|
474
|
+
items:
|
|
475
|
+
type: string
|
|
476
|
+
description: "Events this step emits"
|
|
477
|
+
num_workers:
|
|
478
|
+
type: integer
|
|
479
|
+
description: "Parallel workers for this step"
|
|
480
|
+
default: 1
|
|
481
|
+
|
|
482
|
+
context:
|
|
483
|
+
type: object
|
|
484
|
+
description: "Workflow context configuration"
|
|
485
|
+
properties:
|
|
486
|
+
collect_events:
|
|
487
|
+
type: boolean
|
|
488
|
+
default: false
|
|
489
|
+
streaming:
|
|
490
|
+
type: boolean
|
|
491
|
+
default: false
|
|
492
|
+
|
|
493
|
+
additionalProperties: true
|
|
494
|
+
```
|
|
495
|
+
|
|
496
|
+
## Bidirectional Mapping Tables
|
|
497
|
+
|
|
498
|
+
### Agent Type Mappings
|
|
499
|
+
|
|
500
|
+
| LlamaIndex Agent | OSSA Kind | OSSA spec.type | Notes |
|
|
501
|
+
|-----------------|-----------|----------------|-------|
|
|
502
|
+
| `ReActAgent` | Agent | orchestrator | Reasoning + action loops with tool use |
|
|
503
|
+
| `OpenAIAgent` | Agent | specialist | OpenAI function calling optimization |
|
|
504
|
+
| `CustomAgent` | Agent | worker | User-defined agent logic |
|
|
505
|
+
| `StructuredPlannerAgent` | Agent | orchestrator | Multi-step planning with structured output |
|
|
506
|
+
| `LATSAgentWorker` | Agent | orchestrator | Tree search for complex reasoning |
|
|
507
|
+
| `IntrospectiveAgent` | Agent | critic | Self-reflection and correction |
|
|
508
|
+
| `FunctionCallingAgent` | Agent | specialist | Generic function calling |
|
|
509
|
+
| `ParallelAgentRunner` | Workflow | - | Multi-agent coordination |
|
|
510
|
+
|
|
511
|
+
### Tool Mappings
|
|
512
|
+
|
|
513
|
+
| LlamaIndex Tool | OSSA Capability | OSSA Tool Type |
|
|
514
|
+
|-----------------|-----------------|----------------|
|
|
515
|
+
| `QueryEngineTool` | query_data | function |
|
|
516
|
+
| `FunctionTool` | (custom) | function |
|
|
517
|
+
| `RetrieverTool` | retrieve_documents | function |
|
|
518
|
+
| `OnDemandLoaderTool` | load_documents | function |
|
|
519
|
+
| `LoadAndSearchToolSpec` | search_and_load | function |
|
|
520
|
+
| `CodeInterpreterToolSpec` | execute_code | function |
|
|
521
|
+
| `WolframAlphaToolSpec` | compute_math | api |
|
|
522
|
+
| `GoogleSearchToolSpec` | web_search | api |
|
|
523
|
+
| `ArxivToolSpec` | search_papers | api |
|
|
524
|
+
| `WikipediaToolSpec` | search_wiki | api |
|
|
525
|
+
| `SQLToolSpec` | query_database | function |
|
|
526
|
+
|
|
527
|
+
### Index Type Mappings
|
|
528
|
+
|
|
529
|
+
| LlamaIndex Index | OSSA Resource | Use Case |
|
|
530
|
+
|-----------------|---------------|----------|
|
|
531
|
+
| `VectorStoreIndex` | vector_store | Semantic similarity search |
|
|
532
|
+
| `SummaryIndex` | document_list | Sequential document access |
|
|
533
|
+
| `TreeIndex` | tree_structure | Hierarchical summarization |
|
|
534
|
+
| `KeywordTableIndex` | keyword_index | Keyword-based retrieval |
|
|
535
|
+
| `KnowledgeGraphIndex` | knowledge_graph | Entity relationship queries |
|
|
536
|
+
| `DocumentSummaryIndex` | summary_store | Per-document summaries |
|
|
537
|
+
| `PropertyGraphIndex` | property_graph | Property graph queries |
|
|
538
|
+
| `SQLStructStoreIndex` | sql_database | Structured SQL queries |
|
|
539
|
+
| `PandasIndex` | dataframe | DataFrame operations |
|
|
540
|
+
|
|
541
|
+
### Query Engine to Task Mapping
|
|
542
|
+
|
|
543
|
+
| LlamaIndex Query Engine | OSSA Task execution.type | Description |
|
|
544
|
+
|------------------------|-------------------------|-------------|
|
|
545
|
+
| `RetrieverQueryEngine` | deterministic | Basic retrieve + synthesize |
|
|
546
|
+
| `RouterQueryEngine` | deterministic | Route to appropriate sub-engine |
|
|
547
|
+
| `SubQuestionQueryEngine` | deterministic | Decompose into sub-questions |
|
|
548
|
+
| `CitationQueryEngine` | deterministic | Include source citations |
|
|
549
|
+
| `KnowledgeGraphQueryEngine` | deterministic | Graph traversal queries |
|
|
550
|
+
| `NLSQLTableQueryEngine` | transactional | SQL generation + execution |
|
|
551
|
+
| `PandasQueryEngine` | idempotent | DataFrame operations |
|
|
552
|
+
| `MultiStepQueryEngine` | deterministic | Multi-hop reasoning |
|
|
553
|
+
| `FLAREInstructQueryEngine` | deterministic | Active retrieval |
|
|
554
|
+
|
|
555
|
+
### Callback Handler to Observability Mapping
|
|
556
|
+
|
|
557
|
+
| LlamaIndex Handler | OSSA Observability | Integration |
|
|
558
|
+
|-------------------|-------------------|-------------|
|
|
559
|
+
| `LlamaDebugHandler` | logging.level: debug | Development debugging |
|
|
560
|
+
| `WandbCallbackHandler` | metrics.enabled: true | Weights & Biases |
|
|
561
|
+
| `ArizePhoenixCallbackHandler` | tracing.enabled: true | Arize Phoenix |
|
|
562
|
+
| `OpenInferenceCallbackHandler` | tracing.enabled: true | OpenInference/Phoenix |
|
|
563
|
+
| `LangfuseCallbackHandler` | tracing.enabled: true | Langfuse |
|
|
564
|
+
| `AimCallback` | metrics.enabled: true | Aim |
|
|
565
|
+
| `OpenTelemetry` | tracing.enabled: true | OTEL export |
|
|
566
|
+
|
|
567
|
+
### Storage Context to State Mapping
|
|
568
|
+
|
|
569
|
+
| LlamaIndex Storage | OSSA State | Persistence |
|
|
570
|
+
|-------------------|------------|-------------|
|
|
571
|
+
| `SimpleDocumentStore` | state.type: in_memory | In-memory |
|
|
572
|
+
| `MongoDocumentStore` | state.type: external | MongoDB |
|
|
573
|
+
| `RedisDocumentStore` | state.type: external | Redis |
|
|
574
|
+
| `SimpleVectorStore` | state.type: in_memory | In-memory vectors |
|
|
575
|
+
| `ChromaVectorStore` | state.type: external | ChromaDB |
|
|
576
|
+
| `PineconeVectorStore` | state.type: external | Pinecone |
|
|
577
|
+
| `QdrantVectorStore` | state.type: external | Qdrant |
|
|
578
|
+
| `WeaviateVectorStore` | state.type: external | Weaviate |
|
|
579
|
+
| `PGVectorStore` | state.type: external | PostgreSQL |
|
|
580
|
+
|
|
581
|
+
### LlamaIndex Workflows to OSSA Workflow Mapping
|
|
582
|
+
|
|
583
|
+
| LlamaIndex Workflow | OSSA Workflow |
|
|
584
|
+
|--------------------|---------------|
|
|
585
|
+
| `@workflow` class | kind: Workflow |
|
|
586
|
+
| `@step` decorator | spec.steps[].kind: Task |
|
|
587
|
+
| `Event` class | spec.steps[].input/output |
|
|
588
|
+
| `Context` | spec.context.variables |
|
|
589
|
+
| `run()` | spec.triggers[].type: manual |
|
|
590
|
+
| `stream_events()` | spec.observability.tracing.enabled |
|
|
591
|
+
| `num_workers` | spec.steps[].parallel |
|
|
592
|
+
|
|
593
|
+
## Example Manifests
|
|
594
|
+
|
|
595
|
+
### 1. RAG Agent with Vector Index
|
|
596
|
+
|
|
597
|
+
```yaml
|
|
598
|
+
apiVersion: ossa/v0.3.3
|
|
599
|
+
kind: Agent
|
|
600
|
+
metadata:
|
|
601
|
+
name: rag-researcher
|
|
602
|
+
version: 1.0.0
|
|
603
|
+
description: "Research agent with RAG capabilities"
|
|
604
|
+
labels:
|
|
605
|
+
domain: research
|
|
606
|
+
framework: llamaindex
|
|
607
|
+
|
|
608
|
+
spec:
|
|
609
|
+
role: |
|
|
610
|
+
You are a research assistant with access to a knowledge base.
|
|
611
|
+
Use the query tool to find relevant information before answering.
|
|
612
|
+
Always cite your sources.
|
|
613
|
+
|
|
614
|
+
llm:
|
|
615
|
+
provider: anthropic
|
|
616
|
+
model: claude-sonnet-4-20250514
|
|
617
|
+
temperature: 0.1
|
|
618
|
+
maxTokens: 4096
|
|
619
|
+
|
|
620
|
+
tools:
|
|
621
|
+
- type: function
|
|
622
|
+
name: query_knowledge_base
|
|
623
|
+
description: "Search the research knowledge base"
|
|
624
|
+
parameters:
|
|
625
|
+
type: object
|
|
626
|
+
properties:
|
|
627
|
+
query:
|
|
628
|
+
type: string
|
|
629
|
+
description: "Search query"
|
|
630
|
+
required: ["query"]
|
|
631
|
+
|
|
632
|
+
autonomy:
|
|
633
|
+
level: 3
|
|
634
|
+
max_iterations: 10
|
|
635
|
+
|
|
636
|
+
state:
|
|
637
|
+
type: external
|
|
638
|
+
persistence:
|
|
639
|
+
type: vector_store
|
|
640
|
+
location: qdrant://localhost:6333/research
|
|
641
|
+
|
|
642
|
+
extensions:
|
|
643
|
+
llamaindex:
|
|
644
|
+
agent_type: react
|
|
645
|
+
|
|
646
|
+
index_config:
|
|
647
|
+
type: vector
|
|
648
|
+
embed_model:
|
|
649
|
+
provider: openai
|
|
650
|
+
model: text-embedding-3-large
|
|
651
|
+
dimensions: 3072
|
|
652
|
+
similarity_top_k: 10
|
|
653
|
+
chunk_size: 512
|
|
654
|
+
chunk_overlap: 50
|
|
655
|
+
node_parser: semantic
|
|
656
|
+
transformations:
|
|
657
|
+
- title_extractor
|
|
658
|
+
- keyword_extractor
|
|
659
|
+
reranker:
|
|
660
|
+
type: cohere
|
|
661
|
+
model: rerank-english-v3.0
|
|
662
|
+
top_n: 5
|
|
663
|
+
|
|
664
|
+
storage_context:
|
|
665
|
+
vector_store:
|
|
666
|
+
type: qdrant
|
|
667
|
+
connection_uri: "${QDRANT_URL:-http://localhost:6333}"
|
|
668
|
+
collection_name: research_docs
|
|
669
|
+
dimension: 3072
|
|
670
|
+
distance_metric: cosine
|
|
671
|
+
docstore:
|
|
672
|
+
type: redis
|
|
673
|
+
connection_uri: "${REDIS_URL:-redis://localhost:6379}"
|
|
674
|
+
namespace: research
|
|
675
|
+
|
|
676
|
+
query_engine_config:
|
|
677
|
+
type: citation
|
|
678
|
+
response_synthesizer:
|
|
679
|
+
mode: tree_summarize
|
|
680
|
+
streaming: true
|
|
681
|
+
retriever:
|
|
682
|
+
type: hybrid
|
|
683
|
+
top_k: 10
|
|
684
|
+
alpha: 0.7
|
|
685
|
+
post_processors:
|
|
686
|
+
- type: cohere_rerank
|
|
687
|
+
config:
|
|
688
|
+
model: rerank-english-v3.0
|
|
689
|
+
top_n: 5
|
|
690
|
+
|
|
691
|
+
callbacks:
|
|
692
|
+
handlers:
|
|
693
|
+
- type: arize_phoenix
|
|
694
|
+
config:
|
|
695
|
+
endpoint: "${PHOENIX_ENDPOINT:-http://localhost:6006}"
|
|
696
|
+
- type: opentelemetry
|
|
697
|
+
config:
|
|
698
|
+
service_name: rag-researcher
|
|
699
|
+
exporter: otlp
|
|
700
|
+
trace_events:
|
|
701
|
+
- llm_start
|
|
702
|
+
- llm_end
|
|
703
|
+
- retrieval_start
|
|
704
|
+
- retrieval_end
|
|
705
|
+
- reranking_start
|
|
706
|
+
- reranking_end
|
|
707
|
+
|
|
708
|
+
runtime:
|
|
709
|
+
type: unified
|
|
710
|
+
supports:
|
|
711
|
+
- local-execution
|
|
712
|
+
- kubernetes
|
|
713
|
+
```
|
|
714
|
+
|
|
715
|
+
### 2. Multi-Tool OpenAI Agent
|
|
716
|
+
|
|
717
|
+
```yaml
|
|
718
|
+
apiVersion: ossa/v0.3.3
|
|
719
|
+
kind: Agent
|
|
720
|
+
metadata:
|
|
721
|
+
name: research-assistant
|
|
722
|
+
version: 1.0.0
|
|
723
|
+
description: "Multi-tool research assistant using OpenAI function calling"
|
|
724
|
+
|
|
725
|
+
spec:
|
|
726
|
+
role: |
|
|
727
|
+
You are a research assistant with access to multiple tools.
|
|
728
|
+
Use the appropriate tools to answer questions comprehensively.
|
|
729
|
+
|
|
730
|
+
llm:
|
|
731
|
+
provider: openai
|
|
732
|
+
model: gpt-4o
|
|
733
|
+
temperature: 0.2
|
|
734
|
+
|
|
735
|
+
tools:
|
|
736
|
+
- type: function
|
|
737
|
+
name: search_arxiv
|
|
738
|
+
description: "Search academic papers on arXiv"
|
|
739
|
+
- type: function
|
|
740
|
+
name: search_wikipedia
|
|
741
|
+
description: "Search Wikipedia for general knowledge"
|
|
742
|
+
- type: function
|
|
743
|
+
name: compute_math
|
|
744
|
+
description: "Compute mathematical expressions"
|
|
745
|
+
|
|
746
|
+
autonomy:
|
|
747
|
+
level: 4
|
|
748
|
+
max_iterations: 15
|
|
749
|
+
|
|
750
|
+
extensions:
|
|
751
|
+
llamaindex:
|
|
752
|
+
agent_type: openai
|
|
753
|
+
|
|
754
|
+
tools:
|
|
755
|
+
- name: search_arxiv
|
|
756
|
+
type: arxiv
|
|
757
|
+
description: "Search academic papers on arXiv"
|
|
758
|
+
config:
|
|
759
|
+
max_results: 10
|
|
760
|
+
|
|
761
|
+
- name: search_wikipedia
|
|
762
|
+
type: wikipedia
|
|
763
|
+
description: "Search Wikipedia articles"
|
|
764
|
+
config:
|
|
765
|
+
load_all_available_meta: true
|
|
766
|
+
|
|
767
|
+
- name: compute_math
|
|
768
|
+
type: wolfram
|
|
769
|
+
description: "Compute using Wolfram Alpha"
|
|
770
|
+
config:
|
|
771
|
+
api_key: "${WOLFRAM_API_KEY}"
|
|
772
|
+
|
|
773
|
+
- name: query_docs
|
|
774
|
+
type: query_engine
|
|
775
|
+
description: "Query internal documentation"
|
|
776
|
+
config:
|
|
777
|
+
index_id: docs-index
|
|
778
|
+
|
|
779
|
+
service_context:
|
|
780
|
+
llm:
|
|
781
|
+
provider: openai
|
|
782
|
+
model: gpt-4o
|
|
783
|
+
context_window: 128000
|
|
784
|
+
callback_manager:
|
|
785
|
+
handlers:
|
|
786
|
+
- type: langfuse
|
|
787
|
+
config:
|
|
788
|
+
public_key: "${LANGFUSE_PUBLIC_KEY}"
|
|
789
|
+
secret_key: "${LANGFUSE_SECRET_KEY}"
|
|
790
|
+
|
|
791
|
+
callbacks:
|
|
792
|
+
handlers:
|
|
793
|
+
- type: langfuse
|
|
794
|
+
config:
|
|
795
|
+
public_key: "${LANGFUSE_PUBLIC_KEY}"
|
|
796
|
+
secret_key: "${LANGFUSE_SECRET_KEY}"
|
|
797
|
+
trace_events:
|
|
798
|
+
- llm_start
|
|
799
|
+
- llm_end
|
|
800
|
+
- tool_call
|
|
801
|
+
- agent_step
|
|
802
|
+
```
|
|
803
|
+
|
|
804
|
+
### 3. Query Engine as Task
|
|
805
|
+
|
|
806
|
+
```yaml
|
|
807
|
+
apiVersion: ossa/v0.3.3
|
|
808
|
+
kind: Task
|
|
809
|
+
metadata:
|
|
810
|
+
name: document-qa
|
|
811
|
+
version: 1.0.0
|
|
812
|
+
description: "Document Q&A task using LlamaIndex query engine"
|
|
813
|
+
|
|
814
|
+
spec:
|
|
815
|
+
execution:
|
|
816
|
+
type: deterministic
|
|
817
|
+
runtime: python
|
|
818
|
+
entrypoint: "llamaindex_tasks.document_qa:execute"
|
|
819
|
+
timeout_seconds: 60
|
|
820
|
+
|
|
821
|
+
capabilities:
|
|
822
|
+
- query_documents
|
|
823
|
+
- synthesize_response
|
|
824
|
+
|
|
825
|
+
input:
|
|
826
|
+
type: object
|
|
827
|
+
properties:
|
|
828
|
+
query:
|
|
829
|
+
type: string
|
|
830
|
+
description: "User question"
|
|
831
|
+
index_id:
|
|
832
|
+
type: string
|
|
833
|
+
description: "Index to query"
|
|
834
|
+
top_k:
|
|
835
|
+
type: integer
|
|
836
|
+
default: 5
|
|
837
|
+
required: ["query", "index_id"]
|
|
838
|
+
|
|
839
|
+
output:
|
|
840
|
+
type: object
|
|
841
|
+
properties:
|
|
842
|
+
response:
|
|
843
|
+
type: string
|
|
844
|
+
sources:
|
|
845
|
+
type: array
|
|
846
|
+
items:
|
|
847
|
+
type: object
|
|
848
|
+
properties:
|
|
849
|
+
text:
|
|
850
|
+
type: string
|
|
851
|
+
score:
|
|
852
|
+
type: number
|
|
853
|
+
metadata:
|
|
854
|
+
type: object
|
|
855
|
+
|
|
856
|
+
error_handling:
|
|
857
|
+
on_error: retry
|
|
858
|
+
error_mapping:
|
|
859
|
+
"429": retry # Rate limit
|
|
860
|
+
"503": retry # Service unavailable
|
|
861
|
+
|
|
862
|
+
extensions:
|
|
863
|
+
llamaindex:
|
|
864
|
+
query_engine_config:
|
|
865
|
+
type: retriever
|
|
866
|
+
response_synthesizer:
|
|
867
|
+
mode: compact
|
|
868
|
+
streaming: false
|
|
869
|
+
retriever:
|
|
870
|
+
type: vector
|
|
871
|
+
top_k: "${{ input.top_k }}"
|
|
872
|
+
post_processors:
|
|
873
|
+
- type: similarity_cutoff
|
|
874
|
+
config:
|
|
875
|
+
similarity_cutoff: 0.7
|
|
876
|
+
|
|
877
|
+
index_config:
|
|
878
|
+
type: vector
|
|
879
|
+
embed_model:
|
|
880
|
+
provider: openai
|
|
881
|
+
model: text-embedding-3-small
|
|
882
|
+
similarity_top_k: 10
|
|
883
|
+
|
|
884
|
+
runtime:
|
|
885
|
+
type: unified
|
|
886
|
+
bindings:
|
|
887
|
+
query_documents:
|
|
888
|
+
handler: "llamaindex.query_engine.RetrieverQueryEngine"
|
|
889
|
+
synthesize_response:
|
|
890
|
+
handler: "llamaindex.response_synthesizer.CompactAndRefine"
|
|
891
|
+
```
|
|
892
|
+
|
|
893
|
+
### 4. LlamaIndex Workflow
|
|
894
|
+
|
|
895
|
+
```yaml
|
|
896
|
+
apiVersion: ossa/v0.3.3
|
|
897
|
+
kind: Workflow
|
|
898
|
+
metadata:
|
|
899
|
+
name: research-workflow
|
|
900
|
+
version: 1.0.0
|
|
901
|
+
description: "Multi-step research workflow using LlamaIndex Workflows"
|
|
902
|
+
|
|
903
|
+
spec:
|
|
904
|
+
triggers:
|
|
905
|
+
- type: webhook
|
|
906
|
+
path: /api/research
|
|
907
|
+
- type: manual
|
|
908
|
+
|
|
909
|
+
inputs:
|
|
910
|
+
type: object
|
|
911
|
+
properties:
|
|
912
|
+
topic:
|
|
913
|
+
type: string
|
|
914
|
+
description: "Research topic"
|
|
915
|
+
depth:
|
|
916
|
+
type: string
|
|
917
|
+
enum: ["shallow", "medium", "deep"]
|
|
918
|
+
default: "medium"
|
|
919
|
+
required: ["topic"]
|
|
920
|
+
|
|
921
|
+
outputs:
|
|
922
|
+
type: object
|
|
923
|
+
properties:
|
|
924
|
+
report:
|
|
925
|
+
type: string
|
|
926
|
+
sources:
|
|
927
|
+
type: array
|
|
928
|
+
items:
|
|
929
|
+
type: object
|
|
930
|
+
|
|
931
|
+
steps:
|
|
932
|
+
- id: search
|
|
933
|
+
name: Search Sources
|
|
934
|
+
kind: Task
|
|
935
|
+
ref: ./tasks/search-sources.yaml
|
|
936
|
+
input:
|
|
937
|
+
topic: "${{ workflow.input.topic }}"
|
|
938
|
+
|
|
939
|
+
- id: retrieve
|
|
940
|
+
name: Retrieve Documents
|
|
941
|
+
kind: Task
|
|
942
|
+
ref: ./tasks/retrieve-docs.yaml
|
|
943
|
+
input:
|
|
944
|
+
sources: "${{ steps.search.output.sources }}"
|
|
945
|
+
depends_on: [search]
|
|
946
|
+
|
|
947
|
+
- id: synthesize
|
|
948
|
+
name: Synthesize Report
|
|
949
|
+
kind: Agent
|
|
950
|
+
ref: ./agents/report-writer.yaml
|
|
951
|
+
input:
|
|
952
|
+
documents: "${{ steps.retrieve.output.documents }}"
|
|
953
|
+
topic: "${{ workflow.input.topic }}"
|
|
954
|
+
depends_on: [retrieve]
|
|
955
|
+
|
|
956
|
+
error_handling:
|
|
957
|
+
on_failure: compensate
|
|
958
|
+
compensation_steps:
|
|
959
|
+
- id: cleanup
|
|
960
|
+
kind: Task
|
|
961
|
+
inline:
|
|
962
|
+
execution:
|
|
963
|
+
type: idempotent
|
|
964
|
+
entrypoint: "cleanup_cache"
|
|
965
|
+
|
|
966
|
+
observability:
|
|
967
|
+
tracing:
|
|
968
|
+
enabled: true
|
|
969
|
+
propagate_context: true
|
|
970
|
+
metrics:
|
|
971
|
+
enabled: true
|
|
972
|
+
custom_labels:
|
|
973
|
+
workflow_type: research
|
|
974
|
+
|
|
975
|
+
extensions:
|
|
976
|
+
llamaindex:
|
|
977
|
+
workflows:
|
|
978
|
+
enabled: true
|
|
979
|
+
|
|
980
|
+
events:
|
|
981
|
+
- name: SearchCompleteEvent
|
|
982
|
+
schema:
|
|
983
|
+
type: object
|
|
984
|
+
properties:
|
|
985
|
+
sources:
|
|
986
|
+
type: array
|
|
987
|
+
query:
|
|
988
|
+
type: string
|
|
989
|
+
|
|
990
|
+
- name: RetrievalCompleteEvent
|
|
991
|
+
schema:
|
|
992
|
+
type: object
|
|
993
|
+
properties:
|
|
994
|
+
documents:
|
|
995
|
+
type: array
|
|
996
|
+
metadata:
|
|
997
|
+
type: object
|
|
998
|
+
|
|
999
|
+
- name: SynthesisCompleteEvent
|
|
1000
|
+
schema:
|
|
1001
|
+
type: object
|
|
1002
|
+
properties:
|
|
1003
|
+
report:
|
|
1004
|
+
type: string
|
|
1005
|
+
citations:
|
|
1006
|
+
type: array
|
|
1007
|
+
|
|
1008
|
+
steps:
|
|
1009
|
+
- name: search_step
|
|
1010
|
+
handler: "research_workflow.steps:search_sources"
|
|
1011
|
+
input_events: ["StartEvent"]
|
|
1012
|
+
output_events: ["SearchCompleteEvent"]
|
|
1013
|
+
num_workers: 1
|
|
1014
|
+
|
|
1015
|
+
- name: retrieve_step
|
|
1016
|
+
handler: "research_workflow.steps:retrieve_documents"
|
|
1017
|
+
input_events: ["SearchCompleteEvent"]
|
|
1018
|
+
output_events: ["RetrievalCompleteEvent"]
|
|
1019
|
+
num_workers: 4
|
|
1020
|
+
|
|
1021
|
+
- name: synthesize_step
|
|
1022
|
+
handler: "research_workflow.steps:synthesize_report"
|
|
1023
|
+
input_events: ["RetrievalCompleteEvent"]
|
|
1024
|
+
output_events: ["SynthesisCompleteEvent", "StopEvent"]
|
|
1025
|
+
num_workers: 1
|
|
1026
|
+
|
|
1027
|
+
context:
|
|
1028
|
+
collect_events: true
|
|
1029
|
+
streaming: true
|
|
1030
|
+
```
|
|
1031
|
+
|
|
1032
|
+
### 5. Knowledge Graph Agent
|
|
1033
|
+
|
|
1034
|
+
```yaml
|
|
1035
|
+
apiVersion: ossa/v0.3.3
|
|
1036
|
+
kind: Agent
|
|
1037
|
+
metadata:
|
|
1038
|
+
name: kg-analyst
|
|
1039
|
+
version: 1.0.0
|
|
1040
|
+
description: "Knowledge graph analysis agent"
|
|
1041
|
+
labels:
|
|
1042
|
+
domain: data
|
|
1043
|
+
index_type: knowledge_graph
|
|
1044
|
+
|
|
1045
|
+
spec:
|
|
1046
|
+
role: |
|
|
1047
|
+
You are a knowledge graph analyst. Use graph queries to explore
|
|
1048
|
+
relationships between entities and answer complex questions about
|
|
1049
|
+
entity connections.
|
|
1050
|
+
|
|
1051
|
+
llm:
|
|
1052
|
+
provider: anthropic
|
|
1053
|
+
model: claude-sonnet-4-20250514
|
|
1054
|
+
temperature: 0
|
|
1055
|
+
|
|
1056
|
+
tools:
|
|
1057
|
+
- type: function
|
|
1058
|
+
name: query_graph
|
|
1059
|
+
description: "Execute Cypher query on knowledge graph"
|
|
1060
|
+
- type: function
|
|
1061
|
+
name: find_path
|
|
1062
|
+
description: "Find shortest path between entities"
|
|
1063
|
+
|
|
1064
|
+
autonomy:
|
|
1065
|
+
level: 3
|
|
1066
|
+
|
|
1067
|
+
extensions:
|
|
1068
|
+
llamaindex:
|
|
1069
|
+
agent_type: react
|
|
1070
|
+
|
|
1071
|
+
index_config:
|
|
1072
|
+
type: knowledge_graph
|
|
1073
|
+
node_parser: semantic
|
|
1074
|
+
|
|
1075
|
+
storage_context:
|
|
1076
|
+
graph_store:
|
|
1077
|
+
type: neo4j
|
|
1078
|
+
connection_uri: "${NEO4J_URI:-bolt://localhost:7687}"
|
|
1079
|
+
vector_store:
|
|
1080
|
+
type: qdrant
|
|
1081
|
+
connection_uri: "${QDRANT_URL:-http://localhost:6333}"
|
|
1082
|
+
collection_name: kg_embeddings
|
|
1083
|
+
|
|
1084
|
+
query_engine_config:
|
|
1085
|
+
type: knowledge_graph
|
|
1086
|
+
response_synthesizer:
|
|
1087
|
+
mode: tree_summarize
|
|
1088
|
+
|
|
1089
|
+
tools:
|
|
1090
|
+
- name: query_graph
|
|
1091
|
+
type: custom
|
|
1092
|
+
description: "Execute graph queries"
|
|
1093
|
+
config:
|
|
1094
|
+
handler: "kg_tools:execute_cypher"
|
|
1095
|
+
- name: find_path
|
|
1096
|
+
type: custom
|
|
1097
|
+
description: "Find entity paths"
|
|
1098
|
+
config:
|
|
1099
|
+
handler: "kg_tools:find_shortest_path"
|
|
1100
|
+
|
|
1101
|
+
callbacks:
|
|
1102
|
+
handlers:
|
|
1103
|
+
- type: arize_phoenix
|
|
1104
|
+
config:
|
|
1105
|
+
log_traces: true
|
|
1106
|
+
trace_events:
|
|
1107
|
+
- query_start
|
|
1108
|
+
- query_end
|
|
1109
|
+
- retrieval_start
|
|
1110
|
+
- retrieval_end
|
|
1111
|
+
```
|
|
1112
|
+
|
|
1113
|
+
## Validation (Zod Schema)
|
|
1114
|
+
|
|
1115
|
+
```typescript
|
|
1116
|
+
import { z } from 'zod';
|
|
1117
|
+
|
|
1118
|
+
// Embedding model configuration
|
|
1119
|
+
const EmbedModelConfigSchema = z.object({
|
|
1120
|
+
provider: z.enum(['openai', 'huggingface', 'cohere', 'ollama', 'azure', 'vertex', 'bedrock', 'custom']),
|
|
1121
|
+
model: z.string(),
|
|
1122
|
+
dimensions: z.number().int().min(1).max(8192).optional(),
|
|
1123
|
+
});
|
|
1124
|
+
|
|
1125
|
+
// Reranker configuration
|
|
1126
|
+
const RerankerConfigSchema = z.object({
|
|
1127
|
+
type: z.enum(['cohere', 'colbert', 'bge', 'sentence_transformer', 'llm', 'custom']),
|
|
1128
|
+
model: z.string().optional(),
|
|
1129
|
+
top_n: z.number().int().min(1).default(3),
|
|
1130
|
+
});
|
|
1131
|
+
|
|
1132
|
+
// Index configuration
|
|
1133
|
+
const IndexConfigSchema = z.object({
|
|
1134
|
+
type: z.enum([
|
|
1135
|
+
'vector', 'list', 'tree', 'keyword', 'knowledge_graph',
|
|
1136
|
+
'document_summary', 'property_graph', 'sql', 'pandas', 'custom'
|
|
1137
|
+
]).default('vector'),
|
|
1138
|
+
embed_model: EmbedModelConfigSchema.optional(),
|
|
1139
|
+
similarity_top_k: z.number().int().min(1).max(100).default(5),
|
|
1140
|
+
similarity_cutoff: z.number().min(0).max(1).optional(),
|
|
1141
|
+
chunk_size: z.number().int().min(64).max(32768).default(1024),
|
|
1142
|
+
chunk_overlap: z.number().int().min(0).default(20),
|
|
1143
|
+
node_parser: z.enum(['simple', 'sentence', 'semantic', 'hierarchical', 'markdown', 'json', 'code', 'custom']).default('simple'),
|
|
1144
|
+
transformations: z.array(z.enum([
|
|
1145
|
+
'title_extractor', 'keyword_extractor', 'qa_extractor',
|
|
1146
|
+
'summary_extractor', 'entity_extractor', 'custom'
|
|
1147
|
+
])).optional(),
|
|
1148
|
+
reranker: RerankerConfigSchema.optional(),
|
|
1149
|
+
});
|
|
1150
|
+
|
|
1151
|
+
// Vector store configuration
|
|
1152
|
+
const VectorStoreConfigSchema = z.object({
|
|
1153
|
+
type: z.enum([
|
|
1154
|
+
'simple', 'chroma', 'pinecone', 'weaviate', 'qdrant', 'milvus',
|
|
1155
|
+
'pgvector', 'faiss', 'elasticsearch', 'opensearch', 'lancedb', 'deeplake', 'custom'
|
|
1156
|
+
]),
|
|
1157
|
+
connection_uri: z.string().optional(),
|
|
1158
|
+
collection_name: z.string().optional(),
|
|
1159
|
+
dimension: z.number().int().optional(),
|
|
1160
|
+
distance_metric: z.enum(['cosine', 'euclidean', 'dot_product', 'ip']).default('cosine'),
|
|
1161
|
+
});
|
|
1162
|
+
|
|
1163
|
+
// Storage context configuration
|
|
1164
|
+
const StorageContextConfigSchema = z.object({
|
|
1165
|
+
docstore: z.object({
|
|
1166
|
+
type: z.enum(['simple', 'mongodb', 'redis', 'firestore', 'dynamodb', 'postgres', 'custom']).default('simple'),
|
|
1167
|
+
connection_uri: z.string().optional(),
|
|
1168
|
+
namespace: z.string().optional(),
|
|
1169
|
+
}).optional(),
|
|
1170
|
+
index_store: z.object({
|
|
1171
|
+
type: z.enum(['simple', 'mongodb', 'redis', 'postgres', 'custom']).default('simple'),
|
|
1172
|
+
connection_uri: z.string().optional(),
|
|
1173
|
+
}).optional(),
|
|
1174
|
+
vector_store: VectorStoreConfigSchema.optional(),
|
|
1175
|
+
graph_store: z.object({
|
|
1176
|
+
type: z.enum(['simple', 'neo4j', 'nebula', 'kuzu', 'falkordb', 'custom']),
|
|
1177
|
+
connection_uri: z.string().optional(),
|
|
1178
|
+
}).optional(),
|
|
1179
|
+
persist_dir: z.string().optional(),
|
|
1180
|
+
persist_strategy: z.enum(['on_change', 'on_shutdown', 'periodic', 'manual']).default('on_change'),
|
|
1181
|
+
});
|
|
1182
|
+
|
|
1183
|
+
// Query engine configuration
|
|
1184
|
+
const QueryEngineConfigSchema = z.object({
|
|
1185
|
+
type: z.enum([
|
|
1186
|
+
'retriever', 'router', 'sub_question', 'citation', 'knowledge_graph',
|
|
1187
|
+
'sql', 'pandas', 'multi_step', 'flare', 'custom'
|
|
1188
|
+
]).default('retriever'),
|
|
1189
|
+
response_synthesizer: z.object({
|
|
1190
|
+
mode: z.enum(['refine', 'compact', 'tree_summarize', 'simple', 'accumulate', 'compact_accumulate']).default('compact'),
|
|
1191
|
+
streaming: z.boolean().default(false),
|
|
1192
|
+
}).optional(),
|
|
1193
|
+
retriever: z.object({
|
|
1194
|
+
type: z.enum(['vector', 'bm25', 'hybrid', 'auto_merging', 'recursive', 'custom']).default('vector'),
|
|
1195
|
+
top_k: z.number().int().default(5),
|
|
1196
|
+
alpha: z.number().min(0).max(1).optional(),
|
|
1197
|
+
}).optional(),
|
|
1198
|
+
post_processors: z.array(z.object({
|
|
1199
|
+
type: z.enum([
|
|
1200
|
+
'similarity_cutoff', 'keyword_filter', 'metadata_filter', 'sentence_reorder',
|
|
1201
|
+
'time_weighted', 'cohere_rerank', 'llm_rerank', 'custom'
|
|
1202
|
+
]),
|
|
1203
|
+
config: z.record(z.unknown()).optional(),
|
|
1204
|
+
})).optional(),
|
|
1205
|
+
});
|
|
1206
|
+
|
|
1207
|
+
// Tool configuration
|
|
1208
|
+
const ToolConfigSchema = z.object({
|
|
1209
|
+
name: z.string(),
|
|
1210
|
+
type: z.enum([
|
|
1211
|
+
'query_engine', 'function', 'retriever', 'on_demand_loader', 'load_and_search',
|
|
1212
|
+
'code_interpreter', 'wolfram', 'google_search', 'arxiv', 'wikipedia', 'sql', 'mcp', 'custom'
|
|
1213
|
+
]),
|
|
1214
|
+
description: z.string().optional(),
|
|
1215
|
+
return_direct: z.boolean().default(false),
|
|
1216
|
+
mcp_server: z.string().optional(),
|
|
1217
|
+
config: z.record(z.unknown()).optional(),
|
|
1218
|
+
});
|
|
1219
|
+
|
|
1220
|
+
// Callback handler configuration
|
|
1221
|
+
const CallbackHandlerSchema = z.object({
|
|
1222
|
+
type: z.enum([
|
|
1223
|
+
'llama_debug', 'wandb', 'arize_phoenix', 'openinference',
|
|
1224
|
+
'langfuse', 'aim', 'simple', 'opentelemetry', 'custom'
|
|
1225
|
+
]),
|
|
1226
|
+
config: z.record(z.unknown()).optional(),
|
|
1227
|
+
});
|
|
1228
|
+
|
|
1229
|
+
// Callbacks configuration
|
|
1230
|
+
const CallbacksConfigSchema = z.object({
|
|
1231
|
+
handlers: z.array(CallbackHandlerSchema).optional(),
|
|
1232
|
+
trace_events: z.array(z.enum([
|
|
1233
|
+
'llm_start', 'llm_end', 'llm_stream', 'embedding_start', 'embedding_end',
|
|
1234
|
+
'retrieval_start', 'retrieval_end', 'synthesize_start', 'synthesize_end',
|
|
1235
|
+
'query_start', 'query_end', 'reranking_start', 'reranking_end',
|
|
1236
|
+
'agent_step', 'tool_call', 'exception'
|
|
1237
|
+
])).default(['llm_start', 'llm_end', 'query_start', 'query_end']),
|
|
1238
|
+
});
|
|
1239
|
+
|
|
1240
|
+
// Workflow event schema
|
|
1241
|
+
const WorkflowEventSchema = z.object({
|
|
1242
|
+
name: z.string(),
|
|
1243
|
+
schema: z.record(z.unknown()).optional(),
|
|
1244
|
+
});
|
|
1245
|
+
|
|
1246
|
+
// Workflow step schema
|
|
1247
|
+
const WorkflowStepSchema = z.object({
|
|
1248
|
+
name: z.string(),
|
|
1249
|
+
handler: z.string(),
|
|
1250
|
+
input_events: z.array(z.string()).optional(),
|
|
1251
|
+
output_events: z.array(z.string()).optional(),
|
|
1252
|
+
num_workers: z.number().int().min(1).default(1),
|
|
1253
|
+
});
|
|
1254
|
+
|
|
1255
|
+
// Workflows configuration
|
|
1256
|
+
const WorkflowsConfigSchema = z.object({
|
|
1257
|
+
enabled: z.boolean().default(false),
|
|
1258
|
+
events: z.array(WorkflowEventSchema).optional(),
|
|
1259
|
+
steps: z.array(WorkflowStepSchema).optional(),
|
|
1260
|
+
context: z.object({
|
|
1261
|
+
collect_events: z.boolean().default(false),
|
|
1262
|
+
streaming: z.boolean().default(false),
|
|
1263
|
+
}).optional(),
|
|
1264
|
+
});
|
|
1265
|
+
|
|
1266
|
+
// Main LlamaIndex extension schema
|
|
1267
|
+
export const LlamaIndexExtensionSchema = z.object({
|
|
1268
|
+
agent_type: z.enum([
|
|
1269
|
+
'react', 'openai', 'custom', 'structured', 'lats', 'introspective'
|
|
1270
|
+
]).default('react'),
|
|
1271
|
+
index_config: IndexConfigSchema.optional(),
|
|
1272
|
+
storage_context: StorageContextConfigSchema.optional(),
|
|
1273
|
+
query_engine_config: QueryEngineConfigSchema.optional(),
|
|
1274
|
+
tools: z.array(ToolConfigSchema).optional(),
|
|
1275
|
+
service_context: z.object({
|
|
1276
|
+
llm: z.object({
|
|
1277
|
+
provider: z.enum(['openai', 'anthropic', 'azure', 'huggingface', 'ollama', 'groq', 'together', 'bedrock', 'vertex', 'custom']).optional(),
|
|
1278
|
+
model: z.string().optional(),
|
|
1279
|
+
temperature: z.number().optional(),
|
|
1280
|
+
max_tokens: z.number().int().optional(),
|
|
1281
|
+
context_window: z.number().int().optional(),
|
|
1282
|
+
}).optional(),
|
|
1283
|
+
callback_manager: z.record(z.unknown()).optional(),
|
|
1284
|
+
node_parser: z.string().optional(),
|
|
1285
|
+
prompt_helper: z.object({
|
|
1286
|
+
context_window: z.number().int().optional(),
|
|
1287
|
+
num_output: z.number().int().optional(),
|
|
1288
|
+
chunk_overlap_ratio: z.number().optional(),
|
|
1289
|
+
chunk_size_limit: z.number().int().optional(),
|
|
1290
|
+
}).optional(),
|
|
1291
|
+
}).optional(),
|
|
1292
|
+
callbacks: CallbacksConfigSchema.optional(),
|
|
1293
|
+
workflows: WorkflowsConfigSchema.optional(),
|
|
1294
|
+
}).passthrough();
|
|
1295
|
+
|
|
1296
|
+
// Type inference
|
|
1297
|
+
export type LlamaIndexExtension = z.infer<typeof LlamaIndexExtensionSchema>;
|
|
1298
|
+
```
|
|
1299
|
+
|
|
1300
|
+
## CRUD Patterns
|
|
1301
|
+
|
|
1302
|
+
### Create Agent from LlamaIndex
|
|
1303
|
+
|
|
1304
|
+
```python
|
|
1305
|
+
from llama_index.core.agent import ReActAgent
|
|
1306
|
+
from llama_index.core import VectorStoreIndex
|
|
1307
|
+
from ossa.adapters.llamaindex import LlamaIndexAdapter
|
|
1308
|
+
|
|
1309
|
+
# Existing LlamaIndex setup
|
|
1310
|
+
index = VectorStoreIndex.from_documents(documents)
|
|
1311
|
+
agent = ReActAgent.from_tools(tools, llm=llm, verbose=True)
|
|
1312
|
+
|
|
1313
|
+
# Convert to OSSA manifest
|
|
1314
|
+
adapter = LlamaIndexAdapter()
|
|
1315
|
+
manifest = adapter.to_ossa_manifest(
|
|
1316
|
+
agent=agent,
|
|
1317
|
+
index=index,
|
|
1318
|
+
metadata={
|
|
1319
|
+
"name": "my-rag-agent",
|
|
1320
|
+
"version": "1.0.0"
|
|
1321
|
+
}
|
|
1322
|
+
)
|
|
1323
|
+
|
|
1324
|
+
# Save manifest
|
|
1325
|
+
manifest.save("agents/my-rag-agent.ossa.yaml")
|
|
1326
|
+
```
|
|
1327
|
+
|
|
1328
|
+
### Read/Load OSSA Manifest to LlamaIndex
|
|
1329
|
+
|
|
1330
|
+
```python
|
|
1331
|
+
from ossa.adapters.llamaindex import LlamaIndexAdapter
|
|
1332
|
+
|
|
1333
|
+
# Load OSSA manifest
|
|
1334
|
+
adapter = LlamaIndexAdapter()
|
|
1335
|
+
components = adapter.from_ossa_manifest("agents/my-rag-agent.ossa.yaml")
|
|
1336
|
+
|
|
1337
|
+
# Access components
|
|
1338
|
+
agent = components.agent
|
|
1339
|
+
index = components.index
|
|
1340
|
+
query_engine = components.query_engine
|
|
1341
|
+
storage_context = components.storage_context
|
|
1342
|
+
```
|
|
1343
|
+
|
|
1344
|
+
### Update Manifest
|
|
1345
|
+
|
|
1346
|
+
```python
|
|
1347
|
+
from ossa import OSSAManifest
|
|
1348
|
+
|
|
1349
|
+
# Load and update
|
|
1350
|
+
manifest = OSSAManifest.load("agents/my-rag-agent.ossa.yaml")
|
|
1351
|
+
|
|
1352
|
+
# Update LlamaIndex extension
|
|
1353
|
+
manifest.extensions.llamaindex.index_config.similarity_top_k = 10
|
|
1354
|
+
manifest.extensions.llamaindex.storage_context.vector_store.collection_name = "new_collection"
|
|
1355
|
+
|
|
1356
|
+
# Bump version
|
|
1357
|
+
manifest.metadata.version = "1.1.0"
|
|
1358
|
+
manifest.save()
|
|
1359
|
+
```
|
|
1360
|
+
|
|
1361
|
+
### Delete/Cleanup
|
|
1362
|
+
|
|
1363
|
+
```python
|
|
1364
|
+
from ossa.adapters.llamaindex import LlamaIndexAdapter
|
|
1365
|
+
|
|
1366
|
+
adapter = LlamaIndexAdapter()
|
|
1367
|
+
|
|
1368
|
+
# Cleanup storage resources
|
|
1369
|
+
adapter.cleanup_storage(
|
|
1370
|
+
manifest="agents/my-rag-agent.ossa.yaml",
|
|
1371
|
+
cleanup_vectors=True,
|
|
1372
|
+
cleanup_docstore=True
|
|
1373
|
+
)
|
|
1374
|
+
```
|
|
1375
|
+
|
|
1376
|
+
## OpenAPI Integration
|
|
1377
|
+
|
|
1378
|
+
```yaml
|
|
1379
|
+
openapi: 3.1.0
|
|
1380
|
+
info:
|
|
1381
|
+
title: OSSA LlamaIndex Extension API
|
|
1382
|
+
version: 0.3.3
|
|
1383
|
+
|
|
1384
|
+
paths:
|
|
1385
|
+
/api/v1/agents/{agent_id}/llamaindex/index:
|
|
1386
|
+
post:
|
|
1387
|
+
summary: Create or update index
|
|
1388
|
+
operationId: createIndex
|
|
1389
|
+
parameters:
|
|
1390
|
+
- name: agent_id
|
|
1391
|
+
in: path
|
|
1392
|
+
required: true
|
|
1393
|
+
schema:
|
|
1394
|
+
type: string
|
|
1395
|
+
requestBody:
|
|
1396
|
+
content:
|
|
1397
|
+
application/json:
|
|
1398
|
+
schema:
|
|
1399
|
+
$ref: '#/components/schemas/IndexConfig'
|
|
1400
|
+
responses:
|
|
1401
|
+
'201':
|
|
1402
|
+
description: Index created
|
|
1403
|
+
content:
|
|
1404
|
+
application/json:
|
|
1405
|
+
schema:
|
|
1406
|
+
$ref: '#/components/schemas/IndexStatus'
|
|
1407
|
+
|
|
1408
|
+
/api/v1/agents/{agent_id}/llamaindex/query:
|
|
1409
|
+
post:
|
|
1410
|
+
summary: Execute query
|
|
1411
|
+
operationId: executeQuery
|
|
1412
|
+
parameters:
|
|
1413
|
+
- name: agent_id
|
|
1414
|
+
in: path
|
|
1415
|
+
required: true
|
|
1416
|
+
schema:
|
|
1417
|
+
type: string
|
|
1418
|
+
requestBody:
|
|
1419
|
+
content:
|
|
1420
|
+
application/json:
|
|
1421
|
+
schema:
|
|
1422
|
+
type: object
|
|
1423
|
+
required: [query]
|
|
1424
|
+
properties:
|
|
1425
|
+
query:
|
|
1426
|
+
type: string
|
|
1427
|
+
top_k:
|
|
1428
|
+
type: integer
|
|
1429
|
+
default: 5
|
|
1430
|
+
streaming:
|
|
1431
|
+
type: boolean
|
|
1432
|
+
default: false
|
|
1433
|
+
responses:
|
|
1434
|
+
'200':
|
|
1435
|
+
description: Query response
|
|
1436
|
+
content:
|
|
1437
|
+
application/json:
|
|
1438
|
+
schema:
|
|
1439
|
+
$ref: '#/components/schemas/QueryResponse'
|
|
1440
|
+
|
|
1441
|
+
/api/v1/agents/{agent_id}/llamaindex/documents:
|
|
1442
|
+
post:
|
|
1443
|
+
summary: Add documents to index
|
|
1444
|
+
operationId: addDocuments
|
|
1445
|
+
requestBody:
|
|
1446
|
+
content:
|
|
1447
|
+
application/json:
|
|
1448
|
+
schema:
|
|
1449
|
+
type: object
|
|
1450
|
+
properties:
|
|
1451
|
+
documents:
|
|
1452
|
+
type: array
|
|
1453
|
+
items:
|
|
1454
|
+
type: object
|
|
1455
|
+
properties:
|
|
1456
|
+
text:
|
|
1457
|
+
type: string
|
|
1458
|
+
metadata:
|
|
1459
|
+
type: object
|
|
1460
|
+
responses:
|
|
1461
|
+
'201':
|
|
1462
|
+
description: Documents added
|
|
1463
|
+
|
|
1464
|
+
components:
|
|
1465
|
+
schemas:
|
|
1466
|
+
IndexConfig:
|
|
1467
|
+
$ref: '#/definitions/LlamaIndexExtension/properties/index_config'
|
|
1468
|
+
|
|
1469
|
+
QueryResponse:
|
|
1470
|
+
type: object
|
|
1471
|
+
properties:
|
|
1472
|
+
response:
|
|
1473
|
+
type: string
|
|
1474
|
+
sources:
|
|
1475
|
+
type: array
|
|
1476
|
+
items:
|
|
1477
|
+
type: object
|
|
1478
|
+
properties:
|
|
1479
|
+
text:
|
|
1480
|
+
type: string
|
|
1481
|
+
score:
|
|
1482
|
+
type: number
|
|
1483
|
+
node_id:
|
|
1484
|
+
type: string
|
|
1485
|
+
metadata:
|
|
1486
|
+
type: object
|
|
1487
|
+
metadata:
|
|
1488
|
+
type: object
|
|
1489
|
+
properties:
|
|
1490
|
+
latency_ms:
|
|
1491
|
+
type: number
|
|
1492
|
+
tokens_used:
|
|
1493
|
+
type: integer
|
|
1494
|
+
model:
|
|
1495
|
+
type: string
|
|
1496
|
+
|
|
1497
|
+
IndexStatus:
|
|
1498
|
+
type: object
|
|
1499
|
+
properties:
|
|
1500
|
+
index_id:
|
|
1501
|
+
type: string
|
|
1502
|
+
type:
|
|
1503
|
+
type: string
|
|
1504
|
+
document_count:
|
|
1505
|
+
type: integer
|
|
1506
|
+
vector_count:
|
|
1507
|
+
type: integer
|
|
1508
|
+
last_updated:
|
|
1509
|
+
type: string
|
|
1510
|
+
format: date-time
|
|
1511
|
+
```
|
|
1512
|
+
|
|
1513
|
+
## Related
|
|
1514
|
+
|
|
1515
|
+
- [LlamaIndex Documentation](https://docs.llamaindex.ai/)
|
|
1516
|
+
- [LlamaIndex Workflows](https://docs.llamaindex.ai/en/stable/module_guides/observability/observability/)
|
|
1517
|
+
- [OSSA v0.3.3 Specification](../UNIFIED-SCHEMA.md)
|
|
1518
|
+
- [MCP Extension](./mcp.md)
|
|
1519
|
+
- [Drupal Extension](./drupal.md)
|