UNPKG

@copilotkit/a2ui-renderer

Version:

A2UI Renderer for CopilotKit - render A2UI surfaces in React applications

18 lines (17 loc) 671 B
//#region src/web-components/constants.ts /** * Runtime constants for the Lit renderer. * * `web-components` is built as its own unbundled entry into `dist/web-components`, * so it cannot reach back into `../a2ui-types.ts` without emitting outside that * output directory. The values here therefore mirror their React-side twins — * the same reason `surface.ts` keeps its own `DEFAULT_SURFACE_ID`. */ /** * The component id this renderer starts from when it walks a surface. * Mirrors `ROOT_COMPONENT_ID` in `../a2ui-types.ts`; keep the two in step. */ const ROOT_COMPONENT_ID = "root"; //#endregion export { ROOT_COMPONENT_ID }; //# sourceMappingURL=constants.mjs.map