| name | bump-version |
| description | Bump the app version across all config files for the jungle-bell project. Use when the user asks to bump/update the version, or says "버전 올려줘", "bump version", "/bump-version". Updates package.json, package-lock.json, src-tauri/Cargo.toml, src-tauri/tauri.conf.json, and Cargo.lock. |
Bump version
Bump the version of this project.
If the user provided a specific version as an argument, use that version. Otherwise, read the current versions from package.json, src-tauri/Cargo.toml, and src-tauri/tauri.conf.json first, then ask the user what version they want to bump to.
The following files need to be updated:
package.json — top-level "version" field
package-lock.json — updated with npm version <version> --no-git-tag-version --allow-same-version
src-tauri/Cargo.toml — version field in [package]
src-tauri/tauri.conf.json — top-level "version" field
src-tauri/Cargo.lock — updated with cargo generate-lockfile
Interaction compatibility
If a required target version is missing, ask one concise question and wait for the user's answer. Use the structured user-input tool available in the current runtime:
- In runtimes that provide
AskUserQuestion, use AskUserQuestion.
- In Codex, use Codex's available user-input mechanism when available and appropriate; otherwise ask in normal chat.
Steps
- Read
package.json, src-tauri/Cargo.toml, and src-tauri/tauri.conf.json to confirm their current versions
- If no target version was specified, ask the user which version to bump to (show the current version for reference)
- Run
npm version <version> --no-git-tag-version --allow-same-version at the repository root to update package.json and package-lock.json
- Update the version string in
src-tauri/Cargo.toml and src-tauri/tauri.conf.json
- Run
cargo generate-lockfile in src-tauri/ to update Cargo.lock
- Confirm all five files contain the target version and report the old and new versions to the user