Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ With **`/skills` (Alt+K)**, install skills from Git, ZIP files, or local folders
| **Workspace** | Independent agents | Up to four agents per workspace, with separate models, conversations, settings, and approvals |
| **Workspace** | Named workspaces | Organize projects and switch workspaces while background agents keep working |
| **AI** | Agent collaboration | Tag agents with `@` to ask questions, request reviews, and hand off independent tasks |
| **Agents** | External ACP agents | Run an Agent Client Protocol agent (for example Claude Code through an ACP adapter) in its own pane, with tool calls, diffs and permission prompts in the transcript. Opt-in; see [docs/acp.md](docs/acp.md) |
| **Agents** | External ACP agents | Run an Agent Client Protocol agent (for example Claude Code through an ACP adapter) in its own pane, with tool calls, diffs and permission prompts in the transcript. Opt-in; see [ACP setup](#external-agents-acp) |
| **Memory** | Context snapshots | Save a conversation summary and import it into another agent |
| **Memory** | Agent history | Search, preview, and restore closed agents with their conversation context |
| **Tools** | File Explorer and Git review | Browse files, attach references, change directories, and inspect project diffs |
Expand Down Expand Up @@ -254,7 +254,7 @@ Type `/` to see the autocomplete dropdown, or `!` to run a shell command.
| `/agent-new` | Open an independent agent pane (Alt+N) |
| `/agent-focus` | Switch agents; optional left/right (Alt+Left/Right) |
| `/agent-close` | Close the current idle agent |
| `/agent-acp <name>` | Switch this pane to an external ACP agent (such as Claude Code through an adapter); `--new-panel` opens it in a new pane. Also `stop`, `list`, `status`, `restart`, `add`, `test`, `remove`, `enable`, `disable` ([details](docs/acp.md)) |
| `/agent-acp <name>` | Switch this pane to an external ACP agent (such as Claude Code through an adapter); `--new-panel` opens it in a new pane. Also `stop`, `list`, `status`, `restart`, `add`, `test`, `remove`, `enable`, `disable` ([details](#external-agents-acp)) |
| `/agent-rename <name>` | Rename this agent |
| `/agent-settings` | Edit this agent's model, behavior, and integrations (Alt+S) |
| `/agent-file-explorer` | Browse this agent's files and folders (Alt+E) |
Expand Down Expand Up @@ -506,10 +506,26 @@ An optional `acpAgents` section in `~/.mandocode/config.json` (read only from th
The agent runs without a shell, from a real executable (`.exe`/ELF, never `.cmd`, `npx` or a shell), and MandoCode
asks you to confirm the full command before the first start and again whenever it changes. Install the adapter yourself,
at a pinned version; MandoCode never downloads anything. The agent signs in with its own tooling, and
`ANTHROPIC_API_KEY` is not passed to it unless you opt in. See [docs/acp.md](docs/acp.md) for setup, trust, permissions,
file access, the debug trace and what is not supported yet. MandoCode does not sandbox the agent: permission
`ANTHROPIC_API_KEY` is not passed to it unless you opt in. MandoCode does not sandbox the agent: permission
questions are relayed, and the agent applies the answers itself.

Use `/agent-acp add codex` for Codex adapter installation and registration guidance. After registering an agent:

```text
/agent-acp test codex
/agent-acp codex --new-panel
```

Replace `codex` with your configured agent name. Use `/agent-acp-mode` to choose its advertised permission mode,
`/model` to select an available model, and `/agent-acp stop` to return to the native conversation. Agent-provided
slash commands appear with the connected agent's name. Alt+V attaches an image when the agent supports image prompts.

Changing folders restarts only that ACP pane and keeps the transcript. MandoCode attempts to continue its session;
if the adapter starts fresh, choose whether to carry recent text context. A project-change note tells the agent to
re-read files before the next request. `/clear` starts a fresh ACP conversation and discards pending context.
`/agent-acp <name> --resume` requests the remembered session for this folder; `/agent-acp sessions` lists available
sessions when supported. Agent memory and session continuation depend on the adapter.

### Config File

Located at `~/.mandocode/config.json`
Expand Down
2 changes: 2 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ All notable changes to MandoCode will be documented in this file.

### Added

- ACP folder changes retain the selected pane's transcript and attempt to continue its session in the new folder. If the adapter starts fresh, offer a bounded recent-text handoff or a fresh context. Send a project-change note before the next request so the agent rechecks old paths and files. Other ACP panes remain unchanged; `/clear` discards pending handoff context. Use the same concise folder-change wording as native conversations, without repeating the connection card or internal acknowledgment.

- Paste clipboard images into ACP prompts with Alt+V when the connected agent advertises image support. Send in-memory PNG image blocks with text, retain per-pane attachment references and size limits, and explain unsupported agents or expired images without sending an incomplete prompt.

- ACP agent-provided commands appear in slash-command suggestions with the connected agent’s display name (for example `[Codex]`), descriptions, and input hints. Advertised commands and arguments are forwarded to the current agent as prompts; session updates replace the list, and MandoCode commands retain precedence on name collisions.
Expand Down
85 changes: 0 additions & 85 deletions docs/acp-codex.md

This file was deleted.

Loading