Skip to content

v2.14.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Oct 05:01
764fe6f

Seeknal 2.14.0 adds configurable Ask tool-call limits and model sampling settings, hardens the HTTP gateway worker against unstable networks, and folds in the never-released 2.13.1 dependency and Docker fixes.

See the release notes, the upgrade guide and the gateway worker protocol. No migrations are required: new YAML keys are optional and new wire fields are additive.

Added

  • Configurable per-turn tool-call limits for read-only Seeknal Ask analysis across synchronous, streaming, quiet/non-TTY, Prefect, and gateway paths.
  • Optional LLM sampling settings (temperature, max_tokens, top_p, and seed) under agent_harness.model_settings, with explicit Python caller overrides.
  • HTTP worker event IDs (X-Seeknal-Event-Id) and completion loss fields: dropped_event_count, answer_dropped, done_dropped, undelivered_events, and undelivered_evicted_count.
  • Persistent completion delivery carrying the full answer, with an absolute 90-second deadline across requests and sleeps. Shutdown uses one completion attempt bounded to five seconds.
  • Built-in gateway reconciliation: replay undelivered ask_user, visualization, and upload_complete events in order, then a dropped non-empty answer, then dropped done. Partial replay retries skip already accepted entries; results retain replay metadata.
  • CI-equivalent Docker test runner and HTTP worker protocol documentation.

Changed

  • Fold the unreleased 2.13.1 patch (PRs #112, #113, #114) into 2.14.0: dependency floors and Docker build fixes ship with this minor release.
  • Enforce patched dependency floors for pydantic-ai-slim (1.107.4, retaining the 1.x cap), fsspec/s3fs (2026.6.0), aiohttp (3.14.4), multidict (6.9.1), Mako (1.4.2), and optional Prefect's Apprise (1.11.0). Refresh their required lock closure and enforce the aiohttp floor in gateway/worker image installs.
  • Bound replay to five events and 16,384 UTF-8 JSON bytes per event. Preserve fitting payloads; oversized or unserializable payloads become {type, payload_truncated: true, original_bytes} placeholders without data. Evict charts before clarifications and report evictions.
  • Update release and upgrade documentation for 2.14.0. See the 2.14.0 release notes.

Fixed

  • Synchronous Ask/Prefect and quiet/non-TTY execution now handle exhausted tool budgets with a no-tool evidence-synthesis pass and deterministic fallback.
  • Accept positive integers, integral floats, and integer strings for tool_call_limit; default invalid, boolean, fractional, non-finite, or non-positive values to 24. Full-mode tool calls remain unbounded, with a warning once per process per project when the setting is ignored.
  • Retry transient event delivery failures for up to three attempts with backoff and jitter; retry 429/5xx, abort vanished work on 404/410, and do not retry other 4xx. After delivery fails, degraded mode drops non-critical events while preserving critical retries until a successful POST restores normal delivery.
  • Keep initial and periodic poll failures at WARNING, or ERROR for rejected worker tokens, and log recovery. Polling retains exponential backoff capped at 30 seconds plus jitter.
  • Reserve event IDs before publication and commit only after acceptance, including Redis publication. Failed publishes release reservations; in-flight duplicates receive retryable 503, while accepted duplicates return success without republishing.
  • Close the inner agent generator in its owning task before releasing the session lock, including abort and cancellation. Cleanup failures during consumer shutdown no longer yield or replace the exit.
  • Use one shielded terminal done publication across cancellation races. Only close/hard cancellation applies a one-second deadline and drains the publisher before unlocking; slow normal completion remains supported and terminal delivery failures preserve original agent errors.
  • Bound worker shutdown terminal delivery and cancellation draining. If terminal delivery times out, count the missing done and request reconciliation through completion.
  • Log gateway run failures with full tracebacks and session/tenant context.
  • Preserve explicit empty model settings and ignore malformed or out-of-range YAML sampling values before provider calls.
  • Include CLI documentation in Prefect and gateway Docker build contexts so Hatch can package the wheel's required documentation files.
  • Exclude .env, .env.*, local agent state, virtual environments, node_modules, worktrees, and lane reports from Docker test contexts using shared tar/ignore rules; remove temporary contexts on exit.

Closes #115, #116. Review fixes: #120, #121, #122, #123.

What's Changed

  • Release 2.14.0: Ask limits, gateway worker resilience, dependency floors (anchor) by @rebekz in #119

Full Changelog: v2.13.0...v2.14.0