Pandora's Gate 0.3.0
The editor, the AI context engine, and publishing — rebuilt.
Writing
- True WYSIWYG editor. Bold looks bold, headings are typeset, and there is no markdown syntax to hide or trip over — your files stay plain markdown on disk. This replaces the live-preview editor whose render crash caused vanishing paragraphs, unselectable regions, and lost keystrokes in 0.2.0.
- Chapter details panel. Frontmatter is edited as friendly fields above the text; YAML never appears in the writing surface.
- Tracked-changes review. AI suggestions appear as insertions and strikeouts right in the editor with ✓/✕ on each change — keep typing while you decide, undo brings rejected changes back.
AI context
- Budgeted context. Chats aim for a lean target (~12k tokens, adjustable in Preferences → Story context size) instead of filling the model's whole window. World docs are included by chapter relevance with caps; the most recent chapter summaries are now the last thing dropped, not the first.
- Prompt caching. For Anthropic models via OpenRouter, unchanged story context re-reads from cache at a fraction of the input price.
- Retrieval-first mode for local models. On tight budgets, a one-line codex index replaces the story-bible dump and the model fetches full docs on demand — the context inspector shows "lean (fetch-on-demand)" when active.
- Honest accounting. The inspector now includes tool overhead, shows the model window, and the Codex pipeline fits its prompt to small windows instead of overflowing them.
Publishing
- Copy for RoyalRoad / Patreon. One click puts the open chapter on the clipboard as platform-shaped rich HTML — RoyalRoad keeps scene-break rules and stat tables, Patreon gets
* * *breaks and shallow headings, both drop the duplicated title heading — with a plain-text fallback for everything else.
Fixes
- The local model registry heals file paths left behind by the pandoras-box → pandoras-gate data-folder rename; missing model files no longer break model listings or Codex runs.
Install / upgrade
brew tap tdarwin/pandora https://github.com/tdarwin/pandoras_gate
brew install --cask tdarwin/pandora/pandoras-gate # or: brew upgrade --cask pandoras-gate
Releases are not yet Developer-ID signed; the cask clears the quarantine flag on install. Manual DMG installs: xattr -cr "/Applications/Pandora's Gate.app".