@fettstorch/clai 0.1.14 → 0.1.16

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.
@@ -13,7 +13,9 @@
13
13
  "Bash(bun:*)",
14
14
  "Bash(timeout:*)",
15
15
  "Bash(git add:*)",
16
- "Bash(git commit:*)"
16
+ "Bash(git commit:*)",
17
+ "Bash(git push:*)",
18
+ "Bash(npm publish:*)"
17
19
  ],
18
20
  "deny": []
19
21
  }
package/dist/cli.js CHANGED
@@ -54305,7 +54305,7 @@ function ora(options) {
54305
54305
  return new Ora(options);
54306
54306
  }
54307
54307
  // package.json
54308
- var version = "0.1.14";
54308
+ var version = "0.1.16";
54309
54309
  var package_default = {
54310
54310
  name: "@fettstorch/clai",
54311
54311
  version,
@@ -73386,7 +73386,11 @@ async function main2() {
73386
73386
  type: "input",
73387
73387
  name: "input",
73388
73388
  message: "Enter a URL or search query:",
73389
- validate: (input2) => input2.length > 0
73389
+ validate: (input2) => input2.length > 0,
73390
+ prefix: String.fromCodePoint(63),
73391
+ theme: {
73392
+ prefix: String.fromCodePoint(63)
73393
+ }
73390
73394
  }
73391
73395
  ]);
73392
73396
  input = answers.input;
@@ -73479,7 +73483,12 @@ What now?:`,
73479
73483
  value: link.url
73480
73484
  })),
73481
73485
  { name: "Exit", value: "exit" }
73482
- ]
73486
+ ],
73487
+ prefix: String.fromCodePoint(63),
73488
+ theme: {
73489
+ prefix: String.fromCodePoint(63),
73490
+ pointer: String.fromCodePoint(62)
73491
+ }
73483
73492
  }
73484
73493
  ]);
73485
73494
  if (selectedLink === "new") {
@@ -73488,7 +73497,11 @@ What now?:`,
73488
73497
  type: "input",
73489
73498
  name: "input",
73490
73499
  message: "Enter a URL or search query:",
73491
- validate: (input2) => input2.length > 0
73500
+ validate: (input2) => input2.length > 0,
73501
+ prefix: String.fromCodePoint(63),
73502
+ theme: {
73503
+ prefix: String.fromCodePoint(63)
73504
+ }
73492
73505
  }
73493
73506
  ]);
73494
73507
  await analyzeInput(newInput, openAIKey);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fettstorch/clai",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "clai": "dist/cli.js"
package/src/cli.ts CHANGED
@@ -37,6 +37,10 @@ async function main() {
37
37
  name: "input",
38
38
  message: "Enter a URL or search query:",
39
39
  validate: (input) => input.length > 0,
40
+ prefix: String.fromCodePoint(0x003F), // ?
41
+ theme: {
42
+ prefix: String.fromCodePoint(0x003F) // ?
43
+ }
40
44
  },
41
45
  ]);
42
46
  input = answers.input;
@@ -162,6 +166,11 @@ async function analyzeInput(input: string, openAIKey: string) {
162
166
  })),
163
167
  { name: "Exit", value: "exit" },
164
168
  ],
169
+ prefix: String.fromCodePoint(0x003F), // ?
170
+ theme: {
171
+ prefix: String.fromCodePoint(0x003F), // ?
172
+ pointer: String.fromCodePoint(0x003E), // >
173
+ }
165
174
  },
166
175
  ]);
167
176
 
@@ -172,6 +181,10 @@ async function analyzeInput(input: string, openAIKey: string) {
172
181
  name: "input",
173
182
  message: "Enter a URL or search query:",
174
183
  validate: (input) => input.length > 0,
184
+ prefix: String.fromCodePoint(0x003F), // ?
185
+ theme: {
186
+ prefix: String.fromCodePoint(0x003F) // ?
187
+ }
175
188
  },
176
189
  ]);
177
190
  await analyzeInput(newInput, openAIKey);