From b1501c74f4cc93072cace530831205aca38d29a5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 21:47:57 +0000 Subject: [PATCH 1/2] :arrow_up: auto update by pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/hadialqattan/pycln: v2.1.3 → v2.6.0](https://github.com/hadialqattan/pycln/compare/v2.1.3...v2.6.0) - [github.com/pycqa/isort: 5.12.0 → 7.0.0](https://github.com/pycqa/isort/compare/5.12.0...7.0.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 23.7.0 → 25.12.0](https://github.com/psf/black-pre-commit-mirror/compare/23.7.0...25.12.0) - [github.com/pre-commit/mirrors-prettier: v3.0.3 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.3...v4.0.0-alpha.8) --- .pre-commit-config.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index be6618f..1479d8e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,29 +7,29 @@ ci: autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks" repos: - repo: https://github.com/hadialqattan/pycln - rev: v2.1.3 + rev: v2.6.0 hooks: - id: pycln args: [--config, pyproject.toml] - stages: [commit] + stages: [pre-commit] - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 7.0.0 hooks: - id: isort - stages: [commit] + stages: [pre-commit] - - repo: https://github.com/psf/black - rev: 23.7.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.12.0 hooks: - id: black - stages: [commit] + stages: [pre-commit] - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v4.0.0-alpha.8 hooks: - id: prettier - stages: [commit] + stages: [pre-commit] - repo: https://github.com/nonebot/nonemoji rev: v0.1.4 From e6c493cb2e68944b09294207210b58c24b74056f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 21:48:28 +0000 Subject: [PATCH 2/2] :rotating_light: auto fix by pre-commit hooks --- frontend/.eslintrc.cjs | 16 +- frontend/openapi-ts.config.ts | 16 +- frontend/postcss.config.js | 10 +- frontend/src/App.vue | 8 +- frontend/src/assets/main.css | 2 +- frontend/src/client/api/index.ts | 6 +- frontend/src/client/api/schemas.gen.ts | 1528 +++++++++-------- frontend/src/client/api/services.gen.ts | 257 +-- frontend/src/client/api/types.gen.ts | 829 ++++----- frontend/src/client/init.ts | 82 +- frontend/src/client/useMonacoWorker.ts | 8 +- frontend/src/client/utils.ts | 74 +- frontend/src/components/ChartItem.vue | 96 +- frontend/src/components/DrawerItem.vue | 26 +- frontend/src/components/EditorItem.vue | 36 +- .../components/Modals/AddBot/AddBotIndex.vue | 52 +- .../Modals/AddBot/GetBotBasicInfo.vue | 63 +- .../Modals/AddBot/InstallationItem.vue | 128 +- .../components/Modals/AddBot/MirrorSelect.vue | 50 +- .../src/components/Modals/AddBot/index.ts | 58 +- .../Modals/CreateBot/AdapterSelect.vue | 28 +- .../components/Modals/CreateBot/BotBasic.vue | 27 +- .../Modals/CreateBot/CreateBotIndex.vue | 72 +- .../Modals/CreateBot/DriverSelect.vue | 28 +- .../Modals/CreateBot/InstallationItem.vue | 130 +- .../Modals/CreateBot/ItemSelect.vue | 81 +- .../Modals/CreateBot/MirrorSelect.vue | 46 +- .../Modals/CreateBot/TemplateSelect.vue | 24 +- .../src/components/Modals/CreateBot/index.ts | 60 +- .../components/Modals/Global/FolderSelect.vue | 122 +- .../src/components/Modals/Global/LogView.vue | 96 +- frontend/src/components/ToastItem.vue | 34 +- frontend/src/components/header/BotChoose.vue | 26 +- .../src/components/header/HeaderIndex.vue | 12 +- .../components/header/NotificationItem.vue | 20 +- frontend/src/components/header/StatusItem.vue | 4 +- frontend/src/components/header/TabBar.vue | 58 +- frontend/src/components/header/TopMenu.vue | 38 +- .../src/components/header/WebUISettings.vue | 18 +- frontend/src/components/sidebar/SideMenu.vue | 43 +- .../src/components/sidebar/SidebarIndex.vue | 22 +- frontend/src/main.ts | 6 +- frontend/src/router/client.ts | 76 +- frontend/src/router/index.ts | 48 +- frontend/src/stores/ChartStore.ts | 66 +- frontend/src/stores/CustomStore.ts | 101 +- frontend/src/stores/NoneBotStore.ts | 98 +- frontend/src/stores/StatusStore.ts | 30 +- frontend/src/stores/ToastStore.ts | 70 +- frontend/src/stores/index.ts | 12 +- frontend/src/stores/viewHistoryRecorder.ts | 63 +- frontend/src/types.ts | 26 +- .../src/views/Dashboard/DashboardIndex.vue | 34 +- frontend/src/views/Dashboard/MachineStat.vue | 242 +-- frontend/src/views/Dashboard/types.ts | 114 +- .../ExtensionManage/ExtensionManageIndex.vue | 160 +- frontend/src/views/Login/LoginForm.vue | 54 +- frontend/src/views/Login/LoginIndex.vue | 20 +- frontend/src/views/NotFound.vue | 6 +- frontend/src/views/Operation/BotDetails.vue | 96 +- frontend/src/views/Operation/OperationBar.vue | 118 +- .../src/views/Operation/OperationIndex.vue | 6 +- frontend/src/views/Operation/TerminalItem.vue | 143 +- .../src/views/Settings/DotenvEditorModal.vue | 87 +- .../src/views/Settings/DotenvManageModal.vue | 125 +- .../Settings/InputTemplate/ArrayInput.vue | 85 +- .../Settings/InputTemplate/BooleanInput.vue | 14 +- .../Settings/InputTemplate/NumberInput.vue | 45 +- .../Settings/InputTemplate/SelectInput.vue | 40 +- .../Settings/InputTemplate/StringInput.vue | 44 +- frontend/src/views/Settings/SearchBar.vue | 103 +- frontend/src/views/Settings/SettingCard.vue | 20 +- frontend/src/views/Settings/SettingsIndex.vue | 10 +- frontend/src/views/Settings/client.ts | 188 +- frontend/src/views/Store/ExtensionCard.vue | 194 ++- .../src/views/Store/ExtensionContainer.vue | 6 +- frontend/src/views/Store/Pagination.vue | 74 +- frontend/src/views/Store/SearchBar.vue | 153 +- frontend/src/views/Store/StoreIndex.vue | 24 +- frontend/src/views/Store/client.ts | 141 +- frontend/src/views/Store/types.ts | 146 +- frontend/src/views/ViewIndex.vue | 6 +- frontend/src/views/WelcomeItem.vue | 18 +- frontend/tailwind.config.js | 24 +- frontend/vite.config.ts | 16 +- nb_cli_plugin_webui/app/config.py | 12 +- .../app/handlers/process/utils.py | 6 +- nb_cli_plugin_webui/app/handlers/store.py | 12 +- 88 files changed, 3913 insertions(+), 3603 deletions(-) diff --git a/frontend/.eslintrc.cjs b/frontend/.eslintrc.cjs index 50ee96f..e7ab8f6 100644 --- a/frontend/.eslintrc.cjs +++ b/frontend/.eslintrc.cjs @@ -1,15 +1,15 @@ /* eslint-env node */ -require('@rushstack/eslint-patch/modern-module-resolution') +require("@rushstack/eslint-patch/modern-module-resolution"); module.exports = { root: true, extends: [ - 'plugin:vue/vue3-essential', - 'eslint:recommended', - '@vue/eslint-config-typescript', - '@vue/eslint-config-prettier/skip-formatting' + "plugin:vue/vue3-essential", + "eslint:recommended", + "@vue/eslint-config-typescript", + "@vue/eslint-config-prettier/skip-formatting", ], parserOptions: { - ecmaVersion: 'latest' - } -} + ecmaVersion: "latest", + }, +}; diff --git a/frontend/openapi-ts.config.ts b/frontend/openapi-ts.config.ts index e4279b9..642c32f 100644 --- a/frontend/openapi-ts.config.ts +++ b/frontend/openapi-ts.config.ts @@ -1,13 +1,13 @@ -import { defineConfig } from '@hey-api/openapi-ts' +import { defineConfig } from "@hey-api/openapi-ts"; export default defineConfig({ - client: '@hey-api/client-fetch', - input: '../openapi.json', + client: "@hey-api/client-fetch", + input: "../openapi.json", output: { - format: 'prettier', - path: './src/client/api' + format: "prettier", + path: "./src/client/api", }, services: { - asClass: true - } -}) + asClass: true, + }, +}); diff --git a/frontend/postcss.config.js b/frontend/postcss.config.js index ffde384..750d0a3 100644 --- a/frontend/postcss.config.js +++ b/frontend/postcss.config.js @@ -1,8 +1,8 @@ export default { plugins: { - 'postcss-import': {}, - 'tailwindcss/nesting': 'postcss-nesting', + "postcss-import": {}, + "tailwindcss/nesting": "postcss-nesting", tailwindcss: {}, - autoprefixer: {} - } -} + autoprefixer: {}, + }, +}; diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 13c4a63..e2af2f2 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,9 +1,9 @@