internal/

directory
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: MIT

Directories

Path Synopsis
Package agent stitches the heuristic registry, LLM provider, and read-only tool runner into a single Scan operation.
Package agent stitches the heuristic registry, LLM provider, and read-only tool runner into a single Scan operation.
action
Package action defines the vocabulary of remediations the Sentra agent can recommend, and a registry that maps each verb to a concrete side-effect.
Package action defines the vocabulary of remediations the Sentra agent can recommend, and a registry that maps each verb to a concrete side-effect.
heuristics
Package heuristics implements local rules that scan a walked tree, snapshot history, and live-blob set, producing structured Finding records the LLM agent can later triage.
Package heuristics implements local rules that scan a walked tree, snapshot history, and live-blob set, producing structured Finding records the LLM agent can later triage.
llm
Package llm defines the provider abstraction the Sentra agent uses to talk to a language model.
Package llm defines the provider abstraction the Sentra agent uses to talk to a language model.
tools
Package tools implements the read-only investigation toolset the Sentra agent advertises to the LLM.
Package tools implements the read-only investigation toolset the Sentra agent advertises to the LLM.
Package atomicfile replaces a file's contents so that readers only ever observe the old file or the complete new one.
Package atomicfile replaces a file's contents so that readers only ever observe the old file or the complete new one.
Package blobstore defines the Store interface used to persist encrypted blobs (chunks, manifests, indexes, config) for a sentra repository, plus implementations against in-memory storage and S3.
Package blobstore defines the Store interface used to persist encrypted blobs (chunks, manifests, indexes, config) for a sentra repository, plus implementations against in-memory storage and S3.
Package chunker provides content-defined chunking and compression primitives for Sentra's content-addressed blob layer.
Package chunker provides content-defined chunking and compression primitives for Sentra's content-addressed blob layer.
Package config holds the parsed sentra.yaml document and the passphrase resolver that the CLI commands use to construct a *Repo.
Package config holds the parsed sentra.yaml document and the passphrase resolver that the CLI commands use to construct a *Repo.
Package crypto provides the symmetric primitives used by sentra: Argon2id passphrase-to-KEK derivation and versioned AEAD blob sealing.
Package crypto provides the symmetric primitives used by sentra: Argon2id passphrase-to-KEK derivation and versioned AEAD blob sealing.
Package diag holds read-only environment diagnostics shared by the `sentra doctor` CLI command and the TUI Doctor view.
Package diag holds read-only environment diagnostics shared by the `sentra doctor` CLI command and the TUI Doctor view.
Package mcpserver exposes an opened Sentra repository as a Model Context Protocol server, so outside agents (Claude, editors, anything speaking MCP) can query snapshots and drive confirm-gated operations within the same guardrails the CLI and TUI enforce.
Package mcpserver exposes an opened Sentra repository as a Model Context Protocol server, so outside agents (Claude, editors, anything speaking MCP) can query snapshots and drive confirm-gated operations within the same guardrails the CLI and TUI enforce.
Package notify posts desktop notifications.
Package notify posts desktop notifications.
Package policy validates Sentra's named backup policy configuration.
Package policy validates Sentra's named backup policy configuration.
Package progress defines the byte-counting reporter interface that long-running repo operations (CreateSnapshot, Restore, BackupPlan) surface progress through.
Package progress defines the byte-counting reporter interface that long-running repo operations (CreateSnapshot, Restore, BackupPlan) surface progress through.
Package recoverykit builds and renders a Sentra "recovery kit": a non-secret record of a repository's identity, storage location, and latest snapshot, plus copyable check/list/restore commands.
Package recoverykit builds and renders a Sentra "recovery kit": a non-secret record of a repository's identity, storage location, and latest snapshot, plus copyable check/list/restore commands.
Package repo is the integration layer that stitches the crypto, chunker, walker, and blobstore packages into a working snapshot lifecycle: init / open the repository, create snapshots from a directory tree, list them, and restore a snapshot back to disk.
Package repo is the integration layer that stitches the crypto, chunker, walker, and blobstore packages into a working snapshot lifecycle: init / open the repository, create snapshots from a directory tree, list them, and restore a snapshot back to disk.
Package scheduler renders and installs user-level OS scheduler entries (launchd plists on darwin, systemd user units on linux) that run `sentra policy run`.
Package scheduler renders and installs user-level OS scheduler entries (launchd plists on darwin, systemd user units on linux) that run `sentra policy run`.
Package tui is the Bubbletea-based dashboard launched by `sentra ui` (and by bare `sentra` with no subcommand).
Package tui is the Bubbletea-based dashboard launched by `sentra ui` (and by bare `sentra` with no subcommand).
Package ui provides the shared Charm-expressive theme used by both inline-mode CLI output and the TUI.
Package ui provides the shared Charm-expressive theme used by both inline-mode CLI output and the TUI.
Package walker provides filesystem traversal with .sentraignore support and a concurrent stat pipeline.
Package walker provides filesystem traversal with .sentraignore support and a concurrent stat pipeline.

Jump to

Keyboard shortcuts

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