Commit Graph
65 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 d3cb2323a0 Document scheduled task creation through the UI and chat
Add a complete Scheduled Tasks guide with real form and chat examples, six framed screenshots, schedule fields, task conversations, controls, and catch-up behavior. Link it from the docs index, Usage, and A0Cleaner, and correct the Cleaner timezone instructions.

Verified both creation paths on localhost:32081, ran the form-created task, checked edit/reset/delete controls, and removed the demo tasks. Validated local links, matching website text, image dimensions, and rendered screenshots. Document the current lack of a Stop button for scheduler runs.
2026-11-14 22:03:58 +01:00
Alessandro 7027b969f6 Document A0Cleaner workflows with framed screenshots
Add a practical guide to opening A0Cleaner, automatic cleanup defaults,
notification timing, missed schedules, manual review, custom folders, and
cleanup history. Explain the difference between one-time selection and Auto
switches, and clarify the limits around Linux /tmp and uploaded files.

Include five real UI captures with complete panel framing and neutral
surroundings. Reproduce the native notification from the saved maintenance
result and leave the custom-folder example unsaved. Optimize the PNG set
from 311 KB to 119 KB. Link the guide from the docs index and Usage, and
record ownership alongside the aligned website guide.

Validation:
- Verified the entry point, defaults, and review/cancel flow at localhost:32081.
- Checked 33 local links, anchors, components, and assets across both guides.
- Confirmed matching guide text and no em dashes.
- Inspected optimized screenshots and the rendered Core documentation preview.
- git diff --cached --check passed.
2026-11-14 21:00:41 +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 02b92cd7c2 Clarify the README and installation path to the first reply
Use a plain-language introduction and a complete Launcher quickstart that
carries the first message through model setup and back to the same chat.
Simplify feature descriptions while keeping the existing demonstrations,
and add clear migration, provider-plugin, Host access and license links.

Align Core installation and quickstart with the website journey. Update
Launcher downloads to v1.9, pair local Docker commands with their browser
URLs, distinguish persistent storage from backups, and remove unsupported
model-size recommendations. Reuse the verified kickoff-plan screenshots.

Validation: local links, assets and anchors checked; README rendered
locally; git diff --check passed. No fresh OS installation was performed.
2026-10-31 23:05:50 +01:00
Alessandro dd0e5bfcfb Document Codex account setup from ChatGPT to the first chat
Add a screenshot guide covering ChatGPT's device-code permission, Account
onboarding, both Connect account actions, OpenAI authorization, and Main
and Utility model selection. Explain how Finish setup resumes the held
message and Continue closes the wizard without creating another chat.

Include twelve optimized captures with account details and device codes
removed, reuse the current ready screen, and link the guide from the README,
docs index and Onboarding. Replace the README's outdated account-flow copy.

Validation: Opus review, source and official authentication guidance checks,
76 link/image/dimension checks, matching website prose, opaque redactions,
and whitespace checks. The supplied completed sign-in captures were used;
no new account authorization or inference run was needed.
2026-10-31 22:30:10 +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 bb0a8cf3fd Document OpenCode Go setup through provider plugins
Walk new users from their first message through the Cloud provider grid,
filtered Plugin Hub, OpenCode Go installation, browser refresh and model
selection. Link the guide from the README, docs index, Onboarding and Usage,
and add seven optimized screenshots of the real setup flow.

Use the verified Go model IDs glm-5.3 and glm-5.3-flash, explain the free-model
restriction, and distinguish checked setup from untested model responses.

Validation: real installation and model selection on the dedicated instance;
local links, anchors, image dimensions, privacy and whitespace checked.
No subscription credentials were entered or paid inference performed.
2026-10-31 22:15:05 +01: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 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 f07ae1aee5 Refresh first-run and everyday Agent Zero documentation
Rework Quick Start around sending a first message and opening its saved result. Explain held-message retry during onboarding, Welcome layout recovery, running-chat controls, and goals using current product behavior.

Update Agent Profiles for individual tool actions and Model Presets for current controls. Replace stale views with twelve real, neutral screenshots shared with the website, optimized from 605118 to 251382 bytes. Refresh the docs index and ownership guidance, and repair three VPS table-of-contents anchors.

Validation: 478 local documentation references passed; image integrity, metadata, and privacy checks passed; representative captures and rendered Quick Start were inspected; git diff --check passed. Changes are documentation and assets only.
2026-10-30 21:29:34 +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
Alessandro 5d82a12ec3 Document local folder mounts and Launcher workspace storage
Explain how host folders map into Docker containers, how bind mounts differ
from named volumes, and what persists when an instance is removed. Add CLI,
Docker Desktop, and Compose examples for user data and separate work folders.

Describe Launcher storage choices, generated versus exact folder paths,
workspace defaults, persistence migration, and keep/delete controls. Link the
new guide from installation, troubleshooting, and the documentation index.

Validation: documentation links and anchors, shell syntax, Compose YAML, and
nine existing Launcher storage tests passed. Live container recreation and
Compose execution were not tested; the Compose plugin is unavailable locally.
2026-10-22 17:07:11 +02:00
Alessandro 50db781a4d Reduce browser startup and rendering overhead
Avoid starting Chromium for empty tab listings while preserving saved-tab
restoration. Honor navigation readiness without redundant load waits or
fixed pauses, and let WebUI navigation return at document commit.

Skip automatic history screenshots for inspection, evaluation, and batches
containing only those actions. Read page metadata in one evaluation and
report the actual loading state. Reuse the native viewer display size when
no resize is requested, preventing page zoom from enlarging and clipping
frames during navigation.

Update browser documentation and regression coverage. Validated 194 browser
regression/output tests and 29 host-browser tests in separate runs, plus
live WebUI navigation, pointer input, screenshots, and repeated reloads.
Local test-page medians improved from 474 to 83 ms for navigation and from
82 to 19 ms for content reads.
2026-09-23 23:38:37 +02:00
Alessandro 1563440232 refactor(skills): consolidate plugin authoring and discovery
Consolidate plugin creation, review, and contribution behind a0-create-plugin with focused references and brief troubleshooting. Honor explicit local or community intent and ask once when unclear.

Keep a0-manage-plugin as the discovery and lifecycle entrypoint, with Plugin Index filtering, candidate assessment, and framework API operations. Retire redundant skills and update documentation and discovery tests.

Validation: 38 targeted tests passed in a clean snapshot. Verified both entrypoints and six references in the live runtime and exercised Index discovery at localhost:32081 without installing plugins or running security scans.
2026-09-08 03:09:16 +02:00
Alessandro e2f43a3fb8 Harden internal Browser against bot detection
Run Chromium headful through Patchright on a private Xvfb display while keeping Agent Zero's page helpers in Patchright's isolated world.

Reconcile the pinned Patchright package and matching architecture-specific Chromium from Browser plugin hooks so fresh Docker images and self-updated installations converge on the same runtime.
2026-08-13 12:34:04 +02:00
Alessandro ba64b57e3b Document Agent Editor workflows and policies
Replace the legacy guided-profile instructions with screenshot-led Easy and Advanced editor workflows, project availability, and A0 CLI creation.

Document sparse YAML, Markdown, and JSON overrides for identity, prompts, Tool and MCP policy, Skills visibility, and model presets. Refresh adjacent guides and remove obsolete screenshots.
2026-08-12 14:34:16 +02:00
Alessandro eae1b67c09 Add proxy support to internal Browser
Add project-scoped HTTP and SOCKS proxy settings for the internal Docker browser, including bypass and optional authentication. Pass them through Playwright's native proxy option, restart active Browser runtimes when they change, and update regression coverage and user documentation.
2026-07-27 12:19:11 +02:00
frdel 15a2b553be Unify global model presets
Make model presets a single global collection and treat presets as reusable setups (main, utility, embedding). Persisted scope configs now store only a preset name (Default is always present and immutable); project-scoped preset definitions were removed and attempts to edit/reset project presets are rejected. Add embedding-model support throughout: include embedding slot in presets, surface embedding in the switcher and override APIs, and notify extensions when the effective embedding model changes. Implement rename/retire propagation to update plugin configs, saved chats, and live AgentContext objects when preset names change or presets are removed. Update CLI/integration commands to use an "inherit" action for returning to the scoped preset and to report the effective scoped-or-chat preset. Add startup migration/bootstrap to initialize presets from remote or bundled fallback and numerous docs/UI text updates to reflect the new preset model. Extra: refactor config resolution helpers and add safety checks (validation, atomic writes) when saving presets.
2026-07-17 12:16:10 +02:00
Alessandro 2e32a2f8dc Accept host-browser discovery endpoints
Preserve explicit endpoint case, accept host:port and HTTP discovery addresses in Browser settings, and keep live-runtime guidance independent of any fixed localhost port.
2026-07-14 16:10:13 +02:00
Alessandro afa5231a5a Refine BYOB host browser endpoint selection
Reduce Browser Settings host-browser choices to automatic and advertised debug endpoints, with a validated Custom endpoint input and faster inventory refresh.

Update Browser docs and regressions to document the custom endpoint workflow and CLI websocket selection.
2026-07-05 19:59:30 +02:00
Alessandro c719134537 Document host browser debugging setup
Add Browser Settings guidance for supported Chromium-family remote debugging pages, including Opera and explicit remote-debugging endpoint fallback.

Update BYOB docs and troubleshooting to clarify that browser inventory comes from the connected A0 CLI and requires reconnecting the CLI after authorizing a browser.
2026-07-05 18:59:23 +02:00
Alessandro 50f80d57dc Refresh onboarding screenshots in docs
Update first-run onboarding docs for the welcome screen, in-chat model gate, Cloud/AI account/Local provider paths, and explicit main and utility model choices.

Replace stale onboarding screenshots with optimized current assets and add gate, account, and local-provider captures.
2026-07-02 17:29:40 +02:00
Alessandro Frau 1a43bfee46 Merge pull request #1719 from TerminallyLazy/codex/tiny-local-tool-use
[codex] Add Tiny Local tool-use profile
2026-06-24 11:06:14 +02:00
Alessandro 1d90c27f3b Document Launcher setup and v2.0 upgrade path
Add a Launcher guide with runtime setup, Installs, Instances, and screenshot capture notes.

Link the guide from README, quickstart, and docs index, and clarify the v1.20-to-v2.0 image upgrade path with backup/restore screenshots.
2026-06-24 10:54:43 +02:00
TerminallyLazy 15aa7d71f0 feat: add tiny local tool-use profile 2026-06-24 03:59:21 -04:00
frdel afdc3aeb44 Add protocol prompt area before history
Introduce a new prompt "protocol" separate from extras: add LoopData.protocol_temporary and protocol_persistent, include protocol contents before message history during prompt construction, and clear temporary protocol data each turn. Add helper _build_context_message to render protocol/extras, update response input conversion to include protocol, and move project instructions & active/loaded skills injection into protocol. Update docs, prompts, plugin metadata, the SkillsTool message, and add tests to verify protocol placement and behavior.
2026-06-18 21:42:06 +02:00
Alessandro 675afa8dee Refactor speech stack into built-in Kokoro TTS and Whisper STT plugins
Split the legacy core speech stack into two built-in, independently toggleable plugins: `_kokoro_tts` for TTS and `_whisper_stt` for STT.

This refactor keeps dependency installation and bootstrap concerns in Docker/bootstrap/preload, while moving speech-specific tooling, APIs, prompts, UI, and runtime behavior into the plugins. Core now exposes engine-agnostic `tts-service` and `stt-service` brokers, with browser-native TTS preserved as the fallback when Kokoro is disabled.

Included in this change:
- add built-in `_kokoro_tts` plugin with plugin-owned synth API, config, status UI, and provider registration
- add built-in `_whisper_stt` plugin with plugin-owned transcribe API, mic runtime, device UI, prompt injection, and provider registration
- remove legacy core speech APIs/helpers/settings/UI and delete unused `webui/js/speech_browser.js`
- replace the old hardcoded speech settings section with a generic voice surface backed by plugin extensions
- update preload/docs/tests to match the new plugin-owned speech architecture

Behavioral intent:
- both plugins are built-in but not `always_enabled`
- users can now hot-switch TTS and STT independently
- browser TTS remains available when `_kokoro_tts` is off
- Whisper mic UI only appears when `_whisper_stt` is enabled
2026-05-21 05:41:59 +02:00
Alessandro e0337410e7 Preserve model preset inherited settings
Deep-merge model preset slots with the active configuration so custom context windows, rate limits, and nested kwargs survive preset switches.

Treat legacy utility preset defaults as implicit values, allow omitted utility and embedding slots to inherit configured models, and document the partial-preset behavior.
2026-05-18 02:45:08 +02:00
Alessandro 6d29268cbd refactor: align skills and tool guidance
Rename high-impact skills to task-oriented names and move plugin-owned skills into their owning plugin folders.\n\nAlign renamed skill frontmatter with the official SKILL.md standard by keeping trigger language in name/description metadata, replacing the old create-skill wizard with build-skill, and updating browser, A0 connector, computer-use, CLI setup, and scheduler skill references.\n\nTighten the recurring cross-provider guidance gaps surfaced by the evidence sweeps: memory requests now avoid promptinclude-file routing, scheduler prompts distinguish cron schedules from planned ISO dates, document questions prefer document_query, skills_tool search/read_file usage is clearer, normal notifications set info/priority 10, and local/host text editors preserve patch intent.\n\nUpdate regression tests for the renamed skills, plugin ownership, prompt budget reality, and standard frontmatter shape.
2026-05-10 07:13:14 +02:00
Alessandro 818bda0385 Document first-run onboarding flow
Add a screenshot-led guide for the guided onboarding wizard using Agent Zero API as the example setup. Link the guide from the docs hub, quickstart, and installation setup flow, and include optimized screenshots for choosing Cloud, selecting a provider, choosing models, and reaching the ready state.
2026-05-09 08:05:09 +02:00
Alessandro 58b161e5d3 docs: make Agent Zero guides more human
Refresh README, quickstart, and the docs index around Browser, Desktop, A0 CLI, projects, memory, skills, profiles, and model presets.

Add optimized scoped screenshots for Web UI, Browser, Desktop, and CLI workflows.

Trim architecture-heavy developer pages toward DeepWiki handoffs so local docs stay focused on practical user guidance.
2026-05-09 00:02:11 +02:00
Alessandro d47207dfd7 Refine host browser routing and settings copy
Store and surface host-browser preparation and CDP endpoint metadata from A0 CLI.

Let Browser runtime prepare candidate CLIs before the first action, and keep host-required errors more actionable.

Simplify Host Browser settings language and document the Chrome remote-debugging consent flow.
2026-05-08 06:37:32 +02:00
Alessandro 4b3e2eb327 Route Browser through A0 host connector
Integrate host-browser routing into the existing Browser tool. Store connector host-browser metadata, add pending browser op resolution, select connector runtimes from Browser settings, enforce host-content privacy policy, support automatic host preparation, and document the A0 CLI host-browser flow.
2026-05-08 04:22:18 +02:00
Alessandro 1af5344f3c Clean uv cache during self-update
Run a best-effort uv cache clean when the durable self-update manager consumes an update request. Cover uv-present, uv-missing, and cleanup-failure paths with focused tests, and document the new self-update step.
2026-05-08 00:56:24 +02:00
Alessandro 8b921a8ded Move Browser Playwright cache to tmp
Use /a0/tmp/playwright as the Browser plugin Chromium cache and Docker install target while preserving full Chromium installs.

Add startup migration cleanup for retired usr Playwright caches, update Browser status/runtime references and docs, and cover migration behavior with focused regressions.
2026-05-07 18:43:24 +02:00
Alessandro d637f3c2b6 Add refactor guardrails and runtime docs
Cover the modal/surface boundary, Desktop ownership, Office document-only behavior, explicit Desktop opens, plugin-owned runtime paths, renamed skills, connector ownership rules, Browser context handoff, and Playwright cache stability. Update operator docs to match the retained Docker Playwright install path.
2026-05-07 00:15:50 +02:00
Alessandro 2d11287f2e Revert "Raise Docker image nofile soft limit on startup"
This reverts commit 7bd70fa8b7.
2026-05-02 21:28:04 +02:00
Alessandro 7bd70fa8b7 Raise Docker image nofile soft limit on startup
Configure the Docker image initializer to raise the container soft nofile limit to a safer default when Docker's hard limit allows it.

Document the new-image behavior and optional A0_NOFILE_LIMIT override without requiring users to add Docker ulimit flags.
2026-05-02 20:37:47 +02:00
Alessandro 1c11688855 Update a0-cli-connector.md 2026-04-28 14:20:26 +02:00
Alessandro 56a42b97d7 Make agent profiles context scoped
Persist the active agent profile with each chat context and add a context-scoped endpoint for switching profiles without mutating global settings. Update the WebUI selector and docs to treat settings as the default for new chats, and expose the switch through the A0 connector plugin.
2026-04-26 22:27:35 +02:00
Alessandro 983d431a5e browser: replace browser-use agent with native browser
Introduce the new built-in Browser plugin for Agent Zero, replacing the legacy
browser-use-based browser agent with a direct Playwright-powered browser tool,
live WebUI viewer, browser session controls, status APIs, configuration, and
extension-management support.

Add browser-specific modal behavior so the browser can run as a floating,
resizable, no-backdrop window, including modal focus, toggle, and idempotent
open helpers for richer WebUI surfaces.

Remove the old `_browser_agent` core plugin and the `browser-use` dependency,
then clean up stale browser-model wiring and references across agent code,
model configuration docs, setup guides, troubleshooting docs, skills, and
Agent Zero knowledge.

Update regression and WebUI extension-surface coverage for the new browser
architecture and modal behavior.

The legacy browser-use implementation has been extracted from core so it can
continue separately as a community plugin published through the A0 Plugin Index for any user or professional that were relying on it for workflow.
2026-04-24 15:43:52 +02:00
Alessandro b4687015e2 docs: update documentation about agent profiles creation flow
The new guide explains:

- where profiles live
- what belongs in agent.yaml
- how prompt overrides work
- which root /prompts files are useful levers
- how profile-specific Main/Utility models are actually configured via _model_config/config.json
- why that config must be complete, not partial
2026-04-22 14:26:10 +02:00
Alessandro fe2310aa90 Add project-scoped LLM presets
Add LLM preset selection to project create/edit flows, backed by _model_config scoped project config. Support global, project, and combined preset APIs with explicit metadata while preserving plain YAML preset files. Copy selected preset chat/utility settings into project-scoped config, keep embedding settings from the effective config, and document/test the new project model config paths.
2026-04-21 18:18:59 +02:00
Alessandro 85654c6cc7 Merge branch 'main' into ready 2026-04-11 18:52:33 +02:00
Alessandro 954eca3563 add a0-setup-cli Skill and restore lexical trigger matching
Add a builtin `a0-setup-cli` skill for guiding host-side A0 connector setup,
and restore the lightweight trigger-word based skill matching flow, which many users asked for.

- add builtin `skills/a0-setup-cli/` with installer-first host setup guidance,
  container guardrails, fallback install paths, and example responses
- fix `helpers.skills_cli` so builtin skills under `/skills` are discoverable,
  searchable, and validatable
- restore trigger-pattern scoring in runtime `search_skills()`
- re-enable `skills_tool:search` in the current tool flow
- add lightweight lexical relevant-skill recall for the current user message
  without reintroducing memory/vector-db skill recall
- update skill prompts to steer the agent toward search/load when requests
  match skill trigger phrases
2026-04-11 18:03:05 +02:00
sena-labs 834cbe6f54 docs: add contributor sharing and fork safety guidance 2026-04-11 13:20:50 +02:00
Alessandro bfe4119d72 quick update flow and migration guidance 2026-03-31 21:53:47 +02:00
Alessandro 97591b6908 docs: align install and update flow 2026-03-31 16:36:27 +02:00