Repository navigation
v1.4.1 - Balloon ownership, artwork preservation, and config-driven provider routes
Summary
Version 1.4.1 covers every commit since v1.4.0: balloon ownership and merged-line fixes, sound-effect and artwork preservation, layered-reader hover placement, worker provider health and config-driven routes, runtime queue hardening, and the documentation/CI gates added during the audit.
Highlights
- Balloon ownership and merged lines — balloon ownership is resolved per raw OCR line before merging, with one shared policy for reader and Studio. Topological partitions are validated by polygon area, merged lines re-resolve their balloon, two-line welds use a relaxed group majority, and traced contours own the typeset box. Studio re-typesets contours on resize instead of scaling glyphs.
- One sentence, one balloon — staggered balloon columns merge into one sentence, welded regions keep the balloon's full width, duplicate whole-balloon readings are dropped, and skewed native dialogue stays out of the high-tilt drop.
- Sound-effect artwork preservation — sound effects, short OCR fragments, and brush lettering are preserved by default instead of being erased and translated. Latin text is never misclassified as artwork, preserved artwork is never painted during export, and the preserve pair is kept together through every stage.
- Layered-reader hover fix — hover resolution follows
elementsFromPointpaint order, and the control is placed from measuredgetBoundingClientRect()values through one sharedrequestAnimationFrametracker, so covered pages in fixed readers queue the hovered page. - Worker provider health and configuration — adds the live credential health probe and CI gate, accepts both configured Google OAuth audiences, and makes provider routes configuration-driven: catalog-owned reasoning/routing parameters, configurable Gemini endpoint and schema field, catalog-owned Workers AI concurrency, one exhaustive output-mode plan, and one shared dispatcher. ADR-013 and devlog 103 record the decision and evidence.
- Runtime queue hardening — single-command delivery, an honest queue guard, and batch error reset.
- Settings — Max Queue Capacity moves to Advanced & Integrations.
- Documentation and CI — documentation coverage ratchet and TSDoc shape gate, generated API reference, tightened
AGENTS.md, and store-listing copy cleanup.
Verification
- Extension suite: 1,467 tests / 126 files passing (
npm test). - Worker suite: 146 tests / 11 files passing under Node 22.14.0 (
node:sqlite); the quota suite does not load on Node 20. - Worker typecheck: clean. Lint: clean on changed paths. Docs gates:
docs:check880/880 documented with 0 shape violations;docs:apizero warnings. - Production build: clean; package contains
dist/manifest.jsonat 1.4.1. - Version:
package.jsonandmanifest.jsonbumped from 1.4.0 to 1.4.1.
Compatibility
Drop-in for existing installs. No storage migration: saved profiles, popup state, and the community pool request contract are unchanged. The worker's Gemini route now sends one configured schema field instead of both; a live per-route probe is still required before deploying the worker, and ADR-013 records the one-line responseSchema fallback. Worker source changes are included in this release; deploying them to the production Worker is a separate step.
Repack — 2026-11-15
The v1.4.1 release asset was rebuilt in place from current main at cf01ee6. Version and tag remain v1.4.1; no new release was cut.
Additional fixes in this asset:
- Stacked balloon layout — restored the donor split for stacked lobes and stepped panels (
b0b9cc7), then fixed the tall three-utterance case (image8) by falling back from a full-height topological cell to Koharu's horizontal anchor bisectors (cf01ee6).THANK YOU.,WE HAVE AN APPOINTMENT FOR 4 P.M., andI AM...now occupy separate horizontal regions instead of narrow vertical strips. - Short CJK names — a high-confidence two-glyph OCR block (for example
莲实) is kept as dialogue when punctuation was dropped, instead of being classified as artwork and left untranslated (7a23ce4). - Staggered captions — free-text columns belonging to one caption merge into one sentence (
9b1a2be). - Visual harness — the neural bubble visual pass now receives a real canvas instead of silently downgrading every line to free text (
0df553c); this is test-only.
Verification for the rebuilt asset: npm test 1,474 tests / 126 files passing, npx tsc -b clean, npm run build clean, npm run docs:check 0 shape violations, npm run docs:api generated.
Studio typeset fixes — 28daa96
The asset was rebuilt again in place from current main at 28daa96. Version and tag remain v1.4.1; no new release was cut.
- Bubble Contour reflows on resize — measured pipeline lines are treated as generated layout, so resizing un-wraps and re-breaks the words instead of keeping the first translation's line structure.
- Caption Box fits its box — keeps the persisted word-to-line split and grows or shrinks the glyph size to fill the caption; a manual size edit stays pinned until the next geometry change.
- YOLO contour frames real balloons — the carrier-relative 10x area guard was replaced with a page-relative 80% leak guard. Sparse dialogue in a large balloon now uses the traced contour box instead of the tight text carrier.
- Balanced Fit uses the slider ceiling — the fit cap is
maxFontSizeCap ?? 48instead ofmin(max(fontSize, 48), cap), so a 59px fit can grow to the 120px slider maximum.
Verification for this rebuild: npm test 1,479 tests / 126 files passing, npx tsc -b clean, npm run build clean, npm run docs:check 0 shape violations, npm run docs:api generated, npm run lint 0 errors.
Reader per-image controls — 5f69526
The asset was rebuilt again in place from current main at 5f69526. Version and tag remain v1.4.1; no new release was cut.
- Per-image translate controls — hovering another page no longer removes a queued image's spinner. Each pending translation keeps its own control pinned to its own image, while the hovered control shows that image's own state. Five queued images show five independent spinners.
- Auto-translate feedback — automatic translation now uses the same pending state, so queued visible images show a spinner instead of appearing ignored.
- Eye toggle after re-entry — the control keeps its mounted image target and uses
data-kites-orig-srcas the stable registry identity instead of the post-translation blob URL. Re-entering a translated image and toggling no longer freezes on one view. - Original restoration fallback — restoring the original falls through the target backup attrs, source attr, and archived record, so a recycled backing image without its own backup can still be restored.
- Queue semantics unchanged — the background pipeline remains strictly serial; Max Queue Capacity still bounds waiting jobs, not parallel execution.
Verification for this rebuild: npm test 1,484 tests / 126 files passing, npx tsc -b clean, npm run build clean, npm run docs:check 0 shape violations, npm run docs:api generated, npm run lint 0 errors.