fix(export): expand group system messages and add Rust exporter#1010
Open
jingkarqi wants to merge 5 commits into
Open
fix(export): expand group system messages and add Rust exporter#1010jingkarqi wants to merge 5 commits into
jingkarqi wants to merge 5 commits into
Conversation
Collaborator
|
rust导出仅支持纯文字导出 42000条的会话我实测仅跟现有方案差了半秒左右 ·并且没有考虑多平台适配 chatlab的jsonl导出也破坏了格式 我觉得应该可以删了 仅保留群聊邀请消息的修复 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #877
This PR focuses on export correctness and performance:
$username$and$names$were exported literally instead of being expanded to readable member names.Auto/Rust/TypeScript).What Changed
Fix group system-message placeholders
systemMessageFormatter.<link name="...">/<member>structures."$username$"邀请"$names$"加入了群聊"张三"邀请"李四、王五"加入了群聊Add Rust export engine
native/weflow-exporter.scripts/build-rust-exporter.cjsto build and copy the native binary intoresources/exporter/<platform>/<arch>.Export engine routing and fallback
Automode chooses Rust only when the selected export is supported and text-only.Auto, Rust failure falls back to TypeScript; manually selecting Rust keeps failure strict.UI and config
Verification
npm run typechecknpm run testnpm run build:rust-exporternpm run buildproducedrelease/win-unpacked/WeFlow.exe; local installer packaging was blocked by Windows symlink permission while electron-builder extractedwinCodeSign, unrelated to app compilation.