Skip to content

Commit 5f695f0

Browse files
authored
Merge pull request #18 from CoolSpring8/container-components-refactor
Container components refactor
2 parents eb05666 + 9af7b32 commit 5f695f0

20 files changed

Lines changed: 1776 additions & 1137 deletions

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Project Structure & Module Organization
44

55
- Source lives in `src/` (`index.tsx`, `App.tsx`, `index.css`). Build output goes to `dist/`.
6-
- Providers only in `index.tsx` (e.g., `MantineProvider`). `App.tsx` coordinates views and settings; conversation state and snapshots live in the Zustand store (`src/tree/useConversationTree.ts`, `src/tree/types.ts`), and AI provider helpers live in `src/ai/openaiCompatible.ts`.
6+
- Providers only in `index.tsx` (e.g., `MantineProvider`). Settings and provider state live in a shared store (`src/state/useSettingsStore.ts`); conversation state and snapshots live in the tree store (`src/tree/useConversationTree.ts`, `src/tree/types.ts`), and AI provider helpers live in `src/ai/openaiCompatible.ts`.
77
- Components under `src/components/` include their own UI behavior (hover/edit states, popovers, menus) rather than being purely presentational.
88
- Key config: `rsbuild.config.mjs`, `tsconfig.json`, `tailwind.config.js`, `postcss.config.js`, `biome.json`.
99

0 commit comments

Comments
 (0)