Dax Raad
11cd4fb639
core: extract session entry stepping logic into dedicated module
...
Move the step function from session-entry.ts to session-entry-stepper.ts and remove immer dependency. Add static fromEvent factory methods to Synthetic, Assistant, and Compaction classes for cleaner event-to-entry conversion.
2026-04-18 01:48:21 -04:00
Kit Langton
05cdb7c107
refactor(v2): tag session unions and exhaustively match events ( #23201 )
2026-04-18 00:29:26 +00: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
Kit Langton
1c33b866ba
fix: remove 10 more unnecessary as any casts in opencode core ( #22882 )
2026-04-16 20:11:05 +00:00
Shoubhit Dash
42771c1db3
fix(compaction): budget retained tail with media
2026-04-16 17:30:29 +05:30
Shoubhit Dash
2e18a603f0
merge dev
2026-04-16 17:30:14 +05:30
Kit Langton
6b20838981
feat: unwrap provider namespaces to flat exports + barrel ( #22760 )
2026-04-16 05:02:50 +00:00
Kit Langton
5011465c81
feat: unwrap tool namespaces to flat exports + barrel ( #22762 )
2026-04-16 03:56:54 +00:00
Kit Langton
80f1f1b5b8
feat: enable type-aware no-floating-promises rule, fix all 177 violations ( #22741 )
2026-04-15 23:27:32 -04:00
Kit Langton
343a564183
feat: unwrap 11 util namespaces to flat exports + barrel ( #22739 )
2026-04-15 23:15:58 -04:00
Kit Langton
702f741267
feat: enable oxlint suspicious category, fix 24 violations ( #22727 )
2026-04-16 02:53:10 +00:00
Kit Langton
cf423d2769
fix: remove 10 unused type-only imports and declarations ( #22696 )
2026-04-16 02:17:59 +00:00
Kit Langton
cce05c1665
fix: clean up 49 unused variables, catch params, and stale imports ( #22695 )
2026-04-16 02:01:53 +00:00
Kit Langton
34213d4446
fix: delete 9 dead functions with zero callers ( #22697 )
2026-04-16 02:01:02 +00:00
Kit Langton
d6b14e2467
fix: prefix 32 unused parameters with underscore ( #22694 )
2026-04-15 21:56:23 -04:00
Kit Langton
1d81335ab5
feat: unwrap Provider namespace + improved automation script ( #22690 )
2026-04-15 21:44:46 -04:00
Kit Langton
f7d4665e40
fix: resolve oxlint warnings — suppress false positives, remove unused imports ( #22687 )
2026-04-15 21:33:54 -04:00
Kit Langton
bbdbc107ae
feat: unwrap Config namespace to flat exports + barrel ( #22689 )
2026-04-15 21:26:24 -04:00
Aiden Cline
307251bf3c
fix: bash memory usage ( #22660 )
2026-04-15 20:09:06 -05:00
Kit Langton
4ca809ef4e
fix(session): retry 5xx server errors even when isRetryable is unset ( #22511 )
2026-04-16 00:58:48 +00:00
Aiden Cline
e83b22159d
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
Aiden Cline
348a84969d
fix: ensure tool_use is always followed by tool_result ( #22646 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-04-15 14:56:45 -05:00
Dax
be9432a893
shared package ( #22626 )
2026-04-15 14:26:20 +00:00
Shoubhit Dash
f6409759e5
fix: restore instance context in prompt runs ( #22498 )
2026-04-15 03:59:12 +05:30
Dax Raad
6ce5c01b1a
ignore: v2 experiments
2026-04-14 14:25:38 -04:00
Kit Langton
68384613be
refactor(session): remove async facade exports ( #22471 )
2026-04-14 13:45:13 -04:00
Kit Langton
6a99079012
kit/env instance state ( #22383 )
2026-04-13 22:28:16 -04:00
Kit Langton
7a05ba47d1
refactor(session): remove compaction async facade exports ( #22366 )
2026-04-13 21:23:34 -04:00
Aiden Cline
34e2429c49
feat: add experimental.compaction.autocontinue hook to disable auto continuing after compaction ( #22361 )
2026-04-13 20:14:53 -05:00
Kit Langton
e8471256f2
refactor(session): move llm stream into layer ( #22358 )
2026-04-13 19:53:30 -04:00
Kit Langton
67aaecacac
refactor(session): remove revert async facade exports ( #22339 )
2026-04-13 16:16:13 -04:00
Kit Langton
dcbf11f41a
refactor(session): remove summary async facades ( #22337 )
2026-04-13 15:35:38 -04:00
Kit Langton
14ccff4037
refactor(agent): remove async facade exports ( #22341 )
2026-04-13 14:54:01 -04:00
Kit Langton
663e798e76
refactor(provider): remove async facade exports ( #22320 )
2026-04-13 12:40:00 -04:00
Aiden Cline
5bc2d2498d
test: ensure project and global instructions are loaded ( #22317 )
2026-04-13 11:34:38 -05:00
Aiden Cline
a915fe74be
tweak: adjust session getUsage function to use more up to date LanguageModelUsage instead of LanguageModelV2Usage ( #22224 )
2026-04-12 21:39:06 -05:00
Kit Langton
eea4253d67
refactor(session): destroy Instruction facade ( #22089 )
2026-04-11 20:04:09 -04:00
Kit Langton
ccb0b320e1
refactor(session): make SystemPrompt a proper Effect Service ( #21992 )
2026-04-11 12:52:35 -04: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
0556774097
refactor(tool): convert apply_patch to Tool.defineEffect ( #21938 )
2026-04-10 19:42:14 -04:00
Kit Langton
847f1d99c9
convert glob tool to Tool.defineEffect ( #21897 )
2026-04-10 13:56:42 -04:00
Kit Langton
f7514d9eca
refactor(tool): convert bash to defineEffect with ChildProcessSpawner ( #21895 )
2026-04-10 13:26:31 -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
Kit Langton
46b74e0873
refactor(tool): convert websearch tool internals to Effect ( #21810 )
2026-04-10 11:30:38 -04:00
Kit Langton
e83404367c
refactor(tool): convert webfetch tool internals to Effect ( #21809 )
2026-04-10 10:50:13 -04:00
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
17bd16667c
refactor(effect): move tool descriptions into registry ( #21795 )
2026-04-09 22:20:27 -04:00