Skip to content

v0.1.11: Bug fixes — entity_not_found contract, SPARQL truncated detection

Choose a tag to compare

@cyanheads cyanheads released this 04 Jun 08:15
v0.1.11
3263d73

Bug fixes — entity_not_found contract, SPARQL truncated detection

Two handler bugs that left agents without actionable error signals.

Fixed:

  • wikidata_get_entity, wikidata_get_statements, wikidata://entity/{id}entity_not_found contract never fired; catch blocks checked err.data.statusCode but httpErrorFromResponse stores the status at err.data.status. Updated all three sites. (#9)
  • wikidata_sparql_querytruncated field unconditionally returned false. Now returns bindings.length >= 10_000 as an inferred signal; description updated to reflect the heuristic. (#10)

127 tests pass; bun run devcheck clean.