Rework context snapshots into opt-in, LLM-summarized handoffs + UI polish - #3
Merged
Merged
Conversation
…lish
Snapshots are no longer auto-salvaged deterministic dumps. On a model switch
(or Take snapshot) the outgoing conversation is buffered and offered via a
native card: the user picks a model, optionally names it, and the snapshot is
born with a real LLM recap. Ignoring the offer discards it (pure opt-in).
Snapshots:
- Remove the deterministic "Light" recap and the two-tier Light/AI model;
ContextSnapshot is now { OriginModel, SummarizerModel, Recap, Name, ... }.
- Add SnapshotEnhancer: a bare-kernel Ollama summarizer that map-reduces the
whole conversation, with prompts framed as a handoff briefing to the next
model (substance over filler, verbatim specifics, done-vs-pending, plain prose).
- Native create-snapshot card in ChatTabView: instant current-model selection
with background model-list load, optional name, local/cloud tags.
- Import now accumulates multiple snapshots (was overwrite) and dedupes by id;
the import chip and card title show the snapshot's name when set.
- Quieter "context cleared" chip — only when there was actually a conversation.
UI polish:
- Slide animations for the snapshots panel and the Settings/MCP pages.
- Settings/MCP nav items toggle back to the last agent instead of reloading.
- Settings: Connection-first tab order; hide "Make Default for New Agents" on
the app-wide Appearance tab.
- Remove the redundant export button from the main chat header.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reworks the context snapshot feature from auto-salvaged deterministic dumps into opt-in, LLM-summarized handoffs, and folds in a round of UI polish.
On a model switch (or Take snapshot), the outgoing conversation is buffered and offered via a native card. The user picks a summarizer model, optionally names it, and the snapshot is born with a real LLM recap. Ignoring the offer discards it — pure opt-in, no silent auto-save.
Snapshots
ContextSnapshotis now{ OriginModel, SummarizerModel, Recap, Name, MessageCount }.SnapshotEnhancer— a bare-kernel Ollama summarizer (no tools/plugins, can't touch the live chat) that map-reduces the entire conversation so it handles long histories. Prompts are framed as a handoff briefing to the next model: substance over filler, verbatim specifics (paths, versions, URLs), explicit done-vs-pending, plain prose.local · free/cloud · uses tokenstags,[Name] [model] [Create]on one row.UI polish
Notes
MandoCodeharness submodule is untouched.dotnet build, 0 warnings / 0 errors). Prompt quality was validated live against local Ollama models during development.🤖 Generated with Claude Code