claude-code-kanban 4.7.0 → 4.7.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/README.md
CHANGED
|
@@ -34,7 +34,7 @@ All changes are non-destructive — existing settings are preserved.
|
|
|
34
34
|
npx claude-code-kanban --open
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
Open http://localhost:
|
|
37
|
+
Open http://localhost:3541 (or use `--open` to auto-launch the browser).
|
|
38
38
|
|
|
39
39
|
### 3. Use Claude Code as usual
|
|
40
40
|
|
|
@@ -64,7 +64,7 @@ npx claude-code-kanban --open # Auto-open browser
|
|
|
64
64
|
npx claude-code-kanban --dir=~/.claude-work # Custom Claude config dir
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
If port
|
|
67
|
+
If port 3541 is in use, the server falls back to a random available port.
|
|
68
68
|
|
|
69
69
|
### Global install
|
|
70
70
|
|
package/cli.js
CHANGED
|
@@ -145,7 +145,7 @@ function printTopHelp() {
|
|
|
145
145
|
console.log(' --help, -h Show help (top-level, noun-level, or leaf-level)');
|
|
146
146
|
console.log(' --version, -v Print version and exit');
|
|
147
147
|
console.log('\nServer mode (no subcommand):');
|
|
148
|
-
console.log(' --port <n> Port to listen on (default
|
|
148
|
+
console.log(' --port <n> Port to listen on (default 3541)');
|
|
149
149
|
console.log(' --dir <path> Override Claude config dir (default ~/.claude)');
|
|
150
150
|
console.log(' --open Open browser on start');
|
|
151
151
|
console.log(' --install, --uninstall Install or remove the agent-spy hook');
|
|
@@ -187,7 +187,7 @@ function getArgValue(args, name) {
|
|
|
187
187
|
return args[idx + 1] && !args[idx + 1].startsWith('--') ? args[idx + 1] : null;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
function cliPort() { return process.env.PORT ||
|
|
190
|
+
function cliPort() { return process.env.PORT || 3541; }
|
|
191
191
|
function unreachable() { return `Cannot reach cck server on port ${cliPort()}. Start it first with "claude-code-kanban".`; }
|
|
192
192
|
|
|
193
193
|
class CliUnreachable extends Error { constructor() { super(unreachable()); this.code = 'unreachable'; } }
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: kanban
|
|
3
3
|
description: Drive the claude-code-kanban browser dashboard from this Claude session. Use this skill when the user mentions "kanban" together with "session" — e.g. "open this session in kanban", "show kanban", "focus current session in kanban", "pin/unpin a session in kanban", "preview this file in kanban", or asks to peek/view a kanban session.
|
|
4
|
-
compatibility: Requires the `claude-code-kanban` CLI on PATH and the server running locally (default port
|
|
4
|
+
compatibility: Requires the `claude-code-kanban` CLI on PATH and the server running locally (default port 3541).
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Kanban Skill
|
|
@@ -69,6 +69,6 @@ Add `--json` to any list-style verb for machine-readable output.
|
|
|
69
69
|
|
|
70
70
|
## Troubleshooting
|
|
71
71
|
|
|
72
|
-
- **"Cannot reach cck server on port
|
|
72
|
+
- **"Cannot reach cck server on port 3541"** → ask the user to start it: `claude-code-kanban` (or `npm start` in the cck repo).
|
|
73
73
|
- **Different port** → set `PORT=<n>` env var when invoking the CLI.
|
|
74
74
|
- **Ambiguous session prefix (HTTP 409)** → use the full id. With `${CLAUDE_SESSION_ID}` this won't happen.
|
package/server.js
CHANGED