BingLu
4bc3c46f02
Merge pull request #144 from crisxuan/fix/macos-wcdb-framework-packaging
2026-04-30 23:16:16 +08:00
cxuanAI
7393496353
fix(macos): 打包后自动构造 WCDB.framework,修复 dyld 加载失败
...
libwcdb_api.dylib 编译时硬链接 @rpath/WCDB.framework/Versions/<ver>/WCDB,
但 native 产物把 WCDB 主二进制扁平化为 libWCDB.dylib 放在 resources/macos/,
extraResources 复制后落在 Contents/Resources/resources/macos/。dyld 在运行时
按 framework 路径找不到主二进制,导致 mac 装包后 GUI 解密入口报:
WCDB 初始化异常: Failed to load shared library
Library not loaded: @rpath/WCDB.framework/Versions/2.1.15/WCDB
Reason: tried: '<App>/Contents/Frameworks/WCDB.framework/Versions/2.1.15/WCDB' (no such file)
App 实际无法工作。
新增 scripts/setup-macos-wcdb-framework.js,由 clean-locales.js 在 afterPack
钩子里调用,打包后自动:
1. 从 libWCDB.dylib 的 install_name 解析期望的 framework 版本号(解析失败回退 "A")
2. 在 Contents/Frameworks/WCDB.framework/Versions/<ver>/WCDB 处放置同一个二进制
3. 创建 Versions/Current 与顶层 WCDB 软链
4. 对 framework 内主二进制和 framework 目录做 ad-hoc 重签名
不删除原 libWCDB.dylib,保留作为后向兼容来源。
MACOS_PORT_GUIDE.md 第 10 节补充该机制说明。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-30 11:35:02 +08:00
ILoveBingLu
24a0673487
refactor: 重构 AI 智能体与 UI 组件,优化功能逻辑及界面样式
...
更新智能体阶段节点命名,提升可读性
清理编排器中无用常量,优化上下文处理逻辑
优化 AI 响应提示词,提升交互表现
为 AI 服务商实现原生工具调用流式输出能力
优化摘要设置与进度指示器界面样式
完善进度卡片渲染逻辑,更好适配各类事件状态
摘要窗口新增思考气泡的 Markdown 渲染支持
2026-04-30 01:09:09 +08:00
ILoveBingLu
e6e94512c3
feat: 使用原生工具调用优化会话问答
...
将会话问答 Agent 改为 OpenAI-compatible 原生 tools/tool_calls 流程,移除旧 JSON 决策主路径。
补全回答证据中的图片、表情等媒体渲染,并将发送人显示为联系人名称。
优化问答等待态文案,补充原生工具 schema 和参数解析测试。
2026-04-28 11:29:05 +08:00
ILoveBingLu
02ce6733f3
feat: 为智能体 QA 新增文本解析器与节点名称映射
...
实现 textParser.ts,用于解码与解析消息内容,包含 XML 提取与二进制内容处理
创建 nodeNames.ts,定义智能体工具名称、进度阶段与数据源映射
新增测试脚本,独立验证智能体 QA 功能,确保无禁用格式、校验消息解析与统计逻辑
2026-04-28 07:03:50 +08:00
ILoveBingLu
611bb54f72
feat: 新增检索评估框架并集成新的向量嵌入模型
...
在 retrievalTypes.ts 中定义检索评估相关类型
增强 ChatSearchIndexService,使用全新 SqliteVec0VectorStore 实现向量存储与检索
更新向量模型服务,新增支持 Qwen3 嵌入模型(含专属池化与指令能力)
新增检索评估执行脚本,支持构建向量索引、生成评估报告
添加评估用例 JSONL 示例文件,并更新 README 完善使用说明
修改 UI 组件以适配新嵌入模型的集成
2026-04-27 20:57:50 +08:00
ILoveBingLu
c1bf514b4a
feat: integrate embedding model functionality and UI enhancements
...
- Added @huggingface/transformers and sqlite-vec dependencies to package.json.
- Updated electron-builder configuration to include sqlite-vec files.
- Enhanced AISummarySettings component with new styles and layout for embedding model selection and device configuration.
- Implemented embedding model loading, status checking, and download functionality in AISummarySettings.
- Added new types for embedding models and device status in ai.ts and electron.d.ts.
- Updated config service to manage embedding model profile and device settings.
- Modified AISummaryWindow to reflect changes in vector indexing messages and statuses.
2026-04-25 23:02:57 +08:00
ILoveBingLu
f30494e6cb
release: v4.2.2
2026-04-23 04:47:23 +08:00
ILoveBingLu
6ef395f3c9
发布 4.2.0:优化图片解密与聊天滚动体验
...
本次提交将应用版本更新到 4.2.0,并同步更新 package-lock、README 版本徽标和 CHANGELOG 发布说明。
主要变更:
- 接入 CipherTalk 自研图片 DAT 原生解密模块,替换原先迁移自 WeFlow 的命名与资源落点。
- 新增 Windows x64 与 macOS arm64 的预编译 native addon 资源,并补充 manifest、检查脚本和同步脚本。
- 保留 native 优先、TypeScript 兜底的图片解密链路,兼容 V3/V4 图片、wxgf 后处理、缓存命中、高清图回退和实况照片提取。
- 优化图片解密服务的缓存校验、wxgf/HEVC 白图规避、耗时诊断和默认日志输出,减少线上噪音。
- 聊天消息列表改为动态高度虚拟列表,卸载屏幕外消息 DOM 与图片节点,降低长会话内存和渲染压力。
- 修复虚拟列表初始挂载时滚底与顶部历史预加载互相打架导致界面上下晃动的问题。
- 顶部历史消息改为接近顶部并向上滚动时提前加载,同时加强 prepend 后的滚动位置恢复。
- 解析图片 XML 中的宽高信息,并用于聊天图片骨架屏、未解密占位、已解密图片和图片查看器初始窗口尺寸。
- 打包清理逻辑改为按当前平台保留对应 native addon,避免安装包携带无关平台产物。
验证:
- 已执行 npx tsc --noEmit,通过 TypeScript 类型检查。
- 本地未执行应用构建,发布构建交由 GitHub Actions 的 tag 发布工作流完成。
2026-04-21 04:44:47 +08:00
ILoveBingLu
c51293ee76
fix: 优化 MCP 内容可见性与 Skill 路由并升级到 4.1.8
2026-04-09 13:28:16 +08:00
ILoveBingLu
a485d73a18
Disable mac dmg update info generation
2026-04-08 18:42:25 +08:00
ILoveBingLu
081f4f50fc
Tighten mac packaging outputs
2026-04-08 18:36:10 +08:00
ILoveBingLu
08dbbf8f93
Refine platform-specific packaging filters
2026-04-08 17:52:28 +08:00
ILoveBingLu
892bb38105
feat: add packaged mcp launcher for macos
2026-04-07 10:52:18 +08:00
ILoveBingLu
6c79328b5e
release: v4.0.1
2026-04-07 10:12:03 +08:00
ILoveBingLu
cec5bced16
fix: generate update manifests during packaging
2026-04-07 01:17:46 +08:00
ILoveBingLu
e7ac2b85e5
fix: decouple packaging from release metadata
2026-04-07 01:05:06 +08:00
ILoveBingLu
b9e1a16ce6
fix: stabilize 4.0.0 release pipeline
2026-04-07 00:53:56 +08:00
ILoveBinglu
0c9c3f7c5d
fix: treat generated update manifest as build success
2026-04-07 00:33:04 +08:00
ILoveBinglu
49e748f3bf
修复打包
2026-04-07 00:19:02 +08:00
ILoveBinglu
46cca6038c
fix: prevent builder auto publish in release jobs
2026-04-07 00:07:07 +08:00
ILoveBinglu
c40a9084c5
fix: stabilize release workflow
2026-04-06 23:51:53 +08:00
ILoveBinglu
7fc73c973b
fix: update mac packaging and icon handling
2026-04-06 22:58:52 +08:00
ILoveBinglu
6f9958c1fb
feat: update macos native integration
2026-04-06 21:31:29 +08:00
ILoveBingLu
6aa2a516a2
merge: sync MACOS with main (MCP & updates)
...
Made-with: Cursor
2026-04-06 14:53:17 +08:00
ILoveBingLu
e403e9c4f1
chore: disable differential updates
2026-04-04 04:25:31 +08:00
ILoveBingLu
961e232c11
feat: 增强联系和会话查找功能,更新相关文档和脚本
2026-04-03 20:52:28 +08:00
ILoveBingLu
387224c08d
chore: release 2.3.5
2026-04-03 16:36:17 +08:00
ILoveBingLu
6eef17a52b
chore: improve release CI context and local secret env for release scripts
...
Made-with: Cursor
2026-04-03 01:33:25 +08:00
ILoveBingLu
c8c5b437f9
feat: release 2.3.3 differential update diagnostics
2026-04-02 14:18:40 +08:00
ILoveBingLu
03a842493b
feat: 增加 AI 配置日志记录和发布上下文详细信息
2026-04-02 13:46:26 +08:00
ILoveBingLu
269375fde6
feat: 更新发布工作流以支持 AI 生成发布说明配置
2026-04-02 04:45:59 +08:00
ILoveBingLu
dce45c1c4f
refactor: 重构发布工作流为串并行流程
2026-04-02 03:27:11 +08:00
ILoveBingLu
fbf916880b
feat: 发布工作流接入 AI 与 Telegram 通知
2026-04-02 03:09:45 +08:00
ILoveBingLu
9b7f89a2af
chore: 配置 GitHub 自动发布流程
2026-04-02 00:48:02 +08:00
ILoveBingLu
31c1446369
feat: 取消安装包美化
2026-04-02 00:13:06 +08:00
ILoveBingLu
a77e88907b
feat: 支持 GitHub 主源与自定义策略更新
2026-04-01 23:41:45 +08:00
ILoveBingLu
f5ca04ad51
feat: 新增 CipherTalk MCP 服务
2026-04-01 19:43:09 +08:00
ILoveBingLu
a974ea4fac
chore: add macOS native artifact checks
2026-03-30 03:46:47 +08:00
影烨
fe130caf4b
Add embedded MCP server with shared API facade
2026-03-23 23:53:54 +08:00
ILoveBingLu
948d5ec82c
feat: 新增 Whisper GPU 加速 + STT 模式切换:CUDA 加速 + 状态管理 + UI 切换 + 进度优化 + API 更新
2026-02-03 20:48:08 +08:00
ILoveBingLu
3a9d421f47
完全开源:密语 CipherTalk完全开源,但您一就要遵循本项目的开源协议进行使用。——一鲸落,万物生!
2026-01-25 07:11:13 +08:00
ILoveBingLu
528b8dcc77
Update README version to 1.0.6 and add script to automate version updates
2026-01-12 02:42:58 +08:00