Commit Graph
1011 Commits
Author SHA1 Message Date
Jan Tomášek e3bd9133ca Warn v2 users before installing incompatible plugins 2026-11-18 13:41:38 +01:00
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 5c94f04dea Add scheduled-task catch-up card to What's New
Introduce a second showcase card with the supplied Scheduled Tasks screenshot
and concise guidance on catching up recurring tasks after downtime. Make the
title explicitly refer to scheduled tasks so it cannot be confused with chats.

Explain that missed runs become one catch-up run before the usual schedule
continues, disabled tasks stay off, and tasks interrupted while running still
need attention. Update the plugin contract and static coverage for the card's
position, copy, and screenshot.

Validation: 10 focused tests passed before the title clarification; all six
static tests passed afterward. Verified navigation to card 2 and captured it
in the live WebUI before the title clarification.
2026-11-17 15:07:08 +01:00
Alessandro Frau aa02115056 Add A0Cleaner to What's New for existing users
Introduce the A0Cleaner card with a screenshot, cleanup schedule and manual
review guidance, and the plugin entry point. Render bullet headings in bold
while keeping all card copy escaped through x-text.

Check model readiness before automatic display. New users mark the current
release as seen so completing onboarding or reloading does not show its
highlights; future releases remain eligible. Failed readiness checks skip
display without recording the release as seen.

Update the plugin contract and add regression coverage for first-run
suppression, configured users, future updates, and readiness failures.

Validation: 10 focused tests passed across tests/test_whats_new.mjs and
tests/test_whats_new_static.py. Live browser checks verified startup,
dismissal, and first-run suppression before the final copy revision.
2026-11-17 14:45:29 +01:00
Alessandro Frau 2ced8b38a6 Require authentication for OAuth model proxies
Replace loopback trust with an internal process credential supplied automatically to local account-model calls. Keep configured external proxy tokens and deny tokenless requests from every source address.

Finalize local proxy credentials after model defaults are merged so legacy stored keys, inline keys, additional parameters and auth headers work without changing saved settings or account connections. Limit replacement to this process's loopback WebUI port and provider proxy path, preserving explicit credentials for other endpoints.

Keep the internal credential in the stable framework runtime module so plugin reloads do not invalidate existing model clients. No saved credential or configuration migration is required.

Isolate proxy tests from saved accounts and plugin toggles. Cover all account providers, disconnected state, custom ports, external endpoint credentials, public hostnames, forwarded headers, OAuth callback accessibility and real SDK HTTP streaming. Document the intentional requirement for external clients that previously relied on tokenless loopback trust.

Validation: 643 focused framework tests passed with 3 expected failures for two pre-existing backup/A2A issues, plus 52 isolated host checks and the OAuth UI regression. A live Codex Responses call using the existing account after plugin reload returned OK; saved credentials and configuration remained byte-for-byte unchanged.
2026-11-16 19:11:08 +01:00
Alessandro Frau 56b2910f46 Stop A2A ambient token forwarding
Do not automatically attach the process-wide A2A_TOKEN to model-selected destinations. Keep explicitly supplied connection credentials and document the existing token-bearing Agent Zero connection URL for protected peers.

Add regressions proving that arbitrary destinations receive no ambient Authorization or X-API-KEY headers, explicit tokens still work, and token-bearing URLs are preserved for discovery and RPC. Exercise discovery, message send and conversation reuse through the server auth/router for token URLs, explicit headers and public peers.

Validation: 8 client/tool tests passed. One expected failure records pre-existing project URL handling of chunked request bodies; the server implementation is unchanged.
2026-11-16 19:11:08 +01:00
Alessandro 728d67a0cb Fix A0Cleaner toast dismissal when opening cleanup
Dismiss the notification toast and mark it as read when Clean up opens the A0Cleaner modal. Reuse the notification store's existing dismissal helper, add a regression assertion, and document the behavior.

Validation: 34 focused Python tests and 6 cleaner store tests passed. Verified on localhost:32081 that the modal opens, the toast disappears, and the notification is marked read without executing cleanup.
2026-11-16 16:11:32 +01:00
Alessandro 3d2b2eaa2a Remove A0Cleaner from the sidebar dropdown
Keep access through plugin settings and the cleanup notification, and update the owning documentation to match. Leave Linux /tmp and uploaded attachments outside built-in cleanup targets.
2026-11-14 20:41:23 +01:00
Alessandro 9048880222 Catch up recurring scheduler tasks after downtime
Persist the schedule anchor and run overdue idle tasks once on the next tick, coalescing missed occurrences instead of relying on a one-minute lookback. Preserve pending work across ordinary edits, reset timing when schedules or states change, and carry the anchor through JSON, YAML and public serializers.

Recheck eligibility when claiming a run and keep one worker per task to prevent stale selections and repeated ticks from launching duplicates. Calculate cron delays in the task timezone across daylight-saving changes. Document disabled, failed and interrupted-task behavior in the scheduler and its skill.

Validate with 195 focused regression tests. In the live Docker stop/start test, the enabled marker-only task ran exactly once 93 seconds after its missed slot; the disabled task remained untouched, two extra ticks caused no replay, and existing tasks were unchanged.
2026-11-13 12:07:03 +01:00
Alessandro c641619a77 Add A0Cleaner with automatic bulk cleanup and weekly maintenance
Clean aged download caches, installer leftovers, retired browser profiles, inactive-chat screenshots, temporary captures and unused Chromium versions by default. Preserve explicit master and per-area opt-outs; keep embedding caches and custom folders behind manual selection and confirmation.

Add bounded metadata scans, identity-checked deletion, active-resource protection, persistent activity, editable native scheduler integration and actionable A0 notifications. Provide a responsive branded UI and a 256px thumbnail based on the Agent Zero logo.

Validate with 65 focused backend tests, 6 frontend tests and live desktop/mobile checks on localhost:32081. The native task cleaned 88,833 files (4.4 GB) in about 22 seconds; protected chat text, uploads, shared browser data, required Chromium and embeddings were preserved.
2026-11-13 11:24:18 +01:00
Alessandro de70d23b04 Wait for task detail to close before opening its editor
Close the scheduler detail modal by its explicit path and await its asynchronous close hooks before opening the editor. This prevents the new editor from being removed from the modal stack and leaving an uncloseable overlay. Cover delayed closure in the editor regression test and verify the transition on the live instance.
2026-11-13 11:22:18 +01:00
Alessandro 60b564bc57 Run plugin maintenance through the A0 task scheduler
Add an optional plugin owner to saved tasks and execute its scheduled hook without creating an agent chat or calling a model. Keep schedule, state, cancellation and persisted results in the existing scheduler; disabled or missing handlers fail closed.

Hide inapplicable model inputs for plugin tasks and preserve legacy task behavior. Verified with 37 scheduler execution, recovery, serialization, timezone and editor tests.
2026-11-13 10:15:33 +01:00
Alessandro cafcfc9545 Release idle Browser resources without interrupting agents
The shared Chromium, Xvfb and Xpra runtime could remain alive indefinitely
after chats stopped using it. Suspend it after one hour of inactivity by
default, preserving saved tab URLs and the shared sign-in profile. Protect
running and paused owners, subordinate parent tasks, connected viewers,
browser calls and downloads; passive polling must not restart the runtime
or extend its lifetime.

Add Stop internal browser to Browser Settings, release the runtime on
global plugin disable, and clean stale display directories only when no
live owner or process reference remains. Document the global timeout,
opt-out and loss of unsaved page state on suspension.

Validation: 206 focused tests and 20 real-Chromium security tests passed.
Live Docker checks verified periodic and manual shutdown from 13 child
processes to zero, download protection, tab/cookie recovery, the WebUI
control and CSRF rejection. The reported GPU busy-loop was not reproduced;
this change bounds idle lifetime without changing graphics flags.

Refs #1892, #2029.
2026-11-12 20:59:02 +01:00
Alessandro 04e9cf29f0 Document Telegram setup, scopes, and upgrade recovery
Add a practical Telegram guide covering BotFather setup, private polling,
access and administrator lists, commands, attachments, project/profile
ownership, groups, webhooks, and preservation of existing configurations.
Explain distinct bot accounts per saved scope, inheritance, duplicate-token
recovery, and the limits of connection checks and default project routing.

Link the guide from the main README, documentation index, and plugin
reference. Add four optimized screenshots using neutral unsaved drafts,
with complete dialog frames and comfortable spacing. Record that screenshot
framing requirement in the documentation contracts.

Validation:
- Checked guide links, anchors, and assets alongside the website counterpart.
- Verified UI labels and screenshots against the live Docker instance.
- Confirmed Telegram configuration and activation files stayed unchanged.
- git diff --check passed.
2026-11-12 18:00:15 +01:00
Alessandro e4d1905fb3 Clarify default remote input access
Clarify that input_remote and remote terminal execution are already enabled
by default and require no Agent Editor grants. Update the tool prompt,
host execution skill, and policy documentation to distinguish this default
from custom profiles that restrict terminal access.

Add regressions covering prompt and native-schema visibility, policy
checks, and dispatch without explicit grants under inherited and custom
allow-by-default policies. Keep terminal dependency enforcement and host
execution and Read&Write gates unchanged.

Validation:
- 192 focused tests passed in both Conda a0 and Docker's framework runtime.
- Live runtime policy checks confirmed input, input_remote, and remote
  execution are allowed for the default and agent0 profiles.
- No new end-to-end CLI session was run.
2026-11-12 17:39:18 +01:00
Alessandro 9ae1939bd6 Restore secure Telegram scopes and preserve legacy configuration
Restore global, project, profile, and project/profile configuration with
one bot identity per saved scope. Preserve inherited configuration and
pause conflicting legacy bot identities without discarding their settings.

Revalidate scope, activation, and access rules for inbound messages,
commands, callbacks, session selection, and outbound delivery. Keep scoped
bots within their owning project/profile, omit credentials from persisted
chat metadata, and sanitize attachment filenames.

Automatically back up existing configuration, activation, and session
mappings before upgrade. Preserve their contents and stable global session
keys, while provisioning secure webhook secrets where legacy settings
require them. Document scope ownership, conflict recovery, and migration.

Validation:
- Docker framework suite: 216 passed, plus 73 subtests.
- Live Telegram status and message/reply round-trip confirmed.
- Missing and forged webhook credentials rejected with HTTP 403.
- Existing live configuration, activation, and session mappings unchanged.
2026-11-12 17:27:15 +01:00
Alessandro c84ff9521a Enable Time Travel snapshot expiry by default
Default active-history expiry to on in bundled settings, backend fallbacks
and the settings UI. New installations and legacy configurations without
the key now keep up to 500 recent snapshots within 30 days, plus current
state and boundary checkpoints. Preserve explicit opt-outs and the existing
cleanup schedule.

Update the settings copy and ownership contract to distinguish snapshot
expiry from optional whole-history deletion for inactive workspaces.

Validation: 59 focused backend tests and 5 frontend tests pass. Verify
that default cleanup expires old preserved timelines, explicit opt-outs
leave refs unchanged, and the settings initializer preserves false values.
The Docker framework runtime reports expiry enabled with the 500/30 limits.
2026-11-12 16:14:42 +01:00
Alessandro 5fc8826a41 Add opt-in Time Travel retention and capture controls
Add workspace-relative exclusions and an optional file-size limit, report
skipped files and history storage, and protect excluded files during restore.
Fail incomplete scans and stop queued automatic captures when disabled.

Keep snapshot expiry off by default. When enabled, retain recent snapshots,
the current state and full-tree checkpoint boundaries; replace refs atomically
and reclaim expired objects under the workspace lock. Retry interrupted GC,
stop child processes on maintenance timeout, and preserve workspace inactivity
across compaction. Checkpoints remain restorable but cannot be reverted.

Keep existing saved settings compatible and expose coverage and retention
controls in the plugin UI. Review against relevant frdel history informed
shared ownership and consistent capture/restore filtering.

Validation: 57 focused backend tests in the Docker framework runtime and 5
frontend store tests pass. Live UI checks covered workspace selection, diffs,
Travel, Revert, explicit current inspection, checkpoint actions, and legacy
settings save/reopen. Original settings were restored and disposable QA
project/history removed.
2026-11-12 16:11:15 +01:00
Alessandro 28e36b5fef Load Time Travel history without staging workspace files
Page saved commits directly, batch metadata and file statistics, and bound file-filter scans to Git batches. Keep the snapshot index stat cache instead of clearing and rebuilding it on every capture.

Inspect current changes explicitly in a disposable repository borrowing saved objects read-only. Offload Git work from API event loops and discard stale UI responses when the selection or workspace changes.

Verified with 42 Python tests and 3 frontend tests, including unchanged saved-repository contents after inspection, unusual filenames, filtering, and a 25-process ceiling for a ten-entry history page.
2026-11-12 15:41:23 +01:00
Alessandro 78d3f8d27d Protect Time Travel capture, restores, and cleanup
Treat Git paths literally so unusual filenames cannot expand into excluded files. Reject restores that would change excluded paths, nested Git workspaces, or files through directory symlinks.

Serialize complete workspace operations with reentrant cross-process locks shared by retention. Skip busy or symlinked histories, fail closed when owners cannot be enumerated, and count only successful cleanup.

Verified with 38 focused tests, including cross-process cleanup, concurrent snapshots, exclusion bypasses, and restore safety. Keep test shadow repositories isolated from user history.
2026-11-12 15:35:38 +01:00
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 Frau 70d07d8667 Merge pull request #2004 from DZH166/codex/fix-code-execution-code-args-20261102
fix(code-execution): reject non-string code before shell dispatch
2026-11-10 17:27:00 +01:00
Alessandro Frau 4fb17f9512 Merge pull request #1965 from MohammadHijjawi97/fix-text-editor-append-unterminated-last-line
Keep line-edit appends off an unterminated last line
2026-11-10 16:54:09 +01:00
DZH166 5fb00bd909 fix(code-execution): reject non-string code before shell dispatch 2026-11-03 00:29:20 +08:00
Alessandro dbf6849c84 fix(scheduler): use Scheduled Tasks in modal and navigation
Align the scheduler modal title and sidebar dropdown label with the welcome screen Scheduled Tasks card. Update the scheduler documentation and plugin index to match.

Validation: 97 focused scheduler, timezone, tool contract, and WebUI extension tests passed. Confirmed the live instance serves the updated labels.
2026-11-01 20:13:55 +01:00
Alessandro 5f45daa61a Reject unsupported Telegram configuration scopes
Telegram advertised project/profile settings while its lifecycle and sender
authorization read only global configuration. A saved scoped allowlist or
disable could therefore leave a permissive global bot accepting messages.

Make Telegram configuration and activation explicitly global, preserving
per-user project routing. Enforce manifest scope support before plugin
configuration or activation writes and return HTTP 400 for invalid saves.

Pause Telegram bots and block incoming events whenever legacy scoped
configurations or activation overrides exist. Preserve those files, skip
attachment cleanup, notify the operator, and retain settings UI access for
manual review and removal. Each event must resolve a currently enabled
global bot; removed, renamed, disabled, or globally deactivated bots cannot
fall back to captured settings.

Add regressions for scope rejection without side effects, supported-plugin
scopes, legacy settings shutdown and migration, current allowlists, and
immediate revocation. Update existing administrator tests and owning docs.

Validation: 339 tests and 73 subtests passed in both Conda a0 and Docker's
framework runtime. A before/after reproduction showed an excluded sender
reaching context creation before the fix and being blocked afterward.
Restarted the live runtime and checked HTTP health and Telegram settings UI.
No live Telegram message test was performed.
2026-11-01 08:05:25 +01:00
Alessandro 25542e9950 Require remote terminal permission for input_remote
input_remote forwards keyboard text as terminal code, allowing a custom
profile to bypass a blocked code_execution_remote capability through an
independently enabled input tool.

Require the canonical bundled remote terminal action in shared policy
resolution while retaining input_remote's independent permission. Apply
the dependency to execution, text prompts, and native tool schemas, and
recheck it inside the input wrapper before rewriting args or dispatching.
Output-only grants, default-deny policies, and profile tool-name overrides
cannot authorize the terminal operation.

Document the permission dependency and add 19 regressions covering zero
dispatch on denial, action-specific grants, prompt/schema visibility,
authorized input, host access controls, and framework-owned allow_running.

Validation: 232 focused tests passed in both Conda a0 and Docker's framework
runtime. A smoke test through the real CLI shell backend verified denied
dispatch, authorized idle and interactive input, and permission revocation.
Restarted the live Agent Zero runtime and verified HTTP health.
2026-11-01 07:49:29 +01:00
Alessandro c6b3f56d72 Enforce same-origin isolation for browser DOM helper RPC
Cross-origin related windows could read page content and invoke DOM actions
through the helper's public postMessage channel.

Reject foreign and opaque origins, use exact target origins, and bind each
pending response to its child window and operation. Preserve inherited
origins for about:blank/srcdoc frames and trusted direct automation access.

Bump the helper to v2 and require a page reload when legacy listeners are
present. Existing host browsers must restart and reconnect before restored
tabs reload so old initialization scripts are discarded.

Add real-Chromium regressions for parent/frame/opener attacks, opaque
origins, forged responses, same-origin actions, and helper upgrades.

Validation: 250 browser/connector tests passed in both Conda a0 and Docker's
framework runtime; JavaScript syntax and diff checks passed. Restarted the
live runtime and verified HTTP health, browser navigation, and the viewer.
2026-11-01 07:41:16 +01:00
Alessandro 4766b114ae Require explicit WhatsApp administrators for settings changes
Accepted WhatsApp senders could persistently relax their own tool policy
and toggle instance-wide plugins using ordinary chat authorization.

Add a separate admin_numbers allowlist, empty by default, and derive
administrative access from the normalized sender of each inbound message.
Keep allowed-number and group checks in force. Require administration at
the WhatsApp plugin-toggle and tool-policy mutation boundaries while
preserving read-only menus and ordinary chat controls.

Gate built-in profile creation and browser-runtime changes before shared
command execution. Use the shared argument parser for profile creation
checks and preserve existing profile selection and custom overrides.
Expose the administrator list in settings and document the new defaults.

Add regressions for denied writes, real policy persistence and runtime
decisions, normalized sender identities, revocation, administrative
commands, and independent frontend access-list editing.

Validation:
- Conda framework: 165 tests and 62 subtests passed.
- Docker framework: 12 focused tests and 32 subtests passed.
- Node bridge and configuration store: all 4 tests passed.
- WebUI: administrator field renders, parses and clears independently.
- JavaScript syntax and git diff checks passed.
- Restarted the bound Docker instance and verified HTTP 200.

Live WhatsApp delivery was not exercised. Synthetic events and disposable
policy files cover the authorization paths without changing live access
lists or sending test messages to WhatsApp users.
2026-11-01 07:28:02 +01:00
Alessandro 1eba072653 Require explicit Telegram administrators for settings changes
Accepted Telegram senders could use /permissions and its callbacks to
persistently remove their own tool restrictions. The same access also
exposed instance-wide plugin toggles.

Add a per-bot admin_users allowlist and enforce it when opening settings
and processing every settings callback. Administrators must still pass
allowed_users; an omitted or empty admin_users list grants nobody settings
access. Resolve membership from the current bot configuration on each
event so revocation applies to existing buttons.

Expose the administrator list in the WebUI and document its defaults.
Add regression coverage for message and callback routes, denied writes,
authorized policy persistence, runtime tool decisions, and revocation.

Validation:
- Conda framework: 123 tests and 41 subtests passed.
- Docker framework: 9 focused tests and 41 subtests passed.
- WebUI: administrator field renders, parses entries, and clears correctly.
- JavaScript syntax and git diff checks passed.
- Restarted the bound Docker instance and verified HTTP 200.

Telegram network delivery was not exercised; tests use synthetic events
and disposable policy files without changing live bot access settings.
2026-11-01 07:22:49 +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 b5652a8c11 chore(oauth): bump Codex client version to 0.166.0
Update the default Codex client version from 0.165.0 to 0.166.0 for
upstream request headers and model catalog discovery. Keep the OAuth
plugin contract in sync; saved version overrides retain precedence.

Validation: 222 OAuth and plugin scan tests passed in the a0 framework
environment. Confirmed the bundled default in the live container;
git diff --check passed. Live upstream requests were not tested.
2026-11-01 06:55:59 +01:00
Alessandro 039efe4198 Keep model prose as thoughts and retry silently
Preserve free text and reasoning-only output in the current generation
and retry without intermediate warning rows. Require an explicit response
tool call to finish in both API modes, including after provider built-in
actions.

Keep history metadata, Responses state, tool validation and the
consecutive-failure stop intact. Allow core retries when Context Doctor
and its prompts are unavailable.

Validation: 411 backend tests and 2 Chromium live/replay grouping tests
passed; live runtime health check passed.
2026-11-01 06:50:49 +01:00
Alessandro Frau d47d9e5489 Merge pull request #1995 from linkliti/chore/recursive-test-baseline
chore: Tests fixes
2026-11-01 02:52:46 +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 b080998f09 Remove Connect prefix from welcome channel entries
Display each channel name directly so entries read Telegram, Email,
WhatsApp, or the installed plugin name. Update the discovery contract and
existing regression assertion to match.

Validation: all six welcome composer tests pass, and the live runtime
serves the updated markup. Browser rendering was not rechecked.
2026-11-01 01:24:04 +01:00
Alessandro 69f266e537 Show installed channel plugins on the welcome screen
Discover installed custom plugins carrying the exact channels Plugin
Index tag. Prefer their native thumbnail, fall back to the index image,
and open the existing plugin settings modal from each card.

Skip suspended or unlisted plugins, missing config screens or thumbnails,
and integrations that already contribute a discovery card. Preserve
bundled cards during background index loading and retain dismissal state.

Validation: 10 focused Node tests and 23 framework static tests passed.
Verified the live Discord A0 thumbnail and settings action at
localhost:32081 without saving configuration changes.
2026-11-01 00:43:35 +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 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 9de79f06aa Update Codex onboarding defaults and preserve the current chat
Suggest gpt-6.1-terra for Main and gpt-6-luna for Utility through Codex
provider metadata, while preserving explicit model lists and the live
account catalog.

Change the final onboarding action to Continue and close the wizard without
creating another chat. The existing model-gate event resumes the held message
in its original chat. Update the onboarding guide and ready-screen capture.

Add regressions for recommended and explicit model selection, configured
catalog order, held-message dispatch and completion without a pending chat.

Validation: 244 focused Python tests, three onboarding Node tests and the
OAuth reconnect check passed. Verified on the dedicated instance that
Continue closes the wizard and preserves the selected chat and chat list.
2026-10-31 22:15:31 +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
linkliti 26ca0252d9 test(suite): align stubs and assertions with current behavior
Several test files still modeled older behavior: goal plugin stubs lacked the agent_name and context.log attributes the response tool reads, the intervention test built an AgentContext without id, startup asset assertions forbade the favicon link that safe and splash pages now ship, document query assertions pinned a superseded skill description, and the defer weakref check raced cyclic garbage collection. Stubs and assertions now match the code they cover. The welcome splash test asserted that the transparent background string appears nowhere in the welcome screen, which stopped holding once the reorderable layout menu gave its disabled buttons that background, so the check now inspects the welcome container block it was written for. The notification store test strips imports from the module it evaluates, which left the extension hook undefined once the store reported every received notification, so the harness now declares that hook.

Validation: full suite in a nested dev checkout fails 0, passes 3067, skips 7, down from 32 and 3029 at the first commit and 9 and 3058 after the path fix; pytest tests/test_webui_startup_assets.py tests/test_webui_message_ordering_static.py tests/test_ws_client_api_surface.py tests/test_defer_lifecycle.py tests/test_document_query_plugin.py tests/test_intervention_llm_abort.py plugins/_goal/tests/test_goal_plugin.py (67 passed).
2026-10-31 13:33:09 +03:00
linkliti ae25d3ecef fix(paths): resolve /a0 paths inside nested dev checkouts
A dev checkout nested under /a0 produced /a0-prefixed real paths that fix_dev_path stripped unconditionally and that time travel re-prefixed with the base dir, so workspace paths doubled into /a0/a0/usr/... and time travel reported missing workspaces or refused operations outside the selected scope. fix_dev_path now leaves paths that already live inside the base dir untouched, time travel resolves in-checkout display paths directly, and canonical workspace display paths are posix-normalized so the /a0 root keeps its stable workspace id. Because canonical display paths are now logical /a0 paths instead of physical nested checkout paths, workspace ids derived from them change once for dev instances nested under /a0, so their existing shadow repos are re-initialized in a new location and the old directories stay on disk unreachable; production instances whose base dir is /a0 keep their ids, and the time travel plugin DOX records that one-time change.

Validation: pytest tests/test_time_travel.py tests/test_dev_path_resolution.py (21 passed); full suite in a nested dev checkout fails 9, passes 3058, skips 7, down from 32 and 3029 at the previous commit, with the time travel and commands path cases now green; removing the nested-checkout guard, the separator normalization, or the canonical path change each fails its matching new case.
2026-10-31 13:33:09 +03:00
Alessandro 224c7f5e0f Document real agent migrations and preserve Claude chat history
Walk through Pi, Hermes Agent and Claude Code exports, imports, separate
working-file uploads and continued tasks using real CLI sessions. Add
built-in chat and message search instructions and optimized neutral captures.

Preserve Claude custom titles and keep tool-result blocks in historical
tools instead of duplicating them as user messages. Retain unmatched results
and error markers, including coverage through the shared OpenClaw parser.

Validation: 28 migration tests and 11 subtests; six live imports into three
projects; three completed continuations; two booking tests; documentation
links, image privacy checks and rendered previews.
2026-10-31 04:24:09 +01:00
Alessandro 7d821c46f5 Add chat message search to the Connector API
Accept an optional query on the protected chats_list route to search loaded chat titles and message logs. Reuse the bundled sidebar search helper for bounded, Unicode-safe literal highlight parts while keeping the normal list response unchanged.

Validate request and query types and limit queries to 200 characters. Blank queries skip scanning. Document the API contract and cover unchanged listing, authentication, validation, and excerpts.

Validation: 29 Core API and shared search-helper tests passed in the live Docker framework. Verified the live CLI client against 400 loaded conversations. Whitespace checks passed.
2026-10-31 03:36:51 +01:00
Alessandro cb068179c9 Add configurable sidebar chat and message search
Search loaded chat and task titles and messages from the sidebar, with Standard, Compact, and No search modes in the existing filters menu. Preserve project, status, and activity filters, keep matching child conversations accessible, and leave Welcome Chats search independent.

Show compact, title-aligned excerpts with Unicode-safe match emphasis and no duplicate title previews. Use the Search placeholder and the chat composer's background, border, and focus transition. Retain authentication, query validation, stale-response protection, and keyboard navigation.

Validation: 33 focused Python tests and both frontend suites passed. Checked search modes, persistence, child/task fixtures, dark and light themes, keyboard focus, and touch emulation against the live Docker runtime. Final CSS polish was visually checked; git diff --check passed.
2026-10-31 03:12:00 +01:00
Alessandro 0377c3a2c2 Keep Codex OAuth response defaults visible
Keep reasoning effort, reasoning summary, and answer verbosity editable below the Codex quota before and after connection, including reconnects and selection of another provider. Reuse the existing controls and save behavior.

Use theme text and muted-text colors for provider details to prevent the connected-state green from leaking into settings. Document the visibility contract and cover connection, selection, and reconnect states in the existing JavaScript regression.

Validation: 221 OAuth and plugin-scan tests passed, along with the JavaScript regression and git diff --check. Verified the connected Codex panel and corrected colors in the live Web UI at localhost:32081.
2026-10-31 01:09:44 +01:00
Alessandro a7ff2624a5 Add Pi import support to Migrate Agents
Import Pi JSONL session versions 1–3 through the existing preview and category-selection workflow. Preserve separate retained branches, tool arguments and results, errors, public shell history, titles, and project context while excluding system prompts, reasoning, extension state, and image bytes. Validate session trees and bound branch expansion before processing.

Persist migration provenance in durable chat data, redact imported titles, and accept Unicode line separators inside JSONL strings. Add the Pi source selector and a user guide with two optimized screenshots from a real preview and import.

Validation: 25 migration tests and 11 subtests passed; the live Web UI imported two real Pi chats into one project with saved provenance and historical tool records; source-session hashes were unchanged and private reasoning was excluded. Checked desktop/mobile layout, 487 local documentation references, JavaScript syntax, image metadata/privacy, and git diff --check.
2026-10-30 23:41:59 +01:00
Alessandro 3f30f6479b Refresh CLI onboarding preview and documentation screenshots
Replace the onboarding terminal preview and CLI guide screenshots with optimized full-colour captures of the current vanilla CLI. Use neutral workspace paths, remove image metadata, and keep shared captures identical across the documentation repositories.

Update host-picker wording, automatic connection guidance, chat tabs and model controls, and Browser mode scope. Version the onboarding image URL to refresh browser caches and document capture ownership.

Validation: reviewed onboarding at desktop and mobile sizes, verified documentation links and image integrity, and passed git diff --check.
2026-10-30 19:23:17 +01:00