qmd/src
James Cherry 9cecdc8703 perf(mcp): emit terse collection summary in serverInstructions
Previously buildInstructions emitted one line per collection with name,
doc count, and description, which can run to ~1.5 KB for a dozen
collections and is injected into every session's system prompt at
MCP initialize. Most agents never query qmd in a given session, so the
catalogue lines are a recurring token cost for static info that the
existing 'status' tool already exposes on demand.

Now emit a single comma-joined names line plus a hint that 'status'
returns the rest. listContexts() lookup is dropped since the per-
collection descriptions are no longer rendered.

Refs #647
2026-05-15 23:44:16 +01:00
..
bench feat(cli): add qmd bench command for search quality benchmarks 2026-04-05 17:17:59 -04:00
cli fix embed model and qmd home resolution 2026-05-09 18:17:10 +00:00
mcp perf(mcp): emit terse collection summary in serverInstructions 2026-05-15 23:44:16 +01:00
ast.ts Fix AST grammar packaging for Bun installs 2026-05-09 18:13:58 +00:00
bench-rerank.ts feat: use build: "autoAttempt" on getLlama 2026-03-06 07:02:50 +00:00
collections.ts fix embed model and qmd home resolution 2026-05-09 18:17:10 +00:00
db.ts fix(db): declare transaction() on local Database interface 2026-04-14 08:34:20 -04:00
embedded-skills.ts feat(skill): install packaged qmd skill 2026-03-10 23:18:15 +01:00
index.ts fix(embed): honor collection filter 2026-05-09 18:12:45 +00:00
llm.ts Fix Windows CUDA context parallelism 2026-05-09 18:15:39 +00:00
maintenance.ts refactor: move CLI and MCP to subdirectories, MCP consumes SDK 2026-03-10 11:39:55 -04:00
paths.ts fix embed model and qmd home resolution 2026-05-09 18:17:10 +00:00
store.ts fix embed model and qmd home resolution 2026-05-09 18:17:10 +00:00
test-preload.ts fix: increase bun test timeout to 30s via CLI flag 2026-02-15 21:59:18 -04:00