Directories
¶
| Path | Synopsis |
|---|---|
|
ssq-hooks
command
|
|
|
ssq-mux
command
ssq-mux is a PTY multiplexer that enables bidirectional terminal access from multiple sources (e.g., IntelliJ terminal + claude-squad web UI).
|
ssq-mux is a PTY multiplexer that enables bidirectional terminal access from multiple sources (e.g., IntelliJ terminal + claude-squad web UI). |
|
workspacepath
Package workspacepath implements the shared cwd/preference-file directory resolution used by config.GetConfigDirForDir and log.GetConfigDirForDir (Priorities 3-5), kept dependency-free so both can import it without a cycle.
|
Package workspacepath implements the shared cwd/preference-file directory resolution used by config.GetConfigDirForDir and log.GetConfigDirForDir (Priorities 3-5), kept dependency-free so both can import it without a cycle. |
|
Package envtest holds tiny, dependency-free helpers shared by TestMain functions across packages.
|
Package envtest holds tiny, dependency-free helpers shared by TestMain functions across packages. |
|
Package executor provides safe subprocess management for stapler-squad.
|
Package executor provides safe subprocess management for stapler-squad. |
|
safeexec
Package safeexec provides a thin wrapper around os/exec that pre-sets WaitDelay on every command.
|
Package safeexec provides a thin wrapper around os/exec that pre-sets WaitDelay on every command. |
|
internal
|
|
|
claudehooks
Package claudehooks installs and detects Stapler Squad's standalone Claude Code hooks in a global ~/.claude/settings.json file.
|
Package claudehooks installs and detects Stapler Squad's standalone Claude Code hooks in a global ~/.claude/settings.json file. |
|
sqlitedsn
Package sqlitedsn builds modernc.org/sqlite DSN query strings.
|
Package sqlitedsn builds modernc.org/sqlite DSN query strings. |
|
syncutil
Package syncutil provides small synchronization helpers shared across packages that don't otherwise have a natural common dependency.
|
Package syncutil provides small synchronization helpers shared across packages that don't otherwise have a natural common dependency. |
|
Package jules is a self-contained gateway over the Jules alpha API (https://jules.googleapis.com/v1alpha).
|
Package jules is a self-contained gateway over the Jules alpha API (https://jules.googleapis.com/v1alpha). |
|
pkg
|
|
|
analytics
Package analytics provides terminal escape code extraction and analysis
|
Package analytics provides terminal escape code extraction and analysis |
|
ansi
Package ansi provides shared helpers for scanning ECMA-48/ANSI escape sequences.
|
Package ansi provides shared helpers for scanning ECMA-48/ANSI escape sequences. |
|
buildinfo
Package buildinfo holds the build's version/branch/commit/worktree provenance so it can be read from anywhere in the binary — the web UI's version display (server/server.go's /api/server-info) and the CLI's `version` command (main.go) — without server importing main (main already imports server) or duplicating the values.
|
Package buildinfo holds the build's version/branch/commit/worktree provenance so it can be read from anywhere in the binary — the web UI's version display (server/server.go's /api/server-info) and the CLI's `version` command (main.go) — without server importing main (main already imports server) or duplicating the values. |
|
portguard
Package portguard ensures a set of TCP ports are actually free — and, if a matching stale process is still holding one, terminates it — before a caller starts a new process that needs to bind them.
|
Package portguard ensures a set of TCP ports are actually free — and, if a matching stale process is still holding one, terminates it — before a caller starts a new process that needs to bind them. |
|
warren
Package warren is a lightweight lifecycle coordinator for Go applications.
|
Package warren is a lightweight lifecycle coordinator for Go applications. |
|
analytics
Package analytics provides the provider interface and implementations for recording analytics events from the stapler-squad web UI and backend.
|
Package analytics provides the provider interface and implementations for recording analytics events from the stapler-squad web UI and backend. |
|
featureregistry
Package featureregistry is the Go counterpart of the TypeScript feature catalog.
|
Package featureregistry is the Go counterpart of the TypeScript feature catalog. |
|
mcp
Package mcp: thin-client stdio proxy.
|
Package mcp: thin-client stdio proxy. |
|
services
Package services provides the server-side service implementations.
|
Package services provides the server-side service implementations. |
|
workflows
Package workflows provides the WorkflowScheduler for cron-based session automation.
|
Package workflows provides the WorkflowScheduler for cron-based session automation. |
|
Package session: correlation-feasibility spike (Story 1.1.2b, pre-mortem Failure #2).
|
Package session: correlation-feasibility spike (Story 1.1.2b, pre-mortem Failure #2). |
|
cdp
Package cdp provides per-session Chrome DevTools Protocol (CDP) browser streaming.
|
Package cdp provides per-session Chrome DevTools Protocol (CDP) browser streaming. |
|
deeplink
Package deeplink parses the ssq:// URL scheme used for backlog item deep links (ssq://<hostname>/<type>/<version>/<id>).
|
Package deeplink parses the ssq:// URL scheme used for backlog item deep links (ssq://<hostname>/<type>/<version>/<id>). |
|
detection
Package detection: this file implements the TOML→DTO parsing layer for detector plugins (schema v1, see project_plans/detector-plugins/decisions/ADR-003-plugin-toml-schema-v1.md).
|
Package detection: this file implements the TOML→DTO parsing layer for detector plugins (schema v1, see project_plans/detector-plugins/decisions/ADR-003-plugin-toml-schema-v1.md). |
|
detection/binaries
Package binaries provides per-binary BinaryDetector implementations.
|
Package binaries provides per-binary BinaryDetector implementations. |
|
detection/dtypes
Package dtypes contains shared types for the detection package and its sub-packages.
|
Package dtypes contains shared types for the detection package and its sub-packages. |
|
domain
Package domain contains pure domain types for the backlog subsystem.
|
Package domain contains pure domain types for the backlog subsystem. |
|
headless
Package headless provides a subprocess-based interface for running claude -p headlessly.
|
Package headless provides a subprocess-based interface for running claude -p headlessly. |
|
hibernation
Package hibernation provides checkpoint writing and cleanup for hibernated sessions.
|
Package hibernation provides checkpoint writing and cleanup for hibernated sessions. |
|
lifecycle
Package lifecycle classifies "why did this goroutine generation end" from several independent local signals (a deliberate-close flag, a clean-exit flag, ctx.Err()) into a closed Reason, so a subsystem's reconnect/exit- callback decision is one function call instead of a boolean-OR of flags.
|
Package lifecycle classifies "why did this goroutine generation end" from several independent local signals (a deliberate-close flag, a clean-exit flag, ctx.Err()) into a closed Reason, so a subsystem's reconnect/exit- callback decision is one function call instead of a boolean-OR of flags. |
|
memory
Package memory provides session memory measurement for the hibernation sweeper.
|
Package memory provides session memory measurement for the hibernation sweeper. |
|
memory/memorytest
Package memorytest provides test doubles for the memory package.
|
Package memorytest provides test doubles for the memory package. |
|
mux
Package mux provides PTY multiplexing functionality for external Claude sessions.
|
Package mux provides PTY multiplexing functionality for external Claude sessions. |
|
resize
Package resize provides a small tmux-behavior-aware helper for forcing a terminal redraw across a resize.
|
Package resize provides a small tmux-behavior-aware helper for forcing a terminal redraw across a resize. |
|
scanbuf
Package scanbuf provides a pooled buffer for bufio.Scanner instances that need to handle large JSONL lines (base64-encoded tool output, etc.).
|
Package scanbuf provides a pooled buffer for bufio.Scanner instances that need to handle large JSONL lines (base64-encoded tool output, etc.). |
|
sshremote
Package sshremote stores per-remote SSH identity material (private keys and passphrases) in the OS keychain, and generates fresh per-remote keypairs at onboarding.
|
Package sshremote stores per-remote SSH identity material (private keys and passphrases) in the OS keychain, and generates fresh per-remote keypairs at onboarding. |
|
streamhub
Package streamhub provides the single-owner terminal output hub: one StreamHub per tmux session fans output out to N attached Subscribers over a Transport-agnostic interface, and is the sole caller of that session's resize/quiescence/capture-pane surface, eliminating the multi-connection resize/capture race that per-connection ownership allowed.
|
Package streamhub provides the single-owner terminal output hub: one StreamHub per tmux session fans output out to N attached Subscribers over a Transport-agnostic interface, and is the sole caller of that session's resize/quiescence/capture-pane surface, eliminating the multi-connection resize/capture race that per-connection ownership allowed. |
|
tokens
Package tokens provides JSONL-based token usage parsing and aggregation for Claude Code sessions.
|
Package tokens provides JSONL-based token usage parsing and aggregation for Claude Code sessions. |
|
tymux
Package tymux contains the TymuxBackend implementation of session.ProcessManager (session/backend_tymux.go), which delegates to a tymuxd instance over gRPC via the generated Connect-Go client in github.com/tstapler/tymux/clients/go.
|
Package tymux contains the TymuxBackend implementation of session.ProcessManager (session/backend_tymux.go), which delegates to a tymuxd instance over gRPC via the generated Connect-Go client in github.com/tstapler/tymux/clients/go. |
|
unfinished
Package unfinished provides background scanning for git worktrees that have uncommitted changes, commits ahead of the default branch, or commits behind.
|
Package unfinished provides background scanning for git worktrees that have uncommitted changes, commits ahead of the default branch, or commits behind. |
|
unfinished/gogitstore
mmapindex.go implements the mmap-backed .idx loader described in session/unfinished/design/pluggable-gitstore.md §5 ("mmap for the index — designed, not built").
|
mmapindex.go implements the mmap-backed .idx loader described in session/unfinished/design/pluggable-gitstore.md §5 ("mmap for the index — designed, not built"). |
|
vcs
Package vcs provides an abstraction layer over version control systems.
|
Package vcs provides an abstraction layer over version control systems. |
|
vnc
Package vnc provides per-session virtual display and VNC server lifecycle management.
|
Package vnc provides per-session virtual display and VNC server lifecycle management. |
|
workspace
Package workspace provides workspace tracking and status management for stapler-squad sessions.
|
Package workspace provides workspace tracking and status management for stapler-squad sessions. |
|
Package telemetry provides OpenTelemetry instrumentation for stapler-squad.
|
Package telemetry provides OpenTelemetry instrumentation for stapler-squad. |
|
tests
|
|
|
demo/seed
command
seed seeds mock demo sessions into a data directory so the stapler-squad server can be started with pre-populated data for E2E video recording.
|
seed seeds mock demo sessions into a data directory so the stapler-squad server can be started with pre-populated data for E2E video recording. |
|
e2e/sshd
command
Command sshd is a standalone, minimal SSH server used ONLY as a real SSH target for tests/e2e/remote-workspaces.spec.ts (ssh-remote-workspaces Phase 6 Epic 6.3, Story 6.3.1).
|
Command sshd is a standalone, minimal SSH server used ONLY as a real SSH target for tests/e2e/remote-workspaces.spec.ts (ssh-remote-workspaces Phase 6 Epic 6.3, Story 6.3.1). |
|
socket
Package socket provides test helpers for AF_UNIX socket paths.
|
Package socket provides test helpers for AF_UNIX socket paths. |
|
tmuxreap
Package tmuxreap reaps tmux servers left behind by test binaries that were SIGKILLed before their t.Cleanup handlers could run.
|
Package tmuxreap reaps tmux servers left behind by test binaries that were SIGKILLed before their t.Cleanup handlers could run. |
|
wait
Package wait provides polling helpers for tests that cannot import the top-level testutil package due to import cycles with the session package.
|
Package wait provides polling helpers for tests that cannot import the top-level testutil package due to import cycles with the session package. |
|
tools
|
|
|
lint
module
|
|
|
lint/hotpolllog
module
|
|
|
lint/nocommandpattern
module
|
|
|
lint/norawexec
module
|
Click to show internal directories.
Click to hide internal directories.
