aether-code 0.40.0 → 0.41.0
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/package.json +1 -1
- package/src/api.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aether-code",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"description": "Uncensored AI coding agent for your terminal — Claude Code alternative with MCP support. Reads code, writes files, runs commands. Drives IDA Pro, Roblox Studio, Wireshark, Blender, and any MCP server. No refusal layer.",
|
|
5
5
|
"homepage": "https://trynoguard.com",
|
|
6
6
|
"repository": {
|
package/src/api.js
CHANGED
|
@@ -14,7 +14,7 @@ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
|
14
14
|
* string, so resending is safe. For the streaming endpoint only the initial
|
|
15
15
|
* connection is retried.
|
|
16
16
|
*/
|
|
17
|
-
export async function fetchWithRetry(url, options, { retries =
|
|
17
|
+
export async function fetchWithRetry(url, options, { retries = 4, baseDelay = 1000, onRetry } = {}) {
|
|
18
18
|
let attempt = 0;
|
|
19
19
|
while (true) {
|
|
20
20
|
try {
|
|
@@ -202,7 +202,7 @@ export async function agentTurnStream({
|
|
|
202
202
|
|
|
203
203
|
// Watchdog: if the open stream stalls (no bytes) for too long, abort instead
|
|
204
204
|
// of hanging the CLI forever.
|
|
205
|
-
const READ_TIMEOUT_MS =
|
|
205
|
+
const READ_TIMEOUT_MS = 180_000;
|
|
206
206
|
const readOnce = () => {
|
|
207
207
|
let timer;
|
|
208
208
|
const timeout = new Promise((_, reject) => {
|