Skip to content

Add debounced auto-summary generation with settings UI#46

Merged
Umaaz merged 3 commits into
mainfrom
gentle-hawk
Apr 8, 2026
Merged

Add debounced auto-summary generation with settings UI#46
Umaaz merged 3 commits into
mainfrom
gentle-hawk

Conversation

@Umaaz
Copy link
Copy Markdown
Contributor

@Umaaz Umaaz commented Apr 8, 2026

Summary

  • Session summaries now auto-regenerate using AI (Haiku) as conversations develop, replacing the one-shot first-message extract
  • Debounce controls prevent excessive API calls: configurable minimum time interval between regenerations and minimum Claude turns before triggering
  • New "Auto Summary" section in Settings with enable toggle, debounce interval (seconds), and minimum turns inputs

Test plan

  • Verify existing tests pass (npx vitest run — 155/155 passing)
  • Open Settings and confirm the Auto Summary section appears with toggle, debounce, and min turns controls
  • Toggle auto-summary off and verify debounce controls hide
  • Start a session, send 3+ messages, and confirm summary auto-updates after the configured turn threshold
  • Verify manual summary edits are preserved (auto-summary overwrites, but manual edits between turns stick until next generation)
  • Restart the app and confirm auto-summary settings persist

🤖 Generated with Claude Code

Umaaz and others added 3 commits April 8, 2026 15:21
Session summaries now auto-regenerate using AI (Haiku) as conversations
develop. Includes configurable debounce interval and minimum turn
threshold, with a new settings section to control the behavior.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The renderer was importing from src/main/store.ts which pulls in Node.js
builtins (path, os, fs/promises) that Vite can't bundle for the browser.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Umaaz Umaaz enabled auto-merge April 8, 2026 20:48
@Umaaz Umaaz merged commit de54938 into main Apr 8, 2026
3 checks passed
@Umaaz Umaaz deleted the gentle-hawk branch April 8, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant