Commit graph

1807 commits

Author SHA1 Message Date
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
b391d98460 Merge branch 'main' into development 2026-03-24 21:50:54 +01:00
frdel
07386c6801 Add remote branch tag fetching with cache and fallback to local tags
- Add _get_remote_branch_merged_tags to fetch tags from official repo via temporary bare clone
- Add _remote_branch_tag_cache with 60-second TTL to reduce redundant fetches
- Add _get_official_remote_url helper for consistent remote URL construction
- Rename existing _get_branch_merged_tags to _get_local_branch_merged_tags
- Update _get_branch_merged_tags to prefer remote tags with fallback to local
- Add REMOTE_BRANCH_TAG_CACHE_TTL_SECONDS constant
2026-03-24 21:23:06 +01:00
frdel
f7d68d3410 Add backend disconnect detection and button type attributes to self-update modal
- Add observedBackendUnavailable flag to track backend state transitions
- Update restart flow to wait for backend disconnect before reload
- Add intermediate restart states: "Restarting backend" and "Update in progress"
- Change health check logic to require backend unavailability before reload
- Handle restart request errors with proper HTTP status validation
- Add type="button" to all modal footer buttons to prevent form submission
2026-03-24 21:15:28 +01:00
frdel
78ea2040a9 Add tag existence validation to self-update system
- Add tag verification in schedule_update before accepting update requests
- Check if selected tag exists on target branch via get_available_tags
- Add tagExistenceWarning computed property to display branch-specific errors
- Add tagExistenceChecked state flag to track validation status
- Implement onTagBlur handler to validate tag on input blur
- Add frontend validation in scheduleUpdate before API submission
- Change tag dropdown clicks from @
2026-03-24 21:09:38 +01:00
frdel
2f8b04c4d6 Remove dummy update test file from conf directory 2026-03-24 20:59:41 +01:00
frdel
ded0f480c8 Simplify version tag format from vX.Y.Z to vX.Y, enforce v1.0 minimum
- Change version tag format from `v{epoch}.{major}.{minor}.{rest}` to `v{major}.{minor}`
- Raise minimum selector version from v0.9.9 to v1.0
- Update tag parsing to require exactly two version segments
- Add numeric sorting for version tags (e.g., v1.10 > v1.9)
- Update major version compatibility check to compare first number only
- Improve validation messages: "vX.Y.Z" → "vX.Y", add "v1.0 or newer" requirement
- Clear default
2026-03-24 20:59:20 +01:00
Jan Tomášek
5de2e8b38c
Merge pull request #1322 from 3clyp50/main
ui: increased chat input height
2026-03-24 20:51:49 +01:00
Alessandro
f2e96742bd ui: increased chat input height
Replace the custom expand SVG with the Material `open_in_full` icon.

Raise the textarea max height to `65vh` and remove the chat bar height cap.
2026-03-24 20:48:43 +01:00
frdel
295f2f6c89 Update header-icons.html 2026-03-24 19:38:09 +01: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
frdel
eafe51a688 Refactor self-update system to use native Git operations instead of file sync
- Replace file-based sync_tree with native Git checkout, fetch, and stash operations
- Add Git stash-based rollback protection for tracked and untracked changes
- Remove protected path detection logic (now handled by Git ignore rules)
- Add stash management helpers: create_rollback_stash, apply_stash, drop_stash
- Add repository state restoration via restore_git_state for branch/detached HEAD
- Implement clean_repo_wor
2026-03-24 18:44:57 +01:00
Alessandro
3485db328f ui: increased chat input height; better icon for full screen input
Replace the custom expand SVG with the Material `open_in_full` icon.

Raise the textarea max height to `65vh` and remove the chat bar height cap.
2026-03-24 18:25:50 +01:00
Alessandro
1cc055c7d8 frontend: quick actions redesign; collapsible wrapper 2026-03-24 18:09:48 +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