mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-08-01 16:43:37 +08:00
fix(desktop): rebuild the preview-agent bundle after the UI rollback
`preview-agent.js` is a tracked build artifact, bundled from desktop/src/preview-agent/ by build:preview-agent and shipped as a packaged resource. The rollback (e9b53f68) deleted that source's theme.ts and trimmed editBubble.ts, but never rebuilt the artifact -- it appears in neither revert's file list, so the committed blob was last produced at ad597ffe. The result is a bundle built from source that no longer exists: it still carries all 12 --cc-haha-* custom properties the deleted theme.ts defined, plus the shadcn-era brand hex, and lacks the literal styling the current source emits. It is internally consistent so nothing crashes -- the packaged app just renders styling that diverges from what the repository says it should. Rebuilt from the current source. Verified byte-stable across repeated builds, so this does not reintroduce artifact drift.
This commit is contained in:
parent
e9b53f6848
commit
8678e49a4d
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user