refactor(cli): centralize tool mapping and decouple legacy scheduler (#17044)

This commit is contained in:
Abhi
2026-01-19 20:00:42 -05:00
committed by GitHub
parent a90bcf749d
commit 1b6b6d40d5
5 changed files with 386 additions and 155 deletions
+1 -1
View File
@@ -63,9 +63,9 @@ import { useStateAndRef } from './useStateAndRef.js';
import type { UseHistoryManagerReturn } from './useHistoryManager.js';
import { useLogger } from './useLogger.js';
import { SHELL_COMMAND_NAME } from '../constants.js';
import { mapToDisplay as mapTrackedToolCallsToDisplay } from './toolMapping.js';
import {
useReactToolScheduler,
mapToDisplay as mapTrackedToolCallsToDisplay,
type TrackedToolCall,
type TrackedCompletedToolCall,
type TrackedCancelledToolCall,