opencode-navigator 0.21.1 → 0.21.3
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 +10 -0
- package/PROVIDERS.md +1 -1
- package/README.md +21 -14
- package/dist/provider-limits.js +338 -267
- package/dist/tui.js +102 -80
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## [0.21.3] - 2026-10-06
|
|
6
|
+
|
|
7
|
+
- Replace block quota meters with full-width adaptive thin-line scales and keep quota rows inside the sidebar's padding after resize. Show only reset time below each meter, removing technical account and window-duration suffixes.
|
|
8
|
+
|
|
9
|
+
## [0.21.2] - 2026-10-06
|
|
10
|
+
|
|
11
|
+
- Make Limits compact with clickable provider/model and variant controls, remaining-headroom progress rows, and muted reset times. Move Refresh and Banked Resets into the section header, remove the section counter and Provider sources action, and keep reset consumption behind a separate confirmation.
|
|
12
|
+
|
|
5
13
|
## [0.21.1] - 2026-10-06
|
|
6
14
|
|
|
7
15
|
- Fix Codex account quota windows being hidden when the provider omits model metadata. Show ordinary usage as shared account quota, retain banked-reset counts, and keep separate model buckets explicitly associated.
|
|
@@ -82,6 +90,8 @@
|
|
|
82
90
|
|
|
83
91
|
Earlier release notes are available on [GitHub Releases](https://github.com/St1ggy/opencode-navigator/releases).
|
|
84
92
|
|
|
93
|
+
[0.21.3]: https://github.com/St1ggy/opencode-navigator/compare/v0.21.2...v0.21.3
|
|
94
|
+
[0.21.2]: https://github.com/St1ggy/opencode-navigator/compare/v0.21.1...v0.21.2
|
|
85
95
|
[0.21.1]: https://github.com/St1ggy/opencode-navigator/compare/v0.21.0...v0.21.1
|
|
86
96
|
[0.21.0]: https://github.com/St1ggy/opencode-navigator/compare/v0.20.0...v0.21.0
|
|
87
97
|
[0.20.0]: https://github.com/St1ggy/opencode-navigator/compare/v0.19.3...v0.20.0
|
package/PROVIDERS.md
CHANGED
|
@@ -14,7 +14,7 @@ permissions, region, transport, and supported host APIs.
|
|
|
14
14
|
|
|
15
15
|
| Provider | Native source | Scope and prerequisites | Reference |
|
|
16
16
|
| --- | --- | --- | --- |
|
|
17
|
-
| OpenAI / Codex ChatGPT | Codex app-server account/rate-limit RPC and manual reset credits | Verified account identity; ordinary `codex` quota
|
|
17
|
+
| OpenAI / Codex ChatGPT | Codex app-server account/rate-limit RPC and manual reset credits | Verified account identity; ordinary `codex` quota is account-scoped even with null model metadata; separate model buckets need explicit association; native durations describe quota windows, not time until reset | [Codex protocol](https://github.com/openai/codex/tree/main/codex-rs/app-server-protocol) |
|
|
18
18
|
| OpenAI API | HTTP request/token/project-token rate-limit headers | Actual response for the selected model/account; HTTP transport | [Rate limits](https://developers.openai.com/api/docs/guides/rate-limits) |
|
|
19
19
|
| Anthropic API | Native response headers and organization rate-limits API | Per-model headers; configured limits need an eligible org/admin credential and explicit model association | [Rate limits API](https://platform.claude.com/docs/en/manage-claude/rate-limits-api) |
|
|
20
20
|
| Azure OpenAI | Native remaining request/token headers | Actual deployment response; does not expose a ChatGPT subscription | [Quotas and limits](https://learn.microsoft.com/en-us/azure/ai-foundry/openai/quotas-limits) |
|
package/README.md
CHANGED
|
@@ -365,7 +365,7 @@ Codex 0.160.0 protocol also exposes the separate
|
|
|
365
365
|
`account/rateLimitResetCredit/consume` RPC. Navigator requires explicit
|
|
366
366
|
confirmation before using it and never redeems credits in the background.
|
|
367
367
|
Limits follows the model and verified connection selected in the current OpenCode
|
|
368
|
-
session. Codex's ordinary `codex` windows
|
|
368
|
+
session. Codex's ordinary `codex` windows describe verified account quota shared
|
|
369
369
|
across models. The protocol can return `normalModelSlug: null` for this ordinary
|
|
370
370
|
bucket; that field is display metadata for quota aliases, not a prerequisite for
|
|
371
371
|
account usage. Separate model-specific buckets require explicit model association.
|
|
@@ -388,8 +388,8 @@ The additional native sources use the **OpenCode 2 Navigator server plugin** alr
|
|
|
388
388
|
used for Todo. Configure it on the 2.x launch path as described in the installation
|
|
389
389
|
section. OpenCode 1.x retains Codex support; additional sources need the 2.x public
|
|
390
390
|
integration/HTTP APIs. Without the server plugin, Limits shows setup guidance.
|
|
391
|
-
|
|
392
|
-
|
|
391
|
+
The [source inventory](PROVIDERS.md) includes audited public API references,
|
|
392
|
+
permission requirements, and unsupported-source reasons.
|
|
393
393
|
|
|
394
394
|
The server resolves the active host credential through OpenCode's public API.
|
|
395
395
|
Quota RPCs return measurements, never credentials. Response-header observations
|
|
@@ -406,8 +406,6 @@ available from the command palette.
|
|
|
406
406
|
|
|
407
407
|

|
|
408
408
|
|
|
409
|
-

|
|
410
|
-
|
|
411
409
|
### Link the intended Codex account
|
|
412
410
|
|
|
413
411
|
Install a Codex CLI exposing the documented read and consume RPCs (verified with
|
|
@@ -424,20 +422,29 @@ When the host does not provide a verifiable identity, select **Link Codex CLI
|
|
|
424
422
|
account** and confirm the reported account ID if it matches this host connection.
|
|
425
423
|
The private, user-wide binding is saved **once per connection**, or once per
|
|
426
424
|
provider on hosts without a connection API, and reused across models, projects,
|
|
427
|
-
and sessions.
|
|
428
|
-
Codex account**
|
|
425
|
+
and sessions. After an account change, authentication guidance offers **Relink
|
|
426
|
+
Codex account** and **Unlink Codex account** for the outdated manual association. Compatible older model
|
|
429
427
|
bindings are reused; conflicting bindings remain isolated until a deliberate relink.
|
|
430
428
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
429
|
+
Limits starts with **[Provider name] Model name · variant**. Activate the model or
|
|
430
|
+
variant with the mouse or keyboard to open OpenCode's native selector. Each quota
|
|
431
|
+
window uses two compact rows: remaining headroom with an adaptive muted thin-line
|
|
432
|
+
scale spanning the available sidebar content width, then a muted reset time.
|
|
433
|
+
Both rows stay within the sidebar's padding when it resizes. Healthy views omit
|
|
434
|
+
account IDs, technical scope/window-duration suffixes, source explanations, and update timestamps. Account scope and native window durations remain in the data model;
|
|
435
|
+
durations describe provider quota windows, not time remaining until reset. Balances retain their native
|
|
436
|
+
currency or point unit; a missing total does not become a full progress scale.
|
|
437
|
+
|
|
438
|
+
The header has no section counter. Its compact **Refresh** control requests a
|
|
439
|
+
read immediately; background reads continue every five seconds, including while
|
|
440
|
+
hidden. Failed reads retain cached windows with stale guidance and the same header
|
|
441
|
+
control for retrying. Unsupported mappings, authentication, and setup states have
|
|
442
|
+
separate muted guidance.
|
|
437
443
|
|
|
438
444
|
### Review and manually use a banked reset
|
|
439
445
|
|
|
440
|
-
|
|
446
|
+
The header's **Banked Resets** button appears when credits or an unresolved attempt
|
|
447
|
+
exist. It displays the provider's available count, optional credit
|
|
441
448
|
details, statuses, and expiry. Selecting a credit first checks fresh eligibility
|
|
442
449
|
and opens a separate confirmation tied to the current account and model. Cancel
|
|
443
450
|
or Escape returns to the credit list without spending anything.
|