@dexto/core 1.5.7 → 1.6.0
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/README.md +19 -8
- package/dist/agent/DextoAgent.cjs +383 -153
- package/dist/agent/DextoAgent.d.ts +112 -60
- package/dist/agent/DextoAgent.d.ts.map +1 -1
- package/dist/agent/DextoAgent.js +380 -150
- package/dist/{context/compaction/provider.cjs → agent/agent-options.cjs} +2 -2
- package/dist/agent/agent-options.d.ts +53 -0
- package/dist/agent/agent-options.d.ts.map +1 -0
- package/dist/agent/agentCard.cjs +1 -1
- package/dist/agent/errors.cjs +2 -2
- package/dist/agent/errors.d.ts.map +1 -1
- package/dist/agent/index.cjs +1 -6
- package/dist/agent/index.d.ts +3 -2
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/agent/index.js +1 -7
- package/dist/{storage/blob/provider.cjs → agent/runtime-config.cjs} +2 -2
- package/dist/agent/runtime-config.d.ts +53 -0
- package/dist/agent/runtime-config.d.ts.map +1 -0
- package/dist/agent/schemas.cjs +2 -99
- package/dist/agent/schemas.d.ts +10 -9160
- package/dist/agent/schemas.d.ts.map +1 -1
- package/dist/agent/schemas.js +1 -104
- package/dist/agent/state-manager.d.ts +5 -5
- package/dist/agent/state-manager.d.ts.map +1 -1
- package/dist/approval/error-codes.cjs +1 -1
- package/dist/approval/error-codes.d.ts +1 -1
- package/dist/approval/error-codes.d.ts.map +1 -1
- package/dist/approval/error-codes.js +1 -1
- package/dist/approval/errors.cjs +5 -5
- package/dist/approval/errors.d.ts +2 -2
- package/dist/approval/errors.d.ts.map +1 -1
- package/dist/approval/errors.js +5 -5
- package/dist/approval/index.cjs +8 -8
- package/dist/approval/index.d.ts +2 -2
- package/dist/approval/index.d.ts.map +1 -1
- package/dist/approval/index.js +8 -8
- package/dist/approval/manager.cjs +77 -57
- package/dist/approval/manager.d.ts +41 -43
- package/dist/approval/manager.d.ts.map +1 -1
- package/dist/approval/manager.js +75 -55
- package/dist/approval/schemas.cjs +26 -25
- package/dist/approval/schemas.d.ts +35 -15
- package/dist/approval/schemas.d.ts.map +1 -1
- package/dist/approval/schemas.js +22 -21
- package/dist/approval/types.cjs +1 -1
- package/dist/approval/types.d.ts +14 -14
- package/dist/approval/types.d.ts.map +1 -1
- package/dist/approval/types.js +1 -1
- package/dist/context/compaction/index.cjs +2 -23
- package/dist/context/compaction/index.d.ts +1 -7
- package/dist/context/compaction/index.d.ts.map +1 -1
- package/dist/context/compaction/index.js +1 -16
- package/dist/context/compaction/strategies/noop.cjs +19 -1
- package/dist/context/compaction/strategies/noop.d.ts +13 -3
- package/dist/context/compaction/strategies/noop.d.ts.map +1 -1
- package/dist/context/compaction/strategies/noop.js +19 -1
- package/dist/context/compaction/strategies/{reactive-overflow.cjs → reactive-overflow-compaction.cjs} +67 -64
- package/dist/context/compaction/strategies/{reactive-overflow.d.ts → reactive-overflow-compaction.d.ts} +19 -36
- package/dist/context/compaction/strategies/reactive-overflow-compaction.d.ts.map +1 -0
- package/dist/context/compaction/strategies/{reactive-overflow.js → reactive-overflow-compaction.js} +63 -60
- package/dist/context/compaction/types.d.ts +40 -8
- package/dist/context/compaction/types.d.ts.map +1 -1
- package/dist/context/manager.cjs +5 -3
- package/dist/context/manager.d.ts +4 -3
- package/dist/context/manager.d.ts.map +1 -1
- package/dist/context/manager.js +5 -3
- package/dist/context/types.d.ts +2 -0
- package/dist/context/types.d.ts.map +1 -1
- package/dist/context/utils.cjs +70 -43
- package/dist/context/utils.d.ts +14 -14
- package/dist/context/utils.d.ts.map +1 -1
- package/dist/context/utils.js +69 -42
- package/dist/errors/result-bridge.d.ts +2 -2
- package/dist/errors/result-bridge.d.ts.map +1 -1
- package/dist/errors/types.cjs +1 -1
- package/dist/errors/types.d.ts +3 -3
- package/dist/errors/types.d.ts.map +1 -1
- package/dist/errors/types.js +1 -1
- package/dist/events/index.cjs +15 -2
- package/dist/events/index.d.ts +78 -7
- package/dist/events/index.d.ts.map +1 -1
- package/dist/events/index.js +15 -2
- package/dist/{plugins → hooks}/builtins/content-policy.cjs +7 -6
- package/dist/hooks/builtins/content-policy.d.ts +24 -0
- package/dist/hooks/builtins/content-policy.d.ts.map +1 -0
- package/dist/{plugins → hooks}/builtins/content-policy.js +6 -5
- package/dist/{plugins → hooks}/builtins/response-sanitizer.cjs +3 -3
- package/dist/hooks/builtins/response-sanitizer.d.ts +22 -0
- package/dist/hooks/builtins/response-sanitizer.d.ts.map +1 -0
- package/dist/{plugins → hooks}/builtins/response-sanitizer.js +2 -2
- package/dist/hooks/error-codes.cjs +43 -0
- package/dist/hooks/error-codes.d.ts +34 -0
- package/dist/hooks/error-codes.d.ts.map +1 -0
- package/dist/hooks/error-codes.js +20 -0
- package/dist/{storage/cache/providers/memory.cjs → hooks/index.cjs} +15 -18
- package/dist/hooks/index.d.ts +14 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +11 -0
- package/dist/hooks/manager.cjs +354 -0
- package/dist/hooks/manager.d.ts +103 -0
- package/dist/hooks/manager.d.ts.map +1 -0
- package/dist/hooks/manager.js +331 -0
- package/dist/{plugins → hooks}/types.d.ts +36 -34
- package/dist/hooks/types.d.ts.map +1 -0
- package/dist/index.browser.cjs +13 -12
- package/dist/index.browser.d.ts +6 -6
- package/dist/index.browser.d.ts.map +1 -1
- package/dist/index.browser.js +8 -7
- package/dist/index.cjs +5 -7
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -3
- package/dist/llm/curation-config.cjs +82 -0
- package/dist/llm/curation-config.d.ts +13 -0
- package/dist/llm/curation-config.d.ts.map +1 -0
- package/dist/llm/curation-config.js +59 -0
- package/dist/llm/curation.cjs +57 -0
- package/dist/llm/curation.d.ts +16 -0
- package/dist/llm/curation.d.ts.map +1 -0
- package/dist/llm/curation.js +34 -0
- package/dist/llm/errors.cjs +2 -2
- package/dist/llm/errors.d.ts +8 -8
- package/dist/llm/errors.js +1 -1
- package/dist/llm/executor/provider-options.cjs +1 -1
- package/dist/llm/executor/provider-options.js +1 -1
- package/dist/llm/executor/stream-processor.cjs +131 -11
- package/dist/llm/executor/stream-processor.d.ts +7 -5
- package/dist/llm/executor/stream-processor.d.ts.map +1 -1
- package/dist/llm/executor/stream-processor.js +131 -11
- package/dist/llm/executor/turn-executor.cjs +57 -56
- package/dist/llm/executor/turn-executor.d.ts +7 -8
- package/dist/llm/executor/turn-executor.d.ts.map +1 -1
- package/dist/llm/executor/turn-executor.js +57 -56
- package/dist/llm/formatters/vercel.cjs +2 -2
- package/dist/llm/formatters/vercel.d.ts +2 -2
- package/dist/llm/formatters/vercel.d.ts.map +1 -1
- package/dist/llm/index.cjs +14 -3
- package/dist/llm/index.d.ts +3 -1
- package/dist/llm/index.d.ts.map +1 -1
- package/dist/llm/index.js +13 -2
- package/dist/llm/providers/local/schemas.d.ts +10 -10
- package/dist/llm/registry/auto-update.cjs +263 -0
- package/dist/llm/registry/auto-update.d.ts +27 -0
- package/dist/llm/registry/auto-update.d.ts.map +1 -0
- package/dist/llm/registry/auto-update.js +227 -0
- package/dist/llm/registry/index.cjs +806 -0
- package/dist/llm/{registry.d.ts → registry/index.d.ts} +21 -43
- package/dist/llm/registry/index.d.ts.map +1 -0
- package/dist/llm/registry/index.js +756 -0
- package/dist/llm/registry/models.generated.cjs +4861 -0
- package/dist/llm/registry/models.generated.d.ts +431 -0
- package/dist/llm/registry/models.generated.d.ts.map +1 -0
- package/dist/llm/registry/models.generated.js +4838 -0
- package/dist/{storage/database/providers/index.cjs → llm/registry/models.manual.cjs} +22 -12
- package/dist/llm/registry/models.manual.d.ts +22 -0
- package/dist/llm/registry/models.manual.d.ts.map +1 -0
- package/dist/llm/registry/models.manual.js +21 -0
- package/dist/llm/registry/sync.cjs +354 -0
- package/dist/llm/registry/sync.d.ts +41 -0
- package/dist/llm/registry/sync.d.ts.map +1 -0
- package/dist/llm/registry/sync.js +328 -0
- package/dist/llm/resolver.cjs +29 -20
- package/dist/llm/resolver.d.ts +4 -4
- package/dist/llm/resolver.d.ts.map +1 -1
- package/dist/llm/resolver.js +28 -20
- package/dist/llm/schemas.cjs +69 -94
- package/dist/llm/schemas.d.ts +19 -158
- package/dist/llm/schemas.d.ts.map +1 -1
- package/dist/llm/schemas.js +67 -91
- package/dist/llm/services/factory.cjs +6 -7
- package/dist/llm/services/factory.d.ts +3 -4
- package/dist/llm/services/factory.d.ts.map +1 -1
- package/dist/llm/services/factory.js +6 -7
- package/dist/llm/services/vercel.cjs +11 -15
- package/dist/llm/services/vercel.d.ts +7 -7
- package/dist/llm/services/vercel.d.ts.map +1 -1
- package/dist/llm/services/vercel.js +11 -15
- package/dist/llm/types.cjs +1 -1
- package/dist/llm/types.d.ts +1 -1
- package/dist/llm/types.d.ts.map +1 -1
- package/dist/llm/types.js +1 -1
- package/dist/llm/validation.cjs +2 -2
- package/dist/llm/validation.d.ts +2 -2
- package/dist/llm/validation.d.ts.map +1 -1
- package/dist/llm/validation.js +1 -1
- package/dist/logger/browser.cjs +4 -4
- package/dist/logger/browser.d.ts +4 -4
- package/dist/logger/browser.d.ts.map +1 -1
- package/dist/logger/browser.js +3 -3
- package/dist/{context/compaction/providers/noop-provider.cjs → logger/default-logger-factory.cjs} +16 -22
- package/dist/logger/default-logger-factory.d.ts +301 -0
- package/dist/logger/default-logger-factory.d.ts.map +1 -0
- package/dist/logger/default-logger-factory.js +18 -0
- package/dist/logger/factory.d.ts +2 -2
- package/dist/logger/factory.d.ts.map +1 -1
- package/dist/logger/index.cjs +7 -2
- package/dist/logger/index.d.ts +5 -3
- package/dist/logger/index.d.ts.map +1 -1
- package/dist/logger/index.js +8 -2
- package/dist/logger/logger.cjs +4 -4
- package/dist/logger/logger.d.ts +4 -4
- package/dist/logger/logger.d.ts.map +1 -1
- package/dist/logger/logger.js +3 -3
- package/dist/logger/v2/dexto-logger.d.ts +3 -3
- package/dist/logger/v2/dexto-logger.d.ts.map +1 -1
- package/dist/logger/v2/schemas.d.ts +12 -12
- package/dist/logger/v2/test-utils.d.ts +5 -5
- package/dist/logger/v2/test-utils.d.ts.map +1 -1
- package/dist/logger/v2/transport-factory.d.ts +3 -3
- package/dist/logger/v2/transport-factory.d.ts.map +1 -1
- package/dist/logger/v2/transports/console-transport.d.ts +2 -2
- package/dist/logger/v2/transports/console-transport.d.ts.map +1 -1
- package/dist/logger/v2/transports/file-transport.d.ts +2 -2
- package/dist/logger/v2/transports/file-transport.d.ts.map +1 -1
- package/dist/logger/v2/transports/silent-transport.d.ts +2 -2
- package/dist/logger/v2/transports/silent-transport.d.ts.map +1 -1
- package/dist/logger/v2/types.cjs +1 -1
- package/dist/logger/v2/types.d.ts +8 -8
- package/dist/logger/v2/types.d.ts.map +1 -1
- package/dist/logger/v2/types.js +1 -1
- package/dist/mcp/errors.cjs +2 -2
- package/dist/mcp/errors.d.ts.map +1 -1
- package/dist/mcp/manager.cjs +16 -11
- package/dist/mcp/manager.d.ts +16 -13
- package/dist/mcp/manager.d.ts.map +1 -1
- package/dist/mcp/manager.js +17 -12
- package/dist/mcp/mcp-client.cjs +25 -20
- package/dist/mcp/mcp-client.d.ts +5 -5
- package/dist/mcp/mcp-client.d.ts.map +1 -1
- package/dist/mcp/mcp-client.js +20 -15
- package/dist/mcp/resolver.cjs +1 -1
- package/dist/mcp/schemas.cjs +5 -5
- package/dist/mcp/schemas.d.ts +4 -4
- package/dist/mcp/schemas.js +2 -2
- package/dist/mcp/types.d.ts +7 -7
- package/dist/mcp/types.d.ts.map +1 -1
- package/dist/memory/manager.d.ts +2 -2
- package/dist/memory/manager.d.ts.map +1 -1
- package/dist/memory/schemas.d.ts +2 -2
- package/dist/prompts/errors.cjs +3 -3
- package/dist/prompts/errors.d.ts.map +1 -1
- package/dist/prompts/prompt-manager.d.ts +3 -3
- package/dist/prompts/prompt-manager.d.ts.map +1 -1
- package/dist/prompts/providers/config-prompt-provider.cjs +15 -29
- package/dist/prompts/providers/config-prompt-provider.d.ts +3 -3
- package/dist/prompts/providers/config-prompt-provider.d.ts.map +1 -1
- package/dist/prompts/providers/config-prompt-provider.js +15 -29
- package/dist/prompts/providers/custom-prompt-provider.d.ts +2 -2
- package/dist/prompts/providers/custom-prompt-provider.d.ts.map +1 -1
- package/dist/prompts/providers/mcp-prompt-provider.d.ts +2 -2
- package/dist/prompts/providers/mcp-prompt-provider.d.ts.map +1 -1
- package/dist/prompts/schemas.d.ts +4 -4
- package/dist/resources/{internal-provider.cjs → agent-resources-provider.cjs} +16 -16
- package/dist/resources/{internal-provider.d.ts → agent-resources-provider.d.ts} +6 -6
- package/dist/resources/agent-resources-provider.d.ts.map +1 -0
- package/dist/resources/{internal-provider.js → agent-resources-provider.js} +13 -13
- package/dist/resources/errors.cjs +2 -2
- package/dist/resources/errors.d.ts.map +1 -1
- package/dist/resources/handlers/blob-handler.d.ts +2 -2
- package/dist/resources/handlers/blob-handler.d.ts.map +1 -1
- package/dist/resources/handlers/factory.d.ts +3 -3
- package/dist/resources/handlers/factory.d.ts.map +1 -1
- package/dist/resources/handlers/filesystem-handler.cjs +25 -0
- package/dist/resources/handlers/filesystem-handler.d.ts +3 -2
- package/dist/resources/handlers/filesystem-handler.d.ts.map +1 -1
- package/dist/resources/handlers/filesystem-handler.js +25 -0
- package/dist/resources/index.cjs +7 -9
- package/dist/resources/index.d.ts +3 -3
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +5 -10
- package/dist/resources/manager.cjs +77 -74
- package/dist/resources/manager.d.ts +16 -7
- package/dist/resources/manager.d.ts.map +1 -1
- package/dist/resources/manager.js +77 -74
- package/dist/resources/schemas.cjs +6 -26
- package/dist/resources/schemas.d.ts +8 -100
- package/dist/resources/schemas.d.ts.map +1 -1
- package/dist/resources/schemas.js +4 -23
- package/dist/search/search-service.d.ts +2 -2
- package/dist/search/search-service.d.ts.map +1 -1
- package/dist/session/chat-session.cjs +16 -26
- package/dist/session/chat-session.d.ts +7 -5
- package/dist/session/chat-session.d.ts.map +1 -1
- package/dist/session/chat-session.js +17 -27
- package/dist/session/errors.cjs +2 -2
- package/dist/session/errors.d.ts.map +1 -1
- package/dist/session/history/database.cjs +1 -1
- package/dist/session/history/database.d.ts +4 -4
- package/dist/session/history/database.d.ts.map +1 -1
- package/dist/session/history/factory.d.ts +3 -3
- package/dist/session/history/factory.d.ts.map +1 -1
- package/dist/session/history/memory.d.ts +4 -4
- package/dist/session/history/memory.d.ts.map +1 -1
- package/dist/session/history/types.d.ts +2 -2
- package/dist/session/history/types.d.ts.map +1 -1
- package/dist/session/index.cjs +3 -0
- package/dist/session/index.d.ts +2 -0
- package/dist/session/index.d.ts.map +1 -1
- package/dist/session/index.js +2 -0
- package/dist/session/message-queue.cjs +29 -5
- package/dist/session/message-queue.d.ts +5 -3
- package/dist/session/message-queue.d.ts.map +1 -1
- package/dist/session/message-queue.js +29 -5
- package/dist/session/session-manager.cjs +107 -12
- package/dist/session/session-manager.d.ts +49 -8
- package/dist/session/session-manager.d.ts.map +1 -1
- package/dist/session/session-manager.js +97 -12
- package/dist/session/title-generator.cjs +2 -2
- package/dist/session/title-generator.d.ts +2 -2
- package/dist/session/title-generator.d.ts.map +1 -1
- package/dist/session/types.d.ts +1 -0
- package/dist/session/types.d.ts.map +1 -1
- package/dist/storage/blob/index.cjs +0 -40
- package/dist/storage/blob/index.d.ts +2 -44
- package/dist/storage/blob/index.d.ts.map +1 -1
- package/dist/storage/blob/index.js +0 -30
- package/dist/storage/cache/index.cjs +0 -37
- package/dist/storage/cache/index.d.ts +0 -42
- package/dist/storage/cache/index.d.ts.map +1 -1
- package/dist/storage/cache/index.js +0 -28
- package/dist/storage/database/index.cjs +0 -42
- package/dist/storage/database/index.d.ts +0 -43
- package/dist/storage/database/index.d.ts.map +1 -1
- package/dist/storage/database/index.js +0 -37
- package/dist/storage/error-codes.cjs +1 -6
- package/dist/storage/error-codes.d.ts +2 -7
- package/dist/storage/error-codes.d.ts.map +1 -1
- package/dist/storage/error-codes.js +1 -6
- package/dist/storage/errors.cjs +18 -82
- package/dist/storage/errors.d.ts +4 -24
- package/dist/storage/errors.d.ts.map +1 -1
- package/dist/storage/errors.js +16 -80
- package/dist/storage/index.cjs +8 -69
- package/dist/storage/index.d.ts +11 -66
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +6 -50
- package/dist/storage/storage-manager.cjs +9 -25
- package/dist/storage/storage-manager.d.ts +11 -15
- package/dist/storage/storage-manager.d.ts.map +1 -1
- package/dist/storage/storage-manager.js +8 -23
- package/dist/storage/types.d.ts +0 -1
- package/dist/storage/types.d.ts.map +1 -1
- package/dist/systemPrompt/contributors.d.ts +4 -4
- package/dist/systemPrompt/contributors.d.ts.map +1 -1
- package/dist/systemPrompt/errors.cjs +2 -2
- package/dist/systemPrompt/errors.d.ts.map +1 -1
- package/dist/systemPrompt/manager.cjs +1 -5
- package/dist/systemPrompt/manager.d.ts +2 -3
- package/dist/systemPrompt/manager.d.ts.map +1 -1
- package/dist/systemPrompt/manager.js +1 -5
- package/dist/telemetry/index.cjs +3 -0
- package/dist/telemetry/index.d.ts +2 -0
- package/dist/telemetry/index.d.ts.map +1 -1
- package/dist/telemetry/index.js +2 -0
- package/dist/telemetry/utils.d.ts +4 -4
- package/dist/telemetry/utils.d.ts.map +1 -1
- package/dist/test-utils/in-memory-storage.cjs +288 -0
- package/dist/test-utils/in-memory-storage.js +252 -0
- package/dist/tools/confirmation/allowed-tools-provider/factory.d.ts +3 -3
- package/dist/tools/confirmation/allowed-tools-provider/factory.d.ts.map +1 -1
- package/dist/tools/confirmation/allowed-tools-provider/in-memory.d.ts +2 -2
- package/dist/tools/confirmation/allowed-tools-provider/in-memory.d.ts.map +1 -1
- package/dist/tools/confirmation/allowed-tools-provider/storage.d.ts +4 -4
- package/dist/tools/confirmation/allowed-tools-provider/storage.d.ts.map +1 -1
- package/dist/tools/confirmation/allowed-tools-provider/types.d.ts +2 -2
- package/dist/tools/confirmation/allowed-tools-provider/types.d.ts.map +1 -1
- package/dist/tools/{internal-tools/constants.cjs → define-tool.cjs} +8 -13
- package/dist/tools/define-tool.d.ts +11 -0
- package/dist/tools/define-tool.d.ts.map +1 -0
- package/dist/tools/define-tool.js +7 -0
- package/dist/tools/error-codes.cjs +2 -2
- package/dist/tools/error-codes.d.ts +2 -2
- package/dist/tools/error-codes.d.ts.map +1 -1
- package/dist/tools/error-codes.js +2 -2
- package/dist/tools/errors.cjs +11 -23
- package/dist/tools/errors.d.ts +4 -10
- package/dist/tools/errors.d.ts.map +1 -1
- package/dist/tools/errors.js +9 -21
- package/dist/tools/index.cjs +3 -8
- package/dist/tools/index.d.ts +2 -4
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +2 -7
- package/dist/{storage/blob/providers/index.cjs → tools/pattern-utils.cjs} +11 -9
- package/dist/tools/pattern-utils.d.ts +20 -0
- package/dist/tools/pattern-utils.d.ts.map +1 -0
- package/dist/tools/pattern-utils.js +10 -0
- package/dist/tools/schemas.cjs +14 -40
- package/dist/tools/schemas.d.ts +6 -50
- package/dist/tools/schemas.d.ts.map +1 -1
- package/dist/tools/schemas.js +11 -32
- package/dist/tools/tool-call-metadata.cjs +75 -0
- package/dist/tools/tool-call-metadata.d.ts +16 -0
- package/dist/tools/tool-call-metadata.d.ts.map +1 -0
- package/dist/tools/tool-call-metadata.js +51 -0
- package/dist/tools/tool-manager.cjs +578 -302
- package/dist/tools/tool-manager.d.ts +105 -81
- package/dist/tools/tool-manager.d.ts.map +1 -1
- package/dist/tools/tool-manager.js +578 -306
- package/dist/tools/types.d.ts +112 -13
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/utils/api-key-resolver.cjs +1 -1
- package/dist/utils/api-key-resolver.js +1 -1
- package/dist/utils/env.cjs +49 -0
- package/dist/utils/env.d.ts +4 -0
- package/dist/utils/env.d.ts.map +1 -0
- package/dist/utils/env.js +24 -0
- package/dist/utils/error-conversion.d.ts +2 -2
- package/dist/utils/error-conversion.d.ts.map +1 -1
- package/dist/utils/index.cjs +3 -1
- 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/path.d.ts +2 -2
- package/dist/utils/path.d.ts.map +1 -1
- package/dist/utils/result.cjs +1 -1
- package/dist/utils/result.d.ts.map +1 -1
- package/dist/utils/schema.cjs +9 -5
- package/dist/utils/schema.d.ts +4 -2
- package/dist/utils/schema.d.ts.map +1 -1
- package/dist/utils/schema.js +9 -5
- package/dist/utils/service-initializer.cjs +58 -51
- package/dist/utils/service-initializer.d.ts +31 -9
- package/dist/utils/service-initializer.d.ts.map +1 -1
- package/dist/utils/service-initializer.js +58 -51
- package/dist/{storage/cache/providers/index.cjs → workspace/error-codes.cjs} +8 -9
- package/dist/workspace/error-codes.d.ts +5 -0
- package/dist/workspace/error-codes.d.ts.map +1 -0
- package/dist/workspace/error-codes.js +7 -0
- package/dist/{storage/blob/factory.cjs → workspace/errors.cjs} +20 -14
- package/dist/workspace/errors.d.ts +5 -0
- package/dist/workspace/errors.d.ts.map +1 -0
- package/dist/workspace/errors.js +21 -0
- package/dist/{image → workspace}/index.cjs +12 -10
- package/dist/workspace/index.d.ts +5 -0
- package/dist/workspace/index.d.ts.map +1 -0
- package/dist/workspace/index.js +9 -0
- package/dist/workspace/manager.cjs +113 -0
- package/dist/workspace/manager.d.ts +18 -0
- package/dist/workspace/manager.d.ts.map +1 -0
- package/dist/workspace/manager.js +90 -0
- package/dist/workspace/types.d.ts +14 -0
- package/dist/workspace/types.d.ts.map +1 -0
- package/package.json +7 -3
- package/dist/context/compaction/factory.cjs +0 -57
- package/dist/context/compaction/factory.d.ts +0 -17
- package/dist/context/compaction/factory.d.ts.map +0 -1
- package/dist/context/compaction/factory.js +0 -34
- package/dist/context/compaction/provider.d.ts +0 -48
- package/dist/context/compaction/provider.d.ts.map +0 -1
- package/dist/context/compaction/providers/noop-provider.d.ts +0 -24
- package/dist/context/compaction/providers/noop-provider.d.ts.map +0 -1
- package/dist/context/compaction/providers/noop-provider.js +0 -24
- package/dist/context/compaction/providers/reactive-overflow-provider.cjs +0 -76
- package/dist/context/compaction/providers/reactive-overflow-provider.d.ts +0 -51
- package/dist/context/compaction/providers/reactive-overflow-provider.d.ts.map +0 -1
- package/dist/context/compaction/providers/reactive-overflow-provider.js +0 -52
- package/dist/context/compaction/registry.cjs +0 -39
- package/dist/context/compaction/registry.d.ts +0 -19
- package/dist/context/compaction/registry.d.ts.map +0 -1
- package/dist/context/compaction/registry.js +0 -16
- package/dist/context/compaction/schemas.cjs +0 -58
- package/dist/context/compaction/schemas.d.ts +0 -69
- package/dist/context/compaction/schemas.d.ts.map +0 -1
- package/dist/context/compaction/schemas.js +0 -34
- package/dist/context/compaction/strategies/reactive-overflow.d.ts.map +0 -1
- package/dist/image/define-image.cjs +0 -146
- package/dist/image/define-image.d.ts +0 -71
- package/dist/image/define-image.d.ts.map +0 -1
- package/dist/image/define-image.js +0 -121
- package/dist/image/index.d.ts +0 -53
- package/dist/image/index.d.ts.map +0 -1
- package/dist/image/index.js +0 -7
- package/dist/image/types.d.ts +0 -246
- package/dist/image/types.d.ts.map +0 -1
- package/dist/llm/registry.cjs +0 -2075
- package/dist/llm/registry.d.ts.map +0 -1
- package/dist/llm/registry.js +0 -2025
- package/dist/llm/services/test-utils.integration.cjs +0 -237
- package/dist/llm/services/test-utils.integration.d.ts +0 -48
- package/dist/llm/services/test-utils.integration.d.ts.map +0 -1
- package/dist/llm/services/test-utils.integration.js +0 -214
- package/dist/plugins/builtins/content-policy.d.ts +0 -26
- package/dist/plugins/builtins/content-policy.d.ts.map +0 -1
- package/dist/plugins/builtins/response-sanitizer.d.ts +0 -25
- package/dist/plugins/builtins/response-sanitizer.d.ts.map +0 -1
- package/dist/plugins/error-codes.cjs +0 -43
- package/dist/plugins/error-codes.d.ts +0 -34
- package/dist/plugins/error-codes.d.ts.map +0 -1
- package/dist/plugins/error-codes.js +0 -20
- package/dist/plugins/index.cjs +0 -61
- package/dist/plugins/index.d.ts +0 -21
- package/dist/plugins/index.d.ts.map +0 -1
- package/dist/plugins/index.js +0 -30
- package/dist/plugins/loader.cjs +0 -171
- package/dist/plugins/loader.d.ts +0 -30
- package/dist/plugins/loader.d.ts.map +0 -1
- package/dist/plugins/loader.js +0 -145
- package/dist/plugins/manager.cjs +0 -473
- package/dist/plugins/manager.d.ts +0 -106
- package/dist/plugins/manager.d.ts.map +0 -1
- package/dist/plugins/manager.js +0 -450
- package/dist/plugins/registrations/builtins.cjs +0 -51
- package/dist/plugins/registrations/builtins.d.ts +0 -17
- package/dist/plugins/registrations/builtins.d.ts.map +0 -1
- package/dist/plugins/registrations/builtins.js +0 -28
- package/dist/plugins/registry.cjs +0 -63
- package/dist/plugins/registry.d.ts +0 -101
- package/dist/plugins/registry.d.ts.map +0 -1
- package/dist/plugins/registry.js +0 -39
- package/dist/plugins/schemas.cjs +0 -73
- package/dist/plugins/schemas.d.ts +0 -195
- package/dist/plugins/schemas.d.ts.map +0 -1
- package/dist/plugins/schemas.js +0 -47
- package/dist/plugins/types.d.ts.map +0 -1
- package/dist/providers/base-registry.cjs +0 -147
- package/dist/providers/base-registry.d.ts +0 -147
- package/dist/providers/base-registry.d.ts.map +0 -1
- package/dist/providers/base-registry.js +0 -123
- package/dist/providers/discovery.cjs +0 -109
- package/dist/providers/discovery.d.ts +0 -96
- package/dist/providers/discovery.d.ts.map +0 -1
- package/dist/providers/discovery.js +0 -84
- package/dist/providers/index.cjs +0 -24
- package/dist/providers/index.d.ts +0 -32
- package/dist/providers/index.d.ts.map +0 -1
- package/dist/providers/index.js +0 -2
- package/dist/resources/internal-provider.d.ts.map +0 -1
- package/dist/storage/blob/factory.d.ts +0 -37
- package/dist/storage/blob/factory.d.ts.map +0 -1
- package/dist/storage/blob/factory.js +0 -15
- package/dist/storage/blob/local-blob-store.cjs +0 -496
- package/dist/storage/blob/local-blob-store.d.ts +0 -58
- package/dist/storage/blob/local-blob-store.d.ts.map +0 -1
- package/dist/storage/blob/local-blob-store.js +0 -463
- package/dist/storage/blob/memory-blob-store.cjs +0 -326
- package/dist/storage/blob/memory-blob-store.d.ts +0 -66
- package/dist/storage/blob/memory-blob-store.d.ts.map +0 -1
- package/dist/storage/blob/memory-blob-store.js +0 -303
- package/dist/storage/blob/provider.d.ts +0 -50
- package/dist/storage/blob/provider.d.ts.map +0 -1
- package/dist/storage/blob/providers/index.d.ts +0 -8
- package/dist/storage/blob/providers/index.d.ts.map +0 -1
- package/dist/storage/blob/providers/index.js +0 -7
- package/dist/storage/blob/providers/local.cjs +0 -39
- package/dist/storage/blob/providers/local.d.ts +0 -17
- package/dist/storage/blob/providers/local.d.ts.map +0 -1
- package/dist/storage/blob/providers/local.js +0 -16
- package/dist/storage/blob/providers/memory.cjs +0 -39
- package/dist/storage/blob/providers/memory.d.ts +0 -17
- package/dist/storage/blob/providers/memory.d.ts.map +0 -1
- package/dist/storage/blob/providers/memory.js +0 -16
- package/dist/storage/blob/registry.cjs +0 -50
- package/dist/storage/blob/registry.d.ts +0 -42
- package/dist/storage/blob/registry.d.ts.map +0 -1
- package/dist/storage/blob/registry.js +0 -26
- package/dist/storage/blob/schemas.cjs +0 -52
- package/dist/storage/blob/schemas.d.ts +0 -85
- package/dist/storage/blob/schemas.d.ts.map +0 -1
- package/dist/storage/blob/schemas.js +0 -26
- package/dist/storage/cache/factory.cjs +0 -38
- package/dist/storage/cache/factory.d.ts +0 -37
- package/dist/storage/cache/factory.d.ts.map +0 -1
- package/dist/storage/cache/factory.js +0 -15
- package/dist/storage/cache/memory-cache-store.cjs +0 -107
- package/dist/storage/cache/memory-cache-store.d.ts +0 -26
- package/dist/storage/cache/memory-cache-store.d.ts.map +0 -1
- package/dist/storage/cache/memory-cache-store.js +0 -84
- package/dist/storage/cache/provider.cjs +0 -16
- package/dist/storage/cache/provider.d.ts +0 -56
- package/dist/storage/cache/provider.d.ts.map +0 -1
- package/dist/storage/cache/provider.js +0 -0
- package/dist/storage/cache/providers/index.d.ts +0 -8
- package/dist/storage/cache/providers/index.d.ts.map +0 -1
- package/dist/storage/cache/providers/index.js +0 -7
- package/dist/storage/cache/providers/memory.d.ts +0 -17
- package/dist/storage/cache/providers/memory.d.ts.map +0 -1
- package/dist/storage/cache/providers/memory.js +0 -17
- package/dist/storage/cache/providers/redis.cjs +0 -66
- package/dist/storage/cache/providers/redis.d.ts +0 -20
- package/dist/storage/cache/providers/redis.d.ts.map +0 -1
- package/dist/storage/cache/providers/redis.js +0 -33
- package/dist/storage/cache/redis-store.cjs +0 -173
- package/dist/storage/cache/redis-store.d.ts +0 -32
- package/dist/storage/cache/redis-store.d.ts.map +0 -1
- package/dist/storage/cache/redis-store.js +0 -150
- package/dist/storage/cache/registry.cjs +0 -50
- package/dist/storage/cache/registry.d.ts +0 -42
- package/dist/storage/cache/registry.d.ts.map +0 -1
- package/dist/storage/cache/registry.js +0 -26
- package/dist/storage/cache/schemas.cjs +0 -81
- package/dist/storage/cache/schemas.d.ts +0 -150
- package/dist/storage/cache/schemas.d.ts.map +0 -1
- package/dist/storage/cache/schemas.js +0 -55
- package/dist/storage/database/factory.cjs +0 -38
- package/dist/storage/database/factory.d.ts +0 -39
- package/dist/storage/database/factory.d.ts.map +0 -1
- package/dist/storage/database/factory.js +0 -15
- package/dist/storage/database/memory-database-store.cjs +0 -122
- package/dist/storage/database/memory-database-store.d.ts +0 -29
- package/dist/storage/database/memory-database-store.d.ts.map +0 -1
- package/dist/storage/database/memory-database-store.js +0 -99
- package/dist/storage/database/postgres-store.cjs +0 -342
- package/dist/storage/database/postgres-store.d.ts +0 -55
- package/dist/storage/database/postgres-store.d.ts.map +0 -1
- package/dist/storage/database/postgres-store.js +0 -319
- package/dist/storage/database/provider.cjs +0 -16
- package/dist/storage/database/provider.d.ts +0 -56
- package/dist/storage/database/provider.d.ts.map +0 -1
- package/dist/storage/database/provider.js +0 -0
- package/dist/storage/database/providers/index.d.ts +0 -9
- package/dist/storage/database/providers/index.d.ts.map +0 -1
- package/dist/storage/database/providers/index.js +0 -9
- package/dist/storage/database/providers/memory.cjs +0 -40
- package/dist/storage/database/providers/memory.d.ts +0 -16
- package/dist/storage/database/providers/memory.d.ts.map +0 -1
- package/dist/storage/database/providers/memory.js +0 -17
- package/dist/storage/database/providers/postgres.cjs +0 -62
- package/dist/storage/database/providers/postgres.d.ts +0 -19
- package/dist/storage/database/providers/postgres.d.ts.map +0 -1
- package/dist/storage/database/providers/postgres.js +0 -29
- package/dist/storage/database/providers/sqlite.cjs +0 -66
- package/dist/storage/database/providers/sqlite.d.ts +0 -20
- package/dist/storage/database/providers/sqlite.d.ts.map +0 -1
- package/dist/storage/database/providers/sqlite.js +0 -33
- package/dist/storage/database/registry.cjs +0 -50
- package/dist/storage/database/registry.d.ts +0 -42
- package/dist/storage/database/registry.d.ts.map +0 -1
- package/dist/storage/database/registry.js +0 -26
- package/dist/storage/database/schemas.cjs +0 -97
- package/dist/storage/database/schemas.d.ts +0 -226
- package/dist/storage/database/schemas.d.ts.map +0 -1
- package/dist/storage/database/schemas.js +0 -70
- package/dist/storage/database/sqlite-store.cjs +0 -270
- package/dist/storage/database/sqlite-store.d.ts +0 -33
- package/dist/storage/database/sqlite-store.d.ts.map +0 -1
- package/dist/storage/database/sqlite-store.js +0 -237
- package/dist/storage/schemas.cjs +0 -57
- package/dist/storage/schemas.d.ts +0 -347
- package/dist/storage/schemas.d.ts.map +0 -1
- package/dist/storage/schemas.js +0 -37
- package/dist/tools/bash-pattern-utils.cjs +0 -91
- package/dist/tools/bash-pattern-utils.d.ts +0 -58
- package/dist/tools/bash-pattern-utils.d.ts.map +0 -1
- package/dist/tools/bash-pattern-utils.js +0 -64
- package/dist/tools/custom-tool-registry.cjs +0 -64
- package/dist/tools/custom-tool-registry.d.ts +0 -126
- package/dist/tools/custom-tool-registry.d.ts.map +0 -1
- package/dist/tools/custom-tool-registry.js +0 -40
- package/dist/tools/custom-tool-schema-registry.cjs +0 -164
- package/dist/tools/custom-tool-schema-registry.d.ts +0 -86
- package/dist/tools/custom-tool-schema-registry.d.ts.map +0 -1
- package/dist/tools/custom-tool-schema-registry.js +0 -140
- package/dist/tools/internal-tools/constants.d.ts +0 -12
- package/dist/tools/internal-tools/constants.d.ts.map +0 -1
- package/dist/tools/internal-tools/constants.js +0 -12
- package/dist/tools/internal-tools/implementations/ask-user-tool.cjs +0 -57
- package/dist/tools/internal-tools/implementations/ask-user-tool.d.ts +0 -18
- package/dist/tools/internal-tools/implementations/ask-user-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/ask-user-tool.js +0 -34
- package/dist/tools/internal-tools/implementations/delegate-to-url-tool.cjs +0 -192
- package/dist/tools/internal-tools/implementations/delegate-to-url-tool.d.ts +0 -33
- package/dist/tools/internal-tools/implementations/delegate-to-url-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/delegate-to-url-tool.js +0 -169
- package/dist/tools/internal-tools/implementations/get-resource-tool.cjs +0 -113
- package/dist/tools/internal-tools/implementations/get-resource-tool.d.ts +0 -30
- package/dist/tools/internal-tools/implementations/get-resource-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/get-resource-tool.js +0 -90
- package/dist/tools/internal-tools/implementations/invoke-skill-tool.cjs +0 -140
- package/dist/tools/internal-tools/implementations/invoke-skill-tool.d.ts +0 -24
- package/dist/tools/internal-tools/implementations/invoke-skill-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/invoke-skill-tool.js +0 -117
- package/dist/tools/internal-tools/implementations/list-resources-tool.cjs +0 -91
- package/dist/tools/internal-tools/implementations/list-resources-tool.d.ts +0 -24
- package/dist/tools/internal-tools/implementations/list-resources-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/list-resources-tool.js +0 -68
- package/dist/tools/internal-tools/implementations/search-history-tool.cjs +0 -61
- package/dist/tools/internal-tools/implementations/search-history-tool.d.ts +0 -7
- package/dist/tools/internal-tools/implementations/search-history-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/search-history-tool.js +0 -38
- package/dist/tools/internal-tools/index.cjs +0 -26
- package/dist/tools/internal-tools/index.d.ts +0 -4
- package/dist/tools/internal-tools/index.d.ts.map +0 -1
- package/dist/tools/internal-tools/index.js +0 -3
- package/dist/tools/internal-tools/provider.cjs +0 -324
- package/dist/tools/internal-tools/provider.d.ts +0 -114
- package/dist/tools/internal-tools/provider.d.ts.map +0 -1
- package/dist/tools/internal-tools/provider.js +0 -301
- package/dist/tools/internal-tools/registry.cjs +0 -71
- package/dist/tools/internal-tools/registry.d.ts +0 -91
- package/dist/tools/internal-tools/registry.d.ts.map +0 -1
- package/dist/tools/internal-tools/registry.js +0 -47
- /package/dist/{context/compaction/provider.js → agent/agent-options.js} +0 -0
- /package/dist/{image/types.js → agent/runtime-config.js} +0 -0
- /package/dist/{image → hooks}/types.cjs +0 -0
- /package/dist/{plugins → hooks}/types.js +0 -0
- /package/dist/{plugins → workspace}/types.cjs +0 -0
- /package/dist/{storage/blob/provider.js → workspace/types.js} +0 -0
|
@@ -16,19 +16,29 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
|
|
22
|
-
postgresDatabaseProvider: () => import_postgres.postgresDatabaseProvider,
|
|
23
|
-
sqliteDatabaseProvider: () => import_sqlite.sqliteDatabaseProvider
|
|
19
|
+
var models_manual_exports = {};
|
|
20
|
+
__export(models_manual_exports, {
|
|
21
|
+
MANUAL_MODELS_BY_PROVIDER: () => MANUAL_MODELS_BY_PROVIDER
|
|
24
22
|
});
|
|
25
|
-
module.exports = __toCommonJS(
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
module.exports = __toCommonJS(models_manual_exports);
|
|
24
|
+
const MANUAL_MODELS_BY_PROVIDER = {
|
|
25
|
+
openai: [
|
|
26
|
+
{
|
|
27
|
+
name: "gpt-4o-audio-preview",
|
|
28
|
+
displayName: "GPT-4o Audio Preview",
|
|
29
|
+
maxInputTokens: 128e3,
|
|
30
|
+
supportedFileTypes: ["audio"],
|
|
31
|
+
pricing: {
|
|
32
|
+
inputPerM: 2.5,
|
|
33
|
+
outputPerM: 10,
|
|
34
|
+
cacheReadPerM: 1.25,
|
|
35
|
+
currency: "USD",
|
|
36
|
+
unit: "per_million_tokens"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
};
|
|
29
41
|
// Annotate the CommonJS export names for ESM import in node:
|
|
30
42
|
0 && (module.exports = {
|
|
31
|
-
|
|
32
|
-
postgresDatabaseProvider,
|
|
33
|
-
sqliteDatabaseProvider
|
|
43
|
+
MANUAL_MODELS_BY_PROVIDER
|
|
34
44
|
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Manually-maintained registry entries for models that we want to support even when models.dev
|
|
3
|
+
* doesn't include them (e.g., legacy IDs used in configs/tests).
|
|
4
|
+
*
|
|
5
|
+
* Keep this list small and intentional.
|
|
6
|
+
*/
|
|
7
|
+
export declare const MANUAL_MODELS_BY_PROVIDER: {
|
|
8
|
+
openai: {
|
|
9
|
+
name: string;
|
|
10
|
+
displayName: string;
|
|
11
|
+
maxInputTokens: number;
|
|
12
|
+
supportedFileTypes: "audio"[];
|
|
13
|
+
pricing: {
|
|
14
|
+
inputPerM: number;
|
|
15
|
+
outputPerM: number;
|
|
16
|
+
cacheReadPerM: number;
|
|
17
|
+
currency: "USD";
|
|
18
|
+
unit: "per_million_tokens";
|
|
19
|
+
};
|
|
20
|
+
}[];
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=models.manual.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.manual.d.ts","sourceRoot":"","sources":["../../../src/llm/registry/models.manual.ts"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;CAgBe,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "../../chunk-PTJYTZNU.js";
|
|
2
|
+
const MANUAL_MODELS_BY_PROVIDER = {
|
|
3
|
+
openai: [
|
|
4
|
+
{
|
|
5
|
+
name: "gpt-4o-audio-preview",
|
|
6
|
+
displayName: "GPT-4o Audio Preview",
|
|
7
|
+
maxInputTokens: 128e3,
|
|
8
|
+
supportedFileTypes: ["audio"],
|
|
9
|
+
pricing: {
|
|
10
|
+
inputPerM: 2.5,
|
|
11
|
+
outputPerM: 10,
|
|
12
|
+
cacheReadPerM: 1.25,
|
|
13
|
+
currency: "USD",
|
|
14
|
+
unit: "per_million_tokens"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
MANUAL_MODELS_BY_PROVIDER
|
|
21
|
+
};
|
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var sync_exports = {};
|
|
20
|
+
__export(sync_exports, {
|
|
21
|
+
MODELS_DEV_URL: () => MODELS_DEV_URL,
|
|
22
|
+
buildModelsByProviderFromParsedSources: () => buildModelsByProviderFromParsedSources,
|
|
23
|
+
buildModelsByProviderFromRemote: () => buildModelsByProviderFromRemote,
|
|
24
|
+
parseModelsDevApi: () => parseModelsDevApi
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(sync_exports);
|
|
27
|
+
var import_DextoValidationError = require("../../errors/DextoValidationError.js");
|
|
28
|
+
var import_DextoRuntimeError = require("../../errors/DextoRuntimeError.js");
|
|
29
|
+
var import_types = require("../../errors/types.js");
|
|
30
|
+
const MODELS_DEV_URL = "https://models.dev/api.json";
|
|
31
|
+
function isRecord(value) {
|
|
32
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
33
|
+
}
|
|
34
|
+
function makeIssue(message, path) {
|
|
35
|
+
return {
|
|
36
|
+
code: "llm_registry_models_dev_parse",
|
|
37
|
+
message,
|
|
38
|
+
scope: import_types.ErrorScope.LLM,
|
|
39
|
+
type: import_types.ErrorType.USER,
|
|
40
|
+
severity: "error",
|
|
41
|
+
...path ? { path } : {}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function requireRecord(value, label) {
|
|
45
|
+
if (!isRecord(value))
|
|
46
|
+
throw new import_DextoValidationError.DextoValidationError([makeIssue(`Expected ${label} to be an object`)]);
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function requireString(value, label) {
|
|
50
|
+
if (typeof value !== "string")
|
|
51
|
+
throw new import_DextoValidationError.DextoValidationError([makeIssue(`Expected ${label} to be a string`)]);
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
function requireNumber(value, label) {
|
|
55
|
+
if (typeof value !== "number" || Number.isNaN(value)) {
|
|
56
|
+
throw new import_DextoValidationError.DextoValidationError([makeIssue(`Expected ${label} to be a number`)]);
|
|
57
|
+
}
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
function parseModelsDevApi(json) {
|
|
61
|
+
const root = requireRecord(json, "models.dev api.json root");
|
|
62
|
+
const api = {};
|
|
63
|
+
function parseModalitiesArray(value) {
|
|
64
|
+
if (!Array.isArray(value)) return [];
|
|
65
|
+
const result = [];
|
|
66
|
+
for (const item of value) {
|
|
67
|
+
if (item === "text" || item === "audio" || item === "image" || item === "video" || item === "pdf") {
|
|
68
|
+
result.push(item);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return result;
|
|
72
|
+
}
|
|
73
|
+
for (const [providerId, providerValue] of Object.entries(root)) {
|
|
74
|
+
if (!isRecord(providerValue)) continue;
|
|
75
|
+
const provider = providerValue;
|
|
76
|
+
const models = requireRecord(provider.models, `models.dev provider '${providerId}'.models`);
|
|
77
|
+
const parsedProvider = {
|
|
78
|
+
id: requireString(provider.id ?? providerId, `models.dev provider '${providerId}'.id`),
|
|
79
|
+
name: requireString(
|
|
80
|
+
provider.name ?? providerId,
|
|
81
|
+
`models.dev provider '${providerId}'.name`
|
|
82
|
+
),
|
|
83
|
+
models: {}
|
|
84
|
+
};
|
|
85
|
+
for (const [modelId, modelValue] of Object.entries(models)) {
|
|
86
|
+
if (!isRecord(modelValue)) continue;
|
|
87
|
+
const m = modelValue;
|
|
88
|
+
const limit = requireRecord(
|
|
89
|
+
m.limit,
|
|
90
|
+
`models.dev model '${providerId}/${modelId}'.limit`
|
|
91
|
+
);
|
|
92
|
+
const parsedModel = {
|
|
93
|
+
id: requireString(
|
|
94
|
+
m.id ?? modelId,
|
|
95
|
+
`models.dev model '${providerId}/${modelId}'.id`
|
|
96
|
+
),
|
|
97
|
+
name: requireString(
|
|
98
|
+
m.name ?? modelId,
|
|
99
|
+
`models.dev model '${providerId}/${modelId}'.name`
|
|
100
|
+
),
|
|
101
|
+
attachment: Boolean(m.attachment),
|
|
102
|
+
limit: {
|
|
103
|
+
context: requireNumber(
|
|
104
|
+
limit.context,
|
|
105
|
+
`models.dev model '${providerId}/${modelId}'.limit.context`
|
|
106
|
+
),
|
|
107
|
+
...typeof limit.input === "number" ? { input: limit.input } : {},
|
|
108
|
+
...typeof limit.output === "number" ? { output: limit.output } : {}
|
|
109
|
+
},
|
|
110
|
+
modalities: isRecord(m.modalities) ? {
|
|
111
|
+
input: parseModalitiesArray(m.modalities.input),
|
|
112
|
+
output: parseModalitiesArray(m.modalities.output)
|
|
113
|
+
} : void 0,
|
|
114
|
+
cost: isRecord(m.cost) && typeof m.cost.input === "number" && typeof m.cost.output === "number" ? {
|
|
115
|
+
input: m.cost.input,
|
|
116
|
+
output: m.cost.output,
|
|
117
|
+
...typeof m.cost.cache_read === "number" ? { cache_read: m.cost.cache_read } : {},
|
|
118
|
+
...typeof m.cost.cache_write === "number" ? { cache_write: m.cost.cache_write } : {},
|
|
119
|
+
...m.cost.context_over_200k != null ? { context_over_200k: m.cost.context_over_200k } : {}
|
|
120
|
+
} : void 0
|
|
121
|
+
};
|
|
122
|
+
parsedProvider.models[modelId] = parsedModel;
|
|
123
|
+
}
|
|
124
|
+
api[providerId] = parsedProvider;
|
|
125
|
+
}
|
|
126
|
+
return api;
|
|
127
|
+
}
|
|
128
|
+
function getSupportedFileTypesFromModel(provider, model) {
|
|
129
|
+
const inputModalities = model.modalities?.input ?? [];
|
|
130
|
+
const fileTypes = [];
|
|
131
|
+
if (inputModalities.includes("pdf")) fileTypes.push("pdf");
|
|
132
|
+
if (inputModalities.includes("image")) fileTypes.push("image");
|
|
133
|
+
if (inputModalities.includes("audio")) fileTypes.push("audio");
|
|
134
|
+
if (provider === "openai" && model.attachment === true && inputModalities.includes("image")) {
|
|
135
|
+
if (!fileTypes.includes("pdf")) fileTypes.unshift("pdf");
|
|
136
|
+
}
|
|
137
|
+
return fileTypes;
|
|
138
|
+
}
|
|
139
|
+
function getPricing(model) {
|
|
140
|
+
if (!model.cost) return void 0;
|
|
141
|
+
return {
|
|
142
|
+
inputPerM: model.cost.input,
|
|
143
|
+
outputPerM: model.cost.output,
|
|
144
|
+
...typeof model.cost.cache_read === "number" ? { cacheReadPerM: model.cost.cache_read } : {},
|
|
145
|
+
...typeof model.cost.cache_write === "number" ? { cacheWritePerM: model.cost.cache_write } : {},
|
|
146
|
+
currency: "USD",
|
|
147
|
+
unit: "per_million_tokens"
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
function modelToModelInfo(provider, model, options) {
|
|
151
|
+
const pricing = getPricing(model);
|
|
152
|
+
return {
|
|
153
|
+
name: model.id,
|
|
154
|
+
displayName: model.name,
|
|
155
|
+
maxInputTokens: model.limit.input ?? model.limit.context,
|
|
156
|
+
supportedFileTypes: getSupportedFileTypesFromModel(provider, model),
|
|
157
|
+
...pricing ? { pricing } : {},
|
|
158
|
+
...options.defaultModelId === model.id ? { default: true } : {}
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
function buildModelsFromModelsDevProvider(params) {
|
|
162
|
+
const { spec, modelsDevApi } = params;
|
|
163
|
+
const modelsDevProvider = modelsDevApi[spec.modelsDevProviderId];
|
|
164
|
+
if (!modelsDevProvider) {
|
|
165
|
+
throw new import_DextoRuntimeError.DextoRuntimeError(
|
|
166
|
+
"llm_registry_models_dev_provider_missing",
|
|
167
|
+
import_types.ErrorScope.LLM,
|
|
168
|
+
import_types.ErrorType.THIRD_PARTY,
|
|
169
|
+
`models.dev provider '${spec.modelsDevProviderId}' not found (needed for dexto-nova provider '${spec.provider}')`,
|
|
170
|
+
{ modelsDevProviderId: spec.modelsDevProviderId, provider: spec.provider }
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
const results = [];
|
|
174
|
+
for (const [modelId, model] of Object.entries(modelsDevProvider.models)) {
|
|
175
|
+
if (!spec.includeModelId(modelId)) continue;
|
|
176
|
+
const options = {
|
|
177
|
+
...spec.defaultModelId ? { defaultModelId: spec.defaultModelId } : {}
|
|
178
|
+
};
|
|
179
|
+
results.push(modelToModelInfo(spec.provider, model, options));
|
|
180
|
+
}
|
|
181
|
+
results.sort((a, b) => a.name.localeCompare(b.name));
|
|
182
|
+
return results;
|
|
183
|
+
}
|
|
184
|
+
function buildModelsByProviderFromParsedSources(params) {
|
|
185
|
+
const { modelsDevApi } = params;
|
|
186
|
+
const defaults = {
|
|
187
|
+
openai: "gpt-5-mini",
|
|
188
|
+
anthropic: "claude-haiku-4-5-20251001",
|
|
189
|
+
google: "gemini-3-flash-preview",
|
|
190
|
+
groq: "llama-3.3-70b-versatile",
|
|
191
|
+
xai: "grok-4",
|
|
192
|
+
cohere: "command-a-03-2025",
|
|
193
|
+
minimax: "MiniMax-M2.1",
|
|
194
|
+
glm: "glm-4.7",
|
|
195
|
+
vertex: "gemini-3-flash-preview",
|
|
196
|
+
bedrock: "anthropic.claude-sonnet-4-5-20250929-v1:0"
|
|
197
|
+
};
|
|
198
|
+
const include = {
|
|
199
|
+
openai: (id) => id.startsWith("gpt-") || id.startsWith("o"),
|
|
200
|
+
anthropic: (id) => id.startsWith("claude-"),
|
|
201
|
+
google: (id) => id.startsWith("gemini-"),
|
|
202
|
+
groq: (_id) => true,
|
|
203
|
+
xai: (id) => id.startsWith("grok-"),
|
|
204
|
+
cohere: (id) => id.startsWith("command-"),
|
|
205
|
+
minimax: (_id) => true,
|
|
206
|
+
glm: (id) => id.startsWith("glm-"),
|
|
207
|
+
vertex: (_id) => true,
|
|
208
|
+
bedrock: (_id) => true,
|
|
209
|
+
openrouter: (_id) => true
|
|
210
|
+
};
|
|
211
|
+
const modelsByProvider = {
|
|
212
|
+
openai: buildModelsFromModelsDevProvider({
|
|
213
|
+
spec: {
|
|
214
|
+
provider: "openai",
|
|
215
|
+
modelsDevProviderId: "openai",
|
|
216
|
+
...defaults.openai ? { defaultModelId: defaults.openai } : {},
|
|
217
|
+
includeModelId: include.openai
|
|
218
|
+
},
|
|
219
|
+
modelsDevApi
|
|
220
|
+
}),
|
|
221
|
+
"openai-compatible": [],
|
|
222
|
+
anthropic: buildModelsFromModelsDevProvider({
|
|
223
|
+
spec: {
|
|
224
|
+
provider: "anthropic",
|
|
225
|
+
modelsDevProviderId: "anthropic",
|
|
226
|
+
...defaults.anthropic ? { defaultModelId: defaults.anthropic } : {},
|
|
227
|
+
includeModelId: include.anthropic
|
|
228
|
+
},
|
|
229
|
+
modelsDevApi
|
|
230
|
+
}),
|
|
231
|
+
google: buildModelsFromModelsDevProvider({
|
|
232
|
+
spec: {
|
|
233
|
+
provider: "google",
|
|
234
|
+
modelsDevProviderId: "google",
|
|
235
|
+
...defaults.google ? { defaultModelId: defaults.google } : {},
|
|
236
|
+
includeModelId: include.google
|
|
237
|
+
},
|
|
238
|
+
modelsDevApi
|
|
239
|
+
}),
|
|
240
|
+
groq: buildModelsFromModelsDevProvider({
|
|
241
|
+
spec: {
|
|
242
|
+
provider: "groq",
|
|
243
|
+
modelsDevProviderId: "groq",
|
|
244
|
+
...defaults.groq ? { defaultModelId: defaults.groq } : {},
|
|
245
|
+
includeModelId: include.groq
|
|
246
|
+
},
|
|
247
|
+
modelsDevApi
|
|
248
|
+
}),
|
|
249
|
+
xai: buildModelsFromModelsDevProvider({
|
|
250
|
+
spec: {
|
|
251
|
+
provider: "xai",
|
|
252
|
+
modelsDevProviderId: "xai",
|
|
253
|
+
...defaults.xai ? { defaultModelId: defaults.xai } : {},
|
|
254
|
+
includeModelId: include.xai
|
|
255
|
+
},
|
|
256
|
+
modelsDevApi
|
|
257
|
+
}),
|
|
258
|
+
cohere: buildModelsFromModelsDevProvider({
|
|
259
|
+
spec: {
|
|
260
|
+
provider: "cohere",
|
|
261
|
+
modelsDevProviderId: "cohere",
|
|
262
|
+
...defaults.cohere ? { defaultModelId: defaults.cohere } : {},
|
|
263
|
+
includeModelId: include.cohere
|
|
264
|
+
},
|
|
265
|
+
modelsDevApi
|
|
266
|
+
}),
|
|
267
|
+
minimax: buildModelsFromModelsDevProvider({
|
|
268
|
+
spec: {
|
|
269
|
+
provider: "minimax",
|
|
270
|
+
modelsDevProviderId: "minimax",
|
|
271
|
+
...defaults.minimax ? { defaultModelId: defaults.minimax } : {},
|
|
272
|
+
includeModelId: include.minimax
|
|
273
|
+
},
|
|
274
|
+
modelsDevApi
|
|
275
|
+
}),
|
|
276
|
+
glm: buildModelsFromModelsDevProvider({
|
|
277
|
+
spec: {
|
|
278
|
+
provider: "glm",
|
|
279
|
+
modelsDevProviderId: "zhipuai",
|
|
280
|
+
...defaults.glm ? { defaultModelId: defaults.glm } : {},
|
|
281
|
+
includeModelId: include.glm
|
|
282
|
+
},
|
|
283
|
+
modelsDevApi
|
|
284
|
+
}),
|
|
285
|
+
openrouter: buildModelsFromModelsDevProvider({
|
|
286
|
+
spec: {
|
|
287
|
+
provider: "openrouter",
|
|
288
|
+
modelsDevProviderId: "openrouter",
|
|
289
|
+
includeModelId: include.openrouter
|
|
290
|
+
},
|
|
291
|
+
modelsDevApi
|
|
292
|
+
}),
|
|
293
|
+
litellm: [],
|
|
294
|
+
glama: [],
|
|
295
|
+
vertex: [
|
|
296
|
+
...buildModelsFromModelsDevProvider({
|
|
297
|
+
spec: {
|
|
298
|
+
provider: "vertex",
|
|
299
|
+
modelsDevProviderId: "google-vertex",
|
|
300
|
+
...defaults.vertex ? { defaultModelId: defaults.vertex } : {},
|
|
301
|
+
includeModelId: include.vertex
|
|
302
|
+
},
|
|
303
|
+
modelsDevApi
|
|
304
|
+
}),
|
|
305
|
+
...buildModelsFromModelsDevProvider({
|
|
306
|
+
spec: {
|
|
307
|
+
provider: "vertex",
|
|
308
|
+
modelsDevProviderId: "google-vertex-anthropic",
|
|
309
|
+
includeModelId: include.vertex
|
|
310
|
+
},
|
|
311
|
+
modelsDevApi
|
|
312
|
+
})
|
|
313
|
+
].sort((a, b) => a.name.localeCompare(b.name)),
|
|
314
|
+
bedrock: buildModelsFromModelsDevProvider({
|
|
315
|
+
spec: {
|
|
316
|
+
provider: "bedrock",
|
|
317
|
+
modelsDevProviderId: "amazon-bedrock",
|
|
318
|
+
...defaults.bedrock ? { defaultModelId: defaults.bedrock } : {},
|
|
319
|
+
includeModelId: include.bedrock
|
|
320
|
+
},
|
|
321
|
+
modelsDevApi
|
|
322
|
+
}).map((m) => ({ ...m, name: m.name.replace(/^(eu\.|us\.|global\.)/i, "") })).filter((m, idx, arr) => arr.findIndex((x) => x.name === m.name) === idx).sort((a, b) => a.name.localeCompare(b.name)),
|
|
323
|
+
local: [],
|
|
324
|
+
ollama: [],
|
|
325
|
+
"dexto-nova": []
|
|
326
|
+
};
|
|
327
|
+
return modelsByProvider;
|
|
328
|
+
}
|
|
329
|
+
async function buildModelsByProviderFromRemote(options) {
|
|
330
|
+
const timeoutMs = options?.timeoutMs ?? 3e4;
|
|
331
|
+
const userAgent = options?.userAgent ?? "dexto-llm-registry";
|
|
332
|
+
const modelsDevRes = await fetch(options?.modelsDevUrl ?? MODELS_DEV_URL, {
|
|
333
|
+
headers: { "User-Agent": userAgent },
|
|
334
|
+
signal: AbortSignal.timeout(timeoutMs)
|
|
335
|
+
});
|
|
336
|
+
if (!modelsDevRes.ok) {
|
|
337
|
+
throw new import_DextoRuntimeError.DextoRuntimeError(
|
|
338
|
+
"llm_registry_models_dev_fetch_failed",
|
|
339
|
+
import_types.ErrorScope.LLM,
|
|
340
|
+
import_types.ErrorType.THIRD_PARTY,
|
|
341
|
+
`Failed to fetch models.dev (${modelsDevRes.status} ${modelsDevRes.statusText})`,
|
|
342
|
+
{ status: modelsDevRes.status, statusText: modelsDevRes.statusText }
|
|
343
|
+
);
|
|
344
|
+
}
|
|
345
|
+
const modelsDevApi = parseModelsDevApi(await modelsDevRes.json());
|
|
346
|
+
return buildModelsByProviderFromParsedSources({ modelsDevApi });
|
|
347
|
+
}
|
|
348
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
349
|
+
0 && (module.exports = {
|
|
350
|
+
MODELS_DEV_URL,
|
|
351
|
+
buildModelsByProviderFromParsedSources,
|
|
352
|
+
buildModelsByProviderFromRemote,
|
|
353
|
+
parseModelsDevApi
|
|
354
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { LLMProvider } from '../types.js';
|
|
2
|
+
import type { ModelInfo } from './index.js';
|
|
3
|
+
export declare const MODELS_DEV_URL = "https://models.dev/api.json";
|
|
4
|
+
type ModelsDevApi = Record<string, ModelsDevProvider>;
|
|
5
|
+
type ModelsDevProvider = {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
models: Record<string, ModelsDevModel>;
|
|
9
|
+
};
|
|
10
|
+
type ModelsDevModel = {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
attachment: boolean;
|
|
14
|
+
limit: {
|
|
15
|
+
context: number;
|
|
16
|
+
input?: number;
|
|
17
|
+
output?: number;
|
|
18
|
+
};
|
|
19
|
+
modalities?: {
|
|
20
|
+
input: Array<'text' | 'audio' | 'image' | 'video' | 'pdf'>;
|
|
21
|
+
output: Array<'text' | 'audio' | 'image' | 'video' | 'pdf'>;
|
|
22
|
+
} | undefined;
|
|
23
|
+
cost?: {
|
|
24
|
+
input: number;
|
|
25
|
+
output: number;
|
|
26
|
+
cache_read?: number;
|
|
27
|
+
cache_write?: number;
|
|
28
|
+
context_over_200k?: unknown;
|
|
29
|
+
} | undefined;
|
|
30
|
+
};
|
|
31
|
+
export declare function parseModelsDevApi(json: unknown): ModelsDevApi;
|
|
32
|
+
export declare function buildModelsByProviderFromParsedSources(params: {
|
|
33
|
+
modelsDevApi: ModelsDevApi;
|
|
34
|
+
}): Record<LLMProvider, ModelInfo[]>;
|
|
35
|
+
export declare function buildModelsByProviderFromRemote(options?: {
|
|
36
|
+
modelsDevUrl?: string;
|
|
37
|
+
userAgent?: string;
|
|
38
|
+
timeoutMs?: number;
|
|
39
|
+
}): Promise<Record<LLMProvider, ModelInfo[]>>;
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=sync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../src/llm/registry/sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAqB,MAAM,aAAa,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAK5C,eAAO,MAAM,cAAc,gCAAgC,CAAC;AAE5D,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;AACtD,KAAK,iBAAiB,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;CAC1C,CAAC;AACF,KAAK,cAAc,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE;QACH,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,UAAU,CAAC,EACL;QACI,KAAK,EAAE,KAAK,CAAC,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,CAAC,CAAC;QAC3D,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,CAAC,CAAC;KAC/D,GACD,SAAS,CAAC;IAChB,IAAI,CAAC,EACC;QACI,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC/B,GACD,SAAS,CAAC;CACnB,CAAC;AAoCF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,GAAG,YAAY,CAgG7D;AA2FD,wBAAgB,sCAAsC,CAAC,MAAM,EAAE;IAC3D,YAAY,EAAE,YAAY,CAAC;CAC9B,GAAG,MAAM,CAAC,WAAW,EAAE,SAAS,EAAE,CAAC,CAuJnC;AAED,wBAAsB,+BAA+B,CAAC,OAAO,CAAC,EAAE;IAC5D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,SAAS,EAAE,CAAC,CAAC,CAoB5C"}
|