You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f531be2
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): keep the OpenCode 2 compaction note inside the compaction
The OpenCode 2 compaction hook receives the compaction request, whose
messages are the input the summary is built from. Add the post-compaction
session note there as a text message, mirroring the 1.18.x path that
pushes it into output.context. Session instruction entries are rendered
into the system array of every later request, so the note no longer goes
through ctx.session.instructions.entry, and event.system stays untouched.
Registration and the push still fail open.
Pin it in a new agent_clients test: the push sits inside the compaction
registration, carries a user text part, is guarded by an array check, and
the generated module names neither a system property nor an instruction
entry. The DeusData#2077 test drops the assertions that pinned the old channel.
Refs DeusData#2204
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
0 commit comments