ponshu-room-lite/lib
Ponshu Developer ac2a54d07a feat: AI使用回数トラッキング + クォータ上限時ドラフト保存
- ApiUsageService: SharedPreferences で Gemini 日次使用回数を追跡
  - UTC 08:00(=日本時間 17:00)でリセット
  - 上限 20回/日(プロジェクトあたりの無料枠)
- DraftReason enum: offline / quotaLimit / congestion を区別
- camera_analysis_mixin: 解析前にクォータを事前チェック
  - 上限到達時は Draft 保存してカメラを閉じる(写真は失われない)
  - 429 エラー時も同様に Draft 保存(従来はエラー表示のみで写真消失)
  - API 呼び出し成功時(キャッシュ除く)にカウントアップ
- pending_analysis_screen: ドラフト理由を各アイテムに表示
  - クォータ: リセット時刻つきの警告(オレンジ)
  - 混雑 / オフライン: 理由別メッセージ
- ActivityStats: AI 使用状況 bento カードを追加
  - 今日のAI解析 X / 20回 + プログレスバー
  - 残り5回以下でオレンジ、上限到達で赤

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 17:58:00 +09:00
..
constants feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
l10n feat: Code quality improvements (v1.0-full-with-qr) 2026-01-30 00:54:22 +09:00
models fix: code review fixes — data integrity, safety, architecture 2026-04-10 08:26:53 +09:00
providers refactor: apply critical code review fixes 2026-04-12 00:24:57 +09:00
screens feat: AI使用回数トラッキング + クォータ上限時ドラフト保存 2026-04-16 17:58:00 +09:00
services feat: AI使用回数トラッキング + クォータ上限時ドラフト保存 2026-04-16 17:58:00 +09:00
theme feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
utils feat: v1.0.16 brushup + Synology Proxy integration 2026-02-16 00:13:12 +09:00
widgets feat: AI使用回数トラッキング + クォータ上限時ドラフト保存 2026-04-16 17:58:00 +09:00
main.dart refactor: replace disk cache with in-memory session cache (v1.0.33) 2026-04-12 08:13:18 +09:00
secrets.dart security: remove internal Tailscale IP from APK binary (v1.0.34) 2026-04-12 11:47:35 +09:00
secrets.local.dart.example feat: Add Bearer Token authentication to AI Proxy and disable CORS 2026-02-16 11:34:00 +09:00