Commit Graph

3 Commits

Author SHA1 Message Date
3324adb07a feat(ntfy): separate C&C topic from message ingestion
- Add ntfy_cc_topic config for command and control
- Add separate NtfyPoller for C&C in StreamController
- Implement serial-port-like interface: commands are executed and responses are sent back to the same topic
- Update cmdline.py to use C&C topic
2026-03-15 17:40:20 -07:00
2f1b2591c6 fix(cmdline): make cmdline work without PIL dependency
- Refactor controller to not require importing engine.layers (which imports PIL)
- Add set_effect_chain_ref for external chain registration
- Fix cmdline to use new ref mechanism
2026-03-15 17:35:00 -07:00
b86434ac03 feat(cmdline): add command-line interface for mainline control
Add cmdline.py utility for interacting with mainline:
- Interactive TUI mode (default when no args)
- Local command mode (--local) for testing without ntfy
- Send commands via ntfy (default)
- Watch mode (-w) for continuous stats polling

Usage:
  python cmdline.py                    # Interactive mode
  python cmdline.py --local /effects list
  python cmdline.py /effects stats     # Send via ntfy
  python cmdline.py -w /effects stats  # Watch mode
2026-03-15 17:31:13 -07:00