mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
d61dd7be0e
* refactor: extract shared scoring logic and consolidate time format utils - Extract applyUrlScoreAdjustments() and scoreArrayResponse() to analysis.ts, eliminating duplicated endpoint scoring between explore.ts and record.ts - Consolidate formatDuration/formatUptime into a single formatDuration(ms) in download/progress.ts, reused by commands/daemon.ts * fix: preserve explore scoring semantics and round daemon uptime - Revert explore.ts scoreEndpoint to original inline /api/ /x/ bonus without record's tracking/analytics penalty (blocker from review) - Math.round uptime*1000 to avoid floating-point noise in daemon status