feat: add Windows support#765
Conversation
|
@infer /model deepseek/deepseek-v4-flash the CI is failing. Also what about the binaries and the release for windows? use /go /go-spec-reviewer |
|
Model: Todos
Pull Request✅ Infer Result: SuccessThe work is complete - all changes have been committed, pushed, and verified. Model: Tokens: 5,478,946 in · 15,757 out · 5,494,703 total (56 requests) Cost: $0.7671 in · $0.0044 out · $0.7715 total Tool calls: 84 total · 100% success rate Triggered by edenreich · Infer Action |
|
@infer CI is failing |
|
Model: Todos
Pull Request✅ Infer Result: SuccessThe fix has been committed and pushed to the ProblemThe CI lint check was failing with: The
FixExtracted the computer use tool registration logic into a dedicated
This is the idiomatic Go pattern for reducing nesting complexity. Verification
Commit: Model: Tokens: 1,056,091 in · 6,411 out · 1,062,502 total (22 requests) Tool calls: 26 total · 92% success rate
|
|
@infer What about docs? |
|
Model: Todos
Pull Request✅ Infer Result: SuccessAll documentation updates are complete and pushed to the Documentation Changes for Windows Support
|
Resolves #762
Summary
This PR adds Windows support to the CLI. The changes ensure the CLI compiles and runs on Windows, with appropriate warnings for features that are not supported on Windows (computer use).
Changes
internal/agent/agent_utils.go - Added a
windowscase tobuildOSInfo()so the system prompt includes Windows-specific guidance:internal/agent/tools/registry.go - Added a Windows-specific warning when computer use is enabled on Windows:
Testing
go build ./...succeedsgo test ./internal/agent/...passes