Skip to content

Commit b74e90c

Browse files
committed
Add version command to display current version
1 parent 3fb0c86 commit b74e90c

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.6.0] - 2026-01-02
11+
12+
### Added
13+
14+
- `version` command to display current version (`agent-limit version`, `-v`, `--version`)
15+
1016
## [0.5.1] - 2026-01-02
1117

1218
### Fixed
@@ -75,7 +81,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7581
- Standalone binary builds for macOS (arm64 and x64)
7682
- npm package distribution
7783

78-
[Unreleased]: https://github.com/AgentWorkforce/limit/compare/v0.5.1...HEAD
84+
[Unreleased]: https://github.com/AgentWorkforce/limit/compare/v0.6.0...HEAD
85+
[0.6.0]: https://github.com/AgentWorkforce/limit/compare/v0.5.1...v0.6.0
7986
[0.5.1]: https://github.com/AgentWorkforce/limit/compare/v0.5.0...v0.5.1
8087
[0.5.0]: https://github.com/AgentWorkforce/limit/compare/v0.4.1...v0.5.0
8188
[0.4.1]: https://github.com/AgentWorkforce/limit/compare/v0.4.0...v0.4.1

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ agent-limit usage
3535
| Command | Description |
3636
|---------|-------------|
3737
| `agent-limit usage` | Show usage dashboard |
38+
| `agent-limit version` | Show version |
3839
| `agent-limit help` | Show help message |
3940

4041
## Dashboard Controls

bin/cli.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ if (command === "usage") {
2424
process.on("SIGTERM", cleanup);
2525

2626
root.render(<App onExit={cleanup} />);
27+
} else if (command === "version" || command === "--version" || command === "-v") {
28+
const pkg = await import("../package.json");
29+
console.log(pkg.version);
2730
} else if (command === "help" || command === "--help" || command === "-h" || !command) {
2831
console.log(`
2932
agent-limit
@@ -38,6 +41,7 @@ Quick Start:
3841
3942
CLI:
4043
agent-limit usage Show usage dashboard
44+
agent-limit version Show version
4145
agent-limit help Show this help message
4246
4347
Dashboard Controls:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "agent-limit",
3-
"version": "0.5.1",
3+
"version": "0.6.0",
44
"description": "Terminal dashboard to monitor Claude Code, Codex, and other agent usage limits",
55
"type": "module",
66
"main": "src/index.tsx",

0 commit comments

Comments
 (0)