Commit Graph
605 Commits
Author SHA1 Message Date
Alessandro Frau 2b0b3a416d Add host workspace tree settings with container inheritance
Add Host workspace controls to Agent Settings > Workdir. Inherit the current
container workdir's four tree limits by default, or persist independent remote
limits when inheritance is disabled. Validate non-negative whole numbers and
preserve zero as unlimited without changing host access permissions.

Include effective remote_tree_config in connector hello and tree
acknowledgements so updated CLI and Launcher gateway sessions refresh their
maps without reconnecting. Older connectors remain compatible.

Document the settings and protocol behavior and add inheritance and validation
coverage. Verification: 109 focused Core tests passed; desktop/mobile UI,
Save/Cancel, persistence, and live gateway refresh checks passed. The full Core
suite was not run.
2026-11-17 15:28:13 +01:00
Alessandro Frau be1e3afca2 Guide new users to model setup in the welcome composer
Show "Ask anything to set up your models, or click Settings" when Welcome reports missing API credentials. Reuse the existing banner state so the hint updates after setup without adding a readiness request.

Preserve the usual welcome, chat and queue placeholders. Add regression coverage for missing credentials and the return to the normal placeholder, and document the behavior.

Validation: 20 focused tests passed. Visual verification was blocked by browser-tool errors; the full suite was not run.
2026-11-16 19:37:55 +01:00
Alessandro dc64354cc9 ui: surface unusable response limit in agent settings
Place the response limit directly below the default agent profile. Keep knowledge subdirectory and project inheritance in Advanced Settings.
2026-11-04 15:26:11 +01:00
Alessandro fcf4a2c599 Fix welcome panel control visibility and ordering
Apply Quick Actions hover and focus visibility to all header controls,
including resize, while preserving touch access and open move menus.
Place the Quick Actions and System Resources drag handles immediately
before their dismiss buttons and document the shared ordering rule.

Validation: 11 welcome Node tests and 6 composer pytest tests passed.
Verified desktop hover, keyboard focus and tab order, width toggles,
move-menu behavior, and mobile touch visibility against localhost:32081.
2026-11-01 13:08:34 +01:00
Alessandro 40325c84d1 Hide copy actions on routine confirmation toasts
Hide Copy on success, info, and progress toasts, including plugin
installation and saved-preset confirmations. Apply the rule in shared
toast styling so all callers use the same behavior. Warning and error
toasts retain Copy unless their content includes an action button.

Extend desktop and mobile DOM coverage for frontend and backend status
toasts, changing notification types, diagnostic copying, embedded
actions, and dismissal. Update the notification component contract.

Validation: 30 focused tests passed. Visually checked temporary toasts
and dismissal in the live WebUI at desktop and 320px mobile widths;
git diff --check passed.
2026-11-01 06:59:07 +01:00
Alessandro a48dee035c Raise self-update health timeout to 600 seconds
Give updated and restored WebUI runtimes ten minutes to become healthy,
preserving A0_SELF_UPDATE_HEALTH_TIMEOUT_SECONDS overrides. Backup and
checkout still precede the health-check window.

Expose the configured timeout in update information and use 600 seconds
as the browser fallback, retaining its 30-second buffer. Upgrade older
durable managers through the existing migration with backup protection.

Validation: 55 focused tests passed in the Docker framework runtime.
Three frontend simulations passed for recovery after six minutes, a
900-second override, and expiry at the default 630-second browser limit.
2026-11-01 04:11:27 +01:00
Alessandro 628f790439 Keep the welcome greeting and wave on one line
Prevent the wave from wrapping below the greeting on narrow screens.
Size the heading to the space available beside the move and hide controls,
preserving the normal desktop font size when it fits. Document the layout
contract in the welcome component instructions.

Validation: six focused tests passed. Verified the live WebUI at mobile
and desktop widths with 12px, 16px, and 24px root text settings, including
the normal cached startup path after refreshing the UI asset cache.
2026-11-01 01:45:25 +01:00
Alessandro 2eabd28355 Refine Quick Actions and add a compact half-width layout
Remove card descriptions and rename Tasks to Scheduled Tasks and Visit
Website to Visit Agent Zero Website.

Add a persisted half/full-width control. Narrow panels use square tiles
with labels below the icons, and desktop half-width remains available
without a neighboring half-width block. Update the owning documentation
and tests for independent width preferences.

Validation: 66 focused checks passed. Verified the live WebUI across
320-1920px viewports, both themes, reload persistence, keyboard controls,
unpaired half-width layout, and the Memory and Scheduled Tasks modals.
2026-11-01 01:38:12 +01:00
Alessandro e3393dd08c Fix canvas rail dragging when pointer capture fails
Track the active pointer at window capture phase so dragging and release still work outside the rail grip when element capture is unavailable. Stop stale gestures when the button is released, on cancellation or lost capture, and on blur or unmount; clean up listeners before another drag starts.

Add three focused regression tests covering capture failure, outside release, pointer isolation, and cleanup. Document the drag lifecycle and verify the failure path in the live WebUI.
2026-11-01 01:20:08 +01:00
Alessandro 6d395ddeba Add channel plugin discovery to the welcome screen
Add a puzzle-icon "Find channels plugins" text button below the channel
buttons, reusing the welcome footer styling. Open Plugin Hub Browse with
the channels tag selected and any previous search cleared. Keep the
Channels filter visible even when no plugins have the tag.

Update the owning docs and regression coverage. Verified with 21 focused
tests and live browser checks for navigation, search reset, mobile layout,
and keyboard focus.
2026-11-01 00:19:17 +01:00
Alessandro 397bcaa39a Share Files across independent chat and welcome views
Give each chat its own folder, history, selection and pending operations by default, with a setting to share one browsing session. Preserve the existing fileBrowser API and expose an embedded owner so welcome panels reuse the real address bar, tree, file actions and shared configuration.

Keep picker and rename prompts attached to their originating view across chat switches. Scope mount cleanup and uploads to their owners, and adapt narrow panes to retain readable paths and file names. Component and extension loaders remain unchanged.

Validated with 36 targeted pytest tests, 10 Node view tests, and live Docker UI checks covering chat switching, file actions, shared settings, narrow layouts and modal/canvas handoff.
2026-11-01 00:07:46 +01:00
Alessandro 0bca47f937 Honor System Resources half width without a neighboring card
The resize button saved the half-width preference, but the welcome grid only
allowed paired cards to occupy one column. An unpaired System Resources
panel therefore stayed full width after shrinking.

Let its explicit half-width selection occupy one desktop column independently
of pairing. Keep the existing full-width mobile layout, update the layout
contract, and cover both CSS rules in the welcome regression test.

Validated with 15 focused Node/Python tests and live browser checks for the
resize button, a standalone panel, reload persistence, reordering, and mobile.
2026-10-31 23:00:12 +01:00
Alessandro 7c7e1bd219 Fix welcome card ordering, sizing, and drag controls
Keep the move menu open when focus passes between its buttons so Move down
works with both mouse and keyboard.

Add a saved half/full-width toggle for System Resources and adapt its meters
and footer to the panel width. Stretch the accounts and channels cards to
match their row height, together or beside taller panels.

Keep card drag handles visible while preserving hover and keyboard-focus
visibility for the greeting/composer and Quick Actions controls.

Add width persistence coverage and update the owning UI contracts. Verified
with focused Node/Python tests and live browser checks for ordering, saved
layout, sizing, drag controls, desktop/mobile layouts, and both themes.
2026-10-31 22:54:41 +01:00
Alessandro 4897ccd787 Refine Plugin Hub links and welcome footer styling
Label the welcome puzzle shortcut "Find welcome screen plugins" and give
both footer controls the same muted text and icon styling. Replace hover
backgrounds with a smooth 180 ms brightness transition, retain a visible
keyboard focus outline, and respect reduced motion. Let the controls wrap
on narrow screens.

Expand the onboarding shortcut to "Didn't find your provider? Click to
look in the Plugin Hub" across Cloud, Account, and Local.

Validation: 12 Node tests, 6 welcome UI tests, and 7 onboarding tests passed.
Verified the live hover transition and Welcome-filtered Plugin Hub.
2026-10-31 21:18:17 +01:00
Alessandro e092b3aae6 Make provider plugins discoverable during onboarding
Add neutral puzzle-icon links to the first-message setup prompt and all
three onboarding provider tabs. Open Plugin Hub with the exact provider
tag filter, clear previous searches, and keep Provider visible in the
filter list even when no plugins match.

Replace the Account and Local notes with the shared shortcut. Close the
wizard before opening the Hub and preserve the pending chat message.

Validation: 24 focused pytest tests and 4 Plugin Hub tests passed.
Verified all three tabs, keyboard activation, and the 14 tagged results
in the live UI.
2026-10-31 21:05:39 +01:00
Alessandro 3d7c2d8593 Keep welcome discovery cards compact beside taller panels
Keep account and channel cards at their natural height when paired with a taller welcome plugin. Adapt account content to the card width and wrap channel buttons without stretching account badges.

Use the neutral text palette for the shared Files and Editor tree clear icon. Update the owning layout contracts.

Validation: 8 welcome Node checks and 8 focused Python tests passed. Live checks covered half/full width, narrow desktop and 390px mobile layouts, both themes, and file-tree filtering.
2026-10-30 14:21:32 +01:00
Alessandro 798318cbf2 Make welcome customizations discoverable in the Plugin Hub
Add a persistent puzzle-piece button beside Show all dismissed that opens
Plugin Hub Browse with Welcome selected and any previous search cleared.
Preserve this requested filter through the Browse initialization reset.

Match and count all plugin tags rather than only the first tag, and keep
the Welcome filter visible even before matching plugins are indexed. Clip
the welcome background without creating a nested scroll container so block
focus and touch reordering scroll the page correctly.

Validation: focused Hub and restoration tests passed, along with six
welcome composer checks. Live verification covered the Welcome filter,
responsive plugin panels, touch reordering, dismissal/restoration, and
clean console output. Shared component and extension loaders are unchanged.
2026-10-30 13:54:04 +01:00
Alessandro 0ef5d92c71 Make welcome blocks reorderable and extensible
Allow welcome blocks to be reordered with mouse and touch drag handles,
keyboard controls, and a move menu. Persist the order in the browser,
commit DOM order on drop, and provide accessible announcements, reduced
motion, cancellation, and per-mount cleanup.

Discover blocks from their HTML metadata so plugins can join dynamically
without a central ID list. Preserve positions while plugins are absent,
validate unique IDs, and pair adjacent half-width blocks responsively.
Keep discovery cards in their Alpine scope and leave the shared component
and extension loaders unchanged.

Place the single Show all dismissed control below every welcome block and
extension contribution, retaining left alignment and unified restoration.
Document the plugin contract and cover ordering and restoration behavior.

Validation: 80 focused Node and pytest checks passed during implementation.
Verified mouse, emulated touch, keyboard, persistence, dynamic plugin
registration, and restoration in the live WebUI at localhost:32081.
Verified the final restore-button placement and reran both restore tests.
2026-10-30 12:48:29 +01:00
Alessandro 04a061442a Make welcome sections dismissible with unified restoration
Allow the greeting/composer and Quick Actions to be hidden independently, with browser-local persistence and hover, keyboard, and touch-accessible close controls. Preserve the composer draft while hidden.

Match System Resources controls to discovery cards, retain readable light-theme colors, and replace the two restore paths with one flush-left Show all dismissed action for sections, notices, accounts, and channels.

Validation: eight focused tests passed. Verified desktop, touch, keyboard focus, both themes, draft preservation, partial/all-dismissed states, reload persistence, and restoration in the live WebUI at localhost:32081.
2026-10-30 10:24:15 +01:00
Alessandro e5237d6c8b Hide Copy on notifications with action buttons
Hide the Copy row whenever a toast's rendered content contains a button,
while keeping Copy on text-only messages as their content changes.

Cover reload, update, OAuth reconnect, and agent-test notices in desktop
and mobile browser regressions, and document the shared rendering rule.

Validation: seven focused notification and download tests passed, plus a
live WebUI check of all four action notices and a text-only error.
2026-10-30 00:56:18 +01:00
Alessandro c9d61ed3f3 Expose notification arrivals and modal header actions to plugins
Dispatch notification_received with a shallow notification copy and its
frontend/backend source when notifications enter the store. Keep rendering
synchronous and let the existing extension dispatcher isolate plugin errors.
Add a notification-header-actions-start slot before Clear All, including
when the notification list is empty.

These hooks let community plugins retain transient errors and expose their
history without patching notification methods or replacing the modal.
Document both contracts and cover event payload isolation and slot discovery.

Validation: 56 focused tests passed, including notification copy, extension
surfaces, and toast regressions. Verified a local Notification Logs plugin
in the live WebUI at localhost:32081.
2026-10-29 21:52:06 +01:00
Alessandro 0ca2d48970 Add copy action below notification toast content
Add a labeled Copy action below the scrollable toast body so users can
capture the full title and message without opening or dismissing the toast.
Reuse the shared clipboard helper and button feedback, keep Dismiss at the
top right, and pause automatic dismissal during hover or keyboard focus.

Cover desktop and mobile layouts, full-text copying, multiple toasts,
keyboard interaction, clipboard failures, and fallback copying. Update the
notification component contracts to describe the layout and behavior.

Validation: 12 focused tests passed across test_notification_copy.py,
test_download_toast_regressions.py, and test_message_action_buttons_static.py.
Verified the layout, scrolling, and real clipboard copying in the live
WebUI at localhost:32081. The full test suite was not run.
2026-10-29 20:56:27 +01:00
Alessandro dc34830447 fix: preserve compatibility across tool plugin refactor
Initialize the scheduler store before snapshots. Preserve legacy memory calls and per-action permissions while advertising the unified tool, and retain saved policy IDs for moved tools. Restore legacy log rendering and connector tool events, and reject malformed boolean arguments by default.
2026-10-27 17:33:33 +01:00
linkliti 4603ac4baf refactor(plugins): serve the tasks and memory surfaces through plugin extension points
Serve the tasks dropdown entry and the tasks and memory welcome cards through plugin extension points, and drop the corresponding core markup including the header tasks entry and the hardcoded memory card. Keep the shared flatpickr preload in the core page head and drop the memory entry tooltip. Repoint the chat naming and sidebar folders stores at the plugin task store and update the sidebar DOX wording.

Validation: pytest tests/test_scheduler_editor.py tests/test_webui_extension_surfaces.py tests/test_sidebar_row_actions.py
2026-10-21 23:37:31 +03:00
linkliti 6f079d8817 feat(plugins): move the tasks interface and scheduler task endpoints into the scheduler plugin
Move the scheduler CRUD endpoints, modals, styles, sidebar tasks list, and task row into the _scheduler plugin and drop the core tasks components. The sidebar hosts plugin sections through a neutral sidebar-extensions point inside the extensions-section container instead of a tasks-specific one, so other plugins can contribute sections there too. The scheduler and datepicker styles load through the plugin page-head extension instead of core index.html preloads, and the shared flatpickr preload stays in core. Repoint the header scheduler entry at the plugin modal path and update the api and plugins DOX indexes. Pin indicators follow the relocated task row and the pin test reads it from the plugin. The chats store and core chat behavior adopt the plugin task store idiom, and the ws client surface test expects the plugin store accessor. The modals and css DOX drop their core scheduler ownership and the scheduler plugin DOX indexes its sidebar and page-head extensions. The plugin manifest becomes always enabled with a broader description so the Tasks UI stays core behavior, and the scheduler editor test follows the moved endpoint and store paths.

Validation: pytest plugins/_pin_to_top/tests/test_pins.py tests/test_sidebar_row_actions.py tests/test_webui_extension_surfaces.py tests/test_ws_client_api_surface.py tests/test_webui_startup_assets.py::test_only_the_icon_guard_stylesheet_blocks_application_paint tests/test_chat_working_animation.py tests/test_scheduler_editor.py
2026-10-21 23:37:31 +03:00
linkliti c9363cb83e feat(plugins): extract wait tool into _wait plugin
Move the wait tool, helper, prompts, and DOX into a _wait plugin so bundled pause support ships as a standard plugin. The plugin registers its own process-step handler and badge styles, the wait loop anchors to whole-second ticks so overhead cannot shift the countdown phase, and the countdown reports whole seconds. Leftovers of the move are cleaned up, and regression tests cover the arguments and execution paths.

Validation: pytest tests/test_tool_action_contracts.py tests/test_wait_tool.py
2026-10-21 19:04:33 +03:00
Alessandro b03ecc0846 Serialize Welcome chat creation and first send
Latch composer sends before creating the first chat so rapid Enter presses or Send clicks cannot create multiple contexts or dispatch the same prompt repeatedly. Keep the latch through dispatch, suppress repeated primary-button actions, and release it after success or failure.

Validation: 11 focused composer and model-gate tests passed. Live Docker WebUI stress checks produced one chat and one dispatch for six Welcome Enter presses and six Send clicks; eight Enter presses in an existing chat produced one dispatch.
2026-10-13 23:31:05 +02:00
Alessandro 86fcaedf7c Preserve pending setup prompts and message action order
Keep pending model setup prompts and session recovery until dispatch or queue
insertion is accepted. Defer retries during another send, resolve readiness
and preset editing for the pending chat, and preserve new composer drafts.
Prevent retries from entering another selected chat's queue.

Preserve Detail, Copy, Speak order when actions are inserted or replaced,
without remounting unchanged controls. Add behavioral and browser regressions,
including preset-switch draft persistence, and update the WebUI contracts.

Validation: 84 focused tests passed; git diff --check passed.
2026-10-13 21:52:11 +02:00
linkliti c9c41c6477 fix(webui): keep gate dispatch from double-reading cleared pending
Two concurrent dispatch attempts could both pass the dispatching guard during the canSendToModel network gap; the first cleared pending while the second then read the null store value and surfaced "Cannot read properties of null (reading message)" through the advanced-configuration error toast. Capture pending and raise the latch before the await, and re-verify pending identity after it so stale attempts bail out.

Validation: pytest tests/test_model_gate_dispatch_race.py tests/test_webui_send_pause_responsiveness_static.py tests/test_webui_message_queue_static.py (8 passed), node --check webui/components/chat/model-gate-store.js
2026-10-13 18:06:47 +03:00
linkliti 94dd95ca36 refactor(model-config): gate model setup on backend rejection
Every send paid a blocking model_config_get round-trip before dispatching, because the frontend had to know whether a chat model is configured to decide between sending and rendering the setup card. Move the check behind the dispatch: a user_message_ui extension in _model_config flags unconfigured chats, the message handlers reject before logging or dispatching and return a model_not_configured payload, and the client opens the setup gate from that response. Isolated sends no longer make any configuration round-trip, the optimistic user row and draft handling stay intact through the gate flow, and the post-setup retry drops its bypass flag since the backend re-checks on dispatch.

Validation: pytest tests/test_model_gate_backend_reject.py tests/test_welcome_composer_static.py tests/test_webui_chat_deletion.py tests/test_webui_send_pause_responsiveness_static.py tests/test_message_action_buttons_static.py tests/test_markdown_tilde_rendering.py tests/test_webui_message_queue_static.py (23 passed); node --check webui/index.js webui/components/chat/model-gate-store.js
2026-10-13 18:06:47 +03:00
linkliti e9c5f3c27d fix(webui): block duplicate sends while a send is in flight
Rapid clicking the send button or hammering Enter dispatched several /message_async calls for one intent because the extension hook and model-gate check are awaited before the busy-state branch, and backend running state only flips after the POST response. An in-flight guard makes repeat sendMessage invocations no-ops until the first completes, closing the double-send window without touching queue dispatch or the model-gate retry path.

Validation: pytest tests/test_webui_send_pause_responsiveness_static.py (3 passed); node --check webui/index.js
2026-10-13 18:06:47 +03:00
linkliti ee970b5f0d refactor(webui): replace hardcoded accent blues with the highlight token
Positive accent controls hardcoded six blue literals across the WebUI and bundled plugins, so custom accent-color switchers had to patch each surface separately. Route them through var(--color-highlight) — mapped in the light block for the first time — and keep each surface mix percentages, deriving hover and active steps with the established black color-mix pattern; the redundant light-mode unread override collapses into the single var-based rule. Login keeps its literals because the login page loads no theme tokens, and status colors like queue orange, stop red, and success or error toasts stay hardcoded as semantic tones.

Validation: pytest welcome/whats-new/agent-editor/model-config/speech/sidebar/self-update suites (82 passed; 2 stop-agent failures pre-exist at HEAD, proven by stash run); rg confirms no accent literals outside login.css.
2026-10-13 18:06:47 +03:00
linkliti 05a1986c89 fix(webui): match the show-less fade with the row fade
The show-less control reveals through its own opacity fade while sibling buttons ride the row fade, and the faster expand-btn timing made it vanish ahead of the other buttons on mouse-out. Give the reserved-space show-less rule the row 0.2s ease-in-out timing so reveal and hide land together with the rest of the row.

Validation: pytest tests/test_message_action_buttons_static.py (5 passed) on the framework runtime.
2026-10-13 18:06:47 +03:00
linkliti 0ed76d2dc1 fix(webui): unify translucent glass style across header and canvas surfaces
The sidebar header panel, notification toggle, project selector, and right canvas rail each used their own background, border radius, and hover treatment, so the floating surfaces looked inconsistent and the project selector sat taller than the notification bell. Introduce the shared --color-surface-translucent token derived from the chat background, apply it to all four surfaces with a common border and 8px radius, pin the selector to the bell 36px height, and unify the bell hover with the primary-tinted hover used elsewhere.

Validation: pytest tests/test_ui_control_visibility.py tests/test_office_canvas_setup.py tests/test_browser_agent_regressions.py; visual check on live instance
2026-10-13 18:06:47 +03:00
linkliti 8ea97a55a2 fix(webui): keep show-less control from shifting the action row on hover
Hovering a long expanded agent response materialized the hidden Show less button through a display toggle, growing the action row and nudging the page content below it. Reserve the control space on pointer devices and reveal it through the existing opacity transition instead, so the row height stays constant while hover, touch visibility, and collapse behavior stay unchanged.

Validation: pytest tests/test_message_action_buttons_static.py; browser fixture measured constant action-row height across hover reveal
2026-10-13 18:06:47 +03:00
linkliti e6000ea814 fix(webui): keep action buttons mounted during streamed updates
Streamed updates re-inserted already-mounted action buttons, which detaches and remounts them and kills hover and clicks mid-stream. Position buttons by index and never re-insert a mounted button; the anchor fallback only applies to new or detached nodes, and handler transfer keeps copy, speak, and detail actions tied to the current visible text.

Validation: action buttons static suite passes; node --check on simple-action-buttons.js.
2026-10-13 18:06:47 +03:00
linkliti 334e9e0ade fix(webui): make composer pause optimistic against poll snapshots
Composer pause lagged behind poll snapshots: a snapshot write to the pause flag raced the click in flight, so the button flipped back mid-request. A click in flight now suppresses snapshot writes to the pause flag until its request settles, and a failed request restores the prior state only when no newer click is pending.

Validation: send/pause responsiveness static suite passes; node --check on input-store.js and index.js.
2026-10-13 18:06:47 +03:00
linkliti 9964849b19 fix(webui): render pending queue thumbnails and drop failed adds
Pending queue items rendered image thumbnails from server paths before the upload confirmed, showing broken images, and a failed queue add left the pending entry stuck in the queue. Render pending thumbnails from local blob URLs until the upload confirms and drop the pending entry when the add fails.

Validation: queue static suite passes; node --check on message-queue-store.js.
2026-10-13 18:06:47 +03:00
Alessandro 815b717784 fix(sidebar): reveal children of selected subagents
When a selected subagent delegated again, snapshot hydration expanded its
ancestors but left its own children hidden. Apply the existing automatic
expansion at every depth while preserving manual collapse and stable row
identities.

Add regression coverage for arriving children, repeated snapshots, and manual
collapse at multiple depths, and update the sidebar contract.

Verification: 119 focused tests passed. Live WebUI checks from a fresh Opus QA
chat covered direct, nested, and parallel delegation, running indicators,
manual collapse, and reopening a selected subagent.
2026-10-13 16:21:41 +02:00
Alessandro cb93ed055b Fix disappearing chats when Sidebar Folders is disabled
Another plugin could import the disabled folders store, registering a
replacement list view even though the folders UI was absent. This hid
the standard chat and task lists while their data remained intact.

Register view and sorting callbacks when each list extension mounts and
remove them on unmount, preserving other plugins' callbacks. Reuse the
existing component lifecycle hooks without adding work per chat or snapshot.

Add regression coverage for indirect imports, filter cleanup, remounting,
and preservation of other plugins' sorting. Document the lifecycle contract.

Validation: frontend checks and 13 focused pytest tests passed. Live WebUI
checks covered disable/re-enable, folder/flat switching, nested selection,
and component unmount cleanup at localhost:32081.
2026-10-08 00:37:29 +02:00
Alessandro 52744fe7b1 Fix sidebar folder lag during activity and focus updates
Replace repeated full-context family scans with a fresh parent-child index shared within each grouping and filter pass.

Retain unchanged configuration, ordering, project lists and rendered sections to avoid unnecessary sidebar reconciliation. Preserve reactive row metadata, nested family pins, sorting, filters and collapse behavior without a persistent cache.

Add frontend regressions and document the state-identity contracts. Verified the frontend suite, 33 focused Python tests and 17 live browser checks. In a local 274-chat sample, median activity updates fell from about 67 ms to 15 ms; unchanged focus refreshes produced zero sidebar DOM mutations.
2026-10-06 21:31:33 +02:00
Alessandro 0efb0d4f8f Improve scheduler prompt editing and support optional YAML
Give task prompts full-width, resizable fields and an expanded view in
the shared modal stack. Preserve drafts on failed saves and keep actions
in the pinned footer.

Honor the selected initial task state and inherit only the active chat's
project. Support existing tasks.yaml files through the existing helpers,
with JSON remaining the default and taking precedence. Do not migrate
existing task files or change scheduler execution logic.

Validation:
- 28 focused scheduler, timezone, and tool-contract checks passed.
- 8 checks passed in the Docker framework runtime.
- Live desktop/mobile creation, editing, deletion, and storage checks.
2026-09-24 00:59:39 +02:00
Alessandro 3397c4f87c Reduce sidebar agent indentation and remove row tooltips
Reduce indentation from 30px to 25px at the first two child levels, preserving the deeper-level taper.

Remove new-chat and overflow tooltips from sidebar rows while retaining accessible labels and both Chats header tooltips. Update sidebar contracts to match.

Validation: 7 focused pytest checks passed, sidebar folder frontend checks passed, and live browser checks confirmed row labels and header tooltips.
2026-09-23 18:44:19 +02:00
Alessandro 10e7d7c765 Fix mobile settings Save and simplify section navigation
Coerce the Save disabled binding to a boolean so an unloaded optional File Browser store cannot silently disable the button.

Replace the mobile settings tree with a native section picker, use dynamic viewport height, and enlarge footer touch targets. Preserve desktop search and navigation, and document the settings contracts.

Add an Alpine and Playwright regression covering touch Save/Cancel, optional-store loading states, section navigation, desktop search, and footer visibility. Verified the regression fails with the original Save binding and passes with the fix; live Save also succeeded on localhost:32081. Physical iPhone testing remains outstanding.
2026-09-23 15:56:37 +02:00
Alessandro 894b3f6eb8 fix(sidebar): render workers beyond the first child level
The shared chat tree rendered only direct children, leaving A2 and deeper workers hidden. Reuse the row component recursively for expanded children and open every ancestor when selecting or restoring a descendant. Taper deep indentation to preserve space for titles and actions on narrow sidebars.

Update selection and row-action regressions. Verified A0-A4 expansion, selection, menus, pin placement, and aligned actions in both folder and flat views.
2026-09-23 14:53:43 +02:00
Alessandro 35376ac053 Suppress tooltips on devices without hover support
Cancel Bootstrap tooltip opening when the device reports hover: none,
preventing touch-generated hover events from leaving tooltips over tapped
controls. Keep title normalization, desktop hover, and keyboard activation
intact, and remove the event listener during store cleanup.

Add a browser regression covering touch taps, programmatic tooltip opening,
mouse hover, and keyboard activation. The regression and a live mobile
settings open/close check pass without lingering tooltips.
2026-09-23 14:07:49 +02:00
Alessandro 71b6e3e43b Prevent mobile text inflation in terminal output
Set prefixed and standard text-size-adjust to 100% on EXE terminal output
so wide, unwrapped content retains its intended font size when expanded
or updated. Preserve horizontal scrolling and normal browser zoom.

All 33 process-renderer tests pass. Chromium mobile checks retain 11.2px
text under forced inflation, repeated expansion, and streamed updates
at portrait, landscape, and desktop widths.
2026-09-23 14:07:42 +02:00
Alessandro 7533d35e4f Fix mobile composer and welcome sizing
Let the contenteditable composer grow within its CSS bounds instead of
retaining measured pixel heights. Keep welcome controls on one row, reduce
the mobile placeholder font while preserving 16px input text, and use flex
layout for welcome action buttons.

Extend the draft regression to cover natural editor sizing and document
the layout contracts. Seven focused tests pass; browser checks cover
320px through desktop widths, multiline input, code blocks, and the
full-screen editor round trip.
2026-09-23 14:07:35 +02:00
Alessandro Frau 87e449bb34 Merge pull request #1907 from GreifMax/fix_notification_refresh_preset_selection
fix: notification actions in notifications modal and preset editor selection
2026-09-23 08:27:53 +02:00
Alessandro 9ffa0fa8f5 Add reusable overflow menus for chat controls
Keep composer selectors on one row with x-overflow and open their existing
menus from the overflow list. Preserve plugin controls, live avatars and
percentage rings, Alpine state, and mouse, touch, and keyboard interaction.

Fit submenus within the available space and tolerate fractional-pixel
rounding at browser zoom levels. Add DOM and native Chromium zoom
regressions and document the shared directive's contracts.

Validation: 57 focused WebUI checks and 10 context-window checks passed.
Verified the live UI at 100%, 110%, 150%, and 175% browser zoom. Two existing
startup favicon assertions remain unrelated failures.
2026-09-23 06:24:49 +02:00