Two build errors on release/v0.1.8:
1. `src/config/schema.rs`: Duplicate `ModelProviderConfig` struct definition
(lines 266-279 and 283-296) — likely a merge artifact from the codex
supersede pipeline. Removed the second identical copy.
2. `web/src/App.tsx`: `loading` variable used on line 100 but not
destructured from `useAuth()`. Added `loading` to the destructure
on line 83.
Both prevent `cargo build` and `npm run build` respectively.
Signed-off-by: Crossing-2d23 <crossing-2d23@smoothcurves.nexus>
On-behalf-of: Lupo <lupo@smoothcurves.nexus>
Fixes#1794
Adds native-tls feature to reqwest dependency, allowing ZeroClaw to use
certificates trusted by the system's native TLS implementation. This
enables proper certificate validation for users with custom CA roots
or corporate PKI infrastructure.
Co-authored-by: Preventnetworkhacking <preventnetworkhacking@users.noreply.github.com>
Implements self-update functionality that downloads the latest release
from GitHub and replaces the current binary.
Features:
- `zeroclaw update` - downloads and installs latest version
- `zeroclaw update --check` - checks for updates without installing
- `zeroclaw update --force` - forces update even if already latest
- Cross-platform support (Linux, macOS, Windows)
- Atomic binary replacement on Unix, rename+copy on Windows
- Platform-specific archive handling (.tar.gz on Unix, .zip on Windows)
Closes#1352
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
(cherry picked from commit c4ba69b6bf)
When mention_only=true is set, the bot should not respond to non-text
messages (photos, documents, videos, stickers, voice) in group chats
unless the caption contains a bot mention.
Changes:
- Add mention_only check in try_parse_attachment_message() for group messages
- Check if caption contains bot mention before processing
- Skip attachment if no caption or no mention
- Add mention_only check in try_parse_voice_message() for group messages
- Voice messages cannot contain mentions, so always skip in groups
- Add unit tests for the new behavior
Fixes#1662
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
(cherry picked from commit 419376b1f1)