Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
Merge published unified downloader fixes
Dashf91071344ad4
diff --cc apps/desktop/src/main/downloader/transport.tsindex 1b7df400e4,54c7e3c331..ab1f4b5cb0--- a/apps/desktop/src/main/downloader/transport.ts+++ b/apps/desktop/src/main/downloader/transport.ts@@@ -221,16 -202,17 +221,17 @@@ export async function executeOnce(ctx:total: opts.expectedSize ?? total,onProgress: opts.onProgress,});- meta = {- url: opts.url,- expectedSize: opts.expectedSize ?? total,- expectedSha256: opts.sha256,- downloadedBytes: loaded,- etag: boundedHeader(response, 'etag', 1024),- lastModified: boundedHeader(response, 'last-modified', 256),- createdAt: new Date().toISOString(),- updatedAt: new Date().toISOString(),- };+ if (opts.resume !== false)+ meta = {+ url: opts.url,+ expectedSize: opts.expectedSize ?? total,+ expectedSha256: opts.sha256,+ downloadedBytes: loaded,- etag: response.headers.get('etag'),- lastModified: response.headers.get('last-modified'),++ etag: boundedHeader(response, 'etag', 1024),++ lastModified: boundedHeader(response, 'last-modified', 256),+ createdAt: new Date().toISOString(),+ updatedAt: new Date().toISOString(),+ };let lastMetaWriteAt = 0;armTimer(opts.timeout?.idleMs ?? 30_000);while (true) {