Skip to content

v2.1.0

Choose a tag to compare

@laithalsaadoon laithalsaadoon released this 20 Aug 00:56
· 3 commits to main since this release
9f79a2b

Feat

  • near-real-time snapshot refresh + watch daemon (#175)

Fix

  • settings: corpus-scope the analytics caches under corpora/<corpus_key>/ (#168)

Refactor

  • cleanup: drop dead ANALYTICS_VIEW_NAMES + fix stale core-package comments (#164)

Not in the auto-changelog

cz's filter surfaces feat / fix / refactor only, so the dependency work
in #176 is absent by design: 41 packages to latest (numpy 2.5.2, lancedb 0.37.1,
duckdb 1.5.5, strands-agents 1.52), eight Any-boundary type fixes surfaced by
ty 0.0.73, and the ruff 0.16.3 reformat.

For anyone embedding claude-sql in-process

  • snapshot_as_of(con) — the raw readers are DuckDB TEMP TABLEs, so a
    long-lived connection answers from a snapshot. This reports what instant that
    snapshot covers, letting a consumer distinguish "genuinely absent" from "newer
    than my snapshot" instead of substituting its own clock.
  • refresh_raw(con) — advances the snapshot by re-reading only the source
    files whose mtime moved: 0.22 s versus 6.2 s for a full re-registration over
    9,082 files. Reports rebuilt / rebuild_reason when it degrades.
  • claude-sql watch — a daemon that holds a warm connection and keeps it
    near-live as transcripts land. Install the new watch extra for OS-event
    change detection; without it the watcher polls an mtime scan.