archondev 2.19.14 → 2.19.17
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/{chunk-FP4B73CC.js → chunk-BUFMPKXX.js} +1 -1
- package/dist/{chunk-MBRWJ3SX.js → chunk-GU7OQ5EV.js} +1 -1
- package/dist/{chunk-4E3LJAXF.js → chunk-HVXBKZDF.js} +2 -2
- package/dist/{chunk-JFUG25H7.js → chunk-VUT5XLKM.js} +31 -50
- package/dist/{execute-UWJPIG6C.js → execute-LJNJEXWD.js} +2 -2
- package/dist/index.js +79 -35
- package/dist/{list-3IMEKFQZ.js → list-53NTME4Q.js} +2 -2
- package/dist/{parallel-ZBFFEUBW.js → parallel-3JTGAHOS.js} +2 -2
- package/dist/{plan-AR6Y4QUD.js → plan-3UKVNQDT.js} +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
UsageRecorder,
|
|
8
8
|
handleInsufficientCreditsRecovery,
|
|
9
9
|
loadAtom
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VUT5XLKM.js";
|
|
11
11
|
import {
|
|
12
12
|
transitionAtom
|
|
13
13
|
} from "./chunk-PCTP3LKJ.js";
|
|
@@ -4797,7 +4797,7 @@ function createPrompt() {
|
|
|
4797
4797
|
}
|
|
4798
4798
|
async function execute(atomId, options) {
|
|
4799
4799
|
if (options.parallel && options.parallel.length > 0) {
|
|
4800
|
-
const { parallelExecute } = await import("./parallel-
|
|
4800
|
+
const { parallelExecute } = await import("./parallel-3JTGAHOS.js");
|
|
4801
4801
|
const allAtomIds = [atomId, ...options.parallel];
|
|
4802
4802
|
await parallelExecute(allAtomIds, { skipGates: options.skipGates === true });
|
|
4803
4803
|
return;
|
|
@@ -831,6 +831,7 @@ function createPrompt() {
|
|
|
831
831
|
}
|
|
832
832
|
async function plan(description, options) {
|
|
833
833
|
const prompt2 = createPrompt();
|
|
834
|
+
const conversational = options.conversational === true;
|
|
834
835
|
try {
|
|
835
836
|
if (!await isAuthenticated()) {
|
|
836
837
|
console.log(chalk2.yellow('Not authenticated. Run "archon login" first.'));
|
|
@@ -865,25 +866,30 @@ async function plan(description, options) {
|
|
|
865
866
|
for (const missing of missingFiles) {
|
|
866
867
|
console.log(chalk2.yellow(` - ${missing}`));
|
|
867
868
|
}
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
console.log(chalk2.dim(" 2) Continue and mark missing files as required"));
|
|
871
|
-
console.log(chalk2.dim(" 3) Continue with default placeholders"));
|
|
872
|
-
const proceedChoice = await prompt2.ask("Choose 1/2/3 (default: 1): ");
|
|
873
|
-
const choice = proceedChoice.trim() || "1";
|
|
874
|
-
if (choice === "1") {
|
|
875
|
-
console.log(chalk2.dim("Planning cancelled."));
|
|
876
|
-
return;
|
|
877
|
-
}
|
|
878
|
-
if (choice === "2") {
|
|
869
|
+
if (conversational) {
|
|
870
|
+
console.log(chalk2.dim("Continuing for now and marking missing inputs as required."));
|
|
879
871
|
missingFiles.forEach((file) => requirements.push(`Missing input required: ${file}`));
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
|
|
872
|
+
} else {
|
|
873
|
+
console.log(chalk2.dim("\nHow would you like to proceed?"));
|
|
874
|
+
console.log(chalk2.dim(" 1) Cancel planning and add the missing files"));
|
|
875
|
+
console.log(chalk2.dim(" 2) Continue and mark missing files as required"));
|
|
876
|
+
console.log(chalk2.dim(" 3) Continue with default placeholders"));
|
|
877
|
+
const proceedChoice = await prompt2.ask("Choose 1/2/3 (default: 1): ");
|
|
878
|
+
const choice = proceedChoice.trim() || "1";
|
|
879
|
+
if (choice === "1") {
|
|
880
|
+
console.log(chalk2.dim("Planning cancelled."));
|
|
881
|
+
return;
|
|
882
|
+
}
|
|
883
|
+
if (choice === "2") {
|
|
884
|
+
missingFiles.forEach((file) => requirements.push(`Missing input required: ${file}`));
|
|
885
|
+
}
|
|
886
|
+
if (choice === "3") {
|
|
887
|
+
missingFiles.forEach((file) => requirements.push(`Use default placeholder for missing input: ${file}`));
|
|
888
|
+
}
|
|
883
889
|
}
|
|
884
890
|
}
|
|
885
891
|
}
|
|
886
|
-
const deliverableTarget = await promptForDeliverableTarget(
|
|
892
|
+
const deliverableTarget = conversational ? null : await promptForDeliverableTarget(
|
|
887
893
|
prompt2,
|
|
888
894
|
requirements,
|
|
889
895
|
references
|
|
@@ -894,9 +900,11 @@ async function plan(description, options) {
|
|
|
894
900
|
if (requirements.length > 0) {
|
|
895
901
|
console.log(chalk2.dim("\nDetected requirements:"));
|
|
896
902
|
requirements.forEach((req, i) => console.log(` ${i + 1}. ${req}`));
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
903
|
+
if (!conversational) {
|
|
904
|
+
const confirm = await prompt2.ask("\nUse these as acceptance criteria? (Y/n): ");
|
|
905
|
+
if (confirm.toLowerCase() === "n") {
|
|
906
|
+
requirements.length = 0;
|
|
907
|
+
}
|
|
900
908
|
}
|
|
901
909
|
}
|
|
902
910
|
let classification = classifyTaskIntent({
|
|
@@ -906,18 +914,13 @@ async function plan(description, options) {
|
|
|
906
914
|
deliverableTarget: deliverableTarget ?? void 0
|
|
907
915
|
});
|
|
908
916
|
if (classification.kind === "mixed" && classification.confidence === "low") {
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
kind: clarifiedKind,
|
|
914
|
-
confidence: "high",
|
|
915
|
-
signals: [...classification.signals, `user:${clarifiedKind}`]
|
|
916
|
-
};
|
|
917
|
-
}
|
|
917
|
+
classification = {
|
|
918
|
+
...classification,
|
|
919
|
+
confidence: "medium"
|
|
920
|
+
};
|
|
918
921
|
}
|
|
919
922
|
const isContentOnlyTask = classification.kind === "content";
|
|
920
|
-
const designApproved = await promptForDesignApproval(prompt2, {
|
|
923
|
+
const designApproved = conversational ? true : await promptForDesignApproval(prompt2, {
|
|
921
924
|
description,
|
|
922
925
|
requirements,
|
|
923
926
|
references,
|
|
@@ -1329,28 +1332,6 @@ ${input.requirements.join("\n")}`.toLowerCase();
|
|
|
1329
1332
|
}
|
|
1330
1333
|
return { kind, confidence, contentScore, codeScore, signals };
|
|
1331
1334
|
}
|
|
1332
|
-
async function promptForTaskKindClarification(prompt2, description) {
|
|
1333
|
-
console.log(chalk2.yellow("\nThis request can be interpreted in multiple ways."));
|
|
1334
|
-
console.log(chalk2.dim("To keep planning on track, choose the primary outcome:"));
|
|
1335
|
-
console.log(chalk2.dim(" 1) Content deliverable (PDF/docs/slides/report)"));
|
|
1336
|
-
console.log(chalk2.dim(" 2) Code implementation (features/refactors/tests)"));
|
|
1337
|
-
console.log(chalk2.dim(" Enter to auto-pick based on your wording."));
|
|
1338
|
-
const answer = (await prompt2.ask("Primary outcome (1/2): ")).trim().toLowerCase();
|
|
1339
|
-
if (answer === "1" || answer.includes("content") || answer.includes("pdf") || answer.includes("doc")) {
|
|
1340
|
-
return "content";
|
|
1341
|
-
}
|
|
1342
|
-
if (answer === "2" || answer.includes("code") || answer.includes("implement") || answer.includes("feature")) {
|
|
1343
|
-
return "code";
|
|
1344
|
-
}
|
|
1345
|
-
const normalized = description.toLowerCase();
|
|
1346
|
-
if (/(pdf|document|report|slides?|lesson|curriculum|format)/.test(normalized)) {
|
|
1347
|
-
return "content";
|
|
1348
|
-
}
|
|
1349
|
-
if (/(api|endpoint|schema|migration|typescript|javascript|python|refactor|test|lint|build)/.test(normalized)) {
|
|
1350
|
-
return "code";
|
|
1351
|
-
}
|
|
1352
|
-
return null;
|
|
1353
|
-
}
|
|
1354
1335
|
function shouldFallbackToContentPlan(input) {
|
|
1355
1336
|
if (input.classification.kind === "content") return true;
|
|
1356
1337
|
const text = input.description.toLowerCase();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execute
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HVXBKZDF.js";
|
|
4
4
|
import "./chunk-EBHHIUCB.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-VUT5XLKM.js";
|
|
6
6
|
import "./chunk-PCTP3LKJ.js";
|
|
7
7
|
import "./chunk-PJRQI5UN.js";
|
|
8
8
|
import "./chunk-EIEU3IIY.js";
|
package/dist/index.js
CHANGED
|
@@ -47,13 +47,13 @@ import {
|
|
|
47
47
|
parallelRunWaves,
|
|
48
48
|
parallelSchedule,
|
|
49
49
|
parallelStatus
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-BUFMPKXX.js";
|
|
51
51
|
import {
|
|
52
52
|
DependencyParser,
|
|
53
53
|
EnvironmentConfigLoader,
|
|
54
54
|
EnvironmentValidator,
|
|
55
55
|
execute
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-HVXBKZDF.js";
|
|
57
57
|
import {
|
|
58
58
|
cloudCancel,
|
|
59
59
|
cloudLogs,
|
|
@@ -61,12 +61,12 @@ import {
|
|
|
61
61
|
} from "./chunk-EBHHIUCB.js";
|
|
62
62
|
import {
|
|
63
63
|
list
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-GU7OQ5EV.js";
|
|
65
65
|
import {
|
|
66
66
|
listLocalAtoms,
|
|
67
67
|
loadAtom,
|
|
68
68
|
plan
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-VUT5XLKM.js";
|
|
70
70
|
import "./chunk-PCTP3LKJ.js";
|
|
71
71
|
import "./chunk-PJRQI5UN.js";
|
|
72
72
|
import {
|
|
@@ -125,7 +125,8 @@ function shouldEnableSafeMode() {
|
|
|
125
125
|
return process.env["TERM_PROGRAM"] === "Apple_Terminal";
|
|
126
126
|
}
|
|
127
127
|
function toAsciiSafe(value) {
|
|
128
|
-
|
|
128
|
+
const withoutAnsi = value.replace(/\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])/g, "");
|
|
129
|
+
return withoutAnsi.replace(/[^\x09\x0A\x0D\x20-\x7E]/g, "");
|
|
129
130
|
}
|
|
130
131
|
function enableTerminalCompatibilityMode() {
|
|
131
132
|
if (!shouldEnableSafeMode()) {
|
|
@@ -1134,6 +1135,15 @@ function detectUserIntent(message) {
|
|
|
1134
1135
|
};
|
|
1135
1136
|
}
|
|
1136
1137
|
}
|
|
1138
|
+
const startsWithExploreRequest = /^(analy[sz]e|review|explore|scan|audit|inspect|understand|examine|look at)\b/i.test(normalized) && /\b(codebase|code|project|repo|repository|folder|directory|files)\b/i.test(normalized);
|
|
1139
|
+
if (startsWithExploreRequest) {
|
|
1140
|
+
return {
|
|
1141
|
+
mode: "explore",
|
|
1142
|
+
confidence: 0.92,
|
|
1143
|
+
reasoning: "User starts with explicit project/file review intent",
|
|
1144
|
+
suggestedAction: "execute"
|
|
1145
|
+
};
|
|
1146
|
+
}
|
|
1137
1147
|
for (const pattern of APP_BUILDER_PATTERNS) {
|
|
1138
1148
|
if (pattern.test(normalized)) {
|
|
1139
1149
|
return {
|
|
@@ -3310,8 +3320,8 @@ async function handleNewProject(cwd, _state) {
|
|
|
3310
3320
|
}
|
|
3311
3321
|
if (intent.mode === "ad_hoc" && intent.confidence >= 0.7) {
|
|
3312
3322
|
console.log(chalk6.dim("\n> Got it! Creating a task for this...\n"));
|
|
3313
|
-
const { plan: plan2 } = await import("./plan-
|
|
3314
|
-
await plan2(initialResponse, {});
|
|
3323
|
+
const { plan: plan2 } = await import("./plan-3UKVNQDT.js");
|
|
3324
|
+
await plan2(initialResponse, { conversational: true });
|
|
3315
3325
|
return;
|
|
3316
3326
|
}
|
|
3317
3327
|
if (intent.mode === "app_builder" && intent.confidence >= 0.7) {
|
|
@@ -3335,8 +3345,8 @@ async function handleNewProject(cwd, _state) {
|
|
|
3335
3345
|
}
|
|
3336
3346
|
if (trimmed === "2") {
|
|
3337
3347
|
console.log(chalk6.dim("\n> Creating a task for this...\n"));
|
|
3338
|
-
const { plan: plan2 } = await import("./plan-
|
|
3339
|
-
await plan2(initialResponse, {});
|
|
3348
|
+
const { plan: plan2 } = await import("./plan-3UKVNQDT.js");
|
|
3349
|
+
await plan2(initialResponse, { conversational: true });
|
|
3340
3350
|
return;
|
|
3341
3351
|
}
|
|
3342
3352
|
if (trimmed === "3") {
|
|
@@ -3374,8 +3384,8 @@ async function showNewProjectMenu(cwd) {
|
|
|
3374
3384
|
case "3": {
|
|
3375
3385
|
const description = await promptWithCommands("Describe what you want to do", { allowMultiline: true });
|
|
3376
3386
|
if (description.trim()) {
|
|
3377
|
-
const { plan: plan2 } = await import("./plan-
|
|
3378
|
-
await plan2(description, {});
|
|
3387
|
+
const { plan: plan2 } = await import("./plan-3UKVNQDT.js");
|
|
3388
|
+
await plan2(description, { conversational: true });
|
|
3379
3389
|
}
|
|
3380
3390
|
break;
|
|
3381
3391
|
}
|
|
@@ -3456,8 +3466,8 @@ async function runExploreFlow(cwd, followUpInput) {
|
|
|
3456
3466
|
case "1": {
|
|
3457
3467
|
const description = await promptWithCommands("Describe what you want to do", { allowMultiline: true });
|
|
3458
3468
|
if (description.trim()) {
|
|
3459
|
-
const { plan: plan2 } = await import("./plan-
|
|
3460
|
-
await plan2(description, {});
|
|
3469
|
+
const { plan: plan2 } = await import("./plan-3UKVNQDT.js");
|
|
3470
|
+
await plan2(description, { conversational: true });
|
|
3461
3471
|
}
|
|
3462
3472
|
await showMainMenu();
|
|
3463
3473
|
return;
|
|
@@ -3701,8 +3711,8 @@ ${state.forbiddenPatterns?.length ? `- **Forbidden patterns:** ${state.forbidden
|
|
|
3701
3711
|
const hintedTask = initialTaskHint?.trim() ?? "";
|
|
3702
3712
|
if (hintedTask) {
|
|
3703
3713
|
console.log(chalk6.dim("Using your request above as the first task.\n"));
|
|
3704
|
-
const { plan: plan2 } = await import("./plan-
|
|
3705
|
-
await plan2(hintedTask, {});
|
|
3714
|
+
const { plan: plan2 } = await import("./plan-3UKVNQDT.js");
|
|
3715
|
+
await plan2(hintedTask, { conversational: true });
|
|
3706
3716
|
return;
|
|
3707
3717
|
}
|
|
3708
3718
|
const continueAnswer = await prompt("Would you like to plan your first task now? (Y/n)");
|
|
@@ -3726,8 +3736,8 @@ ${state.forbiddenPatterns?.length ? `- **Forbidden patterns:** ${state.forbidden
|
|
|
3726
3736
|
description = continueAnswer.trim();
|
|
3727
3737
|
}
|
|
3728
3738
|
if (description.trim()) {
|
|
3729
|
-
const { plan: plan2 } = await import("./plan-
|
|
3730
|
-
await plan2(description, {});
|
|
3739
|
+
const { plan: plan2 } = await import("./plan-3UKVNQDT.js");
|
|
3740
|
+
await plan2(description, { conversational: true });
|
|
3731
3741
|
}
|
|
3732
3742
|
}
|
|
3733
3743
|
function inferAudienceFromMessage(message) {
|
|
@@ -3852,8 +3862,8 @@ async function handleAdaptExisting(cwd, state) {
|
|
|
3852
3862
|
}
|
|
3853
3863
|
if (intent.mode === "ad_hoc" && intent.confidence >= 0.7) {
|
|
3854
3864
|
console.log(chalk6.dim("\n> Got it! Creating a task for this...\n"));
|
|
3855
|
-
const { plan: plan2 } = await import("./plan-
|
|
3856
|
-
await plan2(response, {});
|
|
3865
|
+
const { plan: plan2 } = await import("./plan-3UKVNQDT.js");
|
|
3866
|
+
await plan2(response, { conversational: true });
|
|
3857
3867
|
return;
|
|
3858
3868
|
}
|
|
3859
3869
|
if (intent.mode === "app_builder" && intent.confidence >= 0.7) {
|
|
@@ -3890,8 +3900,8 @@ async function showAdaptExistingMenu(cwd, state) {
|
|
|
3890
3900
|
case "2": {
|
|
3891
3901
|
const description = await promptWithCommands("Describe what you want to do", { allowMultiline: true });
|
|
3892
3902
|
if (description.trim()) {
|
|
3893
|
-
const { plan: plan2 } = await import("./plan-
|
|
3894
|
-
await plan2(description, {});
|
|
3903
|
+
const { plan: plan2 } = await import("./plan-3UKVNQDT.js");
|
|
3904
|
+
await plan2(description, { conversational: true });
|
|
3895
3905
|
}
|
|
3896
3906
|
break;
|
|
3897
3907
|
}
|
|
@@ -3997,12 +4007,39 @@ async function continueConversationLoop(cwd) {
|
|
|
3997
4007
|
await showMainMenu();
|
|
3998
4008
|
return;
|
|
3999
4009
|
}
|
|
4010
|
+
if (isContinuationDirective(response)) {
|
|
4011
|
+
await continueWithCurrentTask(cwd);
|
|
4012
|
+
continue;
|
|
4013
|
+
}
|
|
4000
4014
|
const handled = await handleFreeformJourneyInput(cwd, response);
|
|
4001
4015
|
if (!handled) {
|
|
4002
4016
|
console.log(chalk6.yellow("I did not catch that. Try describing your goal in one sentence."));
|
|
4003
4017
|
}
|
|
4004
4018
|
}
|
|
4005
4019
|
}
|
|
4020
|
+
function isContinuationDirective(input) {
|
|
4021
|
+
const normalized = input.trim().toLowerCase();
|
|
4022
|
+
return normalized === "continue" || normalized === "continue." || normalized === "go on" || normalized === "go ahead" || normalized === "next" || normalized === "proceed" || normalized === "do it";
|
|
4023
|
+
}
|
|
4024
|
+
async function continueWithCurrentTask(cwd) {
|
|
4025
|
+
const { listLocalAtoms: listLocalAtoms2 } = await import("./plan-3UKVNQDT.js");
|
|
4026
|
+
const atoms = await listLocalAtoms2();
|
|
4027
|
+
const pending = atoms.filter((a) => a.status === "READY" || a.status === "IN_PROGRESS").sort((a, b) => a.externalId.localeCompare(b.externalId));
|
|
4028
|
+
if (pending.length === 0) {
|
|
4029
|
+
console.log(chalk6.yellow("No pending atoms found. Tell me what to plan next."));
|
|
4030
|
+
return;
|
|
4031
|
+
}
|
|
4032
|
+
const nextAtom = pending[0];
|
|
4033
|
+
if (!nextAtom) {
|
|
4034
|
+
console.log(chalk6.yellow("No pending atoms found. Tell me what to plan next."));
|
|
4035
|
+
return;
|
|
4036
|
+
}
|
|
4037
|
+
console.log(chalk6.dim(`
|
|
4038
|
+
Continuing with ${nextAtom.externalId}...
|
|
4039
|
+
`));
|
|
4040
|
+
const { execute: execute2 } = await import("./execute-LJNJEXWD.js");
|
|
4041
|
+
await execute2(nextAtom.externalId, {});
|
|
4042
|
+
}
|
|
4006
4043
|
function checkForHandoff(cwd) {
|
|
4007
4044
|
try {
|
|
4008
4045
|
const currentContextPath = join6(cwd, ".archon", "current_context.md");
|
|
@@ -4090,13 +4127,20 @@ async function handleFreeformJourneyInput(cwd, input) {
|
|
|
4090
4127
|
return true;
|
|
4091
4128
|
}
|
|
4092
4129
|
if (intent.mode === "app_builder" && intent.confidence >= 0.7) {
|
|
4130
|
+
const state = detectProjectState(cwd);
|
|
4131
|
+
if (state.hasArchitecture) {
|
|
4132
|
+
console.log(chalk6.dim("\n> Got it! Creating a task for this...\n"));
|
|
4133
|
+
const { plan: plan3 } = await import("./plan-3UKVNQDT.js");
|
|
4134
|
+
await plan3(freeform, { conversational: true });
|
|
4135
|
+
return true;
|
|
4136
|
+
}
|
|
4093
4137
|
console.log(chalk6.dim("\n> Let me understand your project better...\n"));
|
|
4094
4138
|
await runConversationalInterview(cwd, freeform);
|
|
4095
4139
|
return true;
|
|
4096
4140
|
}
|
|
4097
4141
|
console.log(chalk6.dim("\n> Got it! Creating a task for this...\n"));
|
|
4098
|
-
const { plan: plan2 } = await import("./plan-
|
|
4099
|
-
await plan2(freeform, {});
|
|
4142
|
+
const { plan: plan2 } = await import("./plan-3UKVNQDT.js");
|
|
4143
|
+
await plan2(freeform, { conversational: true });
|
|
4100
4144
|
return true;
|
|
4101
4145
|
}
|
|
4102
4146
|
function extractActionableFollowUpFromExplore(input) {
|
|
@@ -4145,8 +4189,8 @@ async function handlePostExploreAction(cwd, request) {
|
|
|
4145
4189
|
} else {
|
|
4146
4190
|
console.log(chalk6.dim("> Got it! Creating a task for this...\n"));
|
|
4147
4191
|
}
|
|
4148
|
-
const { plan: plan2 } = await import("./plan-
|
|
4149
|
-
await plan2(request, {});
|
|
4192
|
+
const { plan: plan2 } = await import("./plan-3UKVNQDT.js");
|
|
4193
|
+
await plan2(request, { conversational: true });
|
|
4150
4194
|
}
|
|
4151
4195
|
async function showReviewProgress(cwd) {
|
|
4152
4196
|
try {
|
|
@@ -4167,18 +4211,18 @@ async function showReviewProgress(cwd) {
|
|
|
4167
4211
|
}
|
|
4168
4212
|
}
|
|
4169
4213
|
async function planTask() {
|
|
4170
|
-
const { plan: plan2 } = await import("./plan-
|
|
4214
|
+
const { plan: plan2 } = await import("./plan-3UKVNQDT.js");
|
|
4171
4215
|
const description = await promptWithCommands("Describe what you want to build", { allowMultiline: true });
|
|
4172
4216
|
if (description.trim()) {
|
|
4173
|
-
await plan2(description, {});
|
|
4217
|
+
await plan2(description, { conversational: true });
|
|
4174
4218
|
}
|
|
4175
4219
|
}
|
|
4176
4220
|
async function listAtoms() {
|
|
4177
|
-
const { list: list2 } = await import("./list-
|
|
4221
|
+
const { list: list2 } = await import("./list-53NTME4Q.js");
|
|
4178
4222
|
await list2({});
|
|
4179
4223
|
}
|
|
4180
4224
|
async function executeNext() {
|
|
4181
|
-
const { listLocalAtoms: listLocalAtoms2 } = await import("./plan-
|
|
4225
|
+
const { listLocalAtoms: listLocalAtoms2 } = await import("./plan-3UKVNQDT.js");
|
|
4182
4226
|
const { analyzeProject, getComplexityDescription, getModeDescription } = await import("./orchestration-HIF3KP25.js");
|
|
4183
4227
|
const { loadExecutionPreferences } = await import("./preferences-4V4C7MVD.js");
|
|
4184
4228
|
const cwd = process.cwd();
|
|
@@ -4249,11 +4293,11 @@ async function executeNext() {
|
|
|
4249
4293
|
}
|
|
4250
4294
|
}
|
|
4251
4295
|
if (selectedMode === "parallel-cloud") {
|
|
4252
|
-
const { parallelExecuteCloud: parallelExecuteCloud2 } = await import("./parallel-
|
|
4296
|
+
const { parallelExecuteCloud: parallelExecuteCloud2 } = await import("./parallel-3JTGAHOS.js");
|
|
4253
4297
|
await parallelExecuteCloud2(runIds);
|
|
4254
4298
|
return;
|
|
4255
4299
|
}
|
|
4256
|
-
const { parallelExecute } = await import("./parallel-
|
|
4300
|
+
const { parallelExecute } = await import("./parallel-3JTGAHOS.js");
|
|
4257
4301
|
await parallelExecute(runIds);
|
|
4258
4302
|
return;
|
|
4259
4303
|
}
|
|
@@ -4261,7 +4305,7 @@ async function executeNext() {
|
|
|
4261
4305
|
const atomId = await prompt("Enter atom ID to execute (or press Enter for first pending)");
|
|
4262
4306
|
const targetId = atomId.trim() || pendingAtoms[0]?.id;
|
|
4263
4307
|
if (targetId) {
|
|
4264
|
-
const { execute: execute2 } = await import("./execute-
|
|
4308
|
+
const { execute: execute2 } = await import("./execute-LJNJEXWD.js");
|
|
4265
4309
|
await execute2(targetId, {});
|
|
4266
4310
|
} else {
|
|
4267
4311
|
console.log(chalk6.yellow("No atom to execute."));
|
|
@@ -4408,13 +4452,13 @@ async function handleSlashCommand(input) {
|
|
|
4408
4452
|
const arg = parts.slice(1).join(" ").trim();
|
|
4409
4453
|
switch (command) {
|
|
4410
4454
|
case "/plan": {
|
|
4411
|
-
const { plan: plan2 } = await import("./plan-
|
|
4455
|
+
const { plan: plan2 } = await import("./plan-3UKVNQDT.js");
|
|
4412
4456
|
if (arg) {
|
|
4413
|
-
await plan2(arg, {});
|
|
4457
|
+
await plan2(arg, { conversational: true });
|
|
4414
4458
|
} else {
|
|
4415
4459
|
const description = await promptWithCommands("Describe what you want to build", { allowMultiline: true });
|
|
4416
4460
|
if (description.trim()) {
|
|
4417
|
-
await plan2(description, {});
|
|
4461
|
+
await plan2(description, { conversational: true });
|
|
4418
4462
|
}
|
|
4419
4463
|
}
|
|
4420
4464
|
return true;
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
parallelRunWaves,
|
|
7
7
|
parallelSchedule,
|
|
8
8
|
parallelStatus
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BUFMPKXX.js";
|
|
10
10
|
import "./chunk-EBHHIUCB.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-VUT5XLKM.js";
|
|
12
12
|
import "./chunk-PCTP3LKJ.js";
|
|
13
13
|
import "./chunk-PJRQI5UN.js";
|
|
14
14
|
import "./chunk-EIEU3IIY.js";
|