Commit Graph

1024 Commits

Author SHA1 Message Date
Camden Clark 80b25c79bb
fix: preserve process.env when spawning formatter commands (#1850) 2025-08-12 02:05:26 -04:00
Dax Raad 1ec71e419b support wildcard matching tool names in config 2025-08-11 23:37:09 -04:00
Dax Raad 2b6afe90d0 fix azure reasoningEffort 2025-08-11 23:20:19 -04:00
Dax Raad 5f34dcc792 azure reasoning effort 2025-08-11 23:04:32 -04:00
Dax Raad fb0a200ecf refactor: replace OPENCODE_AGENTS env var with HTTP API call
Replace environment variable passing of agent data from Node.js to TUI
with proper HTTP API call to /agent endpoint. This improves architecture
by eliminating env var dependencies and allows dynamic agent data fetching.
2025-08-11 22:42:25 -04:00
Dax Raad e6f3cf0839 fix pyright 2025-08-11 22:27:24 -04:00
Dax Raad 7d095d19f6 fix undo/redo when opencode is run in nested folders 2025-08-11 21:59:12 -04:00
Dax Raad 0ca10ec2f5 ignore: log 2025-08-11 21:52:05 -04:00
Dax Raad f03fae03e5 switch back to didUpdate instead of closing and opening file 2025-08-11 21:36:05 -04:00
Dax Raad dac1506680 update anthropic prompt and variables 2025-08-11 21:01:33 -04:00
adamdotdevin ee0519aacc
feat: add clangd for cpp 2025-08-11 19:21:59 -05:00
Aiden Cline b2a4f57d64
feat: add -c and -s args to tui command following run command pattern (#1835) 2025-08-11 18:32:09 -05:00
Dax Raad 0ce7d92a8b ignore: fix share page 2025-08-11 16:12:26 -04:00
Dax Raad 22023fa9e7 remove git bash tool coauthor message 2025-08-11 18:36:06 +00:00
Dax Raad 6eaa231587 Update GPT-5 system prompt to use copilot-specific prompt instead of codex prompt
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-08-11 14:28:49 -04:00
adamdotdevin 5e777fd2a2
feat: toggle tool details visible 2025-08-11 11:58:46 -05:00
Dax Raad 279edb6f24 fix azure gpt config 2025-08-11 10:56:16 -04:00
Dax Raad c51a34bf4b make models key optional in config 2025-08-11 10:54:14 -04:00
Timo Clasen 23757f3ac0
fix: only load the first local and global rule file (#1761) 2025-08-11 08:28:03 -05:00
Aiden Cline df7296cfe1
fix: instructions should be able to handle absolute paths (#1762) 2025-08-11 08:23:41 -05:00
cvzakharchenko 8db75266d0
Issue 1676: Don't eat up the last newline in a multi-line replacement (#1777) 2025-08-11 06:55:45 -05:00
Jake 6c30565d40
Add support for biome.jsonc config file (#1791) 2025-08-11 06:48:46 -05:00
spoons-and-mirrors b223a29603
Fix: Sanitize MCP Tool Names for Consistency in User Expectations (#1769) 2025-08-11 01:59:50 -04:00
Stibbs 8ed72ae087
chore: add OPENCODE env var (#1780) 2025-08-11 01:56:42 -04:00
Dax Raad 6145dfcca0 fix run command to be less messy 2025-08-11 01:45:05 -04:00
Dax Raad 061ba65d20 show combined output of bash tool progressively 2025-08-11 01:23:00 -04:00
Dax Raad 457386ad08 fix plan mode bash tool making changes 2025-08-11 01:15:12 -04:00
Aiden Cline 409a6f93b2
fix: enforce field requirement for cli cmds (#1796) 2025-08-10 22:17:12 -04:00
Dax Raad 70db372466 add OPENCODE_DISABLE_AUTOUPDATE flag 2025-08-10 21:52:52 -04:00
Dax Raad d8dc23bde9 pass through additional agent options to the provider 2025-08-10 21:34:46 -04:00
Tom 1c83ef75a2
fix(plugin): prevent compiled binary hang by removing lazy dynamic import (#1794)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-10 21:31:15 -04:00
Dax Raad 13d3fba86b switch gpt-5 to codex prompt 2025-08-10 20:47:38 -04:00
Dax Raad 3ab4f42ebb support agent options 2025-08-10 20:30:37 -04:00
adamdotdevin b8d2aebf09
feat: thinking blocks rendered in tui and share page 2025-08-10 19:25:03 -05:00
Aiden Cline 542186aa49
feat: webfetch permission support (#1772) 2025-08-10 08:00:44 -05:00
Dax Raad d3ff66e911 use minimal reasoning effort for gpt-5 2025-08-09 15:38:48 -04:00
Aiden Cline 1954b59167
feat: eslint lsp (#1744) 2025-08-09 11:04:58 -05:00
Aiden Cline e2fac991dc
better permissions ux when denying (#1747) 2025-08-09 11:03:33 -05:00
Dax Raad 7bbc643600 remove synthetic message in plan mode, fixes being confused in build mode 2025-08-08 20:45:24 -04:00
Dax Raad 53630ebdce gpt-5 lower verbosity 2025-08-08 20:42:22 -04:00
Dax 85eaa5b58b
Remove unused OpenTelemetry tracing and fix overlapping highlights (#1738)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-08 20:20:01 -04:00
Erick Christian b789844b9c
feat(agent): allow mode selection during creation (#1699) 2025-08-08 20:07:20 -04:00
rmoriz 83f4e8e156
Clarify remote mcp error (#1729)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-08 20:04:26 -04:00
Dax Raad 4f164c53d2 temporary fix for max output token 2025-08-07 22:54:59 -04:00
Dax Raad 8750744068 renable todo tool 2025-08-07 21:47:37 -04:00
Dax Raad 3e74107e36 looser todo tool schema 2025-08-07 21:47:37 -04:00
Dax c34aec060f
Merge agent and mode into one (#1689)
The concept of mode has been deprecated, there is now only the agent field in the config.

An agent can be cycled through as your primary agent with <tab> or you can spawn a subagent by @ mentioning it. if you include a description of when to use it, the primary agent will try to automatically use it

Full docs here: https://opencode.ai/docs/agents/
2025-08-07 16:32:12 -04:00
Timo Clasen 723a37ea9a
fix: get session api (#1684) 2025-08-07 15:28:18 -04:00
Dax Raad 1a561bb512 add api to get session 2025-08-06 20:24:36 -04:00
Timo Clasen 54457e48bb
fix(docs): small_model is not used for summarization (#1360) 2025-08-06 14:03:14 -05:00
Dax Raad 28a4517ec6 add `snapshot` field in config to disable snapshots 2025-08-06 11:35:37 -04:00
Yihui Khuu 90d2b26426
fix: run command should use specified model from cli args if provided (#1648) 2025-08-06 05:39:44 -05:00
Aiden Cline 6beba2c04f
docs: document permissions (#1638) 2025-08-06 05:18:08 -05:00
Aiden Cline ad10d3a126
fix: handle undefined agent in task tool (#1642) 2025-08-06 05:16:43 -05:00
Aiden Cline a48274f82b
permissions disallow support (#1627) 2025-08-05 19:14:28 -05:00
Timo Clasen 49aa48ce58
fix: prevent title regeneration on auto compact (#1628) 2025-08-05 17:15:50 -05:00
Dax Raad 857a3cd522 hint back to llm when tool does not exist 2025-08-05 15:58:12 -04:00
Yihui Khuu 2b195e82ee
fix: allow disabling the default general agent (#1616) 2025-08-05 05:20:00 -05:00
Aiden Cline 7a495faa49
fix: server.root is not a function (#1614) 2025-08-05 05:17:32 -05:00
Timo Clasen 4957fca718
fix(plugins): improve session idle event (#1615) 2025-08-05 05:16:43 -05:00
Mahamed-Belkheir 5bf7691ea6
fix: default value for models with no cost object (#1601) 2025-08-04 16:45:35 -05:00
Dax Raad 0a42068fbb hack to return tool call errors back to model 2025-08-04 12:15:24 -04:00
Aiden Cline ae78ec7a0c
fix double help printing (#1580) 2025-08-04 05:03:27 -05:00
Dax Raad f85d30c484 wip: plugins 2025-08-03 21:43:58 -04:00
Dax Raad 1bac46612c wip: plugin load from package 2025-08-03 21:19:03 -04:00
Yordis Prieto ed397c5057
chore: add ts-expected-error (#1575) 2025-08-03 17:09:19 -04:00
Yordis Prieto c9187a9f3a
chore: remove unnecessary TypeScript error suppression (#1571) 2025-08-03 15:50:08 -04:00
Dax Raad cd58f10e3c ci: ignore 2025-08-03 15:38:39 -04:00
Dax Raad ea85fdf3cd fix bash tool not showing stderr 2025-08-03 15:34:52 -04:00
Aiden Cline edda26ab33
tweak: filter out duplicate instructions (#1567) 2025-08-03 15:10:21 -04:00
Dax Raad ea4e1913c0 increase models.dev polling interval to hourly 2025-08-03 14:58:35 -04:00
Dax Raad 21c52fd5cb fix bash tool getting stuck on interactive commands 2025-08-03 13:52:50 -04:00
Dax Raad 06830327e7 more efficient snapshots in parallel toolcalls 2025-08-03 12:12:28 -04:00
Dax Raad 99d3a0bb24 more fixes for shell 128 error 2025-08-03 11:25:58 -04:00
Dax Raad 53aa899e45 ci: ignore 2025-08-03 10:42:52 -04:00
Dax Raad 7e763e1c06 fix shell error 128 2025-08-03 10:30:23 -04:00
Aiden Cline f90aa62784
fix: expand tilde for file: references (#1553) 2025-08-03 06:15:06 -05:00
Dax Raad ca031278ca wip: plugins 2025-08-02 18:50:19 -04:00
Aiden Cline ae6e47bb42
tweak: make gh action ignore url mentions of opencode (#1531) 2025-08-02 09:31:23 -05:00
Aiden Cline 0b132c032a
ignore: fix dev branch (#1529) 2025-08-02 09:11:38 -05:00
Ricardo Gonzalez 8f45a0e227
feat(models): enable Kimi k2 ⇄ Claude trajectory handoff (#1525) 2025-08-01 23:05:06 -04:00
Aiden Cline 80d68d01f4
better configuration error messages (#1517) 2025-08-01 19:10:32 -04:00
Dax Raad 71cd84dbbb force models.dev refresh on auth login 2025-08-01 17:48:01 -04:00
Dax Raad e1b7e25f4d make top_p configurable 2025-08-01 17:03:33 -04:00
Dax Raad 98b6bb218b configurable lsp 2025-08-01 14:52:10 -04:00
CodinCat 510fe8a72a
handle the optional `v` in upgrade command when using curl (#1500) 2025-08-01 14:15:22 -04:00
Dax Raad e74b4d098b allow search in provider select 2025-08-01 14:03:22 -04:00
Dax Raad 50e4b3e6a7 add version to user-agent 2025-08-01 12:18:09 -04:00
Aiden Cline 022c979d28
tweak: sanitize mcp server names (#831) 2025-08-01 09:11:40 -05:00
Aiden Cline 4172e3ad28
fix: bash tool errors for chmod (#1502) 2025-08-01 09:10:09 -05:00
Aiden Cline 90d1698aed
fix: {file:...} references weren't being parsed correctly in some cases (#1499) 2025-08-01 08:39:21 -05:00
Dax Raad a0d2e53bde poll for models.dev changes 2025-07-31 23:47:42 -04:00
Dax Raad 851e900982 add user agent for models.dev request 2025-07-31 22:00:45 -04:00
Dax Raad 3aa6eeb426 do not mark errored tool calls as aborted 2025-07-31 21:45:40 -04:00
Dax Raad b6ee8e92f9 better guarding against bash commands that go outside of cwd 2025-07-31 21:42:30 -04:00
Dax Raad 12f84f198f improve wildcard matching for permissions 2025-07-31 20:40:05 -04:00
Dax Raad 30e10127f2 formatter config 2025-07-31 19:36:07 -04:00
Dax Raad 04e3e83db3 allow disabling formatter 2025-07-31 18:56:04 -04:00
Dax Raad 4273714a62 fix issue with some bash commands asking for permission 2025-07-31 18:35:51 -04:00
Dax Raad 5e72f50554 wip: permissions 2025-07-31 17:19:56 -04:00
Dax Raad d558f15c91 ignore: ts optimization 2025-07-31 16:54:15 -04:00
Dax Raad 614a23698f wip: permissions 2025-07-31 16:51:55 -04:00
Dax Raad a2191ce6fb wip: permissions 2025-07-31 16:38:37 -04:00
Aiden Cline 168350c981
fix: load global jsonc (#1479) 2025-07-31 15:02:28 -05:00
Aiden Cline f5f55062f1
fix: session ordering (#1474) 2025-07-31 14:17:47 -05:00
Dax Raad a5b20f973f wip: refactor permissions 2025-07-31 12:26:47 -04:00
adamdotdevin 872b1e068f
feat: more scriptable tui (api) 2025-07-31 11:24:23 -05:00
adamdotdevin c5368e7412
fix: missing operationId 2025-07-31 10:19:42 -05:00
adamdotdevin d9210af98c
fix: optional toolCallID 2025-07-31 10:09:44 -05:00
adamdotdevin 5500698734
wip: tui permissions 2025-07-31 09:59:17 -05:00
Dax Raad b14da5fb1f ci: tweak 2025-07-31 09:35:57 -04:00
Aiden Cline 7e9050edb9
feat: jsonc configuration file support (#1434) 2025-07-31 06:25:26 -05:00
Aiden Cline 3c49a9b7dd
fix: process revert cleanup before creating new messages (#1448) 2025-07-31 05:07:59 -05:00
Dax 0bdbe6261a ci: new publish method (#1451) 2025-07-31 01:05:35 -04:00
Dax 33cef075d2
ci: new publish method (#1451) 2025-07-31 01:00:29 -04:00
Simon Westlin Green b09ebf4645
Use responses API for Azure (#1428) 2025-07-30 23:22:59 -04:00
Robert Holden 3268c61813
feat: mode directory markdown configuration loading (#1377) 2025-07-30 23:22:43 -04:00
Josh 4a221868da
Add http-referer header for vercel ai gateway requests (#1403) 2025-07-30 23:22:24 -04:00
Yordis Prieto 31b8e3d5ab
docs: clarify Bun's default registry resolution in index.ts (#1438) 2025-07-30 23:21:07 -04:00
CodinCat 1a78d833a8
fix typo in bash.ts (#1444) 2025-07-30 23:20:48 -04:00
Dax 18888351e9
use treesitter to parse bash commands and catch commands that go outside of cwd (#1443) 2025-07-30 20:57:52 -04:00
Dax Raad 6ef4cfa2fa lower max retries to 3 - ai sdk currently cannot abort during a retry delay so things appear to be frozen 2025-07-30 15:08:25 -04:00
Aiden Cline 1b3d58e791
fix: prevent read tool from opening binary files and corrupting session (#1425) 2025-07-30 11:00:23 -05:00
Dax Raad 8bf36d174b update beast prompt for openai models 2025-07-29 22:15:13 -04:00
Dax Raad 9bedd62da4 experimental well-known auth support 2025-07-29 19:30:51 -04:00
Dax Raad 7e9ac35666 remove min/max in tool schemas 2025-07-29 17:39:47 -04:00
Frank 4a46144419 convert share backend to hono app 2025-07-29 16:39:48 -04:00
Dax Raad df03e182d2 strip todo tool instructions from non anthropic models 2025-07-29 11:56:53 -04:00
Jacob Hands 862a50d61d
feat: add OPENCODE_CONFIG env var for specifying a custom config file (#1370) 2025-07-29 11:03:11 -04:00
Aiden Cline c165360e17
fix: task type error (#1384) 2025-07-29 06:18:34 -05:00
Dax Raad 9cb0f21b4e trim opencode title 2025-07-28 23:24:38 -04:00
Dax Raad 9c9cbb3e81 wip: undo properly remove messages from UI 2025-07-28 22:58:31 -04:00
Dax Raad c24fbb4292 wip: snapshot 2025-07-28 22:58:31 -04:00
Jay V b65172a2b7 Tweak auth cli copy 2025-07-28 20:00:30 -04:00
Dax Raad f2bdb8159f fix phantom tool call failed messages and empty text parts with some models 2025-07-28 12:19:38 -04:00
Aiden Cline b18b646f8e
fix: attachment bugs (#1335) 2025-07-27 12:21:31 -05:00
Frank 9741a6703c fix input format affected by installing vscode extension 2025-07-27 11:56:18 -04:00
Frank 27a079d9cb simplify github action 2025-07-27 09:56:09 -04:00
Aiden Cline ad8a4bc744
fix: strip thinking blocks from title (#1325) 2025-07-26 08:29:04 -05:00
Frank 670f470eee wip: github actions 2025-07-26 02:49:05 -04:00
Frank a007d65f62 wip: github actions 2025-07-25 20:27:42 -04:00
Didier Durand 2c924b9fdb
fixing various typos in text. (#1185) 2025-07-25 20:20:01 -04:00
Dax Raad e8eaa77bf1 better mcp support - should fix hanging when streamable http server is added 2025-07-25 19:19:47 -04:00
Frank a07f37073b wip: github actions 2025-07-25 19:05:55 -04:00
Dax Raad 6b7058fe1c qwen optimizations it works good now 2025-07-25 18:31:08 -04:00
Frank 1149b984d9 wip: github actions 2025-07-25 18:29:53 -04:00
Frank 3a7a2a838e wip: github actions 2025-07-25 17:34:47 -04:00
Dax Raad 10ae43a121 wip: sync 2025-07-25 15:52:27 -04:00
Dax Raad c85b970903 wip: drop 2025-07-25 15:51:02 -04:00
Dax Raad 7044662cfa handle uploaded text/plain 2025-07-25 15:48:42 -04:00
kehanzhang 92656fdf29
fix(headless): respect mode passed to /message endpoint (#1300) 2025-07-25 15:26:49 -04:00
Dax Raad e97613ef9f allow temperature to be configured per mode 2025-07-25 13:29:44 -04:00
Dominik Engelhardt 827469c725
fix: apply content-level caching for non-anthropic providers (#1305) 2025-07-25 12:19:44 -04:00
Yihui Khuu 613b5fbe48
feat: add csharp lsp (#1312) 2025-07-25 12:17:06 -04:00
Dax Raad 7ed05962db fix issue with trailing whitespace error in assistant message 2025-07-25 10:56:16 -04:00
Dax Raad 250a86ec52 fix reading model from config 2025-07-25 10:53:37 -04:00
Dax Raad 8e5607f9c0 fix double system prompt 2025-07-25 10:28:42 -04:00
Dax Raad d6b3bb0807 disable todo tools by default in agent 2025-07-25 10:23:23 -04:00
Dax Raad f307a5ce0b fix symlinked agents 2025-07-25 10:20:16 -04:00
Dax Raad 8dcd39f5b7 real life totally configurabl ai subasians 2025-07-24 21:21:02 -04:00
Filip 01f75839a9
Fix: added environment() to summarize() (#1290) 2025-07-24 18:24:54 -04:00
Dax Raad 4306f1a339 wip: handle deleting file 2025-07-24 17:49:23 -04:00
Dax Raad aa2a5057ac wip: fix type errors 2025-07-24 17:38:11 -04:00
Dax Raad 284c01018e wip: more snapshot stuff 2025-07-24 17:38:11 -04:00
Clay Warren d50ae8e4d4
feat: Replace unzip with @zip.js/zip.js for Windows compatibility (#662) 2025-07-24 16:49:04 -04:00
Filip e9074e60cf
fix: add custom() to system prompt on summarize (#1289) 2025-07-24 16:48:17 -04:00
Filip 541a7a39d3
fix: edit tool (#1287) 2025-07-24 16:18:04 -04:00
Jesse van der Pluijm 34f6ffe1d7
Check if modelID includes "claude" for antropic/claude prompt caching (#1284) 2025-07-24 11:31:28 -04:00
Dax Raad a11999137f disable snapshots 2025-07-24 11:08:20 -04:00
Dax Raad 2c82ee592c wip: always force create snapshot 2025-07-23 20:46:43 -04:00
Dax Raad 1ad529db59 wip: fix redoing 2025-07-23 20:42:02 -04:00
Dax 96866e52ce
basic undo feature (#1268)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
Co-authored-by: Jay V <air@live.ca>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Andrew Joslin <andrew@ajoslin.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Tobias Walle <9933601+tobias-walle@users.noreply.github.com>
2025-07-23 20:30:46 -04:00
Yihui Khuu 507c975e92
feat: pass mode into task tool (#1248) 2025-07-23 20:29:59 -04:00
Dax Raad 2051e85e96 remove providers path 2025-07-23 12:15:31 -04:00
Dax Raad 12b86829d9 add debug paths command 2025-07-23 12:14:54 -04:00
Aiden Cline b7b0cdbd7c
tweak: ensure most recently interacted with session appears at the top (#1239) 2025-07-22 22:37:36 -05:00
Dax Raad fd98c3189a config: improve config schema 2025-07-22 20:35:40 -04:00
Dax Raad 5aafab118f wip: tui api 2025-07-22 12:15:50 -04:00
Dax Raad f20ef61bc7 wip: api for tui 2025-07-21 19:53:58 -04:00
Frank 5611ef8b28 wip: vscode extension 2025-07-21 19:10:57 -04:00
Dax Raad 2d84dadc0c fix broken attachments 2025-07-21 15:38:41 -04:00
Dax Raad 45c0578b22 fix title generation bug 2025-07-21 15:23:47 -04:00
Dax 1ded535175
message queuing (#1200) 2025-07-21 15:14:54 -04:00
Dax Raad 733c9903ec do not snapshot nongit projects for now 2025-07-20 13:59:30 -04:00
Frank 933d50e25a wip: github actions 2025-07-20 12:36:53 -04:00
adamdotdevin 2bf9d5d4ec
wip: file part source in server/api (optional) 2025-07-20 05:39:18 -05:00
Aiden Cline 03de0c406d
fix: title generation for certain providers (#1159) 2025-07-19 20:01:55 -05:00
Timo Clasen a524fc545c
fix(hooks): prevent session_complete hook from firing on subagent sessions (#1149) 2025-07-19 18:20:07 -05:00
Dax Raad 4316edaf43 fix first run github copilot 2025-07-19 19:19:38 -04:00
Dax Raad 8f64c4b312 disable todo tools when running as task 2025-07-19 15:54:11 -04:00
Dax Raad 6465c9c44a fix openrouter caching 2025-07-19 15:11:21 -04:00
Dax Raad c1d87c32a2 remove log level from config 2025-07-19 13:37:02 -04:00
Dax Raad 86d5b25d18 pass through model.options properly without having to nest it under provider name. you may have to update your configs see https://opencode.ai/docs/models/#openrouter for an example 2025-07-19 12:41:58 -04:00
Dax Raad 4bbbbac5f6 vercel ai gateway 2025-07-19 10:08:36 -04:00
Rami Chowdhury f1da70b1de
feat(provider): add Gemini tool schema sanitization (#1132) 2025-07-18 16:02:54 -04:00
Timo Clasen 18abcab208
feat(config): make small model configurable (#1030) 2025-07-18 14:16:50 -04:00
adamdotdevin 611854e4b6
feat(tui): simpler layout, always stretched 2025-07-18 13:03:27 -05:00
Dax d56dec4ba7
wip: optional IDs in api (#1128) 2025-07-18 13:42:50 -04:00
Dax Raad c952e9ae3d message rendering performance improvements 2025-07-18 13:40:07 -04:00
adamdotdevin 9964d8e6c0
fix: model cost overrides 2025-07-18 05:08:35 -05:00
Aiden Cline edfea03917
tweak: fix [object Object] in logging (#1114) 2025-07-18 04:41:23 -05:00
Mike Wallio 99b9390d80
Update to a customized beast mode v3 for opencode. (#1109) 2025-07-17 20:10:06 -05:00
Dax Raad 23c30521d8 only enable ruff if it seems to be used 2025-07-17 18:07:06 -04:00
Wendell Misiedjan e681d610de
feat: support AWS_BEARER_TOKEN_BEDROCK for amazon bedrock provider autoloading (#1094) 2025-07-17 09:12:30 -05:00
Aiden Cline a1fdeded3e
tweak: allow mcp servers to include headers (#1096) 2025-07-17 09:11:48 -05:00
Timo Clasen 3c6c2bf13b
docs(share): add explicit manual share mode (#1074) 2025-07-16 16:08:25 -05:00
adamdotdevin 9d869f784c
fix(tui): expand edit calls 2025-07-16 14:33:57 -05:00
Dax Raad dd34556e9c only include severity 1 diagnostics from lsp in edit tool output 2025-07-16 15:25:37 -04:00
Aiden Cline a4664e2344
fix: generate title should use same options as model it uses to gen (#1064) 2025-07-16 12:46:52 -05:00
adamdotdevin cdc1d8a94d
feat(tui): layout config to render full width 2025-07-16 12:43:02 -05:00
Aiden Cline 70229b150c
Fix: better title generation (needs to change due to small models) (#1059) 2025-07-16 11:47:56 -05:00
Jeremy Mack 5d67e13df5
fix: grep omitting text after a colon (#1053) 2025-07-16 09:09:05 -05:00
Adi Yeroslav 57d1a60efc
feat(tui): shift+tab to cycle modes backward (#1049) 2025-07-16 07:43:48 -05:00
Nipuna Perera add81b9739
Enhance private npm registry support (#998) 2025-07-16 08:31:38 -04:00
adamdotdevin 6a5a4247c6
fix(gh): build 2025-07-16 06:13:43 -05:00
Robin Moser f45deb37f0
fix: don't sign snapshot commits (#1046) 2025-07-16 04:46:32 -05:00
Frank 20b8efcc50 wip: github actions 2025-07-16 15:36:23 +08:00
Frank a86d42149f wip: github actions 2025-07-16 14:59:53 +08:00
Dax Raad 05bb127a8e enable bash tool in plan mode 2025-07-15 21:28:03 -04:00
aron 1bbd84008f
move spoof prompt to support anthropic with custom modes (#1031) 2025-07-15 21:16:27 -04:00
Stephen Murray fdfd4d69d3
add support for modified gemini-cli system prompt (#1033)
Co-authored-by: Dax Raad <d@ironbay.co>
2025-07-15 21:13:11 -04:00
Joe Schmitt 8bd250fb15
feat(tui): add /export command to export conversation to editor (#989)
Co-authored-by: opencode <noreply@opencode.ai>
2025-07-15 13:53:21 -05:00
Dax Raad b1ab641905 add small model for title generation 2025-07-15 14:00:52 -04:00
Aiden Cline bbeb579d3a
tweak: (opencode run): adjust tool call rendering, reduce number of "Unknowns" (#1012) 2025-07-15 11:22:57 -05:00
adamdotdevin 6b98acb7be
chore: update stainless defs 2025-07-15 10:03:11 -05:00
Dax Raad b5c85d3806 fix logic for suprpessing snapshots in big directories 2025-07-15 09:07:04 -04:00
Dax Raad bcf952bc8a upgrade ai sdk 2025-07-15 09:06:35 -04:00
Dax Raad 4b2ce14ff3 bring back task tool 2025-07-15 00:05:54 -04:00
Jase Kraft 294a11752e
fix: --continue pull the latest session id consistently (#918)
Co-authored-by: Dax Raad <d@ironbay.co>
2025-07-14 20:32:00 -04:00
CodinCat d6eff3b3a3
improve error handling and logging for GitHub API failures in upgrade and install script (#972) 2025-07-14 20:13:12 -04:00
Mike Wallio f593792fb5
Standardize parameter description references in Edit and MultiEdit tools (#984) 2025-07-14 20:03:59 -04:00
Dax Raad 2cdb37c32b support anthropic console login flow 2025-07-14 18:07:55 -04:00
Dax Raad b4e4c3f662 wip: snapshot 2025-07-14 15:29:08 -04:00
Dax Raad a2002c88c6 wip: update sdk 2025-07-14 11:18:08 -04:00
opencode-agent[bot] d8bcf4f4e7
Fix issue: Option to update username shown in conversations. (#975)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: thdxr <thdxr@users.noreply.github.com>
2025-07-14 11:03:04 -04:00
Dax Raad 31e0326f78 fix init command and escape to cancel 2025-07-14 10:48:17 -04:00
Dax Raad 06554efdf4 get rid of cli markdown dep 2025-07-13 23:06:31 -04:00
Dax Raad 53bb6b4c4f fix missing tokens 2025-07-13 22:56:29 -04:00
Dax Raad 73d54c7068 fix type error 2025-07-13 17:25:13 -04:00
Dax 90d6c4ab41
Part data model (#950) 2025-07-13 17:22:11 -04:00
opencode-agent[bot] 736396fc70
Added sharing config with auto/disabled options (#951)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: thdxr <thdxr@users.noreply.github.com>
2025-07-13 16:43:58 -04:00
Dax Raad 91f8477ef5 wip: mcp 2025-07-13 16:22:16 -04:00
Aiden Cline bb28b70700
Fix: title generation (#949) 2025-07-13 14:46:36 -05:00
Dax Raad 17fa8c117b fix packages being reinstalled on every start 2025-07-12 12:41:12 -04:00
Muzammil Khan 9aa0c40a00
feat: add more ignore patterns to the ls tool (#913) 2025-07-12 12:06:58 -04:00
Dax Raad 1254f48135 fix issue preventing things from working when node_modules or package.json present in ~/ 2025-07-11 21:09:39 -04:00
Dax Raad 1729c310d9 switch global config to ~/.config/opencode/opencode.json 2025-07-11 20:51:23 -04:00
zWing 3249420ad1
fix: avoid overwriting the provider.option.baseURL (#880) 2025-07-11 18:01:28 -04:00
Dax Raad 4bb8536d34 introduce cache version concept for auto cleanup when breaking cache changes happen 2025-07-11 17:50:49 -04:00
Dax Raad 57ac8f2741 wip: stats 2025-07-11 17:37:41 -04:00
Sergii Kozak b4950a157c
fix(session): add fallback for undefined output token limit (#860)
Co-authored-by: opencode <noreply@opencode.ai>
2025-07-11 10:55:13 -04:00
alexz dfbef066c7
fix: ENAMETOOLONG: name too long when adding custom mode (#881) 2025-07-11 10:54:52 -04:00
Dax Raad c056b0add9 add step finish part 2025-07-10 16:25:38 -04:00
Dax Raad b00bb3c083 run: properly close session.list 2025-07-10 16:13:01 -04:00
Dax Raad d9befd3aa6 disable filewatcher, fixes file descriptor leak 2025-07-10 15:58:45 -04:00
Dax Raad 49de703ba1 config: escape file: string content 2025-07-10 15:38:58 -04:00
Aiden Cline 8b2a909e1f
fix: encode & decode file paths (#843) 2025-07-10 11:19:54 -05:00
Dax Raad b5d690620d support env and file pointers in config 2025-07-10 11:45:31 -04:00
Dax Raad 9db3ce1d0b opencode run respects mode 2025-07-10 11:28:28 -04:00
Dax Raad 1cc55b68ef wip: scrap 2025-07-10 11:25:37 -04:00
Dax Raad 469f667774 set max output token limit to 32_000 2025-07-10 11:25:37 -04:00
adamdottv 6603d9a9f0
feat: --mode flag passed to tui 2025-07-10 10:19:25 -05:00
adamdottv 5dc1920a4c
feat: mode flag in cli run command 2025-07-10 10:13:15 -05:00
adamdottv ce4cb820f7
feat(tui): modes 2025-07-10 10:06:51 -05:00
Dax Raad ba5be6b625 make LSP lazy again 2025-07-10 09:37:40 -04:00
Dax Raad f478f89a68 temporary grok 4 patch 2025-07-10 07:57:55 -04:00
Dax Raad 85d95f0f2b disable lsp on non-git folders 2025-07-10 07:39:02 -04:00
Dax Raad 1515efc77c fix session is busy error 2025-07-10 07:27:03 -04:00
adamdottv 85dbfeb314
feat(tui): @symbol attachments 2025-07-10 05:53:00 -05:00
Dax Raad 085c0e4e2b respect go.work when spawning LSP 2025-07-09 22:54:47 -04:00
Dax Raad 8404a97c3e better detection of prettier formatter 2025-07-09 22:37:31 -04:00
Dax Raad 0ee3b1ede2 do not wait for LSP to be fully ready 2025-07-09 21:59:38 -04:00
Dax Raad a826936702 modes concept 2025-07-09 21:59:38 -04:00
Mike Wallio 1f6efc6b94
Add gpt-4.1 beast prompt (#778)
Co-authored-by: Dax Raad <d@ironbay.co>
2025-07-09 12:11:54 -04:00
Frank Denis 727fe6f942
LSP: fix SimpleRoots to actually search in the root directory (#795) 2025-07-09 10:35:06 -05:00
Dax Raad f383008cc1 lsp: spawn only a single tsserver in project root 2025-07-09 11:06:44 -04:00
adamdottv 53f8e7850e
feat: configurable log levels 2025-07-09 10:00:03 -05:00
adamdottv ca8ce88354
feat(tui): move logging to server logs 2025-07-09 08:16:10 -05:00
Dax Raad 75279e5ccf wip: symbols endpoint 2025-07-08 20:05:33 -04:00
Dax Raad 00ea5082e7 add typescript lsp timeout if it fails to start 2025-07-08 18:33:12 -04:00
Dax Raad 4a878b88c0 properly load typescript lsp in subpaths 2025-07-08 18:18:45 -04:00
Dax Raad 6de955847c big rework of LSP system 2025-07-08 18:14:49 -04:00
Timo Clasen 1e07384364
fix: make compact command interruptible (#691)
Co-authored-by: GitHub Action <action@github.com>
2025-07-08 15:37:25 -05:00
strager 4c4739c422
fix(tool): fix ripgrep invocation on Windows (#700)
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2025-07-08 15:36:26 -05:00
Rami Chowdhury 2d8b90a6ff
feat(storage): ensure storage directory exists and handle paths correctly (#771) 2025-07-08 15:34:11 -05:00
Robb Currall a2fa7ffa42
fix: support cancelled task state (#775) 2025-07-08 15:33:39 -05:00
Frank Denis f7d6175283
Add support for the Zig Language Server (ZLS) (#756) 2025-07-08 15:31:11 -05:00
Gal Schlezinger 14d81e574b
[config json schema] declare default values and examples for in-ide documentation (#754) 2025-07-08 15:29:07 -05:00
adamdottv 6efe8cc8df
fix: env has to be string 2025-07-08 14:59:03 -05:00
adamdottv daa5fc916a
fix(tui): pasting causes panic on macos 2025-07-08 14:57:17 -05:00
Timo Clasen 21fbf21cb6
fix(copilot): add vision request header (#773) 2025-07-08 14:01:54 -05:00
adamdottv f31cbf2744
fix: image reading 2025-07-08 13:02:13 -05:00
Aiden Cline 8322f18e03
fix: display errors when using `opencode run ...` (#751) 2025-07-08 10:38:11 -05:00
adamdottv 562bdb95e2
fix: include symlinks in ripgrep searches 2025-07-08 10:02:19 -05:00
adamdottv 662d022a48
feat(tui): paste images and pdfs 2025-07-08 08:09:01 -05:00
Dax Raad 6100a77b85 start file watcher only for tui 2025-07-07 21:05:04 -04:00
Dax Raad c7a59ee2b1 better handling of aborting sessions 2025-07-07 20:59:00 -04:00
Dax Raad 9948fcf1b6 fix crash when running on new project 2025-07-07 17:39:52 -04:00
Dax Raad 0d50c867ff fix mcp tools corrupting session 2025-07-07 17:05:16 -04:00
Dax Raad 27f7e02f12 run: truncate prompt 2025-07-07 16:41:42 -04:00
Dax Raad da909d9684 append piped stdin to prompt 2025-07-07 16:33:21 -04:00
Dax Raad c51de945a5 Add stdin support to run command
Allow piping content to opencode run when no message arguments are provided, enabling standard Unix pipe patterns for better CLI integration.

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-07-07 16:29:13 -04:00
Dax Raad 7cfa297a78 wip: model and prompt flags for tui 2025-07-07 16:24:37 -04:00
Dax Raad b478e5655c fix interrupt 2025-07-07 16:12:47 -04:00
Dax f884766445
v2 message format and upgrade to ai sdk v5 (#743)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Liang-Shih Lin <liangshihlin@proton.me>
Co-authored-by: Dominik Engelhardt <dominikengelhardt@ymail.com>
Co-authored-by: Jay V <air@live.ca>
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-07-07 15:53:43 -04:00
Dominik Engelhardt d87922c0eb
Fix Elixir LSP startup (#726) 2025-07-06 23:37:46 -04:00
Liang-Shih Lin 2446483df5
fix: Skip opencode upgrade if same version (#720) 2025-07-06 23:36:59 -04:00
Dax Raad 969ad80ed2 fix openrouter caching with anthropic, should be a lot cheaper 2025-07-05 11:39:54 -04:00
Dax Raad ea6bfef21a use full filepath 2025-07-04 17:58:03 -04:00
Dax Raad 45b139390c make file attachments work good like 2025-07-04 16:21:26 -04:00
Dax Raad 06dba28bd6 wip: fix media type 2025-07-04 12:50:52 -04:00
Dax Raad ee01f01271 file attachments 2025-07-04 12:24:01 -04:00
Dax Raad 163e23a68b removed banned command concept 2025-07-04 11:32:12 -04:00
Dax Raad 23788674c8 disable snapshots temporarily 2025-07-04 08:45:18 -04:00
Dax Raad 571d60182a improve snapshotting speed further 2025-07-03 21:36:09 -04:00
Dax Raad cdb25656d5 improve snapshot speed 2025-07-03 20:16:25 -04:00
Dax Raad cf83e31f23 add elixir lsp support 2025-07-03 19:29:51 -04:00
Dax Raad 3bc238b58b wip: logs 2025-07-03 19:29:51 -04:00
Dax Raad ed4f862b49 fix /unshare 2025-07-03 15:34:04 -04:00
Dax Raad 204801052a flag for disabling file watcher 2025-07-03 10:37:08 -04:00
Dax Raad 2528d8cb88 increase max retries to 10 2025-07-03 10:32:55 -04:00
adamdottv 8825cd3811
feat(tui): unshare command 2025-07-03 07:09:09 -05:00
Dax Raad 8c4b5e088b do not install gopls if go is not installed 2025-07-02 23:59:08 -04:00
Jacob Hands 69920a73d7
fix: use correct opencode bin path when running in development mode (#483) 2025-07-02 23:37:48 -04:00
Adi Yeroslav 701107cda4
Update prompt reference from CLAUDE.md to AGENTS.md (#623) 2025-07-02 23:27:22 -04:00
Aiden Cline b99565959b
feat: configurable instructions (#624) 2025-07-02 23:27:04 -04:00
adamdottv f1c925795d
fix: typescript error 2025-07-02 16:08:41 -05:00
adamdottv c82a060eca
feat(tui): file viewer, select messages 2025-07-02 16:08:11 -05:00
Ciaran McAleer 63e783ef79
Changed handling of OpenRouter requests to add some custom headers so that it can see the app (#613)
Co-authored-by: Dax Raad <d@ironbay.co>
2025-07-02 14:43:59 -04:00
Dax Raad 35d6273fb3 wip: session revert/unrevert 2025-07-02 13:10:36 -04:00
Mark Huggins b89d4a16fd
fix: Copilot Premium Requests (#595) 2025-07-02 12:04:53 -04:00
Timo Clasen 8f4b79227c
fix(formatting): check for enabled formatters (#611) 2025-07-02 12:03:42 -04:00
Dax Raad c810b6d206 wip: symbols for lsp 2025-07-02 11:35:25 -04:00
Dax Raad fa35407572 fix lazy loading 2025-07-02 11:18:25 -04:00
Dax Raad 8bbbc07aff fix filewatcher not closing cleanly 2025-07-02 11:15:12 -04:00
Daniel Vélez caf465a9da
chore: rename OpenCode to opencode (#579) 2025-07-02 05:09:51 -05:00
Dax Raad bbf77c6139 improve ripgrep download 2025-07-01 22:39:17 -04:00
Dax Raad 9e75e3ed18 ignore: read deleted files 2025-07-01 20:45:50 -04:00
Dax Raad 6389858d41 ignore: add file status command 2025-07-01 20:44:12 -04:00
Dax Raad 7e5941e14b ignore: add file status command 2025-07-01 20:39:43 -04:00
Dax Raad c68aeed8d9 ignore: fix file read with diff 2025-07-01 20:08:42 -04:00
Dax Raad e99bdcefac fix write tool timeout 2025-07-01 13:50:57 -04:00
Dax Raad 26dcb85de1 add file watcher 2025-07-01 13:45:25 -04:00
Dax Raad 11d042be25 snapshot functionality 2025-07-01 12:28:34 -04:00
Dax Raad de15e67834 fix lsp diagnostic accurancy 2025-06-30 22:48:32 -04:00
Dax Raad fea56d8de6 fix loading api key from env for openai compatible providers 2025-06-30 19:07:51 -04:00
Max Rabin 3d71be2b45
Add pyright lsp for Python (#551)
Co-authored-by: Max Rabin <max.rabin@mobileye.com>
2025-06-30 18:17:47 -04:00
adamdottv 58baca2a5b
chore: typescript error 2025-06-30 15:46:18 -05:00
adamdottv ef73926db6
chore: include model release date 2025-06-30 15:46:18 -05:00
Dax Raad 9ad1687f04 optimistically boot lsp servers 2025-06-30 16:45:26 -04:00
Jeremy Mack c573270e66
chore: remove duplicate EditTool in TOOLS array (#556) 2025-06-30 15:32:15 -04:00
Dax Raad 03664ba588 fix formatting of bash tools 2025-06-30 15:28:59 -04:00
Dax Raad dd5736fe5f add back in file hierarchy in system prompt but limit to 200 items 2025-06-30 14:46:46 -04:00
Timo Clasen d090c08ef0
feat: update user and agent messages width and alignment (#515)
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-06-30 11:57:56 -05:00
Dmytro Yankovskyi 68e82e4d94
fix(#467): more granular bedrock modelID based on aws region (#482) 2025-06-30 11:12:30 -04:00
Dax Raad 72d48759d7 add ruby formatter and lsp 2025-06-29 22:00:08 -04:00
Dax Raad 1fdb326aa7 ignore: refactoring 2025-06-29 21:30:23 -04:00
Dax Raad 463257e7e4 add zig, python, clang, and kotlin formatters
Co-authored-by: Suhas-Koheda <Suhas-Koheda@users.noreply.github.com>
Co-authored-by: Polo123456789 <Polo123456789@users.noreply.github.com>
Co-authored-by: theodore-s-beers <theodore-s-beers@users.noreply.github.com>
Co-authored-by: TylerHillery <TylerHillery@users.noreply.github.com>
2025-06-29 21:27:35 -04:00
Dax Raad 0f41e60bd6 restructure formatters 2025-06-29 21:22:21 -04:00
Polo123456789 7df81f7b3e
Formatters as plugins (#487) 2025-06-29 21:13:32 -04:00
Dax Raad 248325925f fix issue with costs resetting once chat is completed 2025-06-29 19:43:03 -04:00
Dax Raad ca48a4f0fb better amazon bedrock caching with anthropic models 2025-06-29 19:27:07 -04:00
Timo Clasen f0962e2d9c
Add Option to Disable MCP Servers (#513) 2025-06-28 21:05:31 -04:00
Dax Raad 3a9584a419 fix context display 2025-06-28 21:01:53 -04:00
Dax Raad c0773dc7c5 smooth out initial onboarding flow 2025-06-27 16:09:59 -04:00
adamdottv 79bbf90b72
chore: rework openapi spec and use stainless sdk 2025-06-27 14:26:25 -05:00
Dax Raad 226a4a7f36 temporary patch for input lag on initial run 2025-06-27 14:36:03 -04:00
Polo123456789 df3b424830
feat: Add golang file formatting (#474) 2025-06-27 14:11:09 -04:00
Wendell Misiedjan 3cfd9d80bc
fix: bunproc stdout / stderr parsing, error handling for bun ResolveMessage (#468) 2025-06-27 14:09:35 -04:00
Dax Raad 2ec0611f42 lazy load formatters 2025-06-27 11:33:37 -04:00
Ryan Winchester 334161a30e
feat: add elixir file formatting (#458) 2025-06-27 10:15:11 -04:00
Dax Raad ed8d277e49 fix formatting output going into tui 2025-06-27 07:29:41 -04:00
adamdottv 59b3268c64
ignore: more metadata in app info 2025-06-27 06:19:27 -05:00
adamdottv d043f67761
fix: don't use prettier for langs it doesn't format 2025-06-27 05:47:14 -05:00
Dax Raad 51bf193889 ignore: run prettier 2025-06-26 22:30:44 -04:00
Dax Raad f8b78f08b4 add auto formatting and experimental hooks feature 2025-06-26 22:17:08 -04:00
Dax Raad 8ca713b737 disable task tool temporarily 2025-06-26 18:27:49 -04:00
Dax Raad 4bc651f958 fix: improve JSON formatting and add piped output support for run command
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-26 17:32:00 -04:00
Mike Wallio db24bf87c0
Fix `undefined is not an object (evaluating 'G.title')` (#395) 2025-06-25 19:40:09 -04:00
Juhani Pelli f4c0d2d2fd
fix: guard against large output limit causing infinite summarize loop (#399) 2025-06-25 19:39:51 -04:00
Dax Raad d240f4c676 more edit tool fixes 2025-06-25 19:22:54 -04:00
Dax Raad 9c90cdbe08 integrate gemini-cli strategies for edit tool 2025-06-25 17:56:14 -04:00
Dax Raad fc7af31fe5 make edit tool more robust 2025-06-25 17:10:48 -04:00
Dax Raad 2f8d23ec66 ignore: typo 2025-06-25 11:02:57 -04:00
Dax Raad 77ae3fb9b9 add output length errors 2025-06-25 11:02:09 -04:00
Dax Raad 4e7f6c47fd fix codex not working 2025-06-25 10:01:35 -04:00
Dax Raad 50469ed750 redirect uncaught errors to log file 2025-06-25 08:41:10 -04:00
Dax Raad aaab785493 better error message when bad directory is specified to start in 2025-06-24 22:28:25 -04:00
Dax Raad 9751937894 Enhance auth command with environment variable display and add models command
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-24 22:24:55 -04:00
Dax Raad 0fc8dfc77e do not print error on ctrl+c during prompts 2025-06-24 22:09:43 -04:00
Dax Raad 8217b96d4a ci: fix type issue 2025-06-24 21:12:32 -04:00
Dax Raad 7dd0918d32 remove accidental opanai autoloader 2025-06-24 21:11:11 -04:00
Dax Raad 4b26b43855 added opencode serve command 2025-06-24 20:52:09 -04:00
Dax Raad 00a3d818b6 ci: windows 2025-06-24 18:46:43 -04:00
Dax Raad 1bad3d9894 ci: windows 2025-06-24 18:27:57 -04:00
Dax ec001ca02f
windows fixes (#374)
Co-authored-by: Matthew Glazar <strager.nds@gmail.com>
2025-06-24 18:05:04 -04:00
Dax Raad 9cfb6ff964 ignore: revert 2025-06-24 14:59:27 -04:00
Dax Raad 6ed661c140 ci: upgrade bun 2025-06-24 14:42:25 -04:00
Dax Raad 9dc00edfc9 potential fix for failing to install provider package on first run 2025-06-24 14:33:35 -04:00
Adam 6f18475428
feat: delete sessions (#362)
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-06-24 11:07:41 -05:00
Dax Raad 3664b09812 remove debug code writing to /tmp/message.json 2025-06-24 11:16:17 -04:00
Dax Raad 7050cc0ac3 ignore: fix type errors 2025-06-24 11:09:36 -04:00
Dax Raad 4d3d63294d externalize github copilot code 2025-06-24 10:42:19 -04:00
Dax Raad 01d351bebe add HOMEBREW_NO_AUTO_UPDATE to brew upgrades 2025-06-23 20:36:08 -04:00
Dax Raad dbba4a97aa force use npm registry 2025-06-23 20:23:37 -04:00
GitMurf 0dc586faef
fix: typescript error (any) from models (#347) 2025-06-23 18:44:57 -04:00
Dax Raad f19c6b05f2 glob tool should respect .gitignore 2025-06-23 17:37:32 -04:00
Dax Raad bc34f08333 bundle models.dev at build time and ignore refresh errors 2025-06-23 14:50:19 -04:00
Lucas Grzegorczyk ed1b0d97bf
Fix project folder name starting with "-" in data (#323). Note old session data will still be in the old format in `~/.local/share/opencode/projects` - you can remove the leading dash to recover the, 2025-06-23 14:31:51 -04:00
adamdottv 8d3b2fb821
feat(tui): optimistically render user messages 2025-06-23 12:30:20 -05:00
Jay V fa991920bc fix help copy 2025-06-23 13:00:24 -04:00
adamdottv 0b261054a2
chore: unused import 2025-06-23 10:21:57 -05:00
GitMurf 5140e83012
feat(copilot): edit headers for better rate limit avoidance (#321) 2025-06-23 10:44:19 -04:00
Dax Raad 100d6212be more graceful mcp failures 2025-06-22 21:10:05 -04:00
Dax Raad f0e19a6542 aws autoload include more env vars 2025-06-22 20:16:10 -04:00
Dax Raad 00c4d4f9f8 fix double entry of github copilot in auth login 2025-06-22 19:13:25 -04:00
Martin Palma 6e6fe6e013
Add Github Copilot OAuth authentication flow (#305) 2025-06-22 19:11:37 -04:00
Márk Magyar 333569bed3
ignore: fix typos and formatting (#294) 2025-06-22 14:26:46 -04:00
Tom 09b89fdb23
fix: resolve test failures by adding missing zod-openapi import (#301)
Co-authored-by: opencode <noreply@opencode.ai>
2025-06-22 14:25:02 -04:00
Tom 0e8c3359d1
combine stdout and stderr in bash tool output (#300)
Co-authored-by: opencode <noreply@opencode.ai>
Co-authored-by: Dax Raad <d@ironbay.co>
2025-06-22 14:24:35 -04:00
phantomreactor 28bc49ad17
fix: invisible html tags and compact long delay (#304) 2025-06-22 06:29:04 -05:00
Márk Magyar 137e964131
fix: session title generation (#293) 2025-06-21 14:32:11 -05:00
Dax Raad 1684042fb6 huge optimization for token usage with anthropic 2025-06-20 22:43:04 -04:00
Dax Raad 59f0004d34 Add --method option to upgrade command for manual installation method selection
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-20 20:48:23 -04:00
Dax Raad da35a64fa1 handle brew upgrades better 2025-06-20 20:27:23 -04:00
Dax Raad 460338ca53 make IDs more random 2025-06-20 17:39:59 -04:00
Saatvik Arya b8144c5654
fix: return false for missing AWS_PROFILE in amazon-bedrock provider (#277) 2025-06-20 17:27:27 -04:00
Dax Raad b72e17a8b7 fix issue with conversations hanging 2025-06-20 15:49:49 -04:00
Dax Raad 61160dc220 docs: readme 2025-06-20 15:22:41 -04:00
Dax Raad 98734ff28c Consolidate session context handling and add global config support
Refactored context file discovery by removing separate SessionContext module and integrating functionality into SystemPrompt.context(). Added support for finding AGENTS.md and CLAUDE.md files in global config directories.

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-20 15:14:12 -04:00
Josh 9991352663
feat: forward provider options from model config (#202)
Co-authored-by: Dax Raad <d@ironbay.co>
2025-06-20 15:03:41 -04:00
Dmytro Yankovskyi 91c4da5dbd
fix(#243): claude on aws bedrock (#241)
Co-authored-by: Dax Raad <d@ironbay.co>
2025-06-20 14:57:33 -04:00
niba 2fd0e7dd6b
chore: use client_id everywhere (#260) 2025-06-20 14:56:33 -04:00
adamdottv f7e8dd2ff8
chore: fix typescript issues 2025-06-20 07:48:42 -05:00
Dax Raad 41dba0db08 config validation 2025-06-20 00:57:28 -04:00
Dax Raad b2fb0508ea fix for azure models not liking tool definitions 2025-06-19 18:28:42 -04:00
Dax Raad d869df4fee remove unused permission timeout 2025-06-19 18:00:53 -04:00
Dax Raad b99d4650ec temporarily disable project details in system prompt 2025-06-19 17:37:23 -04:00
Dax Raad 0515fbb260 fix gopls download spewing into terminal 2025-06-19 17:08:58 -04:00
Jay V f5e7f079ea Copy changes 2025-06-19 16:28:03 -04:00
adamdottv 193718034b
fix: typescript error 2025-06-19 13:57:25 -05:00
Dax Raad ec1c9f8cd1 use production share url 2025-06-19 14:21:00 -04:00
Dax Raad a85b0a370e ci: share 2025-06-19 13:26:15 -04:00
Dax Raad e7784d2864 add schema descriptions to config fields
Enhance configuration schema with descriptive text for all fields to improve developer experience and auto-generated documentation.

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-19 13:12:13 -04:00
Dax Raad 97c4815444 fix task agent performance issues 2025-06-19 13:00:57 -04:00
Dax Raad 7d1a1663c8 allow selecting model and continuing previous session for opencode run 2025-06-19 13:00:57 -04:00
Dax Raad 7ca8334a8b fix webfetch tool when returning html as text 2025-06-19 10:43:54 -04:00
Dax Raad f1a2b2eba4 support token caching for anthropic via openrouter 2025-06-19 10:32:14 -04:00
Dax Raad 26bab00dab remove opencode_ prefixes from tool names. unfortunately this will break
all old sessions and share links. we'll be more backwards compatible in
the future once we're more stable.
2025-06-19 09:59:44 -04:00
Dax Raad 4a06e164d2 ensure session.info is synced when shared 2025-06-19 09:41:11 -04:00