refactor: remove browser sidebar extension

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Sinabina
2026-07-21 14:40:30 -07:00
co-authored by Claude Opus 4.8
parent a84a6e233d
commit ab4e9ae520
21 changed files with 12 additions and 6423 deletions
-7
View File
@@ -4,7 +4,6 @@
# Creates a self-contained .app with:
# - Compiled browse binary
# - Playwright's bundled Chromium
# - Chrome extension (sidebar)
# - Info.plist with bundle ID
#
# Output: dist/GStack Browser.app and dist/GStack-Browser.dmg
@@ -63,11 +62,6 @@ chmod +x "$APP_DIR/Contents/MacOS/gstack-browser"
cp "$BUILD_DIR/browse-app" "$APP_DIR/Contents/Resources/browse"
chmod +x "$APP_DIR/Contents/Resources/browse"
# Extension
cp -r "$ROOT/extension" "$APP_DIR/Contents/Resources/extension"
# Remove .auth.json if present (auth now via /health endpoint)
rm -f "$APP_DIR/Contents/Resources/extension/.auth.json"
# Server source (needed for `bun run server.ts` subprocess)
# The launcher sets BROWSE_SERVER_SCRIPT to point at this.
# Copy the full src/ directory since server.ts imports other modules.
@@ -163,7 +157,6 @@ echo ""
echo " $APP_NAME.app: $APP_SIZE"
echo " Contents/MacOS/gstack-browser (launcher)"
echo " Contents/Resources/browse ($(du -sh "$APP_DIR/Contents/Resources/browse" | cut -f1))"
echo " Contents/Resources/extension/ ($(du -sh "$APP_DIR/Contents/Resources/extension" | cut -f1))"
echo " Contents/Resources/chromium/ ($(du -sh "$APP_DIR/Contents/Resources/chromium" | cut -f1))"
# ─── Step 6: DMG (optional) ─────────────────────────────────────
-1
View File
@@ -32,7 +32,6 @@ case "$(uname -s)" in
;;
esac
"$BUN_CMD" run vendor:xterm
"$BUN_CMD" build --compile browse/src/cli.ts --outfile browse/dist/browse
"$BUN_CMD" build --compile browse/src/find-browse.ts --outfile browse/dist/find-browse
"$BUN_CMD" build --compile design/src/cli.ts --outfile design/dist/design