qmd/src
Tobi Lutke 41bc3a27d8
feat(get,multi-get): line-numbered + docid output, line ranges, --full-path
Redesign the get/multi-get retrieval surface so callers can cite what
they retrieved and request follow-up slices without piping through sed:

- Output is line-numbered by default; opt out with --no-line-numbers.
- Header always identifies the document by qmd:// path + #docid. The
  MCP get/multi_get tools default lineNumbers=true to match.
- qmd get and the MCP get tool accept a :from:count suffix on a path
  or docid (e.g. '#abc123:120:40' reads 40 lines from line 120).
  Explicit --from/-l flags still override the suffix.
- qmd multi-get now includes #docid in every output format (--md,
  --json, --csv, --xml, --files, default CLI), matching qmd search.
- New --full-path flag swaps the qmd:// + docid header for the
  document's on-disk path (handy for piping into Read/Edit/editors);
  falls back to the canonical header when the file no longer exists.
2026-05-28 10:55:55 -07:00
..
bench Improve qmd diagnostics and embed resilience 2026-05-19 21:39:48 +00:00
cli feat(get,multi-get): line-numbered + docid output, line ranges, --full-path 2026-05-28 10:55:55 -07:00
mcp feat(get,multi-get): line-numbered + docid output, line ranges, --full-path 2026-05-28 10:55:55 -07:00
types Improve qmd diagnostics and embed resilience 2026-05-19 21:39:48 +00:00
ast.ts Fix AST grammar packaging for Bun installs 2026-05-09 18:13:58 +00:00
bench-rerank.ts Improve qmd diagnostics and embed resilience 2026-05-19 21:39:48 +00:00
collections.ts feat: add local init and doctor diagnostics 2026-05-19 14:27:33 -04:00
db.ts Improve qmd diagnostics and embed resilience 2026-05-19 21:39:48 +00:00
index.ts Unify QMD model resolution 2026-05-16 23:46:22 +00:00
llm.ts Improve qmd diagnostics and embed resilience 2026-05-19 21:39:48 +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 Improve qmd diagnostics and embed resilience 2026-05-19 21:39:48 +00:00
test-preload.ts fix: increase bun test timeout to 30s via CLI flag 2026-02-15 21:59:18 -04:00