Skip to content

Releases

Book Studio 0.5.3

Choose a tag to compare

@wblekhoa wblekhoa released this 03 Dec 06:09
  • EPUB and PDF builds write the OPF package with a default namespace (<package xmlns=...>) instead of ns0:
    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-quotes regex graders on the sample-gate and missing-choices evals.
  • Book-context enforcement: shared word-boundary term matching; audit-final adds the advisory class
    glossary_inconsistent (counts and at most 5 block ids); pilot approve needs production-brief.md of at least
    200 characters (PRODUCTION_BRIEF_REQUIRED); bookstudio terms and MCP term_candidates (16 tools) suggest
    terms; three original genre eval cases (technical, self-help, literary). Model evals not run.

Book Studio 0.5.2

Choose a tag to compare

@wblekhoa wblekhoa released this 29 Nov 11:43
  • edits.json op apply_profile (kindle): puts generic Kindle reflow CSS, behind a marker, before every .css member'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 PROJECT and MCP tool audit_final (15 tools) write
    reports/final-audit.json; finish runs it after the build and reports audit as a warning only (exit code and
    release.json unchanged). The skill script audit_final_epub.py is removed.
  • Plugin runner: started by Python older than 3.11 (stock macOS python3 is 3.9), it re-launches itself once with
    a newer Python it finds (python3.1x, or py -3 on Windows). Hook commands use py under 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.html are 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.html take WAVE Core tokens (slate neutrals, soft radius, WAVE spacing and type) with
    a blue accent, through a generated block: python3 scripts/sync_wave_tokens.py writes src/bookstudio/wave_tokens.py
    (--check flags 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: translate asks for a pace after the accepted sample; capture and finish route a described change to
    edits.json. Claude eval suite: 6 cases, all pass on 0.5.1.

Book Studio 0.5.1

Choose a tag to compare

@wblekhoa wblekhoa released this 24 Nov 18:35

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 as python3). 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 cursor

Already on 0.5.0: update the marketplace or rerun install; your projects are unchanged.

Full list: CHANGELOG.md.

Book Studio Core 0.5.0

Choose a tag to compare

@wblekhoa wblekhoa released this 24 Nov 17:49

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|opencode copies the
    hash-checked engine to a per-user folder, adds the skill with absolute run commands and one book-studio MCP
    entry, backs up the app's config and never overwrites someone else's entry. uninstall and --dry-run included.
  • Skill only, no plugin. bookstudio install --host claude-code or --host codex installs just the skill and
    its engine (honours CLAUDE_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 to py -3 when python3 does not run.
  • More over MCP. Revise a sample (pilot with action: revise) and prepare a PDF (pdf_inspect,
    pdf_prepare) from any MCP host.
  • Claude Code. /book-studio:start asks 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 cursor

Known 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

Choose a tag to compare

@wblekhoa wblekhoa released this 02 Nov 10:33

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 view tool 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 review fails with the cache error instead of showing zero progress, and reports
    REVIEW_BUSY if the project keeps changing while it reads. The MCP review result 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, and scripts/build_plugin.py --check fails on drift. A checked one-command Codex install from a
    checkout: python3 scripts/install_codex_plugin.py (--dry-run to 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.0

Verification

  • 288 unit tests on macOS and Linux, Python 3.11–3.14 (CI); public-boundary audit and plugin bundle check pass;
    claude plugin validate --strict and claude 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

Choose a tag to compare

@wblekhoa wblekhoa released this 02 Nov 08:09

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 advisory inline_markup list (allowed tag name, text,
    relative href), and the skill tells the AI to carry it into translation_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 made main fail 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.1

Verification

  • 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

Choose a tag to compare

@wblekhoa wblekhoa released this 13 Oct 07:00

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-studio

Codex:

codex plugin marketplace add wblekhoa/book-studio-core@v0.3.0
codex plugin add book-studio@book-studio

Requires 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:finish and /book-studio:capture.
  • Agents:
    • book-translator translates one packet in an isolated context, so long books don't flood your conversation.
    • editorial-reviewer is 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, its release.json receipt and the translation cache are refused inside a Book Studio project. Corrections go through edits.json and finish instead.
    • When a session starts, Claude lists nearby projects with their exact next command.
  • 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_dir points the plugin at your private projects folder.
  • Official eval suite in plugins/book-studio/evals/ for claude 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 --strict passes 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

Choose a tag to compare

@wblekhoa wblekhoa released this 13 Oct 05:48

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-studio

Start 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 review writes 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, so finish certifies the exact book you read. bookstudio edits capture turns a book edited in an EPUB editor into edits.json.
  • bookstudio apply-drafts checks 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. See docs/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.