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

Function buildGetGeneratorMetadataRequest

src/windsurf.js:891–895  ·  view source on GitHub ↗
(cascadeId, offset = 0)

Source from the content-addressed store, hash-verified

889 * usually empty — the LS only fills it on this separate RPC.
890 */
891export function buildGetGeneratorMetadataRequest(cascadeId, offset = 0) {
892 const parts = [writeStringField(1, cascadeId)];
893 if (offset > 0) parts.push(writeVarintField(2, offset));
894 return Buffer.concat(parts);
895}
896
897/**
898 * Parse GetCascadeTrajectoryGeneratorMetadataResponse → aggregated usage.

Callers 1

cascadeChatMethod · 0.90

Calls 3

writeStringFieldFunction · 0.90
writeVarintFieldFunction · 0.90
pushMethod · 0.80

Tested by

no test coverage detected