@elsium-ai/cli 0.2.2 → 0.2.3
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/dist/cli.js +6 -1
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -1361,6 +1361,9 @@ var init_src2 = __esm(() => {
|
|
|
1361
1361
|
init_determinism();
|
|
1362
1362
|
});
|
|
1363
1363
|
|
|
1364
|
+
// src/cli.ts
|
|
1365
|
+
import { createRequire } from "module";
|
|
1366
|
+
|
|
1364
1367
|
// src/commands/cost.ts
|
|
1365
1368
|
import { existsSync, readFileSync } from "node:fs";
|
|
1366
1369
|
import { join } from "node:path";
|
|
@@ -2305,7 +2308,9 @@ function printEntry(entry, raw = false) {
|
|
|
2305
2308
|
}
|
|
2306
2309
|
|
|
2307
2310
|
// src/cli.ts
|
|
2308
|
-
var
|
|
2311
|
+
var _require = createRequire(import.meta.url);
|
|
2312
|
+
var pkg = _require("../package.json");
|
|
2313
|
+
var VERSION = pkg.version;
|
|
2309
2314
|
var HELP = `
|
|
2310
2315
|
ElsiumAI CLI v${VERSION}
|
|
2311
2316
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elsium-ai/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "CLI tool for ElsiumAI projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Eric Utrera <ebutrera9103@gmail.com>",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"dev": "bun --watch src/cli.ts"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@elsium-ai/core": "^0.2.
|
|
28
|
-
"@elsium-ai/observe": "^0.2.
|
|
27
|
+
"@elsium-ai/core": "^0.2.3",
|
|
28
|
+
"@elsium-ai/observe": "^0.2.3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"typescript": "^5.7.0"
|