[PR #385] [CLOSED] feat(prompts): add support for custom commands #299 #9604

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/385
Author: @tmeire
Created: 6/25/2025
Status: Closed

Base: devHead: feat/299-custom-commands


📝 Commits (3)

  • 16afdee Add support for custom commands in the TUI
  • 9208235 Load the actual command files
  • 4a853e0 Transform commands in the incoming chat messages to the actual prompts

📊 Changes

10 files changed (+473 additions, -155 deletions)

View changed files

📝 opencode.json (+8 -1)
packages/opencode/src/command/command.ts (+126 -0)
📝 packages/opencode/src/config/config.ts (+12 -0)
📝 packages/opencode/src/session/index.ts (+4 -0)
packages/opencode/test/command/command.test.ts (+124 -0)
📝 packages/tui/internal/commands/command.go (+157 -143)
📝 packages/tui/internal/components/chat/editor.go (+13 -5)
📝 packages/tui/internal/components/commands/commands.go (+4 -6)
📝 packages/tui/pkg/client/gen/openapi.json (+19 -0)
📝 packages/tui/pkg/client/generated-client.go (+6 -0)

📄 Description

No description provided


🔄 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/385 **Author:** [@tmeire](https://github.com/tmeire) **Created:** 6/25/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feat/299-custom-commands` --- ### 📝 Commits (3) - [`16afdee`](https://github.com/anomalyco/opencode/commit/16afdee9dfc6f27e528953b8c10f05f54ac8ca3c) Add support for custom commands in the TUI - [`9208235`](https://github.com/anomalyco/opencode/commit/9208235cf63cf39f7126103f06d55ee2694a3847) Load the actual command files - [`4a853e0`](https://github.com/anomalyco/opencode/commit/4a853e0e22efa0f139f11ea672af89d0d3534c81) Transform commands in the incoming chat messages to the actual prompts ### 📊 Changes **10 files changed** (+473 additions, -155 deletions) <details> <summary>View changed files</summary> 📝 `opencode.json` (+8 -1) ➕ `packages/opencode/src/command/command.ts` (+126 -0) 📝 `packages/opencode/src/config/config.ts` (+12 -0) 📝 `packages/opencode/src/session/index.ts` (+4 -0) ➕ `packages/opencode/test/command/command.test.ts` (+124 -0) 📝 `packages/tui/internal/commands/command.go` (+157 -143) 📝 `packages/tui/internal/components/chat/editor.go` (+13 -5) 📝 `packages/tui/internal/components/commands/commands.go` (+4 -6) 📝 `packages/tui/pkg/client/gen/openapi.json` (+19 -0) 📝 `packages/tui/pkg/client/generated-client.go` (+6 -0) </details> ### 📄 Description _No description provided_ --- <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:13:50 -05:00
yindo closed this issue 2026-02-16 18:13:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9604