Edge isn’t for smartapps, only device type handlers which are now Edge drivers. Webcore was a smartapp.
And chatGPT can’t help. For one thing, it’s too far behind, and there have been too many changes in the smartthings architecture after the chatGPT cutoff date. More importantly, it just can’t do stuff like that yet.
If you want to keep using webcore, you can, but you will need to buy a Hubitat hub. It has added webcore as an official feature. And there are several edge Driver based projects that let you use smartthings and hubitat together, so, if you want, you can keep all your existing devices on your existing smartthings hub, and just move your Webcore pistons over to hubitat.
To find these projects, check the quick browse lists in the community – created wiki, and look on the list for “edge services.”
https://thingsthataresmart.wiki/index.php?title=Quick_Browse_Lists_for_Edge_Drivers
But that’s just if you want to continue to use webcore with zero learning curve.
If you’re willing to learn a new way of doing things, there are several alternatives on the new smartthings architecture that have similar functionality to webcore. See the following discussion thread: