Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

207 B
Raw Blame
const cwdRegex = global.process !== undefined ? new RegExp(global.process.cwd(), 'g') : null;

export const stripCwdPath = (path: string): string =>
  cwdRegex === null ? path : path.replace(cwdRegex, '.');