6 Commits
Author SHA1 Message Date
Alessandro e824cf5d99 Fix chat loading for malformed code execution arguments
Reuse the existing command text conversion before building execution
titles so rejected non-string arguments no longer abort streamed
rendering or saved-chat replay. Preserve original log arguments and
normal command copying and output.

Add regressions for malformed arguments in both delivery paths and
document the renderer contract.

Validation: 71 focused tests passed; both previously affected DeepSeek
chats reopened and reloaded with zero browser console errors.
2026-11-10 17:57:51 +01:00
Alessandro c7c733ec04 Copy full execution commands while keeping compact previews
Restore matching command previews from the stored, masked command when
copying execution output or opening step details. Preserve command
whitespace and the output body while keeping the chat preview compact
and retaining existing log size limits.

Cover Bash, PowerShell, Python and Node.js prefixes, streamed updates,
masked placeholders and output without a matching command preview.

Validation: 48 focused WebUI tests passed, git diff --check passed, and
an actual browser clipboard check passed using frontend assets served
by the live instance at localhost:32081.
2026-11-01 07:16:55 +01:00
Alessandro ab88f87b6f Fix flashing process groups during memory search
Text Editor logs rendered as process steps but were missing from raw-log
classification, allowing a following hidden utility message to hide the
whole group. Let plugins register process-step types through the existing
extension system and use those types for grouping and paging.

Preserve the generic tool-step fallback by classifying types that select
that renderer before merging logs. Document the custom handler contract
in the bundled plugin authoring skill.

Validated with 46 targeted tests and live desktop/mobile rendering checks,
including disabled plugins, fallback types, paging, and chat-switch races.
2026-09-16 16:17:37 +02:00
linkliti d1907bcd41 Add text_editor custom message handler and CSS
Override get_log_object in TextEditor and TextEditorRemote to log type=text_editor so the WebUI get_message_handler extension routes to _10_text_editor_handler.js. Move EXE colors out of core process-group.css into the _code_execution plugin. Hides _tool_name from display and uses dynamic action+path headings (remote adds (remote) suffix). Behavioral tests instantiate the tools and assert log item attrs.
2026-09-03 15:08:59 +03:00
linuztx 2566ee134d refactor: split system prompt into per-concern extensions with extensibility hooks
- split monolithic _10_system_prompt.py into focused extensions: main (10), tools (11), mcp (12), skills (13), secrets (13), project (14)
- each extension exposes a build_prompt() function with call_extensions_async hook for plugin extensibility
- move tool prompt collection from VariablesPlugin to _11_tools_prompt using subagents.get_paths for proper directory coverage
- add {{include original}} directive to process_includes allowing prompt inheritance without copy-paste
- add agent.system.main.specifics.md for subagent-specific additions without overriding entire role
- remove redundant plugin prompt extensions (_15_text_editor, _20_code_execution) that duplicated tool collection
- add _09_text_editor_config to register per-file kwargs via agent.data instead of VariablesPlugin in prompts dir
2026-03-20 12:12:47 +08:00
frdel 6515626242 refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00