Feishu rejected the 'bugger://' custom URL scheme redirect with 参数不合法. Switched to the standard desktop OAuth flow: a one-shot local HTTP server on 127.0.0.1:18923 that receives the authorization code from the browser. Changes: - Added LocalOAuthServer (Network.framework, one-shot HTTP listener) - FeishuAuthService now uses dynamic http://127.0.0.1:PORT/callback redirect - Removed CFBundleURLTypes from Info.plist (no custom scheme needed) - Removed NSAppleEventManager handler from AppDelegate - TokenManager.handleCallback changed from URL to code string - OAuthSetupView starts server before opening browser - Added offline_access scope for refresh token support - generate_xcode_project.py: removed dev cert requirements, auto-quotes paths with special chars Builds successfully with xcodebuild. Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| Bugger.xcodeproj | ||
| Resources | ||
| Sources | ||
| docs | ||
| scripts | ||
| .gitignore | ||
| Config.xcconfig.example | ||
| README.md | ||
README.md
Bugger for macOS
A lightweight macOS menu bar app that surfaces bugs assigned to you from a Feishu Bitable. Shows a badge in the menu bar, a popover with your active bugs, and native notifications when bugs are assigned or changed.
Inspired by the Windows Bugger tool.
Status
Early design phase. See docs/ for the high-level design and detailed implementation plan.