Skip to main content

Module cache

Module cache 

Source
Expand description

File-based caching for discovery results.

Cache directory: varies by platform

  • Linux: ~/.cache/opencode-provider-manager/
  • macOS: ~/Library/Caches/opencode-provider-manager/
  • Windows: %LOCALAPPDATA%\opencode-provider-manager\cache\

Cache TTL: configurable, default 24 hours.

Structsยง

CacheEntry
Cache entry with metadata. Uses serde_json::Value for serialization to avoid generic bounds issues.
CacheManager
File-based cache manager.