opencode
opencode copied to clipboard
The open source coding agent.
This adds a `--attach` flag to the acp command. It was almost straight forward except for the default agent relying on bootstrap being run, switched it to use the sdk...
### Description On Windows, Opencode TUI appears to save sessions to %USERPROFILE%\.local\share\opencode\storage\session, but after restarting Opencode the TUI shows no sessions (they vanish from /sessions), even though the session files...
This adds support for a new part type command, which is UI only, not sending to the LLM, showing the command that triggered the action: Non subtask Subtask: This only...
### Description I'm coming back to opencode after a few weeks. `@` used to autocomplete available files in the dir. It's not doing that anymore. It's only showing available agents....
## Summary Simplify if-else blocks to ternary expressions. ## Changes - `packages/opencode/src/util/locale.ts` - `todayTimeOrDateTime` function - `packages/opencode/src/provider/provider.ts` - `getModel` in azure providers (2 instances)
Replace `JSON.parse(JSON.stringify(x))` with `structuredClone(x)` for deep cloning in publish scripts. `structuredClone` is the modern native API for this - cleaner and handles more edge cases correctly.
## Summary Replace `new Promise((resolve) => setTimeout(resolve, ms))` with `Bun.sleep(ms)`. ## Changes - `packages/opencode/src/cli/cmd/auth.ts` - 10ms delay before prompts - `packages/opencode/src/cli/cmd/github.ts` - 1s delay in GitHub app installation retry loop...
## Summary - Add `skills.path` config option to opencode.json - Support additional skill directories with ~ expansion - Scan custom paths in addition to default locations - Add documentation and...
### Description When a tool call triggers a permission dialog (e.g., bash command, file edit), the UI becomes unresponsive. The input area seems to freeze and keyboard input is sluggish...