@wanji_dsh/dsh-sales 0.10.3 → 0.10.5

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。
@@ -211,9 +215,11 @@ npm run pack:distribution --workspace @wanji_dsh/dsh-sales -- --out /绝对路
211
215
 
212
216
  npm公开主包只带用户文档、业务代码及固定资源清单;内部计划、验证原始日志及发布回执留在仓库。三平台冻结资源继续按固定摘要由Host下载。具体本地验证与发布状态见仓库的npm迁移设计和发布回执。
213
217
 
214
- ## 插件自动更新(0.10.0 起)
218
+ ## 版本与更新
219
+
220
+ 万机大脑中的销售助手会查询公司市场。有新版本时,页头「版本与更新」显示绿点,展开可查看版本和更新路径。请在「万机插件中心 → 已安装 → 销售助手」更新。安装后若需重启,面板会分别显示正在使用和已安装的版本。
215
221
 
216
- 本功能已随 0.10.0 正式发布,归档与验证结果见[生产回执](docs/releases/2026-11-17-sales-0100-npm-production.md)。首次手动安装包含此功能的 npm 版本后,默认自动检查并在空闲时安装同一 minor 的正式补丁,无需打开面板或勾选开关。页头「版本与更新」可查看进度或关闭自动安装;主动关闭的选择会跨重启保留。安装前等待保存和任务完成,跨 minor 仍需确认。当前实测 DSH 安装完成后可能需要重启应用,新旧运行版本会分别显示;不会强制重启。保留消息、草稿、CRM 配置和组件缓存,不修改 DSH 源码。行为、失败恢复与迁移入口见[版本与更新指南](docs/auto-update.md)。
222
+ 标准 DSH 的 npm 自动更新功能随 0.10.0 发布。首次按 npm 包名安装后,默认自动检查并在空闲时安装同一 minor 的正式补丁。页头「版本与更新」可查看进度或关闭自动安装。关闭的选择会跨重启保留。安装前等待保存和任务完成,跨 minor 仍需确认。安装后需要重启时,面板分别显示运行和安装版本。详见[版本与更新指南](docs/auto-update.md)和[生产回执](docs/releases/2026-11-17-sales-0100-npm-production.md)。
217
223
 
218
224
  ## 2026-11-16 系统修复与验收
219
225