Skip to content

v3.3.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 18:33
· 58 commits to main since this release
6543195

@agent-wechat/cli 3.3.0

Minor Changes

  • #766 c802d21 Thanks @thisnick! - Add wx 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 in support-prompt.json next to client.toml, suppressed by AGENT_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-stdin with local-only commands (daemon, store, config, profiles, feedback) now exits with code 2 (invalid_configuration_or_input) instead of 1 (operation_failed).

  • #769 37a61d1 Thanks @thisnick! - Add wx daemon doctor for 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, stale process.json records, port occupancy, --official profile writeability and overlaps, daemon.log errors, FFmpeg/FFprobe availability, and live account/storage diagnostics via GET /v1/accounts/{a}/storage. Include the last daemon.log error and a pointer to wx daemon doctor when wx daemon start, wx daemon status, or wx serve fails.

  • #765 a98948b Thanks @thisnick! - Add wx daemon install, wx daemon uninstall, and wx daemon restart to 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 a wx daemon restart notice when a running local daemon is older than the installed CLI.

  • #764 6fec5ee Thanks @thisnick! - Classify local and remote connection failures across wx commands (distinguishing daemon_not_running, desktop-hub or daemon key mismatches, and remote endpoint_unavailable), add structured next command hints to JSON and human errors, add interactive first-run prompts to start the local daemon or choose/create an account, add a client section to wx status, lead wx --help with the local first-run flow, and print human-mode next steps after a successful wx auth login.

  • #738 d68e787 Thanks @thisnick! - Add headless, automation-friendly wx calls session commands with synthetic audio/video sources, live FFT and video metrics, frame snapshots, WAV/video recording, and event/media wait predicates. Emit direct-call call.peer_status signaling updates on Calls Protocol v3, propagate direct voice call mute/unmute state over SwitchAV, and ignore unknown future post-handshake call server event types in Rust and TypeScript clients.

    Because call.peer_status is emitted on protocol v3 and older released clients disconnect on unknown event types, upgrade call clients (wx, desktop app, OpenClaw plugin, and @agent-wechat/shared SDK consumers) together with the daemon.

  • #758 b23d6a2 Thanks @thisnick! - Put wx on PATH during global npm installs when npm's global bin folder is not on PATH by linking ~/.local/bin/wx to npm's wx launcher (when ~/.local/bin is on PATH and has no existing file or foreign symlink), warning when another wx with a different version is already on PATH, or printing the shell profile PATH line. Expose the same behavior as wx-native-install --link for pnpm and --ignore-scripts installs.

  • #762 ecd8106 Thanks @thisnick! - Add wx completions <bash|zsh|fish|powershell> to generate shell completion scripts for wx, excluding hidden legacy commands and aliases.

Patch Changes

  • #746 e117dde Thanks @teest114514! - Split PlaybackHandle'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 fad3078 Thanks @teest114514! - Reduce direct-call setup and media-startup latency by caching lease-fenced AppSession identities per account and reusing ringing-phase UDP relay pre-connection for outgoing calls as well as incoming calls.

  • #775 12041da Thanks @thisnick! - Accept server-transcoded CDN original images (such as iPhone HEIC photos delivered as larger JPEGs) without failing with media_integrity_failed, and write/read their _h.dat cache entries in official profiles via the exact MessageResourceDetail (type = 65537) resource join. In wechat-protocol, non-strict (strict_size: false) MediaQuality::Original downloads now enforce expected_bytes unless the CDN reply explicitly carries a transcoded JPEG (rsppicformat=1, substituteftype=1, JPEG header).

  • #777 5fda5bd Thanks @thisnick! - Stop setting RLIMIT_AS on the ffmpeg subprocess used for WXGF still previews so dynamically linked ffmpeg builds with many shared libraries and pipeline threads do not fail in pthread_create() while resident memory stays small. Clamp the remaining Unix setrlimit caps (RLIMIT_CPU, RLIMIT_FSIZE, RLIMIT_NOFILE) against inherited limits via getrlimit, and pass -max_pixels 16777216 to enforce the pixel bound inside libavcodec.

  • #757 d83c022 Thanks @thisnick! - Cache native binary verification in an atomic metadata stamp written at install time so the npm wx launcher checks file metadata (size, mtime, ctime, inode, device), manifest SHA-256, and cached identity instead of re-hashing the binary and running wx --json version on every command. Any missing, invalid, or mismatched stamp falls back to full verification.

  • #760 8f3602d Thanks @thisnick! - The daemon now starts when an interrupted open (for example after a crash, power loss, or full disk) leaves SQLite's 3-byte -shm file beside registry.sqlite or control.sqlite. It keeps a pre-open copy in .sqlite-recovery-…, verifies any -wal log standalone, and lets SQLite rebuild the -shm index. Unexpected 3-byte contents and other non-block -shm lengths are still refused with existing files preserved.

@agent-wechat/agent-wechat 3.3.0

Minor Changes

  • #738 d68e787 Thanks @thisnick! - Add headless, automation-friendly wx calls session commands with synthetic audio/video sources, live FFT and video metrics, frame snapshots, WAV/video recording, and event/media wait predicates. Emit direct-call call.peer_status signaling updates on Calls Protocol v3, propagate direct voice call mute/unmute state over SwitchAV, and ignore unknown future post-handshake call server event types in Rust and TypeScript clients.

    Because call.peer_status is emitted on protocol v3 and older released clients disconnect on unknown event types, upgrade call clients (wx, desktop app, OpenClaw plugin, and @agent-wechat/shared SDK consumers) together with the daemon.

@agent-wechat/desktop 3.3.0

Minor Changes

  • #738 d68e787 Thanks @thisnick! - Add headless, automation-friendly wx calls session commands with synthetic audio/video sources, live FFT and video metrics, frame snapshots, WAV/video recording, and event/media wait predicates. Emit direct-call call.peer_status signaling updates on Calls Protocol v3, propagate direct voice call mute/unmute state over SwitchAV, and ignore unknown future post-handshake call server event types in Rust and TypeScript clients.

    Because call.peer_status is emitted on protocol v3 and older released clients disconnect on unknown event types, upgrade call clients (wx, desktop app, OpenClaw plugin, and @agent-wechat/shared SDK consumers) together with the daemon.

Patch Changes

  • #746 e117dde Thanks @teest114514! - Split PlaybackHandle'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 fad3078 Thanks @teest114514! - Reduce direct-call setup and media-startup latency by caching lease-fenced AppSession identities per account and reusing ringing-phase UDP relay pre-connection for outgoing calls as well as incoming calls.

  • #748 4f821a4 Thanks @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 18f18dc Thanks @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 8f3602d Thanks @thisnick! - The daemon now starts when an interrupted open (for example after a crash, power loss, or full disk) leaves SQLite's 3-byte -shm file beside registry.sqlite or control.sqlite. It keeps a pre-open copy in .sqlite-recovery-…, verifies any -wal log standalone, and lets SQLite rebuild the -shm index. Unexpected 3-byte contents and other non-block -shm lengths 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 fad3078 Thanks @teest114514! - Reduce direct-call setup and media-startup latency by caching lease-fenced AppSession identities per account and reusing ringing-phase UDP relay pre-connection for outgoing calls as well as incoming calls.

  • #738 d68e787 Thanks @thisnick! - Add headless, automation-friendly wx calls session commands with synthetic audio/video sources, live FFT and video metrics, frame snapshots, WAV/video recording, and event/media wait predicates. Emit direct-call call.peer_status signaling updates on Calls Protocol v3, propagate direct voice call mute/unmute state over SwitchAV, and ignore unknown future post-handshake call server event types in Rust and TypeScript clients.

    Because call.peer_status is emitted on protocol v3 and older released clients disconnect on unknown event types, upgrade call clients (wx, desktop app, OpenClaw plugin, and @agent-wechat/shared SDK consumers) together with the daemon.

Patch Changes

  • #775 12041da Thanks @thisnick! - Accept server-transcoded CDN original images (such as iPhone HEIC photos delivered as larger JPEGs) without failing with media_integrity_failed, and write/read their _h.dat cache entries in official profiles via the exact MessageResourceDetail (type = 65537) resource join. In wechat-protocol, non-strict (strict_size: false) MediaQuality::Original downloads now enforce expected_bytes unless the CDN reply explicitly carries a transcoded JPEG (rsppicformat=1, substituteftype=1, JPEG header).

  • #777 5fda5bd Thanks @thisnick! - Stop setting RLIMIT_AS on the ffmpeg subprocess used for WXGF still previews so dynamically linked ffmpeg builds with many shared libraries and pipeline threads do not fail in pthread_create() while resident memory stays small. Clamp the remaining Unix setrlimit caps (RLIMIT_CPU, RLIMIT_FSIZE, RLIMIT_NOFILE) against inherited limits via getrlimit, and pass -max_pixels 16777216 to enforce the pixel bound inside libavcodec.

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