@reconcrap/boss-recommend-mcp 2.1.11 → 2.1.13
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 +6 -2
- package/package.json +1 -1
- package/skills/boss-chat/SKILL.md +2 -0
- package/skills/boss-recommend-pipeline/SKILL.md +2 -0
- package/skills/boss-recruit-pipeline/SKILL.md +2 -0
- package/src/chat-mcp.js +2174 -2174
- package/src/cli.js +129 -85
- package/src/core/reporting/legacy-csv.js +4 -15
- package/src/core/screening/index.js +33 -13
- package/src/domains/chat/run-service.js +83 -83
- package/src/domains/recommend/run-service.js +15 -15
- package/src/index.js +238 -18
package/README.md
CHANGED
|
@@ -225,8 +225,9 @@ node src/cli.js start
|
|
|
225
225
|
如果检测到 legacy Boss server entries,installer 会:
|
|
226
226
|
|
|
227
227
|
- 保留非 Boss MCP server。
|
|
228
|
-
-
|
|
229
|
-
-
|
|
228
|
+
- Trae/Trae-CN 默认写入三个小 toolset server:`boss-recommend`(`BOSS_RECOMMEND_MCP_TOOLSET=recommend`)、`boss-chat`(`chat`)、`boss-recruit`(`recruit`)。这样 recommend/chat/search 的 tool list 不会互相挤占 agent 可见工具预算。
|
|
229
|
+
- 其它宿主默认仍写入兼容统一 server:`boss-recommend -> npx -y @reconcrap/boss-recommend-mcp@<installed-version> start`。
|
|
230
|
+
- 如果传入 `--mcp-launch global-wrapper`,Trae/Trae-CN 同样会写入三个 toolset server,但 command 指向升级稳定 wrapper。该 wrapper 会加载 `~/.nvm/nvm.sh` 并执行当前全局 `boss-recommend-mcp start`,适合 macOS 上通过 `npm -g i @reconcrap/boss-recommend-mcp@latest` 持续升级。
|
|
230
231
|
- 从同一个 `mcp.json` 删除旧 `boss-recruit-mcp`、standalone `boss-chat`、旧本地 Boss repo 路径,避免 agent 继续调用 legacy 包。
|
|
231
232
|
- 在原文件旁生成 `mcp.json.boss-mcp-migration-*.bak`。
|
|
232
233
|
- 同步外部 skills 目录里的 `boss-recommend-pipeline`、`boss-recruit-pipeline`、`boss-chat`。
|
|
@@ -263,6 +264,7 @@ BOSS_RECOMMEND_EXTERNAL_SKILL_DIRS="/path/to/skills" boss-recommend-mcp install
|
|
|
263
264
|
BOSS_RECOMMEND_HOME # 统一状态目录,默认 ~/.boss-recommend-mcp
|
|
264
265
|
BOSS_CHAT_HOME # 覆盖 boss-chat 运行态目录;默认 ~/.boss-recommend-mcp/boss-chat
|
|
265
266
|
BOSS_RECOMMEND_SCREEN_CONFIG # 显式指定 screening-config.json 路径(最高优先级)
|
|
267
|
+
BOSS_RECOMMEND_MCP_TOOLSET # 可选收窄 MCP 工具:all|recommend|chat|recruit;Trae/Trae-CN installer 会自动设置
|
|
266
268
|
BOSS_RECOMMEND_MCP_CONFIG_TARGETS # JSON 数组或系统 path 分隔路径列表,指定额外 mcp.json 目标文件
|
|
267
269
|
BOSS_RECOMMEND_EXTERNAL_SKILL_DIRS # JSON 数组或系统 path 分隔路径列表,指定额外 skills 根目录
|
|
268
270
|
```
|
|
@@ -365,6 +367,8 @@ config/screening-config.example.json
|
|
|
365
367
|
- `debugPort`:未显式传 `port` 时,recommend / search / chat CDP-only MCP run 和健康检查默认连接这个 Chrome 调试端口。
|
|
366
368
|
- `outputDir`:recommend / search / chat 完成后的最终 CSV 与 report JSON 会写入这里;run state / checkpoint 仍保留在各自状态目录,方便 pause/resume/cancel。
|
|
367
369
|
- `llmThinkingLevel`:默认 `low`。可设为 `off/minimal/low/medium/high/auto/current`,用于控制 OpenAI-compatible LLM 的 thinking/reasoning 强度。
|
|
370
|
+
- `current`:不显式发送 thinking/reasoning 参数,并要求 LLM 返回 `{"passed": true/false, "summary": "少于100个中文词的筛选总结"}`;CSV 的 `判断依据(CoT)` 写入该 summary。
|
|
371
|
+
- 其他值:只要求 LLM 返回 `{"passed": true/false}`;若 provider 返回 reasoning / CoT 字段,CSV 的 `判断依据(CoT)` 写入该内容。
|
|
368
372
|
- `humanBehavior`:默认 `{ "enabled": true, "profile": "paced_with_rests", "restLevel": "low" }`。用于 recommend / search / chat 的可靠性实验,支持:
|
|
369
373
|
- `profile: "baseline"`:关闭人类节奏,保持确定性行为。
|
|
370
374
|
- `profile: "paced"`:启用 CDP-only Bezier 鼠标移动、较大按钮的安全 inset 点击点、分块 `Input.insertText`、列表 wheel/settle jitter,以及小的动作前后读秒。
|
package/package.json
CHANGED
|
@@ -13,6 +13,8 @@ description: "Use when users want Boss chat-page screening/outreach via the bund
|
|
|
13
13
|
|
|
14
14
|
## Tool Routing
|
|
15
15
|
|
|
16
|
+
Trae/Trae-CN split-server config exposes these under the `boss-chat` MCP server. Chat-only tasks should call `boss-chat/<tool>` when the host shows server-qualified tool names.
|
|
17
|
+
|
|
16
18
|
- 健康检查:`boss_chat_health_check`
|
|
17
19
|
- 只读获取聊天页岗位列表:`list_boss_chat_jobs`
|
|
18
20
|
- 预备并获取岗位列表:`prepare_boss_chat_run`
|
|
@@ -97,6 +97,8 @@ description: "Use when users want Boss recommend-page filtering/screening via bo
|
|
|
97
97
|
|
|
98
98
|
## Tool Usage
|
|
99
99
|
|
|
100
|
+
Trae/Trae-CN split-server config exposes these under the `boss-recommend` MCP server. 推荐页任务应调用 `boss-recommend/<tool>`;不要切到 `boss-chat` 或 `boss-recruit`。
|
|
101
|
+
|
|
100
102
|
- 岗位发现工具:`list_recommend_jobs`
|
|
101
103
|
- 用途:当用户需要为 cron / 一次性自动任务提前填写完整参数时,先用它读取推荐页岗位下拉框的全部可用岗位名;默认会复用/自动打开本机 9222 Chrome 并导航到推荐页。
|
|
102
104
|
- 输出:优先把 `job_names` 里的值作为后续 `overrides.job` / `confirmation.job_value`。
|
|
@@ -11,6 +11,8 @@ description: "Use when users want Boss search/recruit-page screening via the uni
|
|
|
11
11
|
|
|
12
12
|
## Tool Routing
|
|
13
13
|
|
|
14
|
+
Trae/Trae-CN split-server config exposes these under the `boss-recruit` MCP server. Search/recruit tasks should call `boss-recruit/<tool>` when the host shows server-qualified tool names.
|
|
15
|
+
|
|
14
16
|
- 同步启动:`run_recruit_pipeline`
|
|
15
17
|
- 异步启动:`start_recruit_pipeline_run`
|
|
16
18
|
- 查询进度:`get_recruit_pipeline_run`
|