mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
- Updated Windows platform guidelines for path formats and Bash rules. - Refactored CodexLens routes to improve GPU detection and indexing cancellation logic. - Added FastEmbed installation status handling in the dashboard, including UI updates for installation and reinstallation options. - Implemented local model management with improved API responses for downloaded models. - Enhanced GPU selection logic in the model mode configuration. - Improved error handling and user feedback for FastEmbed installation processes. - Adjusted Python environment checks to avoid shell escaping issues on Windows.
20 lines
560 B
Markdown
20 lines
560 B
Markdown
# Windows Platform Guidelines
|
|
|
|
## Path Format
|
|
|
|
- **MCP Tools**: `D:\\path\\file.txt`
|
|
- **Bash**: `D:/path/file.txt` or `/d/path/file.txt`
|
|
- **Relative**: `./src/index.ts`
|
|
|
|
## Bash Rules (Prevent Garbage Files)
|
|
|
|
1. **Null redirect**: `command > NUL 2>&1`
|
|
2. **Quote all**: `echo "$VAR"`, `cat "file name.txt"`
|
|
3. **Variable assignment**: `export VAR=value && command`
|
|
4. **Regex escape**: `grep -F "State<T>"` or `grep "State\<T\>"`
|
|
5. **Pipe output**: `command 2>&1 | ...` (avoid bare command output)
|
|
|
|
## Tool Priority
|
|
|
|
MCP Tools > PowerShell > Git Bash > cmd
|