733
734
export function mapCommandExecutionOutputDelta(
736
>
params: CommandExecutionOutputDeltaNotification,
737
>
): (SessionAction | ChatAction)[] {
738
>
const entry = state.itemToToolCall.get(params.itemId);
739
>
if (!entry) {
740
return [];
741
}
743
>
return [{
744
>
type: ActionType.ChatToolCallContentChanged,
745
>
turnId: entry.turnId,
746
>
toolCallId: entry.toolCallId,
747
>
content: [{ type: ToolResultContentType.Text, text: entry.output }],
748
>
}];
749
>
}
750
751
export function mapFileChangePatchUpdated(