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

Function injectState

scripts/capture-readme-screenshots.mjs:591–697  ·  view source on GitHub ↗

* Inject mock state into the app and render. * Bypasses SSE entirely — calls handleInit directly, then selects a session * and writes terminal content.

(page, initPayload, terminalContent, activeSessionId)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

captureOverviewFunction · 0.70
captureSubagentSpawnFunction · 0.70
captureRalphTrackerFunction · 0.70

Calls 10

handleInitMethod · 0.80
selectSessionMethod · 0.80
translateToStringMethod · 0.80
sleepFunction · 0.70
trimMethod · 0.45
clearMethod · 0.45
resetMethod · 0.45
writeMethod · 0.45
closeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected