fix(coding-agent): include RPC request id on unknown commands

closes #5868
This commit is contained in:
Vegard Stikbakke
2026-06-18 10:44:59 +02:00
parent 008c76f955
commit 51f7523587
3 changed files with 115 additions and 1 deletions

View File

@@ -667,7 +667,7 @@ export async function runRpcMode(runtimeHost: AgentSessionRuntime): Promise<neve
default: {
const unknownCommand = command as { type: string };
return error(undefined, unknownCommand.type, `Unknown command: ${unknownCommand.type}`);
return error(id, unknownCommand.type, `Unknown command: ${unknownCommand.type}`);
}
}
};