MCPcopy
hub / github.com/di-sukharev/opencommit / decoder

Function decoder

out/cli.cjs:42505–42508  ·  view source on GitHub ↗
(rawEvent)

Source from the content-addressed store, hash-verified

42503 return new event_streams_js_1.EventStream({
42504 stream: stream4,
42505 decoder(rawEvent) {
42506 const schema = components.CompletionEvent$inboundSchema;
42507 return schema.parse(rawEvent);
42508 }
42509 });
42510 }), { sseSentinel: "[DONE]" }), M5.jsonErr(422, errors.HTTPValidationError$inboundSchema), M5.fail(["4XX", "5XX"]))(response, { extraFields: responseFields });
42511 if (!result.ok) {

Callers 1

parseEventFunction · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…