feat: subagent runtime & CLI display - done

This commit is contained in:
tanzhenxin
2025-09-09 15:53:10 +08:00
parent 4985bfc000
commit 35e996d46c
23 changed files with 767 additions and 684 deletions

View File

@@ -122,7 +122,7 @@ export function CreationSummary({
tools: Array.isArray(state.selectedTools)
? state.selectedTools
: undefined,
backgroundColor: state.backgroundColor,
color: state.color,
};
// Create the subagent
@@ -243,12 +243,12 @@ export function CreationSummary({
<Text>{toolsDisplay}</Text>
</Box>
{shouldShowColor(state.backgroundColor) && (
{shouldShowColor(state.color) && (
<Box>
<Text bold>Color: </Text>
<Box backgroundColor={getColorForDisplay(state.backgroundColor)}>
<Text color="black">{` ${state.generatedName} `}</Text>
</Box>
<Text
color={getColorForDisplay(state.color)}
>{` ${state.generatedName} `}</Text>
</Box>
)}