@muvon/octofs 0.16.3 → 0.18.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 +15 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -518,15 +518,26 @@ distinct commands may run concurrently, including from the same working
|
|
|
518
518
|
directory. An exact duplicate command in the same working directory is rejected
|
|
519
519
|
while the first copy is still running.
|
|
520
520
|
|
|
521
|
-
|
|
522
|
-
|
|
521
|
+
A client that declares the MCP tasks extension (`io.modelcontextprotocol/tasks`,
|
|
522
|
+
SEP-2663) gets the promoted command as a task whose id is the job id. The client
|
|
523
|
+
polls `tasks/get` and receives the same result a foreground call would have
|
|
524
|
+
returned (an error result led by the exit code when the command failed);
|
|
525
|
+
`tasks/cancel` stops the command's process group. While the command runs, the
|
|
526
|
+
task's status message names its PID and kill command (`kill -- -<pid>`), the
|
|
527
|
+
elapsed time, and its latest output line.
|
|
528
|
+
|
|
529
|
+
Other clients get the completion as `resources/updated` for the job resource (on
|
|
530
|
+
a `subscriptions/listen` stream when the client opened one). Claude Code does not
|
|
523
531
|
surface that to the model, so octofs also sends it as a Claude Code channel
|
|
524
532
|
message (`notifications/claude/channel`) on pre-2026-07-28 connections — the
|
|
525
533
|
exit code and output tail wake the session. Claude Code accepts channel
|
|
526
|
-
messages only from servers enabled for the session, in interactive mode
|
|
534
|
+
messages only from servers enabled for the session, in interactive mode, and
|
|
535
|
+
only on pre-2026-07-28 connections. Claude Code negotiates 2026-07-28 with stdio
|
|
536
|
+
servers by default, so until it declares the tasks extension, opt out of that as
|
|
537
|
+
well:
|
|
527
538
|
|
|
528
539
|
```bash
|
|
529
|
-
claude --dangerously-load-development-channels server:octofs
|
|
540
|
+
MCP_PROTOCOL_NEGOTIATION=legacy claude --dangerously-load-development-channels server:octofs
|
|
530
541
|
```
|
|
531
542
|
|
|
532
543
|
Without it, read the job's resource link when you need the result.
|