Repository navigation
0.3.0 — 2026-11-24
Release Notes
Security
Twenty-one findings from a security scan (PR #4), grouped:
- Dashboard and CLI output. Route prompts and model names are escaped (XSS),
state-changing POSTs are gated against CSRF, wildcard CORS is gone, and
control characters are stripped from search/answer output, chat error bodies,
polish citation references and TUI agent models. - Archives and documents. pptx, epub and nested-archive extraction are bounded
by memory/decompression budgets and an epub spine cap; archive streaming has
byte budgets for inflated and kept text, sections and anchors. - Indexing paths. The watcher no longer follows planted symlinks into unlisted
roots; every indexing path opens the file once and checks it is the same file
under a configured root; agent-requested indexing refuses hidden paths and
Paper's own directories; the root allow-list cannot be emptied. - Local files. The index DB,
config.tomland their directories are created
owner-only; config writes are serialised and atomic; thepaper updatetemp
directory is private; relativePATHentries are ignored by the shadow check.
Fixed
- The daemon's scheduled passes over the configured roots now prune deleted files.
- A timed-out or failed extraction no longer erases the last good chunks of a file.
- Switching embedding model drops the old model's chunks and vectors instead of
mixing them. - Daemon indexing runs are serialised, ending
SQLITE_BUSYfrom overlapping runs. - A release no longer wipes the index: the package version is gone from the
index version string.
Changed
- MCP search now uses the reranker when its weights are installed (never
downloaded by search). - Model weights are SHA-256 verified once; a
<file>.verifiedstamp (hash, size,
mtime) lets later loads skip re-hashing, and a changed file is re-hashed and
refused on mismatch.paper doctoralways hashes in full. - Files are chunked and embedded before their write transaction opens.
- One-time re-index. The index version is now
extract4+chunk1because
archive, pptx and epub extraction changed; 0.3.0 re-indexes once on first run. - Design documents and internal notes were removed from the repository; their
history is on thearchive/design-docsbranch. The plugin zip is built and
attached to each release by CI instead of being committed. - Behaviour: dashboard POSTs through a tunnel or foreign
Hostget 403; keyword
root filters are case-sensitive and literal; index and config files are
owner-only; the agent cannot index hidden paths; documents over 512 MiB are
truncated.
Install paperscope 0.3.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/kintsugi-tools/paperscope/releases/download/v0.3.0/paperscope-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/kintsugi-tools/paperscope/releases/download/v0.3.0/paperscope-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install paperscopeInstall prebuilt binaries into your npm project
npm install paperscope@0.3.0Download paperscope 0.3.0
| File | Platform | Checksum |
|---|---|---|
| paperscope-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| paperscope-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| paperscope-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| paperscope-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| paperscope-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| paperscope-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |