Skip to content

v0.1.8: Code simplification and dependency bump

Choose a tag to compare

@cyanheads cyanheads released this 24 May 22:04
v0.1.8
75704d6

Code simplification and dependency bump

Extracts makeReqCtx helper (4 inline blocks → 1 per service), adds isTier/isWindow type predicates replacing manual casts, and replaces a manual EarthquakeEventOutput type declaration with z.infer.

Changed:

  • makeReqCtx helper extracted in usgs-service.ts and emsc-service.ts
  • isTier / isWindow type predicates in earthquake-feed.resource.ts
  • EarthquakeEventOutput: manual type → z.infer
  • query_too_broad error code: InvalidParams (-32602) → ValidationError (-32007)
  • git-wrapup skill added; release-and-publish skill updated to v2.6
  • CLAUDE.md: framework reference updated, ctx.fail and notify methods documented

Dependency bumps:

  • @cyanheads/mcp-ts-core ^0.9.7 → ^0.9.9 (fuzz-engine pre-parse fix, ZodArray minLength, ctx.elicit example correction)
  • @hono/node-server ^2.0.3 → ^2.0.4 (via mcp-ts-core)

45 tests pass; bun run devcheck clean.