@53ai/53ai-openclaw 1.1.0 → 1.1.1
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/dist/index.cjs.js +51 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +51 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/src/const.d.ts +15 -2
- package/openclaw.plugin.json +6 -1
- package/package.json +1 -1
package/dist/src/const.d.ts
CHANGED
|
@@ -12,8 +12,21 @@ export declare const WS_MAX_RECONNECT_ATTEMPTS = 60;
|
|
|
12
12
|
export declare const WS_RECONNECT_BASE_DELAY_MS = 1000;
|
|
13
13
|
/** 文本分块限制 */
|
|
14
14
|
export declare const TEXT_CHUNK_LIMIT = 4000;
|
|
15
|
-
/**
|
|
16
|
-
|
|
15
|
+
/**
|
|
16
|
+
* 请求分析软阈值(毫秒)
|
|
17
|
+
* 超过该时间后只告警并继续等待,不直接中断长分析任务。
|
|
18
|
+
*/
|
|
19
|
+
export declare const REQUEST_ANALYSIS_TIMEOUT_MS = 600000;
|
|
20
|
+
/**
|
|
21
|
+
* 读取请求分析软阈值的运行时覆盖值。
|
|
22
|
+
* 仅用于本地或特定部署快速调参;未设置时回退到默认值。
|
|
23
|
+
*/
|
|
24
|
+
export declare function getRequestAnalysisTimeoutMs(): number;
|
|
25
|
+
/**
|
|
26
|
+
* 消息处理超时(毫秒)
|
|
27
|
+
* 保留旧常量名作为兼容别名,避免其他模块后续仍引用时出问题。
|
|
28
|
+
*/
|
|
29
|
+
export declare const MESSAGE_PROCESS_TIMEOUT_MS = 600000;
|
|
17
30
|
/**
|
|
18
31
|
* 消息缓存 TTL(毫秒)
|
|
19
32
|
* 设为 35 分钟,确保覆盖最大重连时间(约 28.5 分钟)+ 缓冲
|
package/openclaw.plugin.json
CHANGED