Commit graph

7 commits

Author SHA1 Message Date
emidab
2cac9375d8 fix: avoid deadlock by not awaiting summarize
The summarize request parks server-side on the current run's done until
the loop executing this tool finishes, so awaiting it never resolves.
Fire it without awaiting, poll for the persisted compaction message, then
wait for the handoff prompt to appear before returning.
2026-09-16 12:46:47 +00:00
emidab
f991c4d0f8 feat: restart session in place via summarize instead of child session
Compacts the current session (summarize) to advance the context boundary,
then prompts the focused task into the same session with promptAsync. The
session ID never changes and older messages stay visible in the transcript.
2026-09-16 11:16:05 +00:00
emidab
a5c73367d6 refactor: remove compaction autocontinue hook 2026-09-16 10:34:13 +00:00
emidab
4a9479e3a8 feat: drop abort_current option, always keep current session alive 2026-09-16 09:37:45 +00:00
emidab
a563fafdcf feat: keep current session alive on restart by default 2026-09-16 08:54:25 +00:00
emidab
2cea3a47b9 feat: support static handoff text 2026-09-16 06:42:03 +00:00
emidab
007f4fed6d feat: add session_restart tool plugin
Registers a session_restart tool that spawns a fresh child session on
the current project, prompts it with a focused task (+ optional notes)
via promptAsync, and aborts the current session by default so a single
focused task continues in a clean context window instead of compacting.
Includes an experimental.compaction.autocontinue hook to reject the
synthetic continue turn after compaction (default on).
2026-09-15 21:32:43 +00:00