Repository navigation
v3.3.0
@agent-wechat/cli 3.3.0
Minor Changes
-
#766
c802d21Thanks @thisnick! - Addwx feedback [--open]to print (or open in a browser) the repository link and a pre-filled GitHub bug-report URL with non-sensitive version, install-method and platform details. Add a one-time GitHub star notice on stderr after accepted sends across 3 local days and 15 sends (stored insupport-prompt.jsonnext toclient.toml, suppressed byAGENT_WECHAT_NO_PROMPTS=1,CI, or piped non-JSON output), and include"report": "wx feedback --json"(and a human-mode hint) on unclassified exit-1 errors. Passing--token-stdinwith local-only commands (daemon,store,config,profiles,feedback) now exits with code2(invalid_configuration_or_input) instead of1(operation_failed). -
#769
37a61d1Thanks @thisnick! - Addwx daemon doctorfor read-only local daemon diagnostics (--all,--fix,--json), checking SQLite WAL/SHM/journal shapes via the startup admission checks, schema versions, free space and filesystem type, ownership and permissions, staleprocess.jsonrecords, port occupancy,--officialprofile writeability and overlaps,daemon.logerrors, FFmpeg/FFprobe availability, and live account/storage diagnostics viaGET /v1/accounts/{a}/storage. Include the lastdaemon.logerror and a pointer towx daemon doctorwhenwx daemon start,wx daemon status, orwx servefails. -
#765
a98948bThanks @thisnick! - Addwx daemon install,wx daemon uninstall, andwx daemon restartto manage a Linux systemd user service or restart a CLI-managed local daemon without changing process ownership rules. On Unix, npm postinstall now maintains a stable native binary symlink under the agent-wechat data directory (bin/wx) so systemd units survive package upgrades, and prints awx daemon restartnotice when a running local daemon is older than the installed CLI. -
#764
6fec5eeThanks @thisnick! - Classify local and remote connection failures acrosswxcommands (distinguishingdaemon_not_running, desktop-hub or daemon key mismatches, and remoteendpoint_unavailable), add structurednextcommand hints to JSON and human errors, add interactive first-run prompts to start the local daemon or choose/create an account, add aclientsection towx status, leadwx --helpwith the local first-run flow, and print human-mode next steps after a successfulwx auth login. -
#738
d68e787Thanks @thisnick! - Add headless, automation-friendlywx calls sessioncommands with synthetic audio/video sources, live FFT and video metrics, frame snapshots, WAV/video recording, and event/media wait predicates. Emit direct-callcall.peer_statussignaling updates on Calls Protocol v3, propagate direct voice call mute/unmute state overSwitchAV, and ignore unknown future post-handshake call server event types in Rust and TypeScript clients.Because
call.peer_statusis emitted on protocol v3 and older released clients disconnect on unknown event types, upgrade call clients (wx, desktop app, OpenClaw plugin, and@agent-wechat/sharedSDK consumers) together with the daemon. -
#758
b23d6a2Thanks @thisnick! - PutwxonPATHduring global npm installs when npm's global bin folder is not onPATHby linking~/.local/bin/wxto npm'swxlauncher (when~/.local/binis onPATHand has no existing file or foreign symlink), warning when anotherwxwith a different version is already onPATH, or printing the shell profilePATHline. Expose the same behavior aswx-native-install --linkfor pnpm and--ignore-scriptsinstalls. -
#762
ecd8106Thanks @thisnick! - Addwx completions <bash|zsh|fish|powershell>to generate shell completion scripts forwx, excluding hidden legacy commands and aliases.
Patch Changes
-
#746
e117ddeThanks @teest114514! - SplitPlaybackHandle's producer resampler lock from the audio output queue lock so real-time audio drain never blocks on producer resampling, while preserving stale-token checks and resampling capacity preflight. -
#745
fad3078Thanks @teest114514! - Reduce direct-call setup and media-startup latency by caching lease-fencedAppSessionidentities per account and reusing ringing-phase UDP relay pre-connection for outgoing calls as well as incoming calls. -
#775
12041daThanks @thisnick! - Accept server-transcoded CDN original images (such as iPhone HEIC photos delivered as larger JPEGs) without failing withmedia_integrity_failed, and write/read their_h.datcache entries in official profiles via the exactMessageResourceDetail(type = 65537) resource join. Inwechat-protocol, non-strict (strict_size: false)MediaQuality::Originaldownloads now enforceexpected_bytesunless the CDN reply explicitly carries a transcoded JPEG (rsppicformat=1,substituteftype=1, JPEG header). -
#777
5fda5bdThanks @thisnick! - Stop settingRLIMIT_ASon theffmpegsubprocess used for WXGF still previews so dynamically linkedffmpegbuilds with many shared libraries and pipeline threads do not fail inpthread_create()while resident memory stays small. Clamp the remaining Unixsetrlimitcaps (RLIMIT_CPU,RLIMIT_FSIZE,RLIMIT_NOFILE) against inherited limits viagetrlimit, and pass-max_pixels 16777216to enforce the pixel bound insidelibavcodec. -
#757
d83c022Thanks @thisnick! - Cache native binary verification in an atomic metadata stamp written at install time so the npmwxlauncher checks file metadata (size,mtime,ctime,inode,device), manifest SHA-256, and cached identity instead of re-hashing the binary and runningwx --json versionon every command. Any missing, invalid, or mismatched stamp falls back to full verification. -
#760
8f3602dThanks @thisnick! - The daemon now starts when an interrupted open (for example after a crash, power loss, or full disk) leaves SQLite's 3-byte-shmfile besideregistry.sqliteorcontrol.sqlite. It keeps a pre-open copy in.sqlite-recovery-…, verifies any-wallog standalone, and lets SQLite rebuild the-shmindex. Unexpected 3-byte contents and other non-block-shmlengths are still refused with existing files preserved.
@agent-wechat/agent-wechat 3.3.0
Minor Changes
-
#738
d68e787Thanks @thisnick! - Add headless, automation-friendlywx calls sessioncommands with synthetic audio/video sources, live FFT and video metrics, frame snapshots, WAV/video recording, and event/media wait predicates. Emit direct-callcall.peer_statussignaling updates on Calls Protocol v3, propagate direct voice call mute/unmute state overSwitchAV, and ignore unknown future post-handshake call server event types in Rust and TypeScript clients.Because
call.peer_statusis emitted on protocol v3 and older released clients disconnect on unknown event types, upgrade call clients (wx, desktop app, OpenClaw plugin, and@agent-wechat/sharedSDK consumers) together with the daemon.
@agent-wechat/desktop 3.3.0
Minor Changes
-
#738
d68e787Thanks @thisnick! - Add headless, automation-friendlywx calls sessioncommands with synthetic audio/video sources, live FFT and video metrics, frame snapshots, WAV/video recording, and event/media wait predicates. Emit direct-callcall.peer_statussignaling updates on Calls Protocol v3, propagate direct voice call mute/unmute state overSwitchAV, and ignore unknown future post-handshake call server event types in Rust and TypeScript clients.Because
call.peer_statusis emitted on protocol v3 and older released clients disconnect on unknown event types, upgrade call clients (wx, desktop app, OpenClaw plugin, and@agent-wechat/sharedSDK consumers) together with the daemon.
Patch Changes
-
#746
e117ddeThanks @teest114514! - SplitPlaybackHandle's producer resampler lock from the audio output queue lock so real-time audio drain never blocks on producer resampling, while preserving stale-token checks and resampling capacity preflight. -
#745
fad3078Thanks @teest114514! - Reduce direct-call setup and media-startup latency by caching lease-fencedAppSessionidentities per account and reusing ringing-phase UDP relay pre-connection for outgoing calls as well as incoming calls. -
#748
4f821a4Thanks @teest114514! - Stream desktop HTTP proxy uploads as raw binary Tauri IPC chunks instead of JSON byte arrays, and stream responses as binary frames instead of base64 strings. -
#747
18f18dcThanks @teest114514! - Keep cached media and avatar recency metadata separate from their file bytes so opening a cached image, video, or avatar does not write its contents back to disk or load full payloads for cache stats and eviction. Local cache storage is upgraded to a new schema version (waiting up to 3 seconds if another open tab holds the previous version); installing an earlier version afterwards turns off local cache persistence (including reading saved drafts and pending-send receipts) until app data is cleared or you upgrade again. -
#760
8f3602dThanks @thisnick! - The daemon now starts when an interrupted open (for example after a crash, power loss, or full disk) leaves SQLite's 3-byte-shmfile besideregistry.sqliteorcontrol.sqlite. It keeps a pre-open copy in.sqlite-recovery-…, verifies any-wallog standalone, and lets SQLite rebuild the-shmindex. Unexpected 3-byte contents and other non-block-shmlengths are still refused with existing files preserved. -
Updated dependencies [
4f821a4,18f18dc]:- @agent-wechat/client-ui@0.7.3
@agent-wechat/rust-crates 3.3.0
Minor Changes
-
#745
fad3078Thanks @teest114514! - Reduce direct-call setup and media-startup latency by caching lease-fencedAppSessionidentities per account and reusing ringing-phase UDP relay pre-connection for outgoing calls as well as incoming calls. -
#738
d68e787Thanks @thisnick! - Add headless, automation-friendlywx calls sessioncommands with synthetic audio/video sources, live FFT and video metrics, frame snapshots, WAV/video recording, and event/media wait predicates. Emit direct-callcall.peer_statussignaling updates on Calls Protocol v3, propagate direct voice call mute/unmute state overSwitchAV, and ignore unknown future post-handshake call server event types in Rust and TypeScript clients.Because
call.peer_statusis emitted on protocol v3 and older released clients disconnect on unknown event types, upgrade call clients (wx, desktop app, OpenClaw plugin, and@agent-wechat/sharedSDK consumers) together with the daemon.
Patch Changes
-
#775
12041daThanks @thisnick! - Accept server-transcoded CDN original images (such as iPhone HEIC photos delivered as larger JPEGs) without failing withmedia_integrity_failed, and write/read their_h.datcache entries in official profiles via the exactMessageResourceDetail(type = 65537) resource join. Inwechat-protocol, non-strict (strict_size: false)MediaQuality::Originaldownloads now enforceexpected_bytesunless the CDN reply explicitly carries a transcoded JPEG (rsppicformat=1,substituteftype=1, JPEG header). -
#777
5fda5bdThanks @thisnick! - Stop settingRLIMIT_ASon theffmpegsubprocess used for WXGF still previews so dynamically linkedffmpegbuilds with many shared libraries and pipeline threads do not fail inpthread_create()while resident memory stays small. Clamp the remaining Unixsetrlimitcaps (RLIMIT_CPU,RLIMIT_FSIZE,RLIMIT_NOFILE) against inherited limits viagetrlimit, and pass-max_pixels 16777216to enforce the pixel bound insidelibavcodec.
Native assets and desktop installers are published on GitHub; npm publication and deployment are separate release steps.