Dax Raad
a440e09cfe
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 Raad
10998d62b9
core: improve session API reliability with proper input validation
2025-10-06 19:37:44 -04:00
Dax Raad
6417edf998
Add todo list and session forking API endpoints
2025-10-06 18:51:57 -04:00
Dax Raad
6e19200fca
overhaul file search and support @ mentioning directories
2025-10-01 03:37:01 -04:00
Dax Raad
eb7f4e20df
core: add config update endpoint and functionality
2025-09-26 02:37:19 -04:00
Dax Raad
ae6154e1c3
ignore: rework bootstrap so server lazy starts it
2025-09-19 05:11:29 -04:00
Dax
3b6c0ec0b3
support custom tools ( #2668 )
2025-09-18 03:58:21 -04:00
Dax Raad
abd99aeb7d
ignore: fix event type gen
2025-09-17 01:17:56 -04:00
Dax
725104572e
feat: add desktop/web app package ( #2606 )
...
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:28:08 -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
Dax
9bb25a9260
Session management and prompt handling improvements ( #2577 )
...
Co-authored-by: GitHub Action <action@github.com>
2025-09-13 05:46:14 -04:00
Zack Jackson
ab3c22b77a
feat: add dynamic tool registration for plugins and external services ( #2420 )
2025-09-08 16:25:04 -04:00
Adam
f171250033
fix: better file/content return
2025-09-04 12:39:49 -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
Adam
8749c0c707
feat: file list api
2025-08-27 15:28:03 -05:00
Lubos
6e626afdcb
chore(openapi): set correct content type for server-sent events ( #2045 )
2025-08-22 17:51:24 -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
zWing
bca523eb63
fix(js-sdk): fix types in session.chat ( #1925 )
...
Co-authored-by: zwingzheng <zwingzheng@tencent.com>
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-08-21 10:44:20 -05:00
adamdotdevin
07dbc30c63
feat(tui): navigate child sessions (subagents)
2025-08-15 10:16:08 -05:00
adamdotdevin
1ae38c90a3
feat(api): get session and session children routes
2025-08-15 08:49:19 -05:00
adamdotdevin
9609c1803e
feat: /tui/show-toast api
2025-08-15 08:39:58 -05:00
adamdotdevin
6e0e87fb2a
fix: more commands cleanup
2025-08-15 07:43:30 -05:00
Dax Raad
a433766a31
allow plugins to create custom auth providers
2025-08-14 16:25:08 -04:00
Lubos
703ae49675
chore: declare OpenAPI version 3.1.1 ( #1931 )
2025-08-14 12:10:32 -04:00
Dax Raad
93b71477e6
support !shell commands
2025-08-13 15:26:13 -04:00
Dax Raad
c6344c5714
wip: bash
2025-08-13 13:31:29 -04:00
Dax Raad
7505fa61b9
wip: bash commands
2025-08-13 13:29:06 -04:00
spoons-and-mirrors
47c327641b
feat: add session rename functionality to TUI modal ( #1821 )
...
Co-authored-by: opencode <noreply@opencode.ai>
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: Dax <mail@thdxr.com>
2025-08-12 16:22:03 -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
Dax Raad
ca031278ca
wip: plugins
2025-08-02 18:50:19 -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
5500698734
wip: tui permissions
2025-07-31 09:59:17 -05:00
Dax
33cef075d2
ci: new publish method ( #1451 )
2025-07-31 01:00:29 -04:00
Dax Raad
9c9cbb3e81
wip: undo properly remove messages from UI
2025-07-28 22:58:31 -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
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
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
Dax
d56dec4ba7
wip: optional IDs in api ( #1128 )
2025-07-18 13:42:50 -04:00
Dax
90d6c4ab41
Part data model ( #950 )
2025-07-13 17:22:11 -04:00
adamdottv
ce4cb820f7
feat(tui): modes
2025-07-10 10:06:51 -05:00
Dax Raad
a826936702
modes concept
2025-07-09 21:59:38 -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
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
adamdottv
c82a060eca
feat(tui): file viewer, select messages
2025-07-02 16:08:11 -05: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
adamdottv
79bbf90b72
chore: rework openapi spec and use stainless sdk
2025-06-27 14:26:25 -05:00
Dax Raad
4b26b43855
added opencode serve command
2025-06-24 20:52:09 -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
61160dc220
docs: readme
2025-06-20 15:22:41 -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
e5e9b3e3c0
rework config
2025-06-18 23:01:19 -04:00
Dax Raad
68e1b3c46c
Fix TypeScript compilation errors and consolidate version handling
...
🤖 Generated with [opencode](https://opencode.ai )
Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-17 10:27:49 -04:00
Dax
d054f88130
Improve upgrade command with installation method detection ( #158 )
2025-06-17 00:07:17 -04:00
Dax Raad
fe05edaa79
enhance ripgrep files function with query filtering and limit support
...
🤖 Generated with [opencode](https://opencode.ai )
Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-15 21:26:32 -04:00
Dax Raad
7d174767b0
first pass making system prompt less fast
2025-06-15 20:25:04 -04:00
Dax Raad
6a261dedb4
Improve logging and simplify fzf implementation
...
- Refactor fzf search to use Bun's $ syntax for cleaner command execution
- Add request/response duration logging to server middleware
- Set default service name for logging to improve log clarity
🤖 Generated with [OpenCode](https://opencode.ai )
Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-14 01:51:04 -04:00
adamdottv
d7d5fc39fb
wip: refactoring tui
2025-06-13 08:30:57 -05:00
Dax Raad
442e1b52ad
Update provider configuration and server handling
...
🤖 Generated with [OpenCode](https://opencode.ai )
Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-12 23:10:03 -04:00
Dax Raad
f6ed59bf45
Refactor external tools organization and add file search API endpoint
...
🤖 Generated with [OpenCode](https://opencode.ai )
Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-11 23:59:51 -04:00
Dax Raad
5ab2ff9589
onboarding progress
2025-06-10 15:43:14 -04:00
Dax Raad
021fd3fcb5
sync
2025-06-09 14:01:11 -04:00
Dax Raad
db2bb32bcf
integrate with models.dev
2025-06-05 14:59:16 -04:00
Dax Raad
d334ead84a
sync
2025-06-04 20:49:33 -04:00
Dax Raad
7f8f46f9fe
Refactor session module structure and improve error handling
...
- Rename session.ts to index.ts for cleaner module imports
- Update all imports to use new session module structure
- Add error metadata tracking to message schema
- Improve error handling in session stream processing
🤖 Generated with [OpenCode](https://opencode.ai )
Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-04 17:38:54 -04:00
Dax Raad
1e063e7937
fix port issue
2025-06-03 16:35:37 -04:00
Dax Raad
8e769dcac0
Replace env-paths with xdg-basedir for better XDG compliance and cross-platform directory handling
...
🤖 Generated with opencode
Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-03 14:46:28 -04:00
Dax Raad
caf9fdc893
initialized
2025-06-03 14:24:45 -04:00
Dax Raad
ec7ab16ce4
sync
2025-06-03 13:00:27 -04:00
Dax Raad
e5b06a2d95
initialzie
2025-06-03 12:38:48 -04:00
Dax Raad
bfb36a8566
Refactor app context system to use Zod schemas and sync access pattern
...
🤖 Generated with opencode
Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-03 11:59:03 -04:00
Dax Raad
e764525578
sync
2025-06-01 15:01:57 -04:00
Dax Raad
a1c4f345a8
Fix TypeScript errors and clean up unused imports
...
- Remove unused fs import from app.ts
- Remove unused LLM import and missing module reference from server.ts
- Fix parameter naming inconsistency in fetch.ts execute function
- Add missing metadata property to fetch.ts return statement
- Update test file to use correct API signatures and parameter names
- Remove unused parameters from example.ts
🤖 Generated with opencode
Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-01 14:46:04 -04:00
Dax Raad
f072ab3276
lazy load LLMs even harder
2025-05-31 16:05:12 -04:00
Dax Raad
3b746162d2
run formatter
2025-05-31 14:41:00 -04:00
Dax Raad
f3da73553c
sync
2025-05-30 20:48:36 -04:00