Commit a1ad60b
Address code review feedback on profile selection
- Drop dead connectedByInstance map in renderProfilesList; only directory
lookup is consulted and the "unresolved host" footer already covers
connected hosts whose instanceId did not resolve.
- Drop the misleading `--timeout` flag on `obu profiles --connected`;
the probe was always hard-capped at 800ms regardless of the flag.
- Cap LevelDB scan reads at 32 MB so a pathological file can't OOM the
host. chrome.storage.local logs are well under 1 MB in practice.
- Clean up unused `picked` return from pickSocketForProfile in
dialBrowserSocketForProfile.
- Skill: split single-profile guidance into "installed and connected"
vs "installed but Chrome closed" so agents prompt the user to open
Chrome instead of silently retrying a doomed connection.
- Plan TC-2: update the JSON field list to match the actual `obu
profiles --json` and `--connected --json` outputs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c391a9c commit a1ad60b
3 files changed
Lines changed: 31 additions & 26 deletions
File tree
- cmd/open-browser-use
- docs/exec-plans/active
- skills/open-browser-use
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
747 | 751 | | |
748 | 752 | | |
749 | 753 | | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
750 | 758 | | |
751 | 759 | | |
752 | 760 | | |
| |||
1350 | 1358 | | |
1351 | 1359 | | |
1352 | 1360 | | |
1353 | | - | |
1354 | 1361 | | |
1355 | 1362 | | |
1356 | 1363 | | |
| |||
1362 | 1369 | | |
1363 | 1370 | | |
1364 | 1371 | | |
1365 | | - | |
| 1372 | + | |
1366 | 1373 | | |
1367 | 1374 | | |
1368 | 1375 | | |
1369 | 1376 | | |
1370 | 1377 | | |
1371 | 1378 | | |
1372 | 1379 | | |
1373 | | - | |
1374 | 1380 | | |
1375 | 1381 | | |
1376 | 1382 | | |
1377 | | - | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
1378 | 1386 | | |
1379 | 1387 | | |
1380 | 1388 | | |
1381 | 1389 | | |
1382 | | - | |
1383 | | - | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
1387 | | - | |
| 1390 | + | |
1388 | 1391 | | |
1389 | 1392 | | |
1390 | 1393 | | |
| |||
1403 | 1406 | | |
1404 | 1407 | | |
1405 | 1408 | | |
1406 | | - | |
1407 | 1409 | | |
1408 | 1410 | | |
1409 | 1411 | | |
1410 | 1412 | | |
1411 | | - | |
1412 | | - | |
1413 | | - | |
1414 | 1413 | | |
1415 | 1414 | | |
1416 | 1415 | | |
| |||
2127 | 2126 | | |
2128 | 2127 | | |
2129 | 2128 | | |
2130 | | - | |
| 2129 | + | |
2131 | 2130 | | |
2132 | 2131 | | |
2133 | 2132 | | |
2134 | | - | |
2135 | 2133 | | |
2136 | 2134 | | |
2137 | 2135 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
56 | 57 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
63 | 69 | | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
67 | | - | |
| 73 | + | |
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
71 | | - | |
| 77 | + | |
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
| |||
79 | 85 | | |
80 | 86 | | |
81 | 87 | | |
82 | | - | |
| 88 | + | |
83 | 89 | | |
84 | 90 | | |
85 | 91 | | |
| |||
0 commit comments