- chat-parser-xml-toolcall: when remainder does not look like JSON start
(e.g. 'explore'), skip try_consume_json and fall through to plain-text
path instead of throwing; fixes Task tool (subagent_type=explore) never
completing
- server-context: catch std::runtime_error from common_sampler_accept and
common_sampler_sample_and_accept_n (e.g. 'Unexpected empty grammar
stack'); return 500 and release slot instead of aborting
Co-authored-by: Cursor <cursoragent@cursor.com>