Skip to content

feat: 完善 Windows 原生支持#9

Open
Sugarfarmeriod wants to merge 1 commit into
PacemakerG:mainfrom
Sugarfarmeriod:feature/windows-full-support
Open

feat: 完善 Windows 原生支持#9
Sugarfarmeriod wants to merge 1 commit into
PacemakerG:mainfrom
Sugarfarmeriod:feature/windows-full-support

Conversation

@Sugarfarmeriod

@Sugarfarmeriod Sugarfarmeriod commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

完善 Windows 原生环境下的 ccwhat 使用路径,覆盖安装、代理启动、证书提示、运行时 hook、OpenCode 命令文件、viewer 和自动任务切分等 Windows 兼容性问题。

  • 增加 Windows 原生支持文档和 OpenSpec change:support-windows-native
  • 使用平台感知的命令 quoting,修复 Windows 路径和 PowerShell/cmd 参数转义问题
  • 将 OpenCode 命令文件从 Windows 非法的 ccwhat:start.md / ccwhat:finish.md 改为 ccwhat-start.md / ccwhat-finish.md,并保留旧命令兼容
  • 改进 Windows 下 mitmdump 缺失、证书信任、代理环境变量和端口绑定的诊断提示
  • 修复自动任务切分失败时会清空手动 Task Overlay 的问题,并让后端返回结构化错误
  • 明确使用 UTF-8 读取任务切分规则和导入元数据,避免 Windows 默认 GBK 导致解析失败

Fixes #7

Verification

  • openspec validate support-windows-native --strict
  • uv run --extra dev python -m pytest tests/test_platform_helpers.py tests/test_task_segmentation_rules.py tests/test_task_segmentation_api.py
  • node tests\test_task_segmentation_dom.js

@Sugarfarmeriod Sugarfarmeriod changed the title feat: improve native Windows support feat: 完善 Windows 原生支持 Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows 下自动任务切分因 UTF-8 规则文件按 GBK 读取失败,且失败前会清空手动 Task Overlay

1 participant