session-collab-mcp 0.5.5 → 0.7.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 +57 -9
- package/dist/cli.js +1250 -395
- package/dist/cli.js.map +1 -1
- package/migrations/0007_priority.sql +9 -0
- package/migrations/0008_history.sql +22 -0
- package/migrations/0009_queue.sql +19 -0
- package/migrations/0010_notifications.sql +20 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,31 @@ Session Collab MCP provides a **Work-in-Progress (WIP) Registry** that allows se
|
|
|
26
26
|
|
|
27
27
|
## Installation
|
|
28
28
|
|
|
29
|
-
###
|
|
29
|
+
### Option 1: Claude Code Plugin (Recommended)
|
|
30
|
+
|
|
31
|
+
Install as a Claude Code plugin for automatic MCP server setup, hooks, and skills:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# Add the marketplace
|
|
35
|
+
/plugin marketplace add YOUR_USERNAME/session-collab-plugin
|
|
36
|
+
|
|
37
|
+
# Install the plugin
|
|
38
|
+
/plugin install session-collab@session-collab-plugins
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Or test locally:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
claude --plugin-dir ./plugin
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
The plugin includes:
|
|
48
|
+
- **MCP Server**: Automatically configured
|
|
49
|
+
- **Hooks**: SessionStart and PreToolUse reminders
|
|
50
|
+
- **Skills**: `collab-start` for full initialization
|
|
51
|
+
- **Commands**: `/session-collab:status` and `/session-collab:end`
|
|
52
|
+
|
|
53
|
+
### Option 2: MCP Server Only
|
|
30
54
|
|
|
31
55
|
Add to your `~/.claude.json`:
|
|
32
56
|
|
|
@@ -41,9 +65,7 @@ Add to your `~/.claude.json`:
|
|
|
41
65
|
}
|
|
42
66
|
```
|
|
43
67
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
### Manual Installation
|
|
68
|
+
### Option 3: Global Installation
|
|
47
69
|
|
|
48
70
|
```bash
|
|
49
71
|
npm install -g session-collab-mcp
|
|
@@ -216,17 +238,32 @@ session-collab-mcp/
|
|
|
216
238
|
├── bin/ # Executable entry point
|
|
217
239
|
├── migrations/ # SQLite migration files
|
|
218
240
|
│ ├── 0001_init.sql # Core tables
|
|
219
|
-
│ ├── 0002_auth.sql # Auth tables
|
|
220
241
|
│ ├── 0002_session_status.sql # Session status
|
|
221
242
|
│ ├── 0003_config.sql # Session config
|
|
222
|
-
│ ├── 0004_symbols.sql
|
|
223
|
-
│
|
|
243
|
+
│ ├── 0004_symbols.sql # Symbol-level claims
|
|
244
|
+
│ ├── 0005_references.sql # Reference tracking
|
|
245
|
+
│ └── 0006_composite_indexes.sql # Query optimization
|
|
246
|
+
├── plugin/ # Claude Code Plugin
|
|
247
|
+
│ ├── .claude-plugin/
|
|
248
|
+
│ │ ├── plugin.json # Plugin manifest
|
|
249
|
+
│ │ └── marketplace.json # Marketplace config
|
|
250
|
+
│ ├── .mcp.json # MCP server config
|
|
251
|
+
│ ├── hooks/
|
|
252
|
+
│ │ └── hooks.json # Automated hooks
|
|
253
|
+
│ ├── skills/
|
|
254
|
+
│ │ └── collab-start/ # Session init skill
|
|
255
|
+
│ │ └── SKILL.md
|
|
256
|
+
│ ├── commands/
|
|
257
|
+
│ │ ├── status.md # /session-collab:status
|
|
258
|
+
│ │ └── end.md # /session-collab:end
|
|
259
|
+
│ └── README.md
|
|
224
260
|
├── src/
|
|
225
261
|
│ ├── cli.ts # CLI entry point
|
|
226
|
-
│ ├── constants.ts # Version and
|
|
262
|
+
│ ├── constants.ts # Version and server instructions
|
|
227
263
|
│ ├── db/ # Database layer
|
|
228
264
|
│ │ ├── queries.ts # SQL queries
|
|
229
|
-
│ │
|
|
265
|
+
│ │ ├── sqlite-adapter.ts
|
|
266
|
+
│ │ └── types.ts # Type definitions
|
|
230
267
|
│ ├── mcp/ # MCP protocol implementation
|
|
231
268
|
│ │ ├── protocol.ts # JSON-RPC handling
|
|
232
269
|
│ │ ├── server.ts # Main MCP server
|
|
@@ -237,11 +274,22 @@ session-collab-mcp/
|
|
|
237
274
|
│ │ ├── decision.ts# Decision logging
|
|
238
275
|
│ │ └── lsp.ts # LSP integration
|
|
239
276
|
│ └── utils/
|
|
277
|
+
│ ├── crypto.ts # Hash utilities
|
|
278
|
+
│ └── response.ts # Shared response builders
|
|
240
279
|
└── package.json
|
|
241
280
|
```
|
|
242
281
|
|
|
243
282
|
## Changelog
|
|
244
283
|
|
|
284
|
+
### v0.6.0
|
|
285
|
+
|
|
286
|
+
- Optimize database queries with composite indexes
|
|
287
|
+
- Extract shared utilities (crypto, response builders)
|
|
288
|
+
- Remove unused auth and token modules
|
|
289
|
+
- Use precompiled JS for 15x faster startup
|
|
290
|
+
- Fix GROUP_CONCAT delimiter for multi-value queries
|
|
291
|
+
- Add unified Zod validation across tools
|
|
292
|
+
|
|
245
293
|
### v0.5.0
|
|
246
294
|
|
|
247
295
|
- Add reference tracking and impact analysis (Phase 3)
|