23 Commits

Author SHA1 Message Date
CalamitousFelicitousness 9f987aad8e fix(scripts): range-check the selectable script arg slice
The selectable run and after paths sliced the incoming vector behind an
attribute check alone, so a short vector reached the script as too few
positionals and raised a TypeError out of the runner. Both now resolve the
slice the same way the alwayson hooks do and report the mismatch instead.
2026-08-18 00:36:05 +01:00
CalamitousFelicitousness b12cae1327 fix(scripts): skip a hook whose declared args outrun the vector
The alwayson hook runners checked that a script declared an argument range
but never that the processing object's vector could fill it, so a caller
that did not bootstrap script args splatted fewer positionals than the hook
signature takes. Every registered script raised a TypeError per hook, and
postprocess_image runs per image, so one video generation produced a
traceback per script per frame.

resolve_script_args now answers with the slice or None, and each runner
skips on None. A script that declares no arguments still runs, since its
empty slice is complete rather than truncated.
2026-08-18 00:35:13 +01:00
Vladimir Mandic 9f650367cb multiple cleanups
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-17 09:35:07 +02:00
Vladimir Mandic 76941efc7e strict typechecking
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-16 12:45:50 +02:00
Vladimir Mandic a2b2f25f27 lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-13 21:32:10 +02:00
Vladimir Mandic ad6f3d3e11 minimax ui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-13 15:33:47 +02:00
Vladimir Mandic 9dec85040e video: support for scripts/extensions
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-28 10:43:58 +02:00
Claude 6ef1228727 Fix per-script timing always recording zero
ScriptSummary.record reset the reference timestamp immediately before
measuring against it, so every recorded duration was ~0 and report()
never logged script timings. Measure against the previous timestamp,
then advance it.

https: //claude.ai/code/session_014QWKWgKvMevcuvfCnsYoT2
Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-12 02:41:32 -04:00
Vladimir Mandic 74fc05c9f9 add sd-ultimate-upscale
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-08 10:16:17 +02:00
vladmandic 40e550f1c3 add timer info
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-23 12:49:41 +02:00
vladmandic 14ba5e4ce7 update nudenet
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-09 13:48:54 +02:00
awsr 715b1b0699 More typing updates 2026-03-28 17:30:06 -07:00
awsr b2b6fdf9d5 Typing updates 2026-03-28 17:15:48 -07:00
awsr 8ef8074467 Upgrade to typed NamedTuples 2026-03-28 16:57:59 -07:00
vladmandic b5e9fbc7b3 reorganize scripts/extensions
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-27 14:00:46 +01:00
Vladimir Mandic e5c494f999 cleanup logger 2026-02-19 11:09:13 +01:00
Vladimir Mandic a3074baf8b unified logger 2026-02-19 09:46:42 +01:00
Vladimir Mandic bfe014f5da modernize typing 2026-02-19 09:15:37 +01:00
vladmandic 3ee816888e reduce logging on prompt apply
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 18:37:35 +01:00
vladmandic 2d6cc5addb metadata restore to always-on scrips
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-05 10:21:49 +01:00
Vladimir Mandic 17b8fcd902 lint fixes
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-16 12:59:40 -04:00
Vladimir Mandic cd84cfec11 xyzgrid with control tab
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-15 14:35:27 -04:00
Vladimir Mandic c4d9338d2e major refactoring of modules
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-03 09:18:38 -04:00