Skip to content

Local artifacts file browse and download#4

Open
pmilford wants to merge 11 commits intomshumer:mainfrom
pmilford:main
Open

Local artifacts file browse and download#4
pmilford wants to merge 11 commits intomshumer:mainfrom
pmilford:main

Conversation

@pmilford
Copy link
Copy Markdown

This PR adds a local file browser for the created artifacts. There is a UI button labeled "files" in the upper right to display it.

Useful to help see what is going on during a run. The log files and agent files are placed in a directory called
run/_

Also added .gitignore

Coding was all done by Google Jules to my specification. I tested with test deploy on runway/Modal and running a task
that hasn't completed on Modal.

google-labs-jules bot and others added 11 commits November 28, 2025 20:30
- Added backend endpoints in `api_server.py` for listing, reading, and downloading files.
- Added `ArtifactsBrowser` component in frontend to navigate and view local files.
- Integrated "Files" button in `LabNotebook` to access the file browser.
- Verified backend with Python tests and frontend with Playwright.
Add File Browser and Artifact Download to UI
- Added backend endpoints in `api_server.py` for listing, reading, and downloading files.
- Added `ArtifactsBrowser` component in frontend to navigate and view local files.
- Integrated "Files" button in `LabNotebook` to access the file browser.
- Verified backend with Python tests and frontend with Playwright.
- Increased z-index of header buttons in `LabNotebook.tsx` to z-[60] to prevent them from being covered by the run header.
- Added refresh buttons to `ArtifactsBrowser.tsx` for both the file list and file preview.
- Verified fixes with Playwright.
- Modified `main.py` to create unique run directories (`runs/<task>_<timestamp>`).
- Updated `logger.py` to support dynamic log file paths.
- Updated `orchestrator.py` to save `final_paper.md` and agent transcripts to the run directory.
- Pass `--run-dir` to subprocess agents to unify logging context.
Implement Run-Specific Artifact Management, including saving to task specific directory in new runs/ directory.
Also save logs, writeup.md  and some of the agent interactions here.
- Refactor file saving logic into `_save_final_paper` helper.
- Ensure `final_paper.md` is saved when the orchestrator loop terminates successfully with `[DONE]` in both Gemini and Claude loops.
- Previously, the file was only saved in the fallback path, causing missing output for successful runs.
Fix missing final paper file on successful completion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant