@blockrun/franklin 3.8.14 → 3.8.15
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/agent/planner.js +4 -0
- package/package.json +1 -1
package/dist/agent/planner.js
CHANGED
|
@@ -17,6 +17,10 @@ const MULTI_STEP_PATTERN = /first.*then|step\s+\d|\d+\.\s|and\s+then|after\s+tha
|
|
|
17
17
|
* the overhead of an extra planning call.
|
|
18
18
|
*/
|
|
19
19
|
export function shouldPlan(tier, profile, userText, ultrathink, planDisabled) {
|
|
20
|
+
// Per-process opt-out for ablation / scripting ("is plan-then-execute
|
|
21
|
+
// still load-bearing?"). Takes precedence over every other heuristic.
|
|
22
|
+
if (process.env.FRANKLIN_NOPLAN === '1')
|
|
23
|
+
return false;
|
|
20
24
|
// User disabled planning for this session
|
|
21
25
|
if (planDisabled)
|
|
22
26
|
return false;
|
package/package.json
CHANGED