dsh-reading-inbox 0.5.0 → 0.5.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/README.en.md CHANGED
@@ -50,7 +50,7 @@ From npm:
50
50
  dsh plugin --profile web add dsh-reading-inbox
51
51
  ```
52
52
 
53
- > pnpm's supply-chain policy waits before adopting a freshly published version. If an install right after a release picks the previous version, pin it: `dsh plugin --profile web add dsh-reading-inbox@0.5.0`.
53
+ > pnpm's supply-chain policy waits before adopting a freshly published version. If an install right after a release picks the previous version, pin it: `dsh plugin --profile web add dsh-reading-inbox@0.5.1`.
54
54
 
55
55
  From GitHub:
56
56
 
@@ -188,7 +188,7 @@ See [VERIFY.md](VERIFY.md) for the end-to-end check inside a real DSH.
188
188
 
189
189
  ```sh
190
190
  npm run build:client # rebuild client/client.js with esbuild
191
- npm test # 40 tests: extraction, rendering, SSRF, DNS checks, annotation anchoring, store races, search, routes, assets, client bundle
191
+ npm test # 41 tests: extraction, rendering, SSRF, DNS checks, annotation anchoring, store races, search, routes, assets, client bundle
192
192
  npm run verify # end-to-end self-check
193
193
  ```
194
194
 
package/README.md CHANGED
@@ -50,7 +50,7 @@ DSH 已经有 `web_fetch`、`read_url` 这类“读一次”的工具,但它
50
50
  dsh plugin --profile web add dsh-reading-inbox
51
51
  ```
52
52
 
53
- > pnpm 的 supply-chain 策略会等新版本发布一段时间才默认采用它。刚发布后如果装到上一版,可显式指定版本:`dsh plugin --profile web add dsh-reading-inbox@0.5.0`。
53
+ > pnpm 的 supply-chain 策略会等新版本发布一段时间才默认采用它。刚发布后如果装到上一版,可显式指定版本:`dsh plugin --profile web add dsh-reading-inbox@0.5.1`。
54
54
 
55
55
  直接从 GitHub 安装:
56
56
 
@@ -188,7 +188,7 @@ npm run dev # http://127.0.0.1:4173/dsh-reading-inbox/
188
188
 
189
189
  ```sh
190
190
  npm run build:client # 重新构建 client/client.js(esbuild)
191
- npm test # 40 个测试:提取、渲染、SSRF、DNS 校验、批注锚定、存储竞态、检索、路由、图片本地化、客户端 bundle
191
+ npm test # 41 个测试:提取、渲染、SSRF、DNS 校验、批注锚定、存储竞态、检索、路由、图片本地化、客户端 bundle
192
192
  npm run verify # 端到端自检
193
193
  ```
194
194
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-reading-inbox",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "DeepSeek Harness 的阅读收件箱:网页剪藏、Markdown 存档、划线批注、标签、全文检索与 Agent 工具。",
5
5
  "type": "module",
6
6
  "main": "./index.js",
package/src/routes.js CHANGED
@@ -200,6 +200,7 @@ async function handleApi(req, res, url, inbox) {
200
200
  const result = await inbox.clip(body.url, {
201
201
  tags,
202
202
  force: body.force === true,
203
+ assets: body.assets,
203
204
  })
204
205
  return writeJson(res, 200, { ok: true, clip: result })
205
206
  }