Skip to content

feat: implement temporary config cache with TTL support#61

Merged
QuakeWang merged 1 commit intomainfrom
feat/temp-config-cache
Dec 26, 2025
Merged

feat: implement temporary config cache with TTL support#61
QuakeWang merged 1 commit intomainfrom
feat/temp-config-cache

Conversation

@QuakeWang
Copy link
Owner

@QuakeWang QuakeWang commented Dec 26, 2025

Refer to a related PR or issue link (optional)

None

What's changed and what's your intention?

This PR adds an encrypted, TTL-based temporary config cache to the existing profile store to make one-off provider switching easier without creating a named profile. It also defines and documents a consistent config resolution order: --profile > temp cache (if not expired) > env vars > default profile. New CLI entrypoints: storify config create --temp --ttl 24h ... and storify config temp show|clear.

PR Checklist

Please convert it to a draft if some of the following conditions are not met.

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests.
  • This PR requires documentation updates.

@QuakeWang
Copy link
Owner Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Can't wait for the next one!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@QuakeWang QuakeWang merged commit befbb1a into main Dec 26, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant