@sriinnu/runic 2.12.0 → 2.13.1
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.
- package/CHANGELOG.md +11 -0
- package/README.md +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.13.1 — 2026-10-21
|
|
4
|
+
- Settings → Providers has a search field: at the top of the sidebar in the sidebar layout, and in the Built-in providers header in the list layout. It matches the display name, CLI name and aliases (`sf`, `ollama-cloud`), ignores case and punctuation (`zai` finds z.ai), and `cn` / `china` finds the brands with a China account. ⌘F focuses it, Esc clears it; reordering is paused while a filter is on, so a drag never moves the wrong provider.
|
|
5
|
+
- opencode showed "not fetched yet / No usage yet": since early 2026 opencode writes messages to `~/.local/share/opencode/opencode.db` (SQLite) and the per-message JSON files Runic read stopped updating on January 1. Runic now reads the `message` table read-only (live WAL rows included) and still reads the old files for earlier history, counting a message present in both once.
|
|
6
|
+
- SiliconFlow (both regions): the tile showed `410 … This endpoint is deprecated and is no longer available`. SiliconFlow retired `/v1/user/info`, the public balance endpoint, on 2026-08-14. The balance is back: Runic now reads it the way the SiliconFlow console does, from `cloud.siliconflow.com` (or `.cn`) with your browser's SiliconFlow sign-in, in USD or CNY. With only an API key the tile is a key check (`Key active · N models`). If the console asks for your user ID, the tile says so and `SILICONFLOW_SUBJECT_ID` / `SILICONFLOW_CN_SUBJECT_ID` supplies it.
|
|
7
|
+
|
|
8
|
+
## 2.13.0 — 2026-10-21
|
|
9
|
+
- **SiliconFlow** is a new provider: it shows your prepaid balance (paid and bonus) from `api.siliconflow.com`, in USD. Paste a key in Settings → Providers → SiliconFlow or export `SILICONFLOW_API_KEY`; it is off until you add one.
|
|
10
|
+
- **SiliconFlow (China)** is its own slot for `siliconflow.cn` accounts, in CNY, with its own key (`SILICONFLOW_CN_API_KEY`). Like the other China slots it stays out of the menu until it has a key, and pairs under the SiliconFlow brand when you have both. Both balance readers follow SiliconFlow's documented `/v1/user/info` reply and have not been checked against a live key.
|
|
11
|
+
- **Ollama Cloud works with a Pro login.** Pro and Max accounts sign in on the website and have no API key, so Runic now reads your session and weekly usage (with reset times) from the `ollama.com` settings page using your browser's signed-in session. An API key still works and is tried first. The page parser matches on the "Session usage" and "Weekly usage" labels because the real markup has not been captured yet; if the tile comes up empty, that is the first place to look.
|
|
12
|
+
- A missing Ollama Cloud or SiliconFlow key now says so ("API key not found, add it in Settings → Providers…") instead of "No available fetch strategy".
|
|
13
|
+
|
|
3
14
|
## 2.12.0 — 2026-10-15
|
|
4
15
|
- **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
16
|
- 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.
|
package/README.md
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|

|
|
10
10
|

|
|
11
11
|

|
|
12
|
+
[](https://github.com/sponsors/sriinnu)
|
|
13
|
+
[](https://buymeacoffee.com/sriinnu)
|
|
12
14
|
|
|
13
15
|
</div>
|
|
14
16
|
|
|
@@ -119,6 +121,9 @@ Do not commit keys, tokens, browser session dumps, local account screenshots, ac
|
|
|
119
121
|
|
|
120
122
|
Runic is open source. Sponsorship is optional and should fund maintenance, signing, CI, docs, and privacy-first usage features without changing the core promise: honest local usage visibility should stay open.
|
|
121
123
|
|
|
124
|
+
- [GitHub Sponsors](https://github.com/sponsors/sriinnu)
|
|
125
|
+
- [Buy Me a Coffee](https://buymeacoffee.com/sriinnu)
|
|
126
|
+
|
|
122
127
|
## Acknowledgements
|
|
123
128
|
|
|
124
129
|
Runic's menu layout and provider tab bar were inspired by [CodexBar](https://github.com/steipete/CodexBar), and its local cost accounting by the ccusage approach to reading coding-tool logs. The code here is Runic's own; ideas travel, and they should be credited.
|