Skip to content

Conversation

@Tarquinen
Copy link
Collaborator

Summary

  • Consolidates message-related utilities (buildToolIdList, getPruneToolIds, findCurrentAgent) from lib/utils.ts into lib/messages/utils.ts
  • Eliminates duplicate backward-scan logic by refactoring findCurrentAgent to delegate to getLastUserMessage
  • Net reduction of ~7 lines while improving code organization and maintainability

@Tarquinen Tarquinen merged commit 3259b34 into dev Dec 14, 2025
1 check passed
@Tarquinen Tarquinen deleted the refactor/consolidate-message-utils branch December 14, 2025 06:30
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