feat: modernize extension build and workspace UI #23

Open
CoderLambert wants to merge 23 commits from refactor/foundation-wxt into main
CoderLambert commented 2026-09-16 03:32:50 +08:00 (Migrated from github.com)

Summary\n\nThis integration PR continues the modernization branch for the Manifest V3 extension.\n\n- WXT/Vite multi-browser build matrix for Chrome, Edge, and Firefox\n- React workspace shell with Provider readiness, library status, and Compare/Handoff status\n- React Prompt, Template, Session, and Compare/Handoff drawers\n- Explicit legacy action/result bridges preserving Storage, Provider runtime, response collection, Schema validation, export, and Agent handoff ownership\n- Local React/shadcn-style assets only; no permission, CSP, DNR, credential, or response-persistence expansion\n\n## Validation\n\n- pnpm typecheck\n- npm run check\n- npm test: 42/42\n- git diff --check\n- pnpm package:extension:matrix\n- pnpm verify:matrix\n- Chrome/Edge/Firefox SHA-256 and unzip -t\n\n## Deferred final checks\n\nPer development decision, browser loading/E2E is intentionally deferred. Before merge, please run Chrome/Edge/Firefox loading checks plus the protected authenticated provider smoke flow. The current local Chromium environment is also missing libnspr4.so.\n\nRelated Issues: #16 #17 #18 #19 #20 #21 #22

## Summary\n\nThis integration PR continues the modernization branch for the Manifest V3 extension.\n\n- WXT/Vite multi-browser build matrix for Chrome, Edge, and Firefox\n- React workspace shell with Provider readiness, library status, and Compare/Handoff status\n- React Prompt, Template, Session, and Compare/Handoff drawers\n- Explicit legacy action/result bridges preserving Storage, Provider runtime, response collection, Schema validation, export, and Agent handoff ownership\n- Local React/shadcn-style assets only; no permission, CSP, DNR, credential, or response-persistence expansion\n\n## Validation\n\n- pnpm typecheck\n- npm run check\n- npm test: 42/42\n- git diff --check\n- pnpm package:extension:matrix\n- pnpm verify:matrix\n- Chrome/Edge/Firefox SHA-256 and unzip -t\n\n## Deferred final checks\n\nPer development decision, browser loading/E2E is intentionally deferred. Before merge, please run Chrome/Edge/Firefox loading checks plus the protected authenticated provider smoke flow. The current local Chromium environment is also missing libnspr4.so.\n\nRelated Issues: #16 #17 #18 #19 #20 #21 #22
CoderLambert commented 2026-09-16 03:37:48 +08:00 (Migrated from github.com)

[CI FIX]\nHEAD: b3db136 (pushed)\n\n远程 PR 首轮 CI 发现并已修复两项配置问题:\n- Release Matrix checksum 改为进入 dist 后校验归档内的相对文件名;\n- Browser Smoke 改为手动 workflow_dispatch,先构建 dist/chrome-mv3,再以 headless 模式运行;不再在开发期 push/PR 自动执行 E2E,符合当前执行决定。\n\n本地验证:pnpm typecheck、npm run check、npm test 43/43、git diff --check,以及三份归档 checksum/unzip 全部通过。

[CI FIX]\nHEAD: b3db136 (pushed)\n\n远程 PR 首轮 CI 发现并已修复两项配置问题:\n- Release Matrix checksum 改为进入 dist 后校验归档内的相对文件名;\n- Browser Smoke 改为手动 workflow_dispatch,先构建 dist/chrome-mv3,再以 headless 模式运行;不再在开发期 push/PR 自动执行 E2E,符合当前执行决定。\n\n本地验证:pnpm typecheck、npm run check、npm test 43/43、git diff --check,以及三份归档 checksum/unzip 全部通过。
CoderLambert commented 2026-09-16 03:42:34 +08:00 (Migrated from github.com)

[FINAL VALIDATION]\n\nHEAD b3db136 is pushed and PR checks are clean. CI and Release Matrix passed for push and pull_request; Chrome/Edge/Firefox builds passed. Local pnpm typecheck, npm run check, npm test (43/43), verify:matrix, and git diff --check passed.\n\nBrowser E2E/authenticated smoke remains intentionally deferred per maintainer instruction. Browser Smoke is manual-only and now builds the generated Chrome artifact before running; local Chromium is unavailable because libnspr4.so is missing. PR remains OPEN/CLEAN pending merge and final maintainer browser validation.

[FINAL VALIDATION]\n\nHEAD b3db136 is pushed and PR checks are clean. CI and Release Matrix passed for push and pull_request; Chrome/Edge/Firefox builds passed. Local pnpm typecheck, npm run check, npm test (43/43), verify:matrix, and git diff --check passed.\n\nBrowser E2E/authenticated smoke remains intentionally deferred per maintainer instruction. Browser Smoke is manual-only and now builds the generated Chrome artifact before running; local Chromium is unavailable because libnspr4.so is missing. PR remains OPEN/CLEAN pending merge and final maintainer browser validation.
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin refactor/foundation-wxt:refactor/foundation-wxt
git checkout refactor/foundation-wxt
Sign in to join this conversation.