Every page below this one is generated from the TSDoc on a package’s exported surface; this index is the tier’s one authored page. The generated pages are not committed: starlight-typedoc writes them into one directory per package under api/ on every astro check and astro build, those directories are gitignored, and so a page always describes the source at the commit the site was built from. When a signature on a page and a signature in the source disagree, the source is newer and the site is behind.
What is covered
Section titled “What is covered”| Package | Pages |
|---|---|
@memhtml/contracts |
Overview and one page per import path: edges, errors, paths, slug, types. |
@memhtml/traces |
One page, because the package publishes a single import path. |
@memhtml/eval |
One page: the corpus generator and the discrimination gate, one import path. |
@memhtml/domain |
One page: the pure arithmetic of retention, decay, fusion, diversification, merge guards and graph scores, one import path. |
@memhtml/llm |
One page: the Bedrock and proxy model clients, embeddings, the model table and the wire helpers, one import path. |
@memhtml/head |
One page: the corpus as one immutable version per commit, its lexical and vector search, and the head gate, one import path. |
@memhtml/telemetry |
One page: the opt-in OTLP trace exporter, active only when OTEL_EXPORTER_OTLP_ENDPOINT is set, one import path. |
@memhtml/html |
One page: the memory file format, its parser, serializer, hash, head editors, template, fence-language detector and closed vocabulary, one import path. |
@memhtml/index |
One page: the SQLite schema and migrations, the indexer that projects the git tree into index.db, four-arm retrieval, the state plane and the trace tables, one import path. |
@memhtml/session |
One page: the session overlay log and its lock, the checkout lock, the validator, and the commit path that lands a session’s operations on a ref as one commit, one import path. |
@memhtml/integrations |
One page: what wires a coding agent to a store (its MCP entry, hooks, instruction block, skill and install receipt), the doctor that checks the wiring, and uninstall, one import path. |
Each package’s overview page is its README.md from the repository, with the module list appended by the generator. The remaining workspace packages are added one per maintenance run, once their generated pages pass the same gates as the authored ones.
How to read a page
Section titled “How to read a page”Every declaration is rendered as a fenced code block in the shape TypeScript would print it, followed by the doc comment from the source. Parameters are listed one per line rather than in a table, so an object-literal type keeps its braces inside a code span. “Defined in” lines are omitted on purpose: the module a symbol belongs to is the page it sits on, and the Reference tier names each symbol’s file.
The generator excludes external symbols, so a type that comes from effect is named but not expanded. Follow the import path shown at the top of the page to read it in its own package.
Adding a package
Section titled “Adding a package”Each package is its own starlightTypeDoc plugin instance in apps/docs/astro.config.ts, writing to its own directory under api/. The plugin refuses two instances whose output directories nest or overlap, which is why the tier is one directory per package rather than one flat directory. The comment block above the first instance records every option and the reason it is set.