* fix(gateway): normalize null escapes in DeepSeek tool patterns via gjson
Claude Code sends an Artifact tool schema containing ECMAScript null
escape '^[^\0]*$', which DeepSeek's schema validator rejects with HTTP 400
('Invalid schema for function ... is not a regex').
Normalize standalone \0 escapes to \u0000 in tool schemas when routing to
DeepSeek presets or custom providers targeting api.deepseek.com. Use gjson
to splice only the normalized tools array into the body, avoiding full
unmarshal/marshal overhead on multi-megabyte payloads.
Closes#370
* perf(gateway): replace pattern strings in place via sjson
* perf(gateway): splice pattern replacements using absolute gjson Index
Replace sjson path traversal with backward splicing using gjson's absolute
Index and Raw length. This drops the sjson dependency entirely, correctly
handles arbitrary property names (such as a\\b, :x, @prefix, or |pipe), and
prevents HTML-entity escaping on replacement strings.
* perf(gateway): construct fresh buffer for pattern replacements
Sort targets ascending by Index and copy forward into a fresh allocation.
This avoids reusing the caller's backing array when body has spare capacity,
preventing in-place mutation and corruption of the original slice.