Fix immediate automation pause, restored queue rendering and bounded disk reads; release 2.1.75
CI / verify (push) Canceled after 0s

This commit is contained in:
Sucukdeluxe committed 2026-10-20 13:56:04 +02:00
1 parent 267a840853
commit 80eb878f1b
12 files changed
+168 -68

No files matched your search

+4 -2
View File
@@ -19,13 +19,15 @@ const definitions = [
['app_info', 'Read application version and runtime information.', 'read', {}, []],
['capabilities', 'Read effective permissions, the supported action catalog and local security boundaries. This cannot grant permissions or approve actions.', 'read', {}, []],
['performance_get', 'Read bounded in-memory main-thread, renderer, CPU, memory, I/O and transfer-slot measurements. Missing samples do not prove a freeze.', 'read', {}, []],
['io_limits_get', 'Read active, waiting and maximum concurrent upload file reads.', 'read', {}, []],
['io_limits_update', 'Adjust bounded upload file-read concurrency in memory. Does not abort transfers or persist settings; default returns after restart.', 'control', { readConcurrency: integer(1, 32) }, ['readConcurrency']],
['system_metrics', 'Read cached system CPU, RAM, disk activity, read/write throughput, cumulative byte counters and volume capacity. No shell commands. Samples every 10 seconds; null or stale values are not freeze evidence.', 'read', { limit: integer(1, 60) }, []],
['app_state', 'Read live transfer and automation summary.', 'read', {}, []],
['queue_list', 'Read a bounded page of upload jobs.', 'read', { ...page, status: text(40) }, []],
['queue_job_log', 'Read a bounded, secret-filtered log for one upload job.', 'read', { jobId: id, ...page }, ['jobId']],
['queue_add', 'Add files from a granted directory to the upload queue.', 'control', { rootId: id, paths: array(text(), 1000), hosters: array(hoster, 5) }, ['rootId', 'paths', 'hosters']],
['queue_start', 'Start eligible queued uploads.', 'control', jobIds, []],
['queue_pause', 'Pause new uploads after current transfers.', 'control', {}, []],
['queue_pause', 'Immediately abort active uploads and pause new work. Paused files restart from the beginning on resume.', 'control', {}, []],
['queue_resume', 'Resume the shared upload and automation pause.', 'control', {}, []],
['queue_retry', 'Retry selected failed jobs.', 'control', jobIds, ['jobIds']],
['queue_cancel', 'Cancel selected running or queued jobs.', 'control', jobIds, ['jobIds']],
@@ -63,7 +65,7 @@ const definitions = [
queueLimitJobs: integer(0, 100000), reconcileIntervalMinutes: integer(1, 1440)
}, ['rootId'], true],
['automation_start', 'Start configured folder monitoring.', 'control', {}, []],
['automation_pause', 'Pause the shared upload queue and folder automation after active transfers. Does not disable the configured monitor.', 'control', {}, []],
['automation_pause', 'Immediately abort active uploads and pause the shared queue and folder automation. Resume restarts paused files from the beginning. Does not disable the configured monitor.', 'control', {}, []],
['automation_resume', 'Resume the shared upload queue and configured folder automation. Use this for paused=true, not automation_start. Does not enable a disabled monitor.', 'control', {}, []],
['automation_stop', 'Stop folder monitoring without removing queued jobs.', 'control', {}, []],
['automation_scan', 'Run a read-only folder monitoring test scan.', 'read', {}, []],