channel-worker 1.6.13 → 1.6.15

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.
@@ -124,6 +124,13 @@ class NstManager {
124
124
  let profileId = profileIdOrName;
125
125
  if (!this.isUUID(profileIdOrName)) {
126
126
  profileId = await this.ensureProfile(profileIdOrName);
127
+ if (!profileId || !this.isUUID(profileId)) {
128
+ // Fallback: try findProfile directly
129
+ const found = await this.findProfile(profileIdOrName);
130
+ if (found && this.isUUID(found)) profileId = found;
131
+ else throw new Error(`Cannot resolve profile UUID for "${profileIdOrName}" (got: ${profileId})`);
132
+ }
133
+ console.log(`[nst] Resolved "${profileIdOrName}" → ${profileId}`);
127
134
  }
128
135
 
129
136
  // If already running, stop first then relaunch
@@ -170,7 +177,7 @@ class NstManager {
170
177
  // Pass proxy as URL string in connect config (Nstbrowser API format)
171
178
  if (options.proxy) {
172
179
  connectConfig.proxy = options.proxy;
173
- connectConfig.args['--proxy-bypass-list'] = 'api.channel.tunasm.art,localhost,127.0.0.1';
180
+ connectConfig.args['--proxy-bypass-list'] = 'api.channel.tunasm.art,*.amazonaws.com,localhost,127.0.0.1';
174
181
  console.log(`[nst] Proxy: ${options.proxy} (bypass: api.channel.tunasm.art)`);
175
182
  }
176
183
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "channel-worker",
3
- "version": "1.6.13",
3
+ "version": "1.6.15",
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": {