(t0)
| 182 | const TERMINAL_BUFFER_LINES = 7; |
| 183 | type Output = z.input<ReturnType<typeof outputSchema>>; |
| 184 | export function AgentPromptDisplay(t0) { |
| 185 | const $ = _c(3); |
| 186 | const { |
| 187 | prompt, |
| 188 | dim: t1 |
| 189 | } = t0; |
| 190 | t1 === undefined ? false : t1; |
| 191 | let t2; |
| 192 | if ($[0] === Symbol.for("react.memo_cache_sentinel")) { |
| 193 | t2 = <Text color="success" bold={true}>Prompt:</Text>; |
| 194 | $[0] = t2; |
| 195 | } else { |
| 196 | t2 = $[0]; |
| 197 | } |
| 198 | let t3; |
| 199 | if ($[1] !== prompt) { |
| 200 | t3 = <Box flexDirection="column">{t2}<Box paddingLeft={2}><Markdown>{prompt}</Markdown></Box></Box>; |
| 201 | $[1] = prompt; |
| 202 | $[2] = t3; |
| 203 | } else { |
| 204 | t3 = $[2]; |
| 205 | } |
| 206 | return t3; |
| 207 | } |
| 208 | export function AgentResponseDisplay(t0) { |
| 209 | const $ = _c(5); |
| 210 | const { |
nothing calls this directly
no outgoing calls
no test coverage detected