[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109670":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":8,"rankLanguage":8,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":8,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":14,"starSnapshotCount":14,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},109670,"tuffui","yurigdesigner\u002Ftuffui","yurigdesigner",null,"TypeScript",256,15,60,1,0,41,165,7,70.44,"MIT License",false,"main",true,[],"2026-11-23 11:54:41","2026-11-23 13:13:32","\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Ftuffui.com\">\n    \u003Cimg src=\".github\u002Fassets\u002Flogo.svg\" width=\"72\" height=\"72\" alt=\"TUFFUI logo\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">TUFFUI\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  Free, MIT-licensed React components for AI chat and agent interfaces.\n  \u003Cbr>\n  \u003Ca href=\"https:\u002F\u002Ftuffui.com\">\u003Cstrong>tuffui.com\u003C\u002Fstrong>\u003C\u002Fa>\n  ·\n  \u003Ca href=\"https:\u002F\u002Ftuffui.com\u002Fcomponents\">Components\u003C\u002Fa>\n  ·\n  \u003Ca href=\"https:\u002F\u002Ftuffui.com\u002Fdocs\u002Finstallation\">Installation\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Ftuffui.com\u002Fcomponents\">\n    \u003Cimg src=\".github\u002Fassets\u002Fscreenshot.png\" alt=\"TUFFUI chart components: bar chart, dot histogram, tick gauge, mirror strips, radial dots, match field, radar chart and diverging bars\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n76 components for the parts of AI products generic UI kits don't cover: tool-call\napprovals, agent plans and traces, streaming chat, memory, usage meters, charts for\nagent data, and full screens built from them. They are distributed as a shadcn\nregistry, so installing one copies its source into your project:\n\n```bash\nnpx shadcn@latest add https:\u002F\u002Ftuffui.com\u002Fr\u002Ftool-approval-queue.json\n```\n\nNo Pro tier, no signup, nothing locked.\n\n## Develop\n\n```bash\npnpm install\npnpm dev               # http:\u002F\u002Flocalhost:3000\npnpm build             # registry build (public\u002Fr) + next build\npnpm lint && pnpm typecheck && pnpm format:check\n```\n\n## Layout\n\n| Path                         | What                                                                                                     |\n| ---------------------------- | -------------------------------------------------------------------------------------------------------- |\n| `registry\u002F\u003Cname>\u002F`           | Components: the single source of truth. `demo.tsx` and `docs.ts` hold each component's preview and docs. |\n| `registry\u002Fuse-mock-run\u002F`     | Scripted runs that drive every preview. No component depends on it.                                      |\n| `lib\u002Fcatalog.ts`             | Component metadata: names, categories, variants.                                                         |\n| `lib\u002Fsite.ts`                | Brand values: name, URL, GitHub.                                                                         |\n| `app\u002Fglobals.css`            | Theme tokens. The registry `theme` item is generated from this file.                                     |\n| `scripts\u002Fbuild-registry.mts` | Writes `registry.json`, then runs `shadcn build` into `public\u002Fr\u002F`.                                       |\n\n## Add a component\n\n1. Create `registry\u002F\u003Cslug>\u002F\u003Cslug>.tsx`, `demo.tsx` and `docs.ts`. Start the component\n   file with the two license lines every component has; the registry build fails\n   without them.\n2. Add an entry to `lib\u002Fcatalog.ts`.\n3. Import shared primitives as `@\u002Fcomponents\u002Fui\u002F\u003Cname>` and motion values from\n   `@\u002Flib\u002Fmotion-tokens`. The registry build reads each file's imports and fills in npm\n   and registry dependencies on its own.\n4. Register the demo in `components\u002Fdocs\u002Fdemo.tsx` and the docs in `lib\u002Fdocs\u002Findex.ts`.\n\n## Add a screen\n\nScreens are whole app screens composed from components (shadcn `registry:block`). They\npreview in a device frame (1280 \u002F 768 \u002F 390) on `\u002Fcomponents\u002F\u003Cslug>` and render alone at\n`\u002Fscreens\u002F\u003Cslug>`.\n\n1. Same files as a component: `registry\u002F\u003Cslug>\u002F\u003Cslug>.tsx`, `demo.tsx`, `docs.ts`, a\n   catalog entry with `category: \"screens\"`, and the demo\u002Fdocs registrations.\n2. Import components only as `@\u002Fcomponents\u002Fui\u002F\u003Cslug>` (shims exist for all of them).\n   Dependencies are read from the screen file and its demo, so the components the demo\n   renders as content come along on install.\n3. The root fills its parent (`h-full w-full`) and is a `@container`. Lay out with\n   container queries (`@md:`, `@4xl:` …), never viewport breakpoints, so each device width\n   in the frame shows its own layout.\n4. Scrolling: one vertical scroll for the main content (the thread). No nested scroll\n   areas inside messages or panels. A composer stays pinned at the bottom over the\n   content — `ChatThread bare` with `bottomInset` set to the composer's measured height.\n   A sidebar may scroll only when it is taller than the screen.\n5. Nothing scrolls sideways at any width: chips and tags wrap, long text truncates or\n   wraps, payloads wrap. Overlays (drawers) stay inside the screen instead of portalling\n   to the page. Check: no element with `overflow-x: auto | scroll` and\n   `scrollWidth > clientWidth`, and nothing visible outside the screen box.\n\n## License\n\nMIT. Free for personal and commercial use; keep the license line at the top of each file.\nIf TUFFUI saves you time, you can support it on [Ko-fi](https:\u002F\u002Fko-fi.com\u002Fyurigokoryan).\n","TUFFUI 是一个面向 AI 应用界面开发的开源 React 组件库，专注于解决 AI 聊天与智能体（Agent）产品中特有的 UI 需求。它提供 76 个开箱即用的 TypeScript 组件，涵盖工具调用审批队列、Agent 执行计划与追踪日志、流式消息对话、内存状态展示、用量仪表盘、专用数据图表（如径向点图、镜像条带、发散柱状图等）及完整页面布局。组件以 shadcn registry 形式分发，支持按需安装、源码内嵌、零依赖注入，无商业限制。适用于构建 LLM 应用前端、AI 工具平台、智能体控制台等需要深度集成 AI 行为可视化与交互逻辑的场景。",2,"2026-11-24 04:37:08","CREATED_QUERY"]