Skip to content

feat(pricing): background pricing sync scheduler (Task #14)#30

Open
lubobill1990 wants to merge 1 commit into
feat/13-version-write-logicfrom
feat/14-pricing-scheduler
Open

feat(pricing): background pricing sync scheduler (Task #14)#30
lubobill1990 wants to merge 1 commit into
feat/13-version-write-logicfrom
feat/14-pricing-scheduler

Conversation

@lubobill1990
Copy link
Copy Markdown
Collaborator

Summary

  • Add schedulePricingSync module: setTimeout-based tick loop that reads meta.last_pricing_sync_ts to schedule periodic pricing syncs
  • Wire into start.ts with three new CLI flags: --pricing-sync-model, --pricing-sync-interval-days, --pricing-sync-disabled
  • Extract promptClaudeCodeSetup helper to keep runServer within max-lines-per-function lint rule

Test plan

  • Existing pricing-sync-runner.test.ts (4 tests) pass
  • TypeScript compiles cleanly
  • Lint passes

🤖 Generated with Claude Code

Extract promptClaudeCodeSetup helper to stay within max-lines-per-function.
Wire schedulePricingSync into start.ts with CLI flags:
--pricing-sync-model, --pricing-sync-interval-days, --pricing-sync-disabled

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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