Repository navigation
chore(deps): bun minor and patch group (takes over #2146), one KaTeX, one CodeMirror - #2152
Merged
Merged
Conversation
Applies Dependabot's bun-minor-and-patch bumps (33 packages) and regenerates bun.lock with bun 1.3.14 under the 7-day release-age rule. - katex ^0.16.47 -> ^0.18.11 in @plannotator/ui: mermaid 12.2 needs katex ^0.18, and with ui on 0.16 the plan, inbox and surface builds carried a second KaTeX (+265 to +285 KB each). Dependabot's katex ignore moves to >=0.19.0. - guide-viewer's React peer range stays at ^19.2.8. - apps/telemetry's wrangler joins the others on ^4.151.1. - Nested CodeMirror/Lezer copies left in the lockfile by the in-place update were pruned so every package resolves one CodeMirror. - Regenerated the guides.show viewer manifest (viewer.QlwmHYmZ.js). Supersedes #2146.
…ture hunk; docs: current pins @pierre/diffs 1.5 repairs a hunk whose declared line counts are wrong and logs it with console.error. FIXTURE_PATCH_TS_JSON's first hunk declares 4/6 lines and carries 3/5; it shipped and fixtures are never edited, so inbox-guides' no-errors check allows exactly that one line.
…e bug Playwright 1.64 ships Chromium 156, which on macOS is inside the range where pasteInsert's workaround is on by design (155-156 on mac), so the 'engine without the bug' premise no longer holds there. Linux (CI) keeps the native path and still runs it.
…2026-10 # Conflicts: # packages/core/guide-viewer-manifest.ts
… security overrides - guide-viewer-manifest.ts: rebuilt after merging main, so the JS (viewer.QlwmHYmZ.js) and main's CSS (viewer.Bl3h9ARd.css) pins and their integrities come from one build; check:manifest and budgets pass. - packages/ui/HANDOFF.md: an unreleased 0.54.0 (minor) entry: KaTeX 0.18 (hosts serving their own katex.min.css must move it; 21 internal classes renamed), @pierre/diffs 1.5.2 logs repaired hunks, mermaid 12.2.0, @base-ui/react ^1.9.0, CVE-2026-103923. Math rendering's pin guidance names the version. - overrides: sharp 0.35.5, source-map-js 1.2.2, proxy-addr 2.0.8 (all over 7 days old). Lockfile-only: just those three and the sharp platform packages change; bun install --frozen-lockfile is clean. - inbox-dictation-paste: the skip uses the app's chromiumPasteBugAffected. - AGENTS.md: says where the native-paste case skips.
1 task
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.
Supersedes #2146 (Dependabot,
bun-minor-and-patch). Same bumps, done as our own PR, plus the fixes they needed. #2146 is left open for the owner to close.Bumps
@anthropic-ai/claude-agent-sdk@opencode-ai/sdk@opencode-ai/plugin@opencode/plugin@pierre/diffs@modelcontextprotocol/client,/server@agentclientprotocol/sdk@playwright/testbun-types/@types/bunreact,react-dom(dev / app deps)@types/react,@types/react-domwrangler(relay, guides-show, paste, waitlist, telemetry)vite-plugin-singlefileastro@joplin/turndown-plugin-gfmzodlucide-react@base-ui/reactfast-check@codemirror/commands/language/legacy-modes/state/view@lezer/common/highlight@viz-js/vizmermaidtailwind-mergekatex(@plannotator/ui)bun.lockwas regenerated with bun 1.3.14 underminimumReleaseAge(7 days). Not cherry-picked from Dependabot. Every package version new to the lockfile was checked against the npm registry; all are at least 7 days old today, 2026-10-24. The youngest are[email protected](2026-10-17 22:28Z) and[email protected](2026-10-17 06:15Z).@pierre/diffsis on the repo's release-age exclude list anyway; 1.5.2 was published 2026-10-05.What else changed and why
1. One KaTeX (katex → ^0.18.11). mermaid 12.2.0 depends on
katex ^0.18, but ui was on^0.16.47, so the lockfile got a nestedmermaid/[email protected]. In the single-file builds, Mermaid's ownimport("katex")(inlined byinlineDynamicImports) then bundled that second copy. Measured with theKaTeX parse errorstring, one per KaTeX body:apps/hook/dist/index.html(+ opencodeplannotator.html, piplannotator.html)apps/hook/dist/inbox.htmlapps/hook/dist/surface.htmlreview.html/apps/review/dist/index.html(+ opencode/pi copies)diagram-engine/{engine,mermaid,graphviz}.jsmermaid-math-slot)The fix is bumping ui to
⚠️ For the next
katex ^0.18.11, so the tree dedupes to one[email protected]. KaTeX 0.17 changed only the internal__defineFunctionAPI. KaTeX 0.18 prefixed some internal CSS classes (.basebecame.katex-base, and so on). Plannotator targets only.katexand.katex-display(theme.css, domSelection, belowTitleSlot, useAnnotationHighlighter), and both are unchanged in 0.18. CSS and JS come from the same package, so they stay in step.katexWoff2Onlystill strips everywoff/ttffallback: the index.html has 33woff2data URIs and 0 woff/ttf, and 45 KaTeX faces, the same as main.build/katex-woff2-only.test.tsandtests/entry-assets.test.tspass. Dependabot's katex ignore moves from>=0.17.0to>=0.19.0.@plannotator/uirelease note: a host that loadskatex.min.cssitself (CDN or self-hosted; see HANDOFF "Math rendering") has to move that CSS to 0.18 too, because the class names changed.2. Lockfile: one CodeMirror. An in-place
bun installleft nested@codemirror/[email protected]/[email protected]/[email protected](and old@lezer/*) under@codemirror/autocomplete,lang-*,lint,mergeandsearch. Dependabot's lockfile did not have this; ours did on the first pass. The result: two CodeMirror copies,tscerrors inMarkdownEditor/embedPicker.ts, and about +237 KB in index.html. I pruned only the nested entries whose parent's range is satisfied by the hoisted version, then re-resolved. A full-lockfile check (every dependency resolves to a version satisfying its declared range) reports the same 3 peer-only mismatches main already has (claude-agent-sdk→@anthropic-ai/sdk >=0.93,@opencode/client→effect,wrangler→workers-types ^5). No new duplicates of runtime libraries: one react, react-dom, katex, @pierre/diffs, shiki (the app's 4.4.3; astro keeps its own 4.5.0), and codemirror.3. React peer range.
@plannotator/ui's peer staysreact/react-dom ^19.2.3, which Dependabot didn't touch.@plannotator/guide-viewer(public, not yet on npm) had its peer raised to^19.3.1by Dependabot; kept at^19.2.8, its old floor. Nothing needs 19.3, and HANDOFF records the same choice from 0.38.1 → 0.40.0. Only dev/app deps move to 19.3.1.@plannotator/corehas no React.4.
apps/telemetrywrangler joins the others on^4.151.1(it was added after Dependabot opened #2146 and was left on 4.127).5. Two e2e expectations.
@pierre/diffs1.5 logs repaired hunks: 1.5 repairs a hunk whose declared counts are wrong and now says so withconsole.error. The shipped fixtureFIXTURE_PATCH_TS_JSONhas a miscounted hunk (@@ -1,4 +1,6 @@with 3/5 lines), and fixtures are never edited. Soinbox-guides.spec.ts's no-errors check now allows exactly that one line. It failed on this branch and passed on main before the change. Real git diffs are not affected. Separately, the dictation-paste native case skips on Chromium 155–156 on macOS (see Verified).6. Viewer manifest regenerated.
packages/core/guide-viewer-manifest.tsnow pinsviewer.QlwmHYmZ.js(wasviewer.Xt0toQh_.js) and main'sviewer.Bl3h9ARd.css. Both pins and their integrities come from one build made after merging main, not from a hand-resolved file. Budgets: viewer JS 360.7 KB gz (main 341.1 KB, budget 400 KB), CSS 54.6 KB gz (budget 64 KB), worker import-free, 242 grammar chunks.check:manifestis in sync.7. Security overrides (lockfile-only). The root
overridesgainsharp0.35.5,source-map-js1.2.2 andproxy-addr2.0.8. All are over 7 days old (published 2026-09-27, 09-30 and 09-15). The lockfile diff touches only those packages and the@img/sharp-*platform packages: nothing else re-resolved,@earendil-works/pi-coding-agentstays 0.84.4, andbun install --frozen-lockfileis clean. This clears 3 Trivy alerts, including the critical one (proxy-addr).8. HANDOFF.
packages/ui/HANDOFF.mdgains an unreleased entry for @plannotator/ui 0.54.0 (minor):katex.min.cssmust move it.@pierre/diffs1.5.2 logs repaired hunks.@base-ui/react^1.9.0.The "Math rendering" pin guidance now names the version.
9. Docs: AGENTS.md now says mermaid 12.2.0 / katex ^0.18,
@viz-js/viz3.31.0 and Playwright 1.64.1; the ui README says@viz-js/viz3.31.0.guides.show viewer publish: automatic with the next release tag
There is no manual step.
.github/workflows/guides-show-deploy.ymlbuildsdist/viewer, checks budgets and the manifest, and uploads it add-only to R2 bucketguides-show-viewerunder/v1/on everyv*release tag. The new viewer therefore goes live with the next release tag. Until then, a guide exported by a build frommainnamesviewer.QlwmHYmZ.js, which guides.show does not serve yet. The same tag that ships a release publishes the viewer, so released builds point at files that exist. The new content-hashed files arev1/viewer.QlwmHYmZ.js,v1/worker.BqPn5q6G.jsand their chunks underv1/chunks/; the CSSviewer.Bl3h9ARd.csscomes from main.Byte deltas vs main (raw / gzip -9)
apps/hook/dist/index.html(= opencode/piplannotator.html)apps/hook/dist/review.html(=apps/review/dist/index.html, opencode/pireview-editor.html)apps/hook/dist/inbox.htmlapps/hook/dist/surface.htmldiagram-engine/engine.jsdiagram-engine/mermaid.jsdiagram-engine/graphviz.jsVerified locally (macOS arm64, bun 1.3.14)
Temp
PLANNOTATOR_DATA_DIRs,NO_BROWSER/PLANNOTATOR_BROWSER=/usr/bin/true,PLANNOTATOR_INBOX_CONNECT=0, headless browsers only.bun run typecheck: clean, after a freshnode_modules.bun test: 9961 pass, 2 fail, 2608 skip. Both failures were inpackages/server/inbox-phones-gate.test.ts(a "port refused" check), while I ran Playwright e2e servers at the same time. The file passes 4/4 on its own. The isolated CI steps also pass: the file-browser DOM test, the 7 real-@pierre/diffsDiffViewer tests (40 pass), the UI seam/DOM list (2701 pass) and the DOM allowlist guard.build:review,build:hook,build:opencode, pibuild.apps/pi-extensionbun pm pack --dry-run: the same 290 files as main (51.17 MB vs 51.0 MB).apps/marketing(astro 7.4): builds 48 pages, as on main.wrangler deploy --dry-run(4.151.1) inapps/relay,apps/guides-show,apps/telemetry,apps/paste-service,apps/waitlist-service: all clean, no warnings.apps/telemetrybun test: 9 pass. No real deploy.--define __CLI_VERSION__="0.0.0-dev"), run on main and on this branch, with screenshots compared pixel by pixel. Code review covered all files and single file, split and unified, a line comment (composer, saved, kept across the layout switch, in the draft), Shiki highlighting with a light→dark switch (token colors change), and the Markdown preview Read and Changes views with a Mermaid diagram in light and dark. Every shot is pixel-identical to main, except the random tater name on the comment card (437 px).tests/e2e/inbox-guides.spec.ts(GuideView over AllFilesCodeView with the real renderer: sections, the diff, line and range comments, the Split/Unified tab) passes 11/11 with the fix above.review-diagrams.spec.tspasses 5/5. The new guides.show viewer, served locally and opened overfile://without file-access flags, renders a v1 authored guide (pixel-identical to main's viewer) and the v2 overview fixture with its Mermaid diagram (about 900 px, a 1 px shift below the repaired fixture hunk)./Users/ramos/plannotator/.ops/shots/deps-2146/(new-*vsmain-*).tests/e2ePlaywright suite (Chromium and WebKit, 482 tests) on the compiled binary: 479 passed. 1 failed, then fixed, and the 2 that did not run after it pass on a rerun of the spec. The failure wasinbox-dictation-paste.spec.ts's "engine without the bug". Playwright 1.64.1 ships Chromium 156.0.8078.4 (1.63 shipped 153), and on macOS Chromium 155–156 is exactly wherepasteInsert's plain-text-paste workaround is on by design. That case now skips on such an engine. Linux CI is not in that range, so the test still runs there.package@versionentries already in main'sbun.lock(checked one by one). They were reported again because this PR rewrites the lockfile; none are new. The overrides in item 7 clear 3 of them, including the critical; the rest are pre-existing and left for a separate pass.🤖 Generated with Claude Code