You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fc5ca49
Browse filesBrowse the repository at this point in the historyBrowse files
Refreshes the vendored copy from b6a64831 to upstream main 3ad76fba
(v0.4.9), 40 commits. Notable capture fixes: video sources are captured
and localized rather than silently dropped (#320), shorthand-with-var()
declarations the live CSSOM cannot re-serialize are recovered (#319),
default-document captures pair by normalized URL (#317), a source's
entry-URL session carries through capture and media fetch (#316), and
sitemap/robots.txt probes root at the entry origin (#315).
Vendored tree matches upstream verbatim; the committed dist bundles
rebuild byte-identically from source.
Copy file name to clipboardExpand all lines: packages/data-liberation-agent/.claude-plugin/plugin.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "data-liberation",
3
3
"description": "Inspect or liberate any website (GoDaddy Websites & Marketing, Hostinger, HubSpot, Shopify, Squarespace, Webflow, Weebly, Wix, or any other site) into a complete, portable HTML site, then publish it to a live URL.",
Copy file name to clipboardExpand all lines: packages/data-liberation-agent/.codex-plugin/plugin.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "data-liberation",
3
3
"description": "Inspect or liberate any website (GoDaddy Websites & Marketing, Hostinger, HubSpot, Shopify, Squarespace, Webflow, Weebly, Wix, or any other site) into a complete, portable HTML site, then publish it to a live URL.",
Copy file name to clipboardExpand all lines: packages/data-liberation-agent/AGENTS.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,8 +93,8 @@ Reuse is opt-in: a plain re-run recaptures, and `--resume` is what reports `reus
93
93
-`src/index.ts` is the generic public product API. Package imports (`data-liberation` and `data-liberation/runtime`) resolve to the same committed `dist/capture-engine.bundle.mjs`, sharing one set of extension registries. `src/capture-engine.ts` re-exports that API; its filename is historical. Keep runtime browser imports lazy so HTTP-only inspection and registration remain available without Playwright. `npm run test:package` exercises actual browserless and browser-backed workflows from relocated bundles, plus installed types and registry identity. See `docs/runtime-api.md`.
94
94
95
95
-`.mcp.json` starts the server through `scripts/mcp-launcher.mjs`: dev checkouts run `src/` via tsx, plugin installs run the committed bundle `dist/mcp-server.bundle.mjs`. The launcher only falls back to the bundle when dependencies do not resolve, so a dev environment never runs a stale dist.
96
-
-The bundles must be committed, because Codex plugin installs do not restore dependencies. Regenerate with `npm run build:mcp-bundle` after changing `src/` or dependencies; CI fails on drift.
97
-
-Two branches that both regenerate the bundles conflict on them by construction — they're minified, so any two rebuilds differ byte-for-byte even when the underlying source changes don't overlap. `.gitattributes` declares `merge=ours` for both bundle files so git takes one side instead of attempting a textual merge. **Never resolve a bundle conflict by hand-merging the hunks** — a textual merge on minified output can merge cleanly and still be wrong. Regenerate with `npm run build:mcp-bundle` and commit the result; "Verify committed plugin bundles" confirms the committed bytes match a fresh build. GitHub's own conflict check does not run git merge drivers, so its PR banner can still show these files as conflicting even with the attribute in place — pull the branch locally and merge or rebase there, where the attribute takes effect, then push.
96
+
-Committed bundles support dependency-free plugin installs. The serialized `Release` workflow owns `dist/` on **main**: build, package integration, and tests pass before bundles are committed, checked for reproducibility, and handed to Homeboy for release. A concurrent merge rejects the normal push; the queued run rebuilds the latest main. GitHub-token commits do not trigger another push workflow.
97
+
-Feature PRs contain source and tests, with `dist/` unchanged from their merge-base. Run `npm run build` and `npm run test:package` locally, then restore generated output before committing (`git restore --source=HEAD --staged --worktree -- dist`). CI rejects PR-authored `dist/` changes and tests freshly built bundles rather than stale committed bytes. For an older PR that already committed bundles, restore `dist/` from `git merge-base HEAD origin/main` and commit that restoration. Merge main normally afterwards. Bundles are never hand-merged. Main can briefly carry the previous bundles until the distribution job completes; dependency-free consumers should pin a successful release, and source checkouts should build locally.
98
98
-`playwright` and `single-file-cli` stay external to the bundle behind guarded dynamic imports that degrade with install guidance.
99
99
- Playwright's Chromium is not installed on `npm install`. Run `npm run setup:browser` once.
git commit -m "discovery: short description of what you found"
80
81
git push origin improvement/your-branch-name
@@ -131,7 +132,11 @@ skills/liberate/ The one skill, which drives the CLI
131
132
scripts/ Build and packaging
132
133
```
133
134
134
-
`dist/mcp-server.bundle.mjs` and `dist/capture-engine.bundle.mjs` are committed, generated bundles — the plugin installer copies this package verbatim with no build step, so they have to be in git. If your branch conflicts on them, don't hand-merge the hunks: take either side, run `npm run build:mcp-bundle`, and commit the regenerated output. `.gitattributes` declares `merge=ours` for both files, but GitHub's own conflict check never runs git merge drivers, so its PR banner can still show them as conflicting — resolve by merging or rebasing locally instead, where the declaration takes effect, then push. CI's "Verify committed plugin bundles" step is what actually checks correctness; see AGENTS.md for detail.
135
+
`dist/` remains committed for dependency-free plugin installs, and the `Release` workflow maintains it on main. Feature PRs change source and tests only. Build locally with `npm run build`, run `npm run test:package`, and restore generated output before committing. PR CI rejects authored bundle changes and verifies freshly built output instead of requiring a bundle commit.
136
+
137
+
For an older branch that already committed bundles, run `git restore --source="$(git merge-base HEAD origin/main)" --staged --worktree -- dist` and commit the restoration before merging main. This removes the branch's generated-output changes so Git can accept main's bundles normally. Never hand-merge minified output.
138
+
139
+
After a merge, the serialized main workflow builds and tests the latest source, commits regenerated bundles, checks reproducibility, then invokes Homeboy release. A rejected push leaves the newer main untouched; its queued run rebuilds it. Main can briefly contain the previous bundles while that job runs. Dependency-free installations should pin a successful release; development checkouts build from source.
0 commit comments