8000 feat(collector): support --codex-5h flag in quota-warmup task by InfinityPacer · Pull Request #75 · InfinityPacer/meterleaf · GitHub
[go: up one dir, main page]

Skip to content

feat(collector): support --codex-5h flag in quota-warmup task - #75

Merged
InfinityPacer merged 1 commit into
mainfrom
feat/quota-warmup-codex-5h
Nov 10, 2026
Merged

InfinityPacer merged 1 commit into
mainfrom
feat/quota-warmup-codex-5h

Conversation

@InfinityPacer
Copy link
Copy Markdown
Owner

背景

需要单独开启 Codex 的 5 小时窗口(five-hour)到期预热,同时保持 Antigravity 只预热 7 天周窗口(gemini_weekly 与 3p_weekly)。

变更内容

  • scripts/quota-warmup.ts 新增 --codex-5h 参数(及 METERLEAF_WARMUP_CODEX_5H=1 环境变量):启用后,Codex 的 seven-day 与 five-hour 窗口到期均会自动预热,Antigravity 仍只预热周窗口(--include-5h 则开启全部 5 小时窗口)。
  • 补充 tests/quota-warmup.test.ts 单测与 docs/collector.md 说明。

验证证据

  • bun test tests/quota-warmup.test.ts 与 bun run typecheck 通过。
  • 本机 meterleaf-collector tasks 已更新为 --codex-5h 并执行通过。

@InfinityPacer
InfinityPacer merged commit 2165eee into main Nov 10, 2026
@InfinityPacer
InfinityPacer deleted the feat/quota-warmup-codex-5h branch November 10, 2026 12:03
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

0