Commit graph

292 commits

Author SHA1 Message Date
linuztx
61fa1bf487 fix: move allowed_numbers filtering from JS bridge to Python handler
The JS bridge used LIDs (internal WhatsApp identifiers) for sender
matching which never matched actual phone numbers. Moved filtering
to Python handler.py where config is read fresh each poll cycle.

- Add senderNumber (resolved phone) to bridge message payload
- Filter in poll_messages() with normalized number comparison
- Remove --allowed-numbers CLI arg and JS-side filtering
- Fix ensure_bridge_http_up not recording _bridge_config
- Fix falsy empty-dict check in bridge restart detection
2026-03-31 08:38:51 +08:00
linuztx
64ee177897 refactor: move email agent instructions to system prompt and update prompt labels 2026-03-28 23:34:23 +08:00
linuztx
eb6a4d3ad2 Add WhatsApp plugin thumbnail 2026-03-28 10:53:59 +08:00
linuztx
39bed4f538 refactor: rename allowed_users to allowed_numbers across plugin 2026-03-28 10:51:47 +08:00
linuztx
e4991b6e6e improve: move agent instructions from per-message to system prompt 2026-03-27 21:58:29 +08:00
linuztx
4f1be15fa7 improve: add macOS port kill support and bridge process destructor cleanup 2026-03-27 21:00:25 +08:00
linuztx
f5349753d7 improve: remove redundant bridge_manager from execute, rely on poll loop finally 2026-03-27 17:09:56 +08:00
linuztx
9d9dd4bd7f fix: stop bridge and poll loop when plugin is disabled or toggled off 2026-03-27 14:41:14 +08:00
linuztx
66b0a7d3e0 improve: fix allowed users input, auto-strip + prefix, log ignored messages 2026-03-27 11:05:58 +08:00
linuztx
938e7b9312 improve: add line break to allowed users description 2026-03-26 23:26:42 +08:00
linuztx
4ef64b9121 feat: convert markdown to WhatsApp formatting before sending replies 2026-03-26 22:44:55 +08:00
linuztx
f549b49f44 improve: add progress update instructions to system context prompt 2026-03-26 22:34:56 +08:00
linuztx
66e5d51dcf fix: stop typing indicator on agent error or generation failure 2026-03-26 22:23:32 +08:00
linuztx
3dd01cd04c improve: persistent typing indicator with poll-based refresh 2026-03-26 18:31:38 +08:00
linuztx
8d0ec86f15 Update README.md 2026-03-26 17:11:25 +08:00
linuztx
e664673c1c feat: add agent prefix to self-chat replies for visual distinction 2026-03-26 16:05:44 +08:00
linuztx
18c5716d10 fix: clear typing indicator after sending reply in self-chat mode 2026-03-26 15:43:01 +08:00
linuztx
7c653c9d56 improve: merge WhatsApp Link and Disconnect into single Account field 2026-03-26 14:43:06 +08:00
linuztx
57c95e6f13 feat: add disconnect account option to switch WhatsApp accounts 2026-03-26 14:11:05 +08:00
linuztx
c62695356e improve: move mode description inline and reorder Allow Group after Allowed Users 2026-03-26 14:00:00 +08:00
linuztx
18a56ea446 fix: remove duplicate typing indicator before sending reply 2026-03-26 13:44:17 +08:00
linuztx
44c90a118f improve: remove sender number from DM prompt 2026-03-26 13:30:06 +08:00
linuztx
64fe7d0302 fix: handle documentWithCaptionMessage wrapper for captioned documents 2026-03-26 13:17:29 +08:00
linuztx
00b6657185 feat: add attachment reader/writer with RFC and download all media types 2026-03-26 13:06:40 +08:00
linuztx
8041c085d2 improve: update group prompt and reply instructions 2026-03-26 11:45:17 +08:00
linuztx
71a6eb7557 feat: reply to specific messages in group chats with quote 2026-03-26 11:26:36 +08:00
linuztx
6bf63eb9c6 feat: detect replies to bot messages in group chats 2026-03-26 09:57:34 +08:00
linuztx
b4492e0759 improve: resolve group names and sender LIDs in bridge messages 2026-03-26 09:20:27 +08:00
linuztx
14e673f165 feat: add allow_group toggle to respond only when mentioned in group chats 2026-03-26 04:44:50 +08:00
linuztx
40f4884319 refactor: rename mode value from bot to dedicated 2026-03-26 03:20:02 +08:00
linuztx
50af7c2bde fix: kill orphaned bridge process on port before starting new one 2026-03-26 02:34:51 +08:00
linuztx
45b21c093a improve: auto-restart bridge when config changes 2026-03-26 02:07:45 +08:00
linuztx
a12183ba6e feat: add bot and self-chat mode selection for WhatsApp bridge 2026-03-26 01:39:55 +08:00
linuztx
bb8961ab73 improve: send typing indicator immediately on message receive 2026-03-26 00:56:56 +08:00
linuztx
84c12b0c23 feat: add WhatsApp integration plugin with Baileys bridge and QR pairing 2026-03-26 00:29:04 +08:00
frdel
4d32432d54 Remove memory quick action extension, increase header icons dropdown shadow
- Delete memory-entry.html extension from sidebar quick actions
- Increase dropdown box-shadow from `0 2px 8px rgba(0,0,0,0.1)` to `0 2px 13px 2px rgba(0,0,0,0.3)`
2026-03-24 19:37:33 +01:00
frdel
6d44c885f8 Update default_config.yaml 2026-03-24 19:28:32 +01:00
frdel
986c1b1cee Refactor default presets, fix chardet version conflict, improve welcome banner refresh logic
- Rename presets: "Efficiency" → "Max Power", "Intelligence" → "Balance", add "Cost Efficient"
- Update preset models: use Claude Opus 4.6, Sonnet 4.6, Kimi K2.5, GPT-5.4-mini/nano, Gemini 3.1 Flash Lite
- Adjust context lengths and vision capabilities across presets
- Pin chardet<6 to avoid import warnings from requests when unstructured is installed
- Replace settings-updated listener with modal-closed event
2026-03-24 19:17:12 +01:00
Jan Tomášek
ab28c0f25a
Merge pull request #1320 from 3clyp50/dev2
Decouple browser model wiring; sidebar quick actions; chat input height and fullscreen icon
2026-03-24 19:14:15 +01:00
Alessandro
5f235f73f6 model_config: decouple browser agent model wiring
Move the browser model instantiation logic out of `_model_config` and into `_browser_agent` to properly invert the dependency direction.

This prevents the always-enabled `_model_config` plugin from taking a hard dependency on the optional `_browser_agent` module, ensuring it won't break if the browser module is removed or replaced.
2026-03-24 18:09:48 +01:00
frdel
75b8085b65 Add unzip to Docker base packages, refactor API key handling, improve self-update system
- Add unzip package to Docker base installation
- Remove deprecated missing API key banner extension
- Refactor API key management: clear drafts on init, track dirty state, allow empty string saves
- Add version filtering to self-update: enforce minimum v0.9.9, validate tag format
- Improve self-update UI: convert howto to Bootstrap collapse, fix branch selector reactivity, group tag suggestions
- Fix settings
2026-03-24 17:17:19 +01:00
frdel
e680256b29 Refactor API key handling and update system improvements
- Refactor API key management: move from global env-only to per-model config with dotenv fallback
- Add API key placeholder masking and reveal functionality in WebUI
- Consolidate API key validation logic into `has_provider_api_key()` helper
- Improve update system: add branch filtering for tags, simplify backup naming
- Add branch detection to version info and default to current branch for updates
- Extract configure model settings link to constant
2026-03-24 14:41:46 +01:00
keyboardstaff
1bd5bc01d6 refactor(chat_branching): ID-based log ↔ history linking for precise branch trimming 2026-03-24 03:04:09 -07:00
keyboardstaff
aafe7f4aa8 fix(chat_branching): not trimming agent history 2026-03-23 22:37:20 -07:00
Jan Tomášek
1a5a622203
Merge pull request #1303 from keyboardstaff/telegram-integration-plugin 2026-03-24 06:00:11 +01:00
Jan Tomášek
fe278e9495
Merge branch 'development' into browse-extract 2026-03-23 21:35:46 +01:00
frdel
4a8a747776 Merge branch 'development' of https://github.com/agent0ai/agent-zero into development 2026-03-23 21:16:16 +01:00
Jan Tomášek
7bc8dc95aa
Merge pull request #1310 from linuztx/email-plugin-improve2
Email integration plugin fixes and improvements (part 2)
2026-03-23 21:16:03 +01:00
frdel
790bd64daa Merge branch 'development' of https://github.com/agent0ai/agent-zero into development 2026-03-23 21:14:48 +01:00
frdel
89d4b8913f refactor: consolidate module loading utilities and add plugin lifecycle improvements
- Move load_classes_from_file and load_classes_from_folder from extract_tools to new modules helper
- Update all imports across api, extension, files, and plugins to use helpers.modules
- Add namespace purging to refresh_plugin_modules for selective plugin reload on Python changes
- Implement embed trimming in history based on model config max_embeds and vision support
- Add pre_update hook documentation to plugin
2026-03-23 21:13:25 +01:00