Skip to content

fix(cli): bump default Anthropic model to opus-4-7 and unify Windows path display#152

Open
ZhengyaoJiang wants to merge 1 commit into
mainfrom
vk/cli-windows-polish-and-model-bump
Open

fix(cli): bump default Anthropic model to opus-4-7 and unify Windows path display#152
ZhengyaoJiang wants to merge 1 commit into
mainfrom
vk/cli-windows-polish-and-model-bump

Conversation

@ZhengyaoJiang

Copy link
Copy Markdown
Contributor

Summary

Two small polish fixes surfaced during a cold-start UX audit on Windows:

  1. Default Anthropic model 4-5 → 4-7 (weco/constants.py)
    The default Anthropic model in DEFAULT_MODELS is currently claude-opus-4-5. Claude 4-7 is GA and is already what our own prompt-compression example uses (examples/prompt-compression/README.md). The default model only kicks in when a user passes --api-key anthropic=<key> without --model, so this only affects BYOK Anthropic users who haven't picked a specific model.

  2. Path display in weco setup output (weco/commands/setup/install.py)
    On Windows the install confirmation printed:

    Installing Weco for Claude Code... done (~/.claude\skills\weco)
    

    The forward slash from the hard-coded ~/{...} prefix mixed with backslashes from path.relative_to(home). Using .as_posix() gives ~/.claude/skills/weco consistently on every platform.

Test plan

  • Smoke test: from weco import constants returns opus-4-7 as default Anthropic model
  • Smoke test: _shorten(Path.home() / '.claude' / 'skills' / 'weco') returns ~/.claude/skills/weco on Windows
  • CI passes
  • On Linux/macOS, weco setup claude-code still shows ~/.claude/skills/weco (no regression)

Context

Surfaced from a cold-start UX walkthrough on Windows (multi-persona audit, 2026-05-23). The path-display issue was directly observed; the model-default mismatch was source-confirmed in the same audit.

🤖 Generated with Claude Code

…path display

Two small Windows-and-defaults polish fixes surfaced during a cold-start UX audit:

1. **Default Anthropic model**: bump from claude-opus-4-5 to claude-opus-4-7. 4-7 is
   GA and is already what our own prompt-compression example uses. The default model
   only kicks in when a user passes --api-key anthropic=<key> without --model, so
   this only affects BYOK Anthropic users who haven't picked a specific model.

2. **Path display in `weco setup` output**: on Windows the install confirmation
   printed e.g. `Installing Weco for Claude Code... done (~/.claude\skills\weco)` —
   forward slash from the hard-coded prefix mixed with backslashes from
   `path.relative_to(home)`. Use `.as_posix()` so it renders as
   `~/.claude/skills/weco` on every platform.
@aliroberts

Copy link
Copy Markdown
Contributor

Thanks - could you please update the target to dev for this one?

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.

2 participants