diff --git a/packages/cli/src/ui/components/messages/ToolGroupMessage.test.tsx b/packages/cli/src/ui/components/messages/ToolGroupMessage.test.tsx
index e31c32899f..7108d76154 100644
--- a/packages/cli/src/ui/components/messages/ToolGroupMessage.test.tsx
+++ b/packages/cli/src/ui/components/messages/ToolGroupMessage.test.tsx
@@ -279,8 +279,8 @@ describe('', () => {
);
const output = lastFrame();
- expect(output).toContain('Testing Topic');
- expect(output).toContain('— This is the description');
+ expect(output).toContain('Testing Topic: ');
+ expect(output).toContain('This is the description');
expect(output).toMatchSnapshot('update_topic_tool');
unmount();
});
@@ -307,8 +307,8 @@ describe('', () => {
);
const output = lastFrame();
- expect(output).toContain('Testing Topic');
- expect(output).toContain('— This is the summary');
+ expect(output).toContain('Testing Topic: ');
+ expect(output).toContain('This is the summary');
unmount();
});
diff --git a/packages/cli/src/ui/components/messages/TopicMessage.tsx b/packages/cli/src/ui/components/messages/TopicMessage.tsx
index 810628606d..0aea7f5dbd 100644
--- a/packages/cli/src/ui/components/messages/TopicMessage.tsx
+++ b/packages/cli/src/ui/components/messages/TopicMessage.tsx
@@ -31,11 +31,16 @@ export const TopicMessage: React.FC = ({ args }) => {
const intent = typeof rawIntent === 'string' ? rawIntent : undefined;
return (
-
-
+
+
{title || 'Topic'}
+ {intent && : }
- {intent && — {intent}}
+ {intent && (
+
+ {intent}
+
+ )}
);
};
diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolGroupMessage.test.tsx.snap b/packages/cli/src/ui/components/messages/__snapshots__/ToolGroupMessage.test.tsx.snap
index a3af0178a5..af0aa58a9e 100644
--- a/packages/cli/src/ui/components/messages/__snapshots__/ToolGroupMessage.test.tsx.snap
+++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolGroupMessage.test.tsx.snap
@@ -77,7 +77,7 @@ exports[` > Golden Snapshots > renders header when scrolled
`;
exports[` > Golden Snapshots > renders mixed tool calls including update_topic 1`] = `
-" Testing Topic — This is the description
+" Testing Topic: This is the description
╭──────────────────────────────────────────────────────────────────────────╮
│ ✓ read_file Read a file │
│ │
@@ -141,7 +141,7 @@ exports[` > Golden Snapshots > renders two tool groups where
`;
exports[` > Golden Snapshots > renders update_topic tool call using TopicMessage > update_topic_tool 1`] = `
-" Testing Topic — This is the description
+" Testing Topic: This is the description
"
`;