[PR #1854] [CLOSED] feat(tools-box): introduce tools modal with builtin tools, mcp, and subagents #10085

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/1854
Author: @spoons-and-mirrors
Created: 8/12/2025
Status: Closed

Base: devHead: feat/tool-box-with-agents


📝 Commits (4)

  • aeb6adc feat(tui): add toolbox modal
  • b11635e refactor
  • 1edb118 rm stupid comments
  • b752f0c Merge branch 'dev' into feat/tool-box-with-agents

📊 Changes

15 files changed (+1439 additions, -13 deletions)

View changed files

📝 packages/opencode/src/cli/bootstrap.ts (+6 -0)
📝 packages/opencode/src/mcp/index.ts (+16 -0)
📝 packages/opencode/src/server/server.ts (+107 -0)
📝 packages/opencode/src/session/index.ts (+118 -1)
📝 packages/opencode/src/tool/registry.ts (+29 -0)
📝 packages/opencode/src/tool/task.ts (+15 -10)
📝 packages/sdk/go/session.go (+1 -0)
📝 packages/tui/internal/app/app.go (+354 -2)
📝 packages/tui/internal/app/state.go (+5 -0)
📝 packages/tui/internal/commands/command.go (+7 -0)
📝 packages/tui/internal/completions/agents.go (+5 -0)
packages/tui/internal/components/dialog/items.go (+146 -0)
📝 packages/tui/internal/components/dialog/search.go (+10 -0)
packages/tui/internal/components/dialog/tools.go (+533 -0)
📝 packages/tui/internal/tui/tui.go (+87 -0)

📄 Description

Introduce the tool box

This feature rich PR provides users with fine-grained control over their Agent's capabilities while maintaining a clean, intuitive interface that integrates seamlessly with the existing TUI experience. Deprecating https://github.com/sst/opencode/pull/1767

image

UX Enhancements

  • Granular: The dialog lets users tailor an agent's complete toolkit without changing global configurations.
  • Clean UX: Toggle anything on or off, the dialog visually distinguishes between default and overridden settings, making it clear how the agent's behavior has been modified.
  • Agent-Specific Configurations: Users can switch between primary agents with the dialog opened (pressing tab) to manage toolsets independently for each one.
  • Fuzzy: Search matches "mcp" and "subagent" categories
  • Persisted: Tool config persists to state and is session(conversation) and agent scoped

Issues

Resolves https://github.com/sst/opencode/issues/1142


🔄 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/1854 **Author:** [@spoons-and-mirrors](https://github.com/spoons-and-mirrors) **Created:** 8/12/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feat/tool-box-with-agents` --- ### 📝 Commits (4) - [`aeb6adc`](https://github.com/anomalyco/opencode/commit/aeb6adcf5abef97562f107aa8c74f69fbbb6003a) feat(tui): add toolbox modal - [`b11635e`](https://github.com/anomalyco/opencode/commit/b11635e602afdcd7b998309843a34786b00e2c84) refactor - [`1edb118`](https://github.com/anomalyco/opencode/commit/1edb118293780397ae060a01407b0d1c6fb5ee71) rm stupid comments - [`b752f0c`](https://github.com/anomalyco/opencode/commit/b752f0cb3dd8043a90f2edec21ca17312e221ab1) Merge branch 'dev' into feat/tool-box-with-agents ### 📊 Changes **15 files changed** (+1439 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/cli/bootstrap.ts` (+6 -0) 📝 `packages/opencode/src/mcp/index.ts` (+16 -0) 📝 `packages/opencode/src/server/server.ts` (+107 -0) 📝 `packages/opencode/src/session/index.ts` (+118 -1) 📝 `packages/opencode/src/tool/registry.ts` (+29 -0) 📝 `packages/opencode/src/tool/task.ts` (+15 -10) 📝 `packages/sdk/go/session.go` (+1 -0) 📝 `packages/tui/internal/app/app.go` (+354 -2) 📝 `packages/tui/internal/app/state.go` (+5 -0) 📝 `packages/tui/internal/commands/command.go` (+7 -0) 📝 `packages/tui/internal/completions/agents.go` (+5 -0) ➕ `packages/tui/internal/components/dialog/items.go` (+146 -0) 📝 `packages/tui/internal/components/dialog/search.go` (+10 -0) ➕ `packages/tui/internal/components/dialog/tools.go` (+533 -0) 📝 `packages/tui/internal/tui/tui.go` (+87 -0) </details> ### 📄 Description ## Introduce the tool box This feature rich PR provides users with fine-grained control over their Agent's capabilities while maintaining a clean, intuitive interface that integrates seamlessly with the existing TUI experience. Deprecating https://github.com/sst/opencode/pull/1767 <img width="391" height="455" alt="image" src="https://github.com/user-attachments/assets/610ca3c6-de5d-4649-88b2-f45cc31551d8" /> ### UX Enhancements - Granular: The dialog lets users tailor an agent's complete toolkit without changing global configurations. - Clean UX: Toggle anything on or off, the dialog visually distinguishes between default and overridden settings, making it clear how the agent's behavior has been modified. - Agent-Specific Configurations: Users can switch between primary agents with the dialog opened (pressing `tab`) to manage toolsets independently for each one. - Fuzzy: Search matches "mcp" and "subagent" categories - Persisted: Tool config persists to state and is session(conversation) and agent scoped #### Issues Resolves https://github.com/sst/opencode/issues/1142 --- <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#10085