Skip to content

Releases: yangkaixin233/PaperMirror

PaperMirror v0.1.9

Choose a tag to compare

@yangkaixin233 yangkaixin233 released this 06 Jun 11:11

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 build
  • npm test

PaperMirror v0.1.7

Choose a tag to compare

@yangkaixin233 yangkaixin233 released this 28 May 06:54

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 action Full Retranslate (costs tokens).
  • Added a right-click preview-block menu with Retranslate block, Copy text, and Reveal source.
  • Added cursor-near priority for first-run translation of long .tex documents.
  • 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 Translating now 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, press Ctrl+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 block when only one paragraph needs another provider request.

当前边界

  • v0.1.7 supports the active .tex file only.
  • Full recursive \input / \include project 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

Pre-release

Choose a tag to compare

@yangkaixin233 yangkaixin233 released this 17 May 14:56

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.