refactor: remove agent mode and related functionality; update help and README

This commit is contained in:
asepharyana
2026-07-12 03:22:55 +07:00
parent df5775a272
commit 3cfe39e5f2
15 changed files with 8 additions and 144 deletions
+3 -10
View File
@@ -7,7 +7,7 @@ Zesdex is a Rust-powered AI assistant that operates directly in your terminal vi
## Features
- **TUI Interface** — Full-screen terminal UI with chat panel, input bar, and status bar built with ratatui and crossterm.
- **Multi-Agent Modes** — Auto (full autonomy), Normal (review risky ops), Plan (no mutations), Yolo (unrestricted).
- **Rich Tool System** — 20+ built-in tools for file operations, searching, bash execution, git operations, web access, memory management, and workflow orchestration.
- **Daemon Architecture** — Run as a background daemon with client attach/detach via Unix domain sockets.
- **IPC Protocol** — Bidirectional state synchronization between daemon and client processes.
@@ -27,7 +27,7 @@ src/
├── app/ # Application core
│ ├── state/ # State management (AppStateRest, types, misc)
│ ├── runtime/ # Action dispatch and event loop
│ ├── mode/ # Agent mode definitions (Auto/Normal/Plan/Yolo)
│ ├── mode/ # UI modes and overlays
│ ├── harness.rs # Tool harness for agent execution
│ ├── workflow/ # Workflow engine (script, engine)
│ ├── mcp/ # Model Context Protocol manager
@@ -111,7 +111,7 @@ RUST_LOG=debug zesdex
| `Ctrl+Q` | Quit |
| `Ctrl+H` | Help overlay |
| `Ctrl+P` | Settings overlay |
| `Ctrl+A` | Cycle agent mode |
| `Ctrl+A` | Toggle yolo arm |
| `Ctrl+B` | Bash panel |
| `Ctrl+S` | Session hub |
| `Ctrl+T` | Task list |
@@ -132,13 +132,6 @@ RUST_LOG=debug zesdex
| `/settings` | Open settings |
| `/session` | Session management |
## Agent Modes
- **Auto** — Full autonomy. The agent can read, write, edit files, run bash commands, and execute git operations without confirmation.
- **Normal** — Risky operations (write, delete, edit, bash, destructive git) require manual approval.
- **Plan** — Planning mode. The agent can analyze and propose changes but cannot execute mutations.
- **Yolo** — Unrestricted mode. Full autonomy with no confirmation prompts.
## Security
Zesdex includes multiple layers of security: