fix(agents): resolve relative extension paths