gitextract_4vih3sn_/ ├── .editorconfig ├── .githooks/ │ └── commit-msg ├── .github/ │ └── workflows/ │ └── ci.yml ├── .gitignore ├── .vscode/ │ └── settings.json ├── LICENSE ├── README.md ├── README.zh-CN.md ├── bin/ │ ├── install_linux.sh │ ├── install_macos.sh │ ├── install_windows.ps1 │ ├── uninstall_linux.sh │ ├── uninstall_macos.sh │ └── uninstall_windows.ps1 ├── commitlint.config.js ├── eslint.config.js ├── install.ps1 ├── install.sh ├── package.json ├── pre-commit.ts ├── prettier.config.cjs ├── rollup.config.ts ├── src/ │ ├── client/ │ │ ├── chat.ts │ │ ├── client.ts │ │ ├── general-client.ts │ │ └── index.ts │ ├── completion.ts │ ├── components/ │ │ ├── ChatPanel.scss │ │ ├── ChatPanel.tsx │ │ ├── CopilotIcon.tsx │ │ ├── DropdownWithInput.scss │ │ ├── DropdownWithInput.tsx │ │ ├── ModalBody.tsx │ │ ├── ModalCloseButton.scss │ │ ├── ModalCloseButton.tsx │ │ ├── ModalContent.tsx │ │ ├── ModalOverlay.scss │ │ ├── ModalOverlay.tsx │ │ ├── ModalTitle.tsx │ │ ├── ModelHeader.tsx │ │ ├── SettingsPanel.tsx │ │ ├── Spinner.tsx │ │ ├── SuggestionPanel.scss │ │ ├── SuggestionPanel.tsx │ │ ├── Switch.scss │ │ ├── Switch.tsx │ │ ├── icons/ │ │ │ ├── index.ts │ │ │ ├── nodejs.tsx │ │ │ └── settings.tsx │ │ └── preact-env.d.ts │ ├── constants.ts │ ├── errors/ │ │ ├── CommandError.ts │ │ ├── NoFreePortError.ts │ │ ├── PlatformError.ts │ │ └── index.ts │ ├── footer.scss │ ├── footer.tsx │ ├── global.d.ts │ ├── i18n/ │ │ ├── en.json │ │ ├── index.ts │ │ ├── t.spec.ts │ │ ├── t.ts │ │ └── zh-CN.json │ ├── index.ts │ ├── logging.ts │ ├── mac-server.ts │ ├── main.ts │ ├── modules/ │ │ ├── fs.ts │ │ ├── path.spec.ts │ │ ├── path.ts │ │ ├── url.spec.ts │ │ └── url.ts │ ├── patches/ │ │ ├── index.ts │ │ ├── jquery.ts │ │ ├── promise.spec.ts │ │ ├── promise.ts │ │ └── typora.ts │ ├── reset.d.ts │ ├── settings.ts │ ├── styles.scss │ ├── types/ │ │ ├── lsp.ts │ │ └── tools.ts │ ├── typora-utils.ts │ └── utils/ │ ├── cli-tools.ts │ ├── diff.ts │ ├── dom.ts │ ├── function.ts │ ├── logging.ts │ ├── lsp.ts │ ├── node-bridge.ts │ ├── observable.ts │ ├── random.ts │ ├── stream.ts │ ├── tools.proof.ts │ └── tools.ts ├── stylelint.config.js ├── test/ │ └── setup.ts ├── tsconfig.build.json ├── tsconfig.json └── vitest.config.ts