-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Bug 1: Shell commands are broken in message history
- Send message
!date→ observe that!changes the input box into "Shell" mode, and thendateis input into the box and run as a shell command (correct) - Press
upto recall your last message →dateis recalled into the input box, but it isn't switched intoShellmode, so when you send it it's incorrectly sent as a message to the model instead of as a command to the shell
Bug 2: Shell commands are broken in opencode run
opencode run '!date'→ sends the string!dateto the model instead of runningdateas a shell command
Is the fancy switch into Shell mode actually worthwhile, or would it be better overall to remove that and just interpret messages that start with ! as shell commands? That would be one way to fix both of these issues by doing less, as well as any potential other issues that might be lurking.
OpenCode version
1.0.150
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
macOS 15.5
Terminal
VS Code terminal
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working