channel-worker 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -105,11 +105,10 @@ class NstManager {
105
105
  profileId = await this.ensureProfile(profileIdOrName);
106
106
  }
107
107
 
108
- // If already running, stop first to reload with fresh extension
108
+ // If already running, skip don't restart
109
109
  if (await this.isProfileRunning(profileId)) {
110
- console.log(`[nst] Profile ${profileId} already running — restarting to load extension`);
111
- await this.stopProfile(profileId);
112
- await new Promise(r => setTimeout(r, 3000)); // wait for browser to close
110
+ console.log(`[nst] Profile ${profileId} already running — skipping`);
111
+ return { profileId, alreadyRunning: true };
113
112
  }
114
113
 
115
114
  // Set proxy before launch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "channel-worker",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Channel Manager worker daemon — runs on remote machines to execute video pipeline jobs",
5
5
  "main": "lib/daemon.js",
6
6
  "bin": {