Elffuss BraidHub

kikocis/continue public

61bef27a1dcd · 575 BRawPermalink
1import React from "react";
2
3import { NavigationProvider } from "./context/NavigationContext.js";
4import { TUIChat } from "./TUIChat.js";
5
6interface AppRootProps {
7 remoteUrl?: string;
8 configPath?: string;
9 initialPrompt?: string;
10 resume?: boolean;
11 additionalRules?: string[];
12}
13
14/**
15 * Root component that wraps TUIChat with all necessary providers
16 * This is the main entry point for the UI application
17 */
18export const AppRoot: React.FC<AppRootProps> = (props) => {
19 return (
20 <NavigationProvider>
21 <TUIChat {...props} />
22 </NavigationProvider>
23 );
24};