Merge remote-tracking branch 'upstream/main' into morl/browse-correctness-patch

# Conflicts:
#	CHANGELOG.md
#	browse/src/cli.ts
This commit is contained in:
morluto 2026-03-13 05:54:34 +08:00
commit 0fab30e5e3
2 changed files with 28 additions and 12 deletions

View File

@ -2,18 +2,17 @@
## 0.0.2 — 2026-03-12
### Changed
- Reworked `/browse` daemon lifecycle so `stop` and `restart` complete cleanly, serialize startup, and persist user-agent changes across restarts.
- Switched snapshot refs from global live locators to tab-local frozen element handles so refs fail stale instead of drifting across tabs or SPA rerenders.
- Updated network capture to track requests by Playwright request identity and report response size/timing without loading response bodies into memory.
### Fixed
- `browse cookie` now supports an explicit origin before first navigation and returns clear guidance on `about:blank`.
- `browse fill` and `browse select` now accept explicit empty-string values.
- Snapshot parsing now preserves accessible names containing escaped quotes.
- Added regression coverage for lifecycle, ref safety, cookie semantics, empty values, quoted names, and same-URL network attribution.
- Fix project-local `/browse` installs — compiled binary now resolves `server.ts` from its own directory instead of assuming a global install exists
- `setup` rebuilds stale binaries (not just missing ones) and exits non-zero if the build fails
- Fix `chain` command swallowing real errors from write commands (e.g. navigation timeout reported as "Unknown meta command")
- Fix unbounded restart loop in CLI when server crashes repeatedly on the same command
- Cap console/network buffers at 50k entries (ring buffer) instead of growing without bound
- Fix disk flush stopping silently after buffer hits the 50k cap
- Fix `ln -snf` in setup to avoid creating nested symlinks on upgrade
- Use `git fetch && git reset --hard` instead of `git pull` for upgrades (handles force-pushes)
- Simplify install: global-first with optional project copy (replaces submodule approach)
- Restructured README: hero, before/after, demo transcript, troubleshooting section
- Six skills (added `/retro`)
## 0.0.1 — 2026-03-11

View File

@ -102,6 +102,23 @@ Everything lives inside `.claude/`. Nothing touches your PATH or runs in the bac
---
```
+----------------------------------------------------------------------------+
| |
| Are you a great software engineer who loves to write 10K LOC/day |
| and land 10 PRs a day like Garry? |
| |
| Come work at YC: ycombinator.com/software |
| |
| Extremely competitive salary and equity. |
| Now hiring in San Francisco, Dogpatch District. |
| Come join the revolution. |
| |
+----------------------------------------------------------------------------+
```
---
## How I use these skills
Created by [Garry Tan](https://x.com/garrytan), President & CEO of [Y Combinator](https://www.ycombinator.com/).