Skip to content

Releases

recall v0.11.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 19:04
325a4b9

Changelog

Fixes

  • 325a4b9: fix(index): never queue a background run; compact in bounded steps

Install

curl -fsSL https://raw.githubusercontent.com/pratikgajjar/recall/main/install.sh | sh

Or with Go: go install github.com/pratikgajjar/recall@latest

recall v0.10.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 03:09
e109ffd

Changelog

Features

  • e109ffd: feat(plugins): index a local service with kind = "http"; add sova-memory

Others

  • 2f63cad: ci(release): pin GoReleaser to v2.19.0

Install

curl -fsSL https://raw.githubusercontent.com/pratikgajjar/recall/main/install.sh | sh

Or with Go: go install github.com/pratikgajjar/recall@latest

recall v0.9.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 23:13
fa2e1d6

Changelog

Others

  • 19af704: build(deps): bump actions/setup-node from 7.0.0 to 7.1.0
  • a2d37a9: build(deps): bump github.com/bytedance/sonic from 1.15.4 to 1.15.5
  • 49842ef: build(deps): bump github.com/goccy/go-json from 0.10.6 to 0.12.0
  • 87a4311: build(deps): bump goreleaser/goreleaser-action from 7.2.3 to 7.3.0
  • eaa971f: build(deps): bump modernc.org/sqlite from 1.59.0 to 1.61.0
  • fa2e1d6: build(deps): update the Go modules that Dependabot did not cover
  • 642c6cb: build(deps-dev): bump @types/node from 26.6.3 to 26.6.6
  • fe6c98e: ci: build with the newest Go 1.26 patch, not the go.mod minimum

Install

curl -fsSL https://raw.githubusercontent.com/pratikgajjar/recall/main/install.sh | sh

Or with Go: go install github.com/pratikgajjar/recall@latest

recall v0.8.3

Choose a tag to compare

@github-actions github-actions released this 04 Nov 23:43
60678ad

Changelog

Fixes

  • 60678ad: fix(index): count deletes made by other writers

Install

curl -fsSL https://raw.githubusercontent.com/pratikgajjar/recall/main/install.sh | sh

Or with Go: go install github.com/pratikgajjar/recall@latest

recall v0.8.2

Choose a tag to compare

@github-actions github-actions released this 04 Nov 03:13
c221acf

Changelog

Fixes

  • 2cd638a: fix(find): expand title hits under --context, drop repeated header
  • 0e6cc91: fix(find): extend the empty-result hint to --repo
  • 724413a: fix(find): label a title hit in --context output instead of msg=-1
  • f8ec5c2: fix(find): say when a time bound removed every hit
  • 24722a5: fix(index): compact stale FTS data instead of leaking it
  • fcdf690: fix(index): repair append, forget and related bugs
  • f90956f: fix(index): serialise concurrent recall index runs
  • d2b3027: fix(related): fill empty slots from an any-term search

Install

curl -fsSL https://raw.githubusercontent.com/pratikgajjar/recall/main/install.sh | sh

Or with Go: go install github.com/pratikgajjar/recall@latest

recall v0.8.1

Choose a tag to compare

@github-actions github-actions released this 02 Oct 07:47
47a2252

Changelog

Others

  • 47a2252: refactor(skill): make recall memory and recall skill thin aliases

Install

curl -fsSL https://raw.githubusercontent.com/pratikgajjar/recall/main/install.sh | sh

Or with Go: go install github.com/pratikgajjar/recall@latest

recall v0.8.0

Choose a tag to compare

@github-actions github-actions released this 02 Oct 07:45
4dc461b

Changelog

Features

  • 4dc461b: feat(memory): add recall memory as find --tag source:memory
  • 048c6f2: feat(skill): print an installed skill by name with recall skill

Fixes

  • 538e607: fix(session): resolve dot to the current Pi session

Others

  • a36b42f: Use Cursor sidebar titles for cursor-agent sessions (#4)
  • 6853e1c: build(deps): bump actions/checkout from 4.4.0 to 7.0.1
  • eebeb58: build(deps): bump actions/setup-go from 5.6.0 to 7.0.0
  • b4a2f6a: build(deps): bump actions/setup-node from 4.4.0 to 7.0.0
  • 9703295: build(deps): bump github.com/bytedance/sonic from 1.15.1 to 1.15.4
  • a6674b8: build(deps): bump goreleaser/goreleaser-action from 6.4.0 to 7.2.3
  • ecf691c: build(deps): bump modernc.org/sqlite from 1.50.1 to 1.59.0
  • 6039bd2: build(deps-dev): bump @types/node from 22.20.4 to 26.6.3
  • f18c75d: build(deps-dev): bump typescript from 5.9.3 to 7.0.2
  • 80a94f6: chore(security): pin actions to SHAs, add dependabot, lockfile, SECURITY.md

Install

curl -fsSL https://raw.githubusercontent.com/pratikgajjar/recall/main/install.sh | sh

Or with Go: go install github.com/pratikgajjar/recall@latest

recall v0.7.1

Choose a tag to compare

@github-actions github-actions released this 02 Aug 00:30
d3ab8b4

Changelog

Others

  • d3ab8b4: Tell MCP users the server is gone instead of searching for "mcp"

Install

curl -fsSL https://raw.githubusercontent.com/pratikgajjar/recall/main/install.sh | sh

Or with Go: go install github.com/pratikgajjar/recall@latest

recall v0.7.0

Choose a tag to compare

@github-actions github-actions released this 02 Aug 00:23
9a5fadc

Changelog

Others

  • 38be234: A schema bump must rebuild the table, not just record a number
  • 9c18acf: Apply outlineBudget to role-filtered outlines. The budget was skipped whenever a role filter was set, on the reasoning that the caller had stated what they want — but a filter says WHICH roles, not that any amount of them is wanted. Asking for role=user,assistant on a 1,991-message session returned a 40,381-char "outline", which is the thing an outline exists to avoid reading. Chapter density would contradict the filter, so it now delivers a prefix and names where it stops: "clipped at msg 193 of 1991 (37.4k more), continue with range='193:'". Verified the suggested continuation actually runs and terminates. outline_chars 208,512 -> 149,487 (-28%), workload_kch 896.8 -> 837.8 (-6.6%), cost axis 62.3 -> 70.5. Two calls in the dev workload produced 40k and 25k char outlines; both now fit the budget. Also includes the deep-findability probe fix (word-boundary slicing) from the previous commit, which moved findability_deep 15 -> 40 with no code change.\n\nResult: {"status":"keep","recall_score":81.6,"reliability":83.1,"performance":91.3,"cost":70.5,"searchable_prose_pct":94.46,"search_p95_ms":269.8,"findability_pct":97.3,"coverage_sessions_pct":100,"mrr":0.1333,"workload_kch":837.8,"cold_index_s":47.52,"findability_deep_pct":70,"index_mb":769.9}
  • 5e114e3: BASELINE under the new three-axis rubric. recall_score 70.9 = mean(reliability 77.2, performance 73.5, cost 62.1), all equally weighted with absolute anchors. Two sub-scores are hard zeros and both are real defects the old single token metric could not see: searchable_prose 55.7% (excerptMax=1500 truncates indexed text, so 44% of all human+model prose has no route to search) and search p95 1,556ms against a 21ms median. Reliability is otherwise sound on a fresh index: 100% session coverage, 100% integrity, 97.3% findability, cold index 39s.\n\nResult: {"status":"keep","recall_score":70.9,"reliability":77.2,"performance":73.5,"cost":62.1,"searchable_prose_pct":55.71,"search_p95_ms":1556,"findability_pct":97.3,"coverage_sessions_pct":100,"mrr":0.553,"workload_kch":888.5,"cold_index_s":39.13}
  • 3e72f5e: Drop the MCP server and the extension's tools: one surface, the CLI
  • 5bce411: Fold recall_sessions into recall_search. It was literally Search("") with the same filters — the same thing recall_search does when the query is omitted — but query was marked required, so the capability needed a second tool. Every tool schema is re-sent on every turn whether used or not, and this one cost 771 chars (19% of the schema) for a tool called 0 times in 418 real calls. query is now optional and documented as "omit to list recent sessions"; the MCP handler is kept unadvertised so anything already calling recall_sessions keeps working, verified to return byte-identical output to the omitted-query path. Mirrored in the pi extension, which declares its own schemas. schema_chars 4126 -> 3352 (-19%), cost axis 70.5 -> 74.8. No index or ranking change, so no gate run needed.\n\nResult: {"status":"keep","recall_score":83.4,"reliability":82.6,"performance":92.7,"cost":74.8,"searchable_prose_pct":94.46,"search_p95_ms":265.2,"findability_pct":96.7,"coverage_sessions_pct":100,"mrr":0.1333,"workload_kch":837.8,"cold_index_s":39.71,"findability_deep_pct":70,"index_mb":769.9}
  • 181bc16: Index the whole of a long message, not the first 60k
  • c38f878: Never emit JSON that a JSON parser rejects
  • 08b3540: Pin two contracts that nothing was checking
  • 3829a31: Refuse an index from a newer recall instead of downgrading it
  • 56c5672: Schema v6: index a message's opening as before, and window everything after it into a column weighted 0.25 in bm25. Deep text becomes findable without competing with the opening, where the topic is usually stated. searchable_prose 55.7% -> 94.5%; a phrase drawn from past 3,000 chars of a long message now retrieves its own session 20/25 vs 12/25. Ranking gate PASSES at -1.5% MRR, against -7% to -12.5% for the three equal-weight attempts (bigger cap, windows x3, windows x40) that were rejected in earlier rounds. Also: identical windows from repetitive text (progress bars, retried log lines) are dropped at ingest, which kept integrity at 100% — they were 308 duplicate rows. Index 298MB -> 734MB and cold index unchanged at ~28-41s. Cost drifts +0.9% (896.8 kch) because the frozen corpus had to be rebuilt for the new schema and picked up 4 new sessions; that is corpus growth, not a regression from this change.\n\nResult: {"status":"keep","recall_score":82.8,"reliability":91.8,"performance":94.4,"cost":62.3,"searchable_prose_pct":94.46,"search_p95_ms":263.3,"findability_pct":97.3,"coverage_sessions_pct":100,"mrr":0.1333,"workload_kch":896.8,"cold_index_s":27.91}
  • 5a352b7: Search under-delivered its own limit. Rows collapse to one hit per session and the ranked pool can be dominated by a few talkative sessions, so a search for 15 returned 6 while 30 other sessions matched every term — and the caller could not work around it, since asking again returned the same few. The outer LIMIT now takes the whole pool, collapsing happens over all of it, the caller's limit is applied last, and the pool widens (x4, twice) when a page comes back short while the scan was truncated. Effect is larger than expected: findability 96.7% -> 100% (all 150 probes now retrieve their session; the previous failures were under-delivery, not ranking), findability_deep 77.9% -> 83.8%, gate found 26 -> 28 with rank@1 and rank@3 unchanged so nothing was displaced, MRR +1.4%. Latency unchanged (p50 21->22ms). Cost is the price: 960 -> 1299 distinct sessions surfaced, chars_search +32%, workload_kch 837.8 -> 932.4, token_cost 63.5 -> 55.6. Kept because returning fewer results than exist is a bug, not a budget: callers who want less already pass a smaller limit (161 of 282 real searches do). Also: cold_index is now the faster of two rebuilds — readings ranged 28-49s across rounds from machine contention while back-to-back runs vary 6%, and a ±13 point swing on that sub-score was larger than most real improvements.\n\nResult: {"status":"keep","recall_score":85.1,"reliability":90,"performance":93,"cost":72.2,"searchable_prose_pct":94.46,"search_p95_ms":267.8,"findability_pct":100,"coverage_sessions_pct":100,"mrr":0.1351,"workload_kch":932.4,"cold_index_s":38.01,"findability_deep_pct":83.8,"index_mb":770}
  • 6d0b34e: Unfiltered search ranks a pool of best-by-bm25 rows instead of every match. FTS5 resolves with a top-n heap, but the recency tiebreak is an expression over a subquery, which defeats it and forces all 112k matching rows to be built and sorted. Pooling the top 8*limit and applying the tiebreak there returns the IDENTICAL result order on 222 of 223 real searches (0 differ), because the tiebreak only ever reorders near-ties. Search p95 1189 -> 197ms, max 2775 -> 503ms; unfiltered p95 1357 -> 157ms. Filtered searches keep the old shape: they were already the fast case (p95 208ms) because a filter cuts candidates before ranking, and pooling them is unsound anyway since the global best rows may contain none from the subset — that bug returned an empty list twice during development and is now pinned by TestFilteredSearchIsNotPooled. Ranking gate PASSES with zero delta. performance 74.3 -> 96.0.\n\nResult: {"status":"keep","recall_score":78.4,"reliability":76.6,"performance":96,"cost":62.6,"searchable_prose_pct":55.71,"search_p95_ms":194.9,"findability_pct":96.7,"coverage_sessions_pct":100,"mrr":0.1353,"workload_kch":888.5,"cold_index_s":30.99}
  • 77d52a3: Use synthetic session ids in tests and docs
  • 8916f9f: actionable error for a missing session id: name the near-miss instead of leaking "sql: no rows". 3 of 329 real workload calls hit this with mistyped ids and got a driver string they could not act on. Cost +0.2 kch (longer error text) — kept anyway, this is a correctness fix not a token play. NOTE: workload regenerated 323->329 calls, so 888.9 is not comparable to the 883.3 baseline; the metric is being replaced this round.\n\nResult: {"status":"keep","workload_kch":888.9,"chars_transcript":603910,"chars_search":285031,"outline_chars":208512,"schema_chars":4126,"est_tokens":222235}
  • 560d311: autoresearch: apply the boilerplate rule to deep findability too
  • 9a5fadc: autoresearch: keep the findings, drop the machinery
  • 7a9b533: autoresearch: keep the instruments and the findings, drop the run log
  • a976c36: autoresearch: make the loop able to see a ranking regression
  • 82ff9e0: autoresearch: measure whether deep text is actually retrievable
  • 4b8fdac: autoresearch: record why collapsing identical search hits was rejected
  • a9b5df4: autoresearch: record why one query shape for all searches was rejected
  • 432792d: autoresearch: report whether deep content was reachable at all
  • 005c292: autoresearch: sample the corpus stably as it grows
  • 85e7948: autoresearch: score reliability, performance and cost equally
  • ba9763f: autoresearch: stop the deep-findability probe slicing words in half
  • 946ad4f: skill install: a flag is not a directory
  • bd2615d...
Read more

recall v0.6.0

Choose a tag to compare

@github-actions github-actions released this 30 Jul 21:21
8be17e8

Token and cost accounting

recall stats now reports what your sessions actually cost — tokens, cache-hit
rate and spend — rolled up by source, project and model.

$ recall stats --projects 2 --models 4
SOURCE  SESSIONS  MESSAGES  TOKENS  COST        PROJECT
pi      698       315422    31.5B   $17331.95   (all)
        20        69379     5.7B    $2701.57      ~/code/txn-store
                                                  … 79 more (--projects 0)
codex   1089      37533     780.6M  -           (all)

MODEL                SOURCE  SESSIONS  TOKENS  CACHED  COST
claude-opus-4-8      pi      192       8.2B    96%     $6687.34
gpt-5.6-sol          codex   18        415.5M  93%     -
… 68 more

recall carries no price list and never multiplies tokens by a rate of its
own.
Every number is read back out of what the tool itself recorded:

Source Model Tokens Cost
pi message.model per-message usage, summed usage.cost.total, priced by pi
codex turn_context.model token_count running total — (subscription: logs quota %, not dollars)
cursor modelConfig.modelName contextTokensUsed usageData.costInCents
claude, cursor-agent, obsidian — estimated —

Sources that record no usage fall back to a character-count estimate, always
printed with a leading ~ so it is never mistaken for a measurement. - means
the source genuinely does not record that number. Sessions from a source with no
model name still appear under (unknown), so token totals always add up.

CSV export

recall stats --csv usage-      # → usage-projects.csv, usage-models.csv

Raw unformatted numbers (8152978475, not 8.2B) so a spreadsheet can do
arithmetic; the ~ becomes an estimated column you can filter on. All filters
apply (--repo, --since, --tag); row caps do not — an export is everything.

Also

  • Fixed: every codex session indexed with no model. turn_context lines
    failed to decode because summary is a bare string there but an array on a
    response_item — so the only line carrying the model name was dropped
    wholesale (2336/2336 lines). No messages were ever affected.
  • recall stats output fits one screen: --projects N / --models N
    (0 = all), and long model names are truncated.
  • RECALL_INDEX env var points recall at a scratch index, so schema changes can
    be tried without migrating the real one out from under other running builds.
  • Lua plugins may now set optional model / tokens_* / cache_* / cost_usd
    fields on a session; omit them and the estimate fallback applies.

Changelog

Fixes

  • fix(codex): decode turn_context, and stop hiding model-less usage

Features

  • track model + token usage per session, surface it in stats
  • stats: --csv export, cap model rows, truncate model column

Install

curl -fsSL https://raw.githubusercontent.com/pratikgajjar/recall/main/install.sh | sh

Or with Go: go install github.com/pratikgajjar/recall@latest

⌂ 换网址