keep.index¶
Index generation for Keep.
Generates index.md at the workspace root — a Markdown table cataloguing all non-private documents in the workspace. The LLM reads this first at the start of every session to locate relevant pages before drilling into them.
The index is deterministic and tool-owned. It is rebuilt in full on every keep index run. Private documents are excluded.
Typical usage:
from keep.index import build, write
settings = Settings.load(workspace)
rows = build(settings)
write(rows, settings)