ailoop-context-1.0.0-rc.1 has been yanked.
ailoop-context
Conversation history management and compaction for
ailoop.
Provides:
ContextManager— keeps the conversation message vector and the pin mask used by compaction strategies.Compactorstrategies — drop / summarize old turns while preserving tool-call / tool-result pairing. EmitsStreamChunk::HistoryCompactedwith strategy name and counts.HistoryStore— async trait for persisting and restoring conversation state. Ships withInMemoryHistoryStoreandJsonFileHistoryStore.Tokenizer/CharTokenizer— pluggable token-estimation abstraction used by budgeting strategies.ConversationSnapshot— versioned, JSON-serializable representation of an activeConversation, ready for restart.
Most application code reaches the context surface through the
ailoop façade re-exports rather than depending on this crate
directly.
See the workspace README for the big picture.
License
Licensed under either of Apache-2.0 or MIT, at your option.