MCPcopy Create free account
hub / github.com/SethGammon/Citadel / readStdin

Function readStdin

scripts/codex-review-fetch.js:20–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20function readStdin() {
21 try {
22 return fs.readFileSync(0, 'utf8');
23 } catch {
24 return '';
25 }
26}
27
28function parseJsonValues(raw) {
29 const text = String(raw || '').trim();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected