Handle skill tool details and skip synthetic timeline events

This commit is contained in:
Mohamed Boudra
2026-02-23 18:06:38 +07:00
parent ff4f2eeb56
commit cbf5621a73
8 changed files with 86 additions and 0 deletions
@@ -245,6 +245,14 @@ export function ToolCallDetailsContent({
<Text selectable style={styles.scrollText}>{detail.query}</Text>
</View>
);
} else if (detail?.type === "plain_text") {
if (detail.text) {
sections.push(
<View key="plain-text" style={styles.plainTextSection}>
<Text selectable style={styles.plainText}>{detail.text}</Text>
</View>
);
}
} else if (detail?.type === "unknown") {
const plainInputText =
typeof detail.input === "string" && detail.output === null