cleanup diff, cleanup agent

This commit is contained in:
Kujtim Hoxha 2025-04-13 14:37:05 +02:00
commit cdc5f209dc
19 changed files with 456 additions and 552 deletions

View file

@ -53,6 +53,7 @@ termai -d
### Keyboard Shortcuts
#### Global Shortcuts
- `?`: Toggle help panel
- `Ctrl+C` or `q`: Quit application
- `L`: View logs
@ -60,10 +61,12 @@ termai -d
- `Esc`: Close current view/dialog or return to normal mode
#### Session Management
- `N`: Create new session
- `Enter` or `Space`: Select session (in sessions list)
#### Editor Shortcuts (Vim-like)
- `i`: Enter insert mode
- `Esc`: Enter normal mode
- `v`: Enter visual mode
@ -72,6 +75,7 @@ termai -d
- `Ctrl+S`: Send message (in insert mode)
#### Navigation
- Arrow keys: Navigate through lists and content
- Page Up/Down: Scroll through content
@ -112,16 +116,6 @@ go build -o termai
./termai
```
### Important: Building the Diff Script
Before building or running the application, you must first build the diff script by running:
```bash
go run cmd/diff/main.go
```
This command generates the necessary JavaScript file (`index.mjs`) used by the diff functionality in the application.
## Acknowledgments
TermAI builds upon the work of several open source projects and developers: