agent-limit 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -35,6 +35,7 @@ agent-limit usage
35
35
  | Command | Description |
36
36
  |---------|-------------|
37
37
  | `agent-limit usage` | Show usage dashboard |
38
+ | `agent-limit version` | Show version |
38
39
  | `agent-limit help` | Show help message |
39
40
 
40
41
  ## Dashboard Controls
package/bin/cli.tsx CHANGED
@@ -24,6 +24,9 @@ if (command === "usage") {
24
24
  process.on("SIGTERM", cleanup);
25
25
 
26
26
  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);
27
30
  } else if (command === "help" || command === "--help" || command === "-h" || !command) {
28
31
  console.log(`
29
32
  agent-limit
@@ -38,6 +41,7 @@ Quick Start:
38
41
 
39
42
  CLI:
40
43
  agent-limit usage Show usage dashboard
44
+ agent-limit version Show version
41
45
  agent-limit help Show this help message
42
46
 
43
47
  Dashboard Controls:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-limit",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Terminal dashboard to monitor Claude Code, Codex, and other agent usage limits",
5
5
  "type": "module",
6
6
  "main": "src/index.tsx",