MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / write_raw

Method write_raw

src/services/session_storage.py:158–162  ·  view source on GitHub ↗

Write raw dict to transcript buffer.

(self, data: dict[str, Any])

Source from the content-addressed store, hash-verified

156 self.flush()
157
158 def write_raw(self, data: dict[str, Any]) -> None:
159 """Write raw dict to transcript buffer."""
160 self._write_buffer.append(data)
161 if len(self._write_buffer) >= MAX_FLUSH_BATCH:
162 self.flush()
163
164 def flush(self) -> None:
165 """Flush buffered messages to disk."""

Callers 2

test_write_rawMethod · 0.95

Calls 2

flushMethod · 0.95
appendMethod · 0.45

Tested by 2

test_write_rawMethod · 0.76