Commit Graph

2 Commits

Author SHA1 Message Date
tigerenwork f3746d092f fix(incident): 让新缺陷的事故报告能写出并改存用户目录
- 报告默认写入 ~/.bugger/incidents,不再依赖 ~/Dev/aptsell
- 问题描述视为有效描述;启动即拉取,只自动排队上次进程之后新建的缺陷
- 钥匙串读取不再卡住菜单栏应用,锁屏解锁后再继续
- 项目 cli.json 去掉不被接受的 sandbox 字段

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-25 21:00:49 +08:00
tigerenwork e275e49795 feat: add comprehensive debug logging to OAuth flow
Added os.Logger-based logging (subsystem: com.xorbitlab.bugger) covering:
- FeishuAuthService.send(): raw HTTP request URL, method, body, auth header,
  response status code, and raw response body (up to 1000 chars)
- exchangeCode(): before/after token exchange with token previews
- TokenManager.handleCallback(): each step with success/failure
- LocalOAuthServer: server start, connection received, code extracted

View logs in: Xcode debug console, or Console.app → filter 'bugger'

Also fixed type inference ambiguity in generic send<T>() calls.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-29 00:18:25 +08:00