mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-11-20 07:16:20 +00:00
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.
This commit is contained in:
parent
2a711f40a2
commit
3d2b2eaa2a
3 changed files with 2 additions and 7 deletions
|
|
@ -24,6 +24,7 @@
|
|||
- Custom rules accept only proper subfolders of A0 workdir/projects/downloads/uploads/tmp, with no symlink ancestors, overlapping rules, protected metadata or overlapping managed roots.
|
||||
- Report allocated file-byte estimates, not guaranteed host block recovery from immutable container image layers. No chat contents or process command lines belong in reports or notifications.
|
||||
- Use native A0 notifications and an action opening the cleaner; toast clicks must never authorize deletion directly.
|
||||
- Open the cleaner through plugin settings or its notification action; do not add a sidebar dropdown entry.
|
||||
|
||||
## Work Guidance
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# A0Cleaner
|
||||
|
||||
Open **A0Cleaner** from the sidebar menu. Opening it scans automatically when the previous scan is older than an hour. Choose areas, review the file list, and select **Clean up**.
|
||||
Open the plugin's settings and select **Open A0Cleaner**, or use the **Clean up** notification button. Opening it scans automatically when the previous scan is older than an hour. Choose areas, review the file list, and select **Clean up**.
|
||||
|
||||
A real **A0Cleaner** task appears in Agent Zero's Scheduled Tasks. It runs weekly, Monday at 09:00 in the configured timezone, with no model call. Change its cadence in the cleaner or edit its cron schedule through **Schedule details**. Deleting or disabling the task is respected. Each run saves its results in the cleaner and sends an A0 notification with a **Clean up** button for remaining files.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
<div x-data>
|
||||
<button class="dropdown-item" id="a0-cleaner-dropdown" title="A0Cleaner"
|
||||
@click="ensureModalOpen('/plugins/_a0_cleaner/webui/main.html'); $store.sidebar.menuClose()">
|
||||
<x-icon name="cleaning_services"></x-icon><span>A0Cleaner</span>
|
||||
</button>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue