(t0)
| 56 | latestBashOutputUUID?: string | null; |
| 57 | }; |
| 58 | function MessageImpl(t0) { |
| 59 | const $ = _c(94); |
| 60 | const { |
| 61 | message, |
| 62 | lookups, |
| 63 | containerWidth, |
| 64 | addMargin, |
| 65 | tools, |
| 66 | commands, |
| 67 | verbose, |
| 68 | inProgressToolUseIDs, |
| 69 | progressMessagesForMessage, |
| 70 | shouldAnimate, |
| 71 | shouldShowDot, |
| 72 | style, |
| 73 | width, |
| 74 | isTranscriptMode, |
| 75 | onOpenRateLimitOptions, |
| 76 | isActiveCollapsedGroup, |
| 77 | isUserContinuation: t1, |
| 78 | lastThinkingBlockId, |
| 79 | latestBashOutputUUID |
| 80 | } = t0; |
| 81 | const isUserContinuation = t1 === undefined ? false : t1; |
| 82 | switch (message.type) { |
| 83 | case "attachment": |
| 84 | { |
| 85 | let t2; |
| 86 | if ($[0] !== addMargin || $[1] !== isTranscriptMode || $[2] !== message.attachment || $[3] !== verbose) { |
| 87 | t2 = <AttachmentMessage addMargin={addMargin} attachment={message.attachment} verbose={verbose} isTranscriptMode={isTranscriptMode} />; |
| 88 | $[0] = addMargin; |
| 89 | $[1] = isTranscriptMode; |
| 90 | $[2] = message.attachment; |
| 91 | $[3] = verbose; |
| 92 | $[4] = t2; |
| 93 | } else { |
| 94 | t2 = $[4]; |
| 95 | } |
| 96 | return t2; |
| 97 | } |
| 98 | case "assistant": |
| 99 | { |
| 100 | const t2 = containerWidth ?? "100%"; |
| 101 | let t3; |
| 102 | if ($[5] !== addMargin || $[6] !== commands || $[7] !== inProgressToolUseIDs || $[8] !== isTranscriptMode || $[9] !== lastThinkingBlockId || $[10] !== lookups || $[11] !== message.advisorModel || $[12] !== message.message.content || $[13] !== message.uuid || $[14] !== onOpenRateLimitOptions || $[15] !== progressMessagesForMessage || $[16] !== shouldAnimate || $[17] !== shouldShowDot || $[18] !== tools || $[19] !== verbose || $[20] !== width) { |
| 103 | let t4; |
| 104 | if ($[22] !== addMargin || $[23] !== commands || $[24] !== inProgressToolUseIDs || $[25] !== isTranscriptMode || $[26] !== lastThinkingBlockId || $[27] !== lookups || $[28] !== message.advisorModel || $[29] !== message.uuid || $[30] !== onOpenRateLimitOptions || $[31] !== progressMessagesForMessage || $[32] !== shouldAnimate || $[33] !== shouldShowDot || $[34] !== tools || $[35] !== verbose || $[36] !== width) { |
| 105 | t4 = (_, index_0) => <AssistantMessageBlock key={index_0} param={_} addMargin={addMargin} tools={tools} commands={commands} verbose={verbose} inProgressToolUseIDs={inProgressToolUseIDs} progressMessagesForMessage={progressMessagesForMessage} shouldAnimate={shouldAnimate} shouldShowDot={shouldShowDot} width={width} inProgressToolCallCount={inProgressToolUseIDs.size} isTranscriptMode={isTranscriptMode} lookups={lookups} onOpenRateLimitOptions={onOpenRateLimitOptions} thinkingBlockId={`${message.uuid}:${index_0}`} lastThinkingBlockId={lastThinkingBlockId} advisorModel={message.advisorModel} />; |
| 106 | $[22] = addMargin; |
| 107 | $[23] = commands; |
| 108 | $[24] = inProgressToolUseIDs; |
| 109 | $[25] = isTranscriptMode; |
| 110 | $[26] = lastThinkingBlockId; |
| 111 | $[27] = lookups; |
| 112 | $[28] = message.advisorModel; |
| 113 | $[29] = message.uuid; |
| 114 | $[30] = onOpenRateLimitOptions; |
| 115 | $[31] = progressMessagesForMessage; |
nothing calls this directly
no test coverage detected