From 3df45f491c6b0aa0829e51056704132b83648f66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=A8=E9=9C=96=E9=93=83?= Date: Thu, 28 May 2026 22:20:16 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= =?UTF-8?q?=EF=BC=8C=E7=A7=BB=E9=99=A4=E8=AE=BE=E7=BD=AE=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - README.md: 移除 entrypoints/options/ 目录说明 - AGENTS.md: 更新项目结构描述,移除 options/ 入口点 --- AGENTS.md | 2 +- README.md | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 8a9b20d..82efa64 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -45,7 +45,7 @@ Pre-commit hook(`.husky/pre-commit` 调用 `lint-staged`,任一步骤返回 ``` src/ # 源代码根目录 config/features.tsx # 功能定义(路由 + 元数据的单一事实来源) - entrypoints/ # 扩展入口点 (popup/, options/, sidepanel/, background.ts, content.ts) + entrypoints/ # 扩展入口点 (popup/, sidepanel/, background.ts, content.ts) pages/ # 功能页面组件 (懒加载) components/ # 可复用 UI 组件 components/ui/ # shadcn/ui 基础组件 (button, dialog, select 等) diff --git a/README.md b/README.md index 339b113..bc99572 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,6 @@ │ │ └── features.tsx # 功能定义与路由映射 │ ├── entrypoints/ # 扩展程序入口点 │ │ ├── popup/ # 点击图标弹出的主界面 -│ │ ├── options/ # 扩展程序设置页面 │ │ ├── sidepanel/ # 浏览器侧边栏集成 │ │ ├── background.ts # 后台 Service Worker │ │ └── content.ts # 网页注入脚本