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

Aperta
#256 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

Start by reading src/components/PromptInput.tsx and trace how it sends prompts and interacts with the agent's PTY. The issue is done when the prompt box exposes and cycles the current mode, and a prompt can be sent using the selected mode; verify the control and sending behavior in the app.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
TypeScript
Stelle
1k
Fork
144
Merge medio
4g 19h
PR unite (30g)
28

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di johannesjo/parallel-code

Tutte le issue di johannesjo/parallel-code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.