dsh-pre-duediligence 0.1.39 → 0.1.40
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/CHANGELOG.md +6 -0
- package/README.md +5 -5
- package/docs/RELEASE-0.1.40.md +11 -0
- package/install.sh +1 -1
- package/lib/client.js +462 -440
- package/lib/index.js +69 -34
- package/lib/index.js.map +4 -4
- package/lib/types/company-portrait-view.d.ts +5 -0
- package/lib/types/company-portrait.d.ts +14 -0
- package/lib/types/result-summary.d.ts +3 -1
- package/package.json +1 -1
- package/skills/qcc-previsit-onepager/SKILL.md +2 -2
- package/skills/qcc-previsit-onepager/references/reasoning-framework.md +10 -1
- package/skills/qcc-previsit-onepager/references/report-template.md +5 -2
- package/skills/qcc-previsit-onepager/references/tool-routing.md +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
# 更新日志
|
|
2
|
+
## [0.1.40] - 2026-09-18
|
|
3
|
+
|
|
4
|
+
- 工商与企业画像专用摘要保留地区、国标行业、企查查行业层级、主营产品和规模;核心字段不受通用 18 字段上限影响,兼容旧文本。
|
|
5
|
+
- 资料采集仅展示来源画像;产品空值不推断无业务,规模不代表营收或信用。报告与分析规范区分两套分类及来源独立性。
|
|
6
|
+
- 复访旧记录缺字段时标注首次取得/历史不可比,不把接口扩展写成企业变化,不改写旧报告。无新增查询路由或自动补查。
|
|
7
|
+
|
|
2
8
|
## [0.1.39] - 2026-09-16
|
|
3
9
|
|
|
4
10
|
- 默认停止注册实验报告工具、RPC 和卡片渲染器,避免与五阶段工作台形成重复入口。
|
package/README.md
CHANGED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
|
|
9
9
|
[安装与上手](#安装与三分钟上手) · [功能概览](#功能概览) · [兼容说明](docs/COMPATIBILITY.md) · [更新日志](CHANGELOG.md) · [历史文档](docs/archive/legacy-changes/README.md)
|
|
10
10
|
|
|
11
|
-
当前发布版本:**0.1.
|
|
11
|
+
当前发布版本:**0.1.40**。本版完善地区、分层行业、主营产品与规模的采集摘要,保留五阶段工作台及实验卡片默认关闭策略;详见 [发布说明](docs/RELEASE-0.1.40.md)。
|
|
12
12
|
|
|
13
13
|
## 安装与三分钟上手
|
|
14
14
|
|
|
15
15
|
访前尽调智能体:面向拜访前调查,提供企业尽调、客户尽调、客户背景调查、工商核验与风险信息整理;使用企查查 MCP,提供固定路由连续调用、主体确认、动态进度和可下载报告。
|
|
16
16
|
|
|
17
17
|
```sh
|
|
18
|
-
dsh plugin --profile web add dsh-pre-duediligence@0.1.
|
|
18
|
+
dsh plugin --profile web add dsh-pre-duediligence@0.1.40
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
请先满足下文的 DSH 与连接器要求;Better Sidebar 仅在需要可视化工作台时选装。安装后完整停止并重启对应 Profile。
|
|
@@ -100,7 +100,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/duhu2000/dsh-pre-duediligenc
|
|
|
100
100
|
安装脚本默认向 DSH Web profile 安装两个基础 Bundle:
|
|
101
101
|
|
|
102
102
|
1. `dsh-mcp-connector@0.2.32`:提供通用 MCP 连接器与市场,通过“企查查·企业工商”完成 OAuth,并动态挂载企业、风险、知产、经营、历史和董监高 MCP。
|
|
103
|
-
2. `dsh-pre-duediligence@0.1.
|
|
103
|
+
2. `dsh-pre-duediligence@0.1.40`:提供左侧智能体入口、原生会话首页、提示词生成器、Host 执行门和 Skill。
|
|
104
104
|
|
|
105
105
|
默认不会安装 Better Sidebar。需要 Session 级可视化工作台时显式开启:
|
|
106
106
|
|
|
@@ -128,7 +128,7 @@ dsh web
|
|
|
128
128
|
|
|
129
129
|
~~~bash
|
|
130
130
|
dsh plugin --profile web add dsh-mcp-connector@0.2.32
|
|
131
|
-
dsh plugin --profile web add dsh-pre-duediligence@0.1.
|
|
131
|
+
dsh plugin --profile web add dsh-pre-duediligence@0.1.40 --allow-build=node-pty,dsh-pre-duediligence
|
|
132
132
|
dsh web
|
|
133
133
|
~~~
|
|
134
134
|
|
|
@@ -144,7 +144,7 @@ dsh web
|
|
|
144
144
|
dsh plugin --profile web list --depth 0
|
|
145
145
|
~~~
|
|
146
146
|
|
|
147
|
-
应始终看到所选基线的 Connector 和 `dsh-pre-duediligence@0.1.
|
|
147
|
+
应始终看到所选基线的 Connector 和 `dsh-pre-duediligence@0.1.40`;仅在显式启用或原本已安装时看到 Sidebar。重启 DSH 并连接“企查查·企业工商”后,在左侧菜单点击“访前尽调”进入初始原生会话。无 Sidebar 时可继续生成提示词、回填/发送草稿并在会话中阅读报告;五项流程按钮会提示安装可选工作台。安装 Sidebar 时,右侧工作台初始仍关闭;点击业务按钮可主动打开,正式发送任务被接纳后会自动展开一次。仅回填不会展开,收起后轮询不会重新打开。其右侧“+”菜单不会列出该入口,普通会话保持 DSH 原样。
|
|
148
148
|
|
|
149
149
|
### 无 Sidebar 功能边界
|
|
150
150
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# 0.1.40:工商与企业画像字段适配
|
|
2
|
+
|
|
3
|
+
升级:`dsh plugin --profile web add dsh-pre-duediligence@0.1.40`,重启 DSH 并刷新页面。
|
|
4
|
+
|
|
5
|
+
- 工商登记显示注册地区与分层国标行业,地区代码在详情中保留。
|
|
6
|
+
- 企业画像显示简介、企查查行业、最多 10 项返回产品、规模及数据加工摘要。
|
|
7
|
+
- 兼容旧行业文本及缺字段;来源数据不等同分析结论。产品空数组不推断无主营业务。
|
|
8
|
+
- 复访对比必须区分首次取得与企业真实变化。旧报告及历史记录不改写,不自动补查。
|
|
9
|
+
- 仅适配已有 registration/profile 查询;主体绑定、固定路由、历史隔离、报告终态、实验卡片默认关闭保持不变。
|
|
10
|
+
- 新增 portrait 为可选持久化摘要,旧记录继续走原有摘要显示。并非完整工具结果备份:简介/概览各限 1200 字、产品最多 10 项,其他原始信息仍见会话工具结果。
|
|
11
|
+
- 本轮使用合成数据测试,不代表真实 DSH 或生产 QCC 返回已联调验收。
|
package/install.sh
CHANGED
|
@@ -5,7 +5,7 @@ set -euo pipefail
|
|
|
5
5
|
readonly PROFILE_NAME="${DSH_PROFILE:-web}"
|
|
6
6
|
readonly BASELINE="${DSH_PREVISIT_BASELINE:-stable}"
|
|
7
7
|
readonly WORKBENCH_MODE="${DSH_PREVISIT_WORKBENCH:-off}"
|
|
8
|
-
readonly PREVISIT_SPEC="${DSH_PRE_DUEDILIGENCE_SPEC:-dsh-pre-duediligence@0.1.
|
|
8
|
+
readonly PREVISIT_SPEC="${DSH_PRE_DUEDILIGENCE_SPEC:-dsh-pre-duediligence@0.1.40}"
|
|
9
9
|
readonly LEGACY_PREVISIT_NAME="qcc-previsit-dsh"
|
|
10
10
|
readonly LEGACY_QCC_OAUTH_NAME="qcc-dsh-mcp-oauth"
|
|
11
11
|
|