taskplane 0.21.5 → 0.21.6
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.
|
@@ -208,9 +208,9 @@ export function parsePromptForOrchestrator(
|
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
if (execTargetSectionBody !== null) {
|
|
211
|
-
// Match "Repo: api" or "**Repo:** api" or "
|
|
211
|
+
// Match "Repo: api" or "**Repo:** api" or "Workspace: api" with whitespace
|
|
212
212
|
const repoLineMatch = execTargetSectionBody.match(
|
|
213
|
-
/^\s*\*?\*?Repo:?\*?\*?\s+(\S+)/mi,
|
|
213
|
+
/^\s*\*?\*?(?:Repo|Workspace):?\*?\*?\s+(\S+)/mi,
|
|
214
214
|
);
|
|
215
215
|
if (repoLineMatch) {
|
|
216
216
|
const candidate = repoLineMatch[1].trim().toLowerCase();
|
|
@@ -220,10 +220,10 @@ export function parsePromptForOrchestrator(
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
// Priority 2 (fallback): Inline "**Repo:** <id>" anywhere in content
|
|
223
|
+
// Priority 2 (fallback): Inline "**Repo:** <id>" or "**Workspace:** <id>" anywhere in content
|
|
224
224
|
if (!promptRepoId) {
|
|
225
225
|
const inlineRepoMatch = content.match(
|
|
226
|
-
/^\*\*Repo:\*\*\s+(\S+)/m,
|
|
226
|
+
/^\*\*(?:Repo|Workspace):\*\*\s+(\S+)/m,
|
|
227
227
|
);
|
|
228
228
|
if (inlineRepoMatch) {
|
|
229
229
|
const candidate = inlineRepoMatch[1].trim().toLowerCase();
|