I would like a panel with a textbox that says "What would you like to do?"
I would describe a task and the software would perform it, using some basic vision and the existing API built into Photoshop.
For example:
"Select every shape layer and the layer directly below it, and for each, put them in a group."
"Add 'preview_' to the start of every layer name"
"Select the outline of every layer and add a layer mask to each"
"Copy the layer style from first text layer and apply it to every text layer"
"Repeat the last 3 operations performed on Layer1 to every layer"
"Distribute the selected layers in an evenly spaced circle around the center"
Strictly speaking, I could open up a project right now, and every 20 seconds, think of another example.
To me, this is a significantly more important feature than the ability to use AI to paint or draw for me. There's loads of things that can be done via Action (and I use them a lot), but Actions lack the ability to adjust on-the-fly, and take time to set up (and require me to do half the task in order to record one). Every menu, tool, and option in Photoshop is documented and tool-tipped; actions already have a scripting api.