Commit Graph

24 Commits

Author SHA1 Message Date
Aleksander Grygier b9e08737e1 refactor: Improves abort signal handling 2026-02-13 13:58:58 +01:00
Aleksander Grygier 9b5d86ff0a refactor: Enums 2026-02-13 13:42:42 +01:00
Aleksander Grygier 616069c345 refactor: Simplify MCP errors 2026-02-13 13:42:08 +01:00
Aleksander Grygier 3c7357e82c refactor: Types 2026-02-13 13:42:07 +01:00
Aleksander Grygier 25a0d16c03 refactor: Cleanup 2026-02-13 13:39:47 +01:00
Aleksander Grygier 374523be3d refactor: Cleanup 2026-02-13 13:36:55 +01:00
Aleksander Grygier 2869241790 refactor: Enums 2026-02-13 13:36:55 +01:00
Pascal 670a922786 fix: resolve TypeScript error in tool response content 2026-02-13 13:35:58 +01:00
Pascal 60027a53db webui: enable vision in agentic tool responses
- Include images from all message roles (not just user)
- Add multipart content support for tool responses
- Images from MCP tools now accessible in same agentic turn
2026-02-13 13:35:58 +01:00
Aleksander Grygier 141540ccbb feat: MCP Prompts WIP 2026-02-13 13:33:05 +01:00
Aleksander Grygier aaeea933b7 feat: Architectural improvements 2026-02-13 13:30:16 +01:00
Aleksander Grygier da252e3425 feat: Per-conversation agentic loop state 2026-02-13 13:28:24 +01:00
Aleksander Grygier a8c2e66e92 feat: Improve MCP Server selection UI + lazy load health checks 2026-02-13 13:28:24 +01:00
Aleksander Grygier 690dd09b5f feat: Simplify MCP server enabling logic per chat
Refactors MCP server enabling logic to remove the dependency on global settings.

This simplifies the logic by directly checking the per-chat override status, and removes the need to pass the global enabled state as a parameter.

Additionally:
- Only shows MCP servers that are enabled in settings in the selector.
- Sorts the servers by whether they are enabled for the current chat.
2026-02-13 13:21:35 +01:00
Pascal a2cce59d69 fix: acurate tool_response display 2026-02-13 13:21:35 +01:00
Pascal 6d41f74031 refactor: eliminate MCP circular dependency
- Change architecture from mcpStore <-> mcpClient to mcpClient -> mcpStore
- Remove bidirectional callback pattern (set*Callback, notify* methods)
- Add updateState/updateHealthCheck public methods in mcpStore
- Replace callback calls with direct mcpStore method calls
- Remove unused imports (browser, HealthCheckState) and constructor
- Fixes CI: ReferenceError Cannot access mcpClient before initialization
2026-02-13 13:21:35 +01:00
Pascal fb1ec29898 refactor: remove reasoning after first turn filter 2026-02-13 13:21:34 +01:00
Pascal fc5d9f587f refactor: inline reasoning with tags, remove fixed thinking field 2026-02-13 13:21:34 +01:00
Pascal 09381a59fd feat: persist base64 attachments from tool results 2026-02-13 13:21:34 +01:00
Aleksander Grygier 2b37f70c37 refactor: MCP types and health check 2026-02-13 13:21:34 +01:00
Aleksander Grygier 48b2b1b2f0 refactor: MCP state management + stores/clients relationship 2026-02-13 13:21:34 +01:00
Aleksander Grygier 9471729162 fix: Restore live reactive UI progress for tool calls 2026-02-13 13:21:34 +01:00
Aleksander Grygier 5ffb6aba3a refactor: Cleanup 2026-02-13 13:21:34 +01:00
Aleksander Grygier 408e098324 refactor: Cleanup 2026-02-13 13:20:26 +01:00