@roll-agent/smart-reply-agent 1.2.2 → 1.2.3
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/SKILL.md +7 -0
- package/package.json +2 -2
package/SKILL.md
CHANGED
|
@@ -37,6 +37,12 @@ npm 包名:`@roll-agent/smart-reply-agent`
|
|
|
37
37
|
1. 直接传完整绑定:`tenantId + recruiterBinding`
|
|
38
38
|
2. 便利代理模式:`recruiterUsername`(smart-reply 会先调用 `POST /resolve-recruiter-binding` 解析出 `tenantId + recruiterBinding`)
|
|
39
39
|
|
|
40
|
+
`target.conversationId` / `target.candidateId` 的来源约束:
|
|
41
|
+
|
|
42
|
+
- 应直接复用 `browser-use-agent.zhipin_read_messages`、`browser-use-agent.zhipin_open_chat` 或 `browser-use-agent.zhipin_get_candidate_info` 的真实输出
|
|
43
|
+
- 不要由 orchestrator 根据 `candidateName` 或左侧列表 `index` 自行重建
|
|
44
|
+
- 不要跨轮次缓存 `index` 再推断 target;BOSS 左侧消息列表会实时重排,`index` 不是稳定主键
|
|
45
|
+
|
|
40
46
|
招聘场景调用约束:
|
|
41
47
|
|
|
42
48
|
- 调用前应先尝试从页面读取 `candidateInfo.communicationPosition`、`candidateInfo.expectedLocation`、`candidateInfo.expectedPosition`
|
|
@@ -96,6 +102,7 @@ npm 包名:`@roll-agent/smart-reply-agent`
|
|
|
96
102
|
|
|
97
103
|
1. `browser-use-agent.zhipin_get_username()` → 获取当前 BOSS 账号 `username`
|
|
98
104
|
2. `browser-use-agent` 读取候选人资料、聊天记录或当前页面上下文,并从 `zhipin_read_messages` / `zhipin_get_candidate_info` 获取 `conversationId + candidateId`
|
|
105
|
+
- 一旦拿到这两个 ID,后续整个链路都应原样复用,不要再退回 `index`
|
|
99
106
|
3. 调用前先尝试补齐页面信号:
|
|
100
107
|
- `candidateInfo.communicationPosition`
|
|
101
108
|
- `candidateInfo.expectedLocation`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roll-agent/smart-reply-agent",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"zod": "^3.25.76",
|
|
44
|
-
"@roll-agent/sdk": "0.1.
|
|
44
|
+
"@roll-agent/sdk": "0.1.6"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/node": "^22.0.0"
|