Commit graph

79 commits

Author SHA1 Message Date
Filip Hejmowski
1b297d1a49
test(core): drop redundant core tests (#66387) 2026-11-25 16:17:56 +01:00
Filip Hejmowski
c9afad6206
feat(core): preserve subagent session IDs across compaction (#65136) 2026-11-25 13:45:10 +01:00
Aiden Cline
0c30d6578c
feat(core): trace background compaction and the wait for it (#66254) 2026-11-24 23:09:53 -06:00
Filip Hejmowski
ad8858de43
fix(core): keep compaction's retained tail within keep.tokens (#65768) 2026-11-23 11:55:50 +01:00
Filip Hejmowski
edd88bd3fe
feat(core): run background compaction by default (#64290) 2026-11-16 21:33:04 +01:00
Aiden Cline
2f886a2a5e
fix(core): pass stored message metadata to session request hooks (#63590) 2026-11-12 19:00:57 -06:00
Aiden Cline
eccfb829bd
fix(core): retry failed streams cleanly and keep finished work on interrupt (#60674) 2026-11-10 10:19:26 -06:00
Filip
a0c6df8fde
fix(core): start background compaction a fixed lead before the threshold (#60049) 2026-11-05 00:28:39 +01:00
Aiden Cline
9a3f03e5c5
refactor(ai): flatten generation knobs on requests and defaults (#60971) 2026-11-04 16:31:11 -06:00
Aiden Cline
8b038f672b
feat(ai): share headers, fetch and timeout across every request (#60970) 2026-11-03 10:38:42 -06:00
Aiden Cline
01276f9061
fix(ai): stream event fixes (#60812) 2026-10-31 22:52:15 -05:00
Aiden Cline
6700dd87b5
feat(core): accept a percentage for compaction.buffer (#60647) 2026-10-30 13:04:16 -05:00
Aiden Cline
cb1e58fe44
fix(core): cap compaction's prompt size at the context window (#60660) 2026-10-30 11:57:58 -05:00
DS
f29e281322
feat(core): add Claude Agent provider (#58782) 2026-10-30 06:48:35 +00:00
Aiden Cline
bc175f675c
fix(core): size compaction requests from the provider's last count (#59441)
Co-authored-by: Kit Langton <kit.langton@gmail.com>
2026-10-26 22:13:07 -05:00
Kit Langton
2903845bf2
perf(session): load a step's history once (#59091) 2026-10-25 22:27:39 -07:00
Kit Langton
44fc9d2a65
refactor(core): drop unused session_pending table and pin the history compaction bound (#59020) 2026-10-25 14:27:59 -07:00
Aiden Cline
dad29a8991
refactor(ai): make Promise the root entry and move Effect to @opencode/ai/effect (#58847) 2026-10-24 22:18:23 -05:00
Aiden Cline
33726e8fc1
fix(core): ignore a compaction buffer that leaves the model no room (#58313) 2026-10-22 22:02:47 -05:00
Aiden Cline
ac68d6a929
fix(core): shorten compaction transcripts oldest first before dropping history (#58015) 2026-10-22 14:14:32 -05:00
Filip
6a5973d263
feat(core): add experimental background compaction summaries (#57444)
Co-authored-by: Kit Langton <kit.langton@gmail.com>
2026-10-22 19:07:16 +02:00
Aiden Cline
c87f6b710e
fix(core): validate compaction keepID with SessionMessage.ID schema (#57945) 2026-10-21 20:01:10 -05:00
Aiden Cline
acdcdb8dd9
refactor: v2.1 minor breaking changes (#57260) 2026-10-20 00:42:13 -05:00
Filip
fd6589239e
fix(core): summarize the whole conversation during compaction (#57091) 2026-10-19 19:02:01 +02:00
Aiden Cline
ae8d59f8b5
fix(core): fit compaction output limit to the request actually sent (#55613) 2026-10-15 01:57:46 -05:00
Aiden Cline
cb389aa679
fix(core): honor compaction agent model for summaries (#53276)
Co-authored-by: Padure Sergio <70955746+sergiopadure@users.noreply.github.com>
2026-10-04 23:20:24 -05:00
Aiden Cline
f46fa72a92
fix(core): add namespaced session identity headers (#52368) 2026-09-30 15:14:20 -05:00
Aiden Cline
6cf442b545
fix(core): share child session affinity headers (#51923) 2026-09-28 13:31:17 -05:00
Aiden Cline
d9987ef9c8
feat(core): fit output limits to the context window (#51271) 2026-09-26 22:58:28 -05:00
Aiden Cline
a64bc3616e
refactor(core): cleanup session compaction (#51447) 2026-09-26 00:00:11 -05:00
Aiden Cline
16b18dff13
Revert "fix(core): fit model limits and recover compaction overflow" (#51273) 2026-09-25 00:12:14 -05:00
Aiden Cline
61c2349cef
fix(core): fit model limits and recover compaction overflow (#51238) 2026-09-25 00:11:40 -05:00
Aiden Cline
94b9133910
fix(core): share child prompt cache affinity (#50495) 2026-09-21 22:44:43 -05:00
Aiden Cline
219ecada68
refactor(core): move provider policies into settings (#49666) 2026-09-18 10:18:33 -05:00
Aiden Cline
1417976257
fix(core): run compaction hooks before appending the summary prompt (#48276) 2026-09-09 22:54:00 -05:00
Aiden Cline
3edbc88225
feat(plugin): add session compaction and generate hooks (#48212) 2026-09-09 21:03:27 -05:00
Aiden Cline
9ae6b21f6a
feat(plugin): add session title hook and request options bag (#47663) 2026-09-09 14:14:23 -05:00
Shoubhit Dash
65152b7936
feat(core): carry compaction usage on the compaction message (#47974) 2026-09-09 17:07:50 +05:30
Aiden Cline
148042ab81
fix(core): trim compaction summary prompt (#48058) 2026-09-08 22:56:54 -05:00
Dax
a5312e169b
refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
Shoubhit Dash
898692af26
feat(core): schedule provider compaction automatically (#47324) 2026-09-07 19:27:11 +05:30
Aiden Cline
8fc93e6ee4
fix(core): preserve session context during compaction (#46751) 2026-09-02 02:17:27 -05:00
Dax
e76e90b71e
refactor(core): decouple plugins from config loading (#46639) 2026-09-01 20:37:42 -04:00
Aiden Cline
ce6247bd2f
fix(core): estimate context growth before compaction (#46543) 2026-09-01 10:48:34 -05:00
Kit Langton
36ac35a7c8
refactor(util): make layer graphs opaque and composable
Replace exposed layer graph assembly with opaque declarations, checked substitutions, and lifetime-aware compilation. Preserve deep replacement, ordered startup, and Effect-owned resource lifetimes; migrate callers and verify source and published package contracts.
2026-08-31 13:46:27 -04:00
Kit Langton
ad9117b107
fix(session): run user shells immediately in the background
Run user shell commands concurrently with model execution, retain their output in one shell entry, and admit non-waking completion messages. Share result capture and notification formatting across shell callers.
2026-08-28 22:46:20 -04:00
Kit Langton
5634ef1bb6
refactor(core): simplify manual compaction (#45678) 2026-08-28 14:56:40 -04:00
Kit Langton
ac55c05c30
fix(core): correct compaction history direction (#45698) 2026-08-27 23:01:07 -04:00
Kit Langton
10786cb60c
refactor(core): consolidate runner capability reads (#45448) 2026-08-26 23:45:01 -04:00
Kit Langton
3c73ce1dc7
fix(core): materialize mentioned skills on prompts (#44840) 2026-08-25 22:04:09 -04:00