Skip to content

fix(desktop): 選択したプリセットをAgentManagerの詳細に表示する#198

Merged
MocA-Love merged 1 commit into
mainfrom
fix/187-show-selected-preset
Apr 16, 2026
Merged

fix(desktop): 選択したプリセットをAgentManagerの詳細に表示する#198
MocA-Love merged 1 commit into
mainfrom
fix/187-show-selected-preset

Conversation

@MocA-Love
Copy link
Copy Markdown
Owner

概要

Issue #187 の対応。TODO 作成時に選んだシステムプロンプトプリセットが、AgentManager の詳細ペインから確認できず 「本当に送られているのか」 が見えない問題。

修正

`SessionDetail` の左カラムに `システムプロンプト(プリセット)` の DetailBlock を追加し、`session.customSystemPrompt` が設定されていれば全文をスクロール可能なブロックで表示する。未選択のセッションでは表示しない。

スコープ外(フォローアップ)

Issue 本文で言及されている以下は、スキーマ変更(`todoPromptPresets` への `folder` / `kind` カラム追加)とマイグレーションが必要なので別 PR に切り分けて対応する予定:

  • ワークスペースごとのフォルダ管理
  • プリセットを 「ゴール」 / 「やって欲しいこと」 の 2 タイプに分ける

Test plan

  • プリセット付きで TODO 作成→AgentManager 詳細ペインにプリセット内容が表示される
  • プリセット無しの TODO では当該ブロックが出ない

Refs #187

TODO作成時に選んだシステムプロンプトプリセットが、
AgentManagerの詳細ペインから確認できず 「本当に送られて
いるのか」 が見えない問題への対応。

SessionDetailに 「システムプロンプト(プリセット)」 の
DetailBlockを追加し、customSystemPromptが設定されていれば
全文をスクロール可能なブロックで表示するようにした。

プリセットのフォルダ管理/goal・description 2タイプ化は
スキーマ変更を伴うため別PRで対応する。

Refs #187
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 15, 2026

Warning

Rate limit exceeded

@MocA-Love has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 51 minutes and 53 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 51 minutes and 53 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 21b5e0d6-03d6-4a65-88a3-64b95ee48d48

📥 Commits

Reviewing files that changed from the base of the PR and between 58c8e6f and b49448a.

📒 Files selected for processing (1)
  • apps/desktop/src/renderer/features/todo-agent/TodoManager/TodoManager.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/187-show-selected-preset

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@MocA-Love MocA-Love merged commit 48f017b into main Apr 16, 2026
6 checks passed
@MocA-Love MocA-Love deleted the fix/187-show-selected-preset branch April 16, 2026 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant