wip: cache-tracking progress

This commit is contained in:
Yeachan-Heo
2026-04-01 04:30:24 +00:00
parent ac6c5d00a8
commit 0cf2204d43
4 changed files with 916 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
mod client;
mod error;
mod prompt_cache;
mod sse;
mod types;
@@ -8,6 +9,10 @@ pub use client::{
AnthropicClient, AuthSource, MessageStream, OAuthTokenSet,
};
pub use error::ApiError;
pub use prompt_cache::{
CacheBreakEvent, PromptCache, PromptCacheConfig, PromptCachePaths, PromptCacheRecord,
PromptCacheStats,
};
pub use sse::{parse_frame, SseParser};
pub use types::{
ContentBlockDelta, ContentBlockDeltaEvent, ContentBlockStartEvent, ContentBlockStopEvent,