Commit graph

483 commits

Author SHA1 Message Date
frdel
b4c8e66b7f Merge branch 'pr/875' into development 2026-01-07 10:22:08 +01:00
frdel
140b7b96dd Merge branch 'pr/855' into development 2026-01-07 09:42:36 +01:00
frdel
7bdfe40ed1 banners params polish 2026-01-07 09:24:37 +01:00
Jan Tomášek
6d7c2653f0
Merge pull request #856 from keyboardstaff/pr/banners
Info and Warning Banners for Welcome Screen
2026-01-07 09:15:33 +01:00
3clyp50
6d41d1983a restore log guid 2026-01-06 19:30:38 +01:00
3clyp50
a96c03587f chore: cleanup comments 2026-01-06 19:22:39 +01:00
3clyp50
6a21f34a94 restore heading logic for rate limit, error msgs 2026-01-06 19:08:33 +01:00
3clyp50
7dcfd6af6a timestamp log fix 2026-01-06 19:02:47 +01:00
3clyp50
6ed9f068c6 fix: backend not setting agent no; agent no in responses 2026-01-06 16:26:01 +01:00
3clyp50
5844e58b83 fix: take durationms from backend
duration and timestamp persist
log and process groups cleanup
2026-01-06 03:31:19 +01:00
3clyp50
8d94e676e4 revert token counting logic
remove token counter; unified cleanText; icons coverage
2026-01-06 03:30:45 +01:00
3clyp50
ced8f87e8e agent no. from backend 2026-01-06 03:30:45 +01:00
3clyp50
e275cab0c9 status icons and formatting 2026-01-06 03:30:45 +01:00
Alessandro
8181a8268a remove bg-colors from messages; logItem updates
- backend-driven step duration with live counter
- Add duration_ms field to LogItem (python/helpers/log.py)
- Pass duration_ms through API to frontend
- Live timer for in-progress steps, duration_ms final value for completed
2026-01-06 03:30:45 +01:00
Wabifocus
72439d5966 Add timestamps and per-step execution time 2026-01-06 03:30:45 +01:00
frdel
ed0964a857 sensitive settings store/load, short guids in scheduler and vdb 2026-01-02 11:28:11 +01:00
linuztx
8db000e0af chore: replace print with PrintStyle 2026-01-02 09:49:37 +08:00
linuztx
5c9c21c2c7 feat: Microsoft Dev Tunnels 2026-01-01 19:26:46 +08:00
keyboardstaff
99a2a94813 refactor: clean up banner extensions
Use call_extensions() helper

Let extensions append banners directly

Rename HUGGINGFACE_LOCAL_FOR_EMBEDDING to LOCAL_EMBEDDING
2025-12-31 01:19:33 -08:00
Rafael Uzarowski
cc7af97ed3
Fix prompt fence stripping policy
- Restrict code fence stripping to fences at start-of-line (prevents inline "~~~markdown" from being treated as a fence and merging lines)
- Only strip fences for full JSON templates in Agent.read_prompt() and files.parse_file()
- Preserve fenced examples in markdown/tool prompts while keeping json-only prompts parseable
- Add regression tests for fence stripping and prompt fence policy
2025-12-28 22:33:34 +01:00
keyboardstaff
52430f6421 Info and Warning Banners for Welcome Screen 2025-12-27 00:24:24 -08:00
3clyp50
78e6f74a21 refactor settings frontend for new data structure
Updated the settings UI to work with the new backend format that separates settings values from additional metadata.

- Settings components now read from the new structure (settings + additional)
- Removed legacy field-based rendering in favor of direct value binding
- Root passwd masking
- Added knowledge subdirectory selector support
- Enhanced backend `convert_out()`: now ensures current values are always present in dropdown options, preventing UI glitches
- Cleaned up old conversion functions marked for removal
2025-12-26 04:59:10 +01:00
frdel
ef82fc8bb9 setting refactor - backend conversions 2025-12-22 13:47:50 +01:00
frdel
ef68a16eee Merge branch 'pr/846' into development 2025-12-19 16:17:10 +01:00
dipi.evil
265e31e4bb fix: improve error handling for project activation in existing context 2025-12-19 11:34:14 -03:00
dipi.evil
07daf31b39 fix: check if project exists when activating 2025-12-19 11:18:10 -03:00
dipi.evil
a96387d547 fix: validate existing agent for context 2025-12-19 11:17:29 -03:00
dipi.evil
8639ef19e6 chore: comments fixes 2025-12-19 10:54:39 -03:00
dipi.evil
5a63cf7bfb feat: add support for agent and project on API 2025-12-19 10:28:32 -03:00
frdel
dd018d66a4 pipx, subagent paths, alpine directives, CSRF allowed origins autoset 2025-12-19 11:30:08 +01:00
frdel
a390adaa3c Merge branch 'pr/840' into development 2025-12-15 14:44:46 +01:00
frdel
9c905cdbbd cleanup prints in A2A/MCP 2025-12-15 14:44:32 +01:00
deci
31daa48a2a #84 - adjusted A2A project passing via message.metadata 2025-12-12 12:22:41 -06:00
deci
2c87e17f18 #84 - APA passing the project via
message_id-based dictionary instead of FIFO queue
2025-12-12 11:19:58 -06:00
deci
3abcf19651 #84 - Fix MCP/A2A project activation 2025-12-11 10:07:55 -06:00
frdel
99e8c76f5f support uppercase A0_SET_* in .env 2025-12-11 12:50:50 +01:00
deci
d1be7f2531 #84 - Projects support in MCP, A2A, API 2025-12-10 16:05:53 -06:00
Jan Tomášek
0508eeb616
Update settings.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 10:30:03 +01:00
Jan Tomášek
860948cf98
Update settings.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 10:29:33 +01:00
Jan Tomášek
e52b0ecf43
Update settings.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 10:28:00 +01:00
Jan Tomášek
01096c1813
Update settings.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 10:27:44 +01:00
deci
2400dd5882 #81 - .env vars applied to settings 2025-12-09 16:47:16 -06:00
Jan Tomášek
4121c04b54
Merge pull request #824 from pUrGe12/patch-csrf 2025-11-26 21:50:19 +01:00
pUrGe12
00168a41e7 moving from double quotes to single quotes because that is breaking the fstring 2025-11-26 16:14:04 +05:30
frdel
3382ac402f Merge branch 'pr/813' into development 2025-11-26 09:07:49 +01:00
frdel
11d1cb0e64 subagents preparation 2025-11-26 09:07:30 +01:00
frdel
94cfa49d87 fix file name download issue 2025-11-20 13:25:30 +01:00
Rafael Uzarowski
51c8451696
Scheduler: use convenience methods for logging of special messages 2025-11-19 13:00:14 +01:00
Rafael Uzarowski
784fe5589a
Fix: proper task cancellation in scheduler, leakage in defer.py
*   **Mechanism**: `EventLoopThread.terminate()` now correctly stops the asyncio loop and joins the thread, removing it from the global registry.
*   **Cleanup**: `DeferredTask.kill(terminate_thread=True)` now invokes `_drain_event_loop_tasks()`, which runs **inside** the target thread to explicitly cancel and await all pending tasks (including monologue loops) before killing the thread. This prevents "Task was destroyed but it is pending" warnings and ensures clean exits.

*   **Tracking**: The scheduler now maintains a live registry (`_running_deferred_tasks`) of active `DeferredTask` objects, protected by a reentrant lock.
*   **State Management**: The `run_task` wrapper uses `asyncio.shield` to ensure that even when a task is cancelled (e.g., by user action), the task state is reliably reset to `IDLE` in the database, preventing tasks from getting stuck in `RUNNING` state.

The fix is correctly propagated to all relevant destruction points using `terminate_thread=True`:
*   **Dedicated Context**: `scheduler_task_delete.py` cancels the specific running task and terminates its thread.
*   **Shared/Dedicated Context**: Both `chat_remove.py` (Delete Chat) and `chat_reset.py` (Reset Chat) now call `scheduler.cancel_tasks_by_context(...)`. This ensures that if a scheduler task is running in a chat window (monologue), resetting that chat immediately kills the background thread and stops the agent loop.
2025-11-19 12:50:43 +01:00
frdel
1443d99713 Update wait.py 2025-11-18 10:51:23 +01:00