v0.12.2
Bug-fix release: the MCP search tool no longer crashes on non-ASCII content, frontmatter parsing handles `---` inside values, self-update verifies checksums in-process, and GitHub Pages re-deploys are idempotent.
Bug Fixes
A focused bug-fix release. No configuration changes are needed — existing sites build and deploy exactly as before.
MCP search no longer crashes on non-ASCII content
seite_search built its result excerpt by slicing the page body with byte offsets taken from a lowercased copy of the text. On any page containing multibyte characters — accents, CJK, emoji — those offsets could land in the middle of a character and panic, taking the whole MCP server down mid-session. Since the MCP server is how Claude Code talks to your site, a single search over international content could drop the connection.
The excerpt is now computed in character units, so it never splits a character and never panics, regardless of the content.
Frontmatter with --- inside a value now parses
The frontmatter parser looked for the closing --- delimiter with a plain substring search, so a value like description: "Before --- After" was mistaken for the end of the frontmatter block. That truncated the YAML and produced a confusing parse error on a perfectly valid file. The closing delimiter is now matched only when --- appears on its own line.
Self-update verifies checksums in-process
seite self-update previously shelled out to sha256sum / shasum to verify the downloaded binary. On systems without those tools (notably Windows) verification always failed, blocking the update. SHA-256 is now computed in-process with the sha2 crate — integrity verification works everywhere and can no longer silently produce an empty digest or panic on a missing temp directory.
GitHub Pages re-deploys are idempotent
seite deploy to GitHub Pages now creates the gh-pages branch with git checkout -B instead of -b, so a re-deploy over a stale .git directory in the output folder no longer fails with "branch 'gh-pages' already exists".
Subpath deploys rewrite single-quoted URLs
When deploying under a base path (e.g. GitHub Pages project sites), the base-path URL rewriter only handled double-quoted HTML attributes. Single-quoted attributes from custom templates — href='/about' — were left unprefixed and broke. Both quote styles are now rewritten.
Developer Experience
seite initnow listsseite agentin its "Next steps" so new users discover the Claude Code workflow immediately.seite agent "…" --onceprints a next-step hint on success, pointing toseite serve/seite build.