refactor(modules): 移除资源库模块对接
build / build (push) Successful in 1m56s

- modules.ts / QuickActions.vue / Chat.vue 去掉 resourcelibrary 的标签、落地页、快捷卡与例句
- 模块清单仍完全由后端 /api/agent/tools 下发驱动,前端不硬编码、不自行判权
This commit is contained in:
lijing
2026-10-12 16:10:45 +08:00
parent ab87a4b560
commit 946d953103
3 changed files with 0 additions and 8 deletions
-2
View File
@@ -48,7 +48,6 @@ const EXAMPLES: { text: string; module: string; tool?: string }[] = [
{ text: "看看我还有哪些作业没做", module: "coursehomework", tool: "homework.myList" },
{ text: "宿舍有什么通知需要我回执吗?", module: "dormnotice", tool: "dorm.myNotice" },
{ text: "报名秋季亲子运动会,2 人参加", module: "familyactivity", tool: "activity.signup" },
{ text: "帮我找一份语文课件", module: "resourcelibrary", tool: "resource.search" },
{ text: "我的专业发展积分是多少?", module: "profession", tool: "profession.myPoints" },
];
@@ -78,7 +77,6 @@ const TIPS: { key: RegExp; text: string }[] = [
{ key: /宿舍|回执/, text: "例:宿舍有什么通知需要我回执吗?我会列出通知并给出回执表单" },
{ key: /报名|活动/, text: "例:报名秋季亲子运动会,2 人参加,联系人张伟 13800000000" },
{ key: /审批|通过|驳回/, text: "例:把 101 号请假审批通过,意见「同意」" },
{ key: /资源|课件|教案|资料|试题/, text: "例:帮我找一份语文课件;想留存就说「收藏这份课件」" },
{ key: /积分|专业发展|记录|成果/, text: "查积分说「我的专业发展积分是多少」;要留痕说「发布一条听课记录」" },
];
const activeTip = computed(() =>