Feature request: opt-in auto quota-starter for Claude five-hour sessions

Aperta
#162 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@prakersh ci sta già lavorando.

Dal 25/11/2026.

  • #169 di @prakersh — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, sqlite
Ambito
api, backend

Direzione di ricerca

The request asks for an opt-in starter for Claude's five-hour session, modelled on the existing Codex starter; start by reading how that starter detects an inactive window, sends its request, and reports success or failure. Then find where the Anthropic quota data is stored in SQLite and where the Settings → Providers → Anthropic toggle would live. Done means the toggle is off by default, one minimal request starts a session only when none is active, and retries are bounded. Decide the lightweight model and rate cap with a maintainer first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Could onWatch add an opt-in auto quota-starter for Anthropic/Claude's five-hour session window, similar to the existing Codex starter?

Claude's five-hour period starts with the first message. If the previous session has expired while I am away, the next countdown does not begin until I send another message. I would like onWatch to start that window automatically so it is already running before I return to work.

This request is only for the five-hour window. Claude's weekly limits reset at a fixed account-specific time regardless of activity, so a weekly starter is unnecessary. See Anthropic's explanation of session and weekly limits.

Suggested behavior:

  • Add a disabled-by-default Auto-start five-hour session toggle under Settings → Providers → Anthropic.
  • When quota data indicates that no five-hour session is active, send one minimal completed request using the configured Claude subscription credentials and a suitable lightweight model.
  • Ensure the request counts toward the same subscription quota tracked by onWatch, rather than separate API billing.
  • Avoid duplicate starts while a session is active; use bounded retries and a rate cap for failures.
  • Reuse the existing starter success/failure notifications, with clear authentication errors when user action is required.

Related: #76 mentioned Claude in passing, but was closed after the Codex auto quota-starter shipped. This is a separate request for Claude's five-hour sessions.

Lingua principale
Go
Stelle
756
Fork
65
Merge medio
9g 4h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di onllm-dev/onWatch

Tutte le issue di onllm-dev/onWatch

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.