techunter 0.1.7 → 0.1.8
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/dist/index.js +10 -0
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -367,6 +367,15 @@ var init_github = __esm({
|
|
|
367
367
|
}
|
|
368
368
|
});
|
|
369
369
|
|
|
370
|
+
// src/lib/proxy.ts
|
|
371
|
+
import { ProxyAgent, setGlobalDispatcher } from "undici";
|
|
372
|
+
function setupProxy() {
|
|
373
|
+
const proxy = process.env.HTTPS_PROXY ?? process.env.https_proxy ?? process.env.HTTP_PROXY ?? process.env.http_proxy ?? process.env.ALL_PROXY ?? process.env.all_proxy;
|
|
374
|
+
if (proxy) {
|
|
375
|
+
setGlobalDispatcher(new ProxyAgent(proxy));
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
|
|
370
379
|
// src/index.ts
|
|
371
380
|
import chalk14 from "chalk";
|
|
372
381
|
import readline from "readline";
|
|
@@ -2990,6 +2999,7 @@ async function runAgentLoop(config, messages) {
|
|
|
2990
2999
|
}
|
|
2991
3000
|
|
|
2992
3001
|
// src/index.ts
|
|
3002
|
+
setupProxy();
|
|
2993
3003
|
var _require = createRequire(import.meta.url);
|
|
2994
3004
|
var { version } = _require("../package.json");
|
|
2995
3005
|
var SLASH_NAMES = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "techunter",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "AI-powered task distribution CLI for development teams",
|
|
5
5
|
"author": "Techunter Contributors",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"openai": "^4.104.0",
|
|
45
45
|
"ora": "^8.1.1",
|
|
46
46
|
"simple-git": "^3.27.0",
|
|
47
|
+
"undici": "^7.23.0",
|
|
47
48
|
"zod": "^3.24.1"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|