Fully implement cache-manager interface#2
Merged
Merged
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: #1
…n storage - Add LinoCache class with full cache-manager store interface - Support two storage modes: folder mode and single-file mode - Implement core methods: get, set, del, mget, mset, mdel, wrap, clear - Add TTL (time-to-live) support for automatic entry expiration - Use lino-objects-codec for serialization to .lino format - Include comprehensive TypeScript type definitions - Add factory functions: createLinoCache and linoStore - Add 30 comprehensive tests covering all functionality - Update documentation and examples Fixes #1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Update PACKAGE_NAME constant in all scripts from template's 'my-package' to 'lino-cache' for proper changeset validation and release automation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
The cache library needs write access to create cache files, so Deno tests require both --allow-read and --allow-write flags. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
This reverts commit d588efa.
Member
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fully implements the cache-manager compatible interface for lino-cache, using lino-objects-codec to store objects in Links Notation (.lino) format instead of JSON.
Features
.linofile.linofileget,set,del- Basic operationsmget,mset,mdel- Multi-key operationswrap- Function cachingclear,reset- Cache clearingttl,has,keys- Utility methodsdisconnect- CleanupcreateLinoCacheandlinoStoreChanges
lino-cachelino-objects-codecdependencyTest plan
Fixes #1
🤖 Generated with Claude Code