claudeck 1.3.0 → 1.4.0
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 +7 -3
- package/db/sqlite.js +1697 -0
- package/db.js +3 -1645
- package/package.json +2 -1
- package/plugins/tasks/server.js +21 -21
- package/public/css/ui/messages.css +25 -0
- package/public/js/core/api.js +23 -6
- package/public/js/core/ws.js +12 -0
- package/public/js/features/chat.js +4 -0
- package/public/js/features/sessions.js +102 -10
- package/public/js/ui/messages.js +42 -0
- package/public/js/ui/parallel.js +2 -4
- package/server/agent-loop.js +27 -26
- package/server/memory-extractor.js +4 -4
- package/server/memory-injector.js +11 -11
- package/server/memory-optimizer.js +2 -2
- package/server/notification-logger.js +5 -5
- package/server/orchestrator.js +16 -15
- package/server/push-sender.js +2 -2
- package/server/routes/agents.js +2 -2
- package/server/routes/memory.js +20 -20
- package/server/routes/messages.js +41 -10
- package/server/routes/notifications.js +20 -20
- package/server/routes/sessions.js +17 -17
- package/server/routes/stats.js +37 -37
- package/server/routes/worktrees.js +9 -9
- package/server/summarizer.js +3 -3
- package/server/ws-handler.js +153 -53
- package/server.js +2 -2
package/README.md
CHANGED
|
@@ -64,7 +64,9 @@ User data lives in `~/.claudeck/` (config, database, plugins) — safe for NPX u
|
|
|
64
64
|
### Chat & Sessions
|
|
65
65
|
|
|
66
66
|
- Real-time WebSocket streaming with session persistence
|
|
67
|
+
- **Multi-client sync** — multiple browsers/devices viewing the same session see streamed responses in real time
|
|
67
68
|
- **Parallel mode** — 2x2 grid of 4 independent conversations
|
|
69
|
+
- **Message pagination** — lazy-loads older messages on scroll-up (cursor-based, 30 per page)
|
|
68
70
|
- Background sessions that keep running when you switch away
|
|
69
71
|
- Session search, pinning, auto-generated titles
|
|
70
72
|
- **Session branching** — fork any conversation at an assistant message to explore alternatives
|
|
@@ -174,6 +176,7 @@ browser ──── WebSocket ──── server.js ──── Claude Code S
|
|
|
174
176
|
server/utils/git-worktree.js
|
|
175
177
|
server/auth.js
|
|
176
178
|
server/memory-optimizer.js └── .env (VAPID keys, auth token)
|
|
179
|
+
db.js → db/sqlite.js (adapter pattern)
|
|
177
180
|
plugins/
|
|
178
181
|
```
|
|
179
182
|
|
|
@@ -182,9 +185,9 @@ browser ──── WebSocket ──── server.js ──── Claude Code S
|
|
|
182
185
|
| Runtime | Node.js 18+ (ESM) |
|
|
183
186
|
| Backend | Express 4, WebSocket (ws 8), web-push 3 |
|
|
184
187
|
| AI SDK | @anthropic-ai/claude-code |
|
|
185
|
-
| Database | SQLite via better-sqlite3 (WAL mode) |
|
|
188
|
+
| Database | SQLite via better-sqlite3 (WAL mode), adapter pattern for multi-DB support |
|
|
186
189
|
| Frontend | Vanilla JS ES modules + Web Components (Light DOM), CSS custom properties |
|
|
187
|
-
| Testing | Vitest + happy-dom (2,
|
|
190
|
+
| Testing | Vitest + happy-dom (2,507+ unit tests, 55% coverage) + WS perf benchmarks |
|
|
188
191
|
| Rendering | highlight.js, Mermaid (diagrams) — CDN |
|
|
189
192
|
|
|
190
193
|
---
|
|
@@ -279,6 +282,7 @@ npx skills add https://github.com/hamedafarag/claudeck-skills
|
|
|
279
282
|
| [DOCUMENTATION.md](docs/DOCUMENTATION.md) | Full feature docs, API reference, database schema |
|
|
280
283
|
| [CONFIGURATION.md](docs/CONFIGURATION.md) | User data directory, config files, plugin system |
|
|
281
284
|
| [AGENT-ARCHITECTURE.md](docs/AGENT-ARCHITECTURE.md) | How agents, chains, DAGs, and orchestrator work |
|
|
285
|
+
| [PLAN-sqlite-adapter.md](docs/PLAN-sqlite-adapter.md) | Database adapter pattern, async interface, multi-DB roadmap |
|
|
282
286
|
| [CROSS-PLATFORM-AUDIT.md](docs/CROSS-PLATFORM-AUDIT.md) | Windows/Linux compatibility |
|
|
283
287
|
| [COMPETITIVE-ANALYSIS.md](docs/COMPETITIVE-ANALYSIS.md) | Feature comparison with similar tools |
|
|
284
288
|
|
|
@@ -287,7 +291,7 @@ npx skills add https://github.com/hamedafarag/claudeck-skills
|
|
|
287
291
|
## Testing
|
|
288
292
|
|
|
289
293
|
```bash
|
|
290
|
-
npm test # Run all 2,
|
|
294
|
+
npm test # Run all 2,507+ tests
|
|
291
295
|
npm test -- --coverage # With coverage report
|
|
292
296
|
npm run test:perf # WebSocket performance benchmarks
|
|
293
297
|
```
|