@tbox.cn/app-module-customer-service 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tbox.cn/app-module-customer-service",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "商圈客服承接模块:服务政策 FAQ 知识检索(命中正文作答/无结果联系客服卡)。",
6
6
  "exports": {
@@ -19,9 +19,9 @@
19
19
  "./package.json": "./package.json"
20
20
  },
21
21
  "dependencies": {
22
- "@tbox.cn/app-sdk": "0.17.0",
23
- "@tbox.cn/app-contracts": "0.9.0",
24
- "@tbox.cn/app-contracts-mall": "0.9.0"
22
+ "@tbox.cn/app-sdk": "0.20.0",
23
+ "@tbox.cn/app-contracts": "0.11.0",
24
+ "@tbox.cn/app-contracts-mall": "0.11.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "zod": "3.25.76",
package/tbox.module.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "name": "module-customer-service",
4
+ "title": "客服问答",
5
+ "description": "商场常见问题解答(FAQ 检索与本地知识库)",
4
6
  "version": "0.1.0",
5
7
  "kind": "business",
6
8
  "risk": {
@@ -10,7 +10,7 @@ import { KnowledgeSearchAdapter, EmptyCustomerServiceAdapter } from '../src/serv
10
10
  import { projectCustomerServiceFaq } from '../src/server/projections';
11
11
 
12
12
  const testRequestContext = (userId = 'u_1') => ({
13
- identity: { userId, source: 'dev' as const },
13
+ identity: { userId, source: 'local' as const },
14
14
  attributes: { mall: { miniAppId: 'app', mallId: 'mall-1' } },
15
15
  });
16
16