internal/

directory
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package ask answers a natural-language question from the team's own knowledge: it retrieves the relevant notes (the graph) plus the relevant code symbols (the code index), hands them to the BYOAI LLM as the ONLY allowed context, and returns the answer with citations.
Package ask answers a natural-language question from the team's own knowledge: it retrieves the relevant notes (the graph) plus the relevant code symbols (the code index), hands them to the BYOAI LLM as the ONLY allowed context, and returns the answer with citations.
Package buildinfo exposes the running Mesh version and its AGPL section 13 Corresponding Source offer.
Package buildinfo exposes the running Mesh version and its AGPL section 13 Corresponding Source offer.
Package embed is the BYOAI embedding layer.
Package embed is the BYOAI embedding layer.
Package eval is the Gate-1 measurement harness.
Package eval is the Gate-1 measurement harness.
Package extract turns a coding-agent session transcript into candidate write-back notes.
Package extract turns a coding-agent session transcript into candidate write-back notes.
Package flarereport wires the pro entry points (mesh-hub) to the house Flare instance.
Package flarereport wires the pro entry points (mesh-hub) to the house Flare instance.
Package graph holds Mesh's in-memory knowledge graph.
Package graph holds Mesh's in-memory knowledge graph.
Package guards turns institutional gotchas into candidate enforcement: for a gotcha with a concrete anti-pattern, the BYOAI LLM proposes a grep-style pre-commit check (pattern + file globs + message).
Package guards turns institutional gotchas into candidate enforcement: for a gotcha with a concrete anti-pattern, the BYOAI LLM proposes a grep-style pre-commit check (pattern + file globs + message).
Package hooks installs the Claude Code SESSION hooks that make an agent use Mesh automatically: read the mesh at session start, and get nudged to write back what it learned before finishing.
Package hooks installs the Claude Code SESSION hooks that make an agent use Mesh automatically: read the mesh at session start, and get nudged to write back what it learned before finishing.
code
Package code parses source files into a lightweight symbol graph so Mesh can answer "where does this function live / what calls it" without a separate code indexer.
Package code parses source files into a lightweight symbol graph so Mesh can answer "where does this function live / what calls it" without a separate code indexer.
Package ingest pulls knowledge from where a team already keeps it (GitHub, Slack, ...) into THEIR vault, on THEIR hardware - the sovereign version of what cloud search tools do.
Package ingest pulls knowledge from where a team already keeps it (GitHub, Slack, ...) into THEIR vault, on THEIR hardware - the sovereign version of what cloud search tools do.
Package llm is the Mesh BYOAI chat boundary for the sync-curator (S2.1).
Package llm is the Mesh BYOAI chat boundary for the sync-curator (S2.1).
Package mcp serves Mesh's retrieval + write-back surface to a coding agent over JSON-RPC 2.0 on stdio.
Package mcp serves Mesh's retrieval + write-back surface to a coding agent over JSON-RPC 2.0 on stdio.
Package merge is the pure, deterministic three-way reconcile engine at the heart of Milestone S1 team sync.
Package merge is the pure, deterministic three-way reconcile engine at the heart of Milestone S1 team sync.
Package meshcfg reads and writes a solo vault's local embedding config at <vault>/.mesh/config.toml.
Package meshcfg reads and writes a solo vault's local embedding config at <vault>/.mesh/config.toml.
Package rerank is the BYOAI cross-encoder layer.
Package rerank is the BYOAI cross-encoder layer.
Package retrieve is the wedge: it fuses the FTS5 and graph-BM25 signals, expands one hop along the graph, boosts the institutional-memory tier, and packs the result to a token budget.
Package retrieve is the wedge: it fuses the FTS5 and graph-BM25 signals, expands one hop along the graph, boosts the institutional-memory tier, and packs the result to a token budget.
Package safehttp provides SSRF-guarded HTTP clients shared across every mesh path that fetches a user- or config-controlled URL: the ingest connectors, and the BYOAI embedding / rerank / LLM endpoints.
Package safehttp provides SSRF-guarded HTTP clients shared across every mesh path that fetches a user- or config-controlled URL: the ingest connectors, and the BYOAI embedding / rerank / LLM endpoints.
Package sshserve serves the Mesh TUI over SSH, so a teammate can browse the knowledge graph by ssh-ing the host with no local install: charmbracelet/wish runs the same bubbletea TUI the `mesh tui` command does, once per session, over the same read-only index the agent uses.
Package sshserve serves the Mesh TUI over SSH, so a teammate can browse the knowledge graph by ssh-ing the host with no local install: charmbracelet/wish runs the same bubbletea TUI the `mesh tui` command does, once per session, over the same read-only index the agent uses.
Package syncproto holds the JSON wire types for the Mesh sync protocol, shared by the hub (internal/hub) and the client (pkg/meshclient) so there is one definition of the contract.
Package syncproto holds the JSON wire types for the Mesh sync protocol, shared by the hub (internal/hub) and the client (pkg/meshclient) so there is one definition of the contract.
Package textdiff renders a bounded, hand-rolled unified line diff (stdlib only, no diff library).
Package textdiff renders a bounded, hand-rolled unified line diff (stdlib only, no diff library).
Package tokenize counts tokens with a real BPE tokenizer: the cl100k_base vocabulary (the GPT-4 / GPT-3.5 tokenizer), a reproducible public standard.
Package tokenize counts tokens with a real BPE tokenizer: the cl100k_base vocabulary (the GPT-4 / GPT-3.5 tokenizer), a reproducible public standard.
Package tui is `mesh tui`: a keyboard-driven terminal view of the vault over the same index + graph + retriever the agent uses.
Package tui is `mesh tui`: a keyboard-driven terminal view of the vault over the same index + graph + retriever the agent uses.
Package watch keeps a Mesh index live with the vault on disk.
Package watch keeps a Mesh index live with the vault on disk.
Package web serves `mesh ui`: a sovereign, single-binary localhost graph viewer (no CDN, no third-party JS, self-hosted fonts).
Package web serves `mesh ui`: a sovereign, single-binary localhost graph viewer (no CDN, no third-party JS, self-hosted fonts).

Jump to

Keyboard shortcuts

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