I have started working on StepTalk semi-persistent environments. By semi-persistent I mean, that they are persistent from point of view of processes. On the other hand, the environments being processes themselves, they are destroyed between computer restarts.
Scripting environment, as mentioned, is a process of the stenvironment tool. The process creates a scripting environment object and wraps it in a Distributed Objects (DO) server that represents the process. To "talk" inside the environment, one has to create a distant conversation (STDistantConversation) with the named server.
To get better picture, very simplified analogy is a database server (= scripting environment), database connection (= conversation) and a SQL script (= StepTalk script).