forked from kent/consciousness
Replace untyped message list with ConversationEntry enum:
- Message(Message) — regular conversation turn
- Memory { key, message } — memory content with preserved message
for KV cache round-tripping
Budget counts memory vs conversation by matching on enum variant.
Debug screen labels memory entries with [memory: key]. No heuristic
tool-name scanning.
Custom serde: Memory serializes with a memory_key field alongside
the message fields, deserializes by checking for the field.
Co-Authored-By: Proof of Concept <poc@bcachefs.org>
|
||
|---|---|---|
| .. | ||
| diag-key.rs | ||
| find-deleted.rs | ||
| memory-search.rs | ||
| merge-logs.rs | ||
| parse-claude-conversation.rs | ||
| poc-agent.rs | ||
| poc-hook.rs | ||
| test-conversation.rs | ||