kubeagent 0.1.4 → 0.1.5

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.
Files changed (2) hide show
  1. package/dist/cli.js +4 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -3,6 +3,9 @@ import { Command } from "commander";
3
3
  import chalk from "chalk";
4
4
  import ora from "ora";
5
5
  import { homedir } from "node:os";
6
+ import { createRequire } from "node:module";
7
+ const require = createRequire(import.meta.url);
8
+ const { version } = require("../package.json");
6
9
  function expandPath(p) {
7
10
  return p.startsWith("~/") ? homedir() + p.slice(1) : p;
8
11
  }
@@ -25,7 +28,7 @@ const program = new Command();
25
28
  program
26
29
  .name("kubeagent")
27
30
  .description("AI-powered Kubernetes management CLI")
28
- .version("0.1.0");
31
+ .version(version);
29
32
  program
30
33
  .command("status")
31
34
  .description("Quick cluster health summary (no LLM)")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kubeagent",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "AI-powered Kubernetes management CLI",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",