internal/

directory
v0.74.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT

Directories

Path Synopsis
Package adapter defines the pluggable interface for AI session data sources, including the core Adapter, Session, Message, and Event types shared by all provider implementations.
Package adapter defines the pluggable interface for AI session data sources, including the core Adapter, Session, Message, and Event types shared by all provider implementations.
amp
Package amp provides an adapter for Amp Code that reads thread JSON files from ~/.local/share/amp/threads/.
Package amp provides an adapter for Amp Code that reads thread JSON files from ~/.local/share/amp/threads/.
cache
Package cache provides a generic thread-safe LRU cache with file-metadata invalidation, along with incremental, tail, and head JSONL readers that share pooled scanner buffers.
Package cache provides a generic thread-safe LRU cache with file-metadata invalidation, along with incremental, tail, and head JSONL readers that share pooled scanner buffers.
claudecode
Package claudecode provides an adapter for Claude Code (Anthropic's CLI) that parses JSONL session files to display conversations and token usage.
Package claudecode provides an adapter for Claude Code (Anthropic's CLI) that parses JSONL session files to display conversations and token usage.
codex
Package codex provides an adapter for Codex CLI that reads session files with two-pass parsing optimization for large conversation files.
Package codex provides an adapter for Codex CLI that reads session files with two-pass parsing optimization for large conversation files.
cursor
Package cursor provides an adapter for Cursor that reads SQLite databases to extract conversation history with workspace-based organization.
Package cursor provides an adapter for Cursor that reads SQLite databases to extract conversation history with workspace-based organization.
geminicli
Package geminicli provides an adapter for Gemini CLI that parses JSON session files with project-specific conversation tracking.
Package geminicli provides an adapter for Gemini CLI that parses JSON session files with project-specific conversation tracking.
kiro
Package kiro provides an adapter for Kiro CLI (kiro-cli from AWS) that queries its SQLite database for conversation history filtered by working directory.
Package kiro provides an adapter for Kiro CLI (kiro-cli from AWS) that queries its SQLite database for conversation history filtered by working directory.
opencode
Package opencode provides an adapter for OpenCode that reads sessions with project indexing and session metadata caching.
Package opencode provides an adapter for OpenCode that reads sessions with project indexing and session metadata caching.
pi
Package pi provides an adapter for Pi AI agent sessions (embedded in OpenClaw).
Package pi provides an adapter for Pi AI agent sessions (embedded in OpenClaw).
piagent
Package piagent implements an adapter for standalone Pi Agent sessions.
Package piagent implements an adapter for standalone Pi Agent sessions.
testutil
Package testutil provides fixture generators for adapter testing and benchmarking, producing realistic JSONL session files in Claude Code and Codex formats.
Package testutil provides fixture generators for adapter testing and benchmarking, producing realistic JSONL session files in Claude Code and Codex formats.
tieredwatcher
Package tieredwatcher implements tiered file watching with a HOT tier using real-time fsnotify and a COLD tier using periodic polling, reducing file descriptor usage while keeping recently active sessions responsive.
Package tieredwatcher implements tiered file watching with a HOT tier using real-time fsnotify and a COLD tier using periodic polling, reducing file descriptor usage while keeping recently active sessions responsive.
warp
Package warp provides an adapter for Warp terminal AI that queries its SQLite database for conversation history filtered by working directory.
Package warp provides an adapter for Warp terminal AI that queries its SQLite database for conversation history filtered by working directory.
Package app implements the root Bubble Tea application model, orchestrating plugins, modals, project switching, themes, and global keyboard bindings.
Package app implements the root Bubble Tea application model, orchestrating plugins, modals, project switching, themes, and global keyboard bindings.
Package community imports and converts community color schemes from Windows Terminal JSON format into sidecar theme overrides.
Package community imports and converts community color schemes from Windows Terminal JSON format into sidecar theme overrides.
Package config handles loading, saving, and validating user configuration from JSON files, including project settings, plugin options, keymaps, and UI preferences.
Package config handles loading, saving, and validating user configuration from JSON files, including project settings, plugin options, keymaps, and UI preferences.
Package event defines typed event structures for system-wide event bus communication including file changes, git updates, and UI refresh notifications.
Package event defines typed event structures for system-wide event bus communication including file changes, git updates, and UI refresh notifications.
Package fdmonitor monitors open file descriptor counts for the current process and logs warnings when configurable thresholds are exceeded.
Package fdmonitor monitors open file descriptor counts for the current process and logs warnings when configurable thresholds are exceeded.
Package features provides a feature flag system for gating experimental functionality, with priority resolution from CLI overrides, config file values, and compiled-in defaults.
Package features provides a feature flag system for gating experimental functionality, with priority resolution from CLI overrides, config file values, and compiled-in defaults.
Package image handles terminal image preview rendering using the Halfblocks protocol, with LRU caching and graphics protocol detection.
Package image handles terminal image preview rendering using the Halfblocks protocol, with LRU caching and graphics protocol detection.
Package keymap manages centralized keyboard shortcut registration, multi-key sequence handling, context-aware binding resolution, and user-configurable key overrides.
Package keymap manages centralized keyboard shortcut registration, multi-key sequence handling, context-aware binding resolution, and user-configurable key overrides.
Package markdown wraps Glamour for cached markdown-to-ANSI rendering with width-based revalidation, falling back to plain text wrapping for narrow terminals.
Package markdown wraps Glamour for cached markdown-to-ANSI rendering with width-based revalidation, falling back to plain text wrapping for narrow terminals.
Package modal provides declarative modal dialog components with automatic hit region management, focus handling, scrolling, and keyboard/mouse interaction.
Package modal provides declarative modal dialog components with automatic hit region management, focus handling, scrolling, and keyboard/mouse interaction.
Package mouse provides mouse interaction infrastructure with hit region testing, click/double-click detection, drag tracking, and scroll event handling for TUI components.
Package mouse provides mouse interaction infrastructure with hit region testing, click/double-click detection, drag tracking, and scroll event handling for TUI components.
Package msg defines common Bubble Tea message types shared across packages, including toast notifications for temporary status displays.
Package msg defines common Bubble Tea message types shared across packages, including toast notifications for temporary status displays.
Package palette implements the command palette UI for fuzzy searching and executing commands, with support for context filtering and keybinding display.
Package palette implements the command palette UI for fuzzy searching and executing commands, with support for context filtering and keybinding display.
Package plugin defines the plugin system interface and registry for registering, managing, and coordinating sidecar plugins with shared context.
Package plugin defines the plugin system interface and registry for registering, managing, and coordinating sidecar plugins with shared context.
plugins
conversations
Package conversations provides the content search functionality for cross-conversation search (searching message content across sessions).
Package conversations provides the content search functionality for cross-conversation search (searching message content across sessions).
filebrowser
Package filebrowser implements the file browser plugin with tree navigation, file preview, quick open, search, git integration, and file operations.
Package filebrowser implements the file browser plugin with tree navigation, file preview, quick open, search, git integration, and file operations.
gitstatus
Package gitstatus implements the git status plugin with staging/unstaging, diff viewing, commit history, branch management, and conflict resolution.
Package gitstatus implements the git status plugin with staging/unstaging, diff viewing, commit history, branch management, and conflict resolution.
tdmonitor
Package tdmonitor embeds the td task manager monitor TUI as a sidecar plugin, providing task/issue tracking with kanban boards and setup flows.
Package tdmonitor embeds the td task manager monitor TUI as a sidecar plugin, providing task/issue tracking with kanban boards and setup flows.
workspace
Package workspace manages git worktrees and tmux sessions for parallel development workflows, with AI agent orchestration, PR fetching, and interactive shell access.
Package workspace manages git worktrees and tmux sessions for parallel development workflows, with AI agent orchestration, PR fetching, and interactive shell access.
Package state manages persistent user state such as diff mode preferences, pane widths, and plugin-specific state per working directory across sessions.
Package state manages persistent user state such as diff mode preferences, pane widths, and plugin-specific state per working directory across sessions.
Package styles defines the visual design system including color palettes, lipgloss styles, gradient tabs, and theme application for consistent UI rendering.
Package styles defines the visual design system including color palettes, lipgloss styles, gradient tabs, and theme application for consistent UI rendering.
Package tdroot provides utilities for resolving td's root directory and database paths.
Package tdroot provides utilities for resolving td's root directory and database paths.
Package theme resolves and applies themes with precedence (project-specific > global > default), supporting both built-in and community color schemes with user overrides.
Package theme resolves and applies themes with precedence (project-specific > global > default), supporting both built-in and community color schemes with user overrides.
Package tty provides an embeddable interactive tmux component for sending keystrokes, mouse events, and clipboard paste to a tmux pane while capturing and rendering its output.
Package tty provides an embeddable interactive tmux component for sending keystrokes, mouse events, and clipboard paste to a tmux pane while capturing and rendering its output.
Package ui provides reusable TUI components including modals, buttons, scrollbars, skeleton loaders, overlays, and text utilities.
Package ui provides reusable TUI components including modals, buttons, scrollbars, skeleton loaders, overlays, and text utilities.
Package version checks GitHub for latest releases, compares semantic versions, and manages update workflows for the sidecar and td binaries.
Package version checks GitHub for latest releases, compares semantic versions, and manages update workflows for the sidecar and td binaries.

Jump to

Keyboard shortcuts

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