
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-book-reader
Advanced tools
Read books and papers in DSH: a reading toolbar on the official PDF preview, plus PDF tools for the model (page map, full-text search, page text and images).
Read books and papers in DSH: a reading toolbar on the official PDF preview, plus three PDF tools for the model.
English | 中文
Reading toolbar — appears only on .pdf previews in the right sidebar; the stock previewer (zoom, selection, reload) is untouched.
p152 for PDF page 152).Cmd/Ctrl+Shift+F): click a result to jump there, or insert its page reference into the chat.Model tools — the model can look up the page map, search the text, or read chosen pages (as text or as page images) when you ask about a PDF.
| Tool | What it does |
|---|---|
pdf_info | Page count, printed↔physical page offset, outline/TOC. Text only. |
pdf_search | Literal full-text search; returns page numbers and snippets. |
pdf_read_pages | Text of chosen pages, optionally as images (include_image: false for text only; images cost ~350–1024 tokens/page). |
Typical loop: pdf_info → pdf_search → pdf_read_pages (text) → images only for formulas, diagrams, or tables.
dsh-book-reader (or pin dsh-book-reader@0.1.1), or dsh plugin add dsh-book-reader.ln -sfn "<installed package dir>" "<workspace>/.dsh/skills/pdf-reader"
dsh plugin add "/abs/path/to/dsh-book-reader"; keep the checkout and its node_modules/ in place.Every option is optional and the defaults are safe. Common ones: maxPagesPerCall (default 4), defaultScale (2.5), autoShare (automatic position hint), allowOutsideWorkspace (tools stay inside the session workspace by default), routeAllowedRoots (restrict the local HTTP routes). The full list with defaults is commented in cordis.patch.yml.
pdfjs-dist is pinned to 6.3.289 to match the host process.SKILL.md — model-facing guide: costs, page numbering, pitfalls.CHANGELOG.md · LICENSE (MIT)在 DSH 里读 PDF 书和论文:官方 PDF 预览上加一条读书工具栏,外加三个 PDF 工具给模型。
阅读工具栏 —— 只在右侧栏的 .pdf 预览上出现;不替换官方预览器(缩放、选中、刷新都保持原样)。
p152 表示 PDF 第 152 页)。Cmd/Ctrl+Shift+F):点结果跳页,或把该页引用插入对话框。模型工具 —— 默认只花文本 token,图片是按需付的钱。
| 工具 | 作用 |
|---|---|
pdf_info | 页数、印刷页↔物理页偏移、目录/TOC;纯文本。 |
pdf_search | 字面全文搜索;返回页码和摘要。 |
pdf_read_pages | 选中页的文本,也可返回页面图片(include_image: false 只取文本;图片约 350–1024 token/页)。 |
典型流程:pdf_info → pdf_search → pdf_read_pages(文本)→ 只有公式、图表、表格才看图。
dsh-book-reader(或锁定版本 dsh-book-reader@0.1.1),或命令行 dsh plugin add dsh-book-reader。ln -sfn "<已安装的包目录>" "<workspace>/.dsh/skills/pdf-reader"
dsh plugin add "/abs/path/to/dsh-book-reader";源码目录和 node_modules/ 必须留在原处。全部可选,默认值即安全值。常用:maxPagesPerCall(默认 4)、defaultScale(2.5)、autoShare(自动位置提示)、allowOutsideWorkspace(工具默认只读会话工作区)、routeAllowedRoots(限制本地 HTTP 路由)。完整键和默认值见 cordis.patch.yml 注释。
pdfjs-dist 锁定 6.3.289,以和宿主进程保持一致。SKILL.md —— 模型使用手册:成本、页码、常见陷阱。CHANGELOG.md · LICENSE(MIT)FAQs
Read books and papers in DSH: a reading toolbar on the official PDF preview, plus PDF tools for the model (page map, full-text search, page text and images).
We found that dsh-book-reader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.