@zifeng1023/dsh-bot 0.3.1 → 0.3.2
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/assets/screenshot-1.png +0 -0
- package/assets/screenshot-2.png +0 -0
- package/assets/screenshot-3.png +0 -0
- package/dsh-plugin.json +2 -1
- package/lib/client.js +7 -5
- package/package.json +2 -1
- package/screenshots.json +3 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dsh-plugin.json
CHANGED
package/lib/client.js
CHANGED
|
@@ -1858,7 +1858,7 @@ window.__ModuleLoader__.load({
|
|
|
1858
1858
|
}),
|
|
1859
1859
|
h(ToggleRow, {
|
|
1860
1860
|
label: '仅异常时打扰',
|
|
1861
|
-
hint: '
|
|
1861
|
+
hint: '开启后自动轮次只有失败/部分成功才响;手动点「执行」的成功结果始终会通知',
|
|
1862
1862
|
value: s.notifyOnlyOnDecision !== false,
|
|
1863
1863
|
onChange: (v) => patch('notifyOnlyOnDecision', v),
|
|
1864
1864
|
}),
|
|
@@ -4090,10 +4090,10 @@ window.__ModuleLoader__.load({
|
|
|
4090
4090
|
const attention =
|
|
4091
4091
|
run.status !== 'success' ||
|
|
4092
4092
|
(run.goalAssessment?.needsHuman === true);
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4093
|
+
// v0.3.1 体验修正:手动触发(用户点了「执行」在等结果)→ 成功也响;
|
|
4094
|
+
// 只有自动轮(goal/schedule)才按「仅异常时打扰」静默成功。
|
|
4095
|
+
const manualRun = run.trigger === 'manual';
|
|
4096
|
+
if (settings.notifyOnlyOnDecision !== true || attention || manualRun) {
|
|
4097
4097
|
fireNotification(b.name, run);
|
|
4098
4098
|
}
|
|
4099
4099
|
}
|
|
@@ -4148,3 +4148,5 @@ window.__ModuleLoader__.load({
|
|
|
4148
4148
|
|
|
4149
4149
|
|
|
4150
4150
|
|
|
4151
|
+
|
|
4152
|
+
|
package/package.json
CHANGED
package/screenshots.json
CHANGED