Skip to content

Intelligent transcript capture on Stop hook#8

Merged
Dhravya merged 1 commit intomainfrom
update-race-condition
Jan 29, 2026
Merged

Intelligent transcript capture on Stop hook#8
Dhravya merged 1 commit intomainfrom
update-race-condition

Conversation

@Prasanna721
Copy link
Member

Intelligent transcript capture on Stop hook

feat: incremental transcript capture with deduplication

Points:

  • Remove addMemory from prompt-hook and observation-hook (pass-through only)
  • Capture formatted transcript on Stop hook instead
  • Track last captured UUID per session to avoid duplicates
  • Format: [role:user], [role:assistant], [tool:X], [tool_result:X status]
  • Skip Read tool results, thinking blocks, system reminders
  • Truncate tool results to 500 chars
  • Tracker stored in ~/.supermemory-claude/trackers/{sessionId}.txt

update Readme

Added a screenshot and expanded description of the plugin's functionality.

biome fix and context update

@Prasanna721 Prasanna721 self-assigned this Jan 29, 2026
@Prasanna721 Prasanna721 requested a review from Dhravya January 29, 2026 20:09
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Prasanna721 Prasanna721 marked this pull request as ready for review January 29, 2026 20:09
Comment on lines +44 to +46
const profileResult = await client
.getProfile(containerTag, projectName)
.catch(() => null);

This comment was marked as outdated.

@Dhravya Dhravya force-pushed the update-race-condition branch from 037d270 to 7f21ad7 Compare January 29, 2026 21:09
Copy link
Member

Dhravya commented Jan 29, 2026

Merge activity

  • Jan 29, 9:09 PM UTC: Graphite rebased this pull request as part of a merge.
  • Jan 29, 9:10 PM UTC: @Dhravya merged this pull request with Graphite.

@Dhravya Dhravya merged commit 7b4be43 into main Jan 29, 2026
3 checks passed
@Prasanna721 Prasanna721 deleted the update-race-condition branch January 30, 2026 01:21
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.

2 participants