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>
This commit is contained in:
Aiden Cline
2026-04-15 15:50:33 -05:00
committed by GitHub
parent 348a84969d
commit e83b22159d
3 changed files with 14 additions and 1 deletions

View File

@@ -345,6 +345,10 @@ When constructing the summary, try to stick to this template:
messageID: continueMsg.id,
sessionID: input.sessionID,
type: "text",
// Internal marker for auto-compaction followups so provider plugins
// can distinguish them from manual post-compaction user prompts.
// This is not a stable plugin contract and may change or disappear.
metadata: { compaction_continue: true },
synthetic: true,
text,
time: {