Dax Raad
6742034b03
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
7b2fbf2c2f
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
Kit Langton
13bb84f5e3
refactor(session): migrate session domain to Effect Schema ( #24005 )
2026-04-23 11:30:02 -04:00
opencode-agent[bot]
d0b3528fd5
chore: generate
2026-04-23 00:25:39 -04:00
Shoubhit Dash
45b108c69b
fix(session): improve session compaction ( #23870 )
2026-04-23 00:25:38 -04:00
Kit Langton
b806dd96c6
refactor(core): make Config.Info canonical Effect Schema ( #23716 )
2026-04-21 14:06:47 -04:00
opencode-agent[bot]
df13729e0c
chore: generate
2026-04-20 06:07:28 +00:00
Aiden Cline
2d908487dd
tweak: rename tail_tokens -> preserve_recent_tokens ( #23491 )
2026-04-20 01:06:29 -05:00
Dax Raad
c901654658
core: fix session compaction test to properly enable prune config option
2026-04-19 19:53:43 -04:00
Shoubhit Dash
a141c51a43
fix(compaction): budget retained tail with media
2026-04-16 17:30:29 +05:30
Shoubhit Dash
f1e4d71bab
merge dev
2026-04-16 17:30:14 +05:30
Kit Langton
949ac8ed15
feat: enable type-aware no-floating-promises rule, fix all 177 violations ( #22741 )
publish-github-action / publish (push) Has been cancelled
2026-04-15 23:27:32 -04:00
Kit Langton
d2ec847f0c
feat: unwrap 11 util namespaces to flat exports + barrel ( #22739 )
2026-04-15 23:15:58 -04:00
Kit Langton
4a078e05b1
fix: delete 9 dead functions with zero callers ( #22697 )
2026-04-16 02:01:02 +00:00
Kit Langton
b047f7af36
feat: unwrap Provider namespace + improved automation script ( #22690 )
2026-04-15 21:44:46 -04:00
Kit Langton
228636345a
fix: resolve oxlint warnings — suppress false positives, remove unused imports ( #22687 )
publish-github-action / publish (push) Has been cancelled
2026-04-15 21:33:54 -04:00
Kit Langton
b5f4d032fb
feat: unwrap Config namespace to flat exports + barrel ( #22689 )
2026-04-15 21:26:24 -04:00
Aiden Cline
16abb5fad1
tweak: ensure auto continuing compaction is tracked as agent initiated for github copilot ( #22567 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-04-15 15:50:33 -05:00
Kit Langton
236253c405
refactor(session): remove async facade exports ( #22471 )
2026-04-14 13:45:13 -04:00
Kit Langton
cf613cba34
refactor(session): remove compaction async facade exports ( #22366 )
2026-04-13 21:23:34 -04:00
Aiden Cline
e1c846850a
feat: add experimental.compaction.autocontinue hook to disable auto continuing after compaction ( #22361 )
2026-04-13 20:14:53 -05:00
Kit Langton
4adfab4a36
refactor(session): remove summary async facades ( #22337 )
2026-04-13 15:35:38 -04:00
Aiden Cline
574b77b0d0
tweak: adjust session getUsage function to use more up to date LanguageModelUsage instead of LanguageModelV2Usage ( #22224 )
2026-04-12 21:39:06 -05:00
Shoubhit Dash
b8b49dc6c0
keep recent turns during session compaction
2026-04-10 09:34:01 +05:30
Kit Langton
db3a528899
fix: finalize interrupted bash via tool result path ( #21724 )
2026-04-09 15:20:28 -04:00
Kit Langton
97c2d085d7
refactor(effect): inline session processor interrupt cleanup ( #21593 )
2026-04-08 21:19:01 -04:00
Aiden Cline
0658bf4931
test: add regression test for double counting bug ( #21053 )
2026-04-04 16:40:28 -07:00
Kit Langton
4f3e1ac6a5
refactor(effect): prune unused facades ( #20748 )
2026-04-02 20:15:09 -04:00
Kit Langton
0fc81f6d0b
refactor(prompt): use Provider service in effect layers ( #20167 )
2026-04-01 00:44:15 +00:00
Major Hayden
d4c3b2944a
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
Kit Langton
045b8c8077
fix(session): restore busy route handling and add regression coverage ( #20125 )
2026-03-30 20:30:34 +00:00
Kit Langton
9ee382c8c7
refactor(session): effectify SessionPrompt service ( #19483 )
2026-03-30 20:06:51 +00:00
ualtinok
0707c1d53c
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
Kit Langton
4d4233cc49
refactor(session): effectify session processor ( #19485 )
2026-03-28 12:09:47 -04:00
Kit Langton
0939be67d5
refactor(session): effectify SessionCompaction service ( #19459 )
2026-03-28 01:09:14 +00:00
Aiden Cline
61c5e8ab80
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
Brandon Smith
e8f542c963
fix(opencode): add input limit for compaction ( #8465 )
2026-01-15 01:35:16 -06:00
Saatvik Arya
a910143d53
fix(session): check for context overflow mid-turn in finish-step ( #6480 )
2026-01-01 12:03:18 -06:00