server: infer JSON types for GLM tool-call arguments
Fixes #569.
GLM's <arg_key>/<arg_value> wire format carries no type attribute, unlike DSML's string="true|false" that the DeepSeek path already honors. Every argument was therefore quoted as a JSON string regardless of its actual type — numbers became "10", arrays became "[]", booleans became "true". Any client that validates tool-call arguments against the tool's JSON schema (zod/ajv-style validators) rejects the call.
Fix (the heuristic option from the issue): a value that fully parses as one JSON value (number, bool, null, array, or object) with nothing left over after trimming whitespace is passed through raw instead of being quoted — reusing the same whole-string validation semantics json_minify_raw_value's existing callers already rely on for DSML's explicit string="false" path. A plain string is unaffected and still gets quoted exactly as before.
Root cause and the fix approach were identified by @solodddd in #569, including the exact repro (WebSearch with a string/number/array argument mix) that the new test is built from.
Testing: full make ds4_test suite passes. Added test_json_text_is_whole_value (the new helper in isolation) and test_parse_glm_tool_call_infers_json_value_types (the exact issue repro end-to-end through parse_generated_message_ex_for_syntax, asserting max_results and exclude_domains are now unquoted while query stays a quoted string). Updated the one pre-existing assertion that encoded the old behavior (test_parse_glm_tool_call_message expected "timeout": "10", now "timeout": 10).