MCPcopy Create free account
hub / github.com/Ark0N/Codeman / shouldApplyInput

Method shouldApplyInput

src/session.ts:2283–2294  ·  view source on GitHub ↗

* Decide whether an input frame should be applied to the PTY or skipped as a * duplicate redelivery. Returns true exactly once per (clientId, seq): the * first time a seq strictly greater than the client's last-applied is seen. * A redelivery of an already-applied seq (the client never got

(clientId: string, seq: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

registerSessionRoutesFunction · 0.95
registerWsRoutesFunction · 0.45

Calls 5

getMethod · 0.45
deleteMethod · 0.45
setMethod · 0.45
nextMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected