How daylinmorgan/tsm works
Key Components to Include:
Core Components
• User Interface Layer (Terminal-based)
• Session Management Core
• Configuration Handler
• Project Selector
• Tmux Integration Layer
External Dependencies
• Tmux (External System)
• File System (for project directories)
• Environment Variables
Data Flow Representation
• Environment variables (TSM_PATHS, TSM_HEIGHT) flowing into the Configuration Handler
• File system interaction for project discovery
• Communication flow between the core and tmux
Component Relationships
[User Input Layer]
• ↓
[Terminal UI Layer]
• ↓
[Core Processing Layer]
• ↓
[External Integration Layer]
Configuration Flow
• How TSM_PATHS affects project discovery
• Configuration loading from environment variables
Session Management
• Interaction between the selector and tmux
• How project paths are processed and converted to sessions
External Integration
• Boundary between TSM and tmux
• Command execution flow to tmux
Level of Detail:
• Notes for important configuration requirements
Remember to:
• Version control and build workflow components in a separate section
• Relationship between the nimble package manager and the project
• Nix integration for development environment