@dexto/core 1.4.0 → 1.5.1
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 +36 -0
- package/dist/agent/DextoAgent.cjs +22 -3
- package/dist/agent/DextoAgent.d.ts +19 -2
- package/dist/agent/DextoAgent.d.ts.map +1 -1
- package/dist/agent/DextoAgent.js +23 -4
- package/dist/agent/index.cjs +4 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/agent/index.js +5 -1
- package/dist/agent/schemas.cjs +90 -71
- package/dist/agent/schemas.d.ts +5959 -96
- package/dist/agent/schemas.d.ts.map +1 -1
- package/dist/agent/schemas.js +87 -66
- package/dist/approval/manager.cjs +165 -1
- package/dist/approval/manager.d.ts +91 -2
- package/dist/approval/manager.d.ts.map +1 -1
- package/dist/approval/manager.js +155 -1
- package/dist/approval/schemas.cjs +39 -3
- package/dist/approval/schemas.d.ts +238 -1
- package/dist/approval/schemas.d.ts.map +1 -1
- package/dist/approval/schemas.js +35 -3
- package/dist/approval/types.cjs +1 -0
- package/dist/approval/types.d.ts +26 -1
- package/dist/approval/types.d.ts.map +1 -1
- package/dist/approval/types.js +1 -0
- package/dist/context/compaction/factory.cjs +57 -0
- package/dist/context/compaction/factory.d.ts +17 -0
- package/dist/context/compaction/factory.d.ts.map +1 -0
- package/dist/context/compaction/factory.js +34 -0
- package/dist/context/compaction/index.cjs +49 -0
- package/dist/context/compaction/index.d.ts +11 -0
- package/dist/context/compaction/index.d.ts.map +1 -0
- package/dist/context/compaction/index.js +19 -0
- package/dist/context/{compression → compaction}/overflow.cjs +3 -3
- package/dist/context/{compression → compaction}/overflow.d.ts +4 -4
- package/dist/context/compaction/overflow.d.ts.map +1 -0
- package/dist/context/{compression → compaction}/overflow.js +2 -2
- package/dist/context/compaction/provider.cjs +16 -0
- package/dist/context/compaction/provider.d.ts +48 -0
- package/dist/context/compaction/provider.d.ts.map +1 -0
- package/dist/context/compaction/providers/noop-provider.cjs +48 -0
- package/dist/context/compaction/providers/noop-provider.d.ts +24 -0
- package/dist/context/compaction/providers/noop-provider.d.ts.map +1 -0
- package/dist/context/compaction/providers/noop-provider.js +24 -0
- package/dist/context/compaction/providers/reactive-overflow-provider.cjs +61 -0
- package/dist/context/compaction/providers/reactive-overflow-provider.d.ts +36 -0
- package/dist/context/compaction/providers/reactive-overflow-provider.d.ts.map +1 -0
- package/dist/context/compaction/providers/reactive-overflow-provider.js +37 -0
- package/dist/context/compaction/registry.cjs +39 -0
- package/dist/context/compaction/registry.d.ts +19 -0
- package/dist/context/compaction/registry.d.ts.map +1 -0
- package/dist/context/compaction/registry.js +16 -0
- package/dist/context/compaction/schemas.cjs +38 -0
- package/dist/context/compaction/schemas.d.ts +24 -0
- package/dist/context/compaction/schemas.d.ts.map +1 -0
- package/dist/context/compaction/schemas.js +14 -0
- package/dist/context/compaction/strategies/noop.cjs +36 -0
- package/dist/context/compaction/strategies/noop.d.ts +18 -0
- package/dist/context/compaction/strategies/noop.d.ts.map +1 -0
- package/dist/context/compaction/strategies/noop.js +13 -0
- package/dist/context/{compression → compaction/strategies}/reactive-overflow.cjs +3 -3
- package/dist/context/{compression → compaction/strategies}/reactive-overflow.d.ts +6 -6
- package/dist/context/compaction/strategies/reactive-overflow.d.ts.map +1 -0
- package/dist/context/{compression → compaction/strategies}/reactive-overflow.js +4 -4
- package/dist/context/{compression → compaction}/types.d.ts +4 -4
- package/dist/context/compaction/types.d.ts.map +1 -0
- package/dist/context/compaction/types.js +0 -0
- package/dist/context/error-codes.cjs +4 -0
- package/dist/context/error-codes.d.ts +4 -0
- package/dist/context/error-codes.d.ts.map +1 -1
- package/dist/context/error-codes.js +4 -0
- package/dist/context/errors.cjs +40 -0
- package/dist/context/errors.d.ts +14 -0
- package/dist/context/errors.d.ts.map +1 -1
- package/dist/context/errors.js +40 -0
- package/dist/context/index.cjs +3 -1
- package/dist/context/index.d.ts +1 -0
- package/dist/context/index.d.ts.map +1 -1
- package/dist/context/index.js +1 -0
- package/dist/context/types.d.ts +6 -0
- package/dist/context/types.d.ts.map +1 -1
- package/dist/context/utils.cjs +27 -7
- package/dist/context/utils.d.ts.map +1 -1
- package/dist/context/utils.js +27 -7
- package/dist/errors/result-bridge.cjs +2 -3
- package/dist/errors/result-bridge.d.ts.map +1 -1
- package/dist/errors/result-bridge.js +2 -3
- package/dist/events/index.cjs +6 -3
- package/dist/events/index.d.ts +35 -19
- package/dist/events/index.d.ts.map +1 -1
- package/dist/events/index.js +5 -3
- package/dist/filesystem/filesystem-service.cjs +39 -0
- package/dist/filesystem/filesystem-service.d.ts +32 -0
- package/dist/filesystem/filesystem-service.d.ts.map +1 -1
- package/dist/filesystem/filesystem-service.js +39 -0
- package/dist/filesystem/index.d.ts +1 -1
- package/dist/filesystem/index.d.ts.map +1 -1
- package/dist/filesystem/path-validator.cjs +69 -1
- package/dist/filesystem/path-validator.d.ts +43 -2
- package/dist/filesystem/path-validator.d.ts.map +1 -1
- package/dist/filesystem/path-validator.js +69 -1
- package/dist/image/define-image.cjs +146 -0
- package/dist/image/define-image.d.ts +71 -0
- package/dist/image/define-image.d.ts.map +1 -0
- package/dist/image/define-image.js +121 -0
- package/dist/image/index.cjs +32 -0
- package/dist/image/index.d.ts +53 -0
- package/dist/image/index.d.ts.map +1 -0
- package/dist/image/index.js +7 -0
- package/dist/image/types.cjs +16 -0
- package/dist/image/types.d.ts +231 -0
- package/dist/image/types.d.ts.map +1 -0
- package/dist/image/types.js +0 -0
- package/dist/index.cjs +5 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/llm/error-codes.cjs +1 -0
- package/dist/llm/error-codes.d.ts +1 -0
- package/dist/llm/error-codes.d.ts.map +1 -1
- package/dist/llm/error-codes.js +1 -0
- package/dist/llm/errors.cjs +24 -0
- package/dist/llm/errors.d.ts +19 -6
- package/dist/llm/errors.d.ts.map +1 -1
- package/dist/llm/errors.js +24 -0
- package/dist/llm/executor/provider-options.cjs +87 -0
- package/dist/llm/executor/provider-options.d.ts +49 -0
- package/dist/llm/executor/provider-options.d.ts.map +1 -0
- package/dist/llm/executor/provider-options.js +63 -0
- package/dist/llm/executor/stream-processor.cjs +22 -11
- package/dist/llm/executor/stream-processor.d.ts.map +1 -1
- package/dist/llm/executor/stream-processor.js +22 -11
- package/dist/llm/executor/turn-executor.cjs +60 -23
- package/dist/llm/executor/turn-executor.d.ts +7 -5
- package/dist/llm/executor/turn-executor.d.ts.map +1 -1
- package/dist/llm/executor/turn-executor.js +60 -23
- package/dist/llm/formatters/vercel.cjs +15 -3
- package/dist/llm/formatters/vercel.d.ts.map +1 -1
- package/dist/llm/formatters/vercel.js +15 -3
- package/dist/llm/index.cjs +18 -1
- package/dist/llm/index.d.ts +2 -0
- package/dist/llm/index.d.ts.map +1 -1
- package/dist/llm/index.js +14 -0
- package/dist/llm/providers/local/ai-sdk-adapter.cjs +308 -0
- package/dist/llm/providers/local/ai-sdk-adapter.d.ts +29 -0
- package/dist/llm/providers/local/ai-sdk-adapter.d.ts.map +1 -0
- package/dist/llm/providers/local/ai-sdk-adapter.js +278 -0
- package/dist/llm/providers/local/downloader.cjs +291 -0
- package/dist/llm/providers/local/downloader.d.ts +82 -0
- package/dist/llm/providers/local/downloader.d.ts.map +1 -0
- package/dist/llm/providers/local/downloader.js +251 -0
- package/dist/llm/providers/local/error-codes.cjs +57 -0
- package/dist/llm/providers/local/error-codes.d.ts +66 -0
- package/dist/llm/providers/local/error-codes.d.ts.map +1 -0
- package/dist/llm/providers/local/error-codes.js +34 -0
- package/dist/llm/providers/local/errors.cjs +240 -0
- package/dist/llm/providers/local/errors.d.ts +31 -0
- package/dist/llm/providers/local/errors.d.ts.map +1 -0
- package/dist/llm/providers/local/errors.js +217 -0
- package/dist/llm/providers/local/gpu-detector.cjs +214 -0
- package/dist/llm/providers/local/gpu-detector.d.ts +28 -0
- package/dist/llm/providers/local/gpu-detector.d.ts.map +1 -0
- package/dist/llm/providers/local/gpu-detector.js +178 -0
- package/dist/llm/providers/local/index.cjs +147 -0
- package/dist/llm/providers/local/index.d.ts +21 -0
- package/dist/llm/providers/local/index.d.ts.map +1 -0
- package/dist/llm/providers/local/index.js +126 -0
- package/dist/llm/providers/local/node-llama-provider.cjs +216 -0
- package/dist/llm/providers/local/node-llama-provider.d.ts +90 -0
- package/dist/llm/providers/local/node-llama-provider.d.ts.map +1 -0
- package/dist/llm/providers/local/node-llama-provider.js +176 -0
- package/dist/llm/providers/local/ollama-provider.cjs +230 -0
- package/dist/llm/providers/local/ollama-provider.d.ts +70 -0
- package/dist/llm/providers/local/ollama-provider.d.ts.map +1 -0
- package/dist/llm/providers/local/ollama-provider.js +198 -0
- package/dist/llm/providers/local/registry.cjs +343 -0
- package/dist/llm/providers/local/registry.d.ts +51 -0
- package/dist/llm/providers/local/registry.d.ts.map +1 -0
- package/dist/llm/providers/local/registry.js +312 -0
- package/dist/llm/providers/local/schemas.cjs +169 -0
- package/dist/llm/providers/local/schemas.d.ts +395 -0
- package/dist/llm/providers/local/schemas.d.ts.map +1 -0
- package/dist/llm/providers/local/schemas.js +133 -0
- package/dist/llm/providers/local/types.cjs +16 -0
- package/dist/llm/providers/local/types.d.ts +219 -0
- package/dist/llm/providers/local/types.d.ts.map +1 -0
- package/dist/llm/providers/local/types.js +0 -0
- package/dist/llm/providers/openrouter-model-registry.cjs +350 -0
- package/dist/llm/providers/openrouter-model-registry.d.ts +120 -0
- package/dist/llm/providers/openrouter-model-registry.d.ts.map +1 -0
- package/dist/llm/providers/openrouter-model-registry.js +309 -0
- package/dist/llm/registry.cjs +604 -9
- package/dist/llm/registry.d.ts +35 -0
- package/dist/llm/registry.d.ts.map +1 -1
- package/dist/llm/registry.js +600 -9
- package/dist/llm/resolver.cjs +63 -5
- package/dist/llm/resolver.d.ts +3 -3
- package/dist/llm/resolver.d.ts.map +1 -1
- package/dist/llm/resolver.js +69 -6
- package/dist/llm/schemas.cjs +107 -81
- package/dist/llm/schemas.d.ts +181 -22
- package/dist/llm/schemas.d.ts.map +1 -1
- package/dist/llm/schemas.js +107 -81
- package/dist/llm/services/factory.cjs +87 -13
- package/dist/llm/services/factory.d.ts +4 -1
- package/dist/llm/services/factory.d.ts.map +1 -1
- package/dist/llm/services/factory.js +85 -12
- package/dist/llm/services/test-utils.integration.cjs +22 -2
- package/dist/llm/services/test-utils.integration.d.ts +7 -1
- package/dist/llm/services/test-utils.integration.d.ts.map +1 -1
- package/dist/llm/services/test-utils.integration.js +26 -3
- package/dist/llm/services/vercel.cjs +8 -3
- package/dist/llm/services/vercel.d.ts +3 -2
- package/dist/llm/services/vercel.d.ts.map +1 -1
- package/dist/llm/services/vercel.js +8 -3
- package/dist/llm/types.cjs +11 -1
- package/dist/llm/types.d.ts +1 -1
- package/dist/llm/types.d.ts.map +1 -1
- package/dist/llm/types.js +11 -1
- package/dist/logger/logger.cjs +7 -3
- package/dist/logger/logger.d.ts.map +1 -1
- package/dist/logger/logger.js +7 -3
- package/dist/mcp/manager.cjs +8 -0
- package/dist/mcp/manager.d.ts +17 -0
- package/dist/mcp/manager.d.ts.map +1 -1
- package/dist/mcp/manager.js +8 -0
- package/dist/mcp/mcp-client.cjs +0 -3
- package/dist/mcp/mcp-client.d.ts.map +1 -1
- package/dist/mcp/mcp-client.js +0 -3
- package/dist/memory/schemas.d.ts +3 -3
- package/dist/plugins/error-codes.cjs +3 -0
- package/dist/plugins/error-codes.d.ts +7 -1
- package/dist/plugins/error-codes.d.ts.map +1 -1
- package/dist/plugins/error-codes.js +3 -0
- package/dist/plugins/index.cjs +7 -0
- package/dist/plugins/index.d.ts +4 -2
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/plugins/index.js +6 -1
- package/dist/plugins/manager.cjs +92 -7
- package/dist/plugins/manager.d.ts +10 -3
- package/dist/plugins/manager.d.ts.map +1 -1
- package/dist/plugins/manager.js +92 -7
- package/dist/plugins/registry.cjs +63 -0
- package/dist/plugins/registry.d.ts +101 -0
- package/dist/plugins/registry.d.ts.map +1 -0
- package/dist/plugins/registry.js +39 -0
- package/dist/plugins/schemas.cjs +17 -5
- package/dist/plugins/schemas.d.ts +62 -5
- package/dist/plugins/schemas.d.ts.map +1 -1
- package/dist/plugins/schemas.js +15 -4
- package/dist/providers/base-registry.cjs +147 -0
- package/dist/providers/base-registry.d.ts +147 -0
- package/dist/providers/base-registry.d.ts.map +1 -0
- package/dist/providers/base-registry.js +123 -0
- package/dist/providers/discovery.cjs +109 -0
- package/dist/providers/discovery.d.ts +96 -0
- package/dist/providers/discovery.d.ts.map +1 -0
- package/dist/providers/discovery.js +84 -0
- package/dist/providers/index.cjs +24 -0
- package/dist/providers/index.d.ts +32 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +2 -0
- package/dist/resources/reference-parser.cjs +3 -3
- package/dist/resources/reference-parser.d.ts.map +1 -1
- package/dist/resources/reference-parser.js +3 -3
- package/dist/session/chat-session.cjs +20 -3
- package/dist/session/chat-session.d.ts.map +1 -1
- package/dist/session/chat-session.js +21 -4
- package/dist/session/history/database.cjs +49 -15
- package/dist/session/history/database.d.ts.map +1 -1
- package/dist/session/history/database.js +49 -15
- package/dist/session/session-manager.cjs +2 -1
- package/dist/session/session-manager.d.ts.map +1 -1
- package/dist/session/session-manager.js +2 -1
- package/dist/storage/blob/factory.cjs +8 -11
- package/dist/storage/blob/factory.d.ts +32 -6
- package/dist/storage/blob/factory.d.ts.map +1 -1
- package/dist/storage/blob/factory.js +8 -11
- package/dist/storage/blob/index.cjs +56 -0
- package/dist/storage/blob/index.d.ts +45 -0
- package/dist/storage/blob/index.d.ts.map +1 -0
- package/dist/storage/blob/index.js +30 -0
- package/dist/storage/blob/provider.cjs +16 -0
- package/dist/storage/blob/provider.d.ts +50 -0
- package/dist/storage/blob/provider.d.ts.map +1 -0
- package/dist/storage/blob/provider.js +0 -0
- package/dist/storage/blob/providers/index.cjs +31 -0
- package/dist/storage/blob/providers/index.d.ts +8 -0
- package/dist/storage/blob/providers/index.d.ts.map +1 -0
- package/dist/storage/blob/providers/index.js +7 -0
- package/dist/storage/blob/providers/local.cjs +39 -0
- package/dist/storage/blob/providers/local.d.ts +17 -0
- package/dist/storage/blob/providers/local.d.ts.map +1 -0
- package/dist/storage/blob/providers/local.js +16 -0
- package/dist/storage/blob/providers/memory.cjs +39 -0
- package/dist/storage/blob/providers/memory.d.ts +17 -0
- package/dist/storage/blob/providers/memory.d.ts.map +1 -0
- package/dist/storage/blob/providers/memory.js +16 -0
- package/dist/storage/blob/registry.cjs +50 -0
- package/dist/storage/blob/registry.d.ts +42 -0
- package/dist/storage/blob/registry.d.ts.map +1 -0
- package/dist/storage/blob/registry.js +26 -0
- package/dist/storage/blob/schemas.cjs +9 -12
- package/dist/storage/blob/schemas.d.ts +39 -34
- package/dist/storage/blob/schemas.d.ts.map +1 -1
- package/dist/storage/blob/schemas.js +6 -11
- package/dist/storage/cache/factory.cjs +8 -36
- package/dist/storage/cache/factory.d.ts +32 -7
- package/dist/storage/cache/factory.d.ts.map +1 -1
- package/dist/storage/cache/factory.js +8 -26
- package/dist/storage/cache/index.cjs +53 -0
- package/dist/storage/cache/index.d.ts +44 -0
- package/dist/storage/cache/index.d.ts.map +1 -0
- package/dist/storage/cache/index.js +28 -0
- package/dist/storage/cache/provider.cjs +16 -0
- package/dist/storage/cache/provider.d.ts +56 -0
- package/dist/storage/cache/provider.d.ts.map +1 -0
- package/dist/storage/cache/provider.js +0 -0
- package/dist/storage/cache/providers/index.cjs +31 -0
- package/dist/storage/cache/providers/index.d.ts +8 -0
- package/dist/storage/cache/providers/index.d.ts.map +1 -0
- package/dist/storage/cache/providers/index.js +7 -0
- package/dist/storage/cache/providers/memory.cjs +40 -0
- package/dist/storage/cache/providers/memory.d.ts +17 -0
- package/dist/storage/cache/providers/memory.d.ts.map +1 -0
- package/dist/storage/cache/providers/memory.js +17 -0
- package/dist/storage/cache/providers/redis.cjs +66 -0
- package/dist/storage/cache/providers/redis.d.ts +20 -0
- package/dist/storage/cache/providers/redis.d.ts.map +1 -0
- package/dist/storage/cache/providers/redis.js +33 -0
- package/dist/storage/cache/registry.cjs +50 -0
- package/dist/storage/cache/registry.d.ts +42 -0
- package/dist/storage/cache/registry.d.ts.map +1 -0
- package/dist/storage/cache/registry.js +26 -0
- package/dist/storage/cache/schemas.cjs +6 -2
- package/dist/storage/cache/schemas.d.ts +2 -3
- package/dist/storage/cache/schemas.d.ts.map +1 -1
- package/dist/storage/cache/schemas.js +3 -1
- package/dist/storage/database/factory.cjs +8 -47
- package/dist/storage/database/factory.d.ts +34 -8
- package/dist/storage/database/factory.d.ts.map +1 -1
- package/dist/storage/database/factory.js +8 -37
- package/dist/storage/database/index.cjs +58 -0
- package/dist/storage/database/index.d.ts +45 -0
- package/dist/storage/database/index.d.ts.map +1 -0
- package/dist/storage/database/index.js +37 -0
- package/dist/storage/database/postgres-store.cjs +174 -78
- package/dist/storage/database/postgres-store.d.ts +19 -0
- package/dist/storage/database/postgres-store.d.ts.map +1 -1
- package/dist/storage/database/postgres-store.js +174 -78
- package/dist/storage/database/provider.cjs +16 -0
- package/dist/storage/database/provider.d.ts +56 -0
- package/dist/storage/database/provider.d.ts.map +1 -0
- package/dist/storage/database/provider.js +0 -0
- package/dist/storage/database/providers/index.cjs +34 -0
- package/dist/storage/database/providers/index.d.ts +9 -0
- package/dist/storage/database/providers/index.d.ts.map +1 -0
- package/dist/storage/database/providers/index.js +9 -0
- package/dist/storage/database/providers/memory.cjs +40 -0
- package/dist/storage/database/providers/memory.d.ts +16 -0
- package/dist/storage/database/providers/memory.d.ts.map +1 -0
- package/dist/storage/database/providers/memory.js +17 -0
- package/dist/storage/database/providers/postgres.cjs +62 -0
- package/dist/storage/database/providers/postgres.d.ts +19 -0
- package/dist/storage/database/providers/postgres.d.ts.map +1 -0
- package/dist/storage/database/providers/postgres.js +29 -0
- package/dist/storage/database/providers/sqlite.cjs +66 -0
- package/dist/storage/database/providers/sqlite.d.ts +20 -0
- package/dist/storage/database/providers/sqlite.d.ts.map +1 -0
- package/dist/storage/database/providers/sqlite.js +33 -0
- package/dist/storage/database/registry.cjs +50 -0
- package/dist/storage/database/registry.d.ts +42 -0
- package/dist/storage/database/registry.d.ts.map +1 -0
- package/dist/storage/database/registry.js +26 -0
- package/dist/storage/database/schemas.cjs +12 -3
- package/dist/storage/database/schemas.d.ts +11 -4
- package/dist/storage/database/schemas.d.ts.map +1 -1
- package/dist/storage/database/schemas.js +8 -2
- package/dist/storage/error-codes.cjs +6 -0
- package/dist/storage/error-codes.d.ts +7 -1
- package/dist/storage/error-codes.d.ts.map +1 -1
- package/dist/storage/error-codes.js +6 -0
- package/dist/storage/errors.cjs +80 -0
- package/dist/storage/errors.d.ts +24 -0
- package/dist/storage/errors.d.ts.map +1 -1
- package/dist/storage/errors.js +80 -0
- package/dist/storage/index.cjs +47 -4
- package/dist/storage/index.d.ts +34 -8
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +32 -3
- package/dist/storage/schemas.cjs +4 -0
- package/dist/storage/schemas.d.ts +24 -50
- package/dist/storage/schemas.d.ts.map +1 -1
- package/dist/storage/schemas.js +5 -1
- package/dist/storage/storage-manager.cjs +6 -6
- package/dist/storage/storage-manager.d.ts.map +1 -1
- package/dist/storage/storage-manager.js +3 -3
- package/dist/systemPrompt/in-built-prompts.cjs +7 -6
- package/dist/systemPrompt/in-built-prompts.d.ts +2 -2
- package/dist/systemPrompt/in-built-prompts.d.ts.map +1 -1
- package/dist/systemPrompt/in-built-prompts.js +6 -5
- package/dist/systemPrompt/registry.cjs +2 -2
- package/dist/systemPrompt/registry.d.ts +1 -1
- package/dist/systemPrompt/registry.d.ts.map +1 -1
- package/dist/systemPrompt/registry.js +2 -2
- package/dist/systemPrompt/schemas.cjs +2 -2
- package/dist/systemPrompt/schemas.d.ts +13 -13
- package/dist/systemPrompt/schemas.js +2 -2
- package/dist/tools/custom-tool-registry.cjs +64 -0
- package/dist/tools/custom-tool-registry.d.ts +126 -0
- package/dist/tools/custom-tool-registry.d.ts.map +1 -0
- package/dist/tools/custom-tool-registry.js +40 -0
- package/dist/tools/custom-tool-schema-registry.cjs +164 -0
- package/dist/tools/custom-tool-schema-registry.d.ts +86 -0
- package/dist/tools/custom-tool-schema-registry.d.ts.map +1 -0
- package/dist/tools/custom-tool-schema-registry.js +140 -0
- package/dist/tools/error-codes.cjs +3 -0
- package/dist/tools/error-codes.d.ts +4 -1
- package/dist/tools/error-codes.d.ts.map +1 -1
- package/dist/tools/error-codes.js +3 -0
- package/dist/tools/errors.cjs +41 -0
- package/dist/tools/errors.d.ts +17 -0
- package/dist/tools/errors.d.ts.map +1 -1
- package/dist/tools/errors.js +41 -0
- package/dist/tools/index.cjs +13 -1
- package/dist/tools/index.d.ts +4 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +11 -1
- package/dist/tools/internal-tools/constants.cjs +3 -9
- package/dist/tools/internal-tools/constants.d.ts +1 -1
- package/dist/tools/internal-tools/constants.d.ts.map +1 -1
- package/dist/tools/internal-tools/constants.js +3 -9
- package/dist/tools/internal-tools/implementations/get-resource-tool.cjs +113 -0
- package/dist/tools/internal-tools/implementations/get-resource-tool.d.ts +30 -0
- package/dist/tools/internal-tools/implementations/get-resource-tool.d.ts.map +1 -0
- package/dist/tools/internal-tools/implementations/get-resource-tool.js +90 -0
- package/dist/tools/internal-tools/implementations/list-resources-tool.cjs +91 -0
- package/dist/tools/internal-tools/implementations/list-resources-tool.d.ts +24 -0
- package/dist/tools/internal-tools/implementations/list-resources-tool.d.ts.map +1 -0
- package/dist/tools/internal-tools/implementations/list-resources-tool.js +68 -0
- package/dist/tools/internal-tools/provider.cjs +153 -23
- package/dist/tools/internal-tools/provider.d.ts +55 -10
- package/dist/tools/internal-tools/provider.d.ts.map +1 -1
- package/dist/tools/internal-tools/provider.js +153 -23
- package/dist/tools/internal-tools/registry.cjs +18 -43
- package/dist/tools/internal-tools/registry.d.ts +4 -4
- package/dist/tools/internal-tools/registry.d.ts.map +1 -1
- package/dist/tools/internal-tools/registry.js +18 -43
- package/dist/tools/schemas.cjs +20 -0
- package/dist/tools/schemas.d.ts +43 -1
- package/dist/tools/schemas.d.ts.map +1 -1
- package/dist/tools/schemas.js +16 -0
- package/dist/tools/tool-manager.cjs +140 -13
- package/dist/tools/tool-manager.d.ts +22 -3
- package/dist/tools/tool-manager.d.ts.map +1 -1
- package/dist/tools/tool-manager.js +140 -13
- package/dist/tools/types.d.ts +43 -0
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/utils/api-key-resolver.cjs +19 -1
- package/dist/utils/api-key-resolver.d.ts.map +1 -1
- package/dist/utils/api-key-resolver.js +19 -1
- package/dist/utils/index.cjs +0 -2
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +0 -1
- package/dist/utils/redactor.cjs +18 -3
- package/dist/utils/redactor.d.ts +0 -7
- package/dist/utils/redactor.d.ts.map +1 -1
- package/dist/utils/redactor.js +18 -3
- package/dist/utils/service-initializer.cjs +9 -35
- package/dist/utils/service-initializer.d.ts.map +1 -1
- package/dist/utils/service-initializer.js +9 -35
- package/package.json +5 -2
- package/dist/context/compression/overflow.d.ts.map +0 -1
- package/dist/context/compression/reactive-overflow.d.ts.map +0 -1
- package/dist/context/compression/types.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/bash-exec-tool.cjs +0 -130
- package/dist/tools/internal-tools/implementations/bash-exec-tool.d.ts +0 -13
- package/dist/tools/internal-tools/implementations/bash-exec-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/bash-exec-tool.js +0 -97
- package/dist/tools/internal-tools/implementations/bash-output-tool.cjs +0 -49
- package/dist/tools/internal-tools/implementations/bash-output-tool.d.ts +0 -12
- package/dist/tools/internal-tools/implementations/bash-output-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/bash-output-tool.js +0 -26
- package/dist/tools/internal-tools/implementations/edit-file-tool.cjs +0 -127
- package/dist/tools/internal-tools/implementations/edit-file-tool.d.ts +0 -12
- package/dist/tools/internal-tools/implementations/edit-file-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/edit-file-tool.js +0 -104
- package/dist/tools/internal-tools/implementations/glob-files-tool.cjs +0 -70
- package/dist/tools/internal-tools/implementations/glob-files-tool.d.ts +0 -12
- package/dist/tools/internal-tools/implementations/glob-files-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/glob-files-tool.js +0 -47
- package/dist/tools/internal-tools/implementations/grep-content-tool.cjs +0 -86
- package/dist/tools/internal-tools/implementations/grep-content-tool.d.ts +0 -12
- package/dist/tools/internal-tools/implementations/grep-content-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/grep-content-tool.js +0 -63
- package/dist/tools/internal-tools/implementations/kill-process-tool.cjs +0 -47
- package/dist/tools/internal-tools/implementations/kill-process-tool.d.ts +0 -12
- package/dist/tools/internal-tools/implementations/kill-process-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/kill-process-tool.js +0 -24
- package/dist/tools/internal-tools/implementations/read-file-tool.cjs +0 -63
- package/dist/tools/internal-tools/implementations/read-file-tool.d.ts +0 -12
- package/dist/tools/internal-tools/implementations/read-file-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/read-file-tool.js +0 -40
- package/dist/tools/internal-tools/implementations/write-file-tool.cjs +0 -124
- package/dist/tools/internal-tools/implementations/write-file-tool.d.ts +0 -12
- package/dist/tools/internal-tools/implementations/write-file-tool.d.ts.map +0 -1
- package/dist/tools/internal-tools/implementations/write-file-tool.js +0 -103
- package/dist/utils/env-file.cjs +0 -118
- package/dist/utils/env-file.d.ts +0 -5
- package/dist/utils/env-file.d.ts.map +0 -1
- package/dist/utils/env-file.js +0 -85
- /package/dist/context/{compression/types.js → compaction/provider.js} +0 -0
- /package/dist/context/{compression → compaction}/types.cjs +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAA6C,CAAC;AAGnF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAGtE,YAAY,EAAE,oBAAoB,EAAE,CAAC"}
|
package/dist/agent/schemas.js
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import "../chunk-PTJYTZNU.js";
|
|
2
|
-
import {
|
|
2
|
+
import { createLLMConfigSchema } from "../llm/schemas.js";
|
|
3
3
|
import { LoggerConfigSchema } from "../logger/index.js";
|
|
4
4
|
import { ServerConfigsSchema as McpServersConfigSchema } from "../mcp/schemas.js";
|
|
5
5
|
import { MemoriesConfigSchema } from "../memory/schemas.js";
|
|
6
6
|
import { SessionConfigSchema } from "../session/schemas.js";
|
|
7
7
|
import { StorageSchema } from "../storage/schemas.js";
|
|
8
8
|
import { SystemPromptConfigSchema } from "../systemPrompt/schemas.js";
|
|
9
|
+
import {
|
|
10
|
+
CompactionConfigSchema,
|
|
11
|
+
DEFAULT_COMPACTION_CONFIG
|
|
12
|
+
} from "../context/compaction/schemas.js";
|
|
9
13
|
import {
|
|
10
14
|
InternalToolsSchema,
|
|
15
|
+
CustomToolsSchema,
|
|
11
16
|
ToolConfirmationConfigSchema,
|
|
12
17
|
ElicitationConfigSchema,
|
|
13
18
|
ToolsConfigSchema
|
|
@@ -148,72 +153,88 @@ const AgentCardSchema = z.object({
|
|
|
148
153
|
dexto: DextoMetadataSchema.optional().describe("Dexto-specific extension metadata")
|
|
149
154
|
}).passthrough().optional().describe("Extension-specific metadata (namespaced by extension name)")
|
|
150
155
|
}).strict();
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
"
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
"
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
156
|
+
function createAgentConfigSchema(options = {}) {
|
|
157
|
+
const llmSchema = createLLMConfigSchema(options);
|
|
158
|
+
return z.object({
|
|
159
|
+
// ========================================
|
|
160
|
+
// REQUIRED FIELDS (user must provide or schema validation fails)
|
|
161
|
+
// ========================================
|
|
162
|
+
systemPrompt: SystemPromptConfigSchema.describe(
|
|
163
|
+
"System prompt: string shorthand or structured config"
|
|
164
|
+
),
|
|
165
|
+
llm: llmSchema.describe("Core LLM configuration for the agent"),
|
|
166
|
+
// ========================================
|
|
167
|
+
// OPTIONAL FEATURES (undefined if not provided)
|
|
168
|
+
// ========================================
|
|
169
|
+
agentCard: AgentCardSchema.describe("Configuration for the agent card").optional(),
|
|
170
|
+
greeting: z.string().max(500).describe("Default greeting text to show when a chat starts (for UI consumption)").optional(),
|
|
171
|
+
telemetry: OtelConfigurationSchema.describe(
|
|
172
|
+
"OpenTelemetry configuration for distributed tracing and observability"
|
|
173
|
+
).optional(),
|
|
174
|
+
memories: MemoriesConfigSchema.describe(
|
|
175
|
+
"Memory configuration for system prompt inclusion (optional feature)"
|
|
176
|
+
).optional(),
|
|
177
|
+
image: z.string().describe(
|
|
178
|
+
'Image package that provides required providers (e.g., "@dexto/image-local"). Optional - platform can load images via CLI flag, environment variable, or static imports.'
|
|
179
|
+
).optional(),
|
|
180
|
+
// ========================================
|
|
181
|
+
// FIELDS WITH DEFAULTS (always present after parsing)
|
|
182
|
+
// ========================================
|
|
183
|
+
agentId: z.string().describe(
|
|
184
|
+
"Unique identifier for this agent instance - CLI enrichment derives from agentCard.name or filename"
|
|
185
|
+
).default("coding-agent"),
|
|
186
|
+
mcpServers: McpServersConfigSchema.describe(
|
|
187
|
+
"Configurations for MCP (Model Context Protocol) servers used by the agent"
|
|
188
|
+
).default({}),
|
|
189
|
+
internalTools: InternalToolsSchema.describe(
|
|
190
|
+
"Internal tools configuration (read-file, write-file, bash-exec, etc.)"
|
|
191
|
+
).default([]),
|
|
192
|
+
customTools: CustomToolsSchema.describe(
|
|
193
|
+
"Custom tool provider configurations. Providers must be registered via customToolRegistry before loading agent config."
|
|
194
|
+
).default([]),
|
|
195
|
+
tools: ToolsConfigSchema.describe(
|
|
196
|
+
"Configuration for individual tools (limits, etc.)"
|
|
197
|
+
).default({}),
|
|
198
|
+
logger: LoggerConfigSchema.describe(
|
|
199
|
+
"Logger configuration with multi-transport support (file, console, remote) - CLI enrichment adds per-agent file transport"
|
|
200
|
+
).default({
|
|
201
|
+
level: "error",
|
|
202
|
+
transports: [{ type: "console", colorize: true }]
|
|
203
|
+
}),
|
|
204
|
+
storage: StorageSchema.describe(
|
|
205
|
+
"Storage configuration for cache, database, and blob storage - defaults to in-memory, CLI enrichment provides filesystem paths"
|
|
206
|
+
).default({
|
|
207
|
+
cache: { type: "in-memory" },
|
|
208
|
+
database: { type: "in-memory" },
|
|
209
|
+
blob: { type: "in-memory" }
|
|
210
|
+
}),
|
|
211
|
+
sessions: SessionConfigSchema.describe("Session management configuration").default({}),
|
|
212
|
+
toolConfirmation: ToolConfirmationConfigSchema.describe(
|
|
213
|
+
"Tool confirmation and approval configuration"
|
|
214
|
+
).default({}),
|
|
215
|
+
elicitation: ElicitationConfigSchema.default({}).describe(
|
|
216
|
+
"Elicitation configuration for user input requests (ask_user tool and MCP server elicitations). Independent from toolConfirmation mode."
|
|
217
|
+
),
|
|
218
|
+
internalResources: InternalResourcesSchema.describe(
|
|
219
|
+
"Configuration for internal resources (filesystem, etc.)"
|
|
220
|
+
).default([]),
|
|
221
|
+
prompts: PromptsSchema.describe(
|
|
222
|
+
"Agent prompts configuration - sample prompts which can be defined inline or referenced from file"
|
|
223
|
+
).default([]),
|
|
224
|
+
plugins: PluginsConfigSchema.describe(
|
|
225
|
+
"Plugin system configuration for built-in and custom plugins"
|
|
226
|
+
).default({}),
|
|
227
|
+
compaction: CompactionConfigSchema.describe(
|
|
228
|
+
"Context compaction configuration - custom providers can be registered via compactionRegistry"
|
|
229
|
+
).default(DEFAULT_COMPACTION_CONFIG)
|
|
230
|
+
}).strict().describe("Main configuration for an agent, including its LLM and server connections").brand();
|
|
231
|
+
}
|
|
232
|
+
const AgentConfigSchema = createAgentConfigSchema({ strict: true });
|
|
233
|
+
const AgentConfigSchemaRelaxed = createAgentConfigSchema({ strict: false });
|
|
215
234
|
export {
|
|
216
235
|
AgentCardSchema,
|
|
217
236
|
AgentConfigSchema,
|
|
218
|
-
|
|
237
|
+
AgentConfigSchemaRelaxed,
|
|
238
|
+
SecuritySchemeSchema,
|
|
239
|
+
createAgentConfigSchema
|
|
219
240
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
5
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
8
|
var __export = (target, all) => {
|
|
7
9
|
for (var name in all)
|
|
@@ -15,12 +17,21 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
17
|
}
|
|
16
18
|
return to;
|
|
17
19
|
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
18
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
29
|
var manager_exports = {};
|
|
20
30
|
__export(manager_exports, {
|
|
21
31
|
ApprovalManager: () => ApprovalManager
|
|
22
32
|
});
|
|
23
33
|
module.exports = __toCommonJS(manager_exports);
|
|
34
|
+
var import_node_path = __toESM(require("node:path"), 1);
|
|
24
35
|
var import_types = require("./types.js");
|
|
25
36
|
var import_factory = require("./factory.js");
|
|
26
37
|
var import_types2 = require("../logger/v2/types.js");
|
|
@@ -36,6 +47,14 @@ class ApprovalManager {
|
|
|
36
47
|
* Cleared when session ends.
|
|
37
48
|
*/
|
|
38
49
|
bashPatterns = /* @__PURE__ */ new Set();
|
|
50
|
+
/**
|
|
51
|
+
* Directories approved for file access for the current session.
|
|
52
|
+
* Stores normalized absolute paths mapped to their approval type:
|
|
53
|
+
* - 'session': No directory prompt, follows tool config (working dir + user session-approved)
|
|
54
|
+
* - 'once': Prompts each time, but tool can execute
|
|
55
|
+
* Cleared when session ends.
|
|
56
|
+
*/
|
|
57
|
+
approvedDirectories = /* @__PURE__ */ new Map();
|
|
39
58
|
constructor(config, logger) {
|
|
40
59
|
this.config = config;
|
|
41
60
|
this.logger = logger.createChild(import_types2.DextoLogComponent.APPROVAL);
|
|
@@ -93,6 +112,151 @@ class ApprovalManager {
|
|
|
93
112
|
getBashPatterns() {
|
|
94
113
|
return this.bashPatterns;
|
|
95
114
|
}
|
|
115
|
+
// ==================== Directory Access Methods ====================
|
|
116
|
+
/**
|
|
117
|
+
* Initialize the working directory as a session-approved directory.
|
|
118
|
+
* This should be called once during setup to ensure the working directory
|
|
119
|
+
* never triggers directory access prompts.
|
|
120
|
+
*
|
|
121
|
+
* @param workingDir The working directory path
|
|
122
|
+
*/
|
|
123
|
+
initializeWorkingDirectory(workingDir) {
|
|
124
|
+
const normalized = import_node_path.default.resolve(workingDir);
|
|
125
|
+
this.approvedDirectories.set(normalized, "session");
|
|
126
|
+
this.logger.debug(`Initialized working directory as session-approved: "${normalized}"`);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Add a directory to the approved list for this session.
|
|
130
|
+
* Files within this directory (including subdirectories) will be allowed.
|
|
131
|
+
*
|
|
132
|
+
* @param directory Absolute path to the directory to approve
|
|
133
|
+
* @param type The approval type:
|
|
134
|
+
* - 'session': No directory prompt on future accesses, follows tool config
|
|
135
|
+
* - 'once': Will prompt again on future accesses, but tool can execute this time
|
|
136
|
+
* @example
|
|
137
|
+
* ```typescript
|
|
138
|
+
* manager.addApprovedDirectory("/external/project", 'session');
|
|
139
|
+
* // Now /external/project/src/file.ts is accessible without directory prompt
|
|
140
|
+
*
|
|
141
|
+
* manager.addApprovedDirectory("/tmp/files", 'once');
|
|
142
|
+
* // Tool can access, but will prompt again next time
|
|
143
|
+
* ```
|
|
144
|
+
*/
|
|
145
|
+
addApprovedDirectory(directory, type = "session") {
|
|
146
|
+
const normalized = import_node_path.default.resolve(directory);
|
|
147
|
+
const existing = this.approvedDirectories.get(normalized);
|
|
148
|
+
if (existing === "session") {
|
|
149
|
+
this.logger.debug(
|
|
150
|
+
`Directory "${normalized}" already approved as 'session', not downgrading to '${type}'`
|
|
151
|
+
);
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
154
|
+
this.approvedDirectories.set(normalized, type);
|
|
155
|
+
this.logger.debug(`Added approved directory: "${normalized}" (type: ${type})`);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Check if a file path is within any session-approved directory.
|
|
159
|
+
* This is used for PROMPTING decisions - only 'session' type directories count.
|
|
160
|
+
* Working directory and user session-approved directories return true.
|
|
161
|
+
*
|
|
162
|
+
* @param filePath The file path to check (can be relative or absolute)
|
|
163
|
+
* @returns true if the path is within a session-approved directory
|
|
164
|
+
*/
|
|
165
|
+
isDirectorySessionApproved(filePath) {
|
|
166
|
+
const normalized = import_node_path.default.resolve(filePath);
|
|
167
|
+
for (const [approvedDir, type] of this.approvedDirectories) {
|
|
168
|
+
if (type !== "session") continue;
|
|
169
|
+
const relative = import_node_path.default.relative(approvedDir, normalized);
|
|
170
|
+
if (!relative.startsWith("..") && !import_node_path.default.isAbsolute(relative)) {
|
|
171
|
+
this.logger.debug(
|
|
172
|
+
`Path "${normalized}" is within session-approved directory "${approvedDir}"`
|
|
173
|
+
);
|
|
174
|
+
return true;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
return false;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Check if a file path is within any approved directory (session OR once).
|
|
181
|
+
* This is used for EXECUTION decisions - both 'session' and 'once' types count.
|
|
182
|
+
* PathValidator uses this to determine if a tool can access the path.
|
|
183
|
+
*
|
|
184
|
+
* @param filePath The file path to check (can be relative or absolute)
|
|
185
|
+
* @returns true if the path is within any approved directory
|
|
186
|
+
*/
|
|
187
|
+
isDirectoryApproved(filePath) {
|
|
188
|
+
const normalized = import_node_path.default.resolve(filePath);
|
|
189
|
+
for (const [approvedDir] of this.approvedDirectories) {
|
|
190
|
+
const relative = import_node_path.default.relative(approvedDir, normalized);
|
|
191
|
+
if (!relative.startsWith("..") && !import_node_path.default.isAbsolute(relative)) {
|
|
192
|
+
this.logger.debug(
|
|
193
|
+
`Path "${normalized}" is within approved directory "${approvedDir}"`
|
|
194
|
+
);
|
|
195
|
+
return true;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
return false;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Clear all approved directories.
|
|
202
|
+
* Should be called when session ends.
|
|
203
|
+
*/
|
|
204
|
+
clearApprovedDirectories() {
|
|
205
|
+
const count = this.approvedDirectories.size;
|
|
206
|
+
this.approvedDirectories.clear();
|
|
207
|
+
if (count > 0) {
|
|
208
|
+
this.logger.debug(`Cleared ${count} approved directories`);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Get the current map of approved directories with their types (for debugging/display).
|
|
213
|
+
*/
|
|
214
|
+
getApprovedDirectories() {
|
|
215
|
+
return this.approvedDirectories;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Get just the directory paths that are approved (for debugging/display).
|
|
219
|
+
*/
|
|
220
|
+
getApprovedDirectoryPaths() {
|
|
221
|
+
return Array.from(this.approvedDirectories.keys());
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Clear all session-scoped approvals (bash patterns and directories).
|
|
225
|
+
* Convenience method for clearing all session state at once.
|
|
226
|
+
*/
|
|
227
|
+
clearSessionApprovals() {
|
|
228
|
+
this.clearBashPatterns();
|
|
229
|
+
this.clearApprovedDirectories();
|
|
230
|
+
this.logger.debug("Cleared all session approvals");
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Request directory access approval.
|
|
234
|
+
* Convenience method for directory access requests.
|
|
235
|
+
*
|
|
236
|
+
* @example
|
|
237
|
+
* ```typescript
|
|
238
|
+
* const response = await manager.requestDirectoryAccess({
|
|
239
|
+
* path: '/external/project/src/file.ts',
|
|
240
|
+
* parentDir: '/external/project',
|
|
241
|
+
* operation: 'write',
|
|
242
|
+
* toolName: 'write_file',
|
|
243
|
+
* sessionId: 'session-123'
|
|
244
|
+
* });
|
|
245
|
+
* ```
|
|
246
|
+
*/
|
|
247
|
+
async requestDirectoryAccess(metadata) {
|
|
248
|
+
const { sessionId, timeout, ...directoryMetadata } = metadata;
|
|
249
|
+
const details = {
|
|
250
|
+
type: import_types.ApprovalType.DIRECTORY_ACCESS,
|
|
251
|
+
// Use provided timeout, fallback to config timeout, or undefined (no timeout)
|
|
252
|
+
timeout: timeout !== void 0 ? timeout : this.config.toolConfirmation.timeout,
|
|
253
|
+
metadata: directoryMetadata
|
|
254
|
+
};
|
|
255
|
+
if (sessionId !== void 0) {
|
|
256
|
+
details.sessionId = sessionId;
|
|
257
|
+
}
|
|
258
|
+
return this.requestApproval(details);
|
|
259
|
+
}
|
|
96
260
|
/**
|
|
97
261
|
* Request a generic approval
|
|
98
262
|
*/
|
|
@@ -106,7 +270,7 @@ class ApprovalManager {
|
|
|
106
270
|
return this.handleApproval(request);
|
|
107
271
|
}
|
|
108
272
|
/**
|
|
109
|
-
* Handle approval requests (tool confirmation, elicitation, command confirmation, custom)
|
|
273
|
+
* Handle approval requests (tool confirmation, elicitation, command confirmation, directory access, custom)
|
|
110
274
|
* @private
|
|
111
275
|
*/
|
|
112
276
|
async handleApproval(request) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ApprovalHandler, ApprovalRequest, ApprovalResponse, ApprovalRequestDetails, ToolConfirmationMetadata, CommandConfirmationMetadata, ElicitationMetadata } from './types.js';
|
|
1
|
+
import type { ApprovalHandler, ApprovalRequest, ApprovalResponse, ApprovalRequestDetails, ToolConfirmationMetadata, CommandConfirmationMetadata, ElicitationMetadata, DirectoryAccessMetadata } from './types.js';
|
|
2
2
|
import type { IDextoLogger } from '../logger/v2/types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Configuration for the approval manager
|
|
@@ -56,6 +56,14 @@ export declare class ApprovalManager {
|
|
|
56
56
|
* Cleared when session ends.
|
|
57
57
|
*/
|
|
58
58
|
private bashPatterns;
|
|
59
|
+
/**
|
|
60
|
+
* Directories approved for file access for the current session.
|
|
61
|
+
* Stores normalized absolute paths mapped to their approval type:
|
|
62
|
+
* - 'session': No directory prompt, follows tool config (working dir + user session-approved)
|
|
63
|
+
* - 'once': Prompts each time, but tool can execute
|
|
64
|
+
* Cleared when session ends.
|
|
65
|
+
*/
|
|
66
|
+
private approvedDirectories;
|
|
59
67
|
constructor(config: ApprovalManagerConfig, logger: IDextoLogger);
|
|
60
68
|
/**
|
|
61
69
|
* Add a bash command pattern to the approved list for this session.
|
|
@@ -85,12 +93,93 @@ export declare class ApprovalManager {
|
|
|
85
93
|
* Get the current set of approved bash patterns (for debugging/display).
|
|
86
94
|
*/
|
|
87
95
|
getBashPatterns(): ReadonlySet<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Initialize the working directory as a session-approved directory.
|
|
98
|
+
* This should be called once during setup to ensure the working directory
|
|
99
|
+
* never triggers directory access prompts.
|
|
100
|
+
*
|
|
101
|
+
* @param workingDir The working directory path
|
|
102
|
+
*/
|
|
103
|
+
initializeWorkingDirectory(workingDir: string): void;
|
|
104
|
+
/**
|
|
105
|
+
* Add a directory to the approved list for this session.
|
|
106
|
+
* Files within this directory (including subdirectories) will be allowed.
|
|
107
|
+
*
|
|
108
|
+
* @param directory Absolute path to the directory to approve
|
|
109
|
+
* @param type The approval type:
|
|
110
|
+
* - 'session': No directory prompt on future accesses, follows tool config
|
|
111
|
+
* - 'once': Will prompt again on future accesses, but tool can execute this time
|
|
112
|
+
* @example
|
|
113
|
+
* ```typescript
|
|
114
|
+
* manager.addApprovedDirectory("/external/project", 'session');
|
|
115
|
+
* // Now /external/project/src/file.ts is accessible without directory prompt
|
|
116
|
+
*
|
|
117
|
+
* manager.addApprovedDirectory("/tmp/files", 'once');
|
|
118
|
+
* // Tool can access, but will prompt again next time
|
|
119
|
+
* ```
|
|
120
|
+
*/
|
|
121
|
+
addApprovedDirectory(directory: string, type?: 'session' | 'once'): void;
|
|
122
|
+
/**
|
|
123
|
+
* Check if a file path is within any session-approved directory.
|
|
124
|
+
* This is used for PROMPTING decisions - only 'session' type directories count.
|
|
125
|
+
* Working directory and user session-approved directories return true.
|
|
126
|
+
*
|
|
127
|
+
* @param filePath The file path to check (can be relative or absolute)
|
|
128
|
+
* @returns true if the path is within a session-approved directory
|
|
129
|
+
*/
|
|
130
|
+
isDirectorySessionApproved(filePath: string): boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Check if a file path is within any approved directory (session OR once).
|
|
133
|
+
* This is used for EXECUTION decisions - both 'session' and 'once' types count.
|
|
134
|
+
* PathValidator uses this to determine if a tool can access the path.
|
|
135
|
+
*
|
|
136
|
+
* @param filePath The file path to check (can be relative or absolute)
|
|
137
|
+
* @returns true if the path is within any approved directory
|
|
138
|
+
*/
|
|
139
|
+
isDirectoryApproved(filePath: string): boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Clear all approved directories.
|
|
142
|
+
* Should be called when session ends.
|
|
143
|
+
*/
|
|
144
|
+
clearApprovedDirectories(): void;
|
|
145
|
+
/**
|
|
146
|
+
* Get the current map of approved directories with their types (for debugging/display).
|
|
147
|
+
*/
|
|
148
|
+
getApprovedDirectories(): ReadonlyMap<string, 'session' | 'once'>;
|
|
149
|
+
/**
|
|
150
|
+
* Get just the directory paths that are approved (for debugging/display).
|
|
151
|
+
*/
|
|
152
|
+
getApprovedDirectoryPaths(): string[];
|
|
153
|
+
/**
|
|
154
|
+
* Clear all session-scoped approvals (bash patterns and directories).
|
|
155
|
+
* Convenience method for clearing all session state at once.
|
|
156
|
+
*/
|
|
157
|
+
clearSessionApprovals(): void;
|
|
158
|
+
/**
|
|
159
|
+
* Request directory access approval.
|
|
160
|
+
* Convenience method for directory access requests.
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* ```typescript
|
|
164
|
+
* const response = await manager.requestDirectoryAccess({
|
|
165
|
+
* path: '/external/project/src/file.ts',
|
|
166
|
+
* parentDir: '/external/project',
|
|
167
|
+
* operation: 'write',
|
|
168
|
+
* toolName: 'write_file',
|
|
169
|
+
* sessionId: 'session-123'
|
|
170
|
+
* });
|
|
171
|
+
* ```
|
|
172
|
+
*/
|
|
173
|
+
requestDirectoryAccess(metadata: DirectoryAccessMetadata & {
|
|
174
|
+
sessionId?: string;
|
|
175
|
+
timeout?: number;
|
|
176
|
+
}): Promise<ApprovalResponse>;
|
|
88
177
|
/**
|
|
89
178
|
* Request a generic approval
|
|
90
179
|
*/
|
|
91
180
|
requestApproval(details: ApprovalRequestDetails): Promise<ApprovalResponse>;
|
|
92
181
|
/**
|
|
93
|
-
* Handle approval requests (tool confirmation, elicitation, command confirmation, custom)
|
|
182
|
+
* Handle approval requests (tool confirmation, elicitation, command confirmation, directory access, custom)
|
|
94
183
|
* @private
|
|
95
184
|
*/
|
|
96
185
|
private handleApproval;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../src/approval/manager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../src/approval/manager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACR,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,wBAAwB,EACxB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