Bundle Downloader

{#if hasFileSystemAccess} {:else}
⚠️ Directory mode not available in this browser. Files will download individually.
{/if}
{#if !isDownloading} {#if downloadedBundles.length > 0} {/if} {:else} {/if}
{#if isDownloading}

{progress}% ({successCount}/{totalBundles})

{/if}
{#if downloadedBundles.length > 0}

{isDownloading ? 'Downloading...' : 'Results'} ({successCount}/{downloadedBundles.length})

{#each downloadedBundles as bundle (bundle.number)} {/each}
File Source Status Size
{padBundleNumber(bundle.number)}.jsonl.zst {bundle.source ? getInstanceName(bundle.source) : '-'} {#if bundle.status === 'downloading'} ⏳ Downloading {:else if bundle.status === 'success'} ✅ Success {:else if bundle.status === 'cancelled'} ⚠️ Cancelled {:else} ❌ Error {/if} {bundle.size ? formatBytes(bundle.size) : '-'}
{successCount}
Success
{errorCount}
Failed
{cancelledCount}
Cancelled
{formatBytes(totalSize)}
Total
{/if}