dsh-quote-annotate-pro 0.2.0 → 0.2.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 CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  本项目的所有重要变更都记在这里。版本号遵循 [SemVer](https://semver.org/lang/zh-CN/)。
4
4
 
5
+ ## 0.2.1 — 文档与自动发版
6
+
7
+ - README / README.en:新增 npm 版本、CI、License 徽章;安装章节补上 `dsh plugin add dsh-quote-annotate-pro`(npm)与 `github:` 两种方式
8
+ - 新增 `.github/workflows/release.yml`:推 `v*` 标签即由 **npm Trusted Publishing(OIDC)** 自动发布,仓库不存任何 token,并生成 provenance 签名
9
+ - `lib/client.js` 相对 0.2.0 **无变化**(本次发版只为验证 OIDC 发布链路并把文档同步到 npm)
10
+
5
11
  ## 0.2.0 — 首个公开发布
6
12
 
7
13
  Fork 自 [`dsh-quote-annotate`](https://github.com/wangwei-wade/dsh-quote-annotate) v0.1.1(MIT),
package/README.en.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # dsh-quote-annotate-pro
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/dsh-quote-annotate-pro?color=2ea44f&label=npm)](https://www.npmjs.com/package/dsh-quote-annotate-pro)
4
+ [![ci](https://github.com/zhao-guang-ai/dsh-quote-annotate-pro/actions/workflows/ci.yml/badge.svg)](https://github.com/zhao-guang-ai/dsh-quote-annotate-pro/actions/workflows/ci.yml)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)
6
+
3
7
  **Select → annotate → quote, inside a DSH conversation.** The selected text enters the composer as an anchored quote reference; on send it serializes into a structured quote block, and a quote bar under the composer jumps back to the exact source message and highlights it. The model sees `【引用 · 第N轮 · DSH 回复】` — which turn, whose message — so it no longer has to guess what "that part above" means.
4
8
 
5
9
  > An enhanced fork of [`dsh-quote-annotate`](https://github.com/wangwei-wade/dsh-quote-annotate) (MIT, by wangwei-wade).
@@ -21,6 +25,9 @@
21
25
  ## Install
22
26
 
23
27
  ```sh
28
+ # from npm (recommended)
29
+ dsh plugin --profile <profile> add dsh-quote-annotate-pro
30
+
24
31
  # from GitHub
25
32
  dsh plugin --profile <profile> add github:zhao-guang-ai/dsh-quote-annotate-pro
26
33
 
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # dsh-quote-annotate-pro
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/dsh-quote-annotate-pro?color=2ea44f&label=npm)](https://www.npmjs.com/package/dsh-quote-annotate-pro)
4
+ [![ci](https://github.com/zhao-guang-ai/dsh-quote-annotate-pro/actions/workflows/ci.yml/badge.svg)](https://github.com/zhao-guang-ai/dsh-quote-annotate-pro/actions/workflows/ci.yml)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)
6
+
3
7
  **在 DSH 会话里划词 → 批注 → 引用**:选中的文字变成带锚点的引用进入输入框,发送时序列化为结构化引用块;输入框下方常驻一条**引用导航条**,点一下就能跳回原文并高亮。多轮对话里,模型看到的是 `【引用 · 第N轮 · 你的消息】`,不再需要猜"你说的是哪一处"。
4
8
 
5
9
  > 这是 [`dsh-quote-annotate`](https://github.com/wangwei-wade/dsh-quote-annotate)(MIT,作者 wangwei-wade)的增强 fork。
@@ -53,6 +57,12 @@
53
57
  ## 安装
54
58
 
55
59
  ```sh
60
+ # 从 npm 安装(推荐,一步到位)
61
+ dsh plugin --profile <profile> add dsh-quote-annotate-pro
62
+
63
+ # 或直接从 GitHub 安装
64
+ dsh plugin --profile <profile> add github:zhao-guang-ai/dsh-quote-annotate-pro
65
+
56
66
  # 本地开发:
57
67
  # <本仓库绝对路径> 为克隆后的目录;link 安装后改文件即刻热更,无需重启
58
68
  dsh plugin --profile <profile> add <本仓库绝对路径>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-quote-annotate-pro",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "选区引用与锚点批注(增强 fork):划词 → 批注 → 带精确锚点的引用 chip,点击跳回原文;提交时把轮次/角色/位置写入引用块,让模型精确知道你指的是哪一处。",
5
5
  "keywords": ["dsh", "dsh-plugin", "deepseek-harness", "quote", "annotate", "selection", "reference", "anchor"],
6
6
  "license": "MIT",