Terminal-based AI coding agent with interactive TUI for autonomous code generation.
Features: - Interactive TUI with React/Ink - Autonomous agent with tool calls (bash, read, write, edit, glob, grep) - Permission system with pattern-based rules - Session management with auto-compaction - Dual providers: GitHub Copilot and Ollama - MCP server integration - Todo panel and theme system - Streaming responses - GitHub-compatible project context
This commit is contained in:
42
src/constants/dashboard.ts
Normal file
42
src/constants/dashboard.ts
Normal file
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* Dashboard Constants
|
||||
*/
|
||||
|
||||
export const DASHBOARD_TITLE = "CodeTyper";
|
||||
|
||||
export const DASHBOARD_LAYOUT = {
|
||||
DEFAULT_WIDTH: 120,
|
||||
CONTENT_HEIGHT: 15,
|
||||
LEFT_COLUMN_RATIO: 0.35,
|
||||
PADDING: 3,
|
||||
} as const;
|
||||
|
||||
export const DASHBOARD_LOGO = [
|
||||
" ██████╗███████╗",
|
||||
" ██╔════╝██╔════╝",
|
||||
" ██║ ███████╗",
|
||||
" ██║ ╚════██║",
|
||||
" ╚██████╗███████║",
|
||||
" ╚═════╝╚══════╝",
|
||||
] as const;
|
||||
|
||||
export const DASHBOARD_COMMANDS = [
|
||||
{ command: "codetyper chat", description: "Start interactive chat" },
|
||||
{ command: "codetyper run <task>", description: "Execute autonomous task" },
|
||||
{ command: "/help", description: "Show all commands in chat" },
|
||||
] as const;
|
||||
|
||||
export const DASHBOARD_QUICK_COMMANDS = [
|
||||
{ command: "codetyper chat", description: "Start interactive chat" },
|
||||
{ command: "codetyper run", description: "Execute autonomous task" },
|
||||
{ command: "codetyper --help", description: "Show all commands" },
|
||||
] as const;
|
||||
|
||||
export const DASHBOARD_BORDER = {
|
||||
TOP_LEFT: "╭",
|
||||
TOP_RIGHT: "╮",
|
||||
BOTTOM_LEFT: "╰",
|
||||
BOTTOM_RIGHT: "╯",
|
||||
HORIZONTAL: "─",
|
||||
VERTICAL: "│",
|
||||
} as const;
|
||||
Reference in New Issue
Block a user