Releases: yangkaixin233/PaperMirror
Release list
PaperMirror v0.1.9
Settings and validation diagnostics release.
This release focuses on making first-time setup easier to diagnose. PaperMirror: Validate API Connection now gives more specific feedback for missing required settings, API key source and format, base URL/model mismatch, JSON Mode incompatibility, timeout, network/proxy failures, and provider-side errors.
User-facing changes:
- README now puts the required setup fields earlier: provider, API key, base URL, and model.
- Validation logs now show sanitized setup context, including endpoint, model, key source, timeout, JSON Mode state, and VS Code proxy setting.
- Network failures now include more useful cause details when available.
Package:
- VSIX generated:
papermirror-vscode-0.1.9.vsix.
Verification:
npm run buildnpm test
PaperMirror v0.1.7
PaperMirror v0.1.7
This release focuses on long-paper usability, recovery controls, and safer translation output for the VS Code / Cursor LaTeX Chinese mirror preview workflow.
新增功能
- Added
PaperMirror: Full Retranslate Current File (Costly)and the preview menu actionFull Retranslate (costs tokens). - Added a right-click preview-block menu with
Retranslate block,Copy text, andReveal source. - Added cursor-near priority for first-run translation of long
.texdocuments. - Added sticky translation progress so long-paper refreshes do not look stalled.
- Added provider validation that checks whether the configured model actually returns Chinese.
改进与修复
- Save refresh now fills all missing cache-cleared blocks by default.
- Likely untranslated English provider output is no longer cached.
- Stale English cache entries are ignored and re-enter the translation queue.
- Duplicated math/display placeholder tokens are repaired more gracefully.
Stop Translatingnow makes clear that it only stops the in-flight request and keeps visible preview content.- README and Marketplace-facing copy now document v0.1.7 behavior, full retranslation, single-block retry, and long-document boundaries.
使用提示
- Normal writing flow: edit
.tex, pressCtrl+S, and let PaperMirror translate changed or missing blocks. - For a long paper, place the TeX cursor near the section you want to read first before opening or refreshing the preview.
- Use
Full Retranslate (costs tokens)only when cache state or provider fallback leaves a large preview mostly English. - Use right-click
Retranslate blockwhen only one paragraph needs another provider request.
当前边界
- v0.1.7 supports the active
.texfile only. - Full recursive
\input/\includeproject parsing is not supported yet. - Complex tables, TikZ,
algorithm2e, and custom macros are still handled on a best-effort basis. - The Chinese preview is a writing aid, not a formal translation or submission artifact.
Verification
npm test: 47 tests passed.npm run build: core and VS Code extension builds passed.- VSIX generated:
papermirror-vscode-0.1.7.vsix.
PaperMirror v0.1.2 VSIX Preview
Initial VSIX preview release of PaperMirror.
PaperMirror is a lightweight VS Code/Cursor extension for English LaTeX writing with a Chinese mirror preview.
This release is distributed as a VSIX preview. Source code will be published after repository cleanup and privacy review.
Mainly tested with SiliconFlow. Other OpenAI-compatible providers are supported in design, but feedback is welcome.