fix: ignore command source in mdtodo launch

This commit is contained in:
Codex
2026-06-30 13:28:25 +00:00
parent 65daebf9c1
commit 09283683ab
@@ -4127,7 +4127,7 @@ async function launchWorkbenchFromTask(command) {
ensureProjectManagementCommand(commandType);
const beforeUrl = currentPageUrl();
const initialProject = await projectManagementCommandSnapshot({ includeRaw: true });
const requestedSourceId = commandValue(command, ["sourceId", "source"]);
const requestedSourceId = commandValue(command, ["sourceId", "mdtodoSourceId"]);
const requestedFileRef = commandValue(command, ["fileRef"]);
const requestedFilename = commandValue(command, ["filename", "fileName"]);
const requestedTaskRef = typeof command.taskRef === "string" && command.taskRef.trim() ? command.taskRef.trim() : null;