maxpool 1.20.1 → 1.20.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/package.json +1 -1
- package/src/index.js +7 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -1137,7 +1137,8 @@ async function serverWorkerCommand() {
|
|
|
1137
1137
|
// policy cycled with the TUI 'f' key). Without this, the toggle takes effect
|
|
1138
1138
|
// in memory but silently reverts on the next config write / restart. Merge
|
|
1139
1139
|
// onto the existing disk scheduler block so other scheduler keys survive.
|
|
1140
|
-
if (config.scheduler?.crossProviderFallbackPolicy || config.scheduler?.providers
|
|
1140
|
+
if (config.scheduler?.crossProviderFallbackPolicy || config.scheduler?.providers
|
|
1141
|
+
|| config.scheduler?.weeklyAwareScoring !== undefined) {
|
|
1141
1142
|
diskConfig.scheduler = {
|
|
1142
1143
|
...diskConfig.scheduler,
|
|
1143
1144
|
...(config.scheduler.crossProviderFallbackPolicy
|
|
@@ -1145,6 +1146,11 @@ async function serverWorkerCommand() {
|
|
|
1145
1146
|
// Per-provider Claude→provider settings (TUI routing g / k). Must be listed
|
|
1146
1147
|
// here explicitly or the toggle takes effect in memory and silently reverts.
|
|
1147
1148
|
...(config.scheduler.providers ? { providers: config.scheduler.providers } : {}),
|
|
1149
|
+
// Weekly-aware scoring (TUI routing w). Red-team 2026-09-16: omitting it
|
|
1150
|
+
// made the OFF direction memory-only — it silently reverted to the ON
|
|
1151
|
+
// default on the next restart.
|
|
1152
|
+
...(config.scheduler.weeklyAwareScoring !== undefined
|
|
1153
|
+
? { weeklyAwareScoring: config.scheduler.weeklyAwareScoring } : {}),
|
|
1148
1154
|
};
|
|
1149
1155
|
}
|
|
1150
1156
|
// Persist live-toggled automatic-update flags (the TUI 'u' Updates menu). Same
|