@copilotkit/a2ui-renderer
Version:
A2UI Renderer for CopilotKit - render A2UI surfaces in React applications
19 lines (17 loc) • 689 B
JavaScript
//#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
exports.ROOT_COMPONENT_ID = ROOT_COMPONENT_ID;
//# sourceMappingURL=constants.cjs.map