Commit Graph
1791 Commits
Author SHA1 Message Date
dependabot[bot] e1ead209ce build(deps): bump electron-updater from 6.8.3 to 6.8.9
Bumps [electron-updater](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-updater) from 6.8.3 to 6.8.9.
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-updater/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-updater@6.8.9/packages/electron-updater)

---
updated-dependencies:
- dependency-name: electron-updater
  dependency-version: 6.8.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-02 23:14:21 +00:00
cc 45e653841d 开屏页面进度条优化 2026-07-02 20:32:30 +08:00
cc 84c943e75b 导出文件支持更多类型;修复语音转文字意外报错的问题 2026-07-02 15:31:21 +08:00
cc cabedf034f Merge branch 'dev' of https://github.com/hicccc77/WeFlow into dev 2026-07-02 14:58:57 +08:00
cc 7804985ab8 导出统计速度优化;修复macos导出模块错误的问题 2026-07-02 14:58:25 +08:00
cc 64b7d9c35e Merge pull request #1082 from hicccc77/dependabot/npm_and_yarn/dev/react-dom-19.2.7
build(deps): bump react-dom from 19.2.4 to 19.2.7
2026-07-02 14:56:13 +08:00
cc 2b013a8a32 Merge pull request #1084 from hicccc77/dependabot/npm_and_yarn/dev/sherpa-onnx-node-1.13.3
build(deps): bump sherpa-onnx-node from 1.12.35 to 1.13.3
2026-07-02 14:55:23 +08:00
cc 9d2fd43048 Merge pull request #1085 from hicccc77/dependabot/npm_and_yarn/dev/vitejs/plugin-react-6.0.3
build(deps-dev): bump @vitejs/plugin-react from 6.0.1 to 6.0.3
2026-07-02 14:55:09 +08:00
cc b297c8031d Merge pull request #1088 from hicccc77/dependabot/npm_and_yarn/dev/react-virtuoso-4.18.10
build(deps): bump react-virtuoso from 4.18.5 to 4.18.10
2026-07-02 14:54:57 +08:00
cc 1acb987447 Merge pull request #1099 from SauronSkywalker/fix/export-file-naming-mode
# 修复:导出文件命名方式中"时间范围模式"选项不生效
2026-07-02 14:51:07 +08:00
司空祎宸 17456eba5c Delete PULL_REQUEST_EN.md 2026-07-02 14:34:07 +08:00
司空祎宸 f6e98dbbf0 Delete PULL_REQUEST_ZH.md 2026-07-02 14:33:56 +08:00
cc 07eb9e25a4 Merge pull request #1095 from RickHunterS/Fixed_the_number_of_messages_in_the_exported_page_file
fix(export): 修复导出页文件消息数量始终显示为 0
2026-07-02 14:10:44 +08:00
cc 14c55097e7 实现 #1097;修复导出时sql报错的问题 2026-07-02 14:08:17 +08:00
saylin f77a5ab6c0 fix(export): 修复导出页文件消息数量显示,并优化加载体验 2026-07-02 14:04:54 +08:00
SauronSkywalker c9eeb009a0 docs: add PR description in Chinese and English 2026-07-02 12:50:21 +08:00
SauronSkywalker 99273ccd2c fix(export): add fileNamingMode support to fix date-range naming mode not working
The 'Date Range' option in Export Global Settings -> File Naming Mode
was not taking effect because fileNamingMode was missing from the
frontend ExportOptions type, default options, config loading, and
the settings-change propagation callback.

- types.ts: add fileNamingMode field to ExportOptions interface
- constants.ts: add fileNamingMode default value
- useExportConfig.ts: load fileNamingMode on init, persist on update
- ExportPage.tsx: propagate fileNamingMode in handleExportDefaultsChanged
  also fix incorrect format key (defaultFormat -> format)
2026-07-02 12:50:14 +08:00
cc 82bce9f784 开屏页面细节增加;聊天页面批量解密/专业补充进度徽章并可在导出页面任务列表查询具体进度 2026-07-01 16:52:22 +08:00
saylin 8753038c95 perf(export): 优化文件消息统计的 cursor 扫描性能 2026-07-01 16:01:22 +08:00
cc 301cb5abce #1092 #1090 #1089 #1052 #1048 2026-07-01 15:34:37 +08:00
saylin 3a593b2f7c fix(export): 修复导出页文件消息数量始终显示为 0 2026-07-01 14:22:52 +08:00
dependabot[bot] b1ced8fbb4 build(deps): bump react-virtuoso from 4.18.5 to 4.18.10
Bumps [react-virtuoso](https://github.com/petyosi/react-virtuoso/tree/HEAD/packages/react-virtuoso) from 4.18.5 to 4.18.10.
- [Release notes](https://github.com/petyosi/react-virtuoso/releases)
- [Changelog](https://github.com/petyosi/react-virtuoso/blob/main/packages/react-virtuoso/CHANGELOG.md)
- [Commits](https://github.com/petyosi/react-virtuoso/commits/react-virtuoso@4.18.10/packages/react-virtuoso)

---
updated-dependencies:
- dependency-name: react-virtuoso
  dependency-version: 4.18.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-29 23:14:40 +00:00
cc 50ae72b639 Merge pull request #1087 from hicccc77/dev
修复一些打包问题
2026-06-30 00:51:34 +08:00
dependabot[bot] cc399eead6 build(deps-dev): bump @vitejs/plugin-react from 6.0.1 to 6.0.3
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 6.0.1 to 6.0.3.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.0.3/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 6.0.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-29 16:41:23 +00:00
dependabot[bot] 10c9bb5083 build(deps): bump sherpa-onnx-node from 1.12.35 to 1.13.3
Bumps [sherpa-onnx-node](https://github.com/csukuangfj/sherpa-onnx) from 1.12.35 to 1.13.3.
- [Release notes](https://github.com/csukuangfj/sherpa-onnx/releases)
- [Changelog](https://github.com/csukuangfj/sherpa-onnx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/csukuangfj/sherpa-onnx/compare/dart-v1.12.35...dart-v1.13.3)

---
updated-dependencies:
- dependency-name: sherpa-onnx-node
  dependency-version: 1.13.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-29 16:41:13 +00:00
dependabot[bot] e21a088a02 build(deps): bump react-dom from 19.2.4 to 19.2.7
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 19.2.4 to 19.2.7.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.2.7/packages/react-dom)

---
updated-dependencies:
- dependency-name: react-dom
  dependency-version: 19.2.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-29 16:41:12 +00:00
cc 99dcb6e43b 修复一些打包问题 2026-06-30 00:38:49 +08:00
cc fa4edebed6 全新出发 2026-06-30 00:18:31 +08:00
cc b06c117b1e Update README.md 2026-06-25 21:16:48 +08:00
cc 0b311e643e Update README.md 2026-06-25 21:16:15 +08:00
cc 695ca2ebe2 Update README with Telegram and WeLive links
Added links to Telegram channel and WeLive product.
2026-06-25 20:51:33 +08:00
cc e77a6b6579 Merge pull request #1057 from hicccc77/dev
再见
2026-06-03 19:20:08 +08:00
cc ac3e095015 再也不见 2026-06-03 19:18:07 +08:00
cc 54016abac5 再见 2026-06-03 19:13:07 +08:00
cc 93d46a3183 Merge pull request #1041 from hicccc77/dev
更新模版
2026-05-29 20:44:44 +08:00
cc f3b0cf5d3a 更新模版 2026-05-29 20:43:02 +08:00
cc 0f0fbbea1b Merge pull request #1040 from hicccc77/dev
Dev
2026-05-29 20:26:47 +08:00
cc f87ebbc869 Merge pull request #1030 from clearyss/main
feat: 私聊分析新增自身强度统计,针对mimoAPI调用增强
2026-05-29 19:47:50 +08:00
cc b75313bc29 Merge branch 'dev' of https://github.com/hicccc77/WeFlow into dev 2026-05-29 19:44:43 +08:00
cc 9947904f3d 更新模版 2026-05-29 19:44:26 +08:00
clearyss ba905a1a48 merge: 同步 dev 并解决 AI 见解冲突 2026-05-29 14:59:38 +08:00
cc 5e9e5ee597 Merge pull request #1033 from ZhongXiandou/fix/issue-996-account-dir-resolution
fix(account-dir): 修复账号目录解析导致 -3001 错误的两处缺陷 (#996)
2026-05-28 20:43:01 +08:00
aliyun8639545015 48b6b2216f fix(account-dir): 修复账号目录解析导致 -3001 错误的两处缺陷 (#996)
## 问题现象

部分用户在新版 WeFlow 配置 / 启动时持续报错:
  「数据库目录不存在: <dbPath>\<wxid>」(错误码 -3001)

复现条件之一:用户曾在微信里"自定义过微信号",dbPath 下会同时遗留两个
形似的子目录:
  - `<自定义号>`             :旧的、无后缀的目录,里面没有 db_storage
  - `<自定义号>_<4 位后缀>`  :微信 4.x 实际写入数据的目录

## 根因分析

账号目录解析有两处独立缺陷,分别命中不同人群:

1. **dbPathService.findAccountDirs / scanWxidCandidates**
   对名字以 `wxid_` 开头的目录额外要求"段数(按 `_` 切分)≥ 3"才放行,
   会让"未自定义过微信号"的普通用户(真实目录就叫 `wxid_X`)的账号
   完全消失在欢迎页扫描结果里。

2. **config.getAccountDir / accountDirResolver.resolveAccountDir**
   对非 `wxid_` 开头的输入存在错误的"短路返回"分支:
       if (!lowerWxid.startsWith('wxid_')) {
         const direct = join(root, cleanedWxid)
         if (existsSync(direct)) return direct  // ← 没校验里面有没有 db_storage
       }
   叠加 cleanAccountDirName 会把 `<自定义号>_<4 位后缀>` 清洗成 `<自定义号>`,
   于是无论用户保存的 myWxid 是哪个,都会命中旧的、无后缀的空目录,
   最终在 wcdbCore.open 阶段触发 -3001。

## 修复策略

把两个文件中"快速短路返回"的代码路径全部去掉,统一走基于"候选 + 评分"
的扫描流程:

  1) 同时接受**精确匹配**(entry == cleanedWxid) 与
     **后缀匹配**(entry.startsWith(cleanedWxid + '_')) 两种命中;
  2) 用 accountDirLooksValid 过滤掉"看起来根本不像账号目录"的项
     (没有 db_storage 也没有 FileStorage/Image[2]),从而过滤掉残留空目录;
  3) 在剩余候选中按以下优先级排序,取最优:
       - 有 session.db > 没有:区分"真正写入数据" vs "残留空目录";
       - 后缀匹配 > 精确匹配:与微信 4.x 实际写入目录命名一致;
       - 修改时间更新 > 更旧:兜底。

dbPathService 侧不再以"段数"过滤目录,改由新增的 dedupeAccountDirs 处理
"无后缀目录"与"带后缀目录"同时存在时的去重,保留"微信实际在用"那个。

## 兼容性

- 旧版本残留的 myWxid(无论用户存的是无后缀还是带后缀形式)都会被
  正确解析到带 session.db 的目录,用户无需手动修改配置;
- 未自定义微信号的普通用户(目录就叫 `wxid_X`)现在能正常被识别;
- 多账号、自定义微信号目录、绝对路径形式的 dbPath 等其它场景行为不变。

## 改动范围

- electron/services/dbPathService.ts
    findAccountDirs / scanWxidCandidates 不再按段数过滤;
    新增 dedupeAccountDirs / shouldPreferSuffixedDir / hasSessionDb 三个辅助方法。
- electron/services/config.ts
    重写 getAccountDir 扫描分支;新增 accountDirLooksValid /
    accountDirHasSessionDb 两个辅助方法。
- electron/services/accountDirResolver.ts
    与 config.ts 同步重写 resolveAccountDir,去掉错误的短路分支。

Closes #996
2026-05-28 11:04:09 +08:00
clearyss f0fc25b6c6 style: 优化自身发送强度图表样式 2026-05-27 20:59:44 +08:00
cc 4a36a32a0a Merge pull request #1022 from J1amo/codex/macos-close-fallback
fix: allow macOS close fallback when tray is unavailable
2026-05-27 20:26:10 +08:00
clearyss a67959dc2a feat: 优化足迹总结与自身消息强度分析 2026-05-27 19:59:48 +08:00
cc cfed07a03b Merge pull request #1020 from Jasonzhu1207/main
feat: Add User Persona By AI For Insight
2026-05-26 23:35:57 +08:00
xuncha c4ef716527 修复api导出图片已有缩略图时 再次导出不会被高清图替代的问题
fix(api): refresh image export cache when larger file is available
2026-05-26 18:58:16 +08:00
xuncha 7c408f253b Merge pull request #805 from chadblur/listbytime
导出页面的聊天列表新增最近活跃时间,并支持按记录数&聊天排序。新增AI生成的项目架构分析文档
2026-05-26 18:43:24 +08:00
xuncha a667201ccf Merge dev into PR 805 2026-05-26 18:27:52 +08:00