session-collab-mcp 2.3.0 → 2.3.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 +25 -9
- package/dist/{chunk-TFGXE3EI.js → chunk-UDJMG3TR.js} +447 -61
- package/dist/chunk-UDJMG3TR.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/http/cli.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-TFGXE3EI.js.map +0 -1
package/README.md
CHANGED
|
@@ -102,7 +102,7 @@ The MCP tools give you a stable collaboration workflow across providers:
|
|
|
102
102
|
|
|
103
103
|
1. Start a session with `collab_session_start`
|
|
104
104
|
2. Check files with `collab_claim(action="check")`
|
|
105
|
-
3. Reserve files with `collab_claim(action="create")`;
|
|
105
|
+
3. Reserve files with `collab_claim(action="create")`; smart mode claims safe files and queues blocked files for coordination
|
|
106
106
|
4. Update visible progress with `collab_session_update`
|
|
107
107
|
5. Save important context with `collab_memory_save`
|
|
108
108
|
6. Release claims with `collab_claim(action="release")`
|
|
@@ -133,9 +133,16 @@ Configure behavior with `collab_config`:
|
|
|
133
133
|
|
|
134
134
|
| Mode | Behavior |
|
|
135
135
|
|------|----------|
|
|
136
|
-
| `strict` |
|
|
137
|
-
| `smart` (default) |
|
|
138
|
-
| `bypass` |
|
|
136
|
+
| `strict` | Block conflicting claims and require user coordination before editing |
|
|
137
|
+
| `smart` (default) | Claim non-conflicting files or symbols, queue blocked files, and expose coordination requests |
|
|
138
|
+
| `bypass` | Allow overlapping claims only with `allow_conflicts=true`, and return a warning |
|
|
139
|
+
|
|
140
|
+
In `smart` mode, prefer symbol-level claims when working inside a file that another session has claimed. Same-file work can proceed when claimed symbols do not overlap. If overlap cannot be proven safe, `collab_claim(action="create")` returns `waiting_for_coordination` or `partial_claim_created` with:
|
|
141
|
+
|
|
142
|
+
- `claimed_files`: files reserved by the caller
|
|
143
|
+
- `safe_files`: files that can be edited now
|
|
144
|
+
- `blocked_files`: files that need coordination first
|
|
145
|
+
- `coordination_requests`: queue entries visible through `collab_status` and `collab_session_list`
|
|
139
146
|
|
|
140
147
|
### Auto-Release Options
|
|
141
148
|
|
|
@@ -163,7 +170,7 @@ Configure behavior with `collab_config`:
|
|
|
163
170
|
|
|
164
171
|
| Tool | Actions |
|
|
165
172
|
|------|---------|
|
|
166
|
-
| `collab_claim` | `create`, `check`, `release`, `list` (check: `exclude_self` defaults to true; create
|
|
173
|
+
| `collab_claim` | `create`, `check`, `release`, `list` (check: `exclude_self` defaults to true; create follows `collab_config(mode)`) |
|
|
167
174
|
|
|
168
175
|
### Working Memory (3 tools)
|
|
169
176
|
|
|
@@ -228,9 +235,18 @@ collab_session_update(session_id="session-a", current_task="Adding JWT support")
|
|
|
228
235
|
collab_claim(session_id="session-b", action="check", files=["src/auth.ts"])
|
|
229
236
|
# Result: "CONFLICT: src/auth.ts is claimed by 'feature-auth'"
|
|
230
237
|
|
|
231
|
-
# create
|
|
238
|
+
# create in smart mode queues blocked files instead of editing over the owner
|
|
232
239
|
collab_claim(session_id="session-b", action="create", files=["src/auth.ts"], intent="Coordinated auth work")
|
|
233
|
-
# Result: "
|
|
240
|
+
# Result: status="waiting_for_coordination", blocked_files=["src/auth.ts"]
|
|
241
|
+
|
|
242
|
+
# If only a different symbol is needed, claim that symbol explicitly
|
|
243
|
+
collab_claim(
|
|
244
|
+
session_id="session-b",
|
|
245
|
+
action="create",
|
|
246
|
+
symbols=[{ file="src/auth.ts", symbols=["refreshToken"], symbol_type="function" }],
|
|
247
|
+
intent="Update refresh token"
|
|
248
|
+
)
|
|
249
|
+
# Result: status="created" if no claimed symbol overlaps
|
|
234
250
|
|
|
235
251
|
# If you want to include your own claims in the check
|
|
236
252
|
collab_claim(session_id="session-a", action="check", files=["src/auth.ts"], exclude_self=false)
|
|
@@ -392,11 +408,11 @@ session-collab-mcp/
|
|
|
392
408
|
|
|
393
409
|
## Changelog
|
|
394
410
|
|
|
395
|
-
### v2.3.
|
|
411
|
+
### v2.3.1
|
|
396
412
|
|
|
397
413
|
- Add `collab_session_update` for heartbeat, current task, todo, and progress reporting
|
|
398
414
|
- Enrich `collab_session_list` with current task and active claim summaries
|
|
399
|
-
- Make `collab_claim(action="create")`
|
|
415
|
+
- Make `collab_claim(action="create")` respect `collab_config(mode)` with smart coordination by default
|
|
400
416
|
- Add `session-collab doctor` for HTTP server health and tool-surface checks
|
|
401
417
|
- Add `npm run test:http` and `npm run test:release` release gates
|
|
402
418
|
- Update dev test tooling to clear npm audit findings
|