FIXME: MCP services and tools in general strongly recommend using absolute paths. but in Dagger, MCP services run in their own sandbox, so for any hope of sanity the user should really configure the same mount point across all of them, like /workspace. but, even so, Doug works with relative paths,
(filePath string)
| 710 | // but, even so, Doug works with relative paths, so we'll just clunkily strip |
| 711 | // the prefix when it comes up. |
| 712 | func (d *Doug) normalizePath(filePath string) string { |
| 713 | return strings.TrimPrefix(filePath, d.WorkspacePath) |
| 714 | } |