Skip to content

v3.10.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 22:51
· 46 commits to main since this release
5b703c0

@agent-wechat/cli 3.10.0

Minor Changes

  • #895 6079662 Thanks @thisnick! - Sort contacts, groups, and group members alphabetically (with Chinese pinyin support) across the native daemon, CLI, and client UI, and close remaining pinyin projection gaps:

    • Native daemon & crates: sort paginated /contacts, /groups, and /groups/{id}/members views in wechat-core using stored official pinyin columns (remark_quan_pin, remark_pin_yin_initial, quan_pin, pin_yin_initial) with an in-memory Hanzi-to-pinyin fallback for room display names and rows without stored pinyin, placing letters and Chinese pinyin before digits and symbols (#) while keeping encrypted pagination cursors stable across renames.
    • Protocol & group projection: add decode_group_member_pinyin / GroupMemberPinyin in wechat-protocol and persist server-supplied member nickname pinyin from CGI 119/120 replies, clear stale group pinyin on rename (op27) until server sync updates it, add ProfileReader::contact_pinyin / ContactPinyin in wechat-profile, and populate server-format pinyin in wechat-simulator.
    • Client UI: preserve backend alphabetical order across the Contacts tab, pickers, group member lists, and OmniSearch (including when enriching saved contacts with matching contact requests), and apply consistent letter-before-symbol pinyin sorting to OmniSearch's merged "Other people" section.

Patch Changes

  • #891 5d1d5b2 Thanks @AllocatorXy! - Cache admitted per-account control.sqlite SQLite connections in Store and close them cleanly on daemon shutdown.

    • Keep up to 64 admitted control.sqlite connections cached while the daemon is running so idle WAL-mode polling (such as /events SSE streams and background worker ticks) no longer creates, zero-fills, and unlinks 32 KiB control.sqlite-shm files on every read.
    • Preserve mid-run tamper detection on cached reuse, eviction, account removal, and shutdown, closing externally modified handles with SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE and releasing admission read handles before close on Windows.
    • Add Store::close() and invoke it after HTTP servers drain on graceful daemon stop so both control.sqlite and registry.sqlite checkpoint and unlink -wal/-shm cleanly for in-place reopen on restart.
  • #889 36a365d Thanks @thisnick! - Fix Windows startup and runtime failures when running elevated (for example via "Run as administrator" or under the built-in local Administrator account), where SQLite created -wal/-shm companion files owned by BUILTIN\Administrators and failed strict privacy checks (database family must be private and stable).

    • Set the Windows process token default owner (TokenOwner) to the current user (TokenUser) in wx, the desktop app, and wechat-store so newly created SQLite companions and helper directories are owned by the current user from creation.
    • Restore ownership back to the current user on startup when existing SQLite -wal/-shm/-journal companions are owned by BUILTIN\Administrators with a strictly private user-only ACL (SYSTEM + current user, no other allowed principals), without modifying database bytes or relaxing ACL checks.
    • Update wx daemon doctor to report elevated Windows tokens, identify BUILTIN\Administrators-owned SQLite companions distinctly, classify Windows os error 5 / access-denied errors, and show Windows ownership guidance instead of Unix chmod commands.

@agent-wechat/agent-wechat 3.10.0

Minor Changes

  • #887 01eca58 Thanks @thisnick! - - OpenClaw: deliver incoming contact cards (types 42, 66, and 67) to the agent and group chat history with their display-safe card details (WeChat ID, username, verification, organization, certification info, and region), keep custody rechecks stable across per-read recipientRef rotation, and align 49/40 forwarded chat-history stub read-receipt and history tool handling with 49/19.
    • Client UI: let clicking another member's avatar in a group chat open their contact card directly (resolving uncached group member metadata when needed), and fix contact card message avatars being vertically clipped by the outer message avatar margin rule.

Patch Changes

  • #891 5d1d5b2 Thanks @AllocatorXy! - Cache admitted per-account control.sqlite SQLite connections in Store and close them cleanly on daemon shutdown.

    • Keep up to 64 admitted control.sqlite connections cached while the daemon is running so idle WAL-mode polling (such as /events SSE streams and background worker ticks) no longer creates, zero-fills, and unlinks 32 KiB control.sqlite-shm files on every read.
    • Preserve mid-run tamper detection on cached reuse, eviction, account removal, and shutdown, closing externally modified handles with SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE and releasing admission read handles before close on Windows.
    • Add Store::close() and invoke it after HTTP servers drain on graceful daemon stop so both control.sqlite and registry.sqlite checkpoint and unlink -wal/-shm cleanly for in-place reopen on restart.
  • #889 36a365d Thanks @thisnick! - Fix Windows startup and runtime failures when running elevated (for example via "Run as administrator" or under the built-in local Administrator account), where SQLite created -wal/-shm companion files owned by BUILTIN\Administrators and failed strict privacy checks (database family must be private and stable).

    • Set the Windows process token default owner (TokenOwner) to the current user (TokenUser) in wx, the desktop app, and wechat-store so newly created SQLite companions and helper directories are owned by the current user from creation.
    • Restore ownership back to the current user on startup when existing SQLite -wal/-shm/-journal companions are owned by BUILTIN\Administrators with a strictly private user-only ACL (SYSTEM + current user, no other allowed principals), without modifying database bytes or relaxing ACL checks.
    • Update wx daemon doctor to report elevated Windows tokens, identify BUILTIN\Administrators-owned SQLite companions distinctly, classify Windows os error 5 / access-denied errors, and show Windows ownership guidance instead of Unix chmod commands.

@agent-wechat/desktop 3.10.0

Minor Changes

  • #895 6079662 Thanks @thisnick! - Sort contacts, groups, and group members alphabetically (with Chinese pinyin support) across the native daemon, CLI, and client UI, and close remaining pinyin projection gaps:

    • Native daemon & crates: sort paginated /contacts, /groups, and /groups/{id}/members views in wechat-core using stored official pinyin columns (remark_quan_pin, remark_pin_yin_initial, quan_pin, pin_yin_initial) with an in-memory Hanzi-to-pinyin fallback for room display names and rows without stored pinyin, placing letters and Chinese pinyin before digits and symbols (#) while keeping encrypted pagination cursors stable across renames.
    • Protocol & group projection: add decode_group_member_pinyin / GroupMemberPinyin in wechat-protocol and persist server-supplied member nickname pinyin from CGI 119/120 replies, clear stale group pinyin on rename (op27) until server sync updates it, add ProfileReader::contact_pinyin / ContactPinyin in wechat-profile, and populate server-format pinyin in wechat-simulator.
    • Client UI: preserve backend alphabetical order across the Contacts tab, pickers, group member lists, and OmniSearch (including when enriching saved contacts with matching contact requests), and apply consistent letter-before-symbol pinyin sorting to OmniSearch's merged "Other people" section.

Patch Changes

  • #891 5d1d5b2 Thanks @AllocatorXy! - Cache admitted per-account control.sqlite SQLite connections in Store and close them cleanly on daemon shutdown.

    • Keep up to 64 admitted control.sqlite connections cached while the daemon is running so idle WAL-mode polling (such as /events SSE streams and background worker ticks) no longer creates, zero-fills, and unlinks 32 KiB control.sqlite-shm files on every read.
    • Preserve mid-run tamper detection on cached reuse, eviction, account removal, and shutdown, closing externally modified handles with SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE and releasing admission read handles before close on Windows.
    • Add Store::close() and invoke it after HTTP servers drain on graceful daemon stop so both control.sqlite and registry.sqlite checkpoint and unlink -wal/-shm cleanly for in-place reopen on restart.
  • #887 01eca58 Thanks @thisnick! - - OpenClaw: deliver incoming contact cards (types 42, 66, and 67) to the agent and group chat history with their display-safe card details (WeChat ID, username, verification, organization, certification info, and region), keep custody rechecks stable across per-read recipientRef rotation, and align 49/40 forwarded chat-history stub read-receipt and history tool handling with 49/19.

    • Client UI: let clicking another member's avatar in a group chat open their contact card directly (resolving uncached group member metadata when needed), and fix contact card message avatars being vertically clipped by the outer message avatar margin rule.
  • #889 36a365d Thanks @thisnick! - Fix Windows startup and runtime failures when running elevated (for example via "Run as administrator" or under the built-in local Administrator account), where SQLite created -wal/-shm companion files owned by BUILTIN\Administrators and failed strict privacy checks (database family must be private and stable).

    • Set the Windows process token default owner (TokenOwner) to the current user (TokenUser) in wx, the desktop app, and wechat-store so newly created SQLite companions and helper directories are owned by the current user from creation.
    • Restore ownership back to the current user on startup when existing SQLite -wal/-shm/-journal companions are owned by BUILTIN\Administrators with a strictly private user-only ACL (SYSTEM + current user, no other allowed principals), without modifying database bytes or relaxing ACL checks.
    • Update wx daemon doctor to report elevated Windows tokens, identify BUILTIN\Administrators-owned SQLite companions distinctly, classify Windows os error 5 / access-denied errors, and show Windows ownership guidance instead of Unix chmod commands.
  • Updated dependencies [01eca58, 6079662]:

    • @agent-wechat/client-ui@0.12.0

@agent-wechat/rust-crates 3.10.0

Minor Changes

  • #895 6079662 Thanks @thisnick! - Sort contacts, groups, and group members alphabetically (with Chinese pinyin support) across the native daemon, CLI, and client UI, and close remaining pinyin projection gaps:

    • Native daemon & crates: sort paginated /contacts, /groups, and /groups/{id}/members views in wechat-core using stored official pinyin columns (remark_quan_pin, remark_pin_yin_initial, quan_pin, pin_yin_initial) with an in-memory Hanzi-to-pinyin fallback for room display names and rows without stored pinyin, placing letters and Chinese pinyin before digits and symbols (#) while keeping encrypted pagination cursors stable across renames.
    • Protocol & group projection: add decode_group_member_pinyin / GroupMemberPinyin in wechat-protocol and persist server-supplied member nickname pinyin from CGI 119/120 replies, clear stale group pinyin on rename (op27) until server sync updates it, add ProfileReader::contact_pinyin / ContactPinyin in wechat-profile, and populate server-format pinyin in wechat-simulator.
    • Client UI: preserve backend alphabetical order across the Contacts tab, pickers, group member lists, and OmniSearch (including when enriching saved contacts with matching contact requests), and apply consistent letter-before-symbol pinyin sorting to OmniSearch's merged "Other people" section.
  • #889 36a365d Thanks @thisnick! - Fix Windows startup and runtime failures when running elevated (for example via "Run as administrator" or under the built-in local Administrator account), where SQLite created -wal/-shm companion files owned by BUILTIN\Administrators and failed strict privacy checks (database family must be private and stable).

    • Set the Windows process token default owner (TokenOwner) to the current user (TokenUser) in wx, the desktop app, and wechat-store so newly created SQLite companions and helper directories are owned by the current user from creation.
    • Restore ownership back to the current user on startup when existing SQLite -wal/-shm/-journal companions are owned by BUILTIN\Administrators with a strictly private user-only ACL (SYSTEM + current user, no other allowed principals), without modifying database bytes or relaxing ACL checks.
    • Update wx daemon doctor to report elevated Windows tokens, identify BUILTIN\Administrators-owned SQLite companions distinctly, classify Windows os error 5 / access-denied errors, and show Windows ownership guidance instead of Unix chmod commands.

Native assets and desktop installers are published on GitHub; npm publication and deployment are separate release steps.