Chat tools: argument validation, replace, file snapshots, server-fetched images, show_run, show_diff head/paths, schedule_followup

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 19:44:47 +00:00
parent c441400f36
commit d204ce3187
27 changed files with 1988 additions and 79 deletions
+3
View File
@@ -89,6 +89,9 @@ type chatHub struct {
// shown holds the items chats showed through the Pipelines tools; the
// subscribe reply carries a chat's retained list. nil records none.
shown chatShownStore
// shownRefresh brings listed items up to date (file states, followed
// runs) before a subscribe reply carries them; nil leaves them as stored.
shownRefresh func(ctx context.Context, sessionID string, items []protocol.ChatShownItem) []protocol.ChatShownItem
// autoSwitch records the usage-limit refusals the server already
// continued on another Claude account (chat_auto_switch.go).
autoSwitch chatAutoSwitchState