Skip to content

Conversation

@xingyaoww
Copy link
Contributor

Summary

This PR updates the ACP documentation to reflect the newly implemented confirmation mode and slash command features.

Changes

Updated Feature List

  • Marked "Confirmation Mode" and "Slash Commands" as ✅ Implemented (previously listed as 🚧 Coming Soon)
  • Updated Prompt Turns description to mention permission support

New Section: Confirmation Modes

Added comprehensive documentation for three confirmation modes:

  1. Always Ask (Default): User confirms each action

    openhands acp  # defaults to always-ask mode
  2. Always Approve: Auto-approve all actions without confirmation

    openhands acp --always-approve
  3. LLM-Based Approval: Intelligent risk-based approval

    openhands acp --llm-approve

Slash Commands

Documented slash commands for changing modes during a session:

  • /confirm always-ask - Switch to always-ask mode
  • /confirm always-approve - Switch to always-approve mode
  • /confirm llm-approve - Switch to LLM-based approval mode
  • /help - Show all available slash commands

Zed IDE Configuration

Added a tip showing how to configure Zed with a specific confirmation mode by default:

{
  "agent_servers": {
    "OpenHands": {
      "command": "uvx",
      "args": ["openhands", "acp", "--always-approve"],
      "env": {}
    }
  }
}

Related PRs

Testing

  • Verified markdown syntax is correct
  • Checked that all code examples are properly formatted
  • Confirmed section ordering makes sense

Co-authored-by: openhands [email protected]

@xingyaoww can click here to continue refining the PR

- Update feature list to mark Confirmation Mode and Slash Commands as implemented
- Add comprehensive Confirmation Modes section explaining three modes:
  - Always Ask (default): user confirms each action
  - Always Approve: auto-approve all actions
  - LLM-Based Approval: intelligent risk-based approval
- Document CLI flags: --always-approve and --llm-approve
- Explain slash commands for changing modes during session (/confirm, /help)
- Add Zed IDE configuration example with mode flags
- Note that mode persists for session duration

Co-authored-by: openhands <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants