mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-28 19:51:11 +00:00
Remove scan queue and enable parallel plugin scans
Remove the scan queue mechanism that serialized plugin scans. Each scan now runs in its own temporary chat context immediately upon request, allowing multiple scans to execute in parallel. Update UI to reflect that scans are no longer queued and remove the "queued" state tracking from store and API.
This commit is contained in:
parent
4cbb320587
commit
1eb78607c9
4 changed files with 16 additions and 54 deletions
|
|
@ -40,11 +40,9 @@
|
|||
<!-- Actions -->
|
||||
<div class="scan-actions">
|
||||
<button class="button" @click="$store.pluginScan.copyPrompt()">Copy Prompt</button>
|
||||
<button class="button confirm" @click="$store.pluginScan.runScan()"
|
||||
:disabled="$store.pluginScan.scanning || $store.pluginScan.queued">
|
||||
<span x-show="$store.pluginScan.queued"><span class="scan-spinner"></span>Queued…</span>
|
||||
<span x-show="$store.pluginScan.scanning && !$store.pluginScan.queued"><span class="scan-spinner"></span>Scanning…</span>
|
||||
<span x-show="!$store.pluginScan.scanning && !$store.pluginScan.queued">Run Scan</span>
|
||||
<button class="button confirm" @click="$store.pluginScan.runScan()">
|
||||
<span x-show="$store.pluginScan.scanning"><span class="scan-spinner"></span>Run Another Scan</span>
|
||||
<span x-show="!$store.pluginScan.scanning">Run Scan</span>
|
||||
</button>
|
||||
<button class="button" @click="$store.pluginScan.openChatInNewWindow()"
|
||||
x-show="$store.pluginScan.scanCtxId"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue