gstack/browse/src
Garry Tan cf8416290d
fix: crash handling — save session, kill agent, distinct exit codes
Hardened shutdown/crash behavior:
- Browser disconnect exits with code 2 (distinct from crash code 1)
- emergencyCleanup kills agent subprocess and saves session state
- Clean shutdown saves session before exit (chat history persists)
- Clear user message on browser disconnect: "Run $B connect to reconnect"

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 19:39:56 -07:00
..
activity.ts feat: activity streaming — SSE endpoint for Chrome extension Side Panel 2026-03-21 10:23:43 -07:00
browser-manager.ts fix: crash handling — save session, kill agent, distinct exit codes 2026-03-21 19:39:56 -07:00
buffers.ts feat: Phase 3.5 — cookie import, QA testing, team retro (v0.3.1) (#29) 2026-03-13 00:31:41 -07:00
bun-polyfill.cjs fix: Windows support — Node.js server fallback for Playwright (#255) 2026-03-20 12:22:11 -07:00
chrome-launcher.ts chore: cleanup chrome-launcher runtime detection, remove puppeteer-core dep 2026-03-21 12:47:04 -07:00
cli.ts fix: state file authority — CDP server cannot be silently replaced 2026-03-21 16:58:37 -07:00
commands.ts feat: browse connect/disconnect/focus CLI commands 2026-03-21 10:23:35 -07:00
config.ts feat: TODOS-aware skills, 2-tier Greptile replies, gitignore fix (#61) 2026-03-14 20:15:11 -07:00
cookie-import-browser.ts feat: Phase 3.5 — cookie import, QA testing, team retro (v0.3.1) (#29) 2026-03-13 00:31:41 -07:00
cookie-picker-routes.ts feat: v0.3.2 — project-local state, diff-aware QA, Greptile integration (#36) 2026-03-13 18:10:56 -07:00
cookie-picker-ui.ts feat: Phase 3.5 — cookie import, QA testing, team retro (v0.3.1) (#29) 2026-03-13 00:31:41 -07:00
find-browse.ts feat: multi-agent support — gstack works on Codex, Gemini CLI, and Cursor (v0.9.0) (#226) 2026-03-19 18:20:50 -07:00
meta-commands.ts feat: browse connect/disconnect/focus CLI commands 2026-03-21 10:23:35 -07:00
platform.ts fix: Windows support — Node.js server fallback for Playwright (#255) 2026-03-20 12:22:11 -07:00
read-commands.ts fix: Windows support — Node.js server fallback for Playwright (#255) 2026-03-20 12:22:11 -07:00
server.ts fix: crash handling — save session, kill agent, distinct exit codes 2026-03-21 19:39:56 -07:00
sidebar-agent.ts feat: sidebar agent streaming events + session state management 2026-03-21 16:58:41 -07:00
snapshot.ts fix: Windows support — Node.js server fallback for Playwright (#255) 2026-03-20 12:22:11 -07:00
url-validation.ts fix: security hardening + issue triage (v0.8.3) (#205) 2026-03-19 01:58:43 -05:00
write-commands.ts fix: Windows support — Node.js server fallback for Playwright (#255) 2026-03-20 12:22:11 -07:00