Repository navigation
Releases
API Bar 0.5.6
API Bar 0.5.6
This release introduces comprehensive iPhone Home Screen widget support through Scriptable, connects real-time CodexBar quota tracking, adapts dynamically to iOS system appearance, and polishes menu bar mirroring.
✨ What's New in 0.5.6
1. 📱 Scriptable iOS Widget Sync via iCloud
• Mirror your active API Bar balances directly to iOS Home Screen widgets (Small, Medium, and Large).
• Dual-container synchronization ensures updates are delivered reliably across iCloud Drive and the Scriptable app container.
• Automatic one-click template installation from Settings with clear step-by-step instructions.
2. 🌌 CodexBar Live Limits & Countdown Timers
• Real-time integration with CodexBar snapshots: display your active provider session and weekly quota limits side-by-side.
• Includes short reset countdown descriptions (e.g. Resets in 1d 22h) directly in the widget card.
3. 🌓 Dynamic iOS Light and Dark Mode
• Full system appearance awareness: cards, typography, borders, and progress bar tracks automatically transition between light and dark themes.
4. 🎨 Exact Menu Bar Vector Icons & Unified Typography
• Embedded high-resolution monochrome vector marks matching your macOS menu bar icon style.
• Clean $x / x% left value formatting with matched bold typography across all widget sizes.
5. 🎯 Strict Menu Bar Mirroring
• The widget strictly reflects only what is currently active and visible in your macOS menu bar, hiding disabled or inactive providers.
API Bar 0.5.5
API Bar 0.5.5
This release streamlines InferHub configuration to pure cookie session detection, hardens multi-device iCloud sync against settings race conditions, and guarantees baseline stability across devices.
✨ What's New
🍪 Seamless InferHub Cookie Session Detection
• Removed the obsolete manual API key input field from Settings; InferHub authenticates directly via your browser dashboard session cookies.
• Full 24-hour token metrics and spend tracking are preserved without manual keys.
☁️ Multi-Device Provider Sync Hardening
• Provider enabled/disabled states now synchronize bidirectionally across all your Macs via iCloud Drive.
• When a provider like InferHub is active on one machine, it appears immediately on other synced machines without remaining disabled.
🛡️ Heimdallm Baseline Anti-Downgrade Protection
• Incoming iCloud sync cycles can no longer downgrade a static top-up baseline back to the default $5.00 tier.
• Restores and locks your combined total ($5.00 reload + previous balance) across all active devices.
📌 Merged Menu Bar Icons State Persistence
• Settings pushes now respect local modification timestamps, preventing background sync from unmerging menu bar icons.
API Bar 0.5.4
API Bar 0.5.4
This release adds native support for InferHub (inferhub.dev) with browser session auth and 24h burn-rate pacing, keeps Heimdallm top-up baselines strictly static across spend-down cycles and credit hold releases, and hardens iCloud multi-device sync state transitions.
✨ What's New
⚡️ InferHub (inferhub.dev) Support
• Connects to InferHub using browser session cookies from your Brave profile or API keys.
• Extracts exact 24-hour token metrics and spend directly from the dashboard usage logs.
• Computes real-time token burn-rate pacing and remaining runway days.
• Features official InferHub vector geometry and Retina menu bar brand mark.
🛡️ Heimdallm Reload Baseline Stability
• Preserves your reload cycle total (amount reloaded + previous balance) across spend-downs below $5.00.
• Disregards small balance adjustments and hold releases (under $3.00) from falsely triggering phantom reload events.
• Automatically repairs legacy corrupted baseline totals on startup.
☁️ iCloud Sync & State Machine Hardening
• Resolved state machine latch preventing sync from returning to idle with active status.
• Multi-device pull and merge protects local configurations from premature overwrite.
API Bar 0.5.3
API Bar 0.5.3
This release introduces bi-directional OMP (Oh-My-Prompt) iCloud sync, refines Heimdallm onboarding and balance accounting, fixes Refuseless pacing calculations, enhances percentage badge readability, and allows the in-app updater to install refreshed builds seamlessly.
✨ What's New
☁️ OMP (Oh-My-Prompt) iCloud Sync
• Synchronizes model configurations and prompt settings configured in OMP (~/.omp/agent) across all your Macs via iCloud Drive.
• Securely synchronizes OMP credentials via your private iCloud vault with automatic rollback backup protection.
🛡️ Heimdallm Onboarding & Accounting Refinements
• Heimdallm is now paused by default on initial install so new users can choose when to enable it.
• Authoritative credit totals from the server take precedence over transaction ledger lines, preventing temporary credit hold releases from inflating baseline totals.
• Startup baseline repair and multi-device iCloud sync filtering prevent legacy or remote devices from corrupting your credit baseline.
⏱️ Refuseless Runway & Pacing Accuracy
• Fixed daily burn rate calculation to use the true active-day average rather than partial single-day spend, eliminating inaccurate multi-week runway estimates on depleted balances.
🎨 Legibility & Icon Rotation
• Refined green percentage badges in macOS light mode to use a high-contrast emerald green (#108038) exceeding WCAG AA standards.
• Fixed merged provider menu bar icon rotation to ensure brand icons toggle smoothly during manual or timed cycling.
🔄 App Updater Rebuild Detection
• Added support for installing updated release builds within the same version tier, ensuring users can update cleanly without waiting for a version bump.
API Bar 0.5.2
API Bar 0.5.2
This release adds Heimdallm platform credit tracking, introduces searchable and scrollable provider selection in onboarding, and ensures browser session importing connects reliably.
✨ What's New
🆕 Heimdallm (heimdallm.com)
• Tracks AI platform credits from your signed-in browser session across heimdallm.com and staging.
• Includes native Norse H-gate vector mark and crisp Retina template mask.
• Endpoint host and path restrictions ensure read-only credit fetching.
🔍 Searchable & Scrollable Onboarding
• Onboarding provider selection and browser connection views now scroll smoothly, ensuring all providers are accessible regardless of screen size.
• Real-time search filter with instant clearing (×) to quickly locate any provider.
🔐 Reliable Browser Session Connect-All
• Connect All from Brave now pre-authenticates Keychain Safe Storage interactively once up front, preventing authorization errors during onboarding.
💵 Refuseless USD Prioritization
• Refuseless balances display dollar amounts cleanly and ensure matched gauge scaling.
API Bar 0.5.1
API Bar 0.5.1
This release adds two providers, introduces pausing instead of deleting, and makes API Bar behave properly with menu bar managers.
✨ What's New
🆕 Unaligned (unaligned.pw)
- Reads your prepaid balance from the signed-in dashboard using your browser session, like the other providers.
- Balance is shown in dollars and cents; the 100% reference comes from your actual crypto top-ups in the billing ledger.
- No API key is stored.
🆕 Yeta (platform.yeta.ai)
- Tracks prepaid gateway credit from the Yeta console session.
- The quota conversion is read from the server (
quota_per_unit) instead of being hardcoded. - Ships paused: turn it on in Settings when you want to track it.
⏸️ Pause Providers Instead of Deleting
- Each provider has an enable switch. Pausing hides it from gauges, tabs, totals and the menu bar and stops refreshes, while keeping its settings, saved session and position in the list.
- Deleting is still available when you really want a provider gone.
🧭 Menu Bar Stability
- API Bar no longer removes and recreates its status items when the order changes; it reconciles them by identity.
- This keeps Thaw, Bartender and Ice anchored to the same items, so the layout you arrange sticks.
🎨 Provider Marks
- Unaligned and Yeta marks are bundled as artwork and can also be drawn from built-in vector geometry if the mask is missing (for example, when a newer provider list arrives over iCloud before the matching binary).
🔧 Fixes
- Balances reported in micro-dollars are scaled correctly, so a $4.59 balance no longer reads as millions.
- The 100% baseline is derived from top-up ledgers rather than a guessed tier, and a corrupted stored baseline is repaired automatically.
- Provider tabs no longer rebuild when a paused provider is present.
🔒 Release Hygiene
- Added an automated audit that fails the test suite if a credential, personal home path or personal email address appears in the tree.
- Google's public web-client keys are centralised in one documented file, since they identify the browser client rather than an account.
API Bar 0.5.0
API Bar 0.5.0
A major feature, design, and resilience update introducing native Lutheos.com & Refuseless token burn rate pacing, OpenCode iCloud sync, a built-in multi-version Changelog viewer, a 4-tier traffic-light percentage color scale, matching brand accent progress bars, unified percentage calculations, rich in-app release notes, and hardened self-updating with seamless auto-relaunch.
✨ What's New in 0.5.0
1. ⚡️ Token Burn Rate & Runway Pacing (Refuseless & Lutheos)
• Real-Time Pacing Calculations: Calculates actual consumption velocity and runway directly in the balance card (e.g. 1.9M tokens per day - Runs out in 3 days or 500K tokens per day - Runs out in 1 day).
• Refuseless Token Pacing: Analyzes output tokens, spend telemetry, and deposits to provide automatic runway estimation.
• Lutheos Inference Runway: Analyzes usage ledger nodes, token buckets, and credit runway to show clear depletion timelines.
2. ☁️ OpenCode iCloud Sync
• Cross-Mac Syncing: Synchronizes your OpenCode configuration (~/.config/opencode/opencode.json) securely across all your Macs via iCloud Drive.
• Automatic Rollback Backups: Generates .bak snapshots prior to merging remote updates, ensuring workspace settings are always protected.
• Manifest Versioning & Watcher: Uses low-overhead dispatch event watchers to detect local config updates in real time.
3. 📜 Native Multi-Version Changelog Viewer
• Complete Version History: Inspect current (v0.5.0) and previous releases (v0.4.9, v0.4.8, v0.4.7) directly in a native, two-column macOS window.
• Offline-First & Dynamic: Pre-loaded with full built-in release documentation for offline browsing, with background synchronization for newly published GitHub releases.
• Instant Access: Accessible from the menu bar (Changelog…), the Settings panel header, and the Software Update prompt.
4. ⚡️ Lutheos.com Native Support
• Full Native Integration: Automatically connect and track prepaid balances for Lutheos.com (https://lutheos.com), the private and uncensored AI inference platform.
• SvelteKit Devalue Data Traversal: Implemented an advanced data parser that navigates SvelteKit devalue pointer index trees, accurately decoding microdollar/cents balance, live workspace balances, credited top-up totals, and account email.
• Automatic 100% Reference Baseline: Detects fulfilled top-up transactions (e.g. $9.00, $10.00, $25.00 crypto top-ups) to calculate remaining balance percentages without manual configuration.
• Packaged Vector Brand Icon: Bundled official vector icon silhouette (lutheos-mask.png) in app resources with Lutheos terracotta accent (#AD4F2C).
5. 🚦 Four-Tier Traffic-Light Percentage Scale
Replaced binary percentage coloring with an intuitive, accessible 4-tier traffic-light system:
• 100% – 80% (Green): Abundant remaining balance (Color.green).
• 80% – 20% (Neutral Slate / Grey): Standard running consumption (NSColor.secondaryLabelColor).
• 20% – 10% (Amber Warning Yellow): Low balance warning (#D97706 in light mode / #FBBF24 in dark mode) engineered to pass WCAG AA contrast on white backgrounds.
• 10% – 0% (Alert Red): Critical balance alert (Color.red) signaling immediate top-up needed.
6. 🎨 Provider Brand Accent Bars
• Progress bars and tab selection gauges consistently reflect each provider's distinct brand accent color:
• Lutheos: Terracotta #AD4F2C
• Refuseless: Crimson #C8102E
• Fireworks AI: Amber Orange #D46400
• Google Cloud / Vertex AI: Google Blue #1A73E8
• Cerebras: Flame Red #DC321E
• Crowbot: Forest Green #0D733C
• Venice AI: Royal Purple #7B1FA2
7. 📖 Rich In-App Release Notes Viewer
• Completely overhauled the software update window with native rich text rendering. Markdown headers (#, ##, ###), dividers (---), bullet lists (•, -), numbered steps (1., 2.), bold highlights (**text**), inline code ( code ), and clickable web links ([text](url)) are formatted with native typography instead of showing raw markdown syntax.
8. 🛡️ Hardened Self-Updating & Seamless Auto-Relaunch
• Detached Process-Exit Waiter: Updated the in-place updater to spawn a detached background helper that monitors the dying app's PID (kill -0 $pid). Once the old process has fully exited, it flushes LaunchServices bundle registration (lsregister -f) and launches the new app.
• Startup Grace Period: Enhanced Main.swift single-instance check with an adaptive polling loop. When launched during an update, if a previous instance is still terminating, the new instance waits for it to exit rather than immediately aborting.
• Atomic Rollback & Safe Backup: In-place bundle replacement creates an isolated backup before moving the existing app bundle, and retains it until after process exit so dyld paging is not disrupted while shutting down.
• Quarantine Stripping: Automatically invokes /usr/bin/xattr -dr com.apple.quarantine on newly extracted bundles to ensure smooth, unblocked relaunch without macOS Gatekeeper permission prompts.
9. 🔒 Security & Privacy Sanitization
• Complete audit and sanitization of test suites to use anonymous placeholders (user@example.com, user@refuseless.com, user@lutheos.com).
• Zero telemetry and 100% local macOS Keychain credential storage.
📦 Installation
- Download
APIBar-app.zipbelow. - Unzip and drag
API Bar.appinto your/Applicationsfolder (or use in-app auto-update via Check for Updates…). - Open it. All your existing connected sessions, Keychain credentials, and custom baselines are automatically preserved.
API Bar 0.4.9
API Bar 0.4.9
A major design, provider, and compatibility update bringing the Paper design system, dominant browser discovery, Venice AI, and multi-tier resilient auto-updating.
✨ What's New
• Paper Design System & High-Contrast Branding:
- Full Paper tokens across menubar cards, provider selector tabs, and onboarding.
- Native provider logos styled with high-contrast, WCAG-compliant brand accent colors on clean white tiles.
- Consistent neutral secondary label percentage badges with dynamic warnings (< 20%) in high-visibility red.
- Expanded card layout width (330pt) and clean formatting for 5-minute refresh intervals without label truncation.
• Dominant Browser Detection & Permission Alignment:
- Automatically identifies your system's primary browser (Brave, Google Chrome, Arc, Microsoft Edge, Vivaldi, Chromium) and connects sessions accordingly.
- Symmetrical permission buttons for Full Disk Access and Folder Access Only with clean non-clickable states when granted.
• Venice AI Support:
- Native tracking for Venice AI consumption currencies (USD & DIEM) with Bearer token authentication.
- Vector icon mask bundled directly in the app package.
• Window Management:
- Settings, Onboarding, and Software Update windows reliably close with standard ⌘W and Escape.
- Restored full native macOS File, Edit, and Window menus.
• Multi-Tier Auto-Updating:
- Added multi-tier fallback update checking (GitHub REST API, Atom Feed, and web redirects) to bypass unauthenticated GitHub 403 API rate limits.
- Seamless in-place download, extraction, replacement, and relaunch.
📦 Install
- Download
APIBar-app.zip. - Move
API Bar.appto/Applications, replacing any older version. - Open it. Existing connected sessions and Keychain credentials are automatically preserved.
API Bar 0.4.8
API Bar 0.4.8
This build fixes a versioning problem: every earlier build reported 0.4.7, so an older copy was indistinguishable from a newer one and the updater could never tell them apart.
Fixed
- Refuseless total — the console reports its balance in micro-dollars (
24911322), which was being read as dollars and produced a$24,947,613total. Money is now parsed with explicit units, and the top-up ledger (amount + bonus) is used as the 100% reference. A$25.00account now correctly shows$23.47 / $25.00→ 93%. - Version identification — builds now report a real version and build number, so updates are unambiguous.
Changed
- Bundle identifier is now
app.apibar.APIBar(previously contained a personal username). Existing preferences are migrated automatically on first launch; saved provider sessions are preserved. - About dialog reads its version from the bundle instead of a hardcoded string.
Also in this build
- Built-in updates — checks GitHub Releases, shows this changelog window, and installs in place. No appcast or extra hosting required.
- Test isolation — the test suite runs against a throwaway directory, so it can never read, overwrite, or delete your real saved sessions or
balances.json.
Install
- Download
APIBar-app.zip. - Move
API Bar.appto/Applications, replacing any older copy. - Open it. Providers already connected keep working.
Requires macOS 13 Ventura or later. Ad-hoc signed — right-click → Open on first launch if Gatekeeper objects.
How to tell you have this build
Open the menu → About API Bar… — it must say 0.4.8 (21). Anything showing 0.4.7 is an older copy.
API Bar 0.4.7
API Bar 0.4.7
First public release. A native macOS menu bar companion for tracking AI provider balances alongside CodexBar.
Providers
- Vertex AI / Google Cloud — active billing credits and trial grants from the Cloud Console billing GraphQL endpoint.
- Google AI Studio — live Gemini credits from
GetGdpProfileAndBenefits, with project spend-cap fallback. - Fireworks AI — prepaid inference balance, including automatic Cognito token refresh.
- Cerebras — Cloud session validation and platform balance.
- Crowbot — chat/API credit balance with account pinning.
- Refuseless — prepaid USD balance read from the console, with the top-up ledger (amount + bonus) as the 100% reference.
- Custom / any API — add unsupported providers by name or cURL using the on-device Apple Foundation Model.
Highlights
- Built-in updates — checks GitHub Releases, shows this changelog window, and installs in place. No appcast or extra hosting.
- Opt-in onboarding — a fresh install starts with no providers selected; nothing is tracked until you choose it.
- Automatic 100% reference — inferred from the latest payment, top-up, or grant, and editable per provider.
- Accurate units — money is parsed per provider with explicit unit handling (cents, micro-dollars, and Google's
units/nanos) so totals can't be misread by orders of magnitude. - Merged or separate icons — one compact gauge with a provider switcher, or one status item per provider.
Privacy
- Sessions are imported from Brave and stored in the macOS Keychain.
- Background refresh never prompts for Keychain access.
- No telemetry, no third-party servers.
- The test suite runs against a throwaway directory and never reads or deletes your real saved sessions.
Install
- Download
APIBar-app.zip. - Move
API Bar.appto/Applications. - Open it and pick the providers you want.
Requires macOS 13 Ventura or later. Ad-hoc signed — right-click → Open on first launch if Gatekeeper objects.