@jayyuen66/dsh-ocr-review 0.1.4 → 0.1.5-rc

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/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@jayyuen66/dsh-ocr-review",
3
- "version": "0.1.4",
4
- "description": "dsh 工作区代码审查插件:把 open-code-review(ocr CLI)封装为 5 个模型工具 + 设置卡片(从 settings.yaml 选 provider/model 应用到 OCR 配置)。",
3
+ "version": "0.1.5-rc",
4
+ "description": "dsh 工作区代码审查插件:把 open-code-review(ocr CLI)封装为 5 个模型工具 + 设置卡片(从宿主设置服务的 provider 清单选 provider/model 应用到 OCR 配置)。",
5
5
  "keywords": [
6
+ "AI code review",
7
+ "DeepSeek Harness",
6
8
  "code-review",
9
+ "deepseek-harness",
7
10
  "dsh",
8
11
  "dsh-plugin",
9
12
  "ocr",
@@ -41,10 +44,11 @@
41
44
  },
42
45
  "publishConfig": {
43
46
  "access": "public",
44
- "registry": "https://registry.npmjs.org"
47
+ "registry": "https://registry.npmjs.org",
48
+ "tag": "next"
45
49
  },
46
50
  "dependencies": {
47
- "@jayyuen66/dsh-plugin-shared": "^0.1.4",
51
+ "@jayyuen66/dsh-plugin-shared": "^0.1.5-rc",
48
52
  "js-yaml": "^5.4.3"
49
53
  },
50
54
  "devDependencies": {
@@ -92,17 +96,11 @@
92
96
  "vitest": "5.0.3"
93
97
  },
94
98
  "peerDependencies": {
95
- "@deepseek-ai/dsh": "^0.2.1-alpha.2",
96
99
  "@deepseek-ai/dsh-atomic-write": "0.2.1-alpha.2",
97
100
  "@deepseek-ai/dsh-credentials": "0.2.1-alpha.2",
98
101
  "@deepseek-ai/dsh-home-paths": "0.2.1-alpha.2",
99
102
  "@deepseek-ai/schemastery": "3.18.5-alpha.1"
100
103
  },
101
- "peerDependenciesMeta": {
102
- "@deepseek-ai/dsh": {
103
- "optional": true
104
- }
105
- },
106
104
  "optionalDependencies": {
107
105
  "@alibaba-group/open-code-review": "^1.12.13"
108
106
  },
@@ -107,12 +107,6 @@ function isNotFound(error) {
107
107
  return isRecord(error) && error.code === "ENOENT";
108
108
  }
109
109
 
110
- /**
111
- * 托管 YAML 文档里的 refs.<REF>(形状不合一律回 undefined,不抛)。
112
- * @param {string} credPath
113
- * @param {string} refName
114
- * @returns {string | undefined}
115
- */
116
110
  /**
117
111
  * YAML 解析错误的**脱敏**描述:只留 reason + 行列定位,不带出错位置前后若干行的原文。
118
112
  *
@@ -154,6 +148,13 @@ function yamlErrorDetail(error) {
154
148
  return "";
155
149
  }
156
150
 
151
+ /**
152
+ * 托管 YAML 文档里的 refs.<REF>(形状不合一律回 undefined,不抛)。
153
+ * 解析失败走 `yamlErrorDetail`,绝不把邻域原文带进 stderr。
154
+ * @param {string} credPath
155
+ * @param {string} refName
156
+ * @returns {string | undefined}
157
+ */
157
158
  function fromCredentialsDoc(credPath, refName) {
158
159
  let text;
159
160
  try {