Commit Graph

57 Commits

Author SHA1 Message Date
James Long fd4a570130 refactor(opencode): remove core service layer exports (#34518) 2026-06-29 23:32:16 -04:00
James Long 3eee8bd101 refactor(core): support tiered layer nodes (#33937) 2026-06-25 14:34:17 -04:00
James Long ede70549ff feat(opencode): add typed application layer graph (#31531) 2026-06-09 15:31:31 -04:00
Dax a5ddb7f291 refactor(core): replace legacy logger with Effect logging (#31310) 2026-06-08 15:41:56 -04:00
Dax 7a9068f029 refactor(core): consolidate filesystem services (#30447) 2026-06-02 16:09:26 -04:00
Kit Langton 6df62681cb refactor(storage): remove not found wire serializer (#27416) 2026-05-13 21:39:50 -04:00
Shoubhit Dash 24b5154ab4 fix(storage): type not found errors (#27265) 2026-05-13 12:25:04 +05:30
Kit Langton 2296db6be8 Remove Zod from named errors (#26982) 2026-05-12 09:20:15 -04:00
Dax 4ae8dd80c3 Move schema utilities into core (#26565) 2026-05-09 19:51:09 +00:00
Kit Langton 584064d2c9 Prepare Effect HttpApi backend parity (#24853) 2026-04-29 09:34:50 -04:00
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
Dax Raad 9031b8f108 core: move Global module to @opencode-ai/core for centralized path management
Move the Global module from packages/opencode/src/global to packages/core/src/global
to provide a unified location for managing XDG directories and application paths.
This eliminates duplicate path definitions across packages and ensures consistent
access to data, config, cache, state, log, and bin directories throughout the codebase.
2026-04-25 13:52:32 -04:00
Dax 1865f4fc5f refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
Kit Langton 97d87eac9f feat: unwrap storage namespaces to flat exports + barrel (#22747) 2026-04-15 23:30:49 -04:00
Kit Langton d2ec847f0c feat: unwrap 11 util namespaces to flat exports + barrel (#22739) 2026-04-15 23:15:58 -04:00
Dax 780c051059 shared package (#22626) 2026-04-15 14:26:20 +00:00
Kit Langton 0a790bc740 refactor(effect): upgrade opencode to beta.46 context APIs (#21977) 2026-04-10 23:06:28 -04:00
Kit Langton bf4c363d64 refactor: destroy Storage facades (#21956) 2026-04-10 21:21:02 -04:00
Kit Langton 28a6be5a1d refactor(effect): use Git service in file and storage (#21803) 2026-04-09 22:49:36 -04:00
Shoubhit Dash cf23c87965 feat: restore git-backed review modes (#20845) 2026-04-03 09:54:57 -05:00
Kit Langton af252ebc18 refactor(storage): effectify Storage service (#20132) 2026-03-31 01:16:02 +00:00
Shoubhit Dash b8222bf1fb revert: roll back git-backed review modes (#19295) 2026-03-26 10:14:57 -04:00
Shoubhit Dash 973ad436e1 feat: restore git-backed review modes with effectful git service (#18900) 2026-03-25 21:09:53 +05:30
Aiden Cline d210d67f1e ignore: revert 3 commits that broke dev branch (#18260) 2026-03-19 11:15:07 -05:00
Shoubhit Dash 1725f7bb2e feat: add git-backed session review modes (#17961) 2026-03-19 19:29:29 +05:30
Dax 89f4344882 refactor(opencode): replace Bun shell in core flows (#16286) 2026-03-09 15:19:50 -04:00
Dax f03cb504c4 refactor: migrate from Bun.Glob to npm glob package (#14317) 2026-02-19 13:40:09 -05:00
Dax Raad 350a377fca Revert "refactor: migrate from Bun.Glob to npm glob package"
This reverts commit 25917459f0.
2026-02-19 12:48:43 -05:00
Dax Raad 25917459f0 refactor: migrate from Bun.Glob to npm glob package
Replace Bun.Glob usage with a new Glob utility wrapper around the npm 'glob' package.
This moves us off Bun-specific APIs toward standard Node.js compatible solutions.

Changes:
- Add new src/util/glob.ts utility module with scan(), scanSync(), and match()
- Default include option is 'file' (only returns files, not directories)
- Add symlink option (default: false) to control symlink following
- Migrate all 12 files using Bun.Glob to use the new Glob utility
- Add comprehensive tests for the glob utility

Breaking changes:
- Removed support for include: 'dir' option (use include: 'all' and filter manually)
- symlink now defaults to false (was true in most Bun.Glob usages)

Files migrated:
- src/util/log.ts
- src/util/filesystem.ts
- src/tool/truncation.ts
- src/session/instruction.ts
- src/storage/json-migration.ts
- src/storage/storage.ts
- src/project/project.ts
- src/cli/cmd/tui/context/theme.tsx
- src/config/config.ts
- src/tool/registry.ts
- src/skill/skill.ts
- src/file/ignore.ts
2026-02-19 12:34:18 -05:00
Dax 019134be58 Remove use of Bun.file (#14215) 2026-02-19 11:32:32 -05:00
Dax Raad 1567fa548c Revert: all refactor commits migrating from Bun.file() to Filesystem module 2026-02-18 19:41:14 -05:00
Dax d64cacad6b refactor: migrate src/storage/storage.ts from Bun.file()/Bun.write() to Filesystem module (#14122) 2026-02-18 19:21:21 -05:00
Aiden Cline c49885fe5c chore: upgrade bun from 1.3.5 -> 1.3.6, also update types/bun from 1.3.4 -> 1.3.6 and fix type errs (#8499)
Co-authored-by: Github Action <action@github.com>
2026-01-14 11:53:12 -06:00
Adam 8faaea9c01 wip(share): more styling 2025-11-24 15:10:40 -06:00
Luke Parker a814255564 fix: Tool calling on windows (#4234) 2025-11-12 17:47:39 -06:00
GitHub Action 9855771157 chore: format code 2025-11-08 01:59:02 +00:00
Dax Raad 643352d20e fix session performance issue from large diffs 2025-11-04 13:35:44 -05:00
Dax Raad 21c789a37d fix failing migration 2025-10-24 09:20:15 -04:00
Haris Gušić a859ac532f Improve http error codes (#3186) 2025-10-15 10:53:09 -05:00
Dax Raad ef1f2943a5 fix: remove file existence check from LSP debug and format storage code 2025-09-23 16:49:57 -04:00
Dax Raad 1e6134f5c9 catch migration failures 2025-09-01 18:00:40 -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
Yihui Khuu 9e80e6d855 feat: pass mode into task tool (#1248) 2025-07-23 20:29:59 -04:00
Dax Raad f72567716f bring back task tool
publish / publish (push) Has been cancelled
2025-07-15 00:05:54 -04:00
Jase Kraft cd8946d0a6 fix: --continue pull the latest session id consistently (#918)
Co-authored-by: Dax Raad <d@ironbay.co>
2025-07-14 20:32:00 -04:00
Dax 4c802ae916 Part data model (#950) 2025-07-13 17:22:11 -04:00
Rami Chowdhury 8e438cc61f feat(storage): ensure storage directory exists and handle paths correctly (#771) 2025-07-08 15:34:11 -05:00
Dax Raad 992bbcbd60 fix crash when running on new project
publish / publish (push) Has been cancelled
2025-07-07 17:39:52 -04: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
Adam b0b9740de9 feat: delete sessions (#362)
publish / publish (push) Has been cancelled
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-06-24 11:07:41 -05:00