Shoubhit Dash
7e997cfba4
refactor(scout): resolve configured reference mentions ( #26701 )
2026-05-11 12:57:26 +05:30
Kit Langton
274033cd52
Validate prompt messages with Effect Schema ( #26796 )
2026-05-11 02:59:20 +00:00
opencode-agent[bot]
38e4540119
chore: generate
2026-05-11 01:41:26 +00:00
Dax Raad
4100fcbd17
disable image resizing
2026-05-10 21:40:12 -04:00
Kit Langton
effd96755e
Use SyncEvent service at event call sites ( #26782 )
2026-05-10 21:20:13 -04:00
Kit Langton
5ef72e1101
Drop unused ID Zod statics ( #26740 )
2026-05-10 19:58:21 -04:00
Kit Langton
d8060dc9ad
Drop compaction create facade ( #26739 )
2026-05-10 19:54:16 -04:00
Dax
0fffcdfe46
Persist session model switches outside event flag ( #26765 )
2026-05-10 18:53:14 -04:00
Kit Langton
a4f3cedcdf
Start effect-style compaction tests
2026-05-10 16:12:00 +00:00
opencode-agent[bot]
3a78fb1f42
chore: generate
2026-05-10 06:49:21 +00:00
Aiden Cline
85ce6a5f95
feat: better image handling (auto resize & max size constraints) ( #26401 )
2026-05-10 01:48:19 -05:00
Kit Langton
fb4bab8a66
Remove redundant ID Zod overrides ( #26633 )
2026-05-09 23:12:21 -04:00
Kit Langton
67b9c9c027
Source HTTP API ID path patterns ( #26623 )
2026-05-09 22:58:47 -04:00
Kit Langton
29250a0efb
fix(session): loosen remaining stored numeric schemas to tolerate legacy data ( #26622 )
2026-05-09 22:10:48 -04:00
Kit Langton
c6e6bdf59f
fix(session): tolerate negative token counts in stored parts ( #26620 )
2026-05-09 22:10:44 -04:00
Kit Langton
d373c562f2
fix(session): accept legacy summary diffs ( #26579 )
...
Co-authored-by: Developer <temp@example.com>
2026-05-09 16:44:24 -04:00
Dax
dcdbdb218f
Move schema utilities into core ( #26565 )
2026-05-09 19:51:09 +00:00
Kit Langton
28b03595bf
research: delete Hono backend (do not merge) ( #25667 )
2026-05-09 13:10:42 +00:00
Aiden Cline
83bb216486
fix: ensure tools are always in same order ( #26370 )
2026-05-08 10:59:41 -05:00
Aiden Cline
799996db76
fix: adjust tui retry dialog logic to be more provider specific and error case specific ( #26366 )
2026-05-08 10:48:19 -05:00
James Long
c818c9dcb6
feat(core): allow external workspace creation ( #26212 )
2026-05-08 11:09:12 -04:00
Frank
bb3f14119b
tui: update go upsell copy
2026-05-08 01:51:33 -04:00
Aiden Cline
4e14f79511
fix: tweaks to transform logic for anthropic and bedrock ( #26276 )
2026-05-07 23:17:43 -05:00
opencode-agent[bot]
7ded0ec9e9
chore: generate
2026-05-07 21:54:31 +00:00
Aiden Cline
f5d0371efe
tui: go plan payg msg ( #26248 )
2026-05-07 16:53:24 -05:00
André Cruz
233fc5b910
fix(provider): preserve assistant message content when reasoning blocks present ( #21370 )
...
Co-authored-by: Omer Koren <54630488+omer-koren@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-05-06 18:57:56 -05:00
Kit Langton
8555de8189
Type session not-found errors ( #25818 )
2026-05-05 21:33:47 -04:00
Shoubhit Dash
811954880e
fix(compaction): order compaction summary before retained tail ( #25851 )
2026-05-05 16:12:37 +05:30
Kit Langton
75d141b574
fix(session): cancel subtask child sessions ( #25798 )
2026-05-04 22:36:06 -04:00
Dax
39c88f9afb
Improve v2 session message rendering ( #25634 )
2026-05-05 02:35:21 +00:00
Dax
7749d8e85f
Add v2 session failure events ( #25628 )
2026-05-03 14:45:48 -04:00
opencode-agent[bot]
a6cadba814
chore: generate
2026-05-03 02:10:52 +00:00
Dax
a3bc5d35b0
Refactor v2 session events as schemas ( #24512 )
2026-05-02 22:09:48 -04:00
Luke Parker
3f459819ba
feat: refactor bash tool with shell-aware prompts for bash, pwsh+powershell, and cmd ( #20039 )
2026-05-03 09:18:48 +10:00
Kit Langton
6cd02c05c2
fix(telemetry): emit Tool.execute span for MCP and plugin tools ( #25452 )
2026-05-02 14:49:56 -04:00
Aiden Cline
29ec07700c
fix: bedrock reasoning issue ( #25303 )
2026-05-01 11:15:17 -05:00
Kit Langton
16ddf5f559
fix(session): use finite archived timestamp schema ( #25275 )
2026-05-01 11:57:03 +00:00
Aiden Cline
563177c6ac
fix: fix issue if tool returned image and empty text and it caused api errors ( #25241 )
2026-05-01 00:13:03 -05:00
opencode-agent[bot]
6bd91c68e8
chore: generate
2026-05-01 03:22:36 +00:00
Dax Raad
ff55a40749
core: remove @effect/language-service plugin and optimize hot path type performance
...
- Removed @effect/language-service from both packages/core and packages/opencode tsconfig files and dependencies
- Wrapped mergeDeep calls in config loading and LLM streaming to avoid expensive remeda conditional merge type instantiations in hot paths
- Narrowed Drizzle migrate() overload signature to avoid expensive variance checks during database initialization
These changes reduce TypeScript type-checking overhead and improve startup and runtime performance for config loading, LLM streaming, and database migrations.
2026-04-30 23:21:05 -04:00
opencode-agent[bot]
8b56d77ea1
chore: generate
2026-05-01 03:02:15 +00:00
Kit Langton
8b56d1712f
refactor(session): pass project to list ( #25215 )
2026-04-30 23:00:59 -04:00
Kit Langton
5984d917dc
refactor(session): yield instance context in system prompt ( #25207 )
2026-04-30 21:45:48 -04:00
Kit Langton
8aa8798e07
refactor(session): yield instance context in llm ( #25200 )
2026-04-30 21:29:28 -04:00
Kit Langton
668d77bb4e
refactor(tool): yield InstanceState context ( #25199 )
2026-04-30 21:01:06 -04:00
Kit Langton
e3134a2a99
refactor(session): align prompt input types with their schemas ( #25178 )
2026-04-30 19:28:46 -04:00
Kit Langton
fbcbd24063
Add SyncEvent service ( #25158 )
2026-04-30 16:45:26 -04:00
Kit Langton
feeebbe7d4
Preserve workspace context in session HTTP routes ( #25136 )
2026-04-30 13:53:26 -04:00
Kit Langton
65c15afe9f
test: use testEffect for instruction tests ( #25046 )
2026-04-30 11:48:13 -04:00
Kit Langton
dddfcbf0d8
test: port instance HttpApi path/vcs read coverage to Effect
2026-04-30 11:07:00 -04:00
Aiden Cline
6aa8e894b1
chore: rm broken codesearch tool ( #24992 )
2026-04-29 13:15:44 -05:00
Aiden Cline
00bb9836a6
tweak: adjust order of system prompt instructions: Global, Project, Skills ( #24974 )
2026-04-29 10:55:53 -05:00
opencode-agent[bot]
df147b65fd
chore: generate
2026-04-29 13:36:05 +00:00
Kit Langton
6015084fa2
Prepare Effect HttpApi backend parity ( #24853 )
2026-04-29 09:34:50 -04:00
spark4862
d71b827d8c
fix(session): remap compaction tail_start_id when forking ( #24898 )
...
Co-authored-by: spark4862 <spark4862@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-04-29 00:23:56 -05:00
James Long
9209c04370
feat(core): filter sessions by path and add setting to disable ( #24849 )
2026-04-28 16:49:13 -04:00
James Long
2c2fc3499b
feat(core): store relative path for sessions ( #24704 )
2026-04-28 11:51:24 -04:00
Kit Langton
ce78a4265d
fix(session): remove compaction summary dividers ( #24677 )
2026-04-27 18:15:11 -04:00
Kit Langton
c4a2353ac3
fix(session): omit undefined optional fields ( #24676 )
2026-04-27 17:50:09 -04:00
Kit Langton
139c4fd555
fix(session): harden shell cancellation ( #24553 )
2026-04-27 20:47:18 +00:00
Dax
f25f1485d5
refactor: remove module barrels ( #24554 )
2026-04-27 14:33:33 -04:00
Luke Parker
141f33d24b
feat: configurable shell selection + desktop settings UI ( #20602 )
2026-04-27 00:54:55 +00:00
Dax Raad
fc6d4b4010
core: Add User-Agent header to identify client version in HTTP requests
2026-04-25 23:51:23 -04:00
Dax Raad
1e98167b0e
core: move cross-spawn-spawner to root and remove unused types
...
The cross-spawn-spawner module has been moved from src/effect/ to src/
to simplify the core package structure. The src/types.d.ts file which
contained unused type declarations has also been removed. All imports
throughout the codebase have been updated to reflect the new location.
This change reduces the package's internal complexity by flattening the
module hierarchy and removing dead code, making future maintenance easier.
2026-04-25 14:30:16 -04:00
Dax Raad
3eee2f6afa
core: move cross-spawn-spawner from opencode to core package
...
Moved the cross-spawn-spawner module from packages/opencode to packages/core
to enable code sharing across the monorepo. This consolidates the process
spawning infrastructure into the core package so other packages can use
cross-platform child process spawning without duplicating the implementation.
Updated all import statements across the codebase to reference the new
location (@opencode-ai/core/effect/cross-spawn-spawner). Removed the
local copy from the opencode package along with its tests.
2026-04-25 14:23:17 -04:00
Dax Raad
705f792e87
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 Raad
1a734adb4d
core: consolidate shared infrastructure into core package
...
Moves effect logging, observability, runtime utilities, flags, installation
version info, and process utilities from opencode to core package. This
enables better code sharing across packages and establishes core as the
single source of truth for foundational utilities.
All internal imports updated to use @opencode-ai/core paths for consistency.
2026-04-25 13:30:37 -04:00
Dax
62ef2a2207
refactor: rename shared package to core ( #24309 )
2026-04-25 10:59:17 -04:00
Kit Langton
4877eccc0d
Fix shell cwd after login startup ( #24215 )
2026-04-25 01:14:52 -04:00
Kit Langton
3910a6e527
refactor(tool): migrate tool framework + all 18 built-in tools to Effect Schema ( #23244 )
2026-04-23 16:09:34 -04:00
Kit Langton
cd93533b1f
refactor(bus): migrate BusEvent to Effect Schema ( #24040 )
2026-04-23 15:37:44 -04:00
Kit Langton
0590452456
refactor(schema): use Schema.Int and consolidate PositiveInt/NonNegativeInt ( #24029 )
2026-04-23 13:22:48 -04:00
Kit Langton
c50d65b4d6
refactor(sync): make session events schema-first ( #24019 )
2026-04-23 12:43:08 -04:00
opencode-agent[bot]
2cd89d64e9
chore: generate
2026-04-23 15:31:16 +00:00
Kit Langton
0517ab4695
refactor(session): migrate session domain to Effect Schema ( #24005 )
2026-04-23 11:30:02 -04:00
Shoubhit Dash
574b2c2170
fix(session): improve session compaction ( #23870 )
2026-04-23 00:25:38 -04:00
Kit Langton
ed802fd121
refactor(core): migrate MessageV2 errors to Schema-backed named errors ( #23764 )
2026-04-21 23:40:32 -04:00
Kit Langton
1593c3ed16
refactor(core): migrate MessageV2 internal Cursor to Effect Schema ( #23763 )
2026-04-21 23:28:33 -04:00
Kit Langton
e89543811c
refactor(core): migrate MessageV2 message DTOs (User/Assistant/Part/Info/WithParts) to Effect Schema ( #23757 )
2026-04-21 23:26:12 -04:00
Kit Langton
fa623964a2
refactor(core): migrate MessageV2 part leaves + ToolPart to Effect Schema ( #23756 )
2026-04-21 23:17:23 -04:00
Kit Langton
ad7ae7353f
refactor(core): derive all schema.ts leaves' .zod via effect-zod walker ( #23754 )
2026-04-21 22:51:18 -04:00
Kit Langton
df0c1f649c
refactor(core): migrate MessageV2 tool state schemas to Effect Schema ( #23752 )
2026-04-21 17:47:50 -04:00
Kit Langton
0bcf734a67
migrate Snapshot schemas to Effect Schema ( #23747 )
2026-04-21 17:37:27 -04:00
Kit Langton
2ae64f426b
refactor(core): migrate MessageV2.Format to Effect Schema ( #23744 )
2026-04-21 17:30:08 -04:00
Kit Langton
7933657135
migrate LSP data schemas to Effect Schema ( #23745 )
2026-04-21 17:26:50 -04:00
Luke Parker
7a568a457f
fix: defer MessageV2.Assistant.shape access to break circular dep in compiled binary ( #23495 )
2026-04-20 06:39:13 +00:00
opencode-agent[bot]
f3d5a71620
chore: generate
2026-04-20 06:07:28 +00:00
Aiden Cline
c6c56ac2cf
tweak: rename tail_tokens -> preserve_recent_tokens ( #23491 )
2026-04-20 01:06:29 -05:00
Dax Raad
5ae74aa881
Merge branch 'nxl/improve-compaction-strategy' into dev
2026-04-19 19:38:46 -04:00
Dax Raad
6eddf08244
flip toolcall prune defaults
2026-04-19 19:34:44 -04:00
Kit Langton
9918f389e7
fix: detect attachment mime from file contents ( #23291 )
2026-04-18 11:59:08 -04:00
Kit Langton
1dd257b76a
refactor: use instance state in small services ( #23022 )
2026-04-18 02:16:15 +00:00
Kit Langton
23a2d01282
fix(observability): standardize session telemetry attrs ( #23213 )
2026-04-17 21:14:23 -04:00
opencode-agent[bot]
9b0659d4f9
chore: generate
2026-04-17 19:30:28 +00:00
Kit Langton
f83cecaaf6
fix(opencode): untrace streaming event hot paths ( #23156 )
2026-04-17 15:29:32 -04:00
Aiden Cline
76a141090e
chore: delete filetime module ( #22999 )
2026-04-16 23:31:21 -05:00
Brendan Allan
a4882290aa
Merge branch 'dev' into nxl/improve-compaction-strategy
2026-04-17 11:53:17 +08:00
James Long
0bedea52b1
fix(tui): tui resiliency when workspace is dead, disable directory filter in session list ( #23013 )
2026-04-16 23:35:36 -04:00
opencode-agent[bot]
266fb93422
chore: generate
2026-04-17 00:50:44 +00:00
Kit Langton
51d8219c46
refactor: unwrap session/ tier-2 namespaces + self-reexport ( #22973 )
2026-04-17 00:49:39 +00:00