Documentation
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
components
|
|
|
agents
agent details component, shows information about the selected agent, such as name, description, model, tools, etc.
|
agent details component, shows information about the selected agent, such as name, description, model, tools, etc. |
|
chat
Package chat provides UI components for rendering chat messages and managing the chat interface in the OpenCode TUI.
|
Package chat provides UI components for rendering chat messages and managing the chat interface in the OpenCode TUI. |
|
dialog
Package dialog provides various dialog components for the OpenCode TUI, including dialogs for arguments, commands, completion, file picking, help, initialization, model selection, permissions, quitting, sessions, and theme switching.
|
Package dialog provides various dialog components for the OpenCode TUI, including dialogs for arguments, commands, completion, file picking, help, initialization, model selection, permissions, quitting, sessions, and theme switching. |
|
diff
Package diff provides shared diff parsing and rendering utilities for the OpenCode TUI.
|
Package diff provides shared diff parsing and rendering utilities for the OpenCode TUI. |
|
editor
Package editor provides UI components for code viewing and editing in the TUI.
|
Package editor provides UI components for code viewing and editing in the TUI. |
|
input
Package input provides the Input Box component with focus state handling.
|
Package input provides the Input Box component with focus state handling. |
|
logs
Package logs provides UI components for displaying application logs in the TUI.
|
Package logs provides UI components for displaying application logs in the TUI. |
|
shared
Package shared provides common UI components for the OpenCode TUI, including modals, spinners, and icon constants.
|
Package shared provides common UI components for the OpenCode TUI, including modals, spinners, and icon constants. |
|
util
Package utilComponents provides reusable UI components for the OpenCode TUI, including a simple list component for displaying selectable items.
|
Package utilComponents provides reusable UI components for the OpenCode TUI, including a simple list component for displaying selectable items. |
|
Package image provides image processing utilities for the OpenCode TUI.
|
Package image provides image processing utilities for the OpenCode TUI. |
|
Package layout provides responsive layout calculations for the OpenCode TUI.
|
Package layout provides responsive layout calculations for the OpenCode TUI. |
|
page chat.go: This file defines the ChatPage, which is the main interface for users to interact with chat sessions, send messages, and view message history.
|
page chat.go: This file defines the ChatPage, which is the main interface for users to interact with chat sessions, send messages, and view message history. |
|
Package styles provides styling utilities for the OpenCode TUI.
|
Package styles provides styling utilities for the OpenCode TUI. |
|
Package util provides utility types and functions for the OpenCode TUI.
|
Package util provides utility types and functions for the OpenCode TUI. |
Click to show internal directories.
Click to hide internal directories.