Releases: HaolinHom/swapper
Releases · HaolinHom/swapper
Release list
v1.0.2
Release Notes
Added
- Support installing the bundled skill for Claude Code.
- Add interactive agent selection for
swapper install-skill. - Add
--agentto skip selection:codexclaude-codeclaude
- Add
--no-forceto prevent overwriting existing skills.
Changed
swapper install-skillnow defaults to overwriting existing installations.--forceis still supported, but no longer required.- Non-interactive installs default to Codex.
- README and skill metadata now mention both Codex and Claude Code.
Usage
swapper install-skill
swapper install-skill --agent claude-code
swapper install-skill --no-forcev1.0.1
Summary
Update the generate-swagger-types skill for the v1.0.1 release so agents try the globally installed swapper command before assuming the CLI is unavailable.
Changes
- Clarify global
swapperusage inskills/generate-swagger-types/SKILL.md - Instruct agents to verify availability with
swapper --help - Prevent fallback failures caused by missing project-local
swapperbinaries - Sync the same guidance to
README.mdandREADME_ZH-CN.md
Validation
- Verified
swapper --helpworks in the current environment
v1.0.0
v1.0.0
First public release of swapper, a CLI for generating TypeScript API functions and type definitions from Swagger/OpenAPI documents.
What's included
- Generate
types.tsandindex.tsfrom Swagger/OpenAPI - Select APIs by controller tag or exact
METHOD-/path - Support mixed tag and endpoint selection
- Support custom request import statements
- Support URL prefixes for generated endpoints
- Incremental merge by default
- Full overwrite with
--force - Built-in Codex skill installation via
swapper install-skill
Package
- npm:
@aircan/swapper - CLI:
swapper
Quick start
npm install -g @aircan/swapper
swapper --help