v0.1.8: services/shared.ts extraction, search-preprints format() simplification, mcp-ts-core ^0.9.9
services/shared.ts extraction, search-preprints format() simplification, mcp-ts-core ^0.9.9
Code simplification: shared helper utilities (asRc, detectHtmlError, SERVER_VERSION) extracted from biorxiv-service.ts and europe-pmc-service.ts into a single services/shared.ts module. search-preprints format() refactored from ~40 lines to 3 by hoisting EnrichedPreprint to module scope. biorxiv-list-recent drops the now-unused PreprintForFormat mapped type. Skills synced from framework.
Dependency bumps:
@cyanheads/mcp-ts-core^0.9.6 → ^0.9.9@hono/node-server^2.0.3 → ^2.0.4 (transitive, via mcp-ts-core)
Changed:
services/shared.tsextracted —asRc,detectHtmlError,SERVER_VERSIONshared across both service filesSERVER_VERSIONcorrected from stale'0.1.0'to current versionbiorxiv-search-preprintsformat()simplified;EnrichedPreprinttype hoisted to module scopebiorxiv-list-recentPreprintForFormatmapped type removedskills/git-wrapupadded (v1.0, synced from mcp-ts-core ^0.9.8)skills/release-and-publishv2.5 → v2.6 (artifact verification step, structured push guidance)CLAUDE.md/AGENTS.md— Close-the-loop rule added, framework version updated
35 tests pass; bun run devcheck clean.