导入 PDF 文献,检索带页码证据并生成报告或演示文稿
29.6/100
综合分
0
GitHub 星标
—
npm 周下载
—/5
用户评分
数据截至 2026/9/28 · 周下载取自 npm 全网(含 CI / 镜像),非本站安装数;综合分由星标、活跃度与兼容性检查合成。
安装命令 · 需先装 dsh CLI 引擎
dsh plugin --profile web add HaoKuo/dsh-notebook-studio该包不可直接 npm 安装,改从 GitHub 源安装(明细见下方安装检查)
状态速览
判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态信任档位:已验证
是什么
dsh 原生插件 · search
安全吗
本站尚未对该插件做风险分级
暂未覆盖,不等同于无风险
还在维护吗
更新放缓:最近一次提交在 38 天前
档位由哪些信号合成
本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。
社区实装还没有人打卡 · 装过的第一个就是你
安全扫描自动 · 静态分析源码v2.7.0🔵 扫描:含敏感能力尚无人工评估展开查看扫描说明与证据 ↓
安全扫描自动 · 静态分析源码
v2.7.0静态扫描发现插件具备触达本地系统的能力:执行外部命令、读写/删除本地文件、读取剪贴板或密钥类环境变量(至少其一)。这是能力清单,不是危险判定——具体能力项与证据见下方,安装前请自行判断是否需要。
读写/删除本地文件发起外部网络请求
查看扫描证据(共 67 处,展示前 62 条)
- 读取本地文件src/index.js:28
try { return JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8')).version } - 读取本地文件src/index.js:322
await Promise.all([stat(old.path), stat(old.pdf_path)]) - 读取本地文件src/index.js:361
await Promise.all([stat(old.docx_path), stat(old.pdf_path)]) - 读取本地文件src/index.js:405
await stat(path) - 读取本地文件src/index.js:457
const info = await stat(path) - 读取本地文件src/index.js:462
return new Response(request.method === 'HEAD' ? null : Readable.toWeb(createReadStream(path)), { headers: { - 发起网络请求lib/client.js:325
const response = await fetch(url, { credentials: 'same-origin', cache: 'no-store' }) - 发起网络请求lib/client.js:351
const response = await fetch(info.previewUrl, { method: 'HEAD', credentials: 'same-origin', cache: 'no-store' }) - 读取本地文件src/deck.js:204
const bytes = await stat(asset.path) - 写入本地文件src/deck.js:243
await writeFile(manifestPath, JSON.stringify(manifest, null, 2), { flag: 'wx', mode: 0o600 }) - 写入本地文件src/deck.js:244
await rename(staging, path) - 删除本地文件src/deck.js:247
await rm(staging, { force: true }) - 写入本地文件src/deck-pdf.js:118
await rename(staging, output) - 删除本地文件src/deck-pdf.js:120
await rm(staging, { force: true }) - 读取本地文件src/image.js:80
await access(path) - 读取本地文件src/image.js:86
const bytes = await readFile(path) - 写入本地文件src/image.js:147
await writeFile(staging, decoded.bytes, { flag: 'wx', mode: 0o600 }) - 写入本地文件src/image.js:148
await rename(staging, path) - 删除本地文件src/image.js:151
await rm(staging, { force: true }) - 读取本地文件src/imports.js:55
const parentReal = await realpath(parent) - 读取本地文件src/imports.js:56
const root = await realpath(claimedRoot) - 读取本地文件src/imports.js:57
if (!inside(parentReal, root) || !(await lstat(root)).isDirectory()) { - 读取本地文件src/imports.js:61
const marker = await lstat(manifestFile) - 读取本地文件src/imports.js:63
const data = JSON.parse(await readFile(manifestFile, 'utf8')) - 读取本地文件src/imports.js:76
await pipeline(createReadStream(file), new Transform({ - 写入本地文件src/imports.js:83
}), createWriteStream(staging, { flags: 'wx', mode: 0o600 }), { signal }) - 删除本地文件src/imports.js:88
await rm(staging, { force: true }) - 写入本地文件src/imports.js:112
await rename(staging, target) - 删除本地文件src/imports.js:116
await rm(staging, { force: true }) - 读取本地文件src/messages.js:13
en: JSON.parse(readFileSync(new URL('./messages.en.json', import.meta.url), 'utf8')), - 发起网络请求src/model.js:21
response = await fetch(apiEndpoint(config.baseUrl, 'chat/completions'), { - 写入本地文件src/store.js:66
mkdirSync(this.directory, { recursive: true, mode: 0o700 }) - 写入本地文件src/store.js:67
mkdirSync(join(this.directory, 'sources'), { recursive: true, mode: 0o700 }) - 写入本地文件src/store.js:68
mkdirSync(join(this.directory, 'figures'), { recursive: true, mode: 0o700 }) - 写入本地文件src/store.js:69
mkdirSync(join(this.directory, 'generated'), { recursive: true, mode: 0o700 }) - 写入本地文件src/store.js:70
mkdirSync(join(this.directory, 'decks'), { recursive: true, mode: 0o700 }) - 写入本地文件src/store.js:71
mkdirSync(join(this.directory, 'reports'), { recursive: true, mode: 0o700 }) - 读取本地文件src/uploads.js:26
for (const file of await readdir(directory)) { - 删除本地文件src/uploads.js:27
if (/^[0-9a-f-]{36} part$/.test(file)) await rm(join(directory, file), { force: true }) - 写入本地文件src/uploads.js:75
await rename(upload.path, target) - 删除本地文件src/uploads.js:78
await rm(upload.path, { force: true }) - 删除本地文件src/uploads.js:86
await rm(upload.path, { force: true }) - 删除本地文件src/uploads.js:92
await rm(upload.path, { force: true }) - 读取本地文件src/exports.js:12
const metadata = await Promise.all(sourcePaths.map(path => stat(path))) - 读取本地文件src/exports.js:18
await Promise.all([previous.officePath, previous.pdfPath, previous.manifestPath].map(path => stat(path))) - 读取本地文件src/exports.js:22
let parent = await realpath(cwd) - 写入本地文件src/exports.js:25
await mkdir(parent, { recursive: true, mode: 0o700 }) - 读取本地文件src/exports.js:26
const info = await lstat(parent) - 写入本地文件src/exports.js:38
await copyFile(sourcePaths[index], target) - 写入本地文件src/exports.js:39
await chmod(target, 0o600) - 删除本地文件递归src/exports.js:45
await rm(directory, { recursive: true, force: true }) - 读取本地文件src/editor.js:10
const manifest = JSON.parse(await readFile(record.manifest_path, 'utf8')) - 读取本地文件src/pdf.js:14
try { await access(path); return path } catch { } - 写入本地文件src/pdf.js:23
const output = createWriteStream(path, { flags: 'wx', mode: 0o600 }) - 删除本地文件src/pdf.js:42
await rm(path, { force: true }) - 读取本地文件src/report-files.js:85
children: [new ImageRun({ data: await readFile(file), type: 'png', - 写入本地文件src/report-files.js:293
await writeFile(staging[0], await reportDocx(store, data, generated, sources), - 写入本地文件src/report-files.js:297
await writeFile(staging[2], JSON.stringify(manifest, null, 2), - 写入本地文件src/report-files.js:300
await rename(staging[0], path) - 写入本地文件src/report-files.js:301
await rename(staging[1], pdf) - 写入本地文件src/report-files.js:302
await rename(staging[2], manifestPath) - 删除本地文件src/report-files.js:305
await Promise.all(staging.map(file => rm(file, { force: true })))
扫描于 2026/11/1(1 天前) · 范围 入口闭包 + 全包扫描 · 来源 GitHub 仓库
静态扫描只反映源码中出现的调用,不构成安全背书;人工评估与自动扫描相互独立、互不覆盖。
依赖的 DSH / Cordis 模块
@deepseek-ai/dsh-llm@deepseek-ai/dsh-tools给这个插件打分还没有人投票↓
用户评分
还没有人投票,来当第一个
功能亮点
- 导入PDF文献
- 检索带页码证据
- 生成报告或演示文稿
dsh-notebook-studio 是 DeepSeek Harness(dsh)的插件:把上传的 PDF 文献变成带页码引用的报告(DOCX/PDF)或演示文稿(PPTX/PDF)
README
由 DeepSeek 最新模型翻译生成dsh-notebook-studio
将一个 dsh 会话作为一个文献项目:导入最多 30 篇文字版 PDF,选择本次使用的文献,检索带页码的证据,通过提示词生成报告(DOCX/PDF)或演示文稿(PPTX/PDF)。成稿保存到当前会话工作区,并可在 Studio 内预览 PDF。
仓库地址: · 版本记录:RELEASE_NOTES.md
要求与安装
- DeepSeek Harness 0.1.7-rc.2(engines.dsh)、Node.js 24、Python 3.12 + PyMuPDF。
- PDF 排版需要包含中文字形的 TTF 字体:本机自动选用 Arial Unicode,其他环境设置 STUDIO_CJK_FONT=/path/to/font.ttf。
- 可选:兼容 images/generations 的生图服务(base64 PNG);dsh 的 ctx.web.search 联网参考。
展开完整文档(README 剩余 1 节)
dsh-notebook-studio 将一个 dsh 会话作为一个文献项目:导入最多 30 篇文字版 PDF,选择本次使用的文献,检索带页码的证据,通过提示词生成报告(DOCX/PDF)或演示文稿(PPTX/PDF)。成稿保存到当前会话工作区,并可在 Studio 内预览 PDF。 仓库地址: · 版本记录:RELEASE_NOTES.md 要求与安装 - DeepSeek Harness 0.1.7-rc.2(engines.dsh)、Node.js 24、Python 3.12 + PyMuPDF。 - PDF 排版需要包含中文字形的 TTF 字体:本机自动选用 Arial Unicode,其他环境设置 STUDIO_CJK_FONT=/path/to/font.ttf。 - 可选:兼容 images/generations 的生图服务(base64 PNG);dsh 的 ctx.web.search 联网参考。 在仓库根目录执行: npm ci python3 -m venv .venv .venv/bin/python -m pip install -r requirements.txt npm run check dsh plugin --profile web add "$PWD" mkdir -p "$HOME/.dsh/skills" ln -sfn "$PWD/.agents/skills/research-studio" "$HOME/.dsh/skills/research-studio" 从 GitHub 安装 宿主通过 pnpm 安装 git 源,无需本地克隆: dsh plugin --profile web add github:HaoKuo/dsh-notebook-studio 固定到某个发布版本:github:HaoKuo/dsh-notebook-studio#v0.6.1 PDF 解析按 STUDIO_PYTHON(设置后必须可用)→ 包内 .venv → PATH 上的 python3/python 依次寻找,并要求该解释器能 import pymupdf;都不满足时报错会列出每个候选与修复方法: sh python3 -m venv ~/.venv-studio && ~/.venv-studio/bin/pip install "PyMuPDF>=1.26,//;重新排版写入新目录,不覆盖已编辑的副本。 8. 「打开正文编辑」可修改标题、摘要、段落、表格结论和逐页正文;「保存并重新排版」应用修改时不调用文本模型改写正文,也不接受修改引用 ID 或素材来源,因此改动过的结论仍需人工核对证据。 9. 同一浏览器页面内,离开后重新进入 NotebookStudio 会保留该会话的提示词、选篇和草稿;不同会话隔离,刷新会丢失未保存草稿。 10. 在 Chat 中使用 studio_search 问答,回答应附证据 ID、文献名和 PDF 页码;左侧也可检索证据、查看任务记录并重试失败文献。 宿主兼容范围 插件只使用公开槽位(sidebar.panellist、main、session-maybe 子槽、layout.selectPanel(null)),不使用私有路由、不改宿主核心布局、不模拟点击。已在 dsh 0.1.7-rc.2 上验证 npm run check、profile 合成,以及运行中的 dsh web 能挂载宿主侧插件。 目录和安全 - src/:Host(RPC、上传、SQLite FTS5、模型调用、DOCX/PPTX/PDF);lib/client.js:Web Client;worker/:PyMuPDF 解析;tests/:回归测试;.agents/skills/:检索技能。 - 内部数据库、原始 PDF、提取图和缓存保留在 ~/.dsh/studio/v1//,交付文件另存到会话工作区。输出路径只取自 Host 的会话 cwd——模型与客户端都不能指定任意路径,输出子目录的符号链接会被拒绝;上传经认证,下载与预览按当前会话的记录 ID 校验。 - API Key 保存在权限受限的 SQLite 文件中,读取设置只返回「已配置」。文本 API 会收到所选 PDF 摘录,联网搜索只收到提示词关键词,启用云端图片服务后示意图提示词会发送给该服务。请先确认文献上传、原图使用与各 API 提供方的授权;图片不标记为论文实验结果。 - DOCX/PPTX 可编辑;PDF 由同一内容单独排版,不是 Office 的逐像素转换。没有原图或生图模型时仍可输出原生流程图与对照表;质量结论须经人工对照测评。 npm run check 覆盖 JavaScript 与 Python;真实文献的云端完整生成与真实联网检索不在自动测试范围内。 许可证 MIT,见 LICENSE。
预览分享卡片长什么样 ↓
分享 · DeepSeek Harness Hub
HaoKuo/dsh-notebook-studio
导入 PDF 文献,检索带页码证据并生成报告或演示文稿
相关插件 · 搜索 / 抓取
LLM 知识平台Tencent/WeKnora
概览 ·快速开始 ·新特性 ·功能 ·客户端 ·文档 ·开发
★ 36,161已汉化DSH
72.1
智能体记忆系统MemTensor/MemOS
MemOS 2.0 Stardust星尘
★ 12,195已汉化DSH
71.2
跨代理记忆库zilliztech/memsearch
跨平台语义记忆,专为 AI 编程智能体打造。
★ 2,799已汉化DSH
70.9
技能语料库EverMind-AI/SkillCorpus
SkillCorpus 能给你什么
★ 694已汉化DSH
69.7
代码图谱记忆syncable-dev/memtrace-public
你的智能体值得拥有结构化记忆。
★ 509已汉化MCP
67.9
AnySearch 搜索插件anysearch-team/anysearch-dsh
AnySearch 网页搜索服务商,为 DeepSeek Harness(DSH)提供高级搜索工具
★ 457已汉化DSH
66.6