channel-worker 1.6.17 → 1.6.18

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.
package/lib/api-client.js CHANGED
@@ -65,7 +65,7 @@ class ApiClient {
65
65
 
66
66
  // Commands
67
67
  async getNextCommand(workerId) {
68
- const workerTypes = 'launch_profile,close_profile,launch_veo3_profile,save_file,set_thumbnail,set_tags,set_file_input,click_and_upload,type_text,verify_logins,update_extension,sync_youtube_stats,restart_worker';
68
+ const workerTypes = 'launch_profile,close_profile,launch_veo3_profile,set_profile_proxy,save_file,set_thumbnail,set_tags,set_file_input,click_and_upload,type_text,verify_logins,update_extension,sync_youtube_stats,restart_worker';
69
69
  return this.request('GET', `/workers/commands?worker_id=${workerId}&types=${encodeURIComponent(workerTypes)}`);
70
70
  }
71
71
 
@@ -136,8 +136,12 @@ class NstManager {
136
136
  headers: { 'Content-Type': 'application/json', 'x-api-key': this.apiKey },
137
137
  body: JSON.stringify(proxyConfig),
138
138
  });
139
+ const text = await res.text();
140
+ console.log(`[nst] setProxy ${method} ${res.status}: ${text.substring(0, 200)}`);
139
141
  if (res.ok) { console.log(`[nst] Proxy saved to profile (${method})`); return; }
140
- } catch {}
142
+ } catch (e) {
143
+ console.warn(`[nst] setProxy ${method} error: ${e.message}`);
144
+ }
141
145
  }
142
146
  console.warn(`[nst] Failed to save proxy to profile — will still use at launch time`);
143
147
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "channel-worker",
3
- "version": "1.6.17",
3
+ "version": "1.6.18",
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": {