internal/

directory
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: MIT

Directories

Path Synopsis
Package aggregate computes structured statistics over []storage.Entry.
Package aggregate computes structured statistics over []storage.Entry.
Package capture holds the input-validation rules shared by every brag capture ingress path (flag mode, editor mode, `add --json`, MCP brag_add, and — since DEC-046 — `brag edit`).
Package capture holds the input-validation rules shared by every brag capture ingress path (flag mode, editor mode, `add --json`, MCP brag_add, and — since DEC-046 — `brag edit`).
Package editor renders and parses the header+body buffer format used by `brag edit` (and, eventually, `brag add` no-args).
Package editor renders and parses the header+body buffer format used by `brag edit` (and, eventually, `brag add` no-args).
Package export renders []storage.Entry into the machine-readable output formats used by `brag list --format ...` and `brag export --format ...`.
Package export renders []storage.Entry into the machine-readable output formats used by `brag list --format ...` and `brag export --format ...`.
Package ftsquery holds the single DEC-010 search transform: the conversion from a user-typed search argument into an FTS5 MATCH expression.
Package ftsquery holds the single DEC-010 search transform: the conversion from a user-typed search argument into an FTS5 MATCH expression.
Package mcpserver builds the local stdio MCP server (`brag mcp serve`) exposing brag_add/brag_list/brag_memory/brag_search/brag_stats as thin typed tools over *storage.Store, plus the brag:// push surface (three resources serving a ranked, token-budgeted memory slice with no tool call).
Package mcpserver builds the local stdio MCP server (`brag mcp serve`) exposing brag_add/brag_list/brag_memory/brag_search/brag_stats as thin typed tools over *storage.Store, plus the brag:// push surface (three resources serving a ranked, token-budgeted memory slice with no tool call).
Package memory ranks a candidate pool of entries by DEC-043's blended reciprocal-rank fusion and trims the result to DEC-044's token budget — the corpus read back as working memory.
Package memory ranks a candidate pool of entries by DEC-043's blended reciprocal-rank fusion and trims the result to DEC-044's token budget — the corpus read back as working memory.
Package spark renders a numeric series as a fixed-width Unicode block-glyph sparkline (▁▂▃▄▅▆▇█).
Package spark renders a numeric series as a fixed-width Unicode block-glyph sparkline (▁▂▃▄▅▆▇█).
storagetest
Package storagetest exposes test-only helpers that need raw SQL access to a Bragfile database.
Package storagetest exposes test-only helpers that need raw SQL access to a Bragfile database.
Package timewindow parses the user-facing time-window vocabulary shared by every bragfile surface — the `--since` grammar (DEC-008) and the `--day` calendar-day grammar (DEC-039) — into `storage.ListFilter` bounds.
Package timewindow parses the user-facing time-window vocabulary shared by every bragfile surface — the `--since` grammar (DEC-008) and the `--day` calendar-day grammar (DEC-039) — into `storage.ListFilter` bounds.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL