orchestrix-yuri 4.5.4 → 4.5.5
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.
|
@@ -14,15 +14,7 @@ function getProxyConfig() {
|
|
|
14
14
|
if (!proxyUrl) return {};
|
|
15
15
|
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
let HttpsProxyAgent;
|
|
19
|
-
try {
|
|
20
|
-
({ HttpsProxyAgent } = require('https-proxy-agent'));
|
|
21
|
-
} catch {
|
|
22
|
-
// Fallback: resolve from package root
|
|
23
|
-
const pkgRoot = require('path').join(__dirname, '..', '..', '..');
|
|
24
|
-
({ HttpsProxyAgent } = require(require('path').join(pkgRoot, 'node_modules', 'https-proxy-agent')));
|
|
25
|
-
}
|
|
17
|
+
const { HttpsProxyAgent } = require('https-proxy-agent');
|
|
26
18
|
const agent = new HttpsProxyAgent(proxyUrl);
|
|
27
19
|
log.telegram(`Using proxy: ${proxyUrl}`);
|
|
28
20
|
return {
|
|
@@ -240,13 +232,7 @@ function forceDisconnectPolling(token) {
|
|
|
240
232
|
|| process.env.http_proxy || process.env.HTTP_PROXY;
|
|
241
233
|
if (proxyUrl) {
|
|
242
234
|
try {
|
|
243
|
-
|
|
244
|
-
try {
|
|
245
|
-
({ HttpsProxyAgent } = require('https-proxy-agent'));
|
|
246
|
-
} catch {
|
|
247
|
-
const pkgRoot = require('path').join(__dirname, '..', '..', '..');
|
|
248
|
-
({ HttpsProxyAgent } = require(require('path').join(pkgRoot, 'node_modules', 'https-proxy-agent')));
|
|
249
|
-
}
|
|
235
|
+
const { HttpsProxyAgent } = require('https-proxy-agent');
|
|
250
236
|
agent = new HttpsProxyAgent(proxyUrl);
|
|
251
237
|
} catch { /* ok */ }
|
|
252
238
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orchestrix-yuri",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.5",
|
|
4
4
|
"description": "Yuri — Meta-Orchestrator for Orchestrix. Drive your entire project lifecycle with natural language.",
|
|
5
5
|
"main": "lib/installer.js",
|
|
6
6
|
"bin": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@larksuiteoapi/node-sdk": "^1.60.0",
|
|
36
36
|
"grammy": "^1.41.1",
|
|
37
|
-
"https-proxy-agent": "^
|
|
37
|
+
"https-proxy-agent": "^7.0.6",
|
|
38
38
|
"js-yaml": "^4.1.1"
|
|
39
39
|
}
|
|
40
40
|
}
|