Huginn/crates/eureka-state
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 890a00b0de eureka-state: typed TooLarge, typed InvalidInput, and the pins Soul found missing
- The client refuses a request whose encoded size exceeds what one RUDP send
  carries (65,507 less the 36-byte header and the 6-byte channel id), before
  connecting, as ClientError::TooLarge { bytes, limit }. It was reported as
  a retryable Unavailable ("Message too long"). The MCP tools surface it as
  isError with {"error":"TooLarge","bytes","limit"}.
- Arguments that fail to deserialize are still a tool error, now with the
  same typed body as every other one: {"error":"InvalidInput","detail"}.
- A non-UTF-8 EUREKA_INSTANCE or HUGINN_ENDPOINT is reported as not valid
  UTF-8 and not as unset.
- Tests: the schema walk asserts no $id or $schema below any tool's root; the
  15 s timeout is measured against a silent daemon; the semantic part of a
  query is observed on the wire; Internal's and TooLarge's bodies and the
  InvalidInput rewrite are pinned; attribution is refused through the MCP
  admit; oversize is TooLarge at and one past the limit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 02:51:50 +02:00
..
schemas eureka-state: the MCP server, four tools 1:1 with the wire 2026-09-30 00:36:33 +02:00
src eureka-state: typed TooLarge, typed InvalidInput, and the pins Soul found missing 2026-09-30 02:51:50 +02:00
tests eureka-state: typed TooLarge, typed InvalidInput, and the pins Soul found missing 2026-09-30 02:51:50 +02:00
Cargo.toml eureka-state: the MCP server, four tools 1:1 with the wire 2026-09-30 00:36:33 +02:00