Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package account manages the extra Claude Code accounts loom can launch sessions under.
|
Package account manages the extra Claude Code accounts loom can launch sessions under. |
|
Package app is the Bubble Tea application layer: the controller that owns the home model, routes keyboard input, and composes the ui view components.
|
Package app is the Bubble Tea application layer: the controller that owns the home model, routes keyboard input, and composes the ui view components. |
|
Package cmd holds `loom workspace migrate` and the subprocess seam the rest of Loom shells out through.
|
Package cmd holds `loom workspace migrate` and the subprocess seam the rest of Loom shells out through. |
|
Package config owns Loom's on-disk configuration, app state, profile catalog, and workspace registry.
|
Package config owns Loom's on-disk configuration, app state, profile catalog, and workspace registry. |
|
Package core is loom's session model: the loaded workspaces and their instances, and everything that acts on them without a terminal: loading and saving, reconcile and the sweeps, the lifecycle operations and their completions, the health tick and the background jobs.
|
Package core is loom's session model: the loaded workspaces and their instances, and everything that acts on them without a terminal: loading and saving, reconcile and the sweeps, the lifecycle operations and their completions, the health tick and the background jobs. |
|
rpc
Package rpc carries core.Core over a connection (daemon stage 2): newline-delimited JSON frames, a Server serving a core.Loop, and a Client implementing core.Core.
|
Package rpc carries core.Core over a connection (daemon stage 2): newline-delimited JSON frames, a Server serving a core.Loop, and a Client implementing core.Core. |
|
rpc/internal/gen
Package gen generates core/rpc's wire code from core.Core (core/iface.go): every method's parameter and result types, the method table, the server's dispatch, and the client's methods.
|
Package gen generates core/rpc's wire code from core.Core (core/iface.go): every method's parameter and result types, the method table, the server's dispatch, and the client's methods. |
|
rpc/internal/gen/cmd
command
Command cmd writes core/rpc/methods_gen.go from core/iface.go.
|
Command cmd writes core/rpc/methods_gen.go from core/iface.go. |
|
internal
|
|
|
cli
Package cli holds the `loom workspace` and `loom account` subcommands, which are clients of the loom daemon (daemon stage 3C+4), and the daemon half of `loom reset` (Reset).
|
Package cli holds the `loom workspace` and `loom account` subcommands, which are clients of the loom daemon (daemon stage 3C+4), and the daemon half of `loom reset` (Reset). |
|
daemon
Package daemon runs `loom serve`, the process that owns a global config dir's sessions (daemon stage 3B), and finds it for its clients.
|
Package daemon runs `loom serve`, the process that owns a global config dir's sessions (daemon stage 3B), and finds it for its clients. |
|
devsandbox
Package devsandbox creates and drives isolated loom dev environments: a named directory holding a dev build, a toy workspace repo, seeded config, and a private tmux server, so a dev loom can run from inside a loom pane without touching the host's sessions or state.
|
Package devsandbox creates and drives isolated loom dev environments: a named directory holding a dev build, a toy workspace repo, seeded config, and a private tmux server, so a dev loom can run from inside a loom pane without touching the host's sessions or state. |
|
exec
Package exec provides the shared subprocess-runner interface used by the rest of the codebase to invoke git, gh, and tmux without binding production call sites to os/exec directly.
|
Package exec provides the shared subprocess-runner interface used by the rest of the codebase to invoke git, gh, and tmux without binding production call sites to os/exec directly. |
|
testenv
Package testenv keeps test binaries off the developer's real loom and Claude state.
|
Package testenv keeps test binaries off the developer's real loom and Claude state. |
|
testpty
Package testpty gives tests a stand-in for a tmux attach client's PTY.
|
Package testpty gives tests a stand-in for a tmux attach client's PTY. |
|
Package keys defines the enumerated KeyName values that identify built-in actions and the GlobalkeyBindings map used to render them in the menu bar.
|
Package keys defines the enumerated KeyName values that identify built-in actions and the GlobalkeyBindings map used to render them in the menu bar. |
|
Package log is Loom's centralized logging surface.
|
Package log is Loom's centralized logging surface. |
|
Package review holds the comment model and on-disk store for the workbench review tab.
|
Package review holds the comment model and on-disk store for the workbench review tab. |
|
Package script provides a sandboxed Lua scripting surface that binds keys in the TUI to actions.
|
Package script provides a sandboxed Lua scripting surface that binds keys in the TUI to actions. |
|
Package session owns the core domain: a running AI coding agent represented by the Instance type.
|
Package session owns the core domain: a running AI coding agent represented by the Instance type. |
|
agent
Package agent consolidates program-specific knowledge for the supported coding agents (claude, aider, gemini, etc.).
|
Package agent consolidates program-specific knowledge for the supported coding agents (claude, aider, gemini, etc.). |
|
claudetmp
Package claudetmp finds, archives and restores the per-session temp directory Claude Code keeps outside the worktree: <root>/<encoded cwd>/<session id>/{scratchpad,tasks}/.
|
Package claudetmp finds, archives and restores the per-session temp directory Claude Code keeps outside the worktree: <root>/<encoded cwd>/<session id>/{scratchpad,tasks}/. |
|
files
Package files provides filesystem enumeration helpers for the file explorer overlay.
|
Package files provides filesystem enumeration helpers for the file explorer overlay. |
|
git
Package git encapsulates the per-session git worktree: creation, diff stats, push, and cleanup.
|
Package git encapsulates the per-session git worktree: creation, diff stats, push, and cleanup. |
|
github
Package github reads GitHub state through the gh CLI for loom's session cards and issue picker.
|
Package github reads GitHub state through the gh CLI for loom's session cards and issue picker. |
|
hooks
Package hooks is loom's side of the Claude Code hooks it registers at launch: the per-instance folder layout, the settings file and hook command, and the scan that turns the files the hooks write into Events.
|
Package hooks is loom's side of the Claude Code hooks it registers at launch: the per-instance folder layout, the settings file and hook command, and the scan that turns the files the hooks write into Events. |
|
launch
Package launch is a Claude session's launch options and their composition into (and decoding from) the agent command line: remote control, permission mode, model, effort, plus the options that never reach the command line (Headroom proxy, the 1h cache TTL, the branch prefix, the account).
|
Package launch is a Claude session's launch options and their composition into (and decoding from) the agent command line: remote control, permission mode, model, effort, plus the options that never reach the command line (Headroom proxy, the 1h cache TTL, the branch prefix, the account). |
|
subagent
Package subagent tracks the subagents and agent-team teammates a Claude session has spawned, from the hook events session/hooks collects.
|
Package subagent tracks the subagents and agent-team teammates a Claude session has spawned, from the hook events session/hooks collects. |
|
tmux
Package tmux manages the tmux sessions that drive each agent.
|
Package tmux manages the tmux sessions that drive each agent. |
|
vt
Package vt defines Loom's pane-display abstraction.
|
Package vt defines Loom's pane-display abstraction. |
|
tools
|
|
|
claudemd
command
Command claudemd holds the repo's docs to the conventions the root CLAUDE.md sets out.
|
Command claudemd holds the repo's docs to the conventions the root CLAUDE.md sets out. |
|
fakeagent
command
Command fakeagent is a deterministic, token-free stand-in for an AI coding agent, used by loom's dev sandbox (tools/loomdev).
|
Command fakeagent is a deterministic, token-free stand-in for an AI coding agent, used by loom's dev sandbox (tools/loomdev). |
|
loomdev
command
Command loomdev manages isolated loom dev sandboxes so a dev build can be run, driven, and screenshotted from inside loom without touching the host loom's tmux sessions or state.
|
Command loomdev manages isolated loom dev sandboxes so a dev build can be run, driven, and screenshotted from inside loom without touching the host loom's tmux sessions or state. |
|
Package ui holds Loom's Bubble Tea view components.
|
Package ui holds Loom's Bubble Tea view components. |
|
overlay
Package overlay implements the modal dialogs layered above the main TUI — the text-input overlay for new instances and prompts, the confirmation overlay for destructive actions, and the branch, profile, and workspace pickers.
|
Package overlay implements the modal dialogs layered above the main TUI — the text-input overlay for new instances and prompts, the confirmation overlay for destructive actions, and the branch, profile, and workspace pickers. |
Click to show internal directories.
Click to hide internal directories.