opencode-navigator 0.21.0 → 0.21.2

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 CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## [0.21.2] - 2026-10-06
6
+
7
+ - 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.
8
+
9
+ ## [0.21.1] - 2026-10-06
10
+
11
+ - 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.
12
+
5
13
  ## [0.21.0] - 2026-10-06
6
14
 
7
15
  - Automatically verify Codex account identity from OpenCode 2's ChatGPT connection. When host identity is unavailable, confirm a private binding once per connection or provider and reuse it across models, projects, and sessions; preserve compatible older confirmations and isolate conflicting ones until relinked.
@@ -78,6 +86,8 @@
78
86
 
79
87
  Earlier release notes are available on [GitHub Releases](https://github.com/St1ggy/opencode-navigator/releases).
80
88
 
89
+ [0.21.2]: https://github.com/St1ggy/opencode-navigator/compare/v0.21.1...v0.21.2
90
+ [0.21.1]: https://github.com/St1ggy/opencode-navigator/compare/v0.21.0...v0.21.1
81
91
  [0.21.0]: https://github.com/St1ggy/opencode-navigator/compare/v0.20.0...v0.21.0
82
92
  [0.20.0]: https://github.com/St1ggy/opencode-navigator/compare/v0.19.3...v0.20.0
83
93
  [0.19.3]: https://github.com/St1ggy/opencode-navigator/compare/v0.19.2...v0.19.3
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; exact provider-reported model bucket | [Codex protocol](https://github.com/openai/codex/tree/main/codex-rs/app-server-protocol) |
17
+ | OpenAI / Codex ChatGPT | Codex app-server account/rate-limit RPC and manual reset credits | Verified account identity; ordinary `codex` quota explicitly labelled account-scoped even with null model metadata; separate model buckets need explicit association | [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
@@ -364,9 +364,11 @@ times, account identity, and any available banked reset credits. The installed
364
364
  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
- Limits follows the model selected in the current OpenCode session. A Codex
368
- account's windows appear only if the provider explicitly maps them to that
369
- model; otherwise the section explains that a matching quota is unavailable.
367
+ Limits follows the model and verified connection selected in the current OpenCode
368
+ session. Codex's ordinary `codex` windows appear as **Codex account** quota, shared
369
+ across models. The protocol can return `normalModelSlug: null` for this ordinary
370
+ bucket; that field is display metadata for quota aliases, not a prerequisite for
371
+ account usage. Separate model-specific buckets require explicit model association.
370
372
  Switching provider, model, session, or account invalidates stale reads and credit actions.
371
373
  CodexBar is useful for discovering providers, but its cookie, credential-file,
372
374
  and undocumented endpoint integrations are not Navigator data sources.
@@ -386,8 +388,8 @@ The additional native sources use the **OpenCode 2 Navigator server plugin** alr
386
388
  used for Todo. Configure it on the 2.x launch path as described in the installation
387
389
  section. OpenCode 1.x retains Codex support; additional sources need the 2.x public
388
390
  integration/HTTP APIs. Without the server plugin, Limits shows setup guidance.
389
- **Provider sources** lists audited capabilities and unsupported-source reasons;
390
- the [source inventory](PROVIDERS.md) includes public API references and prerequisites.
391
+ The [source inventory](PROVIDERS.md) includes audited public API references,
392
+ permission requirements, and unsupported-source reasons.
391
393
 
392
394
  The server resolves the active host credential through OpenCode's public API.
393
395
  Quota RPCs return measurements, never credentials. Response-header observations
@@ -402,9 +404,7 @@ worktree scope. Hiding or collapsing it does not stop background refreshes, and
402
404
  does not grant permission to spend a reset credit. **Focus Limits** is also
403
405
  available from the command palette.
404
406
 
405
- ![Model-specific Codex quota windows and reset times](screenshots/39-provider-limits.png)
406
-
407
- ![Audited provider sources and required capabilities](screenshots/47-provider-sources.png)
407
+ ![Codex quota windows and reset times](screenshots/39-provider-limits.png)
408
408
 
409
409
  ### Link the intended Codex account
410
410
 
@@ -422,25 +422,32 @@ When the host does not provide a verifiable identity, select **Link Codex CLI
422
422
  account** and confirm the reported account ID if it matches this host connection.
423
423
  The private, user-wide binding is saved **once per connection**, or once per
424
424
  provider on hosts without a connection API, and reused across models, projects,
425
- and sessions. **Unlink Codex account** removes the manual association; **Relink
426
- Codex account** is available after an account change. Compatible older model
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
427
427
  bindings are reused; conflicting bindings remain isolated until a deliberate relink.
428
428
 
429
- For an associated model, Limits shows only buckets with a provider-reported model
430
- association, their native usage units and window durations, reset times, and
431
- the last successful read time. It refreshes quietly every five seconds, even
432
- when hidden. **Refresh** requests a read immediately; a failed read preserves
433
- cached windows with a stale label and **Retry**. Unsupported mappings, changed
434
- sign-in/account, and rate-limited reads have separate muted guidance.
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 a muted progress scale,
432
+ then a muted reset time and short scope/window label. Healthy views omit account
433
+ IDs, source explanations, and update timestamps. Balances retain their native
434
+ currency or point unit; a missing total does not become a full progress scale.
435
+
436
+ The header has no section counter. Its compact **Refresh** control requests a
437
+ read immediately; background reads continue every five seconds, including while
438
+ hidden. Failed reads retain cached windows with stale guidance and the same header
439
+ control for retrying. Unsupported mappings, authentication, and setup states have
440
+ separate muted guidance.
435
441
 
436
442
  ### Review and manually use a banked reset
437
443
 
438
- **Review reset credits** displays the provider's available count, optional credit
444
+ The header's **Banked Resets** button appears when credits or an unresolved attempt
445
+ exist. It displays the provider's available count, optional credit
439
446
  details, statuses, and expiry. Selecting a credit first checks fresh eligibility
440
447
  and opens a separate confirmation tied to the current account and model. Cancel
441
448
  or Escape returns to the credit list without spending anything.
442
449
 
443
- The provider must report ordinary usage blocked, a matching quota window, and an
450
+ The provider must report ordinary usage blocked, an applicable account or model window, and an
444
451
  available reset credit. A displayed percentage alone does not establish
445
452
  eligibility. A reset can affect other eligible Codex windows as well. Navigator
446
453
  checks the account and eligibility again before submission. Read-only providers