feat(port): ported pi-mono improvements + worker & patch improvements
- added Azure OpenAI Responses support and OpenRouter routing compat - improved patch applicator diagnostics and subagent context propagation - updated editor cursor handling, keybindings, and working message API - refreshed porting sync metadata
This commit is contained in:
@@ -328,6 +328,11 @@ function parseOneHunk(lines: string[], lineNumber: number, allowMissingContext:
|
||||
for (let i = startIndex; i < lines.length; i++) {
|
||||
const line = lines[i];
|
||||
const trimmed = line.trim();
|
||||
const nextLine = lines[i + 1];
|
||||
|
||||
if (line === "" && parsedLines > 0 && nextLine?.trimStart().startsWith("@@")) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (!isDiffContentLine(line) && line.trimEnd() === EOF_MARKER && line.startsWith(EOF_MARKER)) {
|
||||
if (parsedLines === 0) {
|
||||
|
||||
Reference in New Issue
Block a user