dsh-notify-say 0.4.68 → 0.4.69
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 +4 -0
- package/lib/config-schema.js +4 -0
- package/lib/index.js +2848 -2838
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
> 本文件由 `tools/release-build.ps1` 从开发提交自动生成,**请勿手工编辑**。
|
|
4
4
|
> 只列面向使用者的变更(新增功能与修复),不含内部维护提交。
|
|
5
5
|
|
|
6
|
+
## v0.4.69 — 2026-10-19
|
|
7
|
+
|
|
8
|
+
- feat(notify): v0.4.69 —— 三级通知语义,max-tokens 不再静默
|
|
9
|
+
|
|
6
10
|
## v0.4.68 — 2026-10-19
|
|
7
11
|
|
|
8
12
|
- fix(notify): v0.4.68 —— error 在 turn/end 当场播报,不等 idle 边沿
|
package/lib/config-schema.js
CHANGED
|
@@ -109,6 +109,8 @@ export const FIELD_DEFAULTS = Object.freeze({
|
|
|
109
109
|
/** v0.4.68:子代理会话出错是否提醒。默认开 —— 完成可以合并,错误不能合并掉。 */
|
|
110
110
|
notifyOnSubagentError: true,
|
|
111
111
|
notifyOnBlocked: true,
|
|
112
|
+
/** v0.4.68:回合因 token 上限中断是否提醒。默认**开** —— 任务没完成,用户需要知道。 */
|
|
113
|
+
notifyOnMaxTokens: true,
|
|
112
114
|
notifyOnAborted: false,
|
|
113
115
|
notifyOnApproval: true,
|
|
114
116
|
notifyOnQuestion: true,
|
|
@@ -202,6 +204,8 @@ export function buildConfig(z) {
|
|
|
202
204
|
.description('子代理会话出错时也提醒(默认开:完成可以合并,错误不能静默)'),
|
|
203
205
|
notifyOnBlocked: z.boolean().default(FIELD_DEFAULTS.notifyOnBlocked)
|
|
204
206
|
.description('回合被拦截时提醒(蜂鸣,不播失败语音)'),
|
|
207
|
+
notifyOnMaxTokens: z.boolean().default(FIELD_DEFAULTS.notifyOnMaxTokens)
|
|
208
|
+
.description('回合因 token 上限中断时提醒(默认开:任务未完成)'),
|
|
205
209
|
notifyOnAborted: z.boolean().default(FIELD_DEFAULTS.notifyOnAborted)
|
|
206
210
|
.description('回合被中止/超长/中断时提醒(默认关闭)'),
|
|
207
211
|
notifyOnApproval: z.boolean().default(FIELD_DEFAULTS.notifyOnApproval)
|