fix: filter empty provider messages, fix apply_patch hunk headers, persist latest-query usage separately, and fix TUI queued/resume state tracking#155
Open
wangtsiao wants to merge 8 commits into
Conversation
…lifecycle improvements - Add edit, find, file_change_metadata tool handlers with file_read_ledger - Wire last_query_usage through turn lifecycle stages for accurate context bar - Improve ACP event routing: UsageUpdate with devo/turnUsage meta, events.rs split - Refactor tool registry_plan and router for new handler structure - Fix session actor state, snapshots, and resume persistence
…implification, and TUI display fixes - provider: filter empty assistant messages across Anthropic, OpenAI chat completions, and OpenAI responses APIs - apply_patch: use diffy::create_patch for correct hunk headers - edit: remove overly strict file-read ledger checks - finalize: filter zero usage values from terminal_usages - queued_input_id tracking for pending input items - TUI: add read_display for path relativization, fix abandoned preparing tool calls, fix PendingCellList double prefix, add Search/ListFiles path normalization, misc event/routing fixes
'edit' and 'write' shared the same match arm in pretty_tool_call_summary, causing edit tool calls to display as 'Running Write ...' instead of 'Running Edit ...'.
…for correct resume context
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.