[PR #1838] [MERGED] refactor(agent-modal): revamped UI/UX for the agent modal #10081

Closed
opened 2026-02-16 18:14:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1838
Author: @spoons-and-mirrors
Created: 8/11/2025
Status: Merged
Merged: 8/12/2025
Merged by: @thdxr

Base: devHead: feat/modal-agent-revamped


📝 Commits (5)

  • c99d087 refactor(agent-modal): UI revamp for the TUI agent modal
  • 9aa0700 ci: sync
  • 31374c5 Merge branch 'dev' into feat/modal-agent-revamped
  • 33eae1f Merge branch 'dev' into feat/modal-agent-revamped
  • 95d0bf3 Merge branch 'dev' into feat/modal-agent-revamped

📊 Changes

4 files changed (+330 additions, -97 deletions)

View changed files

📝 packages/tui/internal/app/app.go (+43 -1)
📝 packages/tui/internal/app/state.go (+43 -0)
📝 packages/tui/internal/components/dialog/agents.go (+240 -71)
📝 packages/tui/internal/tui/tui.go (+4 -25)

📄 Description

Summary

  • Refactored the TUI agent modal for more consistent UI with models modal
  • Improved user experience with Recent (max 5), Agents, and Subagents categories
  • In list coloring of agent names with their respective color
  • Exposing Subagents in the list so users can use them directly (resolves half of #1832)
  • Future proofing UX for users with many agents and subagents
image

Note

Plan and Build agents description could be added for consistency, I'll leave this for a later date


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1838 **Author:** [@spoons-and-mirrors](https://github.com/spoons-and-mirrors) **Created:** 8/11/2025 **Status:** ✅ Merged **Merged:** 8/12/2025 **Merged by:** [@thdxr](https://github.com/thdxr) **Base:** `dev` ← **Head:** `feat/modal-agent-revamped` --- ### 📝 Commits (5) - [`c99d087`](https://github.com/anomalyco/opencode/commit/c99d087135c6fef17f38b30ede2f955b1b71b4b0) refactor(agent-modal): UI revamp for the TUI agent modal - [`9aa0700`](https://github.com/anomalyco/opencode/commit/9aa0700dc42bf1c8040a6ca5edc6b4f294e6070c) ci: sync - [`31374c5`](https://github.com/anomalyco/opencode/commit/31374c5a4ef9144f955746fdf2a6c2c24446147a) Merge branch 'dev' into feat/modal-agent-revamped - [`33eae1f`](https://github.com/anomalyco/opencode/commit/33eae1f862cfddd51617b7df990cd466c8f3350c) Merge branch 'dev' into feat/modal-agent-revamped - [`95d0bf3`](https://github.com/anomalyco/opencode/commit/95d0bf3bd7de368d0a61a015a646c916046ff3f8) Merge branch 'dev' into feat/modal-agent-revamped ### 📊 Changes **4 files changed** (+330 additions, -97 deletions) <details> <summary>View changed files</summary> 📝 `packages/tui/internal/app/app.go` (+43 -1) 📝 `packages/tui/internal/app/state.go` (+43 -0) 📝 `packages/tui/internal/components/dialog/agents.go` (+240 -71) 📝 `packages/tui/internal/tui/tui.go` (+4 -25) </details> ### 📄 Description ## Summary - Refactored the TUI agent modal for more consistent UI with models modal - Improved user experience with Recent (max 5), Agents, and Subagents categories - In list coloring of agent names with their respective color - Exposing Subagents in the list so users can use them directly (resolves half of [#1832](https://github.com/sst/opencode/issues/1832)) - Future proofing UX for users with many agents and subagents <img width="533" height="280" alt="image" src="https://github.com/user-attachments/assets/da30ca2b-8130-4ca2-91a5-a412c361865c" /> ### Note Plan and Build agents description could be added for consistency, I'll leave this for a later date --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:40 -05:00
yindo closed this issue 2026-02-16 18:14:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10081