From c834f8c59c4c587e8ad8ca03319b8498c38a2719 Mon Sep 17 00:00:00 2001 From: DrSmoothl <1787882683@qq.com> Date: Sun, 15 Feb 2026 16:46:11 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=20pyproject.toml=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6=EF=BC=8C=E8=B0=83=E6=95=B4=20setuptools=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BB=A5=E6=AD=A3=E7=A1=AE=E5=8C=85=E5=90=AB?= =?UTF-8?q?=E5=92=8C=E6=8E=92=E9=99=A4=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-webui-dist.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-webui-dist.yml b/.github/workflows/publish-webui-dist.yml index d917d60e..57424fb3 100644 --- a/.github/workflows/publish-webui-dist.yml +++ b/.github/workflows/publish-webui-dist.yml @@ -55,9 +55,13 @@ jobs: build-backend = "setuptools.build_meta" [tool.setuptools] - packages = ["maibot_dashboard"] include-package-data = true + [tool.setuptools.packages.find] + where = ["."] + include = ["maibot_dashboard"] + exclude = ["maibot_dashboard.dist*"] + [tool.setuptools.package-data] maibot_dashboard = ["dist/**"] EOF From b6441ea17bf581092a4bfd19b05af077c60e8f4d Mon Sep 17 00:00:00 2001 From: DrSmoothl <1787882683@qq.com> Date: Sun, 15 Feb 2026 16:46:52 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20WebUI=20=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/package.json | 2 +- dashboard/src/routes/404.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/package.json b/dashboard/package.json index 4266f5d4..bf98b1e5 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -1,7 +1,7 @@ { "name": "maibot-dashboard", "private": true, - "version": "0.11.6", + "version": "1.0.0", "type": "module", "scripts": { "dev": "vite", diff --git a/dashboard/src/routes/404.tsx b/dashboard/src/routes/404.tsx index ea6752fa..1f72ab52 100644 --- a/dashboard/src/routes/404.tsx +++ b/dashboard/src/routes/404.tsx @@ -24,7 +24,7 @@ export function NotFoundPage() { 页面未找到

- 抱歉,您访问的页面不存在或已被移除。 请检查 URL 是否正确,或返回首页继续浏览。 + 抱歉,您访问的页面不存在或已被移除。请检查 URL 是否正确,或返回首页继续浏览。