so I have one command to launch a process in a monitored session without having to remember and do the enabling by hand in the Konsole window each time.
Hm right, for finished process I could just do stuff; notify-send 'finished'. But I’d like to be able to do the same for monitoring for prompts for example. And make use of the distinction between focused and non-focused sessions.
And if we are to add such commandline switches, perhaps we can add a general switch to all KDE apps instead, e.g.
konsole --action 'Konsole: monitor process finish' --action 'Konsole: monitor activity'
And pass these actions to KCommandBar (or KActionCollection?).
One problem is the name of the action varies in different locales, so you can’t copy&paste command lines created by users from other locales. Maybe KCommandBar can show the internal action name or English name (vscode does this) along with the localized name.