mirror of
https://github.com/hansjone/dsh-ops-cron.git
synced 2026-10-12 07:43:19 +08:00
Add sidebar-only agentAccess lock for scheduled jobs.
Default remains allow; humans can deny agent pause/resume/retrigger/delete in the panel while tools never expose or set the field. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
4472a9c74b
commit
ad6e90f197
7 changed files with 130 additions and 11 deletions
|
|
@ -630,6 +630,9 @@ export function createHostService(options = {}) {
|
|||
model: patch.model !== undefined ? patch.model : job.model,
|
||||
reasoningEffort: patch.reasoningEffort !== undefined ? patch.reasoningEffort : job.reasoningEffort,
|
||||
agentPreset: patch.agentPreset !== undefined ? patch.agentPreset : job.agentPreset,
|
||||
agentAccess: patch.agentAccess !== undefined
|
||||
? patch.agentAccess
|
||||
: (patch.agent_access !== undefined ? patch.agent_access : job.agentAccess),
|
||||
delivery: patch.delivery !== undefined
|
||||
? mergeDeliveryMention(job.delivery, patch.delivery)
|
||||
: job.delivery,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue