Tommy D. Rossi
d62ec7776e
feat: allow session permission updates ( #22070 )
2026-04-11 17:14:30 -05:00
opencode-agent[bot]
d1f05b0f3a
chore: generate
2026-04-11 16:53:40 +00:00
Kit Langton
ccb0b320e1
refactor(session): make SystemPrompt a proper Effect Service ( #21992 )
2026-04-11 12:52:35 -04:00
opencode-agent[bot]
3b523b32f5
chore: generate
2026-04-11 03:28:30 +00:00
Kit Langton
ba3600a515
refactor(session): remove dead updatePartDelta facade ( #21985 )
2026-04-10 23:27:30 -04:00
Kit Langton
cd004cf0b2
refactor(session): eliminate Effect.promise roundtrips for sync MessageV2.stream ( #21973 )
2026-04-10 23:18:13 -04:00
Kit Langton
3dd09147c2
refactor(tool): Tool.Context.metadata returns Effect ( #21972 )
2026-04-10 23:12:04 -04:00
Kit Langton
9581bf0670
refactor(effect): upgrade opencode to beta.46 context APIs ( #21977 )
2026-04-10 23:06:28 -04:00
Kit Langton
af8aff3788
refactor: make TaskPromptOps effectful ( #21971 )
2026-04-10 22:57:47 -04:00
Kit Langton
5917ac2162
fix: provide EffectLogger.layer to bare Effect.runPromise/runFork calls ( #21974 )
2026-04-10 22:55:08 -04:00
opencode-agent[bot]
577139c626
chore: generate
2026-04-11 02:36:59 +00:00
Kit Langton
c5fb6281f0
refactor(tool): Tool.Def.execute returns Effect, rename defineEffect → define ( #21961 )
2026-04-10 22:36:02 -04:00
Kit Langton
f99812443c
refactor: destroy SessionStatus facade ( #21968 )
2026-04-10 22:16:53 -04:00
Kit Langton
a4c686025c
refactor: destroy Todo facade ( #21962 )
2026-04-10 21:47:28 -04:00
opencode-agent[bot]
605559b165
chore: generate
2026-04-11 01:22:01 +00:00
Kit Langton
5cd4c6eb22
refactor: destroy Storage facades ( #21956 )
2026-04-10 21:21:02 -04:00
Kit Langton
40358d60a0
refactor: add Effect logger for motel observability ( #21954 )
2026-04-10 21:10:58 -04:00
Aiden Cline
33819932ec
tweak: rm processor .trim calls ( #21958 )
2026-04-10 19:47:08 -05:00
Kit Langton
cf27a73397
feat: add AppRuntime for unified service composition ( #21953 )
2026-04-10 19:46:52 -04:00
Kit Langton
d9d5a0615e
refactor: break SessionPrompt/TaskTool cycle via ctx injection ( #21948 )
2026-04-10 19:36:13 -04:00
James Long
180ded6a27
rector(core,tui): handle workspace state in project context, add workspace status, improve ui ( #21896 )
2026-04-10 13:03:20 -04:00
Aiden Cline
9819eb0461
tweak: disable
2026-04-09 23:11:09 -05:00
Shoubhit Dash
aa86fb75ad
refactor compaction tail selection
2026-04-10 09:36:39 +05:30
Shoubhit Dash
6f5a3d30fd
keep recent turns during session compaction
2026-04-10 09:34:01 +05:30
Kit Langton
eca11ca71a
refactor(effect): use SessionRevert service in prompt ( #21796 )
2026-04-09 22:28:11 -04:00
Kit Langton
16c60c9ee7
refactor(session): extract sharing orchestration ( #21759 )
2026-04-09 21:47:48 -04:00
Kit Langton
b2f621b897
refactor(session): inline init route orchestration ( #21754 )
2026-04-09 16:28:42 -04:00
Kit Langton
10441efad1
refactor(effect): extract session run state service ( #21744 )
2026-04-09 16:03:40 -04:00
Kit Langton
3199383eef
fix: finalize interrupted bash via tool result path ( #21724 )
2026-04-09 15:20:28 -04:00
Kit Langton
9f54115c5d
refactor: remove unused runtime facade exports ( #21731 )
2026-04-09 14:52:06 -04:00
Dax
bd53b651a3
refactor: fix tool call state handling and clean up imports ( #21709 )
2026-04-09 11:56:19 -04:00
Kit Langton
46da801f30
refactor(effect): drop shell abort signals from runner ( #21599 )
2026-04-09 10:54:26 -04:00
Kit Langton
58a99916bb
fix: preserve text part timing in session processor ( #21691 )
2026-04-09 10:05:14 -04:00
Kit Langton
c29392d085
fix: preserve interrupted bash output in tool results ( #21598 )
2026-04-09 10:03:26 -04:00
Aiden Cline
489f57974d
feat: add opencode go upsell modal when limits are hit ( #21583 )
...
Co-authored-by: Frank <frank@anoma.ly>
2026-04-09 02:16:29 -04:00
Vladimir Glafirov
cd8e8a9928
feat(llm): integrate GitLab DWS tool approval with permission system ( #19955 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-08 20:39:33 -05:00
Kit Langton
8bdcc22541
refactor(effect): inline session processor interrupt cleanup ( #21593 )
2026-04-08 21:19:01 -04:00
Kit Langton
2bdd279467
fix: propagate abort signal to inline read tool ( #21584 )
2026-04-08 21:07:55 -04:00
Kit Langton
38f8714c09
refactor(effect): build task tool from agent services ( #21017 )
2026-04-08 19:02:19 -04:00
Dax
463318486f
core: refactor tool system to remove agent context from initialization ( #21052 )
2026-04-07 19:48:12 -04:00
Aiden Cline
81bdffc81c
fix: ensure the alibaba provider errors are retried ( #21355 )
2026-04-07 17:46:01 +00:00
Dax
1f94c48bdd
fix(opencode): keep user message variants scoped to model ( #21332 )
2026-04-07 10:12:53 -04:00
Aiden Cline
48c1b6b338
tweak: move the max token exclusions to plugins @rekram1-node ( #21225 )
2026-04-06 17:43:58 -05:00
Aiden Cline
40e4cd27a1
tweak: adjust chat.params hook to allow altering of the maxOutputTokens ( #21220 )
2026-04-06 18:13:30 +00:00
Aiden Cline
280eb16e77
fix: ensure reasoning tokens arent double counted when calculating usage ( #21047 )
2026-04-04 15:29:53 -07:00
Yuxin Dong
c08fa5675f
refactor: remove redundant Kimi skill section ( #20393 )
...
Co-authored-by: dongyuxin <dongyuxin@dev.dongyuxin.msh-dev.svc.cluster.local>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-04 18:32:26 +00:00
Kit Langton
f2d4ced8ea
refactor(effect): build todowrite tool from Todo service ( #20789 )
...
Co-authored-by: Juan Pablo Carranza Hurtado <52012198+jpcarranza94@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 12:05:40 -04:00
Kit Langton
7994dce0f2
refactor(effect): resolve built tools through the registry ( #20787 )
2026-04-03 10:31:00 -04:00
Nate Williams
6359d00fb4
fix(core): fix restoring earlier messages in a reverted chain ( #20780 )
2026-04-03 18:23:00 +05:30
Kevin Flansburg
e89527c9f0
feat: Send x-session-affinity and x-parent-session-id headers ( #20744 )
2026-04-02 22:09:53 -05:00
Kit Langton
8942fc21aa
refactor(effect): prune unused facades ( #20748 )
2026-04-02 20:15:09 -04:00
Kit Langton
5e1b513527
refactor(todo): effectify session todo ( #20595 )
2026-04-02 19:11:23 +00:00
Aiden Cline
510a1e8140
ignore: fix typecheck in dev ( #20702 )
2026-04-02 15:38:30 +00:00
Noam Bressler
291a857fb8
feat: add optional messageID to ShellInput ( #20657 )
2026-04-02 10:18:16 -05:00
Aiden Cline
23c8656080
refactor: split up models.dev and config model definitions to prevent coupling ( #20605 )
2026-04-02 10:00:43 -05:00
Frank
811c7e2494
cli: update usage exceeded error
2026-04-02 00:25:23 -04:00
Aaron Zhu
5daf2fa7f0
fix(session): compaction agent responds in same language as conversation ( #20581 )
...
Co-authored-by: Aaron Zhu <aaron@Aarons-MacBook-Air.local>
2026-04-01 21:44:16 -05:00
Valentin Vivaldi
733a3bd031
fix(core): prevent agent loop from stopping after tool calls with OpenAI-compatible providers ( #14973 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-04-01 21:34:01 -05:00
Kit Langton
0bae38c062
refactor(instruction): migrate to Effect service pattern ( #20542 )
2026-04-01 22:22:51 -04:00
Kit Langton
b1c07488bd
refactor(revert): yield SessionSummary.Service directly ( #20541 )
2026-04-01 20:10:59 -04:00
opencode-agent[bot]
854484babf
chore: generate
2026-04-01 23:49:44 +00:00
Kit Langton
26fb6b8788
refactor: add Effect-returning versions of MessageV2 functions ( #20374 )
2026-04-01 19:48:36 -04:00
Kit Langton
d9d4f895bc
fix(test): auto-acknowledge tool-result follow-ups in mock LLM server ( #20528 )
2026-04-01 23:47:26 +00:00
Kit Langton
a9c85b7c27
refactor(shell): use Effect ChildProcess for shell command execution ( #20494 )
2026-04-01 12:07:57 -04:00
Kit Langton
5fd833aa18
refactor: standardize InstanceState variable name to state ( #20267 )
2026-04-01 10:39:43 -04:00
Kit Langton
181b5f6236
refactor(prompt): use Provider service in effect layers ( #20167 )
2026-04-01 00:44:15 +00:00
opencode-agent[bot]
9b09a7e766
chore: generate
2026-03-31 23:15:56 +00:00
Kit Langton
3fc0367b93
refactor(session): effectify SessionRevert service ( #20143 )
2026-03-31 19:14:49 -04:00
Kit Langton
954a6ca88e
refactor(session): effectify SessionSummary service ( #20142 )
2026-03-31 19:14:45 -04:00
Kit Langton
0c03a3ee10
test: migrate prompt tests to HTTP mock LLM server ( #20304 )
2026-03-31 19:14:32 -04:00
Major Hayden
26cc924ea2
feat: enable prompt caching and cache token tracking for google-vertex-anthropic ( #20266 )
...
Signed-off-by: Major Hayden <major@mhtx.net>
2026-03-31 15:16:14 -05:00
Dax
567a91191a
refactor(session): simplify LLM stream by replacing queue with fromAsyncIterable ( #20324 )
2026-03-31 15:27:51 -04:00
Yuxin Dong
2daf4b805a
feat: add a dedicated system prompt for Kimi models ( #20259 )
...
Co-authored-by: dongyuxin <dongyuxin@dev.dongyuxin.msh-dev.svc.cluster.local>
2026-03-31 17:44:17 +02:00
Dax
befbedacdc
fix(session): subagents not being clickable ( #20263 )
2026-03-31 08:58:46 -04:00
Kit Langton
e6f6f7aff1
refactor: replace Filesystem util with AppFileSystem service ( #20127 )
2026-03-30 21:48:28 +00:00
Kit Langton
2ed756c72c
fix(session): restore busy route handling and add regression coverage ( #20125 )
2026-03-30 20:30:34 +00:00
Kit Langton
c5442d418d
refactor(session): effectify SessionPrompt service ( #19483 )
2026-03-30 20:06:51 +00:00
Aiden Cline
9f3c2bd861
fix: agent value passed to chat.params and chat.headers hooks was not a string ( #19996 )
2026-03-30 16:32:27 +00:00
Knut Zuidema
196a03caff
fix: discourage _noop tool call during LiteLLM compaction ( #18539 )
2026-03-29 22:48:17 -05:00
Luke Parker
b234370080
feat(windows): add first-class pwsh/powershell support ( #16069 )
2026-03-30 13:10:01 +10:00
Aiden Cline
afb6abff73
fix: ensure OPENCODE_DISABLE_CLAUDE_CODE_PROMPT is respected for project lvl CLAUDE.md ( #19924 )
2026-03-29 18:02:29 +00:00
ualtinok
72c77d0e7b
fix(session): fix token usage double-counting w/ anthropic & bedrock due to AI SDK v6 upgrade ( #19758 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-03-29 12:40:10 -05:00
Aiden Cline
72cb9dfa31
tweak: adjust gpt prompt to be more minimal, fix file reference annoyances ( #19585 )
2026-03-28 21:32:40 -05:00
Aiden Cline
36aeb32159
ignore: kill todo ( #19566 )
2026-03-29 00:06:32 +00:00
Kit Langton
860531c275
refactor(session): effectify session processor ( #19485 )
2026-03-28 12:09:47 -04:00
Kit Langton
2145d97f18
refactor(session): effectify SessionCompaction service ( #19459 )
2026-03-28 01:09:14 +00:00
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
Filip
91f2ac3cb2
test(app): workspace tests ( #11659 )
2026-02-01 15:39:50 -06:00
Aiden Cline
ec720145fa
fix: when using codex sub, send the custom agent prompts as a separate developer message (previously sent as user message but api allows for instructions AND developer messages) ( #11667 )
...
Co-authored-by: Carlos <carloscanas942@gmail.com>
2026-02-01 14:57:47 -06:00
neavo
f15755684f
fix(opencode): scope agent variant to model ( #11410 )
2026-02-01 14:12:30 -06:00
YeonGyu-Kim
16145af480
fix: prevent duplicate AGENTS.md injection when reading instruction files ( #11581 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-01 13:46:08 -06:00
Aiden Cline
da7c874808
tweak: show actual retry error message instead of generic error msg ( #11520 )
2026-01-31 13:15:42 -06:00
Steffen Deusch
d9f18e4006
feat(opencode): add copilot specific provider to properly handle copilot reasoning tokens ( #8900 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-30 19:53:22 -06:00
Aiden Cline
11d486707c
fix: rm ai sdk middleware that was preventing <think> blocks from being sent back as assistant message content ( #11270 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-01-30 09:36:57 -05:00
Ravi Kumar
03ba49af4e
fix(telemetry): restore userId and sessionId metadata in experimental_telemetry ( #8195 )
2026-01-29 10:14:28 -06:00
Ariane Emory
e84d92da28
feat: Sequential numbering for forked session titles (Issue #10105 ) ( #10321 )
2026-01-28 23:08:35 -06:00
Aiden Cline
29ea9fcf25
fix: ensure variants for copilot models work w/ maxTokens being set
2026-01-28 21:55:50 -06:00
ideallove
870c38a6aa
fix: maxOutputTokens was accidentally hardcoded to undefined ( #10995 )
2026-01-28 21:28:15 -06:00
RenegadeE
26e14ce628
fix: add SubtaskPart with metadata reference ( #10990 )
...
Co-authored-by: yangtianzhe <yangtianzhe@corp.netease.com>
2026-01-28 11:11:43 -05:00
Aiden Cline
558590712d
fix: ensure parallel tool calls dont double load AGENTS.md
2026-01-28 01:38:10 -05:00
Aiden Cline
f12f7e7718
tweak: adjust retry check to be more defensive
2026-01-27 11:31:02 -05:00
GitHub Action
dbc8d7edca
chore: generate
2026-01-27 15:59:54 +00:00
dpuyosa
d8e7e915e2
feat(opencode): Handle Venice cache creation tokens ( #10735 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-01-27 10:59:12 -05:00
Aiden Cline
8b5dde5536
tweak: retry logic to catch certain provider problems
2026-01-26 16:12:41 -05:00
Tim
837037cd04
fix: ensure openai 404 errors are retried ( #10590 )
2026-01-26 13:50:04 -05:00
Aiden Cline
ac53a372b0
feat: use anthropic compat messages api for anthropic models through copilot
2026-01-26 13:18:08 -05:00
Aiden Cline
39a73d4894
feat: dynamically resolve AGENTS.md files from subdirectories as agent explores them ( #10678 )
2026-01-26 10:49:41 -05:00
adamelmore
7c34319b19
fix(app): query selector with non-latin chars
2026-01-26 09:33:42 -06:00
Noam Bressler
6b83b172ae
fix: await SessionRevert.cleanup for shell ( #10669 )
2026-01-26 07:36:17 -05:00
Aiden Cline
94dd0a8dbe
ignore: rm spoof and bump plugin version
2026-01-25 17:27:24 -05:00
Aiden Cline
88bcd04659
tweak: tell the model what model it is in environment section of prompt
2026-01-24 12:10:15 -05:00
Alex Yaroshuk
8a216a6ad5
fix(app): normalize path separators for session diff filtering on Windows ( #10291 )
2026-01-23 16:17:47 -06:00
Aiden Cline
c2844697f3
fix: ensure images are properly returned as tool results
2026-01-21 23:54:44 -06:00
luo jiyin
c3415b79fe
fix: correct spelling 'supercedes' to 'supersedes' ( #9935 )
...
Signed-off-by: luojiyin <luojiyin@hotmail.com>
2026-01-21 22:10:40 -06:00
Daniel Rodriguez
6d574549bc
fix: include _noop tool in activeTools for LiteLLM proxy compatibility ( #9912 )
2026-01-21 18:46:41 -06:00
Aiden Cline
c89f6e7ac6
add chat.headers hook, adjust codex and copilot plugins to use it
2026-01-21 15:10:08 -06:00
Aiden Cline
aa599b4a7d
fix: when dropping unsupported metadata match on providerID/model.id instead of providerID/model.api.id to prevent regression when using legacy model ids (pre-variant)
2026-01-21 13:39:55 -06:00
Dax Raad
65938baf00
core: update session summary after revert to show file changes
2026-01-21 01:01:20 -05:00
GitHub Action
96e9c89cc6
chore: generate
2026-01-21 05:37:18 +00:00
Kenny
a18ae2c8b7
feat: add OPENCODE_DISABLE_PROJECT_CONFIG env var ( #8093 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-20 23:36:42 -06:00
Aiden Cline
9dc95c4c69
tweak: ensure synthetic user message following subtasks is only added when user manually invoked subtask
2026-01-20 22:51:54 -06:00
GitHub Action
dac73572e0
chore: generate
2026-01-21 02:39:31 +00:00
Ariane Emory
cbe20d22d3
fix: don't update session timestamp for metadata-only changes ( resolves #9494 ) ( #9495 )
2026-01-20 20:38:54 -06:00
Aiden Cline
021e42c0bb
core: fix issue when switching models (mainly between providers) where past reasoning/metadata would be sent to server and cause 400 errors since they came from another account/provider
2026-01-20 16:39:00 -06:00
Aiden Cline
0c4ffec857
chore: rename toModelMessage -> toModelMessages
2026-01-20 16:16:23 -06:00
Trevor Walker
694695050a
fix(opencode): preserve tool input from running state for MCP tool results ( #9667 )
2026-01-20 15:12:15 -06:00
Tommy D. Rossi
68e41a1ee7
fix: pass arguments to commands without explicit placeholders ( #9606 )
2026-01-20 11:12:43 -06:00
Aiden Cline
5622c53e1f
tweak: adjust codex prompt to discourage unnecessary question asking and encourage more autonomy
2026-01-20 11:08:04 -06:00
Aiden Cline
419004992d
chore: remove duplicate prompt file
2026-01-19 23:22:57 -06:00
Aiden Cline
0d49df46ef
fix: ensure truncation handling applies to mcp servers too
2026-01-19 23:19:24 -06:00
Spoon
bfd2f91d5b
feat(hook): command execute before hook ( #9267 )
2026-01-18 13:11:22 -06:00
Aiden Cline
b7ad6bd839
feat: apply_patch tool for openai models ( #9127 )
2026-01-18 00:35:09 -06:00
Aiden Cline
9127055ae7
tweak: wording
2026-01-16 15:50:24 -06:00
Aiden Cline
f5a6a4af7f
Revert "fix: ensure that tool attachments arent sent as user messages ( #8944 )"
...
This reverts commit 8fd1b92e6e .
2026-01-16 15:50:24 -06:00
Aiden Cline
14d1e20287
Revert "fix(app): support anthropic models on azure cognitive services" ( #8966 )
2026-01-16 15:25:23 -06:00
Unies Ananda Raja
b8e2895dfc
fix(app): support anthropic models on azure cognitive services ( #8335 )
2026-01-16 15:24:06 -06:00
Aiden Cline
8fd1b92e6e
fix: ensure that tool attachments arent sent as user messages ( #8944 )
2026-01-16 12:47:43 -06:00
Aiden Cline
e0a854f035
Revert "fix: rm user message when dealing w/ image attachments, use proper tool attachment instead"
...
This reverts commit de2de099b4 .
2026-01-16 09:33:54 -06:00
Aiden Cline
524ea95a00
update gpt models prompt
2026-01-16 01:34:01 -06:00
Aiden Cline
de2de099b4
fix: rm user message when dealing w/ image attachments, use proper tool attachment instead
2026-01-16 00:05:10 -06:00
Aiden Cline
d7192d6af9
tweak: set opencode as user agent for most interefence requests
2026-01-15 19:25:58 -06:00
Daniel Polito
8b08d340ac
fix: stop changing main model/agent from subtasks invocation ( #7681 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-15 17:18:39 -06:00
seilk
9b57db30d1
feat: add litellmProxy provider option for explicit LiteLLM compatibility ( #8658 )
...
Co-authored-by: Mark Henderson <Mark.Henderson99@hotmail.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-01-15 22:01:15 +00:00
Qunhong Zeng
b14622352e
fix(session): ensure agent exists before processing title in session summary ( #8662 )
2026-01-15 15:24:13 -06:00
Brandon Smith
8d720f9463
fix(opencode): add input limit for compaction ( #8465 )
2026-01-15 01:35:16 -06:00
Aiden Cline
92931437c4
fix: codex id issue ( #8605 )
2026-01-15 01:31:50 -06:00
Cas
6e13e2f74e
fix(session): remove typo'd duplicate path import ( #8408 ) ( #8412 )
...
Co-authored-by: opencode <opencode@sst.dev>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2026-01-14 09:04:03 -06:00
Dax Raad
fcc561ebb7
fix plan mode when not in git worktree
2026-01-14 08:21:26 -05:00
zerone0x
f9fcdead55
fix(session): skip duplicate system prompt for Codex OAuth sessions ( #8357 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-13 23:44:39 -06:00
Dax
0a3c72d678
feat: add plan mode with enter/exit tools ( #8281 )
2026-01-13 15:55:48 -05:00
Jason Kölker
d954e1e3b6
fix(session): store api url in metadata ( #8090 )
2026-01-12 17:22:42 -06:00