Token-efficient output, SKILL.md, Cloudflare Tunnel, new tools (v0.3.0)

Major improvements following best-in-class MCP patterns:

- Token efficiency: new formatters.py with compact JSON (no indent),
  short device IDs, character-limit truncation; all read tools gain
  concise=true (default) / concise=false toggle via ReadParams base
- Models: ReadParams/WriteParams hierarchy replaces flat models;
  backward-compatible aliases preserved for tests
- New tools: syncthing_remote_need (debug remote sync gaps),
  syncthing_device_stats (per-device statistics)
- SKILL.md: LLM skill guide with token rules, quick-start table,
  workflows, tool reference, and troubleshooting
- Cloudflare Tunnel: docker-compose.tunnel.yml for zero-trust HTTP
  deployment alongside existing Traefik/ACME support
- Fix duplicate dependencies in pyproject.toml; bump to v0.3.0

https://claude.ai/code/session_018efEinU8ypT2jHeex6o9PC
This commit is contained in:
Claude committed 2026-02-17 03:44:48 +00:00
1 parent 39d6994738
commit 41f1018477
18 files changed
+1194 -987

No files matched your search

+10 -2
View File
@@ -1,3 +1,11 @@
DOMAIN=example.com
MCP_AUTH_TOKEN=CHANGEME
# --- Syncthing instances ---
SYNCTHING_INSTANCES={"tn-sb":{"url":"http://tn-sb.gen4.cc:8384","api_key":"CHANGEME"},"tn-mr2":{"url":"http://tn-mr2.gen4.cc:8384","api_key":"CHANGEME"},"p-mba":{"url":"http://p-mba.gen4.cc:8384","api_key":"CHANGEME"},"p-mbp":{"url":"http://p-mbp.gen4.cc:8384","api_key":"CHANGEME"},"mini":{"url":"http://mini.gen4.cc:8384","api_key":"CHANGEME"}}
# --- MCP HTTP transport (streamable-http) ---
MCP_AUTH_TOKEN=CHANGEME
# --- Traefik reverse proxy (docker-compose.yml) ---
DOMAIN=example.com
# --- Cloudflare Tunnel (docker-compose.tunnel.yml) ---
# CLOUDFLARE_TUNNEL_TOKEN=eyJ...