pi-better-subagents 0.32.4 → 0.32.5
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/index.ts +3 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -2382,7 +2382,10 @@ export default function (pi: ExtensionAPI) {
|
|
|
2382
2382
|
defaultSkills: skills.mode === "inherit" ? null : [...skills.paths],
|
|
2383
2383
|
}),
|
|
2384
2384
|
});
|
|
2385
|
+
const sessionTimeout = timingOverride.maxMinutes;
|
|
2385
2386
|
resetSettings();
|
|
2387
|
+
// The session timeout beats the environment, even after saving defaults.
|
|
2388
|
+
if (sessionTimeout !== undefined) changeTiming("maxMinutes", sessionTimeout);
|
|
2386
2389
|
return { ok: true, message: "Subagent defaults saved." };
|
|
2387
2390
|
} catch (error) {
|
|
2388
2391
|
return { ok: false, message: `Could not save subagent defaults: ${error instanceof Error ? error.message : String(error)}` };
|