refactor: break up search_thoughts() into focused helpers #599

Closed
kimi wants to merge 0 commits from kimi/issue-594 into main
Collaborator

Extract _query_thoughts() and _format_thought_results() from the 73-line search_thoughts() function, keeping each piece focused on a single responsibility.

Also fixes pre-existing F821 lint errors in mcp_tools.py (noqa for lazy PIL imports).

Fixes #594

Extract `_query_thoughts()` and `_format_thought_results()` from the 73-line `search_thoughts()` function, keeping each piece focused on a single responsibility. Also fixes pre-existing F821 lint errors in `mcp_tools.py` (noqa for lazy PIL imports). Fixes #594
kimi added 1 commit 2026-03-20 16:29:11 +00:00
refactor: break up search_thoughts() into focused helpers
All checks were successful
Tests / lint (pull_request) Successful in 4s
Tests / test (pull_request) Successful in 1m43s
e22b572b1d
Extract _query_thoughts() and _format_thought_results() from the 73-line
search_thoughts() function, keeping each piece focused on a single
responsibility. Also fix pre-existing F821 lint errors in mcp_tools.py.

Fixes #594

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
kimi closed this pull request 2026-03-20 16:39:38 +00:00
Author
Collaborator

Closing — this work was already merged to main via PR #597 (commit 0029c34). PR #599 is a duplicate.

Closing — this work was already merged to main via PR #597 (commit 0029c34). PR #599 is a duplicate.

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#599