Commit Graph

47 Commits

Author SHA1 Message Date
kcrommett bb7dd9391b tweak: adjust file api to encode images (#3292) 2025-10-21 00:52:39 -05:00
Dax Raad a0844a6b85 core: use platform-specific watcher backends for better file system monitoring 2025-10-09 18:29:18 -04:00
Dax Raad 21e2f45f77 core: replace chokidar with @parcel/watcher for better performance and cross-platform support 2025-10-09 18:21:38 -04:00
Dax Raad c50d7a4275 ignore: add common build and framework directories to ignore list 2025-10-09 16:35:56 -04:00
Dax Raad 92f106f740 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 d0008024f1 core: fix file search limit handling and ensure File module initialization 2025-10-02 00:18:18 -04:00
Dax Raad 8cd3078df4 core: improve file search reliability and performance 2025-10-02 00:09:02 -04:00
Dax Raad 8ad4813f46 overhaul file search and support @ mentioning directories 2025-10-01 03:37:01 -04:00
Adam 0d05ab5be7 wip: watch select .git files in watcher 2025-09-25 14:41:31 -05:00
Adam 0425aa413a wip: desktop file updates 2025-09-23 11:41:15 -05:00
Dax 760c0fee65 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 6a654abbc2 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 0a4df97382 Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
Dax Raad e3bf324ea9 ci: format 2025-09-09 23:44:04 -04:00
Adam 6e7fed27df fix: file read response 2025-09-05 15:58:56 -05:00
Adam ce7bc4d770 fix: better file/content return 2025-09-04 12:39:49 -05:00
Adam 2f0d8cb0e5 fix: worktree file/content never includes patch 2025-09-04 06:10:07 -05:00
Adam ae66b4411c fix: file.list relative to root 2025-09-02 06:20:08 -05: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
Netanel Draiman e0db411788 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 4746d88a53 feat: include ignored files 2025-08-28 10:49:45 -05:00
Adam 8e22caf277 feat: file list api 2025-08-27 15:28:03 -05:00
Dax Raad 0de957a2f0 real life totally configurabl ai subasians
publish / publish (push) Has been cancelled
2025-07-24 21:21:02 -04:00
Dax Raad 877cbfc45b wip: fix type errors 2025-07-24 17:38:11 -04:00
Clay Warren 9b94c9c57f feat: Replace unzip with @zip.js/zip.js for Windows compatibility (#662) 2025-07-24 16:49:04 -04:00
Dax Raad dc7b9cd0a8 disable filewatcher, fixes file descriptor leak
publish / publish (push) Has been cancelled
2025-07-10 15:58:45 -04:00
adamdottv c5610af3a2 feat(tui): move logging to server logs 2025-07-09 08:16:10 -05:00
Dax Raad 31974e1b6e big rework of LSP system 2025-07-08 18:14:49 -04:00
strager 2ebf959895 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 ea7c1f7ea6 fix: include symlinks in ripgrep searches 2025-07-08 10:02:19 -05:00
Dax 9cad702612 v2 message format and upgrade to ai sdk v5 (#743)
publish / publish (push) Has been cancelled
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 e5275df48e use full filepath
publish / publish (push) Has been cancelled
2025-07-04 17:58:03 -04:00
Dax Raad 89821f3f69 flag for disabling file watcher 2025-07-03 10:37:08 -04:00
adamdottv cbae63697e feat(tui): file viewer, select messages 2025-07-02 16:08:11 -05:00
Dax Raad 7822227eec fix filewatcher not closing cleanly
publish / publish (push) Has been cancelled
2025-07-02 11:15:12 -04:00
Dax Raad b181a35ca5 improve ripgrep download
publish / publish (push) Has been cancelled
2025-07-01 22:39:17 -04:00
Dax Raad c6166de726 ignore: read deleted files 2025-07-01 20:45:50 -04:00
Dax Raad 7b0edfa712 ignore: add file status command 2025-07-01 20:44:12 -04:00
Dax Raad 93e0e4212c ignore: add file status command 2025-07-01 20:39:43 -04:00
Dax Raad 9e03bd911b ignore: fix file read with diff 2025-07-01 20:08:42 -04:00
Dax Raad 63f9ee3f5a add file watcher 2025-07-01 13:45:25 -04:00
Dax Raad 23bcc0defe fix lsp diagnostic accurancy
publish / publish (push) Has been cancelled
2025-06-30 22:48:32 -04:00
Dax Raad 576656ce75 add back in file hierarchy in system prompt but limit to 200 items
publish / publish (push) Has been cancelled
2025-06-30 14:46:46 -04:00
Dax Raad cdbaf1c2d2 lazy load formatters 2025-06-27 11:33:37 -04:00
Dax Raad 7ce22fa132 Fix TypeScript compilation errors and consolidate version handling
publish / publish (push) Has been cancelled
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-17 10:27:49 -04:00
Dax Raad f3dc4bd937 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 d759b814c7 turn on tool call streaming 2025-06-11 11:36:12 -04:00