fix(ci): include popup assets in extension release zip#444
Merged
jackwener merged 4 commits intojackwener:mainfrom Mar 26, 2026
Merged
fix(ci): include popup assets in extension release zip#444jackwener merged 4 commits intojackwener:mainfrom
jackwener merged 4 commits intojackwener:mainfrom
Conversation
Copy popup assets into the packaged Chrome extension zip and validate that manifest-referenced files exist before publishing the artifact. Co-authored-by: Codex <noreply@openai.com>
…ckwener#446) (jackwener#452) tsc does not preserve the +x bit when compiling, so after clean-dist removes dist/ and tsc regenerates it, dist/main.js loses its executable permission. This causes 'Permission denied' when users run 'npm run build' in the installed directory. Fix: read bin entries from package.json at the end of build-manifest and chmod 0o755 them (skipped on Windows). Wrapped in try/catch so it never breaks the build. Closes jackwener#446
* fix yahoo-finance quote e2e invocation * fix positional args in v2ex topic tests
jackwener
added a commit
to Xeron2000/opencli
that referenced
this pull request
Mar 26, 2026
* fix(ci): include popup assets in extension release Copy popup assets into the packaged Chrome extension zip and validate that manifest-referenced files exist before publishing the artifact. Co-authored-by: Codex <noreply@openai.com> * fix: restore executable permission on bin entries after tsc build (jackwener#446) (jackwener#452) tsc does not preserve the +x bit when compiling, so after clean-dist removes dist/ and tsc regenerates it, dist/main.js loses its executable permission. This causes 'Permission denied' when users run 'npm run build' in the installed directory. Fix: read bin entries from package.json at the end of build-manifest and chmod 0o755 them (skipped on Windows). Wrapped in try/catch so it never breaks the build. Closes jackwener#446 * fix: correct positional arg usage in tests (jackwener#449) * fix yahoo-finance quote e2e invocation * fix positional args in v2ex topic tests * fix(ci): script extension release packaging --------- Co-authored-by: Codex <noreply@openai.com> Co-authored-by: jakevin <jakevingoo@gmail.com> Co-authored-by: pi-dal <hi@pi-dal.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
popup.htmlandpopup.jsinto the packaged extension artifactmanifest.jsonexist before zippingProblem
The v1.4.1 release asset
opencli-extension.zipomits the popup files even though the manifest declaresaction.default_popup: popup.html. Loading the unpacked release in Chrome fails with:That leaves the daemon running but the extension unable to connect.
Verification
npm run buildinextension/manifest.json,dist/background.js,popup.html, andpopup.js