@danhachuel/thunderbolt 0.2.92 → 0.2.94

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.
@@ -127,7 +127,7 @@ DEFAULTS: dict[str, Any] = {
127
127
  "apify_actor_id": "streamers~youtube-scraper",
128
128
  "apify_poll_interval_seconds": 10,
129
129
  "apify_run_timeout_seconds": 900,
130
- "llm_provider": DEFAULT_LLM_PROVIDER
130
+ "llm_provider": DEFAULT_LLM_PROVIDER,
131
131
  "moonshot_api_key": "",
132
132
  "moonshot_base_url": "",
133
133
  "moonshot_model_name": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danhachuel/thunderbolt",
3
- "version": "0.2.92",
3
+ "version": "0.2.94",
4
4
  "description": "Thunderbolt — interface local para operação de canais faceless e motor MoneyPrinterTurbo",
5
5
  "license": "MIT",
6
6
  "main": "scripts/cli.mjs",
package/scripts/cli.mjs CHANGED
@@ -188,8 +188,8 @@ proxy.on("upgrade", (request, clientSocket, head) => {
188
188
  const upstreamSocket = net.connect(backendPort, "127.0.0.1", () => {
189
189
  const headers = Object.entries(request.headers)
190
190
  .map(([name, value]) => `${name}: ${Array.isArray(value) ? value.join(", ") : value}`)
191
- .join("\\r\\n");
192
- upstreamSocket.write(`GET ${request.url} HTTP/1.1\\r\\n${headers}\\r\\n\\r\\n`);
191
+ .join("\r\n");
192
+ upstreamSocket.write(`GET ${request.url} HTTP/1.1\r\n${headers}\r\n\r\n`);
193
193
  if (head.length) upstreamSocket.write(head);
194
194
  clientSocket.pipe(upstreamSocket).pipe(clientSocket);
195
195
  });