Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

desktop: permission dialog expands to full command length instead of scrolling

クローズ 初心者向け
#57,209 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
desktop, frontend

調査の方向性

まず、デスクトップアプリで使われている共有の権限要求コンポーネントを探してください。issueにはファイル名もテストも記載されていません。複数行にわたる長いシェルコマンドで問題を再現し、コマンドの内容がダイアログの高さにどう影響するかを調べてください。ダイアログの高さが制限され、コマンド領域をスクロールでき、承認ボタンと拒否ボタンにアクセスできれば完了です。

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

説明

pending close triaging

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

  1. Add an ask rule for shell commands, e.g. a permission with resource * and effect ask.
  2. Ask the agent to run a long multi-line shell command (20 or more lines).
  3. 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

環境構築

はじめの一歩

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

anomalyco/opencode のほかの issue

anomalyco/opencode の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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