Commit Graph

8 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 f54f5175c2 feat(incident): 为新缺陷生成只读事故报告
- 运行中新出现且含描述或截图的缺陷,15 分钟后调用 cursor-agent
- 报告以中英双语写入 incidents 目录,不修改代码和生产数据
- 详情页可手动触发;启动时已有缺陷不自动排队
- 版本号更新至 1.7(build 7)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-24 01:41:08 +08:00
tigerenwork 55d0f86392 fix: 用 FetchGate actor 修复并发触发丢失问题 2026-07-19 15:10:46 +08:00
tigerenwork be384c9238 feat: 增强推送可靠性:指数退避重连、校准服务与飞书按人过滤查询 2026-07-10 01:59:05 +08:00
tigerenwork 55d8b50f1d fix: 增强配置容错与启动稳定性,优化错误状态交互 2026-07-05 20:25:06 +08:00
tigerenwork b81d3edf42 feat: add 8h/12h intervals + daily schedule refresh mode
- Added 8-hour and 12-hour polling interval options
- Added 'Daily schedule' mode (pollIntervalSeconds = -1): fires at
  specific wall-clock times configured in dailyRefreshTimes (e.g. 08:00, 14:00)
- PollerService: in daily mode, checks every 60s and triggers fetch when
  current time matches a scheduled time (with 2-min dedup window)
- Settings UI: shows HH:mm text field when daily schedule is selected
- AppConfig: added dailyRefreshTimes: [String] field

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-29 21:08:51 +08:00
tigerenwork 94a3d76af9 fix: badge shows active count, floating widget shows priorities, record URL deep link
1. Menu bar badge and floating widget now show total active bugs count
   (was showing unseen-only count). Unseen dot still works independently
   in the bug list rows.

2. Floating widget now shows priority breakdown:
   🐜 12  🔴3 🟡4 🔵2 ⚪3
   Each priority gets a colored dot + count. Only non-zero priorities shown.

3. Fixed Feishu record URL format: now uses query-parameter deep link
   /base/{appToken}?table={tableId}&record={recordId} instead of path
   segments, which opens the specific record row directly in Feishu.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-29 01:01:01 +08:00
tigerenwork d9d8ce3e46 feat: full macOS menu bar app implementation
SwiftUI macOS menu bar app for tracking Feishu Bitable bugs:
- Menu bar icon with active bug count badge
- Popover with bug list sorted by priority, click to open in Feishu
- Floating always-on-top widget (NSPanel, optional)
- OAuth 2.0 flow with Feishu Open API (user_access_token + refresh)
- PollerService with configurable interval (default 5 min)
- Diff engine detecting new bugs, status/priority/assignee changes
- Native macOS notifications (UserNotifications framework)
- Keychain-backed token storage
- Settings window with field mapping, polling interval, widget toggle
- Support for custom Bitable column name mappings
- Zero third-party dependencies

17 source files across Models/Services/Views/ViewModels/Utils layers.
Xcode project generated via scripts/generate_xcode_project.py.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-28 20:56:44 +08:00