Skip to content

v0.1.3: Field-test fixes, input validation, tool-description improvements

Choose a tag to compare

@cyanheads cyanheads released this 25 May 01:46
v0.1.3
4cbb020

Field-test fixes, input validation, tool-description improvements

Bug fixes from a full field-test pass plus Zod schema hardening.

Fixed:

  • not_found errors from the service layer now propagate via ctx.fail() in all 4 lookup tools, giving callers consistent data.reason
  • invalid_section guard extended to all section_index < 1 (including negatives)
  • wikipedia-service.ts getSummary now throws notFound (not serviceUnavailable) on empty pages key
  • limit and radius_meters in wikipedia_search and wikipedia_search_nearby reject negative, zero, and float values at parse time

Changed:

  • Tool descriptions condensed and clarified across all 6 tools
  • title field examples added to input/output schemas
  • pageid output descriptions note cross-tool usability
  • Service simplification: heading extraction to filter+map, dropped redundant await on withRetry, tightened signal spread

53 tests pass; bun run devcheck clean.