Skip to content

v0.1.8: services/shared.ts extraction, search-preprints format() simplification, mcp-ts-core ^0.9.9

Choose a tag to compare

@cyanheads cyanheads released this 24 May 22:17
v0.1.8
b53bd1a

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.ts extracted — asRc, detectHtmlError, SERVER_VERSION shared across both service files
  • SERVER_VERSION corrected from stale '0.1.0' to current version
  • biorxiv-search-preprints format() simplified; EnrichedPreprint type hoisted to module scope
  • biorxiv-list-recent PreprintForFormat mapped type removed
  • skills/git-wrapup added (v1.0, synced from mcp-ts-core ^0.9.8)
  • skills/release-and-publish v2.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.