2 Commits

Author SHA1 Message Date
sakuradairong
2b17760fbd Merge remote changes, split app.go, remove V1 dead code, fix AICache (#2)
- Merge remote improvements: generic AI API, row-level cache,
  CSV export, matchPrep, prompt truncation, O(1) cache index
- Split app.go (1645 -> 5 files: app.go, cache.go, ai.go,
  matcher.go, export.go)
- Remove V1 dead code: 6 methods, 4 helpers, ~300 lines
- Fix AICache 3 bugs: TOCTOU saveToFile, silent loadFromFile,
  full-sort put
- Extract 8 named constants (threshold, time window, batch size...)
- Frontend: isRunning guard, buildMatchConfig dedup, CSS variables
- Upgrade Go to 1.24.0
2026-06-05 14:46:55 +08:00
sakuradairong
40745f5632 release: v1.1.0
移除 V1 死代码(6 个导出方法、4 个内部函数、~300 行),
新增 cache.go/ai.go/matcher.go/export.go 拆分 app.go(原 1645 行),
修复 AICache 3 个并发 bug(TOCTOU、反序列化、全排序),
提取 8 个命名常量,前端添加 isRunning 守卫和 CSS 变量。
Go 升级至 1.24.0。
2026-06-05 14:40:55 +08:00