dsh-selection-annotations 2.1.0 → 2.1.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
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.1.1(2026-11-23)
4
+
5
+ - 插件页与插件详情页现在显示名字与一句说明(英文 Selection annotations、中文「划选批注」),不再只显示 `dsh-selection-annotations` 这个包名。
6
+ - `package.json` 里的仓库、主页与 issue 地址从上游 `2A5F/dsh-selection-annotations` 改成本仓库 `BlazeNebula/dsh-selection-annotations`,npm 页面上的链接与「报告问题」入口因此指向这里。
7
+
3
8
  ## 2.1.0(2026-11-23)
4
9
 
5
10
  首次发布到 npm。2.0.0 没有单独发布过,其内容一并包含在这里;本节另记 2.0.0 之后的新东西。
package/client.js CHANGED
@@ -669,7 +669,7 @@
669
669
  "- Use the body only for an overall summary or clarifying questions."
670
670
  ].join("");
671
671
  var LOCALE_NS = "selection-annotations";
672
- var PLUGIN_BUILD = "2.1.0";
672
+ var PLUGIN_BUILD = "2.1.1";
673
673
  var DRAFT_STORAGE_PREFIX = "dsh-selection-annotations:draft:";
674
674
  var DRAFT_MAX_SESSIONS = 24;
675
675
  var DRAFT_MAX_ITEMS = 200;
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Selection annotations",
4
+ "description": "Select text in the Web UI to annotate it, then send the whole set with your message. Annotations travel as a separate JSON block, never mixed into your message text; the Agent answers each note in place, and a send is held back until the annotations are stored."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "划选批注",
4
+ "description": "在 Web 界面里选中文字就能加批注,随消息一起发给模型。批注是独立的 JSON 数据块,不会混进消息正文;模型会逐条在批注旁给出答复,批注没存进库时这条消息不会发出去。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-selection-annotations",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "DeepSeek Harness 批注插件:在 Web 界面里选中文字加批注,随消息一起发送;批注是独立的 JSON 数据块,不会混进消息正文。DSH plugin: select text in the Web UI to annotate it, and send the whole set with your message as a separate JSON content block — never mixed into your message text.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -23,6 +23,7 @@
23
23
  ".": "./lib/index.js",
24
24
  "./client": "./client.js",
25
25
  "./icon": "./icon.svg",
26
+ "./locale/*.json": "./locale/*.json",
26
27
  "./package.json": "./package.json"
27
28
  },
28
29
  "files": [
@@ -31,6 +32,7 @@
31
32
  "src",
32
33
  "scripts",
33
34
  "icon.svg",
35
+ "locale/*.json",
34
36
  "cordis.patch.yml",
35
37
  "README.md",
36
38
  "README.zh-CN.md",
@@ -43,11 +45,11 @@
43
45
  },
44
46
  "repository": {
45
47
  "type": "git",
46
- "url": "git+https://github.com/2A5F/dsh-selection-annotations.git"
48
+ "url": "git+https://github.com/BlazeNebula/dsh-selection-annotations.git"
47
49
  },
48
- "homepage": "https://github.com/2A5F/dsh-selection-annotations#readme",
50
+ "homepage": "https://github.com/BlazeNebula/dsh-selection-annotations#readme",
49
51
  "bugs": {
50
- "url": "https://github.com/2A5F/dsh-selection-annotations/issues"
52
+ "url": "https://github.com/BlazeNebula/dsh-selection-annotations/issues"
51
53
  },
52
54
  "publishConfig": {
53
55
  "access": "public"
@@ -74,7 +74,7 @@ export const DEFAULT_INSTRUCTION_EN = [
74
74
  /** 界面文案命名空间;DSH 按语言注册后由 bind 解析。*/
75
75
  export const LOCALE_NS = 'selection-annotations'
76
76
  /** 构建标记:显示在批注总览底部,用来确认当前页面加载的是哪一版代码。*/
77
- export const PLUGIN_BUILD = '2.1.0'
77
+ export const PLUGIN_BUILD = '2.1.1'
78
78
 
79
79
  /** 未提交草稿的本地存储前缀:按会话分键。*/
80
80
  export const DRAFT_STORAGE_PREFIX = 'dsh-selection-annotations:draft:'