kanon-cli 0.1.0 → 0.1.1
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/kanon.js +11 -0
- package/package.json +3 -2
- package/src/dashboard/dist/assets/index-7UwkIyFn.js +206 -0
- package/src/dashboard/dist/assets/index-DBQ473Y5.css +1 -0
- package/src/dashboard/dist/index.html +2 -2
- package/src/dashboard/server/index.js +36 -1
- package/src/dashboard/server/settings.js +244 -8
- package/src/dashboard/dist/assets/index-Dcbpx-Xz.js +0 -186
- package/src/dashboard/dist/assets/index-DhFfv70f.css +0 -1
package/bin/kanon.js
CHANGED
|
@@ -20,6 +20,17 @@ program
|
|
|
20
20
|
.description('Kanon board CLI')
|
|
21
21
|
.version('0.2.0');
|
|
22
22
|
|
|
23
|
+
// Default action: launch dashboard when no command is given
|
|
24
|
+
program.action(async (options, cmd) => {
|
|
25
|
+
// Only trigger if no subcommand was matched
|
|
26
|
+
if (cmd.args.length === 0) {
|
|
27
|
+
console.log('\n Starting Kanon dashboard...\n');
|
|
28
|
+
console.log(' If nothing opens, go to: http://localhost:3737');
|
|
29
|
+
console.log(' For CLI commands, run: kanon --help\n');
|
|
30
|
+
await dashboardCommand({ port: '3737', browser: true });
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
23
34
|
// --- Auth & Setup ---
|
|
24
35
|
|
|
25
36
|
program
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kanon-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Kanon board CLI — watch boards, spawn Claude agents, manage cards",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"kanon": "./bin/kanon.js"
|
|
7
|
+
"kanon": "./bin/kanon.js",
|
|
8
|
+
"kanon-cli": "./bin/kanon.js"
|
|
8
9
|
},
|
|
9
10
|
"scripts": {
|
|
10
11
|
"start": "node bin/kanon.js",
|