Skip to content

Commit 195cd2b

Browse files
committed
feat(kimi): add Kimi provider with quota monitoring
- Integrate Kimi usage tracking, cookie authentication, and new icon - Update README with Kimi setup instructions and provider list - Document technical details and test coverage in CHANGELOG
1 parent bc9af80 commit 195cd2b

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.4.31] - 2026-02-12
11+
12+
### Added
13+
- **Kimi Support**: Monitor your [Kimi](https://www.kimi.com/code/console) AI coding assistant usage quota directly from the menu bar. Displays weekly quota and 5-hour session rate limit with automatic tier detection (Andante/Moderato/Allegretto).
14+
- **Browser Cookie Authentication**: Kimi authenticates by reading the `kimi-auth` cookie from your browser via [SweetCookieKit](https://github.com/steipete/SweetCookieKit). Supports Safari, Chrome, and other Chromium-based browsers.
15+
- **Full Disk Access Requirement**: Kimi requires Full Disk Access to read browser cookies. Navigate to System Settings → Privacy & Security → Full Disk Access → enable ClaudeBar. Alternatively, set the `KIMI_AUTH_TOKEN` environment variable.
16+
- **Provider Icon**: New Kimi icon with blue/cyan branded styling in the provider list.
17+
18+
### Technical
19+
- Added `SweetCookieKit` dependency for cross-browser cookie extraction
20+
- Implemented `KimiUsageProbe` with Connect-RPC API integration and JWT session header extraction
21+
- Implemented `KimiTokenProvider` with env var → browser cookie fallback chain
22+
- Added `KimiProvider` domain model with observable state and settings persistence
23+
- Added visual identity (icon, theme color, gradient) for Kimi provider
24+
- Registered Kimi provider in `ClaudeBarApp` startup
25+
- Comprehensive test coverage: parsing tests (15), probe behavior tests (8), provider domain tests (18)
26+
1027
## [0.4.28] - 2026-02-10
1128

1229
### Added

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![Platform](https://img.shields.io/badge/Platform-macOS%2015-blue.svg)](https://developer.apple.com)
99
[![Homebrew](https://img.shields.io/badge/Homebrew-Install-brightgreen.svg)](https://formulae.brew.sh/cask/claudebar)
1010

11-
A macOS menu bar application that monitors AI coding assistant usage quotas. Keep track of your Claude, Codex, Gemini, GitHub Copilot, Antigravity, and Z.ai usage at a glance.
11+
A macOS menu bar application that monitors AI coding assistant usage quotas. Keep track of your Claude, Codex, Gemini, GitHub Copilot, Antigravity, Z.ai, Kimi, and Amp usage at a glance.
1212

1313
<p align="center">
1414
<img src="docs/screenshots/Screenshot-dark.png" alt="ClaudeBar Dark Mode" width="380"/>
@@ -39,7 +39,7 @@ A macOS menu bar application that monitors AI coding assistant usage quotas. Kee
3939

4040
## Features
4141

42-
- **Multi-Provider Support** - Monitor Claude, Codex, Gemini, GitHub Copilot, Antigravity, and Z.ai quotas in one place
42+
- **Multi-Provider Support** - Monitor Claude, Codex, Gemini, GitHub Copilot, Antigravity, Z.ai, Kimi, and Amp quotas in one place
4343
- **Provider Enable/Disable** - Toggle individual providers on/off from Settings to customize your monitoring
4444
- **Real-Time Quota Tracking** - View Session, Weekly, and Model-specific usage percentages
4545
- **Multiple Themes** - Light, Dark, CLI (terminal-style), and festive Christmas themes
@@ -69,6 +69,19 @@ A macOS menu bar application that monitors AI coding assistant usage quotas. Kee
6969
- [GitHub Copilot](https://github.com/features/copilot) - Configure credentials in Settings
7070
- [Antigravity](https://antigravity.google) - Auto-detected when running locally
7171
- [Z.ai](https://z.ai/subscribe) - Configure Claude Code with GLM Coding Plan endpoint
72+
- [Kimi](https://www.kimi.com/code/console) - Requires **Full Disk Access** (see below)
73+
- [Amp](https://ampcode.com) (`amp`) - Auto-detected when CLI is installed
74+
75+
### Kimi Setup (Full Disk Access)
76+
77+
Kimi authenticates by reading the `kimi-auth` browser cookie. macOS requires **Full Disk Access** for apps to read browser cookie databases.
78+
79+
To enable:
80+
1. Open **System Settings****Privacy & Security****Full Disk Access**
81+
2. Toggle **ClaudeBar** on (or click `+` and add it)
82+
3. Restart ClaudeBar
83+
84+
Without Full Disk Access, Kimi will show as unavailable. You can also set the `KIMI_AUTH_TOKEN` environment variable to bypass cookie reading.
7285

7386
## Installation
7487

0 commit comments

Comments
 (0)