[0.8.15] - 2026-10-07
Fixed
- The version gate no longer treats a YAML-quoted version as a different version.
A skill whose frontmatter saidversion: "1.1.0"was read as the literal string
'"1.1.0"', which never equals the ledger's1.1.0— so the gate blocked a skill
that had not moved, and then wrote the quoted value back into the shared
skill_versions.json. That second half was the worse one: the ledger is shared with
tongbu-skills, which reads the same file, so a value one manager wrote could make
the other manager stop blocking that skill — a gate silently switched off by the
other gate's write.version_gatenow strips the quotes with the same
strip_yaml_quotesthe frontmatter reader uses. Verified against the shared ledger:
390 skills allowed by both managers, identical sets.
Changed
- Discovery,
import,installandsyncnow prefer a locally installed module over
uvx/npx. When a server's package is already importable in the interpreter running
mcptoon, the entry is written aspython -m <module>instead ofuvx <pkg>.uvxstarts a
second interpreter and resolves the package into a fresh temp environment on every cold
run, so a host config full ofuvxentries turns "open my agent" into "fetch N packages at
once" — the shape of a measured machine freeze on 2026-10-06, where a sync'd config with
threeuvxrows and a uv cache building twenty temp environments landed on a box already
short on commit. The local form has no fetch, no download and no second interpreter. The
gate is two facts, not one: the module must resolve and expose a__main__
(python -mexecutes that), so an importable library with no entry point is never written
as a server. Servers whose package is not installed are unchanged —uvxis still the
fallback, and the behavior is preserved verbatim behindmcptoon config set runners allow-fetch.
Added
runnerssetting (prefer-installed|allow-fetch, defaultprefer-installed) — the
opt-out for the change above.mcptoon config set runners allow-fetchrestores the old
fetch-on-first-run behavior for every surface at once.
Tests
tests/test_discover.pygains 7 tests over the local-runner resolver (installed module wins,
absent package keepsuvx, the opt-out wins, an importable module with no__main__is not
runnable, an importeduvxrow is rewritten on the way in),tests/test_sync.pygains 4
(the sync guard rewrites, keeps, and respects the opt-out),tests/test_installer_registry.py
gains 5 (the registry row's runner, including that trailing server args survive the swap),
andtests/test_exit_codes.pygains 4 (the new setting is validated and persisted like every
other). That is 20 tests for the runner change; the version-gate fix adds 3 more in
tests/test_skills.py. Suite: 1946 passed + 2 skipped.