archondev 2.19.12 → 2.19.13
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/index.js +14 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3947,12 +3947,25 @@ async function handleContinueSession(cwd, state) {
|
|
|
3947
3947
|
if (response.trim()) {
|
|
3948
3948
|
const handled = await handleFreeformJourneyInput(cwd, response);
|
|
3949
3949
|
if (handled) {
|
|
3950
|
-
await
|
|
3950
|
+
await continueConversationLoop(cwd);
|
|
3951
3951
|
return;
|
|
3952
3952
|
}
|
|
3953
3953
|
}
|
|
3954
3954
|
await showMainMenu();
|
|
3955
3955
|
}
|
|
3956
|
+
async function continueConversationLoop(cwd) {
|
|
3957
|
+
while (true) {
|
|
3958
|
+
const response = await promptWithCommands("Anything else? (press Enter for options)", { allowMultiline: true });
|
|
3959
|
+
if (!response.trim()) {
|
|
3960
|
+
await showMainMenu();
|
|
3961
|
+
return;
|
|
3962
|
+
}
|
|
3963
|
+
const handled = await handleFreeformJourneyInput(cwd, response);
|
|
3964
|
+
if (!handled) {
|
|
3965
|
+
console.log(chalk6.yellow("I did not catch that. Try describing your goal in one sentence."));
|
|
3966
|
+
}
|
|
3967
|
+
}
|
|
3968
|
+
}
|
|
3956
3969
|
function checkForHandoff(cwd) {
|
|
3957
3970
|
try {
|
|
3958
3971
|
const currentContextPath = join6(cwd, ".archon", "current_context.md");
|