taskplane 0.21.8 → 0.21.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.
|
@@ -243,8 +243,12 @@ export function parsePromptForOrchestrator(
|
|
|
243
243
|
const scopeBody = fileScopeMatch[1].trim();
|
|
244
244
|
const scopeLines = scopeBody.split("\n");
|
|
245
245
|
for (const line of scopeLines) {
|
|
246
|
-
// "- extensions/task-orchestrator.ts" or "-
|
|
247
|
-
|
|
246
|
+
// "- extensions/task-orchestrator.ts" or "- `api-service/src/health.js`"
|
|
247
|
+
let trimmed = line.replace(/^[\s-*]+/, "").trim();
|
|
248
|
+
// Strip inline backticks: `path/to/file` → path/to/file
|
|
249
|
+
if (trimmed.startsWith("`") && trimmed.endsWith("`")) {
|
|
250
|
+
trimmed = trimmed.slice(1, -1);
|
|
251
|
+
}
|
|
248
252
|
if (trimmed && !trimmed.startsWith("#") && !trimmed.startsWith("```")) {
|
|
249
253
|
fileScope.push(trimmed);
|
|
250
254
|
}
|