Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 03:37 UTC
| 1 | import { defineConfig } from 'vitest/config'; |
| 2 | import path from 'node:path'; |
| 3 | import { fileURLToPath } from 'node:url'; |
| 4 | |
| 5 | const __dirname = path.dirname(fileURLToPath(import.meta.url)); |
| 6 | |
| 7 | export default defineConfig({ |
| 8 | resolve: { |
| 9 | alias: { |
| 10 | '#client_identity': path.resolve(__dirname, 'package.json'), |
| 11 | '#platform': path.resolve(__dirname, 'src/platform/node.ts'), |
| 12 | '#files': path.resolve(__dirname, 'src/models/Files.node.ts'), |
| 13 | '#file_tool_modifier': path.resolve( |
| 14 | __dirname, |
| 15 | 'src/utils/modifiers/FileToolModifier.node.ts' |
| 16 | ), |
| 17 | '#config_defaults': path.resolve( |
| 18 | __dirname, |
| 19 | 'src/utils/config-defaults/ConfigDefaults.node.ts' |
| 20 | ), |
| 21 | '#ssrf_guard': path.resolve(__dirname, 'src/utils/ssrfGuard.node.ts'), |
| 22 | }, |
| 23 | }, |
| 24 | test: { |
| 25 | exclude: ['**/node_modules/**', '**/dist/**', '**/test-e2e/**'], |
| 26 | }, |
| 27 | }); |