MCPcopy Index your code
hub / github.com/shareAI-lab/learn-claude-code / read_inbox

Method read_inbox

agents/s_full.py:377–382  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

375 return f"Sent {msg_type} to {to}"
376
377 def read_inbox(self, name: str) -> list:
378 path = INBOX_DIR / f"{name}.jsonl"
379 if not path.exists(): return []
380 msgs = [json.loads(l) for l in path.read_text().strip().splitlines() if l]
381 path.write_text("")
382 return msgs
383
384 def broadcast(self, sender: str, content: str, names: list) -> str:
385 count = 0

Callers 3

_loopMethod · 0.45
s_full.pyFile · 0.45
agent_loopFunction · 0.45

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected