archondev 2.19.47 → 2.19.48
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 +11 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4437,7 +4437,17 @@ function extractActionableFollowUpFromExplore(input) {
|
|
|
4437
4437
|
function isFileLocationQuestion(input) {
|
|
4438
4438
|
const normalized = normalizeDirectiveInput(input);
|
|
4439
4439
|
if (!normalized) return false;
|
|
4440
|
-
|
|
4440
|
+
const hasLocationPhrase = /\b(where is|where are|path|file path|location|locate|find)\b/.test(normalized);
|
|
4441
|
+
const hasFileObject = /\b(file|files|output|outputs|modified|changed|written|saved)\b/.test(normalized);
|
|
4442
|
+
const directWhatFiles = /\bwhat files were (modified|changed|written|saved)\b/.test(normalized);
|
|
4443
|
+
const showFiles = /\bshow( me)?( the)? (file|files|output|outputs|changes?)\b/.test(normalized);
|
|
4444
|
+
if (!(directWhatFiles || showFiles || hasLocationPhrase && hasFileObject)) {
|
|
4445
|
+
return false;
|
|
4446
|
+
}
|
|
4447
|
+
if (/\b(plan|implement|create|build|review|analy[sz]e|capsule|lesson)\b/.test(normalized) && !hasLocationPhrase) {
|
|
4448
|
+
return false;
|
|
4449
|
+
}
|
|
4450
|
+
return true;
|
|
4441
4451
|
}
|
|
4442
4452
|
async function answerLatestOutputLocation(cwd) {
|
|
4443
4453
|
const { listLocalAtoms: listLocalAtoms2 } = await import("./plan-I3P6U2ZM.js");
|