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

オープン
#256 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript
領域
frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
TypeScript
スター
1k
フォーク
144
平均マージ
4日 19時間
マージ済み PR(30日)
28

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

johannesjo/parallel-code のほかの issue

johannesjo/parallel-code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。