bingocode 1.1.119 → 1.1.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -700,7 +700,7 @@ const MessagesImpl = ({
|
|
|
700
700
|
<VirtualMessageList messages={renderableMessages} scrollRef={scrollRef} columns={columns} itemKey={messageKey} renderItem={renderMessageRow} onItemClick={onItemClick} isItemClickable={isItemClickable} isItemExpanded={isItemExpanded} trackStickyPrompt={trackStickyPrompt} selectedIndex={selectedIdx >= 0 ? selectedIdx : undefined} cursorNavRef={cursorNavRef} setCursor={setCursor} jumpRef={jumpRef} onSearchMatchesChange={onSearchMatchesChange} scanElement={scanElement} setPositions={setPositions} extractSearchText={extractSearchText} />
|
|
701
701
|
</InVirtualListContext.Provider> : renderableMessages.flatMap(renderMessageRow)}
|
|
702
702
|
|
|
703
|
-
{streamingText && !isBriefOnly &&
|
|
703
|
+
{streamingText && !isBriefOnly && <Box alignItems="flex-start" flexDirection="row" marginTop={1} width="100%">
|
|
704
704
|
<Box flexDirection="row">
|
|
705
705
|
<Box minWidth={2}>
|
|
706
706
|
<Text color="text">{BLACK_CIRCLE}</Text>
|
package/src/utils/messages.ts
CHANGED
|
@@ -3003,6 +3003,10 @@ export function handleMessageFromStream(
|
|
|
3003
3003
|
if (message.event.type === 'message_stop') {
|
|
3004
3004
|
onSetStreamMode('tool-use')
|
|
3005
3005
|
onStreamingToolUses(() => [])
|
|
3006
|
+
// Clear streaming text at message_stop so the SDK's async assembly of the
|
|
3007
|
+
// final assistant message does not produce a render frame where both
|
|
3008
|
+
// streamingText (residual) and renderableMessages (final) show the same text.
|
|
3009
|
+
onStreamingText?.(() => null)
|
|
3006
3010
|
return
|
|
3007
3011
|
}
|
|
3008
3012
|
|