spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / diff / hooks / views / dialog-pane / message-pane-of / message-pane / message-pane.ts
13 lines · 390 BRaw
1import type { RenderElement } from 'claude-code'
2
3/**
4 * What stands around a message in the pane: the header block, the message,
5 * the pickers, the pre-session line, and what is listed under it.
6 */
7export type MessagePane = {
8 top: readonly RenderElement[]
9 message: readonly string[]
10 controls: RenderElement | null
11 earlier: RenderElement | null
12 rest: readonly RenderElement[]
13}