Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

LithosAI: show prepaid balance beside the menu bar icon

Closed Beginner friendly
#4,230 2 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
swift
Domain
desktop

Research direction

Start in Sources/CodexBar/MenuBarLayout.swift at MenuBarLayoutBalanceResolver.balance and compare its existing provider cases with Sources/CodexBarCore/Providers/LithosAI/LithosAIProviderDescriptor.swift. Trace how the existing cost and Balance detail reach automatic and explicit menu bar layouts. Done means LithosAI shows its prepaid balance in both requested modes, including merged mode, while preserving zero, negative, and sub-cent handling.

Written by the indexing model from the issue text.

Description

clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2

LithosAI billing loads correctly in CodexBar, but its prepaid balance is only visible after opening the dropdown. Please show the balance beside the LithosAI menu bar icon, like the standalone LithosAI Bar app: L $2.57 instead of just L.

This is a follow-up to my provider request #3868, implemented by merged PR #4196 (feat(lithosai): add console balance and spend, merged October 2, 2026).

Current behavior and reproduction
  1. Enable LithosAI and authenticate with valid console cookies.
  2. Use the Icon & percent menu bar style (menuBarDisplayMode = percent) with Merge Icons enabled.
  3. Select LithosAI in the provider switcher.
  4. The dropdown shows Balance: $2.57 and active billing details, while the menu bar shows only the LithosAI icon. The standalone app shows its mark followed by $2.57 for the same account.

The dollar figure is an example of the observed UI. Authentication and billing requests succeed; this request concerns the menu bar display.

Requested behavior
  • Use LithosAI's prepaid USD balance as the automatic numeric menu bar value when it has no quota window.
  • Make the existing explicit Balance layout token work for LithosAI too, including merged mode when LithosAI is selected.
  • Preserve the provider's handling of zero, negative, and sub-cent balances without inventing a usage percentage or reset time.
Likely integration gap

In v0.71.1's LithosAI descriptor, the provider is already balanceOnly: true and uses .automaticOnly menu bar metrics. The plugin returns the amount through cost and a Billing / Balance detail row, with Browser session as the login method.

However, MenuBarLayoutBalanceResolver.balance does not include a LithosAI case. Its generic fallback expects a Balance: login-method prefix. The same omission is still present in current main at the time of this report. Please connect the existing LithosAI balance to the shared balance/automatic-text presentation.

Environment: CodexBar 0.71.1, macOS 27.0.1, Apple Silicon. No per-provider menu bar layout override is set for LithosAI.

Related authentication report: #4231 covers Auto Chrome import failing without an actionable permission error or Keychain prompt. Manual authentication works; the menu bar balance request here is independent of that import problem.

Dominant language
Swift
Stars
22.8k
Forks
2.2k
Avg merge
21h 11m
Merged PRs (30d)
432

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from steipete/CodexBar

All issues in steipete/CodexBar

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.