You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(paths): centralize Amazon Q path management with PathResolver
- Add comprehensive paths.rs module with hierarchical path management
- Consolidate workspace (.amazonq/), global (~/.aws/amazonq/), and application data paths
- Replace hardcoded paths in tool_manager.rs, context.rs, and directories.rs
- Use structured PathResolver with workspace(), global(), and application() scopes
- Maintain backward compatibility while providing single source of truth for paths
- Support async Os initialization and proper error handling
- Suppress clippy warnings during migration phase
This enables easier path management and future rebranding efforts by centralizing
all Amazon Q related paths in one location.
🤖 Assisted by Amazon Q Developer
{"tasks":[{"task_description":"Copy PathResolver from paths.rs to the current workspace","completed":false},{"task_description":"Update tool_manager.rs to use PathResolver for MCP config paths","completed":false},{"task_description":"Update context.rs to use PathResolver for rules pattern","completed":false},{"task_description":"Update util/directories.rs to use PathResolver for global context and profiles","completed":false},{"task_description":"Update fig_util/directories.rs to use centralized path constants","completed":false},{"task_description":"Test the changes to ensure all paths work correctly","completed":false}],"description":"Migrate hardcoded Amazon Q paths to use centralized PathResolver","context":[],"modified_files":[],"id":"1761839203617"}
0 commit comments