[PR #54] [CLOSED] feat: send messages from editor in watch mode #9519

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/54
Author: @PhantomReactor
Created: 5/24/2025
Status: Closed

Base: devHead: filewatcher


📝 Commits (3)

📊 Changes

8 files changed (+297 additions, -37 deletions)

View changed files

📝 README.md (+49 -18)
📝 cmd/non_interactive_mode.go (+2 -2)
📝 cmd/root.go (+15 -10)
cmd/watchmode.go (+219 -0)
📝 internal/llm/agent/agent-tool.go (+1 -1)
📝 internal/llm/agent/agent.go (+8 -4)
📝 internal/tui/components/spinner/spinner.go (+2 -1)
📝 internal/tui/page/chat.go (+1 -1)

📄 Description

Adds support to send messages from any editor

Steps:
Start opencode in watch mode
Add the message to be sent as a comment ending with 'opencode!' and save the file
Save the file to send the message

Demo
https://github.com/user-attachments/assets/335ff153-f8c2-4d8b-b240-d4f4e5e937b9


🔄 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/54 **Author:** [@PhantomReactor](https://github.com/PhantomReactor) **Created:** 5/24/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `filewatcher` --- ### 📝 Commits (3) - [`67c1f92`](https://github.com/anomalyco/opencode/commit/67c1f9217b0f8276399c2d90a473c7b4c630a31e) feat: send messages from editor - [`bd08913`](https://github.com/anomalyco/opencode/commit/bd08913ffac527bc33f6ed6c0e2e2fda937fa90d) update readme - [`94fa748`](https://github.com/anomalyco/opencode/commit/94fa7485a786b866422152da2bfb75c38e907181) merge dev branch ### 📊 Changes **8 files changed** (+297 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+49 -18) 📝 `cmd/non_interactive_mode.go` (+2 -2) 📝 `cmd/root.go` (+15 -10) ➕ `cmd/watchmode.go` (+219 -0) 📝 `internal/llm/agent/agent-tool.go` (+1 -1) 📝 `internal/llm/agent/agent.go` (+8 -4) 📝 `internal/tui/components/spinner/spinner.go` (+2 -1) 📝 `internal/tui/page/chat.go` (+1 -1) </details> ### 📄 Description Adds support to send messages from any editor Steps: Start opencode in watch mode Add the message to be sent as a comment ending with 'opencode!' and save the file Save the file to send the message Demo https://github.com/user-attachments/assets/335ff153-f8c2-4d8b-b240-d4f4e5e937b9 --- <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:42 -05:00
yindo closed this issue 2026-02-16 18:13:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9519