Commit Graph
8 Commits
Author SHA1 Message Date
fukunee 2c8473e9e0 Rework LLM classification around user categories
Move category CRUD into the config route so renames sync historical deals, feed per-user categories into the LLM prompt, cache clients per user, and drop the separate classify route.
2026-11-15 11:32:26 +08:00
fukunee 99837bea9a Add user authentication with JWT login and registration 2026-05-16 19:27:04 +08:00
fukunee 08fbde8a39 Remove unused columns and simplify schema across database and routes
Drop `parent_id` from categories, remove `ai_category` and
`review_notes` from
transactions, and eliminate category/reviewed filters from transaction
queries.
Clean up code style and formatting.
2026-05-06 22:16:36 +08:00
fukunee 075177cb3a Normalize quotes and add updated_at column to deals schema 2026-05-05 23:31:52 +08:00
fukunee c9a4d4527d refactor(数据模型): 分类/确认字段从transactions迁移到deals
- deals表新增direction/category/ai_category/ai_description/ai_confidence/reviewed/review_notes/reviewed_at/tags
- transactions表不再写入这些字段(旧数据保留)
- classifyDeals替代classifyTransactions, AI分类改到deal级别
- needs-classify/classify-all查询deals
- deals路由新增PUT :id编辑接口
- 前端交易明细去掉分类列和编辑弹框分类字段
2026-05-05 20:27:39 +08:00
fukunee 784da617a9 Add deals feature for reconciled transactions
- Create deals schema and routes to group matched transactions
- Display deals in a new card on the Transactions page
- Generate deals during reconciliation and refresh them on demand
2026-05-05 20:13:11 +08:00
fukunee fa5637b5ca version 0.3 2026-05-05 16:36:57 +08:00
fukunee 554efc9364 init project by zed@deepseek-V4PRO 2026-05-05 10:40:46 +08:00