desktop: permission dialog expands to full command length instead of scrolling
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
まず、デスクトップアプリで使われている共有の権限要求コンポーネントを探してください。issueにはファイル名もテストも記載されていません。複数行にわたる長いシェルコマンドで問題を再現し、コマンドの内容がダイアログの高さにどう影響するかを調べてください。ダイアログの高さが制限され、コマンド領域をスクロールでき、承認ボタンと拒否ボタンにアクセスできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
In the desktop app the permission request dialog expands to fit the whole command. A long multi-line shell command makes the dialog very tall, up to the full screen height. It should have a bounded height with a scrollable area.
Environment
- opencode version: 2.0.32
- OS: macOS 13.7.8 (Darwin 22.6.0, x86_64)
- Terminal: desktop app (not a terminal session)
- Shell: /bin/zsh
- Install/channel: desktop, latest
- Active plugins: none configured (only one MCP server)
Reproduction
- Add an ask rule for shell commands, e.g. a permission with resource * and effect ask.
- Ask the agent to run a long multi-line shell command (20 or more lines).
- The permission dialog appears and shows the entire command.
Expected Behavior
The dialog keeps a fixed maximum height and the command is shown in a scrollable area, so the approve and reject buttons stay reachable.
Actual Behavior
The dialog grows with the command length and takes the full height of the screen.
Additional Context
- Seen while approving multi-line shell commands from a Code Mode agent.
- Workaround: send shorter single-purpose commands.
- Frequency: every time a long command needs approval.
- The same dialog is used for other tools, so the fix likely belongs in the shared permission prompt component.
- 主要言語
- TypeScript
- スター
- 215k
- フォーク
- 28.9k
- 平均マージ
- 8時間 11分
- マージ済み PR(30日)
- 365
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
anomalyco/opencode のほかの issue
-
reproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
anomalyco/opencode#57711 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
anomalyco/opencode#57698 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
pending close triaging
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
anomalyco/opencode#57664 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
anomalyco/opencode#57579 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
anomalyco/opencode#57536 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
anomalyco/opencode の issue をすべて見る
似ている issue
-
check:passed streams:edit
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
area:mcp bug has repro platform:vscode regression
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
anthropics/claude-code#103970 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
sdk-typescript: unquoted COPY globs in shell form are silently dropped from the image build contextオープンbug javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信