refactor(cli): remove unused isFirst prop from DenseToolMessage

This commit is contained in:
Jarrod Whelan
2026-02-10 12:59:02 -08:00
parent 25d1c54a74
commit 204d62980f
3 changed files with 2 additions and 7 deletions

View File

@@ -18,7 +18,6 @@ describe('DenseToolMessage', () => {
status: ToolCallStatus.Success,
resultDisplay: 'Success result',
confirmationDetails: undefined,
isFirst: true,
};
it('renders correctly for a successful string result', () => {

View File

@@ -11,9 +11,7 @@ import type { IndividualToolCallDisplay } from '../../types.js';
import { ToolStatusIndicator } from './ToolShared.js';
import { theme } from '../../semantic-colors.js';
interface DenseToolMessageProps extends IndividualToolCallDisplay {
isFirst: boolean;
}
type DenseToolMessageProps = IndividualToolCallDisplay;
interface FileDiffResult {
fileDiff: string;

View File

@@ -191,9 +191,7 @@ export const ToolGroupMessage: React.FC<ToolGroupMessageProps> = ({
tool.status !== ToolCallStatus.Confirming;
if (useDenseView) {
return (
<DenseToolMessage key={tool.callId} {...tool} isFirst={isFirst} />
);
return <DenseToolMessage key={tool.callId} {...tool} />;
}
const commonProps = {