Skip to content

feat(plugin): add one-line session summary on stop hook (#1036)#1050

Merged
JeremyDev87 merged 1 commit into
masterfrom
feat/session-summary-1036
Mar 28, 2026
Merged

feat(plugin): add one-line session summary on stop hook (#1036)#1050
JeremyDev87 merged 1 commit into
masterfrom
feat/session-summary-1036

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Add generate_one_line_summary() to buddy_renderer.py for generating human-readable session summaries from tool usage data
  • Integrate one-line summary display (💬) into the buddy farewell output in render_session_summary()
  • Pass tool_names from stop.py to enable summary generation
  • Support 8 languages: en, ko, ja, zh, es, pt, de, fr
  • Agent name prefix when active agent is set

Closes #1036

Test plan

  • 17 new tests in test_session_summary.py covering:
    • Files + commands, files only, commands only, exploration, empty input
    • Agent name prefix
    • All 8 languages + unknown language fallback
    • Singular/plural file word
    • Integration with render_session_summary()
    • Backward compatibility (no tool_names)
  • All 363 plugin tests pass
  • All 5308 MCP server tests pass

Generate a human-readable one-line summary from tool usage data
(files modified, commands run, exploration) displayed in the buddy
farewell message. Supports 8 languages (en, ko, ja, zh, es, pt, de, fr)
with agent name prefix when active.
@vercel

vercel Bot commented Mar 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Mar 28, 2026 1:15am

@JeremyDev87 JeremyDev87 self-assigned this Mar 28, 2026
@JeremyDev87 JeremyDev87 merged commit 45c462c into master Mar 28, 2026
28 checks passed
@JeremyDev87 JeremyDev87 deleted the feat/session-summary-1036 branch March 28, 2026 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(plugin): add one-line session summary on stop hook

1 participant