Skip to content

Releases: zhoutian1995/cli-switch

v1.0.0 — All 5 Roadmap Phases Complete

09 May 09:38

Choose a tag to compare

What's New in v1.0.0

All 5 planned roadmap phases are complete. 51 test files, 640 tests passing.

Phase 1: Runtime Contract Closure

  • Provider/vendor/transport resolver strictness
  • Platform and binary preflight checks
  • Error-code inventory and golden test coverage

Phase 2: Configuration Coverage

  • Global ~/.cli-switch/config.yaml + project .cli-switch.yaml config layering
  • config show/set/reset commands with dot-path keys, type coercion, --project/ --global scope
  • Config wired into gateway, tier, and strategy resolution

Phase 3: Output Validation and Repair

  • Capability output validation schemas
  • Diff validation and bounded auto-repair pipeline

Phase 4: Execution Isolation

  • Patch-only execution mode
  • Temp project copy execution
  • Git worktree execution with auto-cleanup

Phase 5: Skill Workflow Foundation

  • Local skill definitions in .cli-switch/skills/ and ~/.cli-switch/skills/
  • skill list, skill show, skill run commands with prompt template substitution

Install

npm install -g cli-switch@1.0.0

cli-switch v0.3.2

08 May 08:09

Choose a tag to compare

cli-switch v0.3.2

Formal public release package for cli-switch.

Highlights

  • Multilingual README: English, Chinese, Japanese, and Korean.
  • Clear use cases, fit guidance, current limits, and onboarding curve.
  • Gateway aliases for self-hosted relays and OpenRouter-compatible environments.
  • Per-agent gateway/model resolution for strategy and fallback execution.
  • Published npm package: cli-switch@0.3.2.

Verification

  • npm run build: passed
  • npm test: 35 test files, 318 tests passed
  • npm pack: 293 files, 121.6 kB package

Install

npm install -g cli-switch