Skip to content

v0.1.1

Choose a tag to compare

@road-kid road-kid released this 27 Oct 20:39
· 33 commits to main since this release

Fixed

  • The usage card's percentage was forever 0%. The pair it computed from (dailyRemainingPoints/dailyLimitPoints) never comes back from the live upstream, and the dailyBalance the card fell back to showing alone is the grant's remaining, not its size. The consumed share now reads (quota − remaining) / quota off the remaining, with the quota taken from the answer when it carries one (dailyQuota, or the older pair) or from the size the check-in notes per account — kept in memory for the run and in a .loomy-quota.json beside the plugin across restarts, so it takes a check-in (the Daily check-in switch, or Check in now) to write the first note. Without a quota the card shows the remaining alone; no share is invented and no quota is assumed. (#1)
  • The check-in reported claimed for every success. The answer's alreadyProcessed tells the day's renewal from a repeat: a repeat now reports done (「今日已刷新」, with what is left of the grant), and the day's first reports claimed — with the gain as its credit when the answer carries the whole arithmetic (dailyQuota − dailyConsumed). (#1)

Added

  • LOOMY_QUOTA_CACHE_FILE moves the quota cache file.
  • A CHANGELOG.md.

Full changelog: https://github.com/road-kid/opencode-loomy-auth/blob/main/CHANGELOG.md