(field, kind, rawSubconfigs)
| 680 | } |
| 681 | |
| 682 | function writeNativeToolConfigField(field, kind, rawSubconfigs) { |
| 683 | // writeMessageField intentionally drops empty buffers for most call sites; |
| 684 | // CascadeToolConfig needs the field presence itself, encoded as len=0. |
| 685 | return writeBytesField(field, rawSubconfigs.get(kind) || Buffer.alloc(0)); |
| 686 | } |
| 687 | |
| 688 | function parseNativeToolConfigRawOverrides() { |
| 689 | const raw = String(process.env.WINDSURFAPI_NATIVE_TOOL_BRIDGE_CONFIG_RAW || '').trim(); |
no test coverage detected