@devries-cameron20 / composio Mirror · read-only
Fork 0

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, 04:45 UTC

next
ts 4 lines 207 Bytes
Raw
1 const cwdRegex = global.process !== undefined ? new RegExp(global.process.cwd(), 'g') : null;
2
3 export const stripCwdPath = (path: string): string =>
4 cwdRegex === null ? path : path.replace(cwdRegex, '.');