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

オープン
#162 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@prakersh がすでに取り組んでいます。

2026年11月25日 から。

  • #169 @prakersh による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go, sqlite
領域
api, backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Go
スター
756
フォーク
65
平均マージ
9日 4時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

onllm-dev/onWatch のほかの issue

onllm-dev/onWatch の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。