Files
zeekayandHanzo Dev a3b1de9a71 feat(desktop): native SwiftUI menu-bar item replaces the Tauri tray
A small SwiftUI helper (apps/desktop/menubar) draws the one menu-bar item:
the </> template glyph, per-account usage tiles with Hanzo's balance and plan
first, reset countdowns, quick actions, and limit notifications. It reads
/v1/usage from the local Dev server; the Tauri tray is deleted. A native
helper idles near 65 MB with no webview, against a hidden WKWebView popover.


Co-authored-by: Hanzo Dev <[email protected]>
2026-11-21 02:01:31 -08:00

32 lines
1.4 KiB
Plaintext

NOTICE
Hanzo Dev includes material derived from the following third-party project.
CodexBar (https://github.com/steipete/CodexBar)
Portions of packages/usage (provider catalog data, usage endpoint request shapes,
local session-log parsing and per-model token accounting) and of apps/desktop/menubar
(usage bar, provider switcher and menu card layout) are derived from CodexBar
version 0.84.0.
MIT License
Copyright (c) 2026 Peter Steinberger
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.