Elffuss BraidHub

kikocis/continue public

0e09f43481cb · 607 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 additionalPrompts?: string[];
13}
14
15/**
16 * Root component that wraps TUIChat with all necessary providers
17 * This is the main entry point for the UI application
18 */
19export const AppRoot: React.FC<AppRootProps> = (props) => {
20 return (
21 <NavigationProvider>
22 <TUIChat {...props} />
23 </NavigationProvider>
24 );
25};