├── .eslintrc ├── .github ├── auto_assign.yml └── workflows │ ├── auto_assign.yml │ ├── build.yml │ ├── review.yml │ └── test.yml ├── .gitignore ├── .nvmrc ├── .prettierrc ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.ja.md ├── README.ko.md ├── README.md ├── README.zh-CN.md ├── jest.config.js ├── manifest.ts ├── package.json ├── pnpm-lock.yaml ├── public ├── _locales │ ├── en │ │ └── messages.json │ ├── ja │ │ └── messages.json │ ├── ko │ │ └── messages.json │ └── zh_CN │ │ └── messages.json ├── icon-128.png ├── icon-34.png └── logo-dark.png ├── src ├── assets │ └── style │ │ └── theme.scss ├── chrome │ ├── i18n.ts │ ├── localStorage.ts │ └── message.ts ├── constant │ ├── promptGeneratePrompt.ts │ └── style.ts ├── global.d.ts ├── pages │ ├── background │ │ ├── index.ts │ │ └── lib │ │ │ ├── infra │ │ │ └── chatGPT.ts │ │ │ ├── service │ │ │ ├── slotsManipulatorService.test.ts │ │ │ └── slotsManipulatorService.ts │ │ │ ├── storage │ │ │ ├── apiKeyStorage.test.ts │ │ │ ├── apiKeyStorage.ts │ │ │ ├── chatHistoryStorage.ts │ │ │ ├── onOffStorage.ts │ │ │ ├── quickChatHistoryStorage.test.ts │ │ │ ├── quickChatHistoryStorage.ts │ │ │ ├── slotStorage.test.ts │ │ │ └── slotStorage.ts │ │ │ └── utils │ │ │ └── logger.ts │ ├── content │ │ ├── index.ts │ │ ├── src │ │ │ └── ContentScriptApp │ │ │ │ ├── App.tsx │ │ │ │ ├── DragGPT.tsx │ │ │ │ ├── components │ │ │ │ ├── DraggableBox.tsx │ │ │ │ ├── GPTRequestButton.test.tsx │ │ │ │ ├── GPTRequestButton.tsx │ │ │ │ └── messageBox │ │ │ │ │ ├── ErrorMessageBox.test.tsx │ │ │ │ │ ├── ErrorMessageBox.tsx │ │ │ │ │ ├── MessageBox.tsx │ │ │ │ │ └── ResponseMessageBox.tsx │ │ │ │ ├── constant │ │ │ │ └── elementId.ts │ │ │ │ ├── emotion │ │ │ │ ├── EmotionCacheProvider.tsx │ │ │ │ ├── FontProvider.tsx │ │ │ │ └── ResetStyleProvider.tsx │ │ │ │ ├── hooks │ │ │ │ ├── useRootOutsideClick.ts │ │ │ │ └── useSelectedSlot.ts │ │ │ │ ├── index.tsx │ │ │ │ ├── utils │ │ │ │ ├── delayPromise.ts │ │ │ │ ├── getPositionOnScreen.test.ts │ │ │ │ ├── getPositionOnScreen.ts │ │ │ │ ├── getSafePixel.test.ts │ │ │ │ ├── getSafePixel.ts │ │ │ │ └── selection.ts │ │ │ │ └── xState │ │ │ │ ├── dragStateMachine.ts │ │ │ │ └── dragStateMachine.typegen.ts │ │ └── style.scss │ ├── options │ │ ├── index.css │ │ ├── index.html │ │ ├── index.tsx │ │ └── src │ │ │ ├── App.tsx │ │ │ ├── components │ │ │ ├── ChatHistory.tsx │ │ │ ├── ChatHistoryHeader.tsx │ │ │ ├── ChatSessionGroup.tsx │ │ │ ├── ChatSessionGroupHeader.tsx │ │ │ ├── EmptySession.tsx │ │ │ ├── PleaseSelectSession.tsx │ │ │ └── layout │ │ │ │ ├── ChatHistoryMainLayout.tsx │ │ │ │ └── ConditionalRender.tsx │ │ │ └── pages │ │ │ └── Main.tsx │ └── popup │ │ ├── App.tsx │ │ ├── Popup.tsx │ │ ├── components │ │ ├── SlotDetail.tsx │ │ ├── SlotListItem.tsx │ │ ├── StyledButton.tsx │ │ └── layout │ │ │ ├── Footer.tsx │ │ │ └── MainLayout.tsx │ │ ├── index.html │ │ ├── index.tsx │ │ ├── pages │ │ ├── NoApiKeyPage.tsx │ │ ├── QuickChattingPage.tsx │ │ └── SlotListPage.tsx │ │ └── xState │ │ ├── popupStateMachine.ts │ │ ├── popupStateMachine.typegen.ts │ │ ├── slotListPageStateMachine.ts │ │ └── slotListPageStateMachine.typegen.ts ├── shared │ ├── component │ │ ├── AssistantChat.tsx │ │ ├── ChatCollapse.tsx │ │ ├── ChatText.tsx │ │ ├── FontProvider.tsx │ │ ├── ResetStyleProvider.tsx │ │ ├── StyleProvider.tsx │ │ └── UserChat.tsx │ ├── hook │ │ ├── useBackgroundMessage.tsx │ │ ├── useCopyClipboard.ts │ │ ├── useGeneratedId.ts │ │ └── useScrollDownEffect.ts │ ├── services │ │ └── getGPTResponseAsStream.ts │ ├── slot │ │ └── createNewChatGPTSlot.ts │ ├── ts-utils │ │ └── exhaustiveMatchingGuard.ts │ ├── utils │ │ └── generateId.ts │ └── xState │ │ ├── chatStateMachine.ts │ │ ├── chatStateMachine.typegen.ts │ │ ├── streamChatStateMachine.ts │ │ └── streamChatStateMachine.typegen.ts └── vite-env.d.ts ├── test-utils └── jest.setup.ts ├── tsconfig.json ├── utils ├── log.ts ├── manifest-parser │ └── index.ts ├── plugins │ ├── add-hmr.ts │ ├── custom-dynamic-import.ts │ └── make-manifest.ts └── reload │ ├── constant.ts │ ├── initReloadClient.ts │ ├── initReloadServer.ts │ ├── injections │ ├── script.ts │ └── view.ts │ ├── interpreter │ ├── index.ts │ └── types.ts │ ├── rollup.config.ts │ └── utils.ts ├── vite.config.ts └── yarn.lock /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/auto_assign.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/.github/auto_assign.yml -------------------------------------------------------------------------------- /.github/workflows/auto_assign.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/.github/workflows/auto_assign.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/review.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/.github/workflows/review.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 18.12.0 2 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/.prettierrc -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/LICENSE -------------------------------------------------------------------------------- /README.ja.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/README.ja.md -------------------------------------------------------------------------------- /README.ko.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/README.ko.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/README.md -------------------------------------------------------------------------------- /README.zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/README.zh-CN.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/jest.config.js -------------------------------------------------------------------------------- /manifest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/manifest.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /public/_locales/en/messages.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/public/_locales/en/messages.json -------------------------------------------------------------------------------- /public/_locales/ja/messages.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/public/_locales/ja/messages.json -------------------------------------------------------------------------------- /public/_locales/ko/messages.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/public/_locales/ko/messages.json -------------------------------------------------------------------------------- /public/_locales/zh_CN/messages.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/public/_locales/zh_CN/messages.json -------------------------------------------------------------------------------- /public/icon-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/public/icon-128.png -------------------------------------------------------------------------------- /public/icon-34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/public/icon-34.png -------------------------------------------------------------------------------- /public/logo-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/public/logo-dark.png -------------------------------------------------------------------------------- /src/assets/style/theme.scss: -------------------------------------------------------------------------------- 1 | .crx-class { 2 | color: pink; 3 | } 4 | -------------------------------------------------------------------------------- /src/chrome/i18n.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/chrome/i18n.ts -------------------------------------------------------------------------------- /src/chrome/localStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/chrome/localStorage.ts -------------------------------------------------------------------------------- /src/chrome/message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/chrome/message.ts -------------------------------------------------------------------------------- /src/constant/promptGeneratePrompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/constant/promptGeneratePrompt.ts -------------------------------------------------------------------------------- /src/constant/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/constant/style.ts -------------------------------------------------------------------------------- /src/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/global.d.ts -------------------------------------------------------------------------------- /src/pages/background/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/background/index.ts -------------------------------------------------------------------------------- /src/pages/background/lib/infra/chatGPT.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/background/lib/infra/chatGPT.ts -------------------------------------------------------------------------------- /src/pages/background/lib/service/slotsManipulatorService.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/background/lib/service/slotsManipulatorService.test.ts -------------------------------------------------------------------------------- /src/pages/background/lib/service/slotsManipulatorService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/background/lib/service/slotsManipulatorService.ts -------------------------------------------------------------------------------- /src/pages/background/lib/storage/apiKeyStorage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/background/lib/storage/apiKeyStorage.test.ts -------------------------------------------------------------------------------- /src/pages/background/lib/storage/apiKeyStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/background/lib/storage/apiKeyStorage.ts -------------------------------------------------------------------------------- /src/pages/background/lib/storage/chatHistoryStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/background/lib/storage/chatHistoryStorage.ts -------------------------------------------------------------------------------- /src/pages/background/lib/storage/onOffStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/background/lib/storage/onOffStorage.ts -------------------------------------------------------------------------------- /src/pages/background/lib/storage/quickChatHistoryStorage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/background/lib/storage/quickChatHistoryStorage.test.ts -------------------------------------------------------------------------------- /src/pages/background/lib/storage/quickChatHistoryStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/background/lib/storage/quickChatHistoryStorage.ts -------------------------------------------------------------------------------- /src/pages/background/lib/storage/slotStorage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/background/lib/storage/slotStorage.test.ts -------------------------------------------------------------------------------- /src/pages/background/lib/storage/slotStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/background/lib/storage/slotStorage.ts -------------------------------------------------------------------------------- /src/pages/background/lib/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/background/lib/utils/logger.ts -------------------------------------------------------------------------------- /src/pages/content/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/index.ts -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/App.tsx -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/DragGPT.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/DragGPT.tsx -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/components/DraggableBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/components/DraggableBox.tsx -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/components/GPTRequestButton.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/components/GPTRequestButton.test.tsx -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/components/GPTRequestButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/components/GPTRequestButton.tsx -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/components/messageBox/ErrorMessageBox.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/components/messageBox/ErrorMessageBox.test.tsx -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/components/messageBox/ErrorMessageBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/components/messageBox/ErrorMessageBox.tsx -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/components/messageBox/MessageBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/components/messageBox/MessageBox.tsx -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/components/messageBox/ResponseMessageBox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/components/messageBox/ResponseMessageBox.tsx -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/constant/elementId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/constant/elementId.ts -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/emotion/EmotionCacheProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/emotion/EmotionCacheProvider.tsx -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/emotion/FontProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/emotion/FontProvider.tsx -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/emotion/ResetStyleProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/emotion/ResetStyleProvider.tsx -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/hooks/useRootOutsideClick.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/hooks/useRootOutsideClick.ts -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/hooks/useSelectedSlot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/hooks/useSelectedSlot.ts -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/index.tsx -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/utils/delayPromise.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/utils/delayPromise.ts -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/utils/getPositionOnScreen.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/utils/getPositionOnScreen.test.ts -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/utils/getPositionOnScreen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/utils/getPositionOnScreen.ts -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/utils/getSafePixel.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/utils/getSafePixel.test.ts -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/utils/getSafePixel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/utils/getSafePixel.ts -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/utils/selection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/utils/selection.ts -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/xState/dragStateMachine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/xState/dragStateMachine.ts -------------------------------------------------------------------------------- /src/pages/content/src/ContentScriptApp/xState/dragStateMachine.typegen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/content/src/ContentScriptApp/xState/dragStateMachine.typegen.ts -------------------------------------------------------------------------------- /src/pages/content/style.scss: -------------------------------------------------------------------------------- 1 | @import "@assets/style/theme.scss"; 2 | -------------------------------------------------------------------------------- /src/pages/options/index.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/pages/options/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/options/index.html -------------------------------------------------------------------------------- /src/pages/options/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/options/index.tsx -------------------------------------------------------------------------------- /src/pages/options/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/options/src/App.tsx -------------------------------------------------------------------------------- /src/pages/options/src/components/ChatHistory.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/options/src/components/ChatHistory.tsx -------------------------------------------------------------------------------- /src/pages/options/src/components/ChatHistoryHeader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/options/src/components/ChatHistoryHeader.tsx -------------------------------------------------------------------------------- /src/pages/options/src/components/ChatSessionGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/options/src/components/ChatSessionGroup.tsx -------------------------------------------------------------------------------- /src/pages/options/src/components/ChatSessionGroupHeader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/options/src/components/ChatSessionGroupHeader.tsx -------------------------------------------------------------------------------- /src/pages/options/src/components/EmptySession.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/options/src/components/EmptySession.tsx -------------------------------------------------------------------------------- /src/pages/options/src/components/PleaseSelectSession.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/options/src/components/PleaseSelectSession.tsx -------------------------------------------------------------------------------- /src/pages/options/src/components/layout/ChatHistoryMainLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/options/src/components/layout/ChatHistoryMainLayout.tsx -------------------------------------------------------------------------------- /src/pages/options/src/components/layout/ConditionalRender.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/options/src/components/layout/ConditionalRender.tsx -------------------------------------------------------------------------------- /src/pages/options/src/pages/Main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/options/src/pages/Main.tsx -------------------------------------------------------------------------------- /src/pages/popup/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/App.tsx -------------------------------------------------------------------------------- /src/pages/popup/Popup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/Popup.tsx -------------------------------------------------------------------------------- /src/pages/popup/components/SlotDetail.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/components/SlotDetail.tsx -------------------------------------------------------------------------------- /src/pages/popup/components/SlotListItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/components/SlotListItem.tsx -------------------------------------------------------------------------------- /src/pages/popup/components/StyledButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/components/StyledButton.tsx -------------------------------------------------------------------------------- /src/pages/popup/components/layout/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/components/layout/Footer.tsx -------------------------------------------------------------------------------- /src/pages/popup/components/layout/MainLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/components/layout/MainLayout.tsx -------------------------------------------------------------------------------- /src/pages/popup/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/index.html -------------------------------------------------------------------------------- /src/pages/popup/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/index.tsx -------------------------------------------------------------------------------- /src/pages/popup/pages/NoApiKeyPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/pages/NoApiKeyPage.tsx -------------------------------------------------------------------------------- /src/pages/popup/pages/QuickChattingPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/pages/QuickChattingPage.tsx -------------------------------------------------------------------------------- /src/pages/popup/pages/SlotListPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/pages/SlotListPage.tsx -------------------------------------------------------------------------------- /src/pages/popup/xState/popupStateMachine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/xState/popupStateMachine.ts -------------------------------------------------------------------------------- /src/pages/popup/xState/popupStateMachine.typegen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/xState/popupStateMachine.typegen.ts -------------------------------------------------------------------------------- /src/pages/popup/xState/slotListPageStateMachine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/xState/slotListPageStateMachine.ts -------------------------------------------------------------------------------- /src/pages/popup/xState/slotListPageStateMachine.typegen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/pages/popup/xState/slotListPageStateMachine.typegen.ts -------------------------------------------------------------------------------- /src/shared/component/AssistantChat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/component/AssistantChat.tsx -------------------------------------------------------------------------------- /src/shared/component/ChatCollapse.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/component/ChatCollapse.tsx -------------------------------------------------------------------------------- /src/shared/component/ChatText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/component/ChatText.tsx -------------------------------------------------------------------------------- /src/shared/component/FontProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/component/FontProvider.tsx -------------------------------------------------------------------------------- /src/shared/component/ResetStyleProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/component/ResetStyleProvider.tsx -------------------------------------------------------------------------------- /src/shared/component/StyleProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/component/StyleProvider.tsx -------------------------------------------------------------------------------- /src/shared/component/UserChat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/component/UserChat.tsx -------------------------------------------------------------------------------- /src/shared/hook/useBackgroundMessage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/hook/useBackgroundMessage.tsx -------------------------------------------------------------------------------- /src/shared/hook/useCopyClipboard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/hook/useCopyClipboard.ts -------------------------------------------------------------------------------- /src/shared/hook/useGeneratedId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/hook/useGeneratedId.ts -------------------------------------------------------------------------------- /src/shared/hook/useScrollDownEffect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/hook/useScrollDownEffect.ts -------------------------------------------------------------------------------- /src/shared/services/getGPTResponseAsStream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/services/getGPTResponseAsStream.ts -------------------------------------------------------------------------------- /src/shared/slot/createNewChatGPTSlot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/slot/createNewChatGPTSlot.ts -------------------------------------------------------------------------------- /src/shared/ts-utils/exhaustiveMatchingGuard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/ts-utils/exhaustiveMatchingGuard.ts -------------------------------------------------------------------------------- /src/shared/utils/generateId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/utils/generateId.ts -------------------------------------------------------------------------------- /src/shared/xState/chatStateMachine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/xState/chatStateMachine.ts -------------------------------------------------------------------------------- /src/shared/xState/chatStateMachine.typegen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/xState/chatStateMachine.typegen.ts -------------------------------------------------------------------------------- /src/shared/xState/streamChatStateMachine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/xState/streamChatStateMachine.ts -------------------------------------------------------------------------------- /src/shared/xState/streamChatStateMachine.typegen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/src/shared/xState/streamChatStateMachine.typegen.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /test-utils/jest.setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/test-utils/jest.setup.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/tsconfig.json -------------------------------------------------------------------------------- /utils/log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/log.ts -------------------------------------------------------------------------------- /utils/manifest-parser/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/manifest-parser/index.ts -------------------------------------------------------------------------------- /utils/plugins/add-hmr.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/plugins/add-hmr.ts -------------------------------------------------------------------------------- /utils/plugins/custom-dynamic-import.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/plugins/custom-dynamic-import.ts -------------------------------------------------------------------------------- /utils/plugins/make-manifest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/plugins/make-manifest.ts -------------------------------------------------------------------------------- /utils/reload/constant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/reload/constant.ts -------------------------------------------------------------------------------- /utils/reload/initReloadClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/reload/initReloadClient.ts -------------------------------------------------------------------------------- /utils/reload/initReloadServer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/reload/initReloadServer.ts -------------------------------------------------------------------------------- /utils/reload/injections/script.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/reload/injections/script.ts -------------------------------------------------------------------------------- /utils/reload/injections/view.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/reload/injections/view.ts -------------------------------------------------------------------------------- /utils/reload/interpreter/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/reload/interpreter/index.ts -------------------------------------------------------------------------------- /utils/reload/interpreter/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/reload/interpreter/types.ts -------------------------------------------------------------------------------- /utils/reload/rollup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/reload/rollup.config.ts -------------------------------------------------------------------------------- /utils/reload/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/utils/reload/utils.ts -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/vite.config.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jonghakseo/drag-gpt-extension/HEAD/yarn.lock --------------------------------------------------------------------------------