@roll-agent/smart-reply-agent 1.3.7 → 1.3.8

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 CHANGED
@@ -127,7 +127,7 @@ npm 包名:`@roll-agent/smart-reply-agent`
127
127
 
128
128
  - `REPLY_AUTHORITY_URL` — Reply Authority Service 基础地址(必填)
129
129
  - `REPLY_AUTHORITY_BEARER_TOKEN` — 调用 `POST /generate-signed-reply`,以及代理模式下 `POST /resolve-recruiter-binding` 的 Bearer token(必填);必须能访问目标 tenant。本 Agent 不使用它调用 rubric 或 `/reply-feedback`,因此自身不要求 `reply-feedback:write`;外部调用方若自行完成双稿 rubric/feedback,则须另行保证对应客户端/token 具备该 scope
130
- - `REPLY_AUTHORITY_TIMEOUT_MS` — Reply Authority Service HTTP 请求超时毫秒数(可选,默认 `30000`)。非正整数或非法值会被静默忽略并回落到默认值
130
+ - `REPLY_AUTHORITY_TIMEOUT_MS` — Reply Authority Service HTTP 请求超时毫秒数(可选,客户端默认 `60000`)。非正整数或非法值会被静默忽略并回落到默认值;该默认值高于 RFC 当前 `50000ms` 的完整请求截止时间,让服务端能先返回带 phase 证据的 `504`。生产仍建议显式声明以便 `roll doctor` 核验
131
131
 
132
132
  ## 典型跨 Agent 工作流
133
133
 
@@ -171,6 +171,6 @@ agents:
171
171
  smart-reply-agent:
172
172
  REPLY_AUTHORITY_URL: https://reply-authority.duliday.com
173
173
  REPLY_AUTHORITY_BEARER_TOKEN: ${REPLY_AUTHORITY_BEARER_TOKEN}
174
- # 可选:自定义 HTTP 超时(毫秒,默认 30000)
175
- # REPLY_AUTHORITY_TIMEOUT_MS: "45000"
174
+ # RFC 完整请求截止时间为 50000ms 时,调用方需保留响应缓冲
175
+ REPLY_AUTHORITY_TIMEOUT_MS: "60000"
176
176
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roll-agent/smart-reply-agent",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
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/reply-authority-client": "0.6.0",
44
+ "@roll-agent/reply-authority-client": "0.7.0",
45
45
  "@roll-agent/sdk": "0.3.0"
46
46
  },
47
47
  "devDependencies": {
@@ -12,6 +12,6 @@ optional:
12
12
  - name: REPLY_AUTHORITY_TIMEOUT_MS
13
13
  secret: false
14
14
  type: number
15
- purpose: Reply Authority Service HTTP 请求超时(毫秒)。未设置或值无效时回落默认 30000
16
- example: "30000"
17
- default: "30000"
15
+ purpose: Reply Authority Service 调用方硬墙钟超时(毫秒)。未设置或值无效时回落客户端默认 60000,保持高于 RFC 当前 50000ms 的完整请求截止时间;生产仍建议显式声明以便 doctor 核验
16
+ example: "60000"
17
+ default: "60000"