Wider ranges, an agent guide, patch and effects commands

Every effect's sliders and clamps now reach far (a nudge from a tremor
to an earthquake, a banner that stays minutes). AGENTS.md documents the
file schema, every option and range, the CLI, verification and worked
scenarios for scripts and coding agents; attention-required effects
prints the catalog as JSON, patch merges keys into a rule, docs prints
the guide.
This commit is contained in:
2026-09-08 17:21:44 +01:00
parent bd752d0968
commit e5053de6a7
12 changed files with 259 additions and 40 deletions
+3 -3
View File
@@ -47,9 +47,9 @@ Item {
title = Rules.renderTemplate(custom, notif, rule)
body = custom ? "" : Rules.stripTags(notif ? notif.body : "")
position = opts.position === "center" || opts.position === "bottom" ? String(opts.position) : "top"
size = number(opts.intensity, 1, 0.5, 2.5)
slideMs = Math.round(1000 / number(opts.speed, 4, 1, 10))
holdMs = Math.round(number(opts.duration, 3, 0.5, 30) * 1000)
size = number(opts.intensity, 1, 0.2, 6)
slideMs = Math.round(1000 / number(opts.speed, 4, 0.2, 50))
holdMs = Math.round(number(opts.duration, 3, 0.1, 300) * 1000)
glow = resolveColor(opts.color)
off.stop()
hide.stop()