MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / writeNativeToolConfigField

Function writeNativeToolConfigField

src/windsurf.js:682–686  ·  view source on GitHub ↗
(field, kind, rawSubconfigs)

Source from the content-addressed store, hash-verified

680}
681
682function 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
688function parseNativeToolConfigRawOverrides() {
689 const raw = String(process.env.WINDSURFAPI_NATIVE_TOOL_BRIDGE_CONFIG_RAW || '').trim();

Callers 1

Calls 1

writeBytesFieldFunction · 0.90

Tested by

no test coverage detected