internal/

directory
v1.9.30 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package docker manages container lifecycle for sandboxed agent sessions.
Package docker manages container lifecycle for sandboxed agent sessions.
Package git provides git worktree operations for agent-deck
Package git provides git worktree operations for agent-deck
Package jujutsu provides jj (Jujutsu) VCS operations for agent-deck.
Package jujutsu provides jj (Jujutsu) VCS operations for agent-deck.
Package safego provides a panic-recovering wrapper for fire-and-forget goroutines.
Package safego provides a panic-recovering wrapper for fire-and-forget goroutines.
Package send consolidates prompt detection and send verification functions used by both the CLI send path (session_cmd.go) and the Instance send path (instance.go).
Package send consolidates prompt detection and send verification functions used by both the CLI send path (session_cmd.go) and the Instance send path (instance.go).
Issue #1143: idle-timeout JSON helpers.
Issue #1143: idle-timeout JSON helpers.
Package sessionstatus is the single owner of the hook→status derivation logic shared by every surface that maps a session.HookStatus payload onto a session.Status (CLI cold-load, web read-path, TUI inotify watcher, and the transition daemon).
Package sessionstatus is the single owner of the hook→status derivation logic shared by every surface that maps a session.HookStatus payload onto a session.Status (CLI cold-load, web read-path, TUI inotify watcher, and the transition daemon).
Package sysinfo provides cross-platform system statistics collection for CPU, memory, disk, load average, GPU, and network throughput.
Package sysinfo provides cross-platform system statistics collection for CPU, memory, disk, load average, GPU, and network throughput.
Package terminal provides a thin abstraction for spawning a new terminal window that attaches to an existing tmux session.
Package terminal provides a thin abstraction for spawning a new terminal window that attaches to an existing tmux session.
Package testutil contains shared helpers for agent-deck's test suites.
Package testutil contains shared helpers for agent-deck's test suites.
crossfixture
Package crossfixture supplies the shared scaffolding for tests that must verify TUI ↔ web ↔ CLI parity (TEST-PLAN.md §6.4 / TUI-TEST-PLAN.md §6.4 crossProcessFixture).
Package crossfixture supplies the shared scaffolding for tests that must verify TUI ↔ web ↔ CLI parity (TEST-PLAN.md §6.4 / TUI-TEST-PLAN.md §6.4 crossProcessFixture).
fakeclock
Package fakeclock provides an injectable Clock for tests that exercise time-sensitive logic — hook freshness windows, heartbeat staleness, log-rotation maintenance — without sleeping or depending on wall-clock progress.
Package fakeclock provides an injectable Clock for tests that exercise time-sensitive logic — hook freshness windows, heartbeat staleness, log-rotation maintenance — without sleeping or depending on wall-clock progress.
fakeinotify
Package fakeinotify provides a controllable filesystem event source for tests that exercise hook-status-watcher overflow / fallback paths (TEST-PLAN.md J2 regression, TUI-TEST-PLAN.md §6.2 fakeInotify).
Package fakeinotify provides a controllable filesystem event source for tests that exercise hook-status-watcher overflow / fallback paths (TEST-PLAN.md J2 regression, TUI-TEST-PLAN.md §6.2 fakeInotify).
logassert
Package logassert captures slog records during a test and offers assertion helpers so tests can verify "this code path emitted hook_overflow with dropped>0" without grepping stderr.
Package logassert captures slog records during a test and offers assertion helpers so tests can verify "this code path emitted hook_overflow with dropped>0" without grepping stderr.
multiclienttmux
Package multiclienttmux boots an isolated tmux server with aggressive-resize=on and lets a test attach N pty clients at chosen sizes — the harness from TEST-PLAN.md §6.1 / TUI-TEST-PLAN.md §6.8 for the "two web clients hijacking pane size" regression (J4 / F2).
Package multiclienttmux boots an isolated tmux server with aggressive-resize=on and lets a test attach N pty clients at chosen sizes — the harness from TEST-PLAN.md §6.1 / TUI-TEST-PLAN.md §6.8 for the "two web clients hijacking pane size" regression (J4 / F2).
profilefixture
Package profilefixture builds the controlled environment that profile-resolution parity tests require: a known AGENTDECK_PROFILE, CLAUDE_CONFIG_DIR, agent-deck config-dir override, and isolated tempdir.
Package profilefixture builds the controlled environment that profile-resolution parity tests require: a known AGENTDECK_PROFILE, CLAUDE_CONFIG_DIR, agent-deck config-dir override, and isolated tempdir.
teatesthelper
Package teatesthelper wraps charmbracelet/x/exp/teatest with the conventions our TUI tests need (TUI-TEST-PLAN.md §6.1):
Package teatesthelper wraps charmbracelet/x/exp/teatest with the conventions our TUI tests need (TUI-TEST-PLAN.md §6.1):
Package ui provides the Bubble Tea TUI for agent-deck.
Package ui provides the Bubble Tea TUI for agent-deck.
Package update provides version checking and self-update functionality.
Package update provides version checking and self-update functionality.
Package vcs defines a version control system abstraction layer.
Package vcs defines a version control system abstraction layer.
Package vcsbackend exposes a single Detect entry point that returns the correct vcs.Backend (git or jujutsu) for a directory.
Package vcsbackend exposes a single Detect entry point that returns the correct vcs.Backend (git or jujutsu) for a directory.
Package watcher's Gmail adapter delivers normalized Events from a Gmail account via the Gmail Pub/Sub watch + streaming pull flow:
Package watcher's Gmail adapter delivers normalized Events from a Gmail account via the Gmail Pub/Sub watch + streaming pull flow:
POST /api/sessions/{id}/worktree/finish — Web parity for the TUI's W/shift+w hotkey and the `agent-deck worktree finish` CLI.
POST /api/sessions/{id}/worktree/finish — Web parity for the TUI's W/shift+w hotkey and the `agent-deck worktree finish` CLI.

Jump to

Keyboard shortcuts

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