sarangai-cli 1.0.7 → 1.0.8

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/index.cjs +53 -1
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -5,6 +5,9 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __commonJS = (cb, mod) => function __require() {
9
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
+ };
8
11
  var __copyProps = (to, from, except, desc) => {
9
12
  if (from && typeof from === "object" || typeof from === "function") {
10
13
  for (let key of __getOwnPropNames(from))
@@ -22,6 +25,55 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
22
25
  mod
23
26
  ));
24
27
 
28
+ // package.json
29
+ var require_package = __commonJS({
30
+ "package.json"(exports2, module2) {
31
+ module2.exports = {
32
+ name: "sarangai-cli",
33
+ version: "1.0.8",
34
+ description: "CLI resmi SarangAI \u2014 Gateway multi-model AI langsung dari terminal Anda",
35
+ main: "dist/index.cjs",
36
+ bin: {
37
+ sarang: "dist/index.cjs",
38
+ sarangai: "dist/index.cjs"
39
+ },
40
+ files: [
41
+ "dist"
42
+ ],
43
+ scripts: {
44
+ build: "tsup",
45
+ prepublishOnly: "npm run build"
46
+ },
47
+ keywords: [
48
+ "sarangai",
49
+ "cli",
50
+ "ai",
51
+ "llm",
52
+ "openai",
53
+ "deepseek",
54
+ "claude",
55
+ "gateway"
56
+ ],
57
+ author: "SarangAI Team",
58
+ license: "MIT",
59
+ dependencies: {
60
+ chalk: "^4.1.2",
61
+ commander: "^12.1.0",
62
+ ora: "^5.4.1",
63
+ prompts: "^2.4.2",
64
+ "readline-sync": "^1.4.10"
65
+ },
66
+ devDependencies: {
67
+ "@types/node": "^20.14.9",
68
+ "@types/prompts": "^2.4.9",
69
+ "@types/readline-sync": "^1.4.8",
70
+ tsup: "^8.5.1",
71
+ typescript: "^5.5.2"
72
+ }
73
+ };
74
+ }
75
+ });
76
+
25
77
  // src/index.ts
26
78
  var import_commander = require("commander");
27
79
  var import_chalk = __toESM(require("chalk"));
@@ -201,7 +253,7 @@ Error: ${err.message}
201
253
  };
202
254
  ask();
203
255
  }
204
- program.name("sarang").description(import_chalk.default.cyanBright("SarangAI CLI \u2014 Gateway ratusan model AI langsung di terminal")).version("1.0.3").action(() => {
256
+ program.name("sarang").description(import_chalk.default.cyanBright("SarangAI CLI \u2014 Gateway ratusan model AI langsung di terminal")).version(require_package().version).action(() => {
205
257
  startInteractiveSession();
206
258
  });
207
259
  program.command("login").description("Hubungkan API Key SarangAI akun Anda").action(async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sarangai-cli",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "CLI resmi SarangAI — Gateway multi-model AI langsung dari terminal Anda",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {