Repository navigation
Releases
Book Studio 0.5.3
- EPUB and PDF builds write the OPF package with a default namespace (
<package xmlns=...>) instead ofns0:
prefixes; Apple Books opened such a book as a blank page. - Skill: never quote or cite its own rules to the user; it asks for what it needs, or states the next step, in the
user's language (BSC-CHAT-012).no-rule-quotesregex graders on thesample-gateandmissing-choicesevals. - Book-context enforcement: shared word-boundary term matching;
audit-finaladds the advisory class
glossary_inconsistent(counts and at most 5 block ids);pilot approveneedsproduction-brief.mdof at least
200 characters (PRODUCTION_BRIEF_REQUIRED);bookstudio termsand MCPterm_candidates(16 tools) suggest
terms; three original genre eval cases (technical, self-help, literary). Model evals not run.
Book Studio 0.5.2
edits.jsonopapply_profile(kindle): puts generic Kindle reflow CSS, behind a marker, before every.cssmember's own rules (book rules win)
comment, once and deterministically; book-specific CSS stays in the book's own edits (BSC-EDIT-PROFILE-001).- Final-EPUB audit moved into the engine:
bookstudio audit-final PROJECTand MCP toolaudit_final(15 tools) write
reports/final-audit.json;finishruns it after the build and reportsauditas a warning only (exit code and
release.jsonunchanged). The skill scriptaudit_final_epub.pyis removed. - Plugin runner: started by Python older than 3.11 (stock macOS
python3is 3.9), it re-launches itself once with
a newer Python it finds (python3.1x, orpy -3on Windows). Hook commands usepyunder Git Bash on Windows. - Claude Code progress line: read the MCP result the host actually hands a hook (JSON text), so the line shows in a
live session; before this it stayed empty outside the test runner. - Progress line, Codex panel and
reports/review.htmlare icon-first English for every book: status, counts and
badges are an icon plus a number; one sentence only when the reader must reply in chat or something failed. The
review page folds the CLI command into a "Terminal" section. JSON for the AI (next_command,hint) is unchanged. - Codex panel and
reports/review.htmltake WAVE Core tokens (slate neutrals, soft radius, WAVE spacing and type) with
a blue accent, through a generated block:python3 scripts/sync_wave_tokens.pywritessrc/bookstudio/wave_tokens.py
(--checkflags drift; needs a WAVE checkout). Layout and wording are unchanged (BSC-WAVE-001..003). Chapter rows
show a progress ring filled to the share translated (check when done, dash when skipped). Icons are still
project-drawn until WAVE ships an open-licence set. - Commands:
translateasks for a pace after the accepted sample;captureandfinishroute a described change to
edits.json. Claude eval suite: 6 cases, all pass on 0.5.1.
Book Studio 0.5.1
Book Studio now checks your setup and asks before doing anything big.
What changed
- Python, asked first. Before the first command the skill checks for Python 3.11 or newer, including newer
versions already on the machine (macOS often ships 3.9 aspython3). If none is found it proposes one install
route for your system and runs it only after you agree; commands that need an admin prompt are handed to you. - Clearer old-Python error. The engine now names the Python it found and what to run instead.
- No surprise full runs. After you accept the sample, the agent says how many passages remain and asks the pace:
the whole book in one go, or chapter by chapter with a short report after each. - Better first questions. Intake asks why you are reading (relaxed reading, study or work, learning the source
language) to recommend bilingual or not, faithful or adaptive, and asks which names or terms to keep.
Install
# Claude Code
claude plugin marketplace add wblekhoa/book-studio-core#v0.5.1
claude plugin install book-studio@book-studio
# Codex
codex plugin marketplace add wblekhoa/book-studio-core@v0.5.1
codex plugin add book-studio@book-studio
# Other apps, or the skill alone (Windows: py instead of python3)
git clone --branch v0.5.1 https://github.com/wblekhoa/book-studio-core
cd book-studio-core
python3 plugins/book-studio/scripts/bookstudio.py install --host cursorAlready on 0.5.0: update the marketplace or rerun install; your projects are unchanged.
Full list: CHANGELOG.md.
Book Studio Core 0.5.0
Book Studio now installs into the AI app you already use, on macOS, Linux or Windows, with one command.
What changed
- One command for other AI apps.
bookstudio install --host cursor|antigravity|kimi|opencodecopies the
hash-checked engine to a per-user folder, adds the skill with absolute run commands and onebook-studioMCP
entry, backs up the app's config and never overwrites someone else's entry.uninstalland--dry-runincluded. - Skill only, no plugin.
bookstudio install --host claude-codeor--host codexinstalls just the skill and
its engine (honoursCLAUDE_CONFIG_DIR/CODEX_HOME). No host settings change. - Windows. UTF-8 MCP stdio whatever the code page, CRLF-safe briefs, Windows paths in install and archive
checks; CI runs on Windows with Python 3.11–3.14. The Codex plugin installer no longer refuses Windows, and the
plugin commands fall back topy -3whenpython3does not run. - More over MCP. Revise a sample (
pilotwithaction: revise) and prepare a PDF (pdf_inspect,
pdf_prepare) from any MCP host. - Claude Code.
/book-studio:startasks which job you want first (translate, bilingual, restyle, PDF to EPUB,
fix formatting, edit a finished book), then only that job's questions.
Install
# Claude Code
claude plugin marketplace add wblekhoa/book-studio-core#v0.5.0
claude plugin install book-studio@book-studio
# Codex
codex plugin marketplace add wblekhoa/book-studio-core@v0.5.0
codex plugin add book-studio@book-studio
# Other apps, or the skill alone (Windows: py instead of python3)
git clone --branch v0.5.0 https://github.com/wblekhoa/book-studio-core
cd book-studio-core
python3 plugins/book-studio/scripts/bookstudio.py install --host cursorKnown limits
- The Claude Code and Codex plugins have not yet been run on a real Windows machine; on Windows the
skill-only install (--host claude-code/--host codex) is the checked route. - Python 3.11+ is required and not bundled. PDFs need a text layer (no OCR).
Full list: CHANGELOG.md.
Book Studio 0.4.0: chat-first workflow
Book Studio now works as a conversation: the agent reads a little of your book before asking what it still needs,
shows the sample in chat, and you approve, ask for changes, pause or continue in plain words.
What changed
- Chat-first intake. Before asking for missing choices, the agent sees bounded, untrusted excerpts from up to
three source documents. Sample review, pause and continue happen in chat; the existing sample-approval and
final-book gates are unchanged. - Progress inside the AI app (experimental). A read-only
viewtool plus a Claude Code Mods progress line and a
Codex MCP Apps panel show saved progress and source/translation pairs. Whether a host draws them depends on the
host and its version; the conversation works without them, and no view can accept a sample. - Safer review.
bookstudio reviewfails with the cache error instead of showing zero progress, and reports
REVIEW_BUSYif the project keeps changing while it reads. The MCPreviewresult uses one snapshot for the saved
page and the view, and no longer embeds the HTML page. - Packaging. Portable root
plugin.json/mcp.json; all plugin manifests take their version from
pyproject.toml, andscripts/build_plugin.py --checkfails on drift. A checked one-command Codex install from a
checkout:python3 scripts/install_codex_plugin.py(--dry-runto preview). The MCP server refuses book paths
inside the installed plugin.
Install
codex plugin marketplace add wblekhoa/book-studio-core@v0.4.0
claude plugin marketplace add wblekhoa/book-studio-core#v0.4.0
pipx install git+https://github.com/wblekhoa/book-studio-core.git@v0.4.0Verification
- 288 unit tests on macOS and Linux, Python 3.11–3.14 (CI); public-boundary audit and plugin bundle check pass;
claude plugin validate --strictandclaude plugin test(5/5) pass. - An independent review of this work found doc overclaims, a broken fallback and version drift; all were fixed
before release. - Not yet run: the live Claude Code eval suite. The in-host panel was checked on one macOS Codex desktop build only.
Book Studio Core is source-available under the Book Studio Personal Use License 1.0, not an open-source license.
Book Studio 0.3.1: inline formatting hints
A small quality release on top of 0.3.0.
What changed
- Inline formatting is no longer lost silently. Packet blocks expose flattened text, so emphasis, links,
superscripts, subscripts and code inside a sentence could disappear unless the AI happened to write
translation_xhtml. Each such block now carries an advisoryinline_markuplist (allowed tag name, text,
relativehref), and the skill tells the AI to carry it intotranslation_xhtml. Noterefs and anchors are left
to the builder, so following the hint cannot duplicate them. Packet IDs, prepared block maps and existing caches
are unchanged. - The public-boundary audit accepts the top-level
CLAUDE.md(it mademainfail its own audit after 0.3.0). - Install instructions now point to
v0.3.1; Python 3.14 is declared (CI already tested it).
Install
pipx install git+https://github.com/wblekhoa/book-studio-core.git@v0.3.1
codex plugin marketplace add wblekhoa/book-studio-core@v0.3.1
claude plugin marketplace add wblekhoa/book-studio-core#v0.3.1Verification
- 268 unit tests on macOS and Linux, Python 3.11–3.14 (CI), public-boundary audit and plugin bundle check pass.
- Not yet run: the live Claude Code eval suite (
docs/behavior-evals.md).
Book Studio Core is source-available under the Book Studio Personal Use License 1.0, not an open-source license.
Book Studio 0.3.0: Claude Code plugin
Book Studio now installs as a Claude Code plugin as well as a Codex plugin. Both use the same folder, the same skill and the same bundled engine. Your books stay on your machine.
Install
Claude Code (CLI, the desktop app's Code tab, or VS Code):
claude plugin marketplace add wblekhoa/book-studio-core
claude plugin install book-studio@book-studioCodex:
codex plugin marketplace add wblekhoa/book-studio-core@v0.3.0
codex plugin add book-studio@book-studioRequires Python 3.11–3.14 on macOS or Linux. Windows is not supported yet. Don't use claude.ai web chat, because it would require uploading your book.
What's new in 0.3.0
- Commands:
/book-studio:translate,/book-studio:review,/book-studio:finishand/book-studio:capture. - Agents:
book-translatortranslates one packet in an isolated context, so long books don't flood your conversation.editorial-revieweris a read-only review of the sample or the final book against your production brief.
- Guard rails (hooks):
- Direct edits to the certified
final.epub, itsrelease.jsonreceipt and the translation cache are refused inside a Book Studio project. Corrections go throughedits.jsonandfinishinstead. - When a session starts, Claude lists nearby projects with their exact next command.
- Direct edits to the certified
- MCP server: 11 structured tools (
status,start,pilot,next_packet,apply_response,apply_drafts,review,finish,verify,capture_edits,doctor) with the same gates as the CLI. A sample can only be accepted with explicit user confirmation. - Experimental in-chat review: the review tool declares an MCP Apps view where the host supports it. Other hosts show a text summary and the page path.
- Optional setting:
projects_dirpoints the plugin at your private projects folder. - Official eval suite in
plugins/book-studio/evals/forclaude plugin eval.
How it was tested
- 262 unit tests, including new hook and MCP tests. CI on macOS and Linux with Python 3.11–3.14.
claude plugin validate --strictpasses for both the plugin and the marketplace.- Clean-room installs from GitHub in Claude Code and Codex. The installed runner reports
bookstudio 0.3.0. - Not yet run: the live Claude eval suite. Its results will be added to
docs/behavior-evals.md. The Codex behaviour scenarios from 0.2.0 still apply to the shared skill.
Licence
This is source-available software under the Book Studio Personal Use License 1.0, not an OSI open-source licence. It is for private copies for your own reading, study, accessibility or research. Generated books must not be sold, published, uploaded, shared or redistributed. See LICENSE.
Book Studio 0.2.0
Book Studio translates whole EPUB books and supported text-layer PDFs with the AI assistant you already use. Before the full book, it shows you a translated sample to review. Your project, translations and output stay on your own machine. The bundled Python engine only checks, packages and verifies; it never calls a model or uploads anything.
Install (Codex)
codex plugin marketplace add wblekhoa/book-studio-core@v0.2.0
codex plugin add book-studio@book-studioStart a new Codex thread, pick Book Studio, and ask: "Help me translate this book. Ask about anything I haven't specified, and prepare a sample first."
- Requirements: Python 3.11–3.14 on macOS or Linux. The plugin bundles its own engine, so you don't need pip or an API key. Poppler is optional and only needed for PDFs.
- Windows is not supported yet. Known gaps: console encoding, CRLF line endings in identity hashes, and backslash member paths.
- Standalone CLI:
pipx install git+https://github.com/wblekhoa/book-studio-core.git@v0.2.0
What's new in 0.2.0
- A sample-first workflow with structured questions up front, so the AI asks for missing choices instead of guessing.
bookstudio reviewwrites a private, read-only HTML page: the sample next to its source, progress per chapter, the final-gate status, and the exact next command.- Declared edits (
edits.json). Corrections made after the build (wording, contents page, CSS, a cover mark) are pinned by hash and applied inside the build, sofinishcertifies the exact book you read.bookstudio edits captureturns a book edited in an EPUB editor intoedits.json. bookstudio apply-draftschecks a whole file of chapter drafts first, then applies it through the same safety gates. It stops at the sample review.- PDF Source Gateway, production briefs, final-EPUB audits, localized navigation labels, and a portable skill installer.
How it was tested
- 253 unit tests. CI on macOS and Linux with Python 3.11–3.14.
- A clean install from GitHub with an isolated Codex home, then the end-to-end suites run through the installed runner.
- Three live Codex scenarios: missing choices, stopping at the sample review, and a post-build fix through
edits.json. Seedocs/behavior-evals.md. - A security review of the new edit, drafts and review code. Every high and medium finding was fixed and has a regression test.
Licence: please read before use
This is source-available software under the Book Studio Personal Use License 1.0, not an OSI open-source licence. You may use it to make private copies for your own reading, study, accessibility or personal research. Generated books must not be sold, monetized, published, uploaded, shared or redistributed. Commercial use needs separate written permission from the licensor and from every rights holder of the books you process. Use it only with books you have the right to process; it does not bypass DRM. Read LICENSE and skills/book-translation/references/personal-use-and-rights.md.