Files

99 lines
4.2 KiB
Markdown

# Changelog
All notable changes to `syncthing-blade-mcp` will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## [0.10.1] - 2026-11-23
### Changed
- Allowed HTTP hosts are configurable via `MCP_ALLOWED_HOSTS` instead of a
hard-coded LAN address; LICENSE file added (MIT, as stated in the README).
## [0.10.0] - 2026-11-23
### Fixed
- `syncthing_resume_folder` now requires `confirm=true` on sendreceive/sendonly
folders: deletions made while paused (the documented "safe removal" workflow)
would otherwise be propagated to every device.
- `syncthing_accept_folder` without `path` used Syncthing's default folder root
itself, so every accepted folder landed in the same directory. It now uses
`<default path>/<label>` like the web UI and refuses paths already in use.
- `syncthing_override_folder` / `syncthing_revert_folder` check the folder type
(sendonly / receiveonly) instead of sending a request Syncthing rejects.
- Failures are raised as MCP tool errors (`isError: true`) with actionable text
instead of being returned as normal results.
- Truncated large responses stay valid JSON (lists are shortened, a `truncated`
note is added) instead of being cut mid-structure.
- Pause/resume patch only `paused` instead of re-sending the whole folder config.
- Bearer token compared in constant time (HTTP transport).
- `uv.lock` re-synced with the `mcp<2.0` pin.
### Added
- `syncthing_find_conflicts`: `*.sync-conflict-*` copies with original file,
conflict time and causing device, newest first.
- `syncthing_list_versions` / `syncthing_restore_version` (confirm): archived file
versions of folders with versioning.
- `syncthing_folder_stats`: last scan and last synced file per folder.
- `syncthing_add_device` (confirm), `syncthing_share_folder` (confirm),
`syncthing_set_device_paused`.
## [0.9.0] - 2026-06-11
### Security
- **AUD-04-02 / DD-385 Phase W — write gate + confirm discipline (class baseline).**
All 13 mutating tools now require `SYNCTHING_WRITE_ENABLED=true` and refuse
with a clear error when the gate is off. Previously every mutating tool
(override, revert, restart, accept-device, replace-stignore, …) fired
ungated.
- **`confirm=true` required for destructive/disruptive operations:**
`syncthing_override_folder`, `syncthing_revert_folder`, `syncthing_restart`,
`syncthing_accept_device`, `syncthing_accept_folder`, `syncthing_set_ignores`.
The refusal message explains what the operation would do. These tools are
now annotated `destructiveHint: true`.
### Changed
- Server-level MCP instructions now document the write gate and confirm
requirements.
## [0.8.0] - 2026-05-24
### Changed
- **DD-338 Phase E.python — depend on `stallari-mcp-helpers>=0.1.0,<1.0.0`.**
Local `meta_envelope` + `append_meta` helpers in `formatters.py` deleted;
canonical implementations are now re-exported from the lib for backward
call-site compatibility.
- **`append_meta` signature is now `(body, meta_line)`** (lib semantics) where
it previously accepted kwargs and built the envelope internally. The 11
call-sites in `tools/folders.py`, `tools/instances.py`, `tools/system.py`,
and `tools/devices.py` were refactored to the two-step pattern
`append_meta(payload, meta_envelope(...))`.
### Wire-shape change (test fixtures updated)
- `_meta.filtered_by` continues to be sorted alphabetically inside the helper
(unchanged — was already the behaviour of the local helper).
- `_meta` field order now follows the canonical lib convention
(`matched_total`, `returned`, `latency_ms`, `filtered_by`, `redactions`,
`next_cursor`, `error_notes?`, `domain_hints?`). The prior local helper
emitted `latency_ms` last.
- `_meta.next_cursor` is now always present (defaults to `null`); the prior
local helper omitted it entirely. The semantic OQ-4 invariant ("no cursor
surfaced to callers in v1") is unchanged.
- `_meta.redactions` continues to be emitted unconditionally as `[]` when
empty (unchanged).
- `_meta.error_notes` and `_meta.domain_hints` remain conditionally included
only when non-empty (unchanged).
### Notes
- Pure substrate swap — no behavioural change to any tool. Pack-spec catalog
declarations unchanged.