Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
/**
* The vertical box of a live tool row: a 20px line with 6px margins above and
* below, shared by every call card header and by the streaming cursor a
* collapsed phase card renders beneath itself. The two trade places on every
* absorb → next-call cycle of a run, so they must occupy the same height or
* everything under the card moves on each swap.
*/
export const TOOL_ROW_CLASSES = 'relative my-1.5 flex h-5 shrink-0 items-center gap-2.5';
/** Leave an 8px gap beside MessageNav's hit area in full-width chat. */
export const ARTIFACT_ROW_NAV_SPACING = 'pe-3 md:pe-17';
/** Behavior hook for header glyphs, independent of their layout. */
export const FOLD_GLYPH_CLASS = 'fold-glyph';
/**
* The leading glyph slot of a row: 24px wide, the width of the message
* header's avatar, and the row's own 20px tall. A 16px tool icon, the 14px
* phase check and the 12px cursor dot all center in it, so every row's glyph
* sits on the avatar's axis, and with the row's 8px gap every row's text
* starts where the header's name does. `min-w` rather than `w`, so a stacked
* icon strip can run wider without overlapping its label; never taller than
* `TOOL_ROW_CLASSES`, whose `ProgressText` content is absolutely positioned
* and would carry a taller slot 2px below the row's center. `fold-glyph` is a
* hook, not a style: see `FOLD_GLYPH_SELECTOR`.
*/
export const ROW_GLYPH_SLOT: string = `${FOLD_GLYPH_CLASS} flex h-5 min-w-6 shrink-0 items-center justify-center`;
/** Shared by normal row slots and custom header glyphs. */
export const FOLD_GLYPH_SELECTOR: string = `.${FOLD_GLYPH_CLASS}`;
/**
* The panel under an open header: its rows step in by one glyph slot and a
* hairline (`FoldRail`) hangs from the header's glyph down their left, so what
* is under the header reads as under it. Carried by the panel's clipping
* wrapper, the one `overflow-hidden` element the fold animation needs: the
* inset then lies INSIDE the clip, which is what lets a failed row's stripe,
* drawn 12px left of the row, show at all. The rail is absolutely positioned
* in that inset, out of flow, so the height animation is untouched.
*/
export const FOLD_RAIL_CLASSES = 'relative ps-6';
/**
* A copy action laid over its pane (`group/copy`) instead of beside it, so it
* takes no width from the content. Hidden until the pane is hovered or the
* action holds keyboard focus; any touchscreen, even beside a trackpad, always sees it.
*/
export const PANE_COPY_REVEAL =
'no-touch:opacity-0 no-touch:focus-visible:opacity-100 no-touch:group-hover/copy:opacity-100';