kernelbot 1.0.0 → 1.0.2

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/bin/kernel.js CHANGED
@@ -11,6 +11,7 @@ import { loadConfig } from '../src/utils/config.js';
11
11
  import { createLogger, getLogger } from '../src/utils/logger.js';
12
12
  import {
13
13
  showLogo,
14
+ showHelp,
14
15
  showStartupCheck,
15
16
  showStartupComplete,
16
17
  showError,
@@ -26,7 +27,10 @@ const program = new Command();
26
27
  program
27
28
  .name('kernelbot')
28
29
  .description('KernelBot — AI engineering agent with full OS control')
29
- .version('1.0.0');
30
+ .version('1.0.0')
31
+ .action(() => {
32
+ showHelp();
33
+ });
30
34
 
31
35
  // ─── kernel start ────────────────────────────────────────────
32
36
  program
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kernelbot",
3
- "version": "1.0.0",
3
+ "version": "1.0.002",
4
4
  "description": "KernelBot — AI engineering agent with full OS control",
5
5
  "type": "module",
6
6
  "author": "Abdullah Al-Tahrei <abdullah@altaheri.me>",
@@ -17,6 +17,14 @@
17
17
  "anthropic",
18
18
  "tools"
19
19
  ],
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/KernelCode/KernelBot.git"
23
+ },
24
+ "bugs": {
25
+ "url": "https://github.com/KernelCode/KernelBot/issues"
26
+ },
27
+ "homepage": "https://github.com/KernelCode/KernelBot#readme",
20
28
  "license": "MIT",
21
29
  "dependencies": {
22
30
  "@anthropic-ai/sdk": "^0.39.0",
@@ -59,6 +59,29 @@ export function showError(msg) {
59
59
  );
60
60
  }
61
61
 
62
+ export function showHelp() {
63
+ showLogo();
64
+ console.log(
65
+ boxen(
66
+ [
67
+ chalk.bold('Commands:'),
68
+ '',
69
+ ` ${chalk.cyan('kernelbot start')} ${chalk.dim('Launch the Telegram bot')}`,
70
+ ` ${chalk.cyan('kernelbot run')} ${chalk.yellow('"prompt"')} ${chalk.dim('One-off agent call (no Telegram)')}`,
71
+ ` ${chalk.cyan('kernelbot check')} ${chalk.dim('Validate config & test APIs')}`,
72
+ ` ${chalk.cyan('kernelbot init')} ${chalk.dim('Interactive setup wizard')}`,
73
+ '',
74
+ chalk.dim(` kernelbot --help Show all options`),
75
+ ].join('\n'),
76
+ {
77
+ padding: 1,
78
+ borderStyle: 'round',
79
+ borderColor: 'cyan',
80
+ },
81
+ ),
82
+ );
83
+ }
84
+
62
85
  export function createSpinner(text) {
63
86
  return ora({ text, color: 'cyan' });
64
87
  }