Afficher le compte à rebours du cache
Affiche le temps restant du cache de prompts et combien de temps la dernière requête l'a utilisé.
Comment l'utiliser
L'installation se fait depuis le dépôt de l'auteur, qui en donne la marche à suivre.
Présentation
Le code de cette création vit sur le dépôt de son auteur, sous licence MIT. Installe-la avec la marche à suivre ci-dessus ou depuis le dépôt.
A countdown in the prompt footer: under the hint line on the terminal, left of the model picker on the desktop: time left on the prompt cache and how much of the last request it served, or, when the cache was written again while it should have been warm, why (a model switch, an effort change); after a model switch, before anything is sent, what the other model will write. In Ghostty a big cache also raises a macOS notification before it expires and on a rebuild nobody asked for. Olive while there is plenty, warmer at 10, 5 and 2 minutes left (scaled down for a 5-minute cache). The lifetime follows Claude Code's own rules: 1 hour on a subscription, 5 minutes on an API key or usage credits.
Description d'origine, en anglais
A countdown in the prompt footer: under the hint line on the terminal, left of the model picker on the desktop: time left on the prompt cache and how much of the last request it served, or, when the cache was written again while it should have been warm, why (a model switch, an effort change); after a model switch, before anything is sent, what the other model will write. In Ghostty a big cache also raises a macOS notification before it expires and on a rebuild nobody asked for. Olive while there is plenty, warmer at 10, 5 and 2 minutes left (scaled down for a 5-minute cache). The lifetime follows Claude Code's own rules: 1 hour on a subscription, 5 minutes on an API key or usage credits.
D'où vient cette fiche
Création de Aleksandr_NFA, publiée sur Sanexxxx777/claude-cache-timer sous licence MIT.
Le titre, le résumé et le classement en français sont rédigés par SuperPrompt.
