v0.1.8: shared date/funder helpers, mcp-ts-core ^0.9.9, skills sync
shared date/funder helpers, mcp-ts-core ^0.9.9, skills sync
Code simplification: four copies of date-parts parsing → shared parseDateParts/formatDateParts in crossref-service.ts; two copies of funder ID stripping → normalizeFunderId. Net −20 lines across tool definitions.
Changed:
- ambiguous_journal error code corrected: InvalidParams → ValidationError
- parseDateParts, formatDateParts, normalizeFunderId extracted to crossref-service.ts (shared)
- CLAUDE.md/AGENTS.md: ctx.fail, notifyPromptListChanged, notifyToolListChanged in Context table; Close the loop on issues rule added
Dependency bumps:
@cyanheads/mcp-ts-core^0.9.6 → ^0.9.9
27 tests pass; bun run devcheck clean.