Directories
¶
| Path | Synopsis |
|---|---|
|
Package aisync mirrors a Claude Code session's TodoWrite list into the nt store (SPEC §8, §10).
|
Package aisync mirrors a Claude Code session's TodoWrite list into the nt store (SPEC §8, §10). |
|
Package cli implements nt's command-line interface.
|
Package cli implements nt's command-line interface. |
|
Package config loads nt's optional config file, $NT_DIR/config.toml.
|
Package config loads nt's optional config file, $NT_DIR/config.toml. |
|
Package dateparse parses the human date and priority inputs nt accepts on the CLI and in the TUI (SPEC §7.3), kept in one place so both surfaces agree.
|
Package dateparse parses the human date and priority inputs nt accepts on the CLI and in the TUI (SPEC §7.3), kept in one place so both surfaces agree. |
|
Package links implements the unified cross-item linking model (SPEC §5.1): a single [[target]] syntax that resolves to a note (by slug, title, or id) or a task (by ULID / short prefix), plus backlinks computed on demand by scanning files — no stored index.
|
Package links implements the unified cross-item linking model (SPEC §5.1): a single [[target]] syntax that resolves to a note (by slug, title, or id) or a task (by ULID / short prefix), plus backlinks computed on demand by scanning files — no stored index. |
|
Package lock provides an advisory file lock around the critical section that mutates tasks.txt (SPEC §6.4).
|
Package lock provides an advisory file lock around the critical section that mutates tasks.txt (SPEC §6.4). |
|
Package mcp serves nt over the Model Context Protocol (stdio, JSON-RPC 2.0), so an agent uses typed tools (nt_ready, nt_add, …) instead of constructing CLI shell strings.
|
Package mcp serves nt over the Model Context Protocol (stdio, JSON-RPC 2.0), so an agent uses typed tools (nt_ready, nt_add, …) instead of constructing CLI shell strings. |
|
Package mutate is the single ULID-keyed mutation engine shared by the CLI and (later) the TUI, implementing the write contract from SPEC §6.1–6.3.
|
Package mutate is the single ULID-keyed mutation engine shared by the CLI and (later) the TUI, implementing the write contract from SPEC §6.1–6.3. |
|
Package note implements nt's markdown notes with light YAML frontmatter (SPEC §5).
|
Package note implements nt's markdown notes with light YAML frontmatter (SPEC §5). |
|
Package quickadd normalizes the natural-language conventions people type into a task's text — across the CLI, TUI, web, and MCP add paths — so they all behave identically.
|
Package quickadd normalizes the natural-language conventions people type into a task's text — across the CLI, TUI, web, and MCP add paths — so they all behave identically. |
|
Package search implements files-only search (SPEC §7.1): ripgrep when a real rg binary is on PATH, otherwise a built-in walker.
|
Package search implements files-only search (SPEC §7.1): ripgrep when a real rg binary is on PATH, otherwise a built-in walker. |
|
Package store resolves the nt data directory ($NT_DIR) and the paths of the files within it.
|
Package store resolves the nt data directory ($NT_DIR) and the paths of the files within it. |
|
Package task implements nt's todo.txt task model with the lossless round-trip guarantee from SPEC §4: a file is parsed into an ordered list of nodes (each a parsed task or a preserved raw line), and an unmodified line is re-emitted byte-for-byte.
|
Package task implements nt's todo.txt task model with the lossless round-trip guarantee from SPEC §4: a file is parsed into an ordered list of nodes (each a parsed task or a preserved raw line), and an unmodified line is re-emitted byte-for-byte. |
|
Package tui implements nt's terminal UI (SPEC §12) with Bubble Tea.
|
Package tui implements nt's terminal UI (SPEC §12) with Bubble Tea. |
|
Package ulid generates ULIDs (Universally Unique Lexicographically Sortable IDs) with zero external dependencies.
|
Package ulid generates ULIDs (Universally Unique Lexicographically Sortable IDs) with zero external dependencies. |
|
Package undo implements the append-only transaction journal from SPEC §6.3.
|
Package undo implements the append-only transaction journal from SPEC §6.3. |
|
Package view persists named "smart views" — saved bundles of the `nt list` filter so a user can capture a query once and recall it by name (T4).
|
Package view persists named "smart views" — saved bundles of the `nt list` filter so a user can capture a query once and recall it by name (T4). |
|
Package web is the HTTP adapter: a localhost notes viewer (`nt web`).
|
Package web is the HTTP adapter: a localhost notes viewer (`nt web`). |
|
apitypes
Package apitypes defines the JSON wire contract for the web SPA's /api/* endpoints.
|
Package apitypes defines the JSON wire contract for the web SPA's /api/* endpoints. |
Click to show internal directories.
Click to hide internal directories.