Commit Graph

23 Commits

Author SHA1 Message Date
Aiden Cline 37e2c86fe0 ACP: update package, fix slash command bug (#3906) 2025-11-05 00:50:48 -06:00
Dmytro Tiapukhin 1439d9f32a fix: better mcp sanitization (#3842)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-03 15:19:49 -06:00
Aiden Cline 73c7b35ad7 fix: mcp error (#3847) 2025-11-03 15:04:53 -06:00
Dax fd63884d0b OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
Haris Gušić ba2660ec3e fix: Opencode hangs after exit (#3481)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-30 23:57:58 -05:00
Matt Gillard 165c453fba 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
kcrommett 7caa64ea82 mcp: fix status() to not overwrite connected with failed (#3514) 2025-10-28 16:16:03 -05:00
Aiden Cline e172fa9e20 feat (acp): mcp server support, file diffs, some default slash commands (/init, /compact), show todos properly (#3490)
The mcp server support does not mean acp didn't allow u to use mcp servers previously, it means that now you can connect new servers via ACP instead of relying on the opencode defined ones
2025-10-28 00:08:30 -05:00
Aiden Cline 977339adab Revert "fix: Explicitly exit CLI to prevent hanging subprocesses (#3083)"
This reverts commit 5f0e46c51c.
2025-10-27 01:30:13 -05:00
Haris Gušić 5f0e46c51c fix: Explicitly exit CLI to prevent hanging subprocesses (#3083)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-27 00:03:10 -05:00
Jérôme Benoit 0787f01d1d 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
Dax Raad 06fc3bc28f core: improve MCP reliability and add status monitoring
- Added 5-second timeout to MCP client verification to prevent hanging connections
- New GET /mcp endpoint to monitor server connection status
- Automatically removes unresponsive MCP clients during initialization
2025-10-07 04:04:19 -04:00
Dax 0a4df97382 Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
Dax aea78046d0 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
Jakub Kopecký 1db898ceb6 fix: mcp client name (#2289) 2025-08-28 12:48:29 -05:00
spoons-and-mirrors 219756c3d3 Fix: Sanitize MCP Tool Names for Consistency in User Expectations (#1769) 2025-08-11 01:59:50 -04:00
rmoriz 8a4bd7d619 Clarify remote mcp error (#1729)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-08 20:04:26 -04:00
Aiden Cline 2c61674f83 tweak: sanitize mcp server names (#831) 2025-08-01 09:11:40 -05:00
Dax Raad 4fc32f7c9a better mcp support - should fix hanging when streamable http server is added
publish / publish (push) Has been cancelled
2025-07-25 19:19:47 -04:00
Aiden Cline 5fe00d154e tweak: allow mcp servers to include headers (#1096) 2025-07-17 09:11:48 -05:00
Timo Clasen 62ee067c3b Add Option to Disable MCP Servers (#513) 2025-06-28 21:05:31 -04:00
Dax Raad 64e72f1eec more graceful mcp failures
publish / publish (push) Has been cancelled
2025-06-22 21:10:05 -04:00
Dax Raad 320f23a8dc mcp support 2025-06-03 15:57:48 -04:00