Repository navigation
feat: auto-sync models & prices, provider quick setup, menu bar model picker - #94
Merged
Merged
Conversation
… picker Model & price sync - Background coordinator syncs API providers and Claude / Codex / OpenCode nodes every 6 hours (Settings toggle, "Sync All Now", per-node right-click "Update Models & Prices"). - New models: a per-node baseline of seen upstream models; only newly listed models are added, removed models are never re-added, nothing is deleted. Background first sync only records the baseline. - Prices: fill blanks and refresh models.dev-sourced prices; manual and explicitly free prices are never overwritten. Linked nodes prefer the provider's own default price. - Claude / Codex catalogs update without restarting the node runtime; fetch-then-reread avoids overwriting concurrent edits. - models.dev catalog is parsed and indexed off the main thread, cached and evicted after expiry; matching is a dictionary lookup. Editors - "Fetch Models & Prices" replaces fetch -> match -> preview -> apply. - Price table: O(n) filtering per render, cheaper change detection, follows external price writes, locale-independent number format. - Lazy model rows in provider and OpenCode editors. Provider presets & sponsor - Quick Setup card when creating providers / nodes: pick a provider, the Base URL is filled per interface, paste the key, fetch models. - First preset: API Models (sponsored, disclosed). Bundled logo; referral links carry aff + utm campaign. - Subtle sidebar sponsor spot above the version, hideable from its context menu or Settings. Menu bar - Account Quota and Cost & Usage sections are collapsible with summaries. - Track panels gain a model picker: hot-swap for global proxies, per-route overrides for Claude Code, default model for per-node mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Model & price auto-sync
Editors
1,250and were read back as 0.Provider quick setup & sponsor
https://api-models.com). Marked as sponsored with a disclosure. Logo is bundled, not hot-linked.utm_campaignper placement.Menu bar
Test plan
run_codex_reset_cards_regression.shcannot find the SwiftUI macro plugin for@Statein the untouchedCodexResetCreditsView.swift; this is a local toolchain issue.🤖 Generated with Claude Code