Kit Langton
e5f0e813b6
refactor(session): effectify Session service ( #19449 )
2026-03-27 16:25:47 -04:00
Aiden Cline
c33d9996f0
feat: AI SDK v6 support ( #18433 )
2026-03-27 15:24:30 -05:00
Sebastian
6274b0677c
tui plugins ( #19347 )
2026-03-27 15:00:26 +01:00
James Long
38450443b1
feat(core): remove workspace server, WorkspaceContext, start work towards better routing ( #19316 )
2026-03-26 12:30:26 -04:00
Aiden Cline
da1d37274f
feat: add gpt prompt so non codex gpt models have their own system prompt modeled after codex cli ( #19220 )
2026-03-26 15:57:38 +00:00
Kit Langton
97c15a087d
effectify Bus service: migrate to Effect PubSub + InstanceState ( #18579 )
2026-03-25 20:19:24 -04:00
Kit Langton
8864fdce2f
fix: Windows e2e stability (CrossSpawnSpawner, snapshot isolation, session race guards) ( #19163 )
2026-03-25 19:49:14 -04:00
André Cruz
7123aad5a8
fix(opencode): classify ZlibError from Bun fetch as retryable instead of unknown ( #19104 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-25 13:08:40 -05:00
James Long
b0017bf1b9
feat(core): initial implementation of syncing ( #17814 )
2026-03-25 10:47:40 -04:00
Ryan Skidmore
814a515a8a
fix: improve plugin system robustness — agent/command resolution, async errors, hook timing, two-phase init ( #18280 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-24 12:50:55 -05:00
Vladimir Glafirov
9330bc5339
fix: route GitLab Duo Workflow system prompt via flowConfig ( #18928 )
2026-03-24 12:33:18 -05:00
Aiden Cline
691644eeeb
tweak: add back setting user agent in requests ( #18795 )
2026-03-23 15:34:59 +00:00
Kit Langton
0e0e7a4a4b
effectify Command service ( #18568 )
2026-03-22 00:21:41 +00:00
Kit Langton
10a3d6c54e
effectify SessionStatus service ( #18565 )
2026-03-21 23:55:07 +00:00
Kit Langton
38e0dc9ccd
Move service state into InstanceState, flatten service facades ( #18483 )
2026-03-21 04:51:35 +00:00
Kit Langton
214a6c6cf1
fix: switch consumers to service imports to break bundle cycles ( #18438 )
2026-03-20 20:55:46 +00:00
Vladimir Glafirov
05d3e65f76
feat: enable GitLab Agent Platform with workflow model discovery ( #18014 )
2026-03-20 12:55:22 -05:00
Aiden Cline
bfdc38e421
tweak: adjust codex plugin logic so that codex instruction isn't always added (oauth plan no longer enforces instruction whitelisting) ( #18337 )
2026-03-20 10:37:47 -05:00
Luke Parker
d460614cd7
fix: lots of desktop stability, better e2e error logging ( #18300 )
2026-03-20 00:12:06 -04:00
Dax
1071aca91f
fix: miscellaneous small fixes ( #18328 )
2026-03-19 22:20:29 -04:00
Dax
52a7a04ad8
refactor: replace Bun shell execution with portable Process utilities ( #18318 )
2026-03-19 21:17:06 -04:00
Dax
1ac1a0287c
anthropic legal requests ( #18186 )
2026-03-19 04:45:24 +00:00
Kit Langton
84e62fc662
fix(session): preserve tagged error messages ( #18165 )
2026-03-18 20:36:53 -04:00
Aiden Cline
8ee939c741
tweak: remove unnecessary parts from the fallback system prompt ( #18140 )
2026-03-18 17:27:47 -05:00
Kit Langton
5dfe86dcb1
refactor(truncation): effectify TruncateService, delete Scheduler ( #17957 )
2026-03-17 21:59:54 -04:00
Kit Langton
fee3c196c5
add prompt schema validation debug logs ( #17812 )
2026-03-17 19:18:16 -04:00
Kit Langton
2cbdf04ec9
refactor(file-time): effectify FileTimeService with Semaphore locks ( #17835 )
2026-03-16 18:23:13 +00:00
DS
4cb29967f6
fix(opencode): apply message transforms during compaction ( #17823 )
2026-03-16 11:32:53 -05:00
Jason Quense
c2ca1494e5
fix(opencode): preserve prompt tool enables with empty agent permissions ( #17064 )
...
Co-authored-by: jquense <jquense@ramp.com>
2026-03-15 23:01:46 -05:00
Kit Langton
66e8c57ed1
refactor(schema): inline branded ID schemas ( #17504 )
2026-03-14 16:14:46 +00:00
Adam
843f188aaa
fix(app): support text attachments ( #17335 )
2026-03-13 06:58:24 -05:00
Shoubhit Dash
9457493696
perf(server): paginate session history ( #17134 )
2026-03-13 15:48:43 +05:30
Adam
9d3c42c8c4
fix(app): task error state
2026-03-12 16:25:49 -05:00
Kit Langton
1cb7df7159
refactor(provider): flow branded ProviderID/ModelID through internal signatures ( #17182 )
2026-03-12 14:48:17 +00:00
Kit Langton
c45467964c
feat(id): brand ProviderID and ModelID ( #17110 )
2026-03-12 09:27:52 -04:00
Kit Langton
2a4dedc210
feat(id): brand PermissionID, PtyID, QuestionID, and ToolID ( #17042 )
2026-03-12 01:49:57 +00:00
Kit Langton
090f636354
feat(id): brand PartID through Drizzle and Zod schemas ( #16966 )
2026-03-11 23:40:50 +00:00
Kit Langton
16a6d6feba
feat(id): brand WorkspaceID through Drizzle and Zod schemas ( #16964 )
2026-03-11 23:30:17 +00:00
Kit Langton
cb67465675
feat(id): brand SessionID through Drizzle and Zod schemas ( #16953 )
2026-03-11 23:16:56 +00:00
Aiden Cline
f96e2d4222
tweak: adjust skill presentation to be a little less token heavy ( #17098 )
2026-03-11 16:03:15 -05:00
Kit Langton
dbc00aa8e0
feat(id): brand ProjectID through Drizzle and Zod schemas ( #16948 )
2026-03-11 16:44:26 -04:00
Aiden Cline
0f6bc8ae71
tweak: adjust way skills are presented to agent to increase likelyhood of skill invocations. ( #17053 )
2026-03-11 10:24:55 -05:00
Luke Parker
4ab35d2c5c
fix(electron): hide Windows background consoles ( #16842 )
...
Co-authored-by: Brendan Allan <git@brendonovich.dev>
2026-03-11 13:33:06 +10:00
Dax
613562f504
core: make account login upgrades safe while adding multi-account workspace auth ( #15487 )
...
Co-authored-by: Kit Langton <kit.langton@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 12:53:47 -04:00
James Long
a4330a225d
feat(core): allow passing workspaceID into session create endpoint ( #16798 )
2026-03-10 11:12:51 -04:00
Dax Raad
831eb6881b
refactor: change pathToFileURL imports from bun to url module
2026-03-09 14:52:25 -04:00
Ryan Skidmore
fd6f7133c5
fix(opencode): clone part data in Bus event to preserve token values ( #15780 )
2026-03-02 22:52:43 -05:00
opencode-agent[bot]
4b9e19f72f
chore: generate
2026-03-02 07:41:53 +00:00
bentrd
be20f865ac
fix: recover from 413 Request Entity Too Large via auto-compaction ( #14707 )
...
Co-authored-by: Noam Bressler <noamzbr@gmail.com>
2026-03-02 13:10:55 +05:30
James Long
3ee1653f40
feat(core): add workspace_id to session table ( #15410 )
2026-02-28 22:09:53 -05:00
Shantur Rathore
79b5ce58e9
feat(core): add message delete endpoint ( #14417 )
2026-02-25 09:25:26 -05:00
Ryan Vogel
7419ebc872
feat: add list sessions for all sessions (experimental) ( #14038 )
2026-02-20 08:45:12 -05:00
NatChung
d2d7a37bca
fix: add missing id/sessionID/messageID to MCP tool attachments ( #14345 )
2026-02-19 18:37:56 -06:00
Dax
01d518708a
remove unnecessary deep clones from session loop and LLM stream ( #14354 )
2026-02-19 18:37:55 -06:00
Dax
cb8b74d3f1
refactor: migrate from Bun.Glob to npm glob package ( #14317 )
2026-02-19 13:40:09 -05:00
Dax Raad
af72010e9f
Revert "refactor: migrate from Bun.Glob to npm glob package"
...
This reverts commit 3c21735b35 .
2026-02-19 12:48:43 -05:00
Dax Raad
3c21735b35
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
02a9495063
Remove use of Bun.file ( #14215 )
2026-02-19 11:32:32 -05:00
Dax Raad
568eccb4c6
Revert: all refactor commits migrating from Bun.file() to Filesystem module
2026-02-18 19:41:14 -05:00
Dax
57b63ea83d
refactor: migrate src/session/prompt.ts from Bun.file() to Filesystem/stat modules ( #14128 )
2026-02-19 00:18:05 +00:00
Dax
ae398539c5
refactor: migrate src/session/instruction.ts from Bun.file() to Filesystem module ( #14130 )
2026-02-18 18:09:45 -05:00
opencode-agent[bot]
2d7c9c9692
chore: generate
2026-02-18 20:15:14 +00:00
Helge Tesdal
1aa18c6cd6
feat(plugin): pass sessionID and callID to shell.env hook input ( #13662 )
2026-02-18 14:14:18 -06:00
legao
c56f4aa5d8
refactor: simplify redundant ternary in updateMessage ( #13954 )
2026-02-17 17:40:14 -06:00
Aiden Cline
e35a4131d0
core: keep message part order stable when files resolve asynchronously ( #13915 )
2026-02-16 18:45:11 -06:00
Aiden Cline
a580fb47d2
tweak: drop ids from attachments in tools, assign them in prompt.ts instead ( #13890 )
2026-02-16 14:59:57 -06:00
Rafi Khardalian
45fa5e7199
fix(core): remove unnecessary per-message title LLM calls ( #13804 )
2026-02-16 06:04:20 -06:00
Dax Raad
68bb8ce1da
core: filter sessions at database level to improve session list loading performance
2026-02-14 13:41:15 -05:00
Dax Raad
b020758446
tui: show all project sessions from any working directory
...
Previously sessions were only listed if they were created in the current
working directory or its subdirectories. Users can now view and switch
to any session in the project regardless of which directory they're in.
2026-02-14 01:21:41 -05:00
Dax
6d95f0d14c
sqlite again ( #10597 )
...
Co-authored-by: Github Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
2026-02-14 04:19:02 +00:00
Aiden Cline
98aeb60a7f
fix: ensure @-ing a dir uses the read tool instead of dead list tool ( #13428 )
2026-02-12 23:20:33 -06:00
Dax Raad
56ad2db020
core: expose tool arguments in shell hook for plugin visibility
2026-02-12 09:54:47 -05:00
Kyle Mistele
e269788a8f
feat: support claude agent SDK-style structured outputs in the OpenCode SDK ( #8161 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Dax Raad <d@ironbay.co>
2026-02-12 04:54:05 +00:00
Aiden Cline
8c7b35ad05
tweak: compaction check ( #13214 )
2026-02-11 21:43:04 +00:00
Aiden Cline
006d673ed2
tweak: make read tool offset 1 indexed instead of 0 to avoid confusion that could be caused by line #s being 1 based ( #13198 )
2026-02-11 14:02:30 -06:00
Aiden Cline
0fd6f365be
fix(core): ensure compaction is more reliable, add reserve token buffer to ensure that input window has enough room to compact ( #12924 )
...
Co-authored-by: James Lal <james@littlebearlabs.io>
2026-02-10 19:55:22 -06:00
Dax
8bdf6fa359
fix: show helpful message when free usage limit is exceeded ( #13005 )
2026-02-10 19:04:10 +00:00
Adam
659f15aa9b
fix(app): no changes in review pane
2026-02-10 11:53:33 -06:00
Peter Dave Hello
87795384de
chore: fix typos and GitHub capitalization ( #12852 )
2026-02-10 06:53:38 -06:00
Surma
832902c8e3
fix: publish session.error event for invalid model selection ( #8451 )
2026-02-09 16:27:48 -06:00
Aiden Cline
8ad4768ecd
tweak: adjust agent variant logic to not require exact match on model, and instead check if the variant is available for model ( #12838 )
2026-02-09 11:00:06 -06:00
Aiden Cline
99ea1351ce
tweak: add new ContextOverflowError type ( #12777 )
2026-02-08 23:54:01 -06:00
Aiden Cline
62f38087b8
fix: parse mid stream openai responses style errors to prevent infinite retries for errors that should STOP execution ( #12768 )
2026-02-08 20:55:41 -06:00
Shantur Rathore
a486b74b14
feat(core): Set variant in assistant messages too ( #12531 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-06 16:33:47 -06:00
Khang Ha (Kelvin)
fde0b39b7c
fix: properly encode file URLs with special characters ( #12424 )
2026-02-06 16:16:56 -06:00
opencode-agent[bot]
e767801db2
chore: generate
2026-02-06 22:14:34 +00:00
Goni Zahavy
def907ae4b
fix(opencode): SessionPrompt.shell() now triggers loop if messages are queued ( #10987 )
2026-02-06 16:13:11 -06:00
Mariam Jabara
95ad6758af
feat: add specific system prompt for Trinity model ( #12144 )
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-06 11:43:10 -06:00
Dax
a45841396f
core: fix unhandled errors when aborting with queued messages ( #12369 )
2026-02-05 22:27:27 +00:00
Zhiming Guo
72de9fe7a6
fix(opencode): Fixes image reading with OpenAI-compatible providers like Kimi K2.5. ( #11323 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-05 01:54:07 -06:00
Adam
1721c6efdf
fix(core): session errors when attachment file not found
2026-02-04 10:21:03 -06:00
Łukasz Gładysz
6daa962aaa
fix: prioritize OPENCODE_CONFIG_DIR for AGENTS.md ( #11536 )
2026-02-04 01:35:22 +00:00
Aiden Cline
b5a4671c64
Revert "feat: add Trinity model system prompt support" ( #12029 )
2026-02-03 16:39:03 -06:00
Mariam Jabara
015cd404e4
feat: add Trinity model system prompt support ( #12025 )
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 16:33:27 -06:00
Tyler Gannon
a30696f9bf
feat(plugin): add shell.env hook for manipulating environment in tools and shell ( #12012 )
2026-02-03 15:18:41 -06:00
Aiden Cline
b7b734f51f
fix: ensure mcp tools are sanitized ( #11984 )
2026-02-03 12:22:00 -06:00
Aiden Cline
aa6b552c39
Revert pr that was mistakenly merged ( #11844 )
2026-02-02 15:28:02 -06:00
Dax
c69474846f
Simplify directory tree output for prompts ( #11731 )
2026-02-01 23:37:07 -05:00
Dax Raad
6c9b2c37a5
core: allow starting new sessions after errors by fixing stuck session status
2026-02-01 20:39:58 -05:00
Aiden Cline
612b656d36
fix: adjust resolve parts so that when messages with multiple @ references occur, the tool calls are properly ordered
2026-02-01 19:26:23 -05:00