mirror of
https://github.com/hansjone/dsh-ops-cron.git
synced 2026-10-09 00:43:22 +08:00
Make origin session mirror opt-in per job.
Default mirrorToSession to false so cron summaries stay in run history unless the sidebar checkbox or mirror_to_session is enabled. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
933bad9201
commit
819feed310
10 changed files with 128 additions and 17 deletions
|
|
@ -45,6 +45,7 @@ test('installable bundle declares host apply, client half, unique id, and no @de
|
|||
assert.match(host, /agentDefaultModel/)
|
||||
assert.match(host, /deliverRunToIm/)
|
||||
assert.match(host, /mirrorRunToSession/)
|
||||
assert.match(host, /mirrorToSession/)
|
||||
assert.match(host, /getAgents/)
|
||||
assert.match(host, /PLUGIN_NAME = 'dsh-ops-cron'/)
|
||||
assert.match(host, /API_PREFIX = '\/dsh-ops-cron'/)
|
||||
|
|
@ -65,6 +66,7 @@ test('installable bundle declares host apply, client half, unique id, and no @de
|
|||
assert.match(client, /ModelField/)
|
||||
assert.match(client, /PresetField/)
|
||||
assert.match(client, /agentPreset/)
|
||||
assert.match(client, /mirrorToSession/)
|
||||
assert.match(client, /inject = \['slots', 'locale', 'settingsScope'\]/)
|
||||
const preset = await readFile(join(root, 'lib/preset.js'), 'utf8')
|
||||
assert.match(preset, /resolveCreateAgentPreset/)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue