### 修复
- **Windows 二进制路径解析**:修复了 Windows 上 Bun 编译的二进制文件无法找到 `package.json` 及其他资源的问题。该二进制文件此前错误地使用了 Bun 运行时的虚拟文件系统路径(`B:\~BUN\`),而非实际的可执行文件位置。现在改用 `process.execPath`,它能正确指向编译后的二进制文件,并更新了检测逻辑以在 `import.meta.url` 中检查 `%7EBUN`(`~BUN` 的 URL 编码)。
- **Windows Terminal 真彩色支持**:修复了 Windows Terminal 中主题颜色显示发白的问题。颜色模式检测现在会检查 `WT_SESSION` 环境变量,以启用真彩色(24 位 RGB)支持,而非回退到 256 色模式。
### Fixed
- **Windows Binary Path Resolution**: Fixed Bun compiled binary on Windows failing to find `package.json` and other assets. The binary was incorrectly using the Bun runtime's virtual filesystem path (`B:\~BUN\`) instead of the actual executable location. Now uses `process.execPath` which correctly points to the compiled binary, and updated detection to check for `%7EBUN` (URL-encoded `~BUN`) in `import.meta.url`.
- **Windows Terminal Truecolor Support**: Fixed theme colors appearing washed out in Windows Terminal. The color mode detection now checks for `WT_SESSION` environment variable to enable truecolor (24-bit RGB) support instead of falling back to 256-color mode.