Files
Jude GaoandGitHub 64b0986c05 Feat: get_page_metadata MCP endpoint (#84211)
Enables AI agents to programmatically access the runtime metadata of the
current page. At the moment, we only include the segment trie details,
but this endpoint will be open to extension. Like `get_errors`, we
support collecting information from multiple tabs.
2025-09-25 15:51:32 -04:00

20 lines
412 B
TypeScript

export default function ParallelLayout({
children,
sidebar,
content,
}: {
children: React.ReactNode
sidebar: React.ReactNode
content: React.ReactNode
}) {
return (
<div style={{ display: 'flex' }}>
<div style={{ flex: '0 0 200px', borderRight: '1px solid #ccc' }}>
{sidebar}
</div>
<div style={{ flex: 1 }}>{content}</div>
<div>{children}</div>
</div>
)
}