internal/

directory
v2.3.1 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package agents is the coding-agent adapter seam.
Package agents is the coding-agent adapter seam.
Package api is lectern's HTTP surface: the REST control plane, the agent-facing hook endpoints, the SSE streams and the embedded PWA.
Package api is lectern's HTTP surface: the REST control plane, the agent-facing hook endpoints, the SSE streams and the embedded PWA.
Package app wires every component together.
Package app wires every component together.
Package broker is the approval gate: the hook blocks here until a human — or expiry — decides.
Package broker is the approval gate: the hook blocks here until a human — or expiry — decides.
Package bus is the in-process SSE fan-out.
Package bus is the in-process SSE fan-out.
Package config holds every knob lectern reads from the environment.
Package config holds every knob lectern reads from the environment.
Package console is a terminal client for the same API used by the web UI.
Package console is a terminal client for the same API used by the web UI.
Package creds provisions agent authentication onto targets.
Package creds provisions agent authentication onto targets.
Package ctxbundle stages the files a dispatched agent should read before it starts.
Package ctxbundle stages the files a dispatched agent should read before it starts.
Package delegation is the "Delegated builds" feature: a lead agent plans a piece of work and reviews the result, and a cheaper worker agent does the implementation in between, as a Lectern task in its own worktree.
Package delegation is the "Delegated builds" feature: a lead agent plans a piece of work and reviews the result, and a cheaper worker agent does the implementation in between, as a Lectern task in its own worktree.
Package desktop gives a target a private graphical display the operator can watch from a browser.
Package desktop gives a target a private graphical display the operator can watch from a browser.
Package executor abstracts "run a command / move a file on a machine".
Package executor abstracts "run a command / move a file on a machine".
Package forward carries TCP from a port on the control plane to a service that only listens on a target's localhost.
Package forward carries TCP from a port on the control plane to a service that only listens on a target's localhost.
Package hooks embeds the two agent-side Python scripts staged into every worktree.
Package hooks embeds the two agent-side Python scripts staged into every worktree.
Package mcp exposes lectern over the Model Context Protocol on stdio, so any MCP client — Claude Code, an mcpo bridge, a chat bot — can file and steer tasks.
Package mcp exposes lectern over the Model Context Protocol on stdio, so any MCP client — Claude Code, an mcpo bridge, a chat bot — can file and steer tasks.
Package mediapost is the one way a file or link reaches Lectern's media feed.
Package mediapost is the one way a file or link reaches Lectern's media feed.
Package memory is lectern's seam onto a durable knowledge store.
Package memory is lectern's seam onto a durable knowledge store.
Package nativeidentity is the single read-only native conversation identity implementation shared by the API history reader and session recovery.
Package nativeidentity is the single read-only native conversation identity implementation shared by the API history reader and session recovery.
Package policy holds a project's "always allow" rules, evaluated server-side before a human is ever paged.
Package policy holds a project's "always allow" rules, evaluated server-side before a human is ever paged.
Package push is the web-push (VAPID) notification sink.
Package push is the web-push (VAPID) notification sink.
Package routines turns a job you keep asking for into one you can press a button for, or schedule.
Package routines turns a job you keep asking for into one you can press a button for, or schedule.
Package sandbox owns the ephemeral LXC lifecycle: clone template, start, run, destroy.
Package sandbox owns the ephemeral LXC lifecycle: clone template, start, run, destroy.
Package scheduler promotes queued attempts, tails running ones and finalises results.
Package scheduler promotes queued attempts, tails running ones and finalises results.
Package scratch reclaims throwaway workspaces nobody is using.
Package scratch reclaims throwaway workspaces nobody is using.
Package sessions is lectern's second execution mode: an INTERACTIVE agent you work with, rather than a task you hand off.
Package sessions is lectern's second execution mode: an INTERACTIVE agent you work with, rather than a task you hand off.
Package shellq renders values as shell words.
Package shellq renders values as shell words.
Package sinks fans notifications out to web-push, a Discord webhook and ntfy, best-effort and never blocking the caller.
Package sinks fans notifications out to web-push, a Discord webhook and ntfy, best-effort and never blocking the caller.
Package skills manages project skill intent and target-local materialization.
Package skills manages project skill intent and target-local materialization.
Package state is the task state machine — the single source of truth for which board moves are legal.
Package state is the task state machine — the single source of truth for which board moves are legal.
Package store is lectern's SQLite persistence layer: schema, typed row accessors, and the small JSON helpers the rest of the service shares.
Package store is lectern's SQLite persistence layer: schema, typed row accessors, and the small JSON helpers the rest of the service shares.
Package terminal is one-click terminal attach: spawn a ttyd on the control plane that wraps `tmux attach` (locally, over ssh, or via pct) for a running attempt.
Package terminal is one-click terminal attach: spawn a ttyd on the control plane that wraps `tmux attach` (locally, over ssh, or via pct) for a running attempt.
Package testutil contains small safety helpers shared by real-process tests.
Package testutil contains small safety helpers shared by real-process tests.
Package version carries the single source of truth for the release string.
Package version carries the single source of truth for the release string.
Package workflows describes the optional, bundled project workflows.
Package workflows describes the optional, bundled project workflows.
Package worktree owns the git worktree lifecycle and diff capture, all through the Executor interface so it works identically on every target kind.
Package worktree owns the git worktree lifecycle and diff capture, all through the Executor interface so it works identically on every target kind.

Jump to

Keyboard shortcuts

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