@wanji_dsh/dsh-sales 0.10.2 → 0.10.4

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/README.md CHANGED
@@ -52,6 +52,10 @@ Use `npm pack --workspace @wanji_dsh/dsh-sales` for local package inspection; `p
52
52
 
53
53
  Synchronization requires the Host and WeChat on the same computer and a matching verified component. Windows, Apple Silicon and Intel require independent build/acceptance records; Intel first-use initialization remains unverified on native Intel hardware. Current Mac initialization still depends on SIP/debugging conditions described in the guide. Only history already present on the computer can be read. File notifications and polling target near-real-time updates, not a measured latency guarantee. AI processing still uses configured providers. Initial CRM/call snapshots remain one-time and do not refresh on every message. Order/payment execution is outside this plugin.
54
54
 
55
+ ## Knowledge for reply drafts
56
+
57
+ Reply drafts follow the same rules in every environment. Set `config.knowledgeBaseIds` to retrieve from the specified libraries with source and policy validation. Without that setting, drafts use the current conversation and any available CRM context. Prices, policies, and product capabilities still require evidence. Failures from a configured retrieval service appear in the draft panel.
58
+
55
59
  ## Knowledge test workspace
56
60
 
57
61
  Install and configure `@wxg-prc-cpg/dsh-weknora` separately in the intended profile. Enable `listKnowledgeBases`, `search`, and `readDocument`; explicitly disable `ask`. That connector owns retrieval credentials. Sales evaluation credentials are configured separately on the sales Host and never sent to the Client.
package/README.zh.md CHANGED
@@ -63,6 +63,10 @@ npm run build --workspace @wanji_dsh/dsh-sales
63
63
 
64
64
  本单结构化 `approvedOffer` 保存公司批准的金额、周期、门店/账号合计、模块、排除项和赠送权益;它不代表客户已接受。`start_basis` 只有资料明确时才提供,年费不能自动推定开通日起算。`dataAccess` 默认只允许脱敏资料,演示许可不等于真实账号试录、迁移或免费试用许可。模型核对仍有漏检和误检可能,必须结合保存的开放多轮原文审阅,不能用单测数量代替销售质量判断。详见仓库 `docs/sales-copy-open-quality-2026-11-12.md`。
65
65
 
66
+ ## 回复资料检索
67
+
68
+ 销售助手在各环境使用相同的起草规则。配置 `config.knowledgeBaseIds` 后,回复只检索指定知识库,并校验引用和政策。未配置时,使用当前会话及已有的 CRM 上下文起草,价格、政策和产品能力仍需要证据。已配置的检索服务发生错误时,页面会显示原因。
69
+
66
70
  ## 知识库测试页
67
71
 
68
72
  在目标 profile 中单独安装并配置 `@wxg-prc-cpg/dsh-weknora`,开启 `listKnowledgeBases`、`search`、`readDocument`,显式关闭 `ask`。检索凭据由该插件管理;销售助手的评测凭据在自己的 Host 配置中独立引用,不发送给 Client。