Commit Graph

1434 Commits (85c6301ac5d22128f564b7c04f94de3611600dbf)

Author SHA1 Message Date
Dax 10735f93ca
Add agent-level permissions with whitelist/blacklist support (#1862) 2025-08-12 11:39:39 -04:00
adamdotdevin ccaebdcd16
fix: long word and attachment wrapping in editor 2025-08-12 10:34:54 -05:00
opencode 2bbd7a167a release: v0.4.29 2025-08-12 14:00:15 +00:00
Aiden Cline f12d470b33 fix: Missing ~/.local/share/opencode/bin directory causes misleading … (#1860) 2025-08-12 13:54:33 +00:00
opencode 0835170224 release: v0.4.28 2025-08-12 13:54:32 +00:00
adamdotdevin 3530885f48
fix: vscode extension cursor placement 2025-08-12 08:48:42 -05:00
opencode a071a2b7f4 release: v0.4.27 2025-08-12 12:58:53 +00:00
adamdotdevin b2f2c9ac37
fix: use real cursor instead of virtual cursor 2025-08-12 07:52:19 -05:00
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
opencode 5fbbdcaf64 release: v0.4.26 2025-08-12 03:25:36 +00: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
opencode 681abcbf2d release: v0.4.25 2025-08-12 02:51:32 +00: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
opencode 3ec670784d release: v0.4.24 2025-08-12 02:33:35 +00:00
Dax Raad e6f3cf0839 fix pyright 2025-08-11 22:27:24 -04:00
opencode 9437cf4ff6 release: v0.4.23 2025-08-12 02:04:53 +00: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
opencode bb14a955a0 release: v0.4.22 2025-08-12 01:07:27 +00:00
Dax Raad dac1506680 update anthropic prompt and variables 2025-08-11 21:01:33 -04:00
opencode 3946a08f40 release: v0.4.21 2025-08-12 00:30:49 +00:00
adamdotdevin ee0519aacc
feat: add clangd for cpp 2025-08-11 19:21:59 -05:00
adamdotdevin dec1e3fdda
fix: complete item on space 2025-08-11 18:58:42 -05:00
Carl Brugger f54e900716 Fix plugin file name (#1837) 2025-08-11 23:43:43 +00:00
opencode 7e8b5749fa release: v0.4.20 2025-08-11 23:43:43 +00:00
adamdotdevin febf902dc4
Revert "feat: improve file attachment pasting (#1704)"
This reverts commit 81a3e02474.
2025-08-11 18:37:34 -05:00
Jay V 04b51f2610 ignore: share page thinking blocks 2025-08-11 19:36:34 -04: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
adamdotdevin 7a67fe7dde
fix: collapsed tool calls hidden at times 2025-08-11 13:54:58 -05:00
Aiden Cline 00b4670b8b
docs: fix instructions (#1827) 2025-08-11 13:44:12 -05:00
Dax Raad 7633a951e6 ignore: test 2025-08-11 14:43:42 -04:00
adamdotdevin 4ff64c6209
fix: take up less vertical space 2025-08-11 13:38:39 -05:00
Dax Raad 22023fa9e7 remove git bash tool coauthor message 2025-08-11 18:36:06 +00:00
opencode 85e0b53c33 release: v0.4.19 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
Jay V befb7509de docs: share 2025-08-11 14:19:22 -04:00
Jay V 09bf0b86d8 docs: share page 2025-08-11 14:01:20 -04:00
Jay V b5d45fa9f5 docs: share page 2025-08-11 13:57:41 -04:00
Jay V a6a633d5c1 docs: test share 2025-08-11 13:45:55 -04:00
Jay V e83e8001da docs: test share 2025-08-11 13:38:03 -04:00
Jay V 0386898476 docs: comment out thinking blocks for share page 2025-08-11 13:21:59 -04:00
adamdotdevin 5e777fd2a2
feat: toggle tool details visible 2025-08-11 11:58:46 -05:00
adamdotdevin 3c71fda648
fix: don't display placeholder on error 2025-08-11 11:58:46 -05:00
Jay V 42329a038a docs: share page fix 2025-08-11 12:51:19 -04:00
Jay V 10f3983f0b docs: edits 2025-08-11 12:41:13 -04:00
opencode e9de7f95a7 release: v0.4.18 2025-08-11 16:04:07 +00:00
adamdotdevin a4113acd15
fix: assistant message footer styles 2025-08-11 10:57:18 -05:00
adamdotdevin 9c8e56fc96
fix: assistant message footer styles 2025-08-11 10:52:49 -05:00
adamdotdevin c78cb57c41
fix: assistant message footer styles 2025-08-11 10:50:00 -05:00
opencode eb15b2ba75 release: v0.4.17 2025-08-11 15:15:24 +00: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
adamdotdevin e8d144d2a2
fix: reformat assistant message footer 2025-08-11 09:38:52 -05:00
adamdotdevin a760e8364f
feat: placeholder on pending assistant message 2025-08-11 09:29:44 -05:00
adamdotdevin fa7cae59c0
fix: re-render messages on session error 2025-08-11 09:19:45 -05:00
spoons-and-mirrors 8780fa6ccf
Fix: Respect agent's preferred model at TUI startup (#1683)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-11 08:51:35 -05:00
spoons-and-mirrors ab2df0ae33
Feat: Implement Wrap-Around Navigation for List Selection (for Models and Tools modal) (#1768) 2025-08-11 08:47:51 -05: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
opencode 776276d5a4 release: v0.4.16 2025-08-11 12:59:20 +00:00
opencode ddacb04f99 release: v0.4.15 2025-08-11 12:49:52 +00:00
spoons-and-mirrors 73a8356b10
Feat: Add F2 Keybind to Cycle Through the 5 Most Recent Models (#1778) 2025-08-11 07:00:32 -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
Aiden Cline 62b8c7aee0
feat (tui): agents dialog (#1802) 2025-08-11 01:46:38 -04:00
Dax Raad 6145dfcca0 fix run command to be less messy 2025-08-11 01:45:05 -04:00
opencode 4580c88c0b release: v0.4.12 2025-08-11 05:28:22 +00: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
opencode fce04dc48b release: v0.4.11 2025-08-11 02:30:21 +00:00
Dax Raad 81534ab387 ci: tweaks 2025-08-10 22:23:59 -04:00
Aiden Cline 409a6f93b2
fix: enforce field requirement for cli cmds (#1796) 2025-08-10 22:17:12 -04:00
opencode 55c294c013 release: v0.4.6 2025-08-11 01:59:27 +00:00
Dax Raad 70db372466 add OPENCODE_DISABLE_AUTOUPDATE flag 2025-08-10 21:52:52 -04:00
Dax Raad 8fde772957 ci: smoke test 2025-08-10 21:37:48 -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
opencode 95e410db88 release: v0.4.3 2025-08-11 00:53:06 +00: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
spoons-and-mirrors bd4319f2bc
Feat: Add Agent Name in the LLM Response Footer (and re-order it) (#1770) 2025-08-09 20:22:16 -05:00
Frank 696ab1a752 Update moonshot ai provider doc 2025-08-09 19:22:50 -04: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
Frank 7446f5ad7b wip gateway 2025-08-09 01:28:27 -04:00
Dominik Engelhardt 81a3e02474
feat: improve file attachment pasting (#1704) 2025-08-08 20:06:38 -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
Clayton 9b6ef074f0
Reference the actual name of the windows package (#1700) 2025-08-08 20:07:00 -04:00
zWing 2f4291672b
chore(js-sdk): Compatible with nodenext (#1667) 2025-08-08 20:05:50 -04:00
rmoriz 83f4e8e156
Clarify remote mcp error (#1729)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-08 20:04:26 -04:00
gsbain 7af2771a7e
Docs: Homebrew can install Opencode on Linux (#1737) 2025-08-08 20:04:02 -04:00
Max Pod d1208bf0a1
docs: Update plugins.mdx (#1690) 2025-08-08 17:11:06 -04:00
Typing Turtle 0a9463541a
docs: Adds required models field to variables documentation (#1709) 2025-08-08 16:57:31 -04:00
Yihui Khuu fe26b4a7b1
fix(tui): preserve scroll position when reflowing due to message stream (#1716) 2025-08-08 13:14:09 -05:00
Frank 183e0911b7 wip: gateway 2025-08-08 13:24:32 -04:00
Timo Clasen e444d15b57
fix(TUI): enable general (sub-) agent for @ referencing (#1705) 2025-08-08 05:36:55 -05:00
opencode 063d67a046 release: v0.4.1 2025-08-08 03:01:03 +00:00
Dax Raad 4f164c53d2 temporary fix for max output token 2025-08-07 22:54:59 -04:00
Dax Raad 02ef96f89b docs: fix 2025-08-07 21:49:18 -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
Jay V 160f839b25 docs: update cli 2025-08-07 19:24:08 -04:00
Jay V bf5b109c1f docs: edit agent doc 2025-08-07 18:51:54 -04:00
Dax Raad 60254d8ac0 docs: remove modes from sidebar navigation
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-08-07 16:35:35 -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
Jay V 12f1ad521f docs: slash commands 2025-08-07 16:16:16 -04:00
Timo Clasen 723a37ea9a
fix: get session api (#1684) 2025-08-07 15:28:18 -04:00
Aiden Cline c6a46615c0
fix: modal pastes (#1677) 2025-08-07 13:23:58 -05:00
Aiden Cline 7950ae1462
fix: text selection bug (#1664) 2025-08-07 05:32:34 -05:00
opencode 15e830410f release: v0.3.133 2025-08-07 00:30:05 +00:00
Dax Raad 1a561bb512 add api to get session 2025-08-06 20:24:36 -04:00
Jay V fecae609d9 docs: config doc edits 2025-08-06 16:10:17 -04:00
Jay V e01a540b08 docs: typos 2025-08-06 15:45:16 -04:00
Timo Clasen 54457e48bb
fix(docs): small_model is not used for summarization (#1360) 2025-08-06 14:03:14 -05:00
Aiden Cline b179d08484
fix: interface conversion panic (#1655) 2025-08-06 14:02:33 -05:00
Jay V d9edd6818f docs: add undo to tutorial 2025-08-06 13:51:47 -04:00
Dax Raad 28a4517ec6 add `snapshot` field in config to disable snapshots 2025-08-06 11:35:37 -04:00
Aiden Cline 7b6d5b1429
chore: update marked-shiki, remove patch (#1653) 2025-08-06 08:47:53 -05: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 b8a0ecca98
fix: highlight after text wrap (#1640) 2025-08-06 05:17:35 -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
adamdotdevin 6b25b7e95e
feat: better assistant message visual 2025-08-05 19:05:44 -05:00
Jay V 030a3a7446 docs: identity 2025-08-05 19:36:10 -04:00
Timo Clasen 1a0e7f1e63
docs(plugins): fix typo (#1621) 2025-08-05 17:16:47 -05:00
Aiden Cline 677fb6032b
fix: markdown table renders (#1623) 2025-08-05 17:16:35 -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
Jay V 6ed774ef62 docs: edit 2025-08-05 12:55:57 -04:00
adamdotdevin 5e825a4b6a
chore: cleanup old sdk 2025-08-05 11:46:12 -05:00
Dax Raad 3db8e7c2b6 ci: send stats to posthog 2025-08-05 12:01:48 -04:00
Yihui Khuu 2b195e82ee
fix: allow disabling the default general agent (#1616) 2025-08-05 05:20:00 -05:00
Omar Shaarawi 58e889796c
validate file part bounds to prevent panic (#1612) 2025-08-05 05:18:50 -05:00
Aiden Cline 51498c8de4
docs: make formatter docs a bit more clear (#1613) 2025-08-05 05:17:56 -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
opencode 8168626cd3 release: v0.3.130 2025-08-05 03:25:28 +00:00