Commit 3db2feb
committed
fix(mcp): bound constraints copied into diagnostic details
Bound large schema constraint values (pattern, enum, const) in
schema_violation_details to prevent multi-megabyte diagnostic
responses. Strings are truncated to 1024 chars; non-string values
are JSON-rendered and truncated if the rendered form exceeds 1024.1 parent 75ec2ef commit 3db2feb
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
142 | 150 | | |
143 | 151 | | |
144 | 152 | | |
| |||
0 commit comments