Skip to content

Expose the agent's permission/plan mode as a control in the prompt box #256

Description

@jesse-adapta

Environment: Parallel Code 1.12.0 (deb), Linux, Claude Code agent. Code references verified against main @ d000fff65.

Problem

Claude Code has a permission-mode cycle (default → auto-accept edits → plan mode, normally cycled with Shift+Tab). Right now the only way to change it is to click into the agent's terminal pane and press Shift+Tab there.

Request

Add a mode control to PromptInput (src/components/PromptInput.tsx), next to the send button:

  • Shows the agent's current mode.
  • Click (or a keybinding while the prompt box is focused) cycles it — implemented by sending the agent's mode-cycle key to the PTY, so no agent-side integration is needed.
  • Ideally the sent prompt uses whatever mode is selected at send time, so I can pick "plan" and send in one gesture.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions