Een agentische ontwikkelomgeving.
Het is open source en werkt met de modellen die u al gebruikt. Start een agent op de ene machine en ga verder met dezelfde sessie op een andere.
Sleep om de volgorde te wijzigen.
Ik heb 100 uploads gedraaid op een verbinding die één op de vijf verzoeken verliest. Mislukte uploads daalden van 23 naar 1.
De ene fout was een bestand dat de server weigerde, dus opnieuw proberen hielp niet.
De uploadsnelheid staat nu in de header naast de bestandsnaam en verdwijnt als de wachtrij leeg is.
Ik ga ermee aan de slag. Ik meld me hier zodra er iets te zien is.
Nagebootst en de oorzaak gevonden. De fix is klaar voor review.
Exponentiële backoff toegevoegd aan de uploadwachtrij. Een mislukt stuk wordt tot vijf keer opnieuw geprobeerd en de voortgangsbalk toont de poging. De tests dekken de timeout en het 503-geval.
Vroeger werd een mislukt stuk weggegooid. Nu vraagt de wachtrij het backoff-beleid om een wachttijd en plant de nieuwe poging, zodat elke retry via één plek loopt.
Na vijf mislukte pogingen faalt de chunk definitief en stopt de upload met een duidelijke fout, zodat een dode verbinding niet eindeloos opnieuw probeert.
De wijziging aan de wachtrij staat in src/upload/queue.ts, en src/upload/backoff.ts bevat de wachttijden.
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);}}De wachtrij schrijft de status van elke chunk naar schijf. Nu koppel ik het pad na een herstart.
Bij het starten leest de wachtrij de bewaarde status en stuurt alleen onafgemaakte chunks, dus een bestand van 2 GB begint niet opnieuw.
De strategie zegt dat we de markt op moeten, dus daar heb ik een functie voor toegevoegd.
1export async function goToMarket() {2await ship();3await tellDenis();4}
Eén test slaagt. De markt heeft nog niet gereageerd.
De test las het bestand voordat de watcher het had geschreven. Nu wacht hij op de flush, en 200 runs op rij slagen.
1test('reads the synced file', async () => {2await writeFile(path, 'hello');3await watcher.flushed(path);4const text = await readFile(path);5expect(text).toBe('hello');6});
Het wachten zit in de testhelper, dus de andere sync-tests krijgen de fix ook.
De nieuwe pagina is klaar. Ik moet de migratie van de instellingen uitvoeren voordat ik de tabbladen verwijder.
| Oud tabblad | Nieuwe sectie |
|---|---|
| Algemeen | Werkruimte |
| Weergave | Werkruimte |
| Accounts | Profiel |
De migratie verwerkte 212 instellingen zonder fouten en de oude tabbladen zijn weg. Alle instellingen staan nu op één pagina.
Ik stop hier. De oude tabbladen blijven tot u de migratie wilt uitvoeren.
Twee bevindingen. De sessiecookie verloopt nooit, en de redirect na het inloggen accepteert elke URL. De rest ziet er goed uit.
Klaar. De gekozen fixes zijn doorgevoerd, elk met een test, en wat u hebt uitgesteld blijft als opmerking op de pull request.
Begrepen. Er is niets veranderd, en de bevindingen blijven als opmerkingen op de pull request.
Ik heb het nieuwe commando op een schone machine geprobeerd en het werkt.
1bun add -g uploader2uploader --help
Het oude curl-commando werkt ook nog, dus dat kan als alternatief blijven.
Klaar. Het nieuwe commando staat waar u het wilde, en het oude blijft als alternatief.
De meeste tijd gaat op aan het lezen van alle bestanden bij elke zoekopdracht. Een index verkort dat, en kleine repo's veranderen nauwelijks.
De index werkt bij wanneer een bestand verandert, dus een volledige herbouw is nooit nodig.
De boom laadt nu uit een cache op schijf en vernieuwt op de achtergrond. Alleen de wachttijd verandert.
- Cachetreffers
- 94%
- Grootte op schijf
- 2.1 MB
- Laadtijd van de boom
- 40 ms
De cache leegt zichzelf als de branch verandert.
Gevonden. Een leeg bestand wordt null, en de code leest er meteen een veld uit.
1export function loadConfig(path: string) {2const text = readFileSync(path, 'utf8');3if (text.trim() === '') return defaults;4return { ...defaults, ...parse(text) };5}
Nu telt een leeg bestand als standaardconfiguratie, en een kapot bestand geeft een duidelijke fout.
Vijf nieuwe issues. Drie zijn echte bugs, en één daarvan kan wachten tot de volgende release.
| Issue | Soort |
|---|---|
| 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 |
Ik heb ze allemaal gelabeld en het duplicaat aan de oudere melding gekoppeld.
Waar werken we aan in uploader?
Mislukte uploads opnieuw proberen
Exponentiële backoff toegevoegd aan de uploadwachtrij. Een mislukt stuk wordt tot vijf keer opnieuw geprobeerd en de voortgangsbalk toont de poging. De tests dekken de timeout en het 503-geval.
Vroeger werd een mislukt stuk weggegooid. Nu vraagt de wachtrij het backoff-beleid om een wachttijd en plant de nieuwe poging, zodat elke retry via één plek loopt.
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
- Auteur
- AAlexKutas
- Bijgewerkt
- 52 min geleden
- Labels
- question
The docs say "large files are fine". Mine is 400 GB and the progress bar has said 0% since lunch.
Reacties
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
- Auteur
- Yyulia-ivashko
- Bijgewerkt
- 3 u geleden
- Labels
- 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.
Reacties
Progress bar goes 64%, 12%, 64% after a resume
- Auteur
- Bbtriapitsyn
- Bijgewerkt
- 4 u geleden
- Labels
- bugupload
After a resume the bar drops from 64% to 12%, then climbs back. The upload itself continues from the right chunk.
Reacties
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
- Auteur
- AAlexKutas
- Bijgewerkt
- 5 u geleden
- Labels
- 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.
Reacties
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%
- Auteur
- Bbtriapitsyn
- Bijgewerkt
- 6 u geleden
- Labels
- bugsafari
On Safari 19 the last chunk never reports done. Chrome and Firefox finish the same file.
Reacties
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
- Auteur
- Ddeatheros
- Bijgewerkt
- 1 d geleden
- Labels
- 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.
Reacties
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
- Auteur
- AAlexKutas
- Bijgewerkt
- 4 d geleden
- Labels
- bug
Pressing Retry with the network off does nothing, not even an error. I pressed it 40 times to be sure.
Reacties
Fixed in #455: the button now says it waits for the network.
Type the retry options in the SDK, so attemps: 5 stops working
- Auteur
- AAlexKutas
- Bijgewerkt
- 5 u geleden
- Labels
- 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.
Reacties
Same names as in #482: attempts and delays. #61 starts on it.
Expose upload progress as an async iterator
- Auteur
- AAlexKutas
- Bijgewerkt
- 2 d geleden
- Labels
- enhancement
for await (const progress of upload) would read better than three callbacks and a fourth one nobody remembers adding.
Reacties
Mislukte uploads opnieuw proberen
- Auteur
- Yyulia-ivashko
- Bijgewerkt
- 2 u geleden
- Branch
- feat/retry-uploadsmain
- Wijzigingen
- +34−63
- Checks
- Alles geslaagd
- Review
- Goedgekeurd
- Labels
- uploadsreliability
Exponentiële backoff toegevoegd aan de uploadwachtrij. Een mislukt stuk wordt tot vijf keer opnieuw geprobeerd en de voortgangsbalk toont de poging. De tests dekken de timeout en het 503-geval.
Vroeger werd een mislukt stuk weggegooid. Nu vraagt de wachtrij het backoff-beleid om een wachttijd en plant de nieuwe poging, zodat elke retry via één plek loopt.
Activiteit
Kunnen de wachttijden in de config? Op mobiel willen we misschien langere.
Goed idee. De wachttijden zijn nu één array, dus dat kan in een vervolg-PR.
Keep the upload queue on disk, after checking there is a disk
- Auteur
- Yyulia-ivashko
- Bijgewerkt
- 14 min geleden
- Branch
- feat/resume-uploadsmain
- Wijzigingen
- +58−32
- Checks
- 3 van 9 bezig
- Labels
- uploads
Writes each chunk's state to disk, so a restart picks up where it stopped. Still wiring the restart path.
Activiteit
Add login with a session cookie
- Auteur
- Ddeatheros
- Bijgewerkt
- 1 u geleden
- Branch
- feat/loginmain
- Wijzigingen
- +186−127
- Checks
- 1 van 9 mislukt
- Review
- Wijzigingen gevraagd
- Labels
- auth
Adds a login form and keeps the session in a cookie.
Activiteit
The redirect after login accepts any URL. Can it stay on our own origin?
Add drag and drop for attachments
- Auteur
- AAlexKutas
- Bijgewerkt
- 4 d geleden
- Branch
- feat/drag-dropmain
- Wijzigingen
- +241−376
- Review
- Goedgekeurd
- Labels
- enhancement
Files dropped on the composer upload as attachments. Folders come in #490.
Activiteit
Works on all three browsers here. Merging.
Add keyboard shortcuts, and make Esc cancel only one upload
- Auteur
- Bbtriapitsyn
- Bijgewerkt
- 7 d geleden
- Branch
- feat/shortcutsmain
- Wijzigingen
- +96−84
- Review
- Goedgekeurd
- Labels
- enhancement
Cmd+U picks files, Esc cancels the upload in focus. Before this, Esc cancelled every upload in the window.
Activiteit
Pass retry options through the SDK client
- Auteur
- Yyulia-ivashko
- Bijgewerkt
- 1 u geleden
- Branch
- feat/sdk-retry-optionsmain
- Wijzigingen
- +42−53
- Checks
- Alles geslaagd
- Review
- Review vereist
- Labels
- 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.
Activiteit
Types look right. Can the defaults be exported too, so I stop copying them from the README?
Retry budget per upload
- Toegewezen aan
- yulia-ivashko
- Team
- Uploads
- Prioriteit
- Hoog
- Bijgewerkt
- 1 u geleden
- Labels
- 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.
Reacties
A cap of 50 retries per upload, then pause and ask?
Show upload speed in the header
- Toegewezen aan
- AlexKutas
- Team
- Uploads
- Prioriteit
- Gemiddeld
- Bijgewerkt
- 6 u geleden
- Labels
- enhancement
Current speed and time left next to the progress bar. Time left should not start at 3 years.
Reacties
Resume uploads after a restart
- Toegewezen aan
- yulia-ivashko
- Team
- Uploads
- Prioriteit
- Hoog
- Bijgewerkt
- 14 min geleden
- Labels
- upload
Keep the queue on disk and restore it on start. In review as #485.
Reacties
Stop uploading thumbnails at full size
- Toegewezen aan
- btriapitsyn
- Team
- Uploads
- Prioriteit
- Laag
- Bijgewerkt
- 2 d geleden
- Labels
- enhancement
A thumbnail of a 48 MP photo is currently a 48 MP photo. A 200 px WebP is plenty.
Reacties
Publish the SDK with the retry options
- Toegewezen aan
- AlexKutas
- Team
- SDK
- Prioriteit
- Gemiddeld
- Bijgewerkt
- 1 u geleden
- Labels
- sdk
Release once #61 is merged, with the new options in the changelog and not only in the commit messages.
Reacties
Document the retry options before someone sets attempts to Infinity
- Toegewezen aan
- btriapitsyn
- Team
- SDK
- Prioriteit
- Laag
- Bijgewerkt
- 1 d geleden
- Labels
- enhancement
One page with the defaults and an example for a slow connection.
Reacties
Integraties
Resultaten
Uitgelicht
Draait op uw machine. Bereikbaar vanaf elke plek.
De desktopapp draait agents op uw computer en maakt verbinding met uw servers. Koppel een telefoon één keer met een QR-code; daarna bereikt die ze via Private Relay, end-to-end versleuteld en zonder open poort.
Waar werken we aan in uploader?
Waar werken we aan in uploader?
Waar werken we aan in uploader?
Geen sessies gevonden.
Kies wat het werkstatuspaneel toont. Verborgen secties behouden hun gegevens — ze blijven alleen buiten het paneel.
Sessie Project Contextbronnen Beurtstatistieken 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); });
Eén taak, meerdere modellen.
Stuur dezelfde prompt tegelijk naar meerdere modellen. Elke uitvoering kan een eigen worktree en branch krijgen. Houd het resultaat dat u het best bevalt, of voeg de antwoorden samen tot één.
Lees een grote diff als rondleiding.
De walkthrough zet een grote diff in de volgorde waarin hij logisch is, legt elke stap in één zin uit en markeert de belangrijkste wijziging, zodat u weet wat u eerst leest.
Uw tickets en tools, één klik verderop.
Start een sessie vanuit een GitHub-issue, een pull request of een Linear-ticket, en de agent krijgt de hele discussie. De integratiecatalogus heeft meer dan 160 diensten, waaronder Figma en Sentry, en elk installeert u met één klik.
Geef het een doel of een planning.
Stel een doel in en de agent werkt beurt na beurt door, tot een aparte controle zegt dat het klaar is of vastzit. Geplande taken starten zelf een sessie, elke ochtend of één keer volgende dinsdag.
Van mensen die het gebruiken.
Berichten waar we niet om vroegen.
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 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 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 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.
Installeer het op de machine die u al hebt.
De desktopapp op macOS, Windows of Linux, of één opdracht op een server. Open het daarna vanaf waar u ook bent.
OpenChamber verzamelt niets over uw werk. De code valt onder de MIT-licentie, dus iedereen kan het controleren.
Activiteit
Kunnen de wachttijden in de config? Op mobiel willen we misschien langere.
Goed idee. De wachttijden zijn nu één array, dus dat kan in een vervolg-PR.