claude-code-hub 0.6.9 → 0.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 +9 -2
- package/package.json +3 -2
- package/server.js +5 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
[](LICENSE)
|
|
5
5
|
[](https://www.npmjs.com/package/claude-code-hub)
|
|
6
6
|
|
|
7
|
-
Unified launcher for Claude Code tools — browse plugins in **Marketplace**, track tasks in **Kanban**,
|
|
7
|
+
Unified launcher for Claude Code tools — browse plugins in **Marketplace**, track tasks in **Kanban**, monitor costs in **Cost**, and explore memory in **Memory**, all from a single chromeless PWA.
|
|
8
8
|
|
|
9
9
|
## Kanban:
|
|
10
10
|
|
|
@@ -16,6 +16,9 @@ Unified launcher for Claude Code tools — browse plugins in **Marketplace**, tr
|
|
|
16
16
|
## Cost:
|
|
17
17
|

|
|
18
18
|
|
|
19
|
+
## Memory:
|
|
20
|
+

|
|
21
|
+
|
|
19
22
|
## Quick Start
|
|
20
23
|
|
|
21
24
|
```bash
|
|
@@ -27,7 +30,7 @@ npx claude-code-hub --open
|
|
|
27
30
|
```bash
|
|
28
31
|
git clone --recurse-submodules https://github.com/NikiforovAll/claude-code-hub.git
|
|
29
32
|
cd claude-code-hub
|
|
30
|
-
npm install && npm install --prefix marketplace && npm install --prefix cck
|
|
33
|
+
npm install && npm install --prefix marketplace && npm install --prefix cck && npm install --prefix memory
|
|
31
34
|
npm start # http://localhost:3455
|
|
32
35
|
```
|
|
33
36
|
|
|
@@ -48,6 +51,8 @@ Without hooks you still get the task board, but no agent activity or live indica
|
|
|
48
51
|
| `Alt+1` | Switch to Kanban |
|
|
49
52
|
| `Alt+2` | Switch to Marketplace |
|
|
50
53
|
| `Alt+3` | Switch to Cost |
|
|
54
|
+
| `Alt+4` | Switch to Memory |
|
|
55
|
+
| `Ctrl+M` | Open Memory for current session (Kanban) |
|
|
51
56
|
| `Ctrl+Alt+Right` | Switch to next tool |
|
|
52
57
|
| `Ctrl+Alt+Left` | Switch to previous tool |
|
|
53
58
|
|
|
@@ -62,6 +67,7 @@ The hub server spawns both sub-apps as child processes, each on its own port. A
|
|
|
62
67
|
| [Marketplace](https://github.com/NikiforovAll/claude-code-marketplace) | `marketplace/` | 3457 |
|
|
63
68
|
| [Kanban](https://github.com/NikiforovAll/claude-task-viewer) | `cck/` | 3456 |
|
|
64
69
|
| [Cost](https://github.com/NikiforovAll/claude-code-cost) | `cost/` | 3458 |
|
|
70
|
+
| [Memory](https://github.com/NikiforovAll/claude-code-memory) | `memory/` | 3459 |
|
|
65
71
|
|
|
66
72
|
## CLI Flags
|
|
67
73
|
|
|
@@ -70,6 +76,7 @@ The hub server spawns both sub-apps as child processes, each on its own port. A
|
|
|
70
76
|
--marketplace-port <n> Marketplace port (default: 3457)
|
|
71
77
|
--kanban-port <n> Kanban port (default: 3456)
|
|
72
78
|
--cost-port <n> Cost port (default: 3458)
|
|
79
|
+
--memory-port <n> Memory port (default: 3459)
|
|
73
80
|
--open Auto-open browser
|
|
74
81
|
```
|
|
75
82
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-hub",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Unified hub for Claude Code tools — Marketplace + Kanban in one PWA",
|
|
5
5
|
"main": "server.js",
|
|
6
6
|
"bin": {
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"homepage": "https://github.com/NikiforovAll/claude-code-hub#readme",
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"claude-code-cost": "^0.6.1",
|
|
39
|
-
"claude-code-
|
|
39
|
+
"claude-code-memory-explorer": "^0.2.0",
|
|
40
|
+
"claude-code-kanban": "^3.2.0",
|
|
40
41
|
"claude-code-marketplace": "^0.5.9",
|
|
41
42
|
"express": "^4.21.0",
|
|
42
43
|
"open": "^10.1.0"
|
package/server.js
CHANGED
|
@@ -16,9 +16,10 @@ const HUB_PORT = parseInt(getArg('port') || process.env.PORT || '3455', 10);
|
|
|
16
16
|
const MARKETPLACE_PORT = parseInt(getArg('marketplace-port') || '3457', 10);
|
|
17
17
|
const KANBAN_PORT = parseInt(getArg('kanban-port') || '3456', 10);
|
|
18
18
|
const COST_PORT = parseInt(getArg('cost-port') || '3458', 10);
|
|
19
|
+
const MEMORY_PORT = parseInt(getArg('memory-port') || '3459', 10);
|
|
19
20
|
|
|
20
21
|
const children = [];
|
|
21
|
-
const actualPorts = { marketplace: MARKETPLACE_PORT, kanban: KANBAN_PORT, cost: COST_PORT };
|
|
22
|
+
const actualPorts = { marketplace: MARKETPLACE_PORT, kanban: KANBAN_PORT, cost: COST_PORT, memory: MEMORY_PORT };
|
|
22
23
|
|
|
23
24
|
function spawnApp(name, cmd, args, envPort) {
|
|
24
25
|
const child = spawn(cmd, args, {
|
|
@@ -98,10 +99,12 @@ function resolveApp(submoduleDir, npmPackage) {
|
|
|
98
99
|
const marketplacePath = resolveApp('marketplace', 'claude-code-marketplace');
|
|
99
100
|
const kanbanPath = resolveApp('cck', 'claude-code-kanban');
|
|
100
101
|
const costPath = resolveApp('cost', 'claude-code-cost');
|
|
102
|
+
const memoryPath = resolveApp('memory', 'claude-code-memory-explorer');
|
|
101
103
|
|
|
102
104
|
spawnApp('marketplace', process.execPath, [marketplacePath, `--port=${MARKETPLACE_PORT}`], MARKETPLACE_PORT);
|
|
103
105
|
spawnApp('kanban', process.execPath, [kanbanPath], KANBAN_PORT);
|
|
104
106
|
spawnApp('cost', process.execPath, [costPath, `--port=${COST_PORT}`], COST_PORT);
|
|
107
|
+
spawnApp('memory', process.execPath, [memoryPath, `--port=${MEMORY_PORT}`], MEMORY_PORT);
|
|
105
108
|
|
|
106
109
|
const app = express();
|
|
107
110
|
|
|
@@ -111,6 +114,7 @@ app.get('/api/config', (_req, res) => {
|
|
|
111
114
|
kanban: { name: 'Kanban', url: `http://localhost:${actualPorts.kanban}`, icon: 'columns' },
|
|
112
115
|
marketplace: { name: 'Marketplace', url: `http://localhost:${actualPorts.marketplace}`, icon: 'store' },
|
|
113
116
|
cost: { name: 'Cost', url: `http://localhost:${actualPorts.cost}`, icon: 'dollar-sign' },
|
|
117
|
+
memory: { name: 'Memory', url: `http://localhost:${actualPorts.memory}`, icon: 'database' },
|
|
114
118
|
},
|
|
115
119
|
});
|
|
116
120
|
});
|