v0.7.0
ManT 0.7.0
ManT 0.7.0 turns the reader into a navigable local documentation catalog and formalizes the shared IR and protocol used by the TUI, CLI, and MCP interfaces.
Highlights
- Catalog discovery: list registered Markdown and native manuals with
mant --list, or use rankedmant --find PATTERNqueries where exact matches precede prefixes and prefixes precede substrings. - Clickable document navigation: underlined Markdown links and man-page references can be followed directly in the TUI, including page-local anchors, cross-document links, and references such as
git-add(1). Successful jumps are recorded in backward/forward history, whileCtrl+Oopens the live document finder. - Conventional selectors: read native manuals with forms such as
mant git(1)andmant 1 git, select a native category with--man-section, or read an explicit Markdown or roff stream with--input. - Terminal-native tldr:
mant NAME --tldrnow emits concise TTY-aware ANSI output, uses plain text when redirected, and resolves embedded Markdown quick references and cache entries through the document priority model. - Hierarchical Markdown catalogs: source-owned document paths now support larger documentation sets, language variants, stable suffix matching, and restricted file symlinks without exposing directory traversal.
- Self-hosted reference set: release archives and one-line installers now ship and register five discoverable manuals—
mant(1),mant-protocol(5),mant-ir(7),mant-markdown(7), andmant-roff(7)—and publish the same set as a platform-independent manuals archive. - Stable integration boundaries: the new
mant-irandmant-protocolcrates separate the normalized document model from versioned CLI JSON, MCP, schema, and host-facing projections. - Protocol v7: hierarchical discovery, typed document addresses, explicit manual categories, stable outline paths, schema compatibility snapshots, and logical MCP identities without local filesystem path disclosure.
- Broader roff fidelity: modern manual references, groff
MRfallbacks, delimiter roles, Pandoc verbatim fonts, and additional cross-manual navigation are preserved.
Breaking changes
--sectionhas been removed because it ambiguously referred to both Unix manual categories and document headings. Use--man-section CATEGORYfor native manuals and--node SELECTORfor document content; invoking the removed option prints both replacements.- Protocol schemas move to v7,
mant-astis replaced bymant-irandmant-protocol, andmant-coreis renamed tomant-engine. - Managed source caches moved from
documents/sources/to the siblingsources/directory. Remove the old managed directory once, then runmant --update-docsto reinstall configured sources.
Install or update
Unix:
curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/BryanHeBY/ManT/main/scripts/install.sh | shWindows PowerShell:
irm https://raw.githubusercontent.com/BryanHeBY/ManT/main/scripts/install.ps1 | iexVerify a release artifact
gh attestation verify mant-0.7.0-PLATFORM.EXT --repo BryanHeBY/ManTThe native archives include five ManT reference manuals, target-specific CycloneDX SBOMs, portable Sigstore bundles, SHA-256 checksums, and complete applicable license notices. A platform-independent manuals archive is also available for macOS and manual installation workflows.
Full changelog: v0.6.4...v0.7.0