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

Function buildUpdatePanelStateWithUserStatusRequest

src/windsurf.js:294–302  ·  view source on GitHub ↗
(apiKey, sessionId, userStatusBytes)

Source from the content-addressed store, hash-verified

292}
293
294export function buildUpdatePanelStateWithUserStatusRequest(apiKey, sessionId, userStatusBytes) {
295 const parts = [
296 writeMessageField(1, buildMetadata(apiKey, undefined, sessionId)),
297 ];
298 if (userStatusBytes?.length) {
299 parts.push(writeMessageField(2, userStatusBytes));
300 }
301 return Buffer.concat(parts);
302}
303
304// ─── Cascade flow builders ─────────────────────────────────
305

Callers 2

getUserStatusMethod · 0.90

Calls 3

writeMessageFieldFunction · 0.90
pushMethod · 0.80
buildMetadataFunction · 0.70

Tested by

no test coverage detected