Structs§
- Capability
Lock Entry - Catalog
Source - GitSource
- Local
Source - Lockfile
- Managed
Hook - Managed
McpEntry - Baseline for one Tuff-managed
mcpServers.<id>entry (RFC-102 stage b). - Pack
Provenance - Immutable pack release that delivered a capability entry.
- Target
Lock Entry
Enums§
- Capability
Source - The origin of an installed capability. Internally tagged as
kindon the wire, so a lockfile row reads[capabilities.source] kind = "git". - Target
Ownership - Version
Scheme - What kind of string
CapabilityLockEntry::versionholds (RFC-105 D4).
Constants§
- LOCKFILE_
VERSION - Current on-disk schema. Older readable versions are migrated in memory
by
read_lockfile_at; writers always emit this version. - OLDEST_
READABLE_ LOCKFILE_ VERSION - Oldest schema this build still reads.
Functions§
- absolutize
- hash_
bytes - init_
lockfile - init_
lockfile_ at - managed_
hook_ status - managed_
hooks_ from_ fragment - managed_
hooks_ from_ fragment_ with_ canonical - managed_
mcp_ entry_ baseline - Hash an MCP entry value exactly as
managed_mcp_entry_statuswill when it re-reads the file: canonicalserde_jsonbytes, so on-disk pretty- printing never matters. - managed_
mcp_ entry_ status "clean","modified", or"missing"for a managed MCP entry.- project_
lockfile - The project-scope lockfile. Never falls through to the global one: the caller resolved a scope and this is the file for it (RFC-105 D3).
- read_
lockfile_ at - Read a lockfile of any supported schema version into the current model.
- relative_
or_ absolute_ fs - require_
lockfile - require_
scoped_ lockfile - scoped_
lockfile - The lockfile for a resolved scope:
<root>/tuff.lockfor a project, the XDG state file for the global scope (wherescope_rootis the home directory). The scope is always passed, never inferred from the path. - write_
lockfile - write_
lockfile_ at - write_
scoped_ lockfile