deep-read-summarize 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +5 -5
- package/docs/RELEASE.md +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/).
|
|
5
5
|
|
|
6
|
+
## [0.3.1] — 2026-08-21
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
- 发布前检查:移除 README 中的本地 Obsidian 仓库绝对路径(改为参数化描述)
|
|
10
|
+
- 移除 docs/RELEASE.md 中的本机绝对路径(改为通用写法)
|
|
11
|
+
- README 同步版本号:tgz 0.2.0 → 0.3.0、测试 17 → 21 项
|
|
12
|
+
|
|
6
13
|
## [0.3.0] — 2026-08-21
|
|
7
14
|
|
|
8
15
|
### Added
|
package/README.md
CHANGED
|
@@ -77,7 +77,7 @@ deep-read-summarize 是 DSH 插件,可通过 npm、dsh.so 生态或本地安
|
|
|
77
77
|
npm install deep-read-summarize
|
|
78
78
|
|
|
79
79
|
# 或本地安装(dsh profile 目录)
|
|
80
|
-
pnpm add ./deep-read-summarize-0.
|
|
80
|
+
pnpm add ./deep-read-summarize-0.3.0.tgz
|
|
81
81
|
# 然后在 dsh 配置的 dsh.profile.bundles 追加:
|
|
82
82
|
# - deep-read-summarize
|
|
83
83
|
# 重启 dsh web 即可(POST /dsh-market/restart)
|
|
@@ -106,10 +106,10 @@ npm install # 无第三方依赖,仅初始化
|
|
|
106
106
|
### 2. 验证环境(离线,不需要任何 API key)
|
|
107
107
|
|
|
108
108
|
```bash
|
|
109
|
-
npm test #
|
|
109
|
+
npm test # 21 项 fixture 测试,全部离线跑通
|
|
110
110
|
```
|
|
111
111
|
|
|
112
|
-
看到 `TOTAL:
|
|
112
|
+
看到 `TOTAL: 21 passed, 0 failed` 即环境就绪。
|
|
113
113
|
|
|
114
114
|
### 3. 一行命令喂入 demo 文件
|
|
115
115
|
|
|
@@ -160,11 +160,11 @@ parsers: book, paper, video, web
|
|
|
160
160
|
| 类型 | input |
|
|
161
161
|
|------|-------|
|
|
162
162
|
| 论文 | `https://arxiv.org/abs/2307.09042` |
|
|
163
|
-
| 书籍 |
|
|
163
|
+
| 书籍 | 本地路径,如 `~/books/xxx.pdf` |
|
|
164
164
|
| 视频 | `https://youtube.com/watch?v=xxx` |
|
|
165
165
|
| 网页 | `https://example.com/article` |
|
|
166
166
|
|
|
167
|
-
|
|
167
|
+
笔记写到 `options.outputDir` 指定的目录(默认 `./output`,可指向你的 Obsidian 仓库),文件名取自内容标题。
|
|
168
168
|
|
|
169
169
|
视频字幕需要本机装 yt-dlp(`winget install yt-dlp.yt-dlp`)。没装也不影响其他类型;抓不到字幕时工作流会提示你手动提供转写文本。
|
|
170
170
|
|
package/docs/RELEASE.md
CHANGED
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
## npm 发布流程(v0.2.0 起)
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
cd
|
|
38
|
+
cd <项目目录>
|
|
39
39
|
npm run lint && npm test && npm run validate # 先本地全绿
|
|
40
40
|
npm pkg fix # 规范化 package.json(npm 建议)
|
|
41
41
|
npm publish # prepublishOnly 自动跑门禁(测试+lint+安全)
|
|
42
42
|
npm view deep-read-summarize --prefer-online # 验证线上(注意:发布后首次查询可能 404,索引有延迟)
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
- token
|
|
45
|
+
- token 配置在用户级 ~/.npmrc 的 npm registry 认证条目(npm whoami 可验证)
|
|
46
46
|
- 本沙箱环境 npm 默认缓存目录可能被拒(EPERM),用 npm publish --cache <工作区内目录>
|
|
47
47
|
- 版本号:功能增强 → minor(0.x → 0.y);修复 → patch;不兼容 → major
|
|
48
48
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deep-read-summarize",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Deep reading & summarization for DSH: books/papers/videos/web → structured Obsidian notes. Plugin parsers, MapReduce deep-read, JSON Schema output, idempotent cache.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "index.js",
|