@strayl/agent 0.1.7 → 0.1.9
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.js +5 -1
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -12912,7 +12912,7 @@ Examples where you MUST NOT use this:
|
|
|
12912
12912
|
return JSON.stringify({
|
|
12913
12913
|
success: true,
|
|
12914
12914
|
reason: args.reason,
|
|
12915
|
-
message: "Plan mode activated. Use read-only tools and
|
|
12915
|
+
message: "Plan mode activated. Use read-only tools and askUser to gather requirements, then writePlan to create the plan."
|
|
12916
12916
|
});
|
|
12917
12917
|
}
|
|
12918
12918
|
};
|
|
@@ -13753,6 +13753,10 @@ ${IMPLEMENTATION_MODE_PROMPT2}`);
|
|
|
13753
13753
|
const prevMode = currentMode;
|
|
13754
13754
|
currentMode = "plan";
|
|
13755
13755
|
emitter.emit({ type: "mode-changed", from: prevMode, to: currentMode });
|
|
13756
|
+
const { PLAN_MODE_SYSTEM_PROMPT: PLAN_MODE_SYSTEM_PROMPT2 } = await Promise.resolve().then(() => (init_system(), system_exports));
|
|
13757
|
+
context.addUser(`[System] You have entered plan mode.
|
|
13758
|
+
|
|
13759
|
+
${PLAN_MODE_SYSTEM_PROMPT2}`);
|
|
13756
13760
|
}
|
|
13757
13761
|
}
|
|
13758
13762
|
await checkpoints.save(iteration, context.messages(), todoManager.read(), context.totalUsage(), emitter);
|