archondev 2.19.25 → 2.19.26

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/index.js +13 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3226,7 +3226,10 @@ async function runExploreFlow(cwd, followUpInput, options = {}) {
3226
3226
  if (actionableFollowUp || containsActionIntent(originalFollowUp)) {
3227
3227
  const request = actionableFollowUp ?? originalFollowUp;
3228
3228
  console.log(chalk5.dim("I finished the project scan. Continuing with your requested task...\n"));
3229
- await handlePostExploreAction(cwd, request);
3229
+ await handlePostExploreAction(cwd, request, {
3230
+ agentMode: options.agentMode,
3231
+ originalInput: originalFollowUp
3232
+ });
3230
3233
  return;
3231
3234
  }
3232
3235
  if (options.agentMode) {
@@ -3867,7 +3870,7 @@ function containsActionIntent(input) {
3867
3870
  if (!normalized) return false;
3868
3871
  return /(i would like to|i want to|i need to|how (can|could|do i)|can you|could you|would you|help me|create|build|generate|make|produce|plan|implement|write|fix|convert|compile)/.test(normalized);
3869
3872
  }
3870
- async function handlePostExploreAction(cwd, request) {
3873
+ async function handlePostExploreAction(cwd, request, options = {}) {
3871
3874
  const intent = detectUserIntent(request);
3872
3875
  if (intent.mode === "app_builder" && intent.confidence >= 0.7) {
3873
3876
  console.log(chalk5.dim("> Let me understand your project better...\n"));
@@ -3881,6 +3884,14 @@ async function handlePostExploreAction(cwd, request) {
3881
3884
  }
3882
3885
  const { plan: plan2 } = await import("./plan-PJI6MCS3.js");
3883
3886
  await plan2(request, { conversational: true });
3887
+ if (options.agentMode) {
3888
+ const sourceInput = options.originalInput?.trim() || request;
3889
+ if (shouldStopAfterPlanning(sourceInput)) {
3890
+ await showLatestPlannedAtom(cwd);
3891
+ } else {
3892
+ await continueWithCurrentTask(cwd);
3893
+ }
3894
+ }
3884
3895
  }
3885
3896
  async function planTask() {
3886
3897
  const { plan: plan2 } = await import("./plan-PJI6MCS3.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archondev",
3
- "version": "2.19.25",
3
+ "version": "2.19.26",
4
4
  "description": "Local-first AI-powered development governance system",
5
5
  "main": "dist/index.js",
6
6
  "bin": {