import { jsx, jsxs } from "react/jsx-runtime";
import { Box } from "ink";
import { Header } from "./Header.js";
import { MessageList } from "./MessageList.js";
function ChatView({
  messages,
  modelName,
  sessionId,
  hasActiveSession,
  startupInfo
}) {
  return /* @__PURE__ */ jsxs(Box, { flexDirection: "column", flexGrow: 1, children: [
    /* @__PURE__ */ jsx(
      Header,
      {
        modelName,
        sessionId,
        hasActiveSession,
        startupInfo
      }
    ),
    /* @__PURE__ */ jsx(MessageList, { messages })
  ] });
}
export {
  ChatView
};
