@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.
Files changed (2) hide show
  1. package/dist/agent.js +5 -1
  2. 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 interviewUser to gather requirements, then writePlan to create the plan."
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strayl/agent",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"