Commit Graph

51 Commits

Author SHA1 Message Date
Aiden Cline 1a6fd018f6 Revert "fix: Explicitly exit CLI to prevent hanging subprocesses (#3083)"
This reverts commit a9624c0fff.
2025-10-27 01:30:13 -05:00
Haris Gušić a9624c0fff
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 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ć 50cc641288
fix: Opencode fails with ENOENT posix_spawn '/usr/bin/rg' (#3396) 2025-10-23 18:05:01 -05:00
kcrommett a99bd3aa2c
tweak: adjust file api to encode images (#3292) 2025-10-21 00:52:39 -05:00
Dax Raad d91781c639 core: use platform-specific watcher backends for better file system monitoring 2025-10-09 18:29:18 -04:00
Dax Raad f3b71007d2 core: replace chokidar with @parcel/watcher for better performance and cross-platform support 2025-10-09 18:21:38 -04:00
Dax Raad 0a96d254e8 ignore: add common build and framework directories to ignore list 2025-10-09 16:35:56 -04:00
Dax Raad dfc7ac4cf0 ignore: improve file ignore performance and cross-platform support
- Replace glob patterns with Set lookup for common folders to speed up matching
- Use path.sep for cross-platform compatibility on Windows/Unix systems
- Add comprehensive test coverage for nested and non-nested folder matching
- Simplify implementation by removing unnecessary caching complexity
2025-10-09 15:54:01 -04:00
Dax Raad 5079ba7ce5 core: fix file search limit handling and ensure File module initialization 2025-10-02 00:18:18 -04:00
Dax Raad b2440e92e7 core: improve file search reliability and performance 2025-10-02 00:09:02 -04:00
Dax Raad 6e19200fca overhaul file search and support @ mentioning directories 2025-10-01 03:37:01 -04:00
Adam 945de4eddc
wip: watch select .git files in watcher 2025-09-25 14:41:31 -05:00
Adam 80b0a93d64
wip: desktop file updates 2025-09-23 11:41:15 -05: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 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 Raad 38e8c42cf0 ci: format 2025-09-09 23:44:04 -04:00
Adam 8ffedbe157
fix: file read response 2025-09-05 15:58:56 -05:00
Adam f171250033
fix: better file/content return 2025-09-04 12:39:49 -05:00
Adam f7ab6beaf3
fix: worktree file/content never includes patch 2025-09-04 06:10:07 -05:00
Adam 97a41062c9
fix: file.list relative to root 2025-09-02 06:20:08 -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
Netanel Draiman 7fab12da28
fix: replace isomorphic-git status with direct git diff for worktree support (#1706)
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2025-08-28 18:15:26 -05:00
Adam aa9ab0a304
feat: include ignored files 2025-08-28 10:49:45 -05:00
Adam 8749c0c707
feat: file list api 2025-08-27 15:28:03 -05:00
Dax Raad 8dcd39f5b7 real life totally configurabl ai subasians 2025-07-24 21:21:02 -04:00
Dax Raad aa2a5057ac wip: fix type errors 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
Dax Raad d9befd3aa6 disable filewatcher, fixes file descriptor leak 2025-07-10 15:58:45 -04:00
adamdottv ca8ce88354
feat(tui): move logging to server logs 2025-07-09 08:16:10 -05:00
Dax Raad 6de955847c big rework of LSP system 2025-07-08 18:14:49 -04: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
adamdottv 562bdb95e2
fix: include symlinks in ripgrep searches 2025-07-08 10:02:19 -05: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
Dax Raad ea6bfef21a use full filepath 2025-07-04 17:58:03 -04:00
Dax Raad 204801052a flag for disabling file watcher 2025-07-03 10:37:08 -04:00
adamdottv c82a060eca
feat(tui): file viewer, select messages 2025-07-02 16:08:11 -05:00
Dax Raad 8bbbc07aff fix filewatcher not closing cleanly 2025-07-02 11:15:12 -04: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 26dcb85de1 add file watcher 2025-07-01 13:45:25 -04:00
Dax Raad de15e67834 fix lsp diagnostic accurancy 2025-06-30 22:48:32 -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
Dax Raad 2ec0611f42 lazy load formatters 2025-06-27 11:33:37 -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 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