@sriinnu/runic 2.11.3 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.12.0 — 2026-10-15
4
+ - **Several logins per provider: the groundwork.** Runic now has accounts: a provider is the *kind*, and each login of it is an account with its own credential, fetched on every refresh and kept in its own slot. The default account is the one you already have and nothing about it changed on disk or in the keychain. A second Claude or Codex login can be registered today by hand in `~/Library/Application Support/Runic/accounts.json`, pointing at its own `CLAUDE_CONFIG_DIR` / `CODEX_HOME` directory: Runic reads the Keychain item Claude Code keys to that directory (`Claude Code-credentials-<hash>`) or the `auth.json` in that Codex home, and writes one row per account to `diagnostics/accounts.json` after each refresh. The menu, widget and CLI still show the default account; the account tabs, the Add-account sheet and token refresh for Runic-owned directories come next. Walkthrough: `docs/design/accounts-hands-on.md`.
5
+ - An added account uses token-based sources only. Without a token it reports "no available strategy" at once instead of running the vendor CLI against a fresh home and timing out after 45 seconds.
6
+ - CLI: `runic usage`, `runic reset` and the usage JSON title a weekly-only window **Weekly**, matching the app (Codex Pro reports only its weekly cap).
7
+ - Design: `docs/design/accounts-and-windows.md` is the reviewed plan for accounts and for replacing the three fixed usage slots with a self-describing list of windows.
8
+
3
9
  ## 2.11.3 — 2026-10-15
4
10
  - Kimi: a Kimi Code plan key no longer shows `Kimi API returned status code 404 … resource_not_found_error`. When the base URL points at the plan platform (`api.kimi.ai` or `api.kimi.com`), Runic reads plan usage from `/coding/v1/usages` on that host instead of asking it for a Moonshot balance it does not serve; a 404 from a Moonshot host now also falls through to plan usage, like 401/403 did. The monthly pool is read from `limit_month_code` when `limit_month_total` is absent, and the base-URL hint in Settings says which host is which.
5
11
  - Codex: Pro accounts now get only a weekly cap from the usage API, and it arrives in the session slot with no 5h window at all. Runic showed it as **Session** with a week-away reset and an empty Weekly row, so the number looked stuck. The window is titled **Weekly** now (menu card, menu text, resets, burn chart, widget) with its weekly pace line, and the 5h row stays away until the API sends one — the same way codex's own `/status` names limits by duration.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sriinnu/runic",
3
- "version": "2.11.3",
3
+ "version": "2.12.0",
4
4
  "description": "Local-first AI usage visibility for macOS.",
5
5
  "author": "Sriinnu <5410488+sriinnu@users.noreply.github.com>",
6
6
  "license": "MPL-2.0",