@hynaweb/kavlr 1.0.5 → 1.0.6

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/bin/cli.js +22 -6
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -34,11 +34,27 @@ function printLogo() {
34
34
  ' █████╔╝ ███████║██║ ██║██║ ██████╔╝',
35
35
  ' ██╔═██╗ ██╔══██║╚██╗ ██╔╝██║ ██╔══██╗',
36
36
  ' ██║ ██╗██║ ██║ ╚████╔╝ ███████╗██║ ██║',
37
- ' ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝',
38
- ].join("
39
- ");
40
- console.log(chalk.cyan.bold(art) + chalk.gray(" The AI Agent Action Gate v1.0.5
41
- "));
37
+ ' ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝'
38
+ ].join('
39
+ ');
40
+ console.log(chalk.cyan.bold(art) + chalk.gray(' The AI Agent Action Gate v1.0.6
41
+ '));
42
+ }
43
+
44
+ async function cmdSetup() {
45
+ printLogo();
46
+ const readline = require('readline').createInterface({
47
+ input: process.stdin,
48
+ output: process.stdout
49
+ });
50
+ readline.question(chalk.cyan('Enter your KAVLR API Key (kavlr_...): '), (key) => {
51
+ if (key.startsWith('kavlr_')) {
52
+ saveKey(key.trim());
53
+ } else {
54
+ console.log(chalk.red('Invalid key format. It must start with "kavlr_"'));
55
+ }
56
+ readline.close();
57
+ });
42
58
  }
43
59
 
44
60
  async function cmdStatus() {
@@ -156,7 +172,7 @@ async function runGate(args) {
156
172
  program
157
173
  .name('kavlr')
158
174
  .description('The AI Agent Action Gate')
159
- .version('1.0.3')
175
+ .version('1.0.6')
160
176
  .allowExcessArguments(true)
161
177
  .allowUnknownOption(true)
162
178
  .argument('[args...]', 'Command and arguments')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hynaweb/kavlr",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "The AI Agent Action Gate.",
5
5
  "main": "bin/cli.js",
6
6
  "bin": {