Skip to content

v0.37.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@Ink01101011 Ink01101011 released this 18 Oct 03:08
· 7 commits to main since this release
38cbfda

Second beta of 0.37.0. On npm it is bantamkit-mcp@0.37.0-beta.2 under dist-tag beta, so latest stays 0.36.0. On PyPI it is bantamkit==0.37.0b2.

npx -y bantamkit-mcp@beta --install claude
pip install "bantamkit[mcp]==0.37.0b2"

New: recall by likely prompts, with no embedding (#207, PR #215)

  • memory_save takes an optional queries: the prompts a user would type when that fact is the one they need. They are stored in a sidecar per store, ~/.bantamkit/queries/, for every layer, native facts included. The fact files do not change.
  • A new 15th tool, memory_queries, lists the facts that have no queries yet and writes queries for them. Claude does the writing: no local model, no network.
  • When a prompt is short, the hook adds the session's previous prompt to the query.
  • bantamkit_status prints queries: N of M facts, and SessionStart prints a nudge while some facts have none.
  • Measured on the gold set, which is still UNVALIDATED: p@inject rose from 0.4317 to 0.5411 and r@3 from 0.2494 to 0.3541, which passes the bar. The #199 target of p ≥ 0.8 is still missed.
  • The hook's p50 latency rose by at most +3.8 ms, inside the 5 ms limit.
  • Both runtimes behave the same: run.mjs --all ran 17,164 cases with 0 failures.

Verified after publish by installing each package from its registry into a sandbox and running it. Both report their own version and serve 15 tools, including memory_queries, and memory_save with queries succeeds on both.