Skip to content

Releases: HaolinHom/swapper

v1.0.2

Choose a tag to compare

@HaolinHom HaolinHom released this 24 Apr 03:49

Release Notes

Added

  • Support installing the bundled skill for Claude Code.
  • Add interactive agent selection for swapper install-skill.
  • Add --agent to skip selection:
    • codex
    • claude-code
    • claude
  • Add --no-force to prevent overwriting existing skills.

Changed

  • swapper install-skill now defaults to overwriting existing installations.
  • --force is 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-force

v1.0.1

Choose a tag to compare

@HaolinHom HaolinHom released this 16 Apr 06:59
e5b5c83

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 swapper usage in skills/generate-swagger-types/SKILL.md
  • Instruct agents to verify availability with swapper --help
  • Prevent fallback failures caused by missing project-local swapper binaries
  • Sync the same guidance to README.md and README_ZH-CN.md

Validation

  • Verified swapper --help works in the current environment

v1.0.0

Choose a tag to compare

@HaolinHom HaolinHom released this 13 Apr 09:56

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.ts and index.ts from 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