- Removed the use of `dirname` and `fileURLToPath` for determining the agent scripts directory. - Introduced `resolveAgentScriptsDir` function to simplify and centralize the path resolution logic in both `agent.ts` and `install-links.ts`. Co-authored-by: Cursor <cursoragent@cursor.com>