Fixes:
- resume_folder braucht confirm bei sendreceive/sendonly (Löschungen würden
sich auf alle Geräte verteilen)
- accept_folder legt Ordner unter <Default-Pfad>/<Label> an statt direkt im
Default-Pfad; belegte Pfade werden abgelehnt
- override/revert prüfen den Ordnertyp
- Fehler als MCP-ToolError (isError) mit verständlichem Text
- truncate hält JSON gültig
- pause/resume patchen nur "paused"; Bearer-Vergleich zeitkonstant
- uv.lock zum mcp<2.0-Pin synchronisiert
Neu: syncthing_find_conflicts, syncthing_list_versions,
syncthing_restore_version, syncthing_folder_stats, syncthing_add_device,
syncthing_share_folder, syncthing_set_device_paused
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The blade had no write gate and no confirm parameter anywhere — every
mutating tool (override, revert, restart, accept-device, replace-stignore,
…) fired ungated, unlike every sibling blade. This brings syncthing up to
the class baseline:
- All 13 mutating tools now require SYNCTHING_WRITE_ENABLED=true
(models.require_write, env read at call time) and refuse with a clear
message when the gate is off.
- Destructive/disruptive operations additionally require confirm=true:
syncthing_override_folder, syncthing_revert_folder, syncthing_restart,
syncthing_accept_device, syncthing_accept_folder, syncthing_set_ignores.
Refusals explain what the operation would do. These six are now
annotated destructiveHint: true.
- New ConfirmWriteParams / ConfirmFolderWriteParams models; confirm field
added to AcceptDeviceInput, AcceptFolderInput, SetIgnoresInput.
- Server-level FastMCP instructions document the gate + confirm contract;
README, SKILL.md, and stallari-plugin.yaml (setup field + env entry)
updated to match.
- Regression suite tests/test_write_gate.py: gated-off refusal (all 13,
unset + non-"true" value), gated-on-without-confirm refusal (all 6
destructive), gated-on-with-confirm proceeds (mocked), and
non-destructive-needs-no-confirm. Existing write-tool tests updated to
enable the gate + pass confirm. 201 tests green.
Version 0.8.0 → 0.9.0 (behaviour-affecting safety gate).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Align naming with the Blade MCP server convention used across the
Sidereal platform. Updates package name, console script entry point,
Docker configs, deploy script, and documentation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Split the monolithic syncthing_mcp.py into a proper src/syncthing_mcp/
package with focused modules: client, models, registry, server, and
tool submodules (system, folders, devices, config, instances).
New tools: browse_folder, file_info, folder_need (file-level queries),
override_folder, revert_folder (conflict resolution), check_upgrade
(system management). Bumps tool count from 30 to 36.
Adds comprehensive test suite (96 tests) using pytest + respx for
HTTP mocking, covering client methods, registry logic, model validation,
and all tool functions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>