From 0f4d31080ed5efeaee745896ef2d00e2c724e9ae Mon Sep 17 00:00:00 2001 From: Charles Packer Date: Wed, 3 Apr 2024 18:59:43 -0700 Subject: [PATCH] feat: add dev portal (#1191) --- chatui/.editorconfig | 13 - chatui/.eslintignore | 1 - chatui/.eslintrc.base.json | 42 - chatui/.eslintrc.json | 14 - chatui/.gitignore | 41 - chatui/.prettierignore | 4 - chatui/.prettierrc | 14 - chatui/.vscode/extensions.json | 8 - chatui/README.md | 27 - chatui/components.json | 16 - chatui/index.html | 37 - chatui/jest.config.ts | 5 - chatui/jest.preset.js | 3 - chatui/libs/components/accordion/.babelrc | 12 - .../libs/components/accordion/.eslintrc.json | 18 - chatui/libs/components/accordion/README.md | 7 - chatui/libs/components/accordion/package.json | 12 - chatui/libs/components/accordion/project.json | 32 - .../components/accordion/src/accordion.tsx | 54 - chatui/libs/components/accordion/src/index.ts | 1 - .../libs/components/accordion/tsconfig.json | 18 - .../components/accordion/tsconfig.lib.json | 18 - .../libs/components/accordion/vite.config.ts | 43 - chatui/libs/components/alert-dialog/.babelrc | 12 - .../components/alert-dialog/.eslintrc.json | 18 - chatui/libs/components/alert-dialog/README.md | 7 - .../libs/components/alert-dialog/package.json | 12 - .../libs/components/alert-dialog/project.json | 32 - .../alert-dialog/src/alert-dialog.tsx | 104 - .../libs/components/alert-dialog/src/index.ts | 1 - .../components/alert-dialog/tsconfig.json | 18 - .../components/alert-dialog/tsconfig.lib.json | 18 - .../components/alert-dialog/vite.config.ts | 43 - chatui/libs/components/alert/.babelrc | 12 - chatui/libs/components/alert/.eslintrc.json | 18 - chatui/libs/components/alert/README.md | 7 - chatui/libs/components/alert/package.json | 12 - chatui/libs/components/alert/project.json | 32 - chatui/libs/components/alert/src/alert.tsx | 43 - chatui/libs/components/alert/src/index.ts | 1 - chatui/libs/components/alert/tsconfig.json | 18 - .../libs/components/alert/tsconfig.lib.json | 18 - chatui/libs/components/alert/vite.config.ts | 43 - chatui/libs/components/aspect-ratio/.babelrc | 12 - .../components/aspect-ratio/.eslintrc.json | 18 - chatui/libs/components/aspect-ratio/README.md | 7 - .../libs/components/aspect-ratio/package.json | 12 - .../libs/components/aspect-ratio/project.json | 32 - .../aspect-ratio/src/aspect-ratio.tsx | 5 - .../libs/components/aspect-ratio/src/index.ts | 1 - .../components/aspect-ratio/tsconfig.json | 18 - .../components/aspect-ratio/tsconfig.lib.json | 18 - .../components/aspect-ratio/vite.config.ts | 43 - chatui/libs/components/avatar/.babelrc | 12 - chatui/libs/components/avatar/.eslintrc.json | 18 - chatui/libs/components/avatar/README.md | 7 - chatui/libs/components/avatar/package.json | 12 - chatui/libs/components/avatar/project.json | 32 - chatui/libs/components/avatar/src/avatar.tsx | 38 - chatui/libs/components/avatar/src/index.ts | 1 - chatui/libs/components/avatar/tsconfig.json | 18 - .../libs/components/avatar/tsconfig.lib.json | 18 - chatui/libs/components/avatar/vite.config.ts | 43 - chatui/libs/components/badge/.babelrc | 12 - chatui/libs/components/badge/.eslintrc.json | 18 - chatui/libs/components/badge/README.md | 7 - chatui/libs/components/badge/package.json | 12 - chatui/libs/components/badge/project.json | 32 - chatui/libs/components/badge/src/badge.tsx | 29 - chatui/libs/components/badge/src/index.ts | 1 - chatui/libs/components/badge/tsconfig.json | 18 - .../libs/components/badge/tsconfig.lib.json | 18 - chatui/libs/components/badge/vite.config.ts | 43 - chatui/libs/components/button/.babelrc | 12 - chatui/libs/components/button/.eslintrc.json | 18 - chatui/libs/components/button/README.md | 7 - chatui/libs/components/button/package.json | 12 - chatui/libs/components/button/project.json | 32 - chatui/libs/components/button/src/button.tsx | 47 - chatui/libs/components/button/src/index.ts | 1 - chatui/libs/components/button/tsconfig.json | 18 - .../libs/components/button/tsconfig.lib.json | 18 - chatui/libs/components/button/vite.config.ts | 43 - chatui/libs/components/calendar/.babelrc | 12 - .../libs/components/calendar/.eslintrc.json | 18 - chatui/libs/components/calendar/README.md | 7 - chatui/libs/components/calendar/package.json | 12 - chatui/libs/components/calendar/project.json | 32 - .../libs/components/calendar/src/calendar.tsx | 52 - chatui/libs/components/calendar/src/index.ts | 0 chatui/libs/components/calendar/tsconfig.json | 18 - .../components/calendar/tsconfig.lib.json | 18 - .../libs/components/calendar/vite.config.ts | 43 - chatui/libs/components/card/.babelrc | 12 - chatui/libs/components/card/.eslintrc.json | 18 - chatui/libs/components/card/README.md | 7 - chatui/libs/components/card/package.json | 12 - chatui/libs/components/card/project.json | 32 - chatui/libs/components/card/src/card.tsx | 41 - chatui/libs/components/card/src/index.ts | 1 - chatui/libs/components/card/tsconfig.json | 18 - chatui/libs/components/card/tsconfig.lib.json | 18 - chatui/libs/components/card/vite.config.ts | 43 - chatui/libs/components/checkbox/.babelrc | 12 - .../libs/components/checkbox/.eslintrc.json | 18 - chatui/libs/components/checkbox/README.md | 7 - chatui/libs/components/checkbox/package.json | 12 - chatui/libs/components/checkbox/project.json | 32 - .../libs/components/checkbox/src/checkbox.tsx | 26 - chatui/libs/components/checkbox/src/index.ts | 1 - chatui/libs/components/checkbox/tsconfig.json | 18 - .../components/checkbox/tsconfig.lib.json | 18 - .../libs/components/checkbox/vite.config.ts | 43 - chatui/libs/components/collapsible/.babelrc | 12 - .../components/collapsible/.eslintrc.json | 18 - chatui/libs/components/collapsible/README.md | 7 - .../libs/components/collapsible/package.json | 12 - .../libs/components/collapsible/project.json | 32 - .../collapsible/src/collapsible.tsx | 9 - .../libs/components/collapsible/src/index.ts | 1 - .../libs/components/collapsible/tsconfig.json | 18 - .../components/collapsible/tsconfig.lib.json | 18 - .../components/collapsible/vite.config.ts | 43 - chatui/libs/components/command/.babelrc | 12 - chatui/libs/components/command/.eslintrc.json | 18 - chatui/libs/components/command/README.md | 7 - chatui/libs/components/command/package.json | 12 - chatui/libs/components/command/project.json | 32 - .../libs/components/command/src/command.tsx | 132 - chatui/libs/components/command/src/index.ts | 1 - chatui/libs/components/command/tsconfig.json | 18 - .../libs/components/command/tsconfig.lib.json | 18 - chatui/libs/components/command/vite.config.ts | 43 - chatui/libs/components/context-menu/.babelrc | 12 - .../components/context-menu/.eslintrc.json | 18 - chatui/libs/components/context-menu/README.md | 7 - .../libs/components/context-menu/package.json | 12 - .../libs/components/context-menu/project.json | 32 - .../context-menu/src/context-menu.tsx | 178 - .../libs/components/context-menu/src/index.ts | 1 - .../components/context-menu/tsconfig.json | 18 - .../components/context-menu/tsconfig.lib.json | 18 - .../components/context-menu/vite.config.ts | 43 - chatui/libs/components/dialog/.babelrc | 12 - chatui/libs/components/dialog/.eslintrc.json | 18 - chatui/libs/components/dialog/README.md | 7 - chatui/libs/components/dialog/package.json | 12 - chatui/libs/components/dialog/project.json | 32 - chatui/libs/components/dialog/src/dialog.tsx | 95 - chatui/libs/components/dialog/src/index.ts | 1 - chatui/libs/components/dialog/tsconfig.json | 18 - .../libs/components/dialog/tsconfig.lib.json | 18 - chatui/libs/components/dialog/vite.config.ts | 43 - chatui/libs/components/dropdown-menu/.babelrc | 12 - .../components/dropdown-menu/.eslintrc.json | 18 - .../libs/components/dropdown-menu/README.md | 7 - .../components/dropdown-menu/package.json | 12 - .../components/dropdown-menu/project.json | 32 - .../dropdown-menu/src/dropdown-menu.tsx | 179 - .../components/dropdown-menu/src/index.ts | 1 - .../components/dropdown-menu/tsconfig.json | 18 - .../dropdown-menu/tsconfig.lib.json | 18 - .../components/dropdown-menu/vite.config.ts | 43 - chatui/libs/components/form/.babelrc | 12 - chatui/libs/components/form/.eslintrc.json | 18 - chatui/libs/components/form/README.md | 7 - chatui/libs/components/form/package.json | 12 - chatui/libs/components/form/project.json | 32 - chatui/libs/components/form/src/form.tsx | 129 - chatui/libs/components/form/src/index.ts | 1 - chatui/libs/components/form/tsconfig.json | 18 - chatui/libs/components/form/tsconfig.lib.json | 18 - chatui/libs/components/form/vite.config.ts | 43 - chatui/libs/components/hover-card/.babelrc | 12 - .../libs/components/hover-card/.eslintrc.json | 18 - chatui/libs/components/hover-card/README.md | 7 - .../libs/components/hover-card/package.json | 12 - .../libs/components/hover-card/project.json | 32 - .../components/hover-card/src/hover-card.tsx | 27 - .../libs/components/hover-card/src/index.ts | 1 - .../libs/components/hover-card/tsconfig.json | 18 - .../components/hover-card/tsconfig.lib.json | 18 - .../libs/components/hover-card/vite.config.ts | 43 - chatui/libs/components/input/.babelrc | 12 - chatui/libs/components/input/.eslintrc.json | 18 - chatui/libs/components/input/README.md | 7 - chatui/libs/components/input/package.json | 12 - chatui/libs/components/input/project.json | 32 - chatui/libs/components/input/src/index.ts | 1 - chatui/libs/components/input/src/input.tsx | 22 - chatui/libs/components/input/tsconfig.json | 18 - .../libs/components/input/tsconfig.lib.json | 18 - chatui/libs/components/input/vite.config.ts | 43 - chatui/libs/components/label/.babelrc | 12 - chatui/libs/components/label/.eslintrc.json | 18 - chatui/libs/components/label/README.md | 7 - chatui/libs/components/label/package.json | 12 - chatui/libs/components/label/project.json | 32 - chatui/libs/components/label/src/index.ts | 1 - chatui/libs/components/label/src/label.tsx | 17 - chatui/libs/components/label/tsconfig.json | 18 - .../libs/components/label/tsconfig.lib.json | 18 - chatui/libs/components/label/vite.config.ts | 43 - chatui/libs/components/menubar/.babelrc | 12 - chatui/libs/components/menubar/.eslintrc.json | 18 - chatui/libs/components/menubar/README.md | 7 - chatui/libs/components/menubar/package.json | 12 - chatui/libs/components/menubar/project.json | 32 - chatui/libs/components/menubar/src/index.ts | 1 - .../libs/components/menubar/src/menubar.tsx | 207 - chatui/libs/components/menubar/tsconfig.json | 18 - .../libs/components/menubar/tsconfig.lib.json | 18 - chatui/libs/components/menubar/vite.config.ts | 43 - .../libs/components/navigation-menu/.babelrc | 12 - .../components/navigation-menu/.eslintrc.json | 18 - .../libs/components/navigation-menu/README.md | 7 - .../components/navigation-menu/package.json | 12 - .../components/navigation-menu/project.json | 32 - .../components/navigation-menu/src/index.ts | 1 - .../navigation-menu/src/navigation-menu.tsx | 120 - .../components/navigation-menu/tsconfig.json | 18 - .../navigation-menu/tsconfig.lib.json | 18 - .../components/navigation-menu/vite.config.ts | 43 - chatui/libs/components/popover/.babelrc | 12 - chatui/libs/components/popover/.eslintrc.json | 18 - chatui/libs/components/popover/README.md | 7 - chatui/libs/components/popover/package.json | 12 - chatui/libs/components/popover/project.json | 32 - chatui/libs/components/popover/src/index.ts | 1 - .../libs/components/popover/src/popover.tsx | 29 - chatui/libs/components/popover/tsconfig.json | 18 - .../libs/components/popover/tsconfig.lib.json | 18 - chatui/libs/components/popover/vite.config.ts | 43 - chatui/libs/components/progress/.babelrc | 12 - .../libs/components/progress/.eslintrc.json | 18 - chatui/libs/components/progress/README.md | 7 - chatui/libs/components/progress/package.json | 12 - chatui/libs/components/progress/project.json | 32 - chatui/libs/components/progress/src/index.ts | 1 - .../libs/components/progress/src/progress.tsx | 23 - chatui/libs/components/progress/tsconfig.json | 18 - .../components/progress/tsconfig.lib.json | 18 - .../libs/components/progress/vite.config.ts | 43 - chatui/libs/components/radio-group/.babelrc | 12 - .../components/radio-group/.eslintrc.json | 18 - chatui/libs/components/radio-group/README.md | 7 - .../libs/components/radio-group/package.json | 12 - .../libs/components/radio-group/project.json | 32 - .../libs/components/radio-group/src/index.ts | 1 - .../radio-group/src/radio-group.tsx | 36 - .../libs/components/radio-group/tsconfig.json | 18 - .../components/radio-group/tsconfig.lib.json | 18 - .../components/radio-group/vite.config.ts | 43 - chatui/libs/components/scroll-area/.babelrc | 12 - .../components/scroll-area/.eslintrc.json | 18 - chatui/libs/components/scroll-area/README.md | 7 - .../libs/components/scroll-area/package.json | 12 - .../libs/components/scroll-area/project.json | 32 - .../libs/components/scroll-area/src/index.ts | 1 - .../scroll-area/src/scroll-area.tsx | 40 - .../libs/components/scroll-area/tsconfig.json | 18 - .../components/scroll-area/tsconfig.lib.json | 18 - .../components/scroll-area/vite.config.ts | 43 - chatui/libs/components/select/.babelrc | 12 - chatui/libs/components/select/.eslintrc.json | 18 - chatui/libs/components/select/README.md | 7 - chatui/libs/components/select/package.json | 12 - chatui/libs/components/select/project.json | 32 - chatui/libs/components/select/src/index.ts | 1 - chatui/libs/components/select/src/select.tsx | 102 - chatui/libs/components/select/tsconfig.json | 18 - .../libs/components/select/tsconfig.lib.json | 18 - chatui/libs/components/select/vite.config.ts | 43 - chatui/libs/components/separator/.babelrc | 12 - .../libs/components/separator/.eslintrc.json | 18 - chatui/libs/components/separator/README.md | 7 - chatui/libs/components/separator/package.json | 12 - chatui/libs/components/separator/project.json | 32 - chatui/libs/components/separator/src/index.ts | 1 - .../components/separator/src/separator.tsx | 20 - .../libs/components/separator/tsconfig.json | 18 - .../components/separator/tsconfig.lib.json | 18 - .../libs/components/separator/vite.config.ts | 43 - chatui/libs/components/sheet/.babelrc | 12 - chatui/libs/components/sheet/.eslintrc.json | 18 - chatui/libs/components/sheet/README.md | 7 - chatui/libs/components/sheet/package.json | 12 - chatui/libs/components/sheet/project.json | 32 - chatui/libs/components/sheet/src/index.ts | 1 - chatui/libs/components/sheet/src/sheet.tsx | 107 - chatui/libs/components/sheet/tsconfig.json | 18 - .../libs/components/sheet/tsconfig.lib.json | 18 - chatui/libs/components/sheet/vite.config.ts | 43 - chatui/libs/components/skeleton/.babelrc | 12 - .../libs/components/skeleton/.eslintrc.json | 18 - chatui/libs/components/skeleton/README.md | 7 - chatui/libs/components/skeleton/package.json | 12 - chatui/libs/components/skeleton/project.json | 32 - chatui/libs/components/skeleton/src/index.ts | 1 - .../libs/components/skeleton/src/skeleton.tsx | 7 - chatui/libs/components/skeleton/tsconfig.json | 18 - .../components/skeleton/tsconfig.lib.json | 18 - .../libs/components/skeleton/vite.config.ts | 43 - chatui/libs/components/slider/.babelrc | 12 - chatui/libs/components/slider/.eslintrc.json | 18 - chatui/libs/components/slider/README.md | 7 - chatui/libs/components/slider/package.json | 12 - chatui/libs/components/slider/project.json | 32 - chatui/libs/components/slider/src/index.ts | 1 - chatui/libs/components/slider/src/slider.tsx | 23 - chatui/libs/components/slider/tsconfig.json | 18 - .../libs/components/slider/tsconfig.lib.json | 18 - chatui/libs/components/slider/vite.config.ts | 43 - chatui/libs/components/switch/.babelrc | 12 - chatui/libs/components/switch/.eslintrc.json | 18 - chatui/libs/components/switch/README.md | 7 - chatui/libs/components/switch/package.json | 12 - chatui/libs/components/switch/project.json | 32 - chatui/libs/components/switch/src/index.ts | 1 - chatui/libs/components/switch/src/switch.tsx | 27 - chatui/libs/components/switch/tsconfig.json | 18 - .../libs/components/switch/tsconfig.lib.json | 18 - chatui/libs/components/switch/vite.config.ts | 43 - chatui/libs/components/table/.babelrc | 12 - chatui/libs/components/table/.eslintrc.json | 18 - chatui/libs/components/table/README.md | 7 - chatui/libs/components/table/package.json | 12 - chatui/libs/components/table/project.json | 32 - chatui/libs/components/table/src/index.ts | 1 - chatui/libs/components/table/src/table.tsx | 72 - chatui/libs/components/table/tsconfig.json | 18 - .../libs/components/table/tsconfig.lib.json | 18 - chatui/libs/components/table/vite.config.ts | 43 - chatui/libs/components/tabs/.babelrc | 12 - chatui/libs/components/tabs/.eslintrc.json | 18 - chatui/libs/components/tabs/README.md | 7 - chatui/libs/components/tabs/package.json | 12 - chatui/libs/components/tabs/project.json | 32 - chatui/libs/components/tabs/src/index.ts | 1 - chatui/libs/components/tabs/src/tabs.tsx | 53 - chatui/libs/components/tabs/tsconfig.json | 18 - chatui/libs/components/tabs/tsconfig.lib.json | 18 - chatui/libs/components/tabs/vite.config.ts | 43 - chatui/libs/components/textarea/.babelrc | 12 - .../libs/components/textarea/.eslintrc.json | 18 - chatui/libs/components/textarea/README.md | 7 - chatui/libs/components/textarea/package.json | 12 - chatui/libs/components/textarea/project.json | 32 - chatui/libs/components/textarea/src/index.ts | 1 - .../libs/components/textarea/src/textarea.tsx | 21 - chatui/libs/components/textarea/tsconfig.json | 18 - .../components/textarea/tsconfig.lib.json | 18 - .../libs/components/textarea/vite.config.ts | 43 - chatui/libs/components/toast/.babelrc | 12 - chatui/libs/components/toast/.eslintrc.json | 18 - chatui/libs/components/toast/README.md | 7 - chatui/libs/components/toast/package.json | 12 - chatui/libs/components/toast/project.json | 32 - chatui/libs/components/toast/src/index.ts | 3 - chatui/libs/components/toast/src/toast.tsx | 111 - chatui/libs/components/toast/src/toaster.tsx | 24 - chatui/libs/components/toast/src/use-toast.ts | 187 - chatui/libs/components/toast/tsconfig.json | 18 - .../libs/components/toast/tsconfig.lib.json | 18 - chatui/libs/components/toast/vite.config.ts | 43 - chatui/libs/components/toggle/.babelrc | 12 - chatui/libs/components/toggle/.eslintrc.json | 18 - chatui/libs/components/toggle/README.md | 7 - chatui/libs/components/toggle/package.json | 12 - chatui/libs/components/toggle/project.json | 32 - chatui/libs/components/toggle/src/index.ts | 1 - chatui/libs/components/toggle/src/toggle.tsx | 37 - chatui/libs/components/toggle/tsconfig.json | 18 - .../libs/components/toggle/tsconfig.lib.json | 18 - chatui/libs/components/toggle/vite.config.ts | 43 - chatui/libs/components/tooltip/.babelrc | 12 - chatui/libs/components/tooltip/.eslintrc.json | 18 - chatui/libs/components/tooltip/README.md | 7 - chatui/libs/components/tooltip/package.json | 12 - chatui/libs/components/tooltip/project.json | 32 - chatui/libs/components/tooltip/src/index.ts | 1 - .../libs/components/tooltip/src/tooltip.tsx | 28 - chatui/libs/components/tooltip/tsconfig.json | 18 - .../libs/components/tooltip/tsconfig.lib.json | 18 - chatui/libs/components/tooltip/vite.config.ts | 43 - chatui/libs/components/typography/.babelrc | 12 - .../libs/components/typography/.eslintrc.json | 18 - chatui/libs/components/typography/README.md | 7 - .../libs/components/typography/package.json | 12 - .../libs/components/typography/project.json | 32 - .../libs/components/typography/src/index.ts | 12 - .../typography/src/libs/blockquote.ts | 4 - .../libs/components/typography/src/libs/h1.ts | 5 - .../libs/components/typography/src/libs/h2.ts | 5 - .../libs/components/typography/src/libs/h3.ts | 4 - .../libs/components/typography/src/libs/h4.ts | 4 - .../typography/src/libs/inline-code.ts | 5 - .../components/typography/src/libs/large.ts | 4 - .../components/typography/src/libs/lead.ts | 4 - .../components/typography/src/libs/list.ts | 4 - .../components/typography/src/libs/muted.ts | 4 - .../libs/components/typography/src/libs/p.ts | 4 - .../components/typography/src/libs/small.ts | 4 - .../libs/components/typography/tsconfig.json | 18 - .../components/typography/tsconfig.lib.json | 18 - .../libs/components/typography/vite.config.ts | 43 - chatui/libs/utils/.babelrc | 12 - chatui/libs/utils/.eslintrc.json | 18 - chatui/libs/utils/README.md | 7 - chatui/libs/utils/package.json | 12 - chatui/libs/utils/project.json | 32 - chatui/libs/utils/src/index.ts | 6 - chatui/libs/utils/tsconfig.json | 18 - chatui/libs/utils/tsconfig.lib.json | 18 - chatui/libs/utils/vite.config.ts | 43 - chatui/nx.json | 59 - chatui/package-lock.json | 17049 ---------------- chatui/package.json | 109 - chatui/postcss.config.js | 15 - chatui/project.json | 72 - chatui/public/favicon.ico | Bin 28783 -> 0 bytes chatui/public/memgpt_logo_transparent.png | Bin 85383 -> 0 bytes chatui/src/app/app.tsx | 49 - chatui/src/app/auth.tsx | 17 - .../app/libs/agents/agent-memory-update.ts | 10 - chatui/src/app/libs/agents/agent-memory.ts | 12 - chatui/src/app/libs/agents/agent.store.ts | 38 - chatui/src/app/libs/agents/agent.ts | 21 - .../libs/agents/use-agent-memory.mutation.ts | 20 - .../app/libs/agents/use-agent-memory.query.ts | 18 - .../app/libs/agents/use-agents.mutation.ts | 27 - .../src/app/libs/agents/use-agents.query.ts | 21 - chatui/src/app/libs/auth/auth.store.ts | 61 - chatui/src/app/libs/auth/use-auth.mutation.ts | 23 - chatui/src/app/libs/auth/use-auth.query.ts | 9 - chatui/src/app/libs/constants.tsx | 1 - chatui/src/app/libs/humans/human.ts | 8 - .../app/libs/humans/use-humans.mutation.ts | 27 - .../src/app/libs/humans/use-humans.query.ts | 25 - .../libs/messages/message-history.store.ts | 40 - .../app/libs/messages/message-stream.store.ts | 152 - chatui/src/app/libs/messages/message.ts | 19 - .../app/libs/messages/use-messages.query.ts | 27 - chatui/src/app/libs/models/model.ts | 11 - .../src/app/libs/models/use-models.query.ts | 25 - chatui/src/app/libs/personas/persona.ts | 8 - .../libs/personas/use-personas.mutation.ts | 27 - .../app/libs/personas/use-personas.query.ts | 25 - chatui/src/app/modules/chat/chat.routes.tsx | 7 - chatui/src/app/modules/chat/chat.tsx | 74 - .../modules/chat/memory-view/memory-form.tsx | 94 - .../modules/chat/memory-view/memory-view.tsx | 30 - .../messages/message-container-connecting.tsx | 11 - .../messages/message-container-layout.tsx | 7 - .../chat/messages/message-container.tsx | 54 - .../chat/messages/message/base-message.tsx | 33 - .../chat/messages/message/error-message.tsx | 13 - .../chat/messages/message/memgpt-message.tsx | 7 - .../messages/message/pick-message-element.tsx | 40 - .../chat/messages/message/user-message.tsx | 15 - .../chat/messages/select-agent-form.tsx | 53 - .../chat/messages/thinking-indicator.tsx | 13 - chatui/src/app/modules/chat/user-input.tsx | 58 - chatui/src/app/modules/home/agent-card.tsx | 36 - .../app/modules/home/create-agent-dialog.tsx | 201 - chatui/src/app/modules/home/home.tsx | 82 - .../app/modules/public/login/login.page.tsx | 71 - .../app/modules/public/login/login.routes.tsx | 7 - .../app/modules/settings/agents/agents.tsx | 112 - chatui/src/app/modules/settings/layout.tsx | 17 - .../modules/settings/profile/profile-form.tsx | 171 - .../app/modules/settings/settings.routes.tsx | 19 - chatui/src/app/modules/settings/settings.tsx | 35 - .../src/app/modules/settings/sidebar-nav.tsx | 33 - chatui/src/app/router.tsx | 35 - chatui/src/app/shared/layout/footer.tsx | 16 - chatui/src/app/shared/layout/header.tsx | 48 - chatui/src/app/shared/theme.tsx | 50 - chatui/src/assets/.gitkeep | 0 chatui/src/main.tsx | 11 - chatui/src/styles.css | 62 - chatui/tailwind.config.js | 78 - chatui/tsconfig.app.json | 18 - chatui/tsconfig.base.json | 60 - chatui/tsconfig.json | 21 - chatui/tsconfig.spec.json | 20 - chatui/vite.config.ts | 40 - .../static_files/assets/index-0c5d3001.css | 1 + .../static_files/assets/index-57df4f6c.css | 1 - .../static_files/assets/index-bf421135.js | 190 + .../static_files/assets/index-f6a3d52a.js | 129 - memgpt/server/static_files/index.html | 4 +- 492 files changed, 193 insertions(+), 28982 deletions(-) delete mode 100644 chatui/.editorconfig delete mode 100644 chatui/.eslintignore delete mode 100644 chatui/.eslintrc.base.json delete mode 100644 chatui/.eslintrc.json delete mode 100644 chatui/.gitignore delete mode 100644 chatui/.prettierignore delete mode 100644 chatui/.prettierrc delete mode 100644 chatui/.vscode/extensions.json delete mode 100644 chatui/README.md delete mode 100644 chatui/components.json delete mode 100644 chatui/index.html delete mode 100644 chatui/jest.config.ts delete mode 100644 chatui/jest.preset.js delete mode 100644 chatui/libs/components/accordion/.babelrc delete mode 100644 chatui/libs/components/accordion/.eslintrc.json delete mode 100644 chatui/libs/components/accordion/README.md delete mode 100644 chatui/libs/components/accordion/package.json delete mode 100644 chatui/libs/components/accordion/project.json delete mode 100644 chatui/libs/components/accordion/src/accordion.tsx delete mode 100644 chatui/libs/components/accordion/src/index.ts delete mode 100644 chatui/libs/components/accordion/tsconfig.json delete mode 100644 chatui/libs/components/accordion/tsconfig.lib.json delete mode 100644 chatui/libs/components/accordion/vite.config.ts delete mode 100644 chatui/libs/components/alert-dialog/.babelrc delete mode 100644 chatui/libs/components/alert-dialog/.eslintrc.json delete mode 100644 chatui/libs/components/alert-dialog/README.md delete mode 100644 chatui/libs/components/alert-dialog/package.json delete mode 100644 chatui/libs/components/alert-dialog/project.json delete mode 100644 chatui/libs/components/alert-dialog/src/alert-dialog.tsx delete mode 100644 chatui/libs/components/alert-dialog/src/index.ts delete mode 100644 chatui/libs/components/alert-dialog/tsconfig.json delete mode 100644 chatui/libs/components/alert-dialog/tsconfig.lib.json delete mode 100644 chatui/libs/components/alert-dialog/vite.config.ts delete mode 100644 chatui/libs/components/alert/.babelrc delete mode 100644 chatui/libs/components/alert/.eslintrc.json delete mode 100644 chatui/libs/components/alert/README.md delete mode 100644 chatui/libs/components/alert/package.json delete mode 100644 chatui/libs/components/alert/project.json delete mode 100644 chatui/libs/components/alert/src/alert.tsx delete mode 100644 chatui/libs/components/alert/src/index.ts delete mode 100644 chatui/libs/components/alert/tsconfig.json delete mode 100644 chatui/libs/components/alert/tsconfig.lib.json delete mode 100644 chatui/libs/components/alert/vite.config.ts delete mode 100644 chatui/libs/components/aspect-ratio/.babelrc delete mode 100644 chatui/libs/components/aspect-ratio/.eslintrc.json delete mode 100644 chatui/libs/components/aspect-ratio/README.md delete mode 100644 chatui/libs/components/aspect-ratio/package.json delete mode 100644 chatui/libs/components/aspect-ratio/project.json delete mode 100644 chatui/libs/components/aspect-ratio/src/aspect-ratio.tsx delete mode 100644 chatui/libs/components/aspect-ratio/src/index.ts delete mode 100644 chatui/libs/components/aspect-ratio/tsconfig.json delete mode 100644 chatui/libs/components/aspect-ratio/tsconfig.lib.json delete mode 100644 chatui/libs/components/aspect-ratio/vite.config.ts delete mode 100644 chatui/libs/components/avatar/.babelrc delete mode 100644 chatui/libs/components/avatar/.eslintrc.json delete mode 100644 chatui/libs/components/avatar/README.md delete mode 100644 chatui/libs/components/avatar/package.json delete mode 100644 chatui/libs/components/avatar/project.json delete mode 100644 chatui/libs/components/avatar/src/avatar.tsx delete mode 100644 chatui/libs/components/avatar/src/index.ts delete mode 100644 chatui/libs/components/avatar/tsconfig.json delete mode 100644 chatui/libs/components/avatar/tsconfig.lib.json delete mode 100644 chatui/libs/components/avatar/vite.config.ts delete mode 100644 chatui/libs/components/badge/.babelrc delete mode 100644 chatui/libs/components/badge/.eslintrc.json delete mode 100644 chatui/libs/components/badge/README.md delete mode 100644 chatui/libs/components/badge/package.json delete mode 100644 chatui/libs/components/badge/project.json delete mode 100644 chatui/libs/components/badge/src/badge.tsx delete mode 100644 chatui/libs/components/badge/src/index.ts delete mode 100644 chatui/libs/components/badge/tsconfig.json delete mode 100644 chatui/libs/components/badge/tsconfig.lib.json delete mode 100644 chatui/libs/components/badge/vite.config.ts delete mode 100644 chatui/libs/components/button/.babelrc delete mode 100644 chatui/libs/components/button/.eslintrc.json delete mode 100644 chatui/libs/components/button/README.md delete mode 100644 chatui/libs/components/button/package.json delete mode 100644 chatui/libs/components/button/project.json delete mode 100644 chatui/libs/components/button/src/button.tsx delete mode 100644 chatui/libs/components/button/src/index.ts delete mode 100644 chatui/libs/components/button/tsconfig.json delete mode 100644 chatui/libs/components/button/tsconfig.lib.json delete mode 100644 chatui/libs/components/button/vite.config.ts delete mode 100644 chatui/libs/components/calendar/.babelrc delete mode 100644 chatui/libs/components/calendar/.eslintrc.json delete mode 100644 chatui/libs/components/calendar/README.md delete mode 100644 chatui/libs/components/calendar/package.json delete mode 100644 chatui/libs/components/calendar/project.json delete mode 100644 chatui/libs/components/calendar/src/calendar.tsx delete mode 100644 chatui/libs/components/calendar/src/index.ts delete mode 100644 chatui/libs/components/calendar/tsconfig.json delete mode 100644 chatui/libs/components/calendar/tsconfig.lib.json delete mode 100644 chatui/libs/components/calendar/vite.config.ts delete mode 100644 chatui/libs/components/card/.babelrc delete mode 100644 chatui/libs/components/card/.eslintrc.json delete mode 100644 chatui/libs/components/card/README.md delete mode 100644 chatui/libs/components/card/package.json delete mode 100644 chatui/libs/components/card/project.json delete mode 100644 chatui/libs/components/card/src/card.tsx delete mode 100644 chatui/libs/components/card/src/index.ts delete mode 100644 chatui/libs/components/card/tsconfig.json delete mode 100644 chatui/libs/components/card/tsconfig.lib.json delete mode 100644 chatui/libs/components/card/vite.config.ts delete mode 100644 chatui/libs/components/checkbox/.babelrc delete mode 100644 chatui/libs/components/checkbox/.eslintrc.json delete mode 100644 chatui/libs/components/checkbox/README.md delete mode 100644 chatui/libs/components/checkbox/package.json delete mode 100644 chatui/libs/components/checkbox/project.json delete mode 100644 chatui/libs/components/checkbox/src/checkbox.tsx delete mode 100644 chatui/libs/components/checkbox/src/index.ts delete mode 100644 chatui/libs/components/checkbox/tsconfig.json delete mode 100644 chatui/libs/components/checkbox/tsconfig.lib.json delete mode 100644 chatui/libs/components/checkbox/vite.config.ts delete mode 100644 chatui/libs/components/collapsible/.babelrc delete mode 100644 chatui/libs/components/collapsible/.eslintrc.json delete mode 100644 chatui/libs/components/collapsible/README.md delete mode 100644 chatui/libs/components/collapsible/package.json delete mode 100644 chatui/libs/components/collapsible/project.json delete mode 100644 chatui/libs/components/collapsible/src/collapsible.tsx delete mode 100644 chatui/libs/components/collapsible/src/index.ts delete mode 100644 chatui/libs/components/collapsible/tsconfig.json delete mode 100644 chatui/libs/components/collapsible/tsconfig.lib.json delete mode 100644 chatui/libs/components/collapsible/vite.config.ts delete mode 100644 chatui/libs/components/command/.babelrc delete mode 100644 chatui/libs/components/command/.eslintrc.json delete mode 100644 chatui/libs/components/command/README.md delete mode 100644 chatui/libs/components/command/package.json delete mode 100644 chatui/libs/components/command/project.json delete mode 100644 chatui/libs/components/command/src/command.tsx delete mode 100644 chatui/libs/components/command/src/index.ts delete mode 100644 chatui/libs/components/command/tsconfig.json delete mode 100644 chatui/libs/components/command/tsconfig.lib.json delete mode 100644 chatui/libs/components/command/vite.config.ts delete mode 100644 chatui/libs/components/context-menu/.babelrc delete mode 100644 chatui/libs/components/context-menu/.eslintrc.json delete mode 100644 chatui/libs/components/context-menu/README.md delete mode 100644 chatui/libs/components/context-menu/package.json delete mode 100644 chatui/libs/components/context-menu/project.json delete mode 100644 chatui/libs/components/context-menu/src/context-menu.tsx delete mode 100644 chatui/libs/components/context-menu/src/index.ts delete mode 100644 chatui/libs/components/context-menu/tsconfig.json delete mode 100644 chatui/libs/components/context-menu/tsconfig.lib.json delete mode 100644 chatui/libs/components/context-menu/vite.config.ts delete mode 100644 chatui/libs/components/dialog/.babelrc delete mode 100644 chatui/libs/components/dialog/.eslintrc.json delete mode 100644 chatui/libs/components/dialog/README.md delete mode 100644 chatui/libs/components/dialog/package.json delete mode 100644 chatui/libs/components/dialog/project.json delete mode 100644 chatui/libs/components/dialog/src/dialog.tsx delete mode 100644 chatui/libs/components/dialog/src/index.ts delete mode 100644 chatui/libs/components/dialog/tsconfig.json delete mode 100644 chatui/libs/components/dialog/tsconfig.lib.json delete mode 100644 chatui/libs/components/dialog/vite.config.ts delete mode 100644 chatui/libs/components/dropdown-menu/.babelrc delete mode 100644 chatui/libs/components/dropdown-menu/.eslintrc.json delete mode 100644 chatui/libs/components/dropdown-menu/README.md delete mode 100644 chatui/libs/components/dropdown-menu/package.json delete mode 100644 chatui/libs/components/dropdown-menu/project.json delete mode 100644 chatui/libs/components/dropdown-menu/src/dropdown-menu.tsx delete mode 100644 chatui/libs/components/dropdown-menu/src/index.ts delete mode 100644 chatui/libs/components/dropdown-menu/tsconfig.json delete mode 100644 chatui/libs/components/dropdown-menu/tsconfig.lib.json delete mode 100644 chatui/libs/components/dropdown-menu/vite.config.ts delete mode 100644 chatui/libs/components/form/.babelrc delete mode 100644 chatui/libs/components/form/.eslintrc.json delete mode 100644 chatui/libs/components/form/README.md delete mode 100644 chatui/libs/components/form/package.json delete mode 100644 chatui/libs/components/form/project.json delete mode 100644 chatui/libs/components/form/src/form.tsx delete mode 100644 chatui/libs/components/form/src/index.ts delete mode 100644 chatui/libs/components/form/tsconfig.json delete mode 100644 chatui/libs/components/form/tsconfig.lib.json delete mode 100644 chatui/libs/components/form/vite.config.ts delete mode 100644 chatui/libs/components/hover-card/.babelrc delete mode 100644 chatui/libs/components/hover-card/.eslintrc.json delete mode 100644 chatui/libs/components/hover-card/README.md delete mode 100644 chatui/libs/components/hover-card/package.json delete mode 100644 chatui/libs/components/hover-card/project.json delete mode 100644 chatui/libs/components/hover-card/src/hover-card.tsx delete mode 100644 chatui/libs/components/hover-card/src/index.ts delete mode 100644 chatui/libs/components/hover-card/tsconfig.json delete mode 100644 chatui/libs/components/hover-card/tsconfig.lib.json delete mode 100644 chatui/libs/components/hover-card/vite.config.ts delete mode 100644 chatui/libs/components/input/.babelrc delete mode 100644 chatui/libs/components/input/.eslintrc.json delete mode 100644 chatui/libs/components/input/README.md delete mode 100644 chatui/libs/components/input/package.json delete mode 100644 chatui/libs/components/input/project.json delete mode 100644 chatui/libs/components/input/src/index.ts delete mode 100644 chatui/libs/components/input/src/input.tsx delete mode 100644 chatui/libs/components/input/tsconfig.json delete mode 100644 chatui/libs/components/input/tsconfig.lib.json delete mode 100644 chatui/libs/components/input/vite.config.ts delete mode 100644 chatui/libs/components/label/.babelrc delete mode 100644 chatui/libs/components/label/.eslintrc.json delete mode 100644 chatui/libs/components/label/README.md delete mode 100644 chatui/libs/components/label/package.json delete mode 100644 chatui/libs/components/label/project.json delete mode 100644 chatui/libs/components/label/src/index.ts delete mode 100644 chatui/libs/components/label/src/label.tsx delete mode 100644 chatui/libs/components/label/tsconfig.json delete mode 100644 chatui/libs/components/label/tsconfig.lib.json delete mode 100644 chatui/libs/components/label/vite.config.ts delete mode 100644 chatui/libs/components/menubar/.babelrc delete mode 100644 chatui/libs/components/menubar/.eslintrc.json delete mode 100644 chatui/libs/components/menubar/README.md delete mode 100644 chatui/libs/components/menubar/package.json delete mode 100644 chatui/libs/components/menubar/project.json delete mode 100644 chatui/libs/components/menubar/src/index.ts delete mode 100644 chatui/libs/components/menubar/src/menubar.tsx delete mode 100644 chatui/libs/components/menubar/tsconfig.json delete mode 100644 chatui/libs/components/menubar/tsconfig.lib.json delete mode 100644 chatui/libs/components/menubar/vite.config.ts delete mode 100644 chatui/libs/components/navigation-menu/.babelrc delete mode 100644 chatui/libs/components/navigation-menu/.eslintrc.json delete mode 100644 chatui/libs/components/navigation-menu/README.md delete mode 100644 chatui/libs/components/navigation-menu/package.json delete mode 100644 chatui/libs/components/navigation-menu/project.json delete mode 100644 chatui/libs/components/navigation-menu/src/index.ts delete mode 100644 chatui/libs/components/navigation-menu/src/navigation-menu.tsx delete mode 100644 chatui/libs/components/navigation-menu/tsconfig.json delete mode 100644 chatui/libs/components/navigation-menu/tsconfig.lib.json delete mode 100644 chatui/libs/components/navigation-menu/vite.config.ts delete mode 100644 chatui/libs/components/popover/.babelrc delete mode 100644 chatui/libs/components/popover/.eslintrc.json delete mode 100644 chatui/libs/components/popover/README.md delete mode 100644 chatui/libs/components/popover/package.json delete mode 100644 chatui/libs/components/popover/project.json delete mode 100644 chatui/libs/components/popover/src/index.ts delete mode 100644 chatui/libs/components/popover/src/popover.tsx delete mode 100644 chatui/libs/components/popover/tsconfig.json delete mode 100644 chatui/libs/components/popover/tsconfig.lib.json delete mode 100644 chatui/libs/components/popover/vite.config.ts delete mode 100644 chatui/libs/components/progress/.babelrc delete mode 100644 chatui/libs/components/progress/.eslintrc.json delete mode 100644 chatui/libs/components/progress/README.md delete mode 100644 chatui/libs/components/progress/package.json delete mode 100644 chatui/libs/components/progress/project.json delete mode 100644 chatui/libs/components/progress/src/index.ts delete mode 100644 chatui/libs/components/progress/src/progress.tsx delete mode 100644 chatui/libs/components/progress/tsconfig.json delete mode 100644 chatui/libs/components/progress/tsconfig.lib.json delete mode 100644 chatui/libs/components/progress/vite.config.ts delete mode 100644 chatui/libs/components/radio-group/.babelrc delete mode 100644 chatui/libs/components/radio-group/.eslintrc.json delete mode 100644 chatui/libs/components/radio-group/README.md delete mode 100644 chatui/libs/components/radio-group/package.json delete mode 100644 chatui/libs/components/radio-group/project.json delete mode 100644 chatui/libs/components/radio-group/src/index.ts delete mode 100644 chatui/libs/components/radio-group/src/radio-group.tsx delete mode 100644 chatui/libs/components/radio-group/tsconfig.json delete mode 100644 chatui/libs/components/radio-group/tsconfig.lib.json delete mode 100644 chatui/libs/components/radio-group/vite.config.ts delete mode 100644 chatui/libs/components/scroll-area/.babelrc delete mode 100644 chatui/libs/components/scroll-area/.eslintrc.json delete mode 100644 chatui/libs/components/scroll-area/README.md delete mode 100644 chatui/libs/components/scroll-area/package.json delete mode 100644 chatui/libs/components/scroll-area/project.json delete mode 100644 chatui/libs/components/scroll-area/src/index.ts delete mode 100644 chatui/libs/components/scroll-area/src/scroll-area.tsx delete mode 100644 chatui/libs/components/scroll-area/tsconfig.json delete mode 100644 chatui/libs/components/scroll-area/tsconfig.lib.json delete mode 100644 chatui/libs/components/scroll-area/vite.config.ts delete mode 100644 chatui/libs/components/select/.babelrc delete mode 100644 chatui/libs/components/select/.eslintrc.json delete mode 100644 chatui/libs/components/select/README.md delete mode 100644 chatui/libs/components/select/package.json delete mode 100644 chatui/libs/components/select/project.json delete mode 100644 chatui/libs/components/select/src/index.ts delete mode 100644 chatui/libs/components/select/src/select.tsx delete mode 100644 chatui/libs/components/select/tsconfig.json delete mode 100644 chatui/libs/components/select/tsconfig.lib.json delete mode 100644 chatui/libs/components/select/vite.config.ts delete mode 100644 chatui/libs/components/separator/.babelrc delete mode 100644 chatui/libs/components/separator/.eslintrc.json delete mode 100644 chatui/libs/components/separator/README.md delete mode 100644 chatui/libs/components/separator/package.json delete mode 100644 chatui/libs/components/separator/project.json delete mode 100644 chatui/libs/components/separator/src/index.ts delete mode 100644 chatui/libs/components/separator/src/separator.tsx delete mode 100644 chatui/libs/components/separator/tsconfig.json delete mode 100644 chatui/libs/components/separator/tsconfig.lib.json delete mode 100644 chatui/libs/components/separator/vite.config.ts delete mode 100644 chatui/libs/components/sheet/.babelrc delete mode 100644 chatui/libs/components/sheet/.eslintrc.json delete mode 100644 chatui/libs/components/sheet/README.md delete mode 100644 chatui/libs/components/sheet/package.json delete mode 100644 chatui/libs/components/sheet/project.json delete mode 100644 chatui/libs/components/sheet/src/index.ts delete mode 100644 chatui/libs/components/sheet/src/sheet.tsx delete mode 100644 chatui/libs/components/sheet/tsconfig.json delete mode 100644 chatui/libs/components/sheet/tsconfig.lib.json delete mode 100644 chatui/libs/components/sheet/vite.config.ts delete mode 100644 chatui/libs/components/skeleton/.babelrc delete mode 100644 chatui/libs/components/skeleton/.eslintrc.json delete mode 100644 chatui/libs/components/skeleton/README.md delete mode 100644 chatui/libs/components/skeleton/package.json delete mode 100644 chatui/libs/components/skeleton/project.json delete mode 100644 chatui/libs/components/skeleton/src/index.ts delete mode 100644 chatui/libs/components/skeleton/src/skeleton.tsx delete mode 100644 chatui/libs/components/skeleton/tsconfig.json delete mode 100644 chatui/libs/components/skeleton/tsconfig.lib.json delete mode 100644 chatui/libs/components/skeleton/vite.config.ts delete mode 100644 chatui/libs/components/slider/.babelrc delete mode 100644 chatui/libs/components/slider/.eslintrc.json delete mode 100644 chatui/libs/components/slider/README.md delete mode 100644 chatui/libs/components/slider/package.json delete mode 100644 chatui/libs/components/slider/project.json delete mode 100644 chatui/libs/components/slider/src/index.ts delete mode 100644 chatui/libs/components/slider/src/slider.tsx delete mode 100644 chatui/libs/components/slider/tsconfig.json delete mode 100644 chatui/libs/components/slider/tsconfig.lib.json delete mode 100644 chatui/libs/components/slider/vite.config.ts delete mode 100644 chatui/libs/components/switch/.babelrc delete mode 100644 chatui/libs/components/switch/.eslintrc.json delete mode 100644 chatui/libs/components/switch/README.md delete mode 100644 chatui/libs/components/switch/package.json delete mode 100644 chatui/libs/components/switch/project.json delete mode 100644 chatui/libs/components/switch/src/index.ts delete mode 100644 chatui/libs/components/switch/src/switch.tsx delete mode 100644 chatui/libs/components/switch/tsconfig.json delete mode 100644 chatui/libs/components/switch/tsconfig.lib.json delete mode 100644 chatui/libs/components/switch/vite.config.ts delete mode 100644 chatui/libs/components/table/.babelrc delete mode 100644 chatui/libs/components/table/.eslintrc.json delete mode 100644 chatui/libs/components/table/README.md delete mode 100644 chatui/libs/components/table/package.json delete mode 100644 chatui/libs/components/table/project.json delete mode 100644 chatui/libs/components/table/src/index.ts delete mode 100644 chatui/libs/components/table/src/table.tsx delete mode 100644 chatui/libs/components/table/tsconfig.json delete mode 100644 chatui/libs/components/table/tsconfig.lib.json delete mode 100644 chatui/libs/components/table/vite.config.ts delete mode 100644 chatui/libs/components/tabs/.babelrc delete mode 100644 chatui/libs/components/tabs/.eslintrc.json delete mode 100644 chatui/libs/components/tabs/README.md delete mode 100644 chatui/libs/components/tabs/package.json delete mode 100644 chatui/libs/components/tabs/project.json delete mode 100644 chatui/libs/components/tabs/src/index.ts delete mode 100644 chatui/libs/components/tabs/src/tabs.tsx delete mode 100644 chatui/libs/components/tabs/tsconfig.json delete mode 100644 chatui/libs/components/tabs/tsconfig.lib.json delete mode 100644 chatui/libs/components/tabs/vite.config.ts delete mode 100644 chatui/libs/components/textarea/.babelrc delete mode 100644 chatui/libs/components/textarea/.eslintrc.json delete mode 100644 chatui/libs/components/textarea/README.md delete mode 100644 chatui/libs/components/textarea/package.json delete mode 100644 chatui/libs/components/textarea/project.json delete mode 100644 chatui/libs/components/textarea/src/index.ts delete mode 100644 chatui/libs/components/textarea/src/textarea.tsx delete mode 100644 chatui/libs/components/textarea/tsconfig.json delete mode 100644 chatui/libs/components/textarea/tsconfig.lib.json delete mode 100644 chatui/libs/components/textarea/vite.config.ts delete mode 100644 chatui/libs/components/toast/.babelrc delete mode 100644 chatui/libs/components/toast/.eslintrc.json delete mode 100644 chatui/libs/components/toast/README.md delete mode 100644 chatui/libs/components/toast/package.json delete mode 100644 chatui/libs/components/toast/project.json delete mode 100644 chatui/libs/components/toast/src/index.ts delete mode 100644 chatui/libs/components/toast/src/toast.tsx delete mode 100644 chatui/libs/components/toast/src/toaster.tsx delete mode 100644 chatui/libs/components/toast/src/use-toast.ts delete mode 100644 chatui/libs/components/toast/tsconfig.json delete mode 100644 chatui/libs/components/toast/tsconfig.lib.json delete mode 100644 chatui/libs/components/toast/vite.config.ts delete mode 100644 chatui/libs/components/toggle/.babelrc delete mode 100644 chatui/libs/components/toggle/.eslintrc.json delete mode 100644 chatui/libs/components/toggle/README.md delete mode 100644 chatui/libs/components/toggle/package.json delete mode 100644 chatui/libs/components/toggle/project.json delete mode 100644 chatui/libs/components/toggle/src/index.ts delete mode 100644 chatui/libs/components/toggle/src/toggle.tsx delete mode 100644 chatui/libs/components/toggle/tsconfig.json delete mode 100644 chatui/libs/components/toggle/tsconfig.lib.json delete mode 100644 chatui/libs/components/toggle/vite.config.ts delete mode 100644 chatui/libs/components/tooltip/.babelrc delete mode 100644 chatui/libs/components/tooltip/.eslintrc.json delete mode 100644 chatui/libs/components/tooltip/README.md delete mode 100644 chatui/libs/components/tooltip/package.json delete mode 100644 chatui/libs/components/tooltip/project.json delete mode 100644 chatui/libs/components/tooltip/src/index.ts delete mode 100644 chatui/libs/components/tooltip/src/tooltip.tsx delete mode 100644 chatui/libs/components/tooltip/tsconfig.json delete mode 100644 chatui/libs/components/tooltip/tsconfig.lib.json delete mode 100644 chatui/libs/components/tooltip/vite.config.ts delete mode 100644 chatui/libs/components/typography/.babelrc delete mode 100644 chatui/libs/components/typography/.eslintrc.json delete mode 100644 chatui/libs/components/typography/README.md delete mode 100644 chatui/libs/components/typography/package.json delete mode 100644 chatui/libs/components/typography/project.json delete mode 100644 chatui/libs/components/typography/src/index.ts delete mode 100644 chatui/libs/components/typography/src/libs/blockquote.ts delete mode 100644 chatui/libs/components/typography/src/libs/h1.ts delete mode 100644 chatui/libs/components/typography/src/libs/h2.ts delete mode 100644 chatui/libs/components/typography/src/libs/h3.ts delete mode 100644 chatui/libs/components/typography/src/libs/h4.ts delete mode 100644 chatui/libs/components/typography/src/libs/inline-code.ts delete mode 100644 chatui/libs/components/typography/src/libs/large.ts delete mode 100644 chatui/libs/components/typography/src/libs/lead.ts delete mode 100644 chatui/libs/components/typography/src/libs/list.ts delete mode 100644 chatui/libs/components/typography/src/libs/muted.ts delete mode 100644 chatui/libs/components/typography/src/libs/p.ts delete mode 100644 chatui/libs/components/typography/src/libs/small.ts delete mode 100644 chatui/libs/components/typography/tsconfig.json delete mode 100644 chatui/libs/components/typography/tsconfig.lib.json delete mode 100644 chatui/libs/components/typography/vite.config.ts delete mode 100644 chatui/libs/utils/.babelrc delete mode 100644 chatui/libs/utils/.eslintrc.json delete mode 100644 chatui/libs/utils/README.md delete mode 100644 chatui/libs/utils/package.json delete mode 100644 chatui/libs/utils/project.json delete mode 100644 chatui/libs/utils/src/index.ts delete mode 100644 chatui/libs/utils/tsconfig.json delete mode 100644 chatui/libs/utils/tsconfig.lib.json delete mode 100644 chatui/libs/utils/vite.config.ts delete mode 100644 chatui/nx.json delete mode 100644 chatui/package-lock.json delete mode 100644 chatui/package.json delete mode 100644 chatui/postcss.config.js delete mode 100644 chatui/project.json delete mode 100644 chatui/public/favicon.ico delete mode 100644 chatui/public/memgpt_logo_transparent.png delete mode 100644 chatui/src/app/app.tsx delete mode 100644 chatui/src/app/auth.tsx delete mode 100644 chatui/src/app/libs/agents/agent-memory-update.ts delete mode 100644 chatui/src/app/libs/agents/agent-memory.ts delete mode 100644 chatui/src/app/libs/agents/agent.store.ts delete mode 100644 chatui/src/app/libs/agents/agent.ts delete mode 100644 chatui/src/app/libs/agents/use-agent-memory.mutation.ts delete mode 100644 chatui/src/app/libs/agents/use-agent-memory.query.ts delete mode 100644 chatui/src/app/libs/agents/use-agents.mutation.ts delete mode 100644 chatui/src/app/libs/agents/use-agents.query.ts delete mode 100644 chatui/src/app/libs/auth/auth.store.ts delete mode 100644 chatui/src/app/libs/auth/use-auth.mutation.ts delete mode 100644 chatui/src/app/libs/auth/use-auth.query.ts delete mode 100644 chatui/src/app/libs/constants.tsx delete mode 100644 chatui/src/app/libs/humans/human.ts delete mode 100644 chatui/src/app/libs/humans/use-humans.mutation.ts delete mode 100644 chatui/src/app/libs/humans/use-humans.query.ts delete mode 100644 chatui/src/app/libs/messages/message-history.store.ts delete mode 100644 chatui/src/app/libs/messages/message-stream.store.ts delete mode 100644 chatui/src/app/libs/messages/message.ts delete mode 100644 chatui/src/app/libs/messages/use-messages.query.ts delete mode 100644 chatui/src/app/libs/models/model.ts delete mode 100644 chatui/src/app/libs/models/use-models.query.ts delete mode 100644 chatui/src/app/libs/personas/persona.ts delete mode 100644 chatui/src/app/libs/personas/use-personas.mutation.ts delete mode 100644 chatui/src/app/libs/personas/use-personas.query.ts delete mode 100644 chatui/src/app/modules/chat/chat.routes.tsx delete mode 100644 chatui/src/app/modules/chat/chat.tsx delete mode 100644 chatui/src/app/modules/chat/memory-view/memory-form.tsx delete mode 100644 chatui/src/app/modules/chat/memory-view/memory-view.tsx delete mode 100644 chatui/src/app/modules/chat/messages/message-container-connecting.tsx delete mode 100644 chatui/src/app/modules/chat/messages/message-container-layout.tsx delete mode 100644 chatui/src/app/modules/chat/messages/message-container.tsx delete mode 100644 chatui/src/app/modules/chat/messages/message/base-message.tsx delete mode 100644 chatui/src/app/modules/chat/messages/message/error-message.tsx delete mode 100644 chatui/src/app/modules/chat/messages/message/memgpt-message.tsx delete mode 100644 chatui/src/app/modules/chat/messages/message/pick-message-element.tsx delete mode 100644 chatui/src/app/modules/chat/messages/message/user-message.tsx delete mode 100644 chatui/src/app/modules/chat/messages/select-agent-form.tsx delete mode 100644 chatui/src/app/modules/chat/messages/thinking-indicator.tsx delete mode 100644 chatui/src/app/modules/chat/user-input.tsx delete mode 100644 chatui/src/app/modules/home/agent-card.tsx delete mode 100644 chatui/src/app/modules/home/create-agent-dialog.tsx delete mode 100644 chatui/src/app/modules/home/home.tsx delete mode 100644 chatui/src/app/modules/public/login/login.page.tsx delete mode 100644 chatui/src/app/modules/public/login/login.routes.tsx delete mode 100644 chatui/src/app/modules/settings/agents/agents.tsx delete mode 100644 chatui/src/app/modules/settings/layout.tsx delete mode 100644 chatui/src/app/modules/settings/profile/profile-form.tsx delete mode 100644 chatui/src/app/modules/settings/settings.routes.tsx delete mode 100644 chatui/src/app/modules/settings/settings.tsx delete mode 100644 chatui/src/app/modules/settings/sidebar-nav.tsx delete mode 100644 chatui/src/app/router.tsx delete mode 100644 chatui/src/app/shared/layout/footer.tsx delete mode 100644 chatui/src/app/shared/layout/header.tsx delete mode 100644 chatui/src/app/shared/theme.tsx delete mode 100644 chatui/src/assets/.gitkeep delete mode 100644 chatui/src/main.tsx delete mode 100644 chatui/src/styles.css delete mode 100644 chatui/tailwind.config.js delete mode 100644 chatui/tsconfig.app.json delete mode 100644 chatui/tsconfig.base.json delete mode 100644 chatui/tsconfig.json delete mode 100644 chatui/tsconfig.spec.json delete mode 100644 chatui/vite.config.ts create mode 100644 memgpt/server/static_files/assets/index-0c5d3001.css delete mode 100644 memgpt/server/static_files/assets/index-57df4f6c.css create mode 100644 memgpt/server/static_files/assets/index-bf421135.js delete mode 100644 memgpt/server/static_files/assets/index-f6a3d52a.js diff --git a/chatui/.editorconfig b/chatui/.editorconfig deleted file mode 100644 index 9fe31360..00000000 --- a/chatui/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -# Editor configuration, see http://editorconfig.org -root = true - -[*] -charset = utf-8 -indent_style = tab -indent_size = 2 -insert_final_newline = true -trim_trailing_whitespace = true - -[*.md] -max_line_length = off -trim_trailing_whitespace = false \ No newline at end of file diff --git a/chatui/.eslintignore b/chatui/.eslintignore deleted file mode 100644 index 3c3629e6..00000000 --- a/chatui/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/chatui/.eslintrc.base.json b/chatui/.eslintrc.base.json deleted file mode 100644 index 8b0d0ea8..00000000 --- a/chatui/.eslintrc.base.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "root": true, - "ignorePatterns": ["**/*"], - "plugins": ["@nx"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": { - "@nx/enforce-module-boundaries": [ - "error", - { - "enforceBuildableLibDependency": true, - "allow": [], - "depConstraints": [ - { - "sourceTag": "*", - "onlyDependOnLibsWithTags": ["*"] - } - ] - } - ] - } - }, - { - "files": ["*.ts", "*.tsx"], - "extends": ["plugin:@nx/typescript"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "extends": ["plugin:@nx/javascript"], - "rules": {} - }, - { - "files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"], - "env": { - "jest": true - }, - "rules": {} - } - ] -} diff --git a/chatui/.eslintrc.json b/chatui/.eslintrc.json deleted file mode 100644 index ca8e6198..00000000 --- a/chatui/.eslintrc.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ], - "extends": ["plugin:@nx/react", "./.eslintrc.base.json"] -} diff --git a/chatui/.gitignore b/chatui/.gitignore deleted file mode 100644 index ef9dcfb1..00000000 --- a/chatui/.gitignore +++ /dev/null @@ -1,41 +0,0 @@ -# See http://help.github.com/ignore-files/ for more about ignoring files. - -# compiled output -dist -tmp -/out-tsc - -# dependencies -node_modules - -# IDEs and editors -/.idea -.project -.classpath -.c9/ -*.launch -.settings/ -*.sublime-workspace - -# IDE - VSCode -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json - -# misc -/.sass-cache -/connect.lock -/coverage -/libpeerconnection.log -npm-debug.log -yarn-error.log -testem.log -/typings - -# System Files -.DS_Store -Thumbs.db - -.nx/cache diff --git a/chatui/.prettierignore b/chatui/.prettierignore deleted file mode 100644 index baa2bec6..00000000 --- a/chatui/.prettierignore +++ /dev/null @@ -1,4 +0,0 @@ -# Add files here to ignore them from prettier formatting -/dist -/coverage -/.nx/cache diff --git a/chatui/.prettierrc b/chatui/.prettierrc deleted file mode 100644 index 30d5a68c..00000000 --- a/chatui/.prettierrc +++ /dev/null @@ -1,14 +0,0 @@ -{ - "printWidth": 120, - "useTabs": true, - "tabWidth": 2, - "trailingComma": "es5", - "semi": true, - "singleQuote": true, - "bracketSpacing": true, - "arrowParens": "always", - "jsxSingleQuote": false, - "bracketSameLine": false, - "endOfLine": "lf", - "plugins": ["prettier-plugin-organize-imports", "prettier-plugin-tailwindcss"] -} diff --git a/chatui/.vscode/extensions.json b/chatui/.vscode/extensions.json deleted file mode 100644 index a08a4d8d..00000000 --- a/chatui/.vscode/extensions.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "recommendations": [ - "nrwl.angular-console", - "esbenp.prettier-vscode", - "dbaeumer.vscode-eslint", - "firsttris.vscode-jest-runner" - ] -} diff --git a/chatui/README.md b/chatui/README.md deleted file mode 100644 index 3eefccf6..00000000 --- a/chatui/README.md +++ /dev/null @@ -1,27 +0,0 @@ -# MemGPT Chat UI (alpha build) - -Running the Chat UI requires starting both the MemGPT API server, and the MemGPT Chat UI web application. - -## Start the MemGPT API server - -Before attempting to run the MemGPT API server, make sure you have `memgpt` installed and have been able to run basic `memgpt` commands (e.g. `memgpt run`). See installation instructions here: https://memgpt.readme.io/docs/quickstart. - -Once you have MemGPT installed and running correctly, you can start the server with: - -```sh -memgpt server -``` - -## Start the MemGPT Chat UI web application - -Once the API server is running, you can launch the Chat UI web app (which will connect to the MemGPT API server). - -If you don't already have Node.js installed, follow the installation instructions here: https://nodejs.org/en. - -Then, in your terminal navigate to the `chatui` directory in the MemGPT project, and run: - -```sh -npx nx serve -``` - -Then you should be able to navigate to http://localhost:4200 and access the MemGPT Chat UI. diff --git a/chatui/components.json b/chatui/components.json deleted file mode 100644 index d0693b45..00000000 --- a/chatui/components.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$schema": "https://ui.shadcn.com/schema.json", - "style": "default", - "rsc": false, - "tsx": true, - "tailwind": { - "config": "tailwind.config.js", - "css": "src/styles.css", - "baseColor": "zinc", - "cssVariables": true - }, - "aliases": { - "components": "@memgpt/components", - "utils": "@memgpt/utils" - } -} diff --git a/chatui/index.html b/chatui/index.html deleted file mode 100644 index 30313ee5..00000000 --- a/chatui/index.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - MemGPT - - - - - - - - -
- - - diff --git a/chatui/jest.config.ts b/chatui/jest.config.ts deleted file mode 100644 index 54de98bb..00000000 --- a/chatui/jest.config.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { getJestProjects } from '@nx/jest'; - -export default { - projects: getJestProjects(), -}; diff --git a/chatui/jest.preset.js b/chatui/jest.preset.js deleted file mode 100644 index f078ddce..00000000 --- a/chatui/jest.preset.js +++ /dev/null @@ -1,3 +0,0 @@ -const nxPreset = require('@nx/jest/preset').default; - -module.exports = { ...nxPreset }; diff --git a/chatui/libs/components/accordion/.babelrc b/chatui/libs/components/accordion/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/accordion/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/accordion/.eslintrc.json b/chatui/libs/components/accordion/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/accordion/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/accordion/README.md b/chatui/libs/components/accordion/README.md deleted file mode 100644 index d3ea2850..00000000 --- a/chatui/libs/components/accordion/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-accordion - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-accordion` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/accordion/package.json b/chatui/libs/components/accordion/package.json deleted file mode 100644 index a003e497..00000000 --- a/chatui/libs/components/accordion/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/accordion", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/accordion/project.json b/chatui/libs/components/accordion/project.json deleted file mode 100644 index 0e197188..00000000 --- a/chatui/libs/components/accordion/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-accordion", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/accordion/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/accordion/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/accordion" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/accordion/src/accordion.tsx b/chatui/libs/components/accordion/src/accordion.tsx deleted file mode 100644 index 9c8d792d..00000000 --- a/chatui/libs/components/accordion/src/accordion.tsx +++ /dev/null @@ -1,54 +0,0 @@ -import * as AccordionPrimitive from '@radix-ui/react-accordion'; -import { ChevronDown } from 'lucide-react'; -import * as React from 'react'; - -import { cn } from '@memgpt/utils'; - -const Accordion = AccordionPrimitive.Root; - -const AccordionItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -AccordionItem.displayName = 'AccordionItem'; - -const AccordionTrigger = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - - svg]:rotate-180', - className - )} - {...props} - > - {children} - - - -)); -AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName; - -const AccordionContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - -
{children}
-
-)); -AccordionContent.displayName = AccordionPrimitive.Content.displayName; - -export { Accordion, AccordionContent, AccordionItem, AccordionTrigger }; diff --git a/chatui/libs/components/accordion/src/index.ts b/chatui/libs/components/accordion/src/index.ts deleted file mode 100644 index ce956fe2..00000000 --- a/chatui/libs/components/accordion/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './accordion'; diff --git a/chatui/libs/components/accordion/tsconfig.json b/chatui/libs/components/accordion/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/accordion/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/accordion/tsconfig.lib.json b/chatui/libs/components/accordion/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/accordion/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/accordion/vite.config.ts b/chatui/libs/components/accordion/vite.config.ts deleted file mode 100644 index 64be3c63..00000000 --- a/chatui/libs/components/accordion/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-accordion', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-accordion', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/alert-dialog/.babelrc b/chatui/libs/components/alert-dialog/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/alert-dialog/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/alert-dialog/.eslintrc.json b/chatui/libs/components/alert-dialog/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/alert-dialog/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/alert-dialog/README.md b/chatui/libs/components/alert-dialog/README.md deleted file mode 100644 index f3fb2961..00000000 --- a/chatui/libs/components/alert-dialog/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-alert-dialog - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-alert-dialog` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/alert-dialog/package.json b/chatui/libs/components/alert-dialog/package.json deleted file mode 100644 index 7e825274..00000000 --- a/chatui/libs/components/alert-dialog/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/alert-dialog", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/alert-dialog/project.json b/chatui/libs/components/alert-dialog/project.json deleted file mode 100644 index 343e4e2a..00000000 --- a/chatui/libs/components/alert-dialog/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-alert-dialog", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/alert-dialog/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/alert-dialog/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/alert-dialog" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/alert-dialog/src/alert-dialog.tsx b/chatui/libs/components/alert-dialog/src/alert-dialog.tsx deleted file mode 100644 index 97d94ff3..00000000 --- a/chatui/libs/components/alert-dialog/src/alert-dialog.tsx +++ /dev/null @@ -1,104 +0,0 @@ -import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'; -import * as React from 'react'; - -import { buttonVariants } from '@memgpt/components/button'; -import { cn } from '@memgpt/utils'; - -const AlertDialog = AlertDialogPrimitive.Root; - -const AlertDialogTrigger = AlertDialogPrimitive.Trigger; - -const AlertDialogPortal = AlertDialogPrimitive.Portal; - -const AlertDialogOverlay = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - -)); -AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName; - -const AlertDialogContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - - - - -)); -AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName; - -const AlertDialogHeader = ({ className, ...props }: React.HTMLAttributes) => ( -
-); -AlertDialogHeader.displayName = 'AlertDialogHeader'; - -const AlertDialogFooter = ({ className, ...props }: React.HTMLAttributes) => ( -
-); -AlertDialogFooter.displayName = 'AlertDialogFooter'; - -const AlertDialogTitle = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName; - -const AlertDialogDescription = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName; - -const AlertDialogAction = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName; - -const AlertDialogCancel = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName; - -export { - AlertDialog, - AlertDialogAction, - AlertDialogCancel, - AlertDialogContent, - AlertDialogDescription, - AlertDialogFooter, - AlertDialogHeader, - AlertDialogOverlay, - AlertDialogPortal, - AlertDialogTitle, - AlertDialogTrigger, -}; diff --git a/chatui/libs/components/alert-dialog/src/index.ts b/chatui/libs/components/alert-dialog/src/index.ts deleted file mode 100644 index a576cca3..00000000 --- a/chatui/libs/components/alert-dialog/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './alert-dialog'; diff --git a/chatui/libs/components/alert-dialog/tsconfig.json b/chatui/libs/components/alert-dialog/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/alert-dialog/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/alert-dialog/tsconfig.lib.json b/chatui/libs/components/alert-dialog/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/alert-dialog/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/alert-dialog/vite.config.ts b/chatui/libs/components/alert-dialog/vite.config.ts deleted file mode 100644 index 9f94910e..00000000 --- a/chatui/libs/components/alert-dialog/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-alert-dialog', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-alert-dialog', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/alert/.babelrc b/chatui/libs/components/alert/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/alert/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/alert/.eslintrc.json b/chatui/libs/components/alert/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/alert/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/alert/README.md b/chatui/libs/components/alert/README.md deleted file mode 100644 index 237af43c..00000000 --- a/chatui/libs/components/alert/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-alert - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-alert` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/alert/package.json b/chatui/libs/components/alert/package.json deleted file mode 100644 index 439d7591..00000000 --- a/chatui/libs/components/alert/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/alert", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/alert/project.json b/chatui/libs/components/alert/project.json deleted file mode 100644 index 86f4dd61..00000000 --- a/chatui/libs/components/alert/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-alert", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/alert/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/alert/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/alert" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/alert/src/alert.tsx b/chatui/libs/components/alert/src/alert.tsx deleted file mode 100644 index 4c3250c7..00000000 --- a/chatui/libs/components/alert/src/alert.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import { cva, type VariantProps } from 'class-variance-authority'; -import * as React from 'react'; - -import { cn } from '@memgpt/utils'; - -const alertVariants = cva( - 'relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground', - { - variants: { - variant: { - default: 'bg-background text-foreground', - destructive: 'border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive', - }, - }, - defaultVariants: { - variant: 'default', - }, - } -); - -const Alert = React.forwardRef< - HTMLDivElement, - React.HTMLAttributes & VariantProps ->(({ className, variant, ...props }, ref) => ( -
-)); -Alert.displayName = 'Alert'; - -const AlertTitle = React.forwardRef>( - ({ className, ...props }, ref) => ( -
- ) -); -AlertTitle.displayName = 'AlertTitle'; - -const AlertDescription = React.forwardRef>( - ({ className, ...props }, ref) => ( -
- ) -); -AlertDescription.displayName = 'AlertDescription'; - -export { Alert, AlertDescription, AlertTitle }; diff --git a/chatui/libs/components/alert/src/index.ts b/chatui/libs/components/alert/src/index.ts deleted file mode 100644 index ab34032f..00000000 --- a/chatui/libs/components/alert/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './alert'; diff --git a/chatui/libs/components/alert/tsconfig.json b/chatui/libs/components/alert/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/alert/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/alert/tsconfig.lib.json b/chatui/libs/components/alert/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/alert/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/alert/vite.config.ts b/chatui/libs/components/alert/vite.config.ts deleted file mode 100644 index f4c7be31..00000000 --- a/chatui/libs/components/alert/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-alert', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-alert', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/aspect-ratio/.babelrc b/chatui/libs/components/aspect-ratio/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/aspect-ratio/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/aspect-ratio/.eslintrc.json b/chatui/libs/components/aspect-ratio/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/aspect-ratio/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/aspect-ratio/README.md b/chatui/libs/components/aspect-ratio/README.md deleted file mode 100644 index 7fc87249..00000000 --- a/chatui/libs/components/aspect-ratio/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-aspect-ratio - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-aspect-ratio` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/aspect-ratio/package.json b/chatui/libs/components/aspect-ratio/package.json deleted file mode 100644 index 1ca9a9ad..00000000 --- a/chatui/libs/components/aspect-ratio/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/aspect-ratio", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/aspect-ratio/project.json b/chatui/libs/components/aspect-ratio/project.json deleted file mode 100644 index 55f719a6..00000000 --- a/chatui/libs/components/aspect-ratio/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-aspect-ratio", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/aspect-ratio/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/aspect-ratio/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/aspect-ratio" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/aspect-ratio/src/aspect-ratio.tsx b/chatui/libs/components/aspect-ratio/src/aspect-ratio.tsx deleted file mode 100644 index 5dfdf1e6..00000000 --- a/chatui/libs/components/aspect-ratio/src/aspect-ratio.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio'; - -const AspectRatio = AspectRatioPrimitive.Root; - -export { AspectRatio }; diff --git a/chatui/libs/components/aspect-ratio/src/index.ts b/chatui/libs/components/aspect-ratio/src/index.ts deleted file mode 100644 index 6d1cd137..00000000 --- a/chatui/libs/components/aspect-ratio/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './aspect-ratio'; diff --git a/chatui/libs/components/aspect-ratio/tsconfig.json b/chatui/libs/components/aspect-ratio/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/aspect-ratio/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/aspect-ratio/tsconfig.lib.json b/chatui/libs/components/aspect-ratio/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/aspect-ratio/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/aspect-ratio/vite.config.ts b/chatui/libs/components/aspect-ratio/vite.config.ts deleted file mode 100644 index 12865e03..00000000 --- a/chatui/libs/components/aspect-ratio/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-aspect-ratio', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-aspect-ratio', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/avatar/.babelrc b/chatui/libs/components/avatar/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/avatar/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/avatar/.eslintrc.json b/chatui/libs/components/avatar/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/avatar/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/avatar/README.md b/chatui/libs/components/avatar/README.md deleted file mode 100644 index 1fb6c4b1..00000000 --- a/chatui/libs/components/avatar/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-avatar - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-avatar` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/avatar/package.json b/chatui/libs/components/avatar/package.json deleted file mode 100644 index a306d1d1..00000000 --- a/chatui/libs/components/avatar/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/avatar", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/avatar/project.json b/chatui/libs/components/avatar/project.json deleted file mode 100644 index 06478790..00000000 --- a/chatui/libs/components/avatar/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-avatar", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/avatar/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/avatar/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/avatar" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/avatar/src/avatar.tsx b/chatui/libs/components/avatar/src/avatar.tsx deleted file mode 100644 index 40d7d0ad..00000000 --- a/chatui/libs/components/avatar/src/avatar.tsx +++ /dev/null @@ -1,38 +0,0 @@ -import * as AvatarPrimitive from '@radix-ui/react-avatar'; -import * as React from 'react'; - -import { cn } from '@memgpt/utils'; - -const Avatar = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -Avatar.displayName = AvatarPrimitive.Root.displayName; - -const AvatarImage = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -AvatarImage.displayName = AvatarPrimitive.Image.displayName; - -const AvatarFallback = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName; - -export { Avatar, AvatarFallback, AvatarImage }; diff --git a/chatui/libs/components/avatar/src/index.ts b/chatui/libs/components/avatar/src/index.ts deleted file mode 100644 index a7424ca3..00000000 --- a/chatui/libs/components/avatar/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './avatar'; diff --git a/chatui/libs/components/avatar/tsconfig.json b/chatui/libs/components/avatar/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/avatar/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/avatar/tsconfig.lib.json b/chatui/libs/components/avatar/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/avatar/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/avatar/vite.config.ts b/chatui/libs/components/avatar/vite.config.ts deleted file mode 100644 index 2c4fad23..00000000 --- a/chatui/libs/components/avatar/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-avatar', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-avatar', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/badge/.babelrc b/chatui/libs/components/badge/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/badge/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/badge/.eslintrc.json b/chatui/libs/components/badge/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/badge/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/badge/README.md b/chatui/libs/components/badge/README.md deleted file mode 100644 index ca10ec04..00000000 --- a/chatui/libs/components/badge/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-badge - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-badge` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/badge/package.json b/chatui/libs/components/badge/package.json deleted file mode 100644 index 464a7c5f..00000000 --- a/chatui/libs/components/badge/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/badge", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/badge/project.json b/chatui/libs/components/badge/project.json deleted file mode 100644 index bf5be156..00000000 --- a/chatui/libs/components/badge/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-badge", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/badge/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/badge/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/badge" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/badge/src/badge.tsx b/chatui/libs/components/badge/src/badge.tsx deleted file mode 100644 index 40030ad1..00000000 --- a/chatui/libs/components/badge/src/badge.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import { cva, type VariantProps } from 'class-variance-authority'; -import * as React from 'react'; - -import { cn } from '@memgpt/utils'; - -const badgeVariants = cva( - 'inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2', - { - variants: { - variant: { - default: 'border-transparent bg-primary text-primary-foreground hover:bg-primary/80', - secondary: 'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80', - destructive: 'border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80', - outline: 'text-foreground', - }, - }, - defaultVariants: { - variant: 'default', - }, - } -); - -export interface BadgeProps extends React.HTMLAttributes, VariantProps {} - -function Badge({ className, variant, ...props }: BadgeProps) { - return
; -} - -export { Badge, badgeVariants }; diff --git a/chatui/libs/components/badge/src/index.ts b/chatui/libs/components/badge/src/index.ts deleted file mode 100644 index 1566eee0..00000000 --- a/chatui/libs/components/badge/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './badge'; diff --git a/chatui/libs/components/badge/tsconfig.json b/chatui/libs/components/badge/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/badge/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/badge/tsconfig.lib.json b/chatui/libs/components/badge/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/badge/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/badge/vite.config.ts b/chatui/libs/components/badge/vite.config.ts deleted file mode 100644 index 696777c9..00000000 --- a/chatui/libs/components/badge/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-badge', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-badge', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/button/.babelrc b/chatui/libs/components/button/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/button/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/button/.eslintrc.json b/chatui/libs/components/button/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/button/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/button/README.md b/chatui/libs/components/button/README.md deleted file mode 100644 index 17452d8d..00000000 --- a/chatui/libs/components/button/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-button - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-button` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/button/package.json b/chatui/libs/components/button/package.json deleted file mode 100644 index aabe58bf..00000000 --- a/chatui/libs/components/button/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/button", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/button/project.json b/chatui/libs/components/button/project.json deleted file mode 100644 index 0b603c9d..00000000 --- a/chatui/libs/components/button/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-button", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/button/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/button/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/button" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/button/src/button.tsx b/chatui/libs/components/button/src/button.tsx deleted file mode 100644 index 73de1941..00000000 --- a/chatui/libs/components/button/src/button.tsx +++ /dev/null @@ -1,47 +0,0 @@ -import { Slot } from '@radix-ui/react-slot'; -import { cva, type VariantProps } from 'class-variance-authority'; -import * as React from 'react'; - -import { cn } from '@memgpt/utils'; - -const buttonVariants = cva( - 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50', - { - variants: { - variant: { - default: 'bg-primary text-primary-foreground hover:bg-primary/90', - destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90', - outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground', - secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80', - ghost: 'hover:bg-accent hover:text-accent-foreground', - link: 'text-primary underline-offset-4 hover:underline', - }, - size: { - default: 'h-10 px-4 py-2', - sm: 'h-9 rounded-md px-3', - lg: 'h-11 rounded-md px-8', - icon: 'h-10 w-10', - }, - }, - defaultVariants: { - variant: 'default', - size: 'default', - }, - } -); - -export interface ButtonProps - extends React.ButtonHTMLAttributes, - VariantProps { - asChild?: boolean; -} - -const Button = React.forwardRef( - ({ className, variant, size, asChild = false, ...props }, ref) => { - const Comp = asChild ? Slot : 'button'; - return ; - } -); -Button.displayName = 'Button'; - -export { Button, buttonVariants }; diff --git a/chatui/libs/components/button/src/index.ts b/chatui/libs/components/button/src/index.ts deleted file mode 100644 index eaf5eea7..00000000 --- a/chatui/libs/components/button/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './button'; diff --git a/chatui/libs/components/button/tsconfig.json b/chatui/libs/components/button/tsconfig.json deleted file mode 100644 index 48fd847c..00000000 --- a/chatui/libs/components/button/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.json" -} diff --git a/chatui/libs/components/button/tsconfig.lib.json b/chatui/libs/components/button/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/button/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/button/vite.config.ts b/chatui/libs/components/button/vite.config.ts deleted file mode 100644 index ba495118..00000000 --- a/chatui/libs/components/button/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-button', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-button', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/calendar/.babelrc b/chatui/libs/components/calendar/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/calendar/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/calendar/.eslintrc.json b/chatui/libs/components/calendar/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/calendar/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/calendar/README.md b/chatui/libs/components/calendar/README.md deleted file mode 100644 index b6283c98..00000000 --- a/chatui/libs/components/calendar/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-calendar - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-calendar` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/calendar/package.json b/chatui/libs/components/calendar/package.json deleted file mode 100644 index 7fa5aac1..00000000 --- a/chatui/libs/components/calendar/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/calendar", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/calendar/project.json b/chatui/libs/components/calendar/project.json deleted file mode 100644 index 8b0d0091..00000000 --- a/chatui/libs/components/calendar/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-calendar", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/calendar/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/calendar/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/calendar" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/calendar/src/calendar.tsx b/chatui/libs/components/calendar/src/calendar.tsx deleted file mode 100644 index 374d3452..00000000 --- a/chatui/libs/components/calendar/src/calendar.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import { ChevronLeft, ChevronRight } from 'lucide-react'; -import * as React from 'react'; -import { DayPicker } from 'react-day-picker'; - -import { buttonVariants } from '@memgpt/components/button'; -import { cn } from '@memgpt/utils'; - -export type CalendarProps = React.ComponentProps; - -function Calendar({ className, classNames, showOutsideDays = true, ...props }: CalendarProps) { - return ( - , - IconRight: ({ ...props }) => , - }} - {...props} - /> - ); -} -Calendar.displayName = 'Calendar'; - -export { Calendar }; diff --git a/chatui/libs/components/calendar/src/index.ts b/chatui/libs/components/calendar/src/index.ts deleted file mode 100644 index e69de29b..00000000 diff --git a/chatui/libs/components/calendar/tsconfig.json b/chatui/libs/components/calendar/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/calendar/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/calendar/tsconfig.lib.json b/chatui/libs/components/calendar/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/calendar/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/calendar/vite.config.ts b/chatui/libs/components/calendar/vite.config.ts deleted file mode 100644 index 824fb843..00000000 --- a/chatui/libs/components/calendar/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-calendar', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-calendar', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/card/.babelrc b/chatui/libs/components/card/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/card/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/card/.eslintrc.json b/chatui/libs/components/card/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/card/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/card/README.md b/chatui/libs/components/card/README.md deleted file mode 100644 index a274c1cd..00000000 --- a/chatui/libs/components/card/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-card - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-card` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/card/package.json b/chatui/libs/components/card/package.json deleted file mode 100644 index c1bedf8a..00000000 --- a/chatui/libs/components/card/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/card", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/card/project.json b/chatui/libs/components/card/project.json deleted file mode 100644 index f345bcda..00000000 --- a/chatui/libs/components/card/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-card", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/card/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/card/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/card" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/card/src/card.tsx b/chatui/libs/components/card/src/card.tsx deleted file mode 100644 index 35ab9ae6..00000000 --- a/chatui/libs/components/card/src/card.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import * as React from 'react'; - -import { cn } from '@memgpt/utils'; - -const Card = React.forwardRef>(({ className, ...props }, ref) => ( -
-)); -Card.displayName = 'Card'; - -const CardHeader = React.forwardRef>( - ({ className, ...props }, ref) => ( -
- ) -); -CardHeader.displayName = 'CardHeader'; - -const CardTitle = React.forwardRef>( - ({ className, ...props }, ref) => ( -

- ) -); -CardTitle.displayName = 'CardTitle'; - -const CardDescription = React.forwardRef>( - ({ className, ...props }, ref) => ( -

- ) -); -CardDescription.displayName = 'CardDescription'; - -const CardContent = React.forwardRef>( - ({ className, ...props }, ref) =>

-); -CardContent.displayName = 'CardContent'; - -const CardFooter = React.forwardRef>( - ({ className, ...props }, ref) =>
-); -CardFooter.displayName = 'CardFooter'; - -export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle }; diff --git a/chatui/libs/components/card/src/index.ts b/chatui/libs/components/card/src/index.ts deleted file mode 100644 index cb5809fe..00000000 --- a/chatui/libs/components/card/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './card'; diff --git a/chatui/libs/components/card/tsconfig.json b/chatui/libs/components/card/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/card/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/card/tsconfig.lib.json b/chatui/libs/components/card/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/card/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/card/vite.config.ts b/chatui/libs/components/card/vite.config.ts deleted file mode 100644 index 46f1d825..00000000 --- a/chatui/libs/components/card/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-card', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-card', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/checkbox/.babelrc b/chatui/libs/components/checkbox/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/checkbox/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/checkbox/.eslintrc.json b/chatui/libs/components/checkbox/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/checkbox/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/checkbox/README.md b/chatui/libs/components/checkbox/README.md deleted file mode 100644 index 79c34522..00000000 --- a/chatui/libs/components/checkbox/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-checkbox - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-checkbox` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/checkbox/package.json b/chatui/libs/components/checkbox/package.json deleted file mode 100644 index 89826846..00000000 --- a/chatui/libs/components/checkbox/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/checkbox", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/checkbox/project.json b/chatui/libs/components/checkbox/project.json deleted file mode 100644 index bff6ca1b..00000000 --- a/chatui/libs/components/checkbox/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-checkbox", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/checkbox/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/checkbox/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/checkbox" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/checkbox/src/checkbox.tsx b/chatui/libs/components/checkbox/src/checkbox.tsx deleted file mode 100644 index af5f39aa..00000000 --- a/chatui/libs/components/checkbox/src/checkbox.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import * as CheckboxPrimitive from '@radix-ui/react-checkbox'; -import { Check } from 'lucide-react'; -import * as React from 'react'; - -import { cn } from '@memgpt/utils'; - -const Checkbox = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - - - - - -)); -Checkbox.displayName = CheckboxPrimitive.Root.displayName; - -export { Checkbox }; diff --git a/chatui/libs/components/checkbox/src/index.ts b/chatui/libs/components/checkbox/src/index.ts deleted file mode 100644 index 8d78b3e2..00000000 --- a/chatui/libs/components/checkbox/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './checkbox'; diff --git a/chatui/libs/components/checkbox/tsconfig.json b/chatui/libs/components/checkbox/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/checkbox/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/checkbox/tsconfig.lib.json b/chatui/libs/components/checkbox/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/checkbox/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/checkbox/vite.config.ts b/chatui/libs/components/checkbox/vite.config.ts deleted file mode 100644 index dc8ec488..00000000 --- a/chatui/libs/components/checkbox/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-checkbox', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-checkbox', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/collapsible/.babelrc b/chatui/libs/components/collapsible/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/collapsible/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/collapsible/.eslintrc.json b/chatui/libs/components/collapsible/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/collapsible/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/collapsible/README.md b/chatui/libs/components/collapsible/README.md deleted file mode 100644 index dd107f3c..00000000 --- a/chatui/libs/components/collapsible/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-collapsible - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-collapsible` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/collapsible/package.json b/chatui/libs/components/collapsible/package.json deleted file mode 100644 index c76b7550..00000000 --- a/chatui/libs/components/collapsible/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/collapsible", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/collapsible/project.json b/chatui/libs/components/collapsible/project.json deleted file mode 100644 index 89031869..00000000 --- a/chatui/libs/components/collapsible/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-collapsible", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/collapsible/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/collapsible/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/collapsible" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/collapsible/src/collapsible.tsx b/chatui/libs/components/collapsible/src/collapsible.tsx deleted file mode 100644 index 6105fb47..00000000 --- a/chatui/libs/components/collapsible/src/collapsible.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import * as CollapsiblePrimitive from '@radix-ui/react-collapsible'; - -const Collapsible = CollapsiblePrimitive.Root; - -const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger; - -const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent; - -export { Collapsible, CollapsibleContent, CollapsibleTrigger }; diff --git a/chatui/libs/components/collapsible/src/index.ts b/chatui/libs/components/collapsible/src/index.ts deleted file mode 100644 index 20c0813c..00000000 --- a/chatui/libs/components/collapsible/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './collapsible'; diff --git a/chatui/libs/components/collapsible/tsconfig.json b/chatui/libs/components/collapsible/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/collapsible/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/collapsible/tsconfig.lib.json b/chatui/libs/components/collapsible/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/collapsible/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/collapsible/vite.config.ts b/chatui/libs/components/collapsible/vite.config.ts deleted file mode 100644 index 32388a4c..00000000 --- a/chatui/libs/components/collapsible/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-collapsible', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-collapsible', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/command/.babelrc b/chatui/libs/components/command/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/command/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/command/.eslintrc.json b/chatui/libs/components/command/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/command/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/command/README.md b/chatui/libs/components/command/README.md deleted file mode 100644 index a48dd762..00000000 --- a/chatui/libs/components/command/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-command - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-command` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/command/package.json b/chatui/libs/components/command/package.json deleted file mode 100644 index c6dff41c..00000000 --- a/chatui/libs/components/command/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/command", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/command/project.json b/chatui/libs/components/command/project.json deleted file mode 100644 index 1ade62ca..00000000 --- a/chatui/libs/components/command/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-command", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/command/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/command/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/command" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/command/src/command.tsx b/chatui/libs/components/command/src/command.tsx deleted file mode 100644 index 2772ebe1..00000000 --- a/chatui/libs/components/command/src/command.tsx +++ /dev/null @@ -1,132 +0,0 @@ -import { DialogProps } from '@radix-ui/react-dialog'; -import { Command as CommandPrimitive } from 'cmdk'; -import { Search } from 'lucide-react'; -import * as React from 'react'; - -import { Dialog, DialogContent } from '@memgpt/components/dialog'; -import { cn } from '@memgpt/utils'; - -const Command = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -Command.displayName = CommandPrimitive.displayName; - -interface CommandDialogProps extends DialogProps {} - -const CommandDialog = ({ children, ...props }: CommandDialogProps) => { - return ( - - - - {children} - - - - ); -}; - -const CommandInput = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( -
- - -
-)); - -CommandInput.displayName = CommandPrimitive.Input.displayName; - -const CommandList = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); - -CommandList.displayName = CommandPrimitive.List.displayName; - -const CommandEmpty = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->((props, ref) => ); - -CommandEmpty.displayName = CommandPrimitive.Empty.displayName; - -const CommandGroup = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); - -CommandGroup.displayName = CommandPrimitive.Group.displayName; - -const CommandSeparator = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -CommandSeparator.displayName = CommandPrimitive.Separator.displayName; - -const CommandItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); - -CommandItem.displayName = CommandPrimitive.Item.displayName; - -const CommandShortcut = ({ className, ...props }: React.HTMLAttributes) => { - return ; -}; -CommandShortcut.displayName = 'CommandShortcut'; - -export { - Command, - CommandDialog, - CommandEmpty, - CommandGroup, - CommandInput, - CommandItem, - CommandList, - CommandSeparator, - CommandShortcut, -}; diff --git a/chatui/libs/components/command/src/index.ts b/chatui/libs/components/command/src/index.ts deleted file mode 100644 index b3e7a507..00000000 --- a/chatui/libs/components/command/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './command'; diff --git a/chatui/libs/components/command/tsconfig.json b/chatui/libs/components/command/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/command/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/command/tsconfig.lib.json b/chatui/libs/components/command/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/command/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/command/vite.config.ts b/chatui/libs/components/command/vite.config.ts deleted file mode 100644 index 34711123..00000000 --- a/chatui/libs/components/command/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-command', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-command', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/context-menu/.babelrc b/chatui/libs/components/context-menu/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/context-menu/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/context-menu/.eslintrc.json b/chatui/libs/components/context-menu/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/context-menu/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/context-menu/README.md b/chatui/libs/components/context-menu/README.md deleted file mode 100644 index 92ebcaac..00000000 --- a/chatui/libs/components/context-menu/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-context-menu - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-context-menu` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/context-menu/package.json b/chatui/libs/components/context-menu/package.json deleted file mode 100644 index a79066d0..00000000 --- a/chatui/libs/components/context-menu/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/context-menu", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/context-menu/project.json b/chatui/libs/components/context-menu/project.json deleted file mode 100644 index d41f94a4..00000000 --- a/chatui/libs/components/context-menu/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-context-menu", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/context-menu/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/context-menu/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/context-menu" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/context-menu/src/context-menu.tsx b/chatui/libs/components/context-menu/src/context-menu.tsx deleted file mode 100644 index afd6099c..00000000 --- a/chatui/libs/components/context-menu/src/context-menu.tsx +++ /dev/null @@ -1,178 +0,0 @@ -import * as ContextMenuPrimitive from '@radix-ui/react-context-menu'; -import { Check, ChevronRight, Circle } from 'lucide-react'; -import * as React from 'react'; - -import { cn } from '@memgpt/utils'; - -const ContextMenu = ContextMenuPrimitive.Root; - -const ContextMenuTrigger = ContextMenuPrimitive.Trigger; - -const ContextMenuGroup = ContextMenuPrimitive.Group; - -const ContextMenuPortal = ContextMenuPrimitive.Portal; - -const ContextMenuSub = ContextMenuPrimitive.Sub; - -const ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup; - -const ContextMenuSubTrigger = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef & { - inset?: boolean; - } ->(({ className, inset, children, ...props }, ref) => ( - - {children} - - -)); -ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName; - -const ContextMenuSubContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName; - -const ContextMenuContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - - - -)); -ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName; - -const ContextMenuItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef & { - inset?: boolean; - } ->(({ className, inset, ...props }, ref) => ( - -)); -ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName; - -const ContextMenuCheckboxItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, checked, ...props }, ref) => ( - - - - - - - {children} - -)); -ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName; - -const ContextMenuRadioItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - - - - - - - {children} - -)); -ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName; - -const ContextMenuLabel = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef & { - inset?: boolean; - } ->(({ className, inset, ...props }, ref) => ( - -)); -ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName; - -const ContextMenuSeparator = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -ContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName; - -const ContextMenuShortcut = ({ className, ...props }: React.HTMLAttributes) => { - return ; -}; -ContextMenuShortcut.displayName = 'ContextMenuShortcut'; - -export { - ContextMenu, - ContextMenuCheckboxItem, - ContextMenuContent, - ContextMenuGroup, - ContextMenuItem, - ContextMenuLabel, - ContextMenuPortal, - ContextMenuRadioGroup, - ContextMenuRadioItem, - ContextMenuSeparator, - ContextMenuShortcut, - ContextMenuSub, - ContextMenuSubContent, - ContextMenuSubTrigger, - ContextMenuTrigger, -}; diff --git a/chatui/libs/components/context-menu/src/index.ts b/chatui/libs/components/context-menu/src/index.ts deleted file mode 100644 index 48de5b78..00000000 --- a/chatui/libs/components/context-menu/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './context-menu'; diff --git a/chatui/libs/components/context-menu/tsconfig.json b/chatui/libs/components/context-menu/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/context-menu/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/context-menu/tsconfig.lib.json b/chatui/libs/components/context-menu/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/context-menu/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/context-menu/vite.config.ts b/chatui/libs/components/context-menu/vite.config.ts deleted file mode 100644 index d997e15a..00000000 --- a/chatui/libs/components/context-menu/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-context-menu', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-context-menu', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/dialog/.babelrc b/chatui/libs/components/dialog/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/dialog/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/dialog/.eslintrc.json b/chatui/libs/components/dialog/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/dialog/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/dialog/README.md b/chatui/libs/components/dialog/README.md deleted file mode 100644 index 6393c1e2..00000000 --- a/chatui/libs/components/dialog/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-dialog - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-dialog` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/dialog/package.json b/chatui/libs/components/dialog/package.json deleted file mode 100644 index 221d9c49..00000000 --- a/chatui/libs/components/dialog/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/dialog", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/dialog/project.json b/chatui/libs/components/dialog/project.json deleted file mode 100644 index 7cb0c4f4..00000000 --- a/chatui/libs/components/dialog/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-dialog", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/dialog/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/dialog/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/dialog" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/dialog/src/dialog.tsx b/chatui/libs/components/dialog/src/dialog.tsx deleted file mode 100644 index 149dd786..00000000 --- a/chatui/libs/components/dialog/src/dialog.tsx +++ /dev/null @@ -1,95 +0,0 @@ -import * as DialogPrimitive from '@radix-ui/react-dialog'; -import { X } from 'lucide-react'; -import * as React from 'react'; - -import { cn } from '@memgpt/utils'; - -const Dialog = DialogPrimitive.Root; - -const DialogTrigger = DialogPrimitive.Trigger; - -const DialogPortal = DialogPrimitive.Portal; - -const DialogClose = DialogPrimitive.Close; - -const DialogOverlay = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -DialogOverlay.displayName = DialogPrimitive.Overlay.displayName; - -const DialogContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - - - - {children} - - - Close - - - -)); -DialogContent.displayName = DialogPrimitive.Content.displayName; - -const DialogHeader = ({ className, ...props }: React.HTMLAttributes) => ( -
-); -DialogHeader.displayName = 'DialogHeader'; - -const DialogFooter = ({ className, ...props }: React.HTMLAttributes) => ( -
-); -DialogFooter.displayName = 'DialogFooter'; - -const DialogTitle = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -DialogTitle.displayName = DialogPrimitive.Title.displayName; - -const DialogDescription = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -DialogDescription.displayName = DialogPrimitive.Description.displayName; - -export { - Dialog, - DialogClose, - DialogContent, - DialogDescription, - DialogFooter, - DialogHeader, - DialogOverlay, - DialogPortal, - DialogTitle, - DialogTrigger, -}; diff --git a/chatui/libs/components/dialog/src/index.ts b/chatui/libs/components/dialog/src/index.ts deleted file mode 100644 index 20da8e55..00000000 --- a/chatui/libs/components/dialog/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './dialog'; diff --git a/chatui/libs/components/dialog/tsconfig.json b/chatui/libs/components/dialog/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/dialog/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/dialog/tsconfig.lib.json b/chatui/libs/components/dialog/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/dialog/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/dialog/vite.config.ts b/chatui/libs/components/dialog/vite.config.ts deleted file mode 100644 index 873eb557..00000000 --- a/chatui/libs/components/dialog/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-dialog', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-dialog', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/dropdown-menu/.babelrc b/chatui/libs/components/dropdown-menu/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/dropdown-menu/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/dropdown-menu/.eslintrc.json b/chatui/libs/components/dropdown-menu/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/dropdown-menu/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/dropdown-menu/README.md b/chatui/libs/components/dropdown-menu/README.md deleted file mode 100644 index 06a77902..00000000 --- a/chatui/libs/components/dropdown-menu/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-dropdown-menu - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-dropdown-menu` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/dropdown-menu/package.json b/chatui/libs/components/dropdown-menu/package.json deleted file mode 100644 index 4c6b3b8a..00000000 --- a/chatui/libs/components/dropdown-menu/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/dropdown-menu", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/dropdown-menu/project.json b/chatui/libs/components/dropdown-menu/project.json deleted file mode 100644 index 35117450..00000000 --- a/chatui/libs/components/dropdown-menu/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-dropdown-menu", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/dropdown-menu/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/dropdown-menu/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/dropdown-menu" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/dropdown-menu/src/dropdown-menu.tsx b/chatui/libs/components/dropdown-menu/src/dropdown-menu.tsx deleted file mode 100644 index 0d8c4cb2..00000000 --- a/chatui/libs/components/dropdown-menu/src/dropdown-menu.tsx +++ /dev/null @@ -1,179 +0,0 @@ -import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'; -import { Check, ChevronRight, Circle } from 'lucide-react'; -import * as React from 'react'; - -import { cn } from '@memgpt/utils'; - -const DropdownMenu = DropdownMenuPrimitive.Root; - -const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger; - -const DropdownMenuGroup = DropdownMenuPrimitive.Group; - -const DropdownMenuPortal = DropdownMenuPrimitive.Portal; - -const DropdownMenuSub = DropdownMenuPrimitive.Sub; - -const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup; - -const DropdownMenuSubTrigger = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef & { - inset?: boolean; - } ->(({ className, inset, children, ...props }, ref) => ( - - {children} - - -)); -DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName; - -const DropdownMenuSubContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName; - -const DropdownMenuContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, sideOffset = 4, ...props }, ref) => ( - - - -)); -DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName; - -const DropdownMenuItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef & { - inset?: boolean; - } ->(({ className, inset, ...props }, ref) => ( - -)); -DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName; - -const DropdownMenuCheckboxItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, checked, ...props }, ref) => ( - - - - - - - {children} - -)); -DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName; - -const DropdownMenuRadioItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - - - - - - - {children} - -)); -DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName; - -const DropdownMenuLabel = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef & { - inset?: boolean; - } ->(({ className, inset, ...props }, ref) => ( - -)); -DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName; - -const DropdownMenuSeparator = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)); -DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName; - -const DropdownMenuShortcut = ({ className, ...props }: React.HTMLAttributes) => { - return ; -}; -DropdownMenuShortcut.displayName = 'DropdownMenuShortcut'; - -export { - DropdownMenu, - DropdownMenuCheckboxItem, - DropdownMenuContent, - DropdownMenuGroup, - DropdownMenuItem, - DropdownMenuLabel, - DropdownMenuPortal, - DropdownMenuRadioGroup, - DropdownMenuRadioItem, - DropdownMenuSeparator, - DropdownMenuShortcut, - DropdownMenuSub, - DropdownMenuSubContent, - DropdownMenuSubTrigger, - DropdownMenuTrigger, -}; diff --git a/chatui/libs/components/dropdown-menu/src/index.ts b/chatui/libs/components/dropdown-menu/src/index.ts deleted file mode 100644 index 2759d3ce..00000000 --- a/chatui/libs/components/dropdown-menu/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './dropdown-menu'; diff --git a/chatui/libs/components/dropdown-menu/tsconfig.json b/chatui/libs/components/dropdown-menu/tsconfig.json deleted file mode 100644 index 395c18ce..00000000 --- a/chatui/libs/components/dropdown-menu/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": false, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "strict": true, - "types": ["vite/client"] - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.lib.json" - } - ], - "extends": "../../../tsconfig.base.json" -} diff --git a/chatui/libs/components/dropdown-menu/tsconfig.lib.json b/chatui/libs/components/dropdown-menu/tsconfig.lib.json deleted file mode 100644 index 85f91a93..00000000 --- a/chatui/libs/components/dropdown-menu/tsconfig.lib.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "../../../dist/out-tsc", - "types": ["node", "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts", "vite/client"] - }, - "exclude": [ - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx" - ], - "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"] -} diff --git a/chatui/libs/components/dropdown-menu/vite.config.ts b/chatui/libs/components/dropdown-menu/vite.config.ts deleted file mode 100644 index b040b562..00000000 --- a/chatui/libs/components/dropdown-menu/vite.config.ts +++ /dev/null @@ -1,43 +0,0 @@ -/// -import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; -import react from '@vitejs/plugin-react'; -import * as path from 'path'; -import { defineConfig } from 'vite'; -import dts from 'vite-plugin-dts'; - -export default defineConfig({ - cacheDir: '../../../node_modules/.vite/components-dropdown-menu', - - plugins: [ - react(), - nxViteTsPaths(), - dts({ - entryRoot: 'src', - tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'), - skipDiagnostics: true, - }), - ], - - // Uncomment this if you are using workers. - // worker: { - // plugins: [ nxViteTsPaths() ], - // }, - - // Configuration for building your library. - // See: https://vitejs.dev/guide/build.html#library-mode - build: { - lib: { - // Could also be a dictionary or array of multiple entry points. - entry: 'src/index.ts', - name: 'components-dropdown-menu', - fileName: 'index', - // Change this to the formats you want to support. - // Don't forget to update your package.json as well. - formats: ['es', 'cjs'], - }, - rollupOptions: { - // External packages that should not be bundled into your library. - external: ['react', 'react-dom', 'react/jsx-runtime'], - }, - }, -}); diff --git a/chatui/libs/components/form/.babelrc b/chatui/libs/components/form/.babelrc deleted file mode 100644 index abff0913..00000000 --- a/chatui/libs/components/form/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ - "@nx/react/babel", - { - "runtime": "automatic", - "useBuiltIns": "usage" - } - ] - ], - "plugins": [] -} diff --git a/chatui/libs/components/form/.eslintrc.json b/chatui/libs/components/form/.eslintrc.json deleted file mode 100644 index 339ab857..00000000 --- a/chatui/libs/components/form/.eslintrc.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], - "rules": {} - }, - { - "files": ["*.ts", "*.tsx"], - "rules": {} - }, - { - "files": ["*.js", "*.jsx"], - "rules": {} - } - ] -} diff --git a/chatui/libs/components/form/README.md b/chatui/libs/components/form/README.md deleted file mode 100644 index b6a40060..00000000 --- a/chatui/libs/components/form/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# components-form - -This library was generated with [Nx](https://nx.dev). - -## Running unit tests - -Run `nx test components-form` to execute the unit tests via [Vitest](https://vitest.dev/). diff --git a/chatui/libs/components/form/package.json b/chatui/libs/components/form/package.json deleted file mode 100644 index cc87d5cb..00000000 --- a/chatui/libs/components/form/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "@memgpt/components/form", - "version": "0.0.1", - "main": "./index.js", - "types": "./index.d.ts", - "exports": { - ".": { - "import": "./index.mjs", - "require": "./index.js" - } - } -} diff --git a/chatui/libs/components/form/project.json b/chatui/libs/components/form/project.json deleted file mode 100644 index d2266e3f..00000000 --- a/chatui/libs/components/form/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "components-form", - "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "libs/components/form/src", - "projectType": "library", - "tags": [], - "targets": { - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"], - "options": { - "lintFilePatterns": ["libs/components/form/**/*.{ts,tsx,js,jsx}"] - } - }, - "build": { - "executor": "@nx/vite:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/libs/components/form" - }, - "configurations": { - "development": { - "mode": "development" - }, - "production": { - "mode": "production" - } - } - } - } -} diff --git a/chatui/libs/components/form/src/form.tsx b/chatui/libs/components/form/src/form.tsx deleted file mode 100644 index c376ec17..00000000 --- a/chatui/libs/components/form/src/form.tsx +++ /dev/null @@ -1,129 +0,0 @@ -import * as LabelPrimitive from '@radix-ui/react-label'; -import { Slot } from '@radix-ui/react-slot'; -import * as React from 'react'; -import { Controller, ControllerProps, FieldPath, FieldValues, FormProvider, useFormContext } from 'react-hook-form'; - -import { Label } from '@memgpt/components/label'; -import { cn } from '@memgpt/utils'; - -const Form = FormProvider; - -type FormFieldContextValue< - TFieldValues extends FieldValues = FieldValues, - TName extends FieldPath = FieldPath, -> = { - name: TName; -}; - -const FormFieldContext = React.createContext({} as FormFieldContextValue); - -const FormField = < - TFieldValues extends FieldValues = FieldValues, - TName extends FieldPath = FieldPath, ->({ - ...props -}: ControllerProps) => { - return ( - - - - ); -}; - -const useFormField = () => { - const fieldContext = React.useContext(FormFieldContext); - const itemContext = React.useContext(FormItemContext); - const { getFieldState, formState } = useFormContext(); - - const fieldState = getFieldState(fieldContext.name, formState); - - if (!fieldContext) { - throw new Error('useFormField should be used within '); - } - - const { id } = itemContext; - - return { - id, - name: fieldContext.name, - formItemId: `${id}-form-item`, - formDescriptionId: `${id}-form-item-description`, - formMessageId: `${id}-form-item-message`, - ...fieldState, - }; -}; - -type FormItemContextValue = { - id: string; -}; - -const FormItemContext = React.createContext({} as FormItemContextValue); - -const FormItem = React.forwardRef>( - ({ className, ...props }, ref) => { - const id = React.useId(); - - return ( - -
- - ); - } -); -FormItem.displayName = 'FormItem'; - -const FormLabel = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => { - const { error, formItemId } = useFormField(); - - return