Kodlama agent’larıyla çalışmak için gereken her şey.
OpenChamber açık kaynaklı, agent tabanlı bir geliştirme ortamıdır. Agent’larınızın işini tek bir yerde tutar ve zaten kullandığınız modellerle çalışır.
Sıralamak için sürükleyin.
Beş istekten birini kaybeden bir bağlantıda 100 yükleme çalıştırdım. Başarısız yüklemeler 23'ten 1'e düştü.
Tek hata sunucunun reddettiği bir dosyaydı, yeniden denemek işe yaramazdı.
Yükleme hızı artık başlıkta dosya adının yanında duruyor ve kuyruk boşken gizleniyor.
Başladım. Gösterecek bir şey olunca buraya yazacağım.
Yeniden ürettim ve nedenini buldum. Düzeltme incelemeye hazır.
Yükleme kuyruğuna üstel geri çekilme ekledim. Başarısız bir parça en fazla beş kez yeniden denenir ve ilerleme çubuğu denemeyi gösterir. Testler zaman aşımını ve 503 durumunu kapsıyor.
Eskiden başarısız bir parça atılıyordu. Artık kuyruk geri çekilme politikasından bir gecikme istiyor ve yeniden denemeyi planlıyor; böylece tüm yeniden denemeler tek bir yerden geçiyor.
Beş başarısız denemeden sonra parça kesin olarak başarısız olur ve yükleme net bir hatayla durur, böylece ölü bir bağlantı sonsuza dek denemez.
Kuyruk değişikliği src/upload/queue.ts dosyasında, bekleme süreleri src/upload/backoff.ts dosyasında.
export async function resume(upload: Upload) { const offset = 0; return sendFrom(upload, offset); const offset = await server.confirmedBytes(upload.id); if (offset >= upload.size) return done(upload); log.debug('resume', upload.id, offset); return sendFrom(upload, offset);}export async function resume(upload: Upload) {export async function resume(upload: Upload) { const offset = 0; const offset = await server.confirmedBytes(upload.id); return sendFrom(upload, offset); if (offset >= upload.size) return done(upload); log.debug('resume', upload.id, offset); return sendFrom(upload, offset);}}Kuyruk her parçanın durumunu diske yazıyor. Şimdi yeniden başlatma yolunu bağlıyorum.
Başlangıçta kuyruk kayıtlı durumu okur ve yalnızca bitmemiş parçaları gönderir, böylece 2 GB dosya baştan başlamaz.
Strateji pazara çıkmamızı söylüyor, bu yüzden bunun için bir fonksiyon ekledim.
1export async function goToMarket() {2await ship();3await tellDenis();4}
Bir test geçiyor. Pazardan henüz yanıt gelmedi.
Test, dosyayı izleyici yazmadan önce okuyordu. Artık flush olayını bekliyor ve art arda 200 çalıştırma geçiyor.
1test('reads the synced file', async () => {2await writeFile(path, 'hello');3await watcher.flushed(path);4const text = await readFile(path);5expect(text).toBe('hello');6});
Bekleme test yardımcısında, bu yüzden diğer sync testleri de düzelir.
Yeni sayfa hazır. Sekmeleri kaldırmadan önce ayar geçişini çalıştırmam gerekiyor.
| Eski sekme | Yeni bölüm |
|---|---|
| Genel | Çalışma alanı |
| Görünüm | Çalışma alanı |
| Hesaplar | Profil |
Geçiş 212 ayarı hatasız işledi ve eski sekmeler kalktı. Tüm ayarlar artık tek sayfada.
Burada durdum. Geçişi çalıştırmak isteyene kadar eski sekmeler kalıyor.
İki bulgu var. Oturum çerezinin süresi dolmuyor ve girişten sonraki yönlendirme her URL'yi kabul ediyor. Gerisi iyi görünüyor.
Tamam. Seçtiğin düzeltmeler testleriyle birlikte eklendi, ertelediklerin pull request üzerinde yorum olarak duruyor.
Anlaşıldı. Hiçbir şey değişmedi, bulgular pull request üzerinde yorum olarak kalıyor.
Yeni komutu temiz bir makinede denedim, çalışıyor.
1bun add -g uploader2uploader --help
Eski curl komutu da hâlâ çalışıyor, bu yüzden yedek olarak kalabilir.
Tamam. Yeni komut istediğin yerde, eskisi yedek olarak duruyor.
Sürenin çoğu her aramada tüm dosyaları okumaya gidiyor. Dizin bunu kısaltıyor, küçük depolar neredeyse değişmiyor.
Dizin bir dosya değişince güncellenir, bu yüzden hiç tam yeniden oluşturma gerekmez.
Ağaç artık diskteki önbellekten yükleniyor ve arka planda yenileniyor. Değişen yalnızca bekleme süresi.
- Önbellek isabetleri
- 94%
- Diskteki boyut
- 2.1 MB
- Ağaç yükleme süresi
- 40 ms
Dal değişince önbellek kendini temizler.
Buldum. Boş dosya null oluyor ve kod hemen ondan bir alan okuyor.
1export function loadConfig(path: string) {2const text = readFileSync(path, 'utf8');3if (text.trim() === '') return defaults;4return { ...defaults, ...parse(text) };5}
Artık boş dosya varsayılan yapılandırma sayılıyor, bozuk dosya net bir hata gösteriyor.
Beş yeni issue var. Üçü gerçek hata, biri bir sonraki sürümü bekleyebilir.
| Issue | Tür |
|---|---|
| Upload stalls at 99% on Safari | bug |
| Crash on a file named final_final_v2_🦆.mov | bug |
| Progress bar jumps back after resume | bug |
| Drag a folder into the upload list | feature |
| Is there a size limit? Asking for a 400 GB log file | question |
Hepsini etiketledim ve yineleneni eski kayda bağladım.
uploader projesinde ne üzerinde çalışıyoruz?
Başarısız yüklemeleri yeniden dene
Yükleme kuyruğuna üstel geri çekilme ekledim. Başarısız bir parça en fazla beş kez yeniden denenir ve ilerleme çubuğu denemeyi gösterir. Testler zaman aşımını ve 503 durumunu kapsıyor.
Eskiden başarısız bir parça atılıyordu. Artık kuyruk geri çekilme politikasından bir gecikme istiyor ve yeniden denemeyi planlıyor; böylece tüm yeniden denemeler tek bir yerden geçiyor.
const result = await sendChunk(chunk); if (!result.ok) return fail(chunk); if (!result.ok) { const delay = backoff.next(chunk.attempt); if (delay === null) return fail(chunk); return schedule(chunk, delay); } progress.advance(chunk.size); const result = await sendChunk(chunk); const result = await sendChunk(chunk); if (!result.ok) return fail(chunk); if (!result.ok) { const delay = backoff.next(chunk.attempt); if (delay === null) return fail(chunk); return schedule(chunk, delay); } progress.advance(chunk.size); progress.advance(chunk.size);const DELAYS = [500, 1000, 2000, 4000, 8000]; export const backoff = { next(attempt: number) { return DELAYS[attempt] ?? null; } }; const DELAYS = [500, 1000, 2000, 4000, 8000];export const backoff = { next(attempt: number) { return DELAYS[attempt] ?? null; }};describe('upload retries', () => { test('keeps the progress bar from going backwards when a retried chunk finishes after a later one', async () => { await upload(slowChunk); expect(progress.value).toBeGreaterThanOrEqual(before); }); test('retries a chunk after a 503', async () => { expect(server.calls).toBe(2); expect(server.calls).toBe(2); expect(server.calls).toBe(2); }); describe('upload retries', () => {describe('upload retries', () => { test('keeps the progress bar from going backwards when a retried chunk finishes after a later one', async () => { await upload(slowChunk); expect(progress.value).toBeGreaterThanOrEqual(before); }); test('retries a chunk after a 503', async () => { test('retries a chunk after a 503', async () => { expect(server.calls).toBe(2); expect(server.calls).toBe(2); expect(server.calls).toBe(2); expect(server.calls).toBe(2); }); });1import { backoff } from './backoff';2import { sendChunk } from './client';3import { progress } from './progress';4import type { Chunk, UploadResult } from './types';56// TODO: remove before launch (added in 2023)7const MAX_PARALLEL = 4;8const queue: Chunk[] = [];9let running = 0;1011export function enqueue(chunks: Chunk[]) {12queue.push(...chunks);13void drain();14}1516async function drain() {17while (running < MAX_PARALLEL && queue.length > 0) {18const chunk = queue.shift();19if (!chunk) return;20running += 1;21await upload(chunk);22running -= 1;23}24}2526export async function upload(chunk: Chunk): Promise<UploadResult> {27const result = await sendChunk(chunk);28if (!result.ok) {29const delay = backoff.next(chunk.attempt);30if (delay === null) return fail(chunk);31return schedule(chunk, delay);32}33progress.advance(chunk.size);34return done(chunk);35}3637function schedule(chunk: Chunk, delay: number) {38chunk.attempt += 1;39progress.retrying(chunk);40setTimeout(() => enqueue([chunk]), delay);41}
Is there a size limit? Asking for a 400 GB log file
- Yazar
- AAlexKutas
- Güncellendi
- 52 dk önce
- Etiketler
- question
The docs say "large files are fine". Mine is 400 GB and the progress bar has said 0% since lunch.
Yorumlar
No hard limit, but chunks are 8 MB, so that is 51 200 of them. Retries make it survivable now. A faster path for huge files is on the list.
Dropping a folder uploads the folder icon
- Yazar
- Yyulia-ivashko
- Güncellendi
- 3 sa önce
- Etiketler
- enhancementupload
Dropping a folder adds one 4 KB file named after the folder. Expected: every file inside it, keeping the folder names as a prefix.
Yorumlar
Progress bar goes 64%, 12%, 64% after a resume
- Yazar
- Bbtriapitsyn
- Güncellendi
- 4 sa önce
- Etiketler
- bugupload
After a resume the bar drops from 64% to 12%, then climbs back. The upload itself continues from the right chunk.
Yorumlar
The bar counts from the first chunk of the resumed batch, not from what the server already has.
That matches what I see: the jump is the size of the finished part.
Crash on a file named final_final_v2_🦆.mov
- Yazar
- AAlexKutas
- Güncellendi
- 5 sa önce
- Etiketler
- bug
Picking the file crashes the uploader before the first chunk. Renaming it to duck.mov works, which is a fine workaround and a terrible fix.
Yorumlar
Reproduced. The name is cut by bytes, not by characters, and the duck is four bytes.
The duck stays. It is the only one who has seen every version.
Upload stalls at 99% on Safari, then at 99.5%
- Yazar
- Bbtriapitsyn
- Güncellendi
- 6 sa önce
- Etiketler
- bugsafari
On Safari 19 the last chunk never reports done. Chrome and Firefox finish the same file.
Yorumlar
Safari fires the progress event, but not load, when the response has no body.
The server can answer the last chunk with a small JSON body. I will try it after #482 lands.
Uploads fail on a flaky connection
- Yazar
- Ddeatheros
- Güncellendi
- 1 gün önce
- Etiketler
- buguploadreliability
On a flaky connection an upload fails at the first dropped chunk and never tries again. Seen on hotel Wi-Fi and on a train between two tunnels.
Expected: the upload pauses and picks up where it stopped.
Yorumlar
Same on mobile data. A 40 MB file fails about one time in three.
Working on it in #482: failed chunks retry with backoff, up to five attempts.
Retry button does nothing while offline, very confidently
- Yazar
- AAlexKutas
- Güncellendi
- 4 gün önce
- Etiketler
- bug
Pressing Retry with the network off does nothing, not even an error. I pressed it 40 times to be sure.
Yorumlar
Fixed in #455: the button now says it waits for the network.
Type the retry options in the SDK, so attemps: 5 stops working
- Yazar
- AAlexKutas
- Güncellendi
- 5 sa önce
- Etiketler
- enhancementsdk
The uploader retries failed chunks now. The SDK client should take the same options, with types, instead of an untyped config object that happily took attemps: 5 for a week.
Yorumlar
Same names as in #482: attempts and delays. #61 starts on it.
Expose upload progress as an async iterator
- Yazar
- AAlexKutas
- Güncellendi
- 2 gün önce
- Etiketler
- enhancement
for await (const progress of upload) would read better than three callbacks and a fourth one nobody remembers adding.
Yorumlar
Başarısız yüklemeleri yeniden dene
- Yazar
- Yyulia-ivashko
- Güncellendi
- 2 sa önce
- Dal
- feat/retry-uploadsmain
- Değişiklikler
- +34−63
- Kontroller
- Hepsi geçti
- İnceleme
- Onaylandı
- Etiketler
- uploadsreliability
Yükleme kuyruğuna üstel geri çekilme ekledim. Başarısız bir parça en fazla beş kez yeniden denenir ve ilerleme çubuğu denemeyi gösterir. Testler zaman aşımını ve 503 durumunu kapsıyor.
Eskiden başarısız bir parça atılıyordu. Artık kuyruk geri çekilme politikasından bir gecikme istiyor ve yeniden denemeyi planlıyor; böylece tüm yeniden denemeler tek bir yerden geçiyor.
Etkinlik
Bekleme süreleri ayarlara taşınabilir mi? Mobilde daha uzun isteyebiliriz.
İyi fikir. Süreler artık tek bir dizi, bu yüzden ayrı bir PR olabilir.
Keep the upload queue on disk, after checking there is a disk
- Yazar
- Yyulia-ivashko
- Güncellendi
- 14 dk önce
- Dal
- feat/resume-uploadsmain
- Değişiklikler
- +58−32
- Kontroller
- 9 kontrolden 3 tanesi çalışıyor
- Etiketler
- uploads
Writes each chunk's state to disk, so a restart picks up where it stopped. Still wiring the restart path.
Etkinlik
Add login with a session cookie
- Yazar
- Ddeatheros
- Güncellendi
- 1 sa önce
- Dal
- feat/loginmain
- Değişiklikler
- +186−127
- Kontroller
- 9 kontrolden 1 tanesi başarısız
- İnceleme
- Değişiklik istendi
- Etiketler
- auth
Adds a login form and keeps the session in a cookie.
Etkinlik
The redirect after login accepts any URL. Can it stay on our own origin?
Add drag and drop for attachments
- Yazar
- AAlexKutas
- Güncellendi
- 4 gün önce
- Dal
- feat/drag-dropmain
- Değişiklikler
- +241−376
- İnceleme
- Onaylandı
- Etiketler
- enhancement
Files dropped on the composer upload as attachments. Folders come in #490.
Etkinlik
Works on all three browsers here. Merging.
Add keyboard shortcuts, and make Esc cancel only one upload
- Yazar
- Bbtriapitsyn
- Güncellendi
- 7 gün önce
- Dal
- feat/shortcutsmain
- Değişiklikler
- +96−84
- İnceleme
- Onaylandı
- Etiketler
- enhancement
Cmd+U picks files, Esc cancels the upload in focus. Before this, Esc cancelled every upload in the window.
Etkinlik
Pass retry options through the SDK client
- Yazar
- Yyulia-ivashko
- Güncellendi
- 1 sa önce
- Dal
- feat/sdk-retry-optionsmain
- Değişiklikler
- +42−53
- Kontroller
- Hepsi geçti
- İnceleme
- İnceleme gerekli
- Etiketler
- sdk
The client takes attempts and delays and hands them to the uploader. Defaults match the app: five attempts, from half a second to eight.
Etkinlik
Types look right. Can the defaults be exported too, so I stop copying them from the README?
Retry budget per upload
- Atanan
- yulia-ivashko
- Ekip
- Uploads
- Öncelik
- Yüksek
- Güncellendi
- 1 sa önce
- Etiketler
- reliability
Five attempts per chunk is fine for one file. A folder of 300 files on a bad connection could retry for an hour. Cap the retries per upload, not only per chunk, before the agents spend the whole budget on one folder.
Yorumlar
A cap of 50 retries per upload, then pause and ask?
Show upload speed in the header
- Atanan
- AlexKutas
- Ekip
- Uploads
- Öncelik
- Orta
- Güncellendi
- 6 sa önce
- Etiketler
- enhancement
Current speed and time left next to the progress bar. Time left should not start at 3 years.
Yorumlar
Resume uploads after a restart
- Atanan
- yulia-ivashko
- Ekip
- Uploads
- Öncelik
- Yüksek
- Güncellendi
- 14 dk önce
- Etiketler
- upload
Keep the queue on disk and restore it on start. In review as #485.
Yorumlar
Stop uploading thumbnails at full size
- Atanan
- btriapitsyn
- Ekip
- Uploads
- Öncelik
- Düşük
- Güncellendi
- 2 gün önce
- Etiketler
- enhancement
A thumbnail of a 48 MP photo is currently a 48 MP photo. A 200 px WebP is plenty.
Yorumlar
Publish the SDK with the retry options
- Atanan
- AlexKutas
- Ekip
- SDK
- Öncelik
- Orta
- Güncellendi
- 1 sa önce
- Etiketler
- sdk
Release once #61 is merged, with the new options in the changelog and not only in the commit messages.
Yorumlar
Document the retry options before someone sets attempts to Infinity
- Atanan
- btriapitsyn
- Ekip
- SDK
- Öncelik
- Düşük
- Güncellendi
- 1 gün önce
- Etiketler
- enhancement
One page with the defaults and an example for a slow connection.
Yorumlar
Entegrasyonlar
Sonuçlar
Öne çıkanlar
Sizin makinenizde çalışır. Her yerden erişin.
Masaüstü uygulaması agent'ları bilgisayarınızda çalıştırır ve sunucularınıza bağlanır. Telefonu bir kez QR koduyla eşleştirin; sonra Private Relay üzerinden, uçtan uca şifreli ve açık port olmadan onlara ulaşır.
uploader projesinde ne üzerinde çalışıyoruz?
uploader projesinde ne üzerinde çalışıyoruz?
uploader projesinde ne üzerinde çalışıyoruz?
Session bulunamadı.
Çalışma durumu panelinin neler göstereceğini seç. Gizli bölümler verilerini korur — yalnızca panelde gösterilmez.
Session Proje Bağlam kaynakları Tur istatistikleri MCPconst result = await sendChunk(chunk); if (!result.ok) { const delay = backoff.next(chunk.attempt); if (delay === null) return fail(chunk); return schedule(chunk, delay); }
const DELAYS = [500, 1000, 2000, 4000, 8000]; export const backoff = { next(attempt: number) { return DELAYS[attempt] ?? null; } };
test('retries a chunk after a 503', async () => { server.respondWith(503); await upload(chunk); clock.tick(500); expect(server.calls).toBe(2); });
Tek görev, birkaç model.
Aynı prompt'u aynı anda birkaç modele gönderin. Her çalıştırma kendi worktree'sini ve branch'ini alabilir. En beğendiğiniz sonucu tutun ya da yanıtları tek bir sonuçta birleştirin.
Büyük bir diff'i adım adım okuyun.
Walkthrough büyük bir diff'i anlamlı olduğu sıraya koyar, her adımı bir cümleyle açıklar ve ana değişikliği işaretler; böylece önce neyi okuyacağınızı bilirsiniz.
Kayıtlarınız ve araçlarınız bir tık uzağınızda.
Bir GitHub issue'sundan, pull request'ten ya da Linear kaydından oturum başlatın; agent tüm tartışmayı alır. Entegrasyon kataloğunda aralarında Figma ve Sentry'nin de olduğu 160'tan fazla hizmet var ve her biri tek tıkla kurulur.
Ona bir hedef ya da bir program verin.
Bir hedef belirleyin; agent ayrı bir kontrol işin bittiğini ya da takıldığını söyleyene kadar tur tur çalışmaya devam eder. Zamanlanmış görevler oturumu kendiliğinden başlatır; her sabah ya da yalnızca önümüzdeki salı bir kez.
Kullananlardan.
Bizim istemediğimiz paylaşımlar.
Seriously, I've spent almost the whole week trying to find a tool that made sense to orchestrate agents and, as a dev (actually, a devops), openchamber is the only one that felt natural and logical.
@1un4rPunk Was looking for a way to run agents from my phone, remotely on my server, other than tmux. Found OpenChamber. It is INSANELY good, highly recommended.
@NihilSineTheo I've had a deep experience with openchamber. I think my choice was right. This thing is really useful, smooth and silky. Go try it out quick, I strongly recommend it, no more messing around blindly.
@realchendahuang I just want to say the app itself is phenomenal. The level of polish is just unreal. I saw OpenChamber back when it was a small project, I think maybe a couple months ago, and now it is unrecognizable. Truly amazing work. The latest release with its streaming feature is everything I could have possibly asked for and more. It is gorgeous and smooth.
Zaten sahip olduğunuz makineye kurun.
macOS, Windows veya Linux’ta masaüstü uygulaması, sunucuda tek bir komut. Sonra nerede olursanız olun oradan açın.
OpenChamber işiniz hakkında hiçbir şey toplamaz. Kod MIT lisanslıdır, yani herkes kontrol edebilir.
Etkinlik
Bekleme süreleri ayarlara taşınabilir mi? Mobilde daha uzun isteyebiliriz.
İyi fikir. Süreler artık tek bir dizi, bu yüzden ayrı bir PR olabilir.