opencode
opencode copied to clipboard
The open source coding agent.
### What does this PR do? Fixes #8858 - Prevents crash when local.agent.current() returns undefined. Problem: The TUI crashed with: TypeError: undefined is not an object (evaluating 'local.agent.current().name') This happens...
- Add debug logging to track directories discovered for config scanning - Add logging for agents/commands loaded from each directory - Add regression test reproducing user's setup with .opencode/ directory...
### Description It seems like something is doubling up the OpenGraph and injecting the main route / default OpenGraph Image alongside the one dedicated for `/black`, also a tool like...
### Question haven't really used copilot with other than opencode (not using copilot chat) but lately i feels like copilot models is really slow in my opencode idk where to...
opencode stops working in the middle and gives this error ; AI_InvalidResponseDataError: Expected 'id' to be a string.
### What does this PR do? Fixes #8873 Add guard clause in `onMove` callback to check if option exists before accessing its properties. AI disclosure: I used opencode with Claude...
### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request I...
### Description At compaction with latest git on a regular basis: `AI_InvalidPromptError: Invalid prompt: The messages must be a ModelMessage[]. If you have passed a UIMessage[], you can use convertToModelMessages...
### Description 在模型对话输出的时候,如”Thinking: 您说得对!我需要重新检查。让我删除之前的所有修改文件,重新解压原始文档,然后仔细诊断问题:bashcommand ...“,当出现“bashcommand....”的时候对话中断,不再继续输出。今天更新到1.1.23才出现的,之前使用都没出现。 ### Plugins Oh My OpenCode ### OpenCode version 1.1.23 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System...