Commit graph

187 commits

Author SHA1 Message Date
Aiden Cline
7af3380455 chore: adjust cfg code 2025-11-07 19:18:57 -06:00
Aiden Cline
8cef7940fe allow reading of opencode.json(c) from .opencode/ 2025-11-07 17:35:08 -06:00
Dax Raad
1ea3a8eb9b big format 2025-11-06 13:03:12 -05:00
Ola
fe94bb8e50
feat(provider): add GitHub Enterprise support for Copilot (#2522)
Co-authored-by: Jon-Mikkel Korsvik <48263282+jkorsvik@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-04 15:36:12 -06:00
frankdierolf
b41e573886
fix: correct history_next keybinding description (#3891) 2025-11-04 08:52:49 -06:00
Dax Raad
94658c31c5 add back child session cycle 2025-11-02 18:26:38 -05:00
Sebastian Herrlinger
92a1943771 upgrade to opentui 0.1.32, activates kitty keyboard 2025-11-02 01:45:38 +01:00
Dax Raad
d4cb47eadc tui: add keyboard shortcuts to cycle through recently used models
Users can now press F2 to cycle forward and Shift+F2 to cycle backward through their recently used models, making it faster to switch between commonly used AI models without opening the model selection dialog.
2025-10-31 19:42:41 -04:00
Dax Raad
261ff416a9 sync 2025-10-31 23:05:11 +00:00
Nathan Thomas
e630d680dd
feat: allow ctrl+d to exit the app (#3636) 2025-10-31 16:27:41 -05:00
Dax
96bdeb3c7b
OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
Haris Gušić
4355027408
fix: Missing @opencode-ai/plugin causes crash (#3615) 2025-10-31 13:41:04 -05:00
Haris Gušić
c1ada302f9
fix: Opencode hangs after exit (#3481)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-30 23:57:58 -05:00
Aiden Cline
42e0b47a7d fix: better frontmatter errors 2025-10-30 10:56:40 -05:00
Matt Gillard
3ae75d7031
add optional timeout field to mcp config to allow users to use responding servers (#3558)
Co-authored-by: Matt Gillard <matt-github@gillard.biz>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-30 01:25:24 -05:00
Danilo Favato
b66e7b6fce
tweak: add experimental chatMaxRetries to config (#2116)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-28 12:09:41 -05:00
oribi
eb398f1951
add OPENCODE_CONFIG_DIR to allow loading a custom config directory (#3504)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-28 11:50:09 -05:00
Jérôme Benoit
0eb899a950
chore: cleanup versioned zod imports (#3460)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-26 14:50:41 -05:00
Haris Gušić
1dba01e057
Improve typo directory error (#3247) 2025-10-17 14:34:37 -05:00
Dax Raad
61f6091de1 ci: test 2025-10-14 14:56:21 -04:00
Aiden Cline
b91582d68a
fix: config dir overrides (#3160) 2025-10-13 23:25:53 -05:00
Dax Raad
9d30bc692c ci: fixes 2025-10-11 00:24:35 -04:00
Dax Raad
9da95cb805 upgrade to bun 1.3.0 2025-10-10 17:53:32 -04:00
Dax Raad
9b52d33889 core: improve directory validation error messages to help users fix invalid directory names 2025-10-09 22:40:23 -04:00
Dax Raad
096710a8cc ensure @opencode-ai/plugin is available in .opencode folder 2025-10-09 21:18:49 -04:00
Aiden Cline
edeaab321a
fix: bash regex (#2858) 2025-09-29 08:51:46 -05:00
Dax Raad
d0043a4a78 sync 2025-09-27 02:53:20 -04:00
Yihui Khuu
7ecdc1b5d8
fix: config loading not considering symlinks (#2800) 2025-09-26 09:46:49 -05:00
Dax Raad
80305813f5 disable aggressive config validation 2025-09-26 07:51:53 -04:00
Dax Raad
093fbca711 core: add themes to allowed config directories 2025-09-26 06:40:41 -04:00
Dax Raad
f2b547cc45 fix erroring on custom tool folder 2025-09-26 05:33:38 -04:00
Dax Raad
70310a37b3 validate config directory 2025-09-26 03:23:25 -04:00
Dax Raad
eb7f4e20df core: add config update endpoint and functionality 2025-09-26 02:37:19 -04:00
Aiden Cline
cc2bd7141f
fix: enforce extensions requirement for custom lsp servers (#2734) 2025-09-22 11:45:47 -05:00
Dax
3b6c0ec0b3
support custom tools (#2668) 2025-09-18 03:58:21 -04:00
Dax
14cb2d2af6
feat: improve file watcher with chokidar and better ignore patterns (#2621)
Co-authored-by: GitHub Action <action@github.com>
2025-09-16 00:17:10 -04:00
Dax
c1b4e1f19d
Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
Aiden Cline
16d66c209d
respect subagent in command, add subtask flag (#2569) 2025-09-13 12:47:18 -05:00
Chris Covington
53f1f16122
feat: Add an experimental option to disable paste summaries (#2552)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-11 14:21:08 -05:00
Aiden Cline
780e532094
resolve nested commands (#2537) 2025-09-10 14:05:26 -05:00
Dax Raad
8952b3d246 support OPENCODE_CONFIG_CONTENT 2025-09-02 16:38:50 -04:00
OpeOginni
3ee4280dfa
fix: local subdirectory subagents not being picked up (#2376) 2025-09-02 09:46:00 -05:00
Dax
f993541e0b
Refactor to support multiple instances inside single opencode process (#2360)
This release has a bunch of minor breaking changes if you are using opencode plugins or sdk

1. storage events have been removed (we might bring this back but had some issues)
2. concept of `app` is gone - there is a new concept called `project` and endpoints to list projects and get the current project
3. plugin receives `directory` which is cwd and `worktree` which is where the root of the project is if it's a git repo
4. the session.chat function has been renamed to session.prompt in sdk. it no longer requires model to be passed in (model is now an object)
5. every endpoint takes an optional `directory` parameter to operate as though opencode is running in that directory
2025-09-01 17:15:49 -04:00
Beshoy Girgis
e4cc05a975
feat: Allow provider timeout override (#1982) 2025-08-31 14:06:02 -04:00
Jay V
f4b69df7a3 docs: updating config schema 2025-08-26 16:10:53 -04:00
Dax
133fe41cd5
slash commands (#2157)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
2025-08-22 17:04:28 -04:00
Aiden Cline
5b05ede748
fix: agent casing issue (#2081) 2025-08-19 18:08:56 -05:00
spoons-and-mirrors
cd3d91209a
tweak(timeline): add a dot to the session timeline modal for better visual cue of session's revert point (#1978) 2025-08-18 05:50:43 -05:00
spoons-and-mirrors
1e204c23b9
tweak(config): make markdown agent files in subfolder discoverable .opencode/agent/some-folder/*.md (#1999) 2025-08-16 22:55:14 -04:00
Aiden Cline
daea79c0d4
feat: top level tool config (#2008) 2025-08-16 22:51:56 -04:00
Aiden Cline
dc01071498
feat: add scroll speed to config (#1968) 2025-08-15 13:21:02 -05:00
adamdotdevin
07dbc30c63
feat(tui): navigate child sessions (subagents) 2025-08-15 10:16:08 -05:00
adamdotdevin
6e0e87fb2a
fix: more commands cleanup 2025-08-15 07:43:30 -05:00
adamdotdevin
79a4e35a74
fix: keybind docs out of sync 2025-08-15 06:45:20 -05:00
adamdotdevin
40ed73af17
chore: deprecate unused keybinds 2025-08-15 06:36:28 -05:00
adamdotdevin
74da6b1bef
fix: add missing keybinds to config 2025-08-15 06:33:45 -05:00
Aiden Cline
0c4fe73cbf
fix: js plugin support as per documentation (#1896) 2025-08-13 12:25:04 -05:00
Aiden Cline
ed5f76d849
fix: better error message when config has invalid references (#1874) 2025-08-12 19:28:41 -05:00
Dax Raad
5a17f44da4 support OPENCODE_PERMISSION json env variable 2025-08-12 12:28:08 -04:00
Dax
10735f93ca
Add agent-level permissions with whitelist/blacklist support (#1862) 2025-08-12 11:39:39 -04:00
adamdotdevin
5e777fd2a2
feat: toggle tool details visible 2025-08-11 11:58:46 -05:00
Dax Raad
c51a34bf4b make models key optional in config 2025-08-11 10:54:14 -04:00
Dax Raad
d8dc23bde9 pass through additional agent options to the provider 2025-08-10 21:34:46 -04:00
Dax Raad
3ab4f42ebb support agent options 2025-08-10 20:30:37 -04:00
Aiden Cline
542186aa49
feat: webfetch permission support (#1772) 2025-08-10 08:00:44 -05: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
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
Aiden Cline
a48274f82b
permissions disallow support (#1627) 2025-08-05 19:14:28 -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
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
80d68d01f4
better configuration error messages (#1517) 2025-08-01 19:10:32 -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
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
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
d558f15c91 ignore: ts optimization 2025-07-31 16:54:15 -04:00
Aiden Cline
168350c981
fix: load global jsonc (#1479) 2025-07-31 15:02:28 -05:00
Aiden Cline
7e9050edb9
feat: jsonc configuration file support (#1434) 2025-07-31 06:25:26 -05:00
Robert Holden
3268c61813
feat: mode directory markdown configuration loading (#1377) 2025-07-30 23:22:43 -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
9bedd62da4 experimental well-known auth support 2025-07-29 19:30:51 -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
Dax Raad
e97613ef9f allow temperature to be configured per mode 2025-07-25 13:29:44 -04:00
Dax Raad
8dcd39f5b7 real life totally configurabl ai subasians 2025-07-24 21:21: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
Dax Raad
fd98c3189a config: improve config schema 2025-07-22 20:35:40 -04: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
c1d87c32a2 remove log level from config 2025-07-19 13:37:02 -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
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
adamdotdevin
cdc1d8a94d
feat(tui): layout config to render full width 2025-07-16 12:43:02 -05:00
Adi Yeroslav
57d1a60efc
feat(tui): shift+tab to cycle modes backward (#1049) 2025-07-16 07:43:48 -05: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