wip: HistoryItemToolGroupDisplay

This commit is contained in:
Michael Bleigh
2026-04-11 19:01:57 -07:00
parent 88bebef3a9
commit 383cb7d795
4 changed files with 45 additions and 1 deletions
@@ -208,6 +208,7 @@ export const HistoryItemDisplay: React.FC<HistoryItemDisplayProps> = ({
isToolGroupBoundary={isToolGroupBoundary}
/>
)}
{/* TODO: tool_group_display goes here */}
{itemForDisplay.type === 'subagent' && (
<SubagentHistoryMessage
item={itemForDisplay}
@@ -121,6 +121,7 @@ export const ToolGroupMessage: React.FC<ToolGroupMessageProps> = ({
isToolGroupBoundary,
}) => {
const settings = useSettings();
const isLowErrorVerbosity = settings.merged.ui?.errorVerbosity !== 'full';
const isCompactModeEnabled = settings.merged.ui?.compactToolOutput === true;
+6
View File
@@ -260,6 +260,11 @@ export type HistoryItemToolGroup = HistoryItemBase & {
borderDimColor?: boolean;
};
export type HistoryItemToolDisplayGroup = HistoryItemBase & {
type: 'tool_display_group';
tools: ToolDisplay[];
};
export type HistoryItemUserShell = HistoryItemBase & {
type: 'user_shell';
text: string;
@@ -393,6 +398,7 @@ export type HistoryItemWithoutId =
| HistoryItemAbout
| HistoryItemHelp
| HistoryItemToolGroup
| HistoryItemToolDisplayGroup
| HistoryItemStats
| HistoryItemModelStats
| HistoryItemToolStats