dsh-param-repair 1.0.2 → 1.0.3
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 +2 -0
- package/README.en.md +2 -2
- package/README.es.md +2 -2
- package/README.hi.md +2 -2
- package/README.md +2 -2
- package/README.pt.md +2 -2
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
package/README.en.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
**Make the same request work on every vendor — broken JSON fixed on the spot, never with invented data.**
|
|
11
11
|
|
|
12
|
-
A pure host-side plugin for DeepSeek Harness:
|
|
12
|
+
A pure host-side plugin for DeepSeek Harness: `dsh-v0.2.2-rc.4`(2026-11-18);`/translate` maps 13 canonical parameters across 11 vendors, and the `tools/post-execute` repair layer plus the `fix_json` tool deterministically repair broken JSON in successful tool results until it passes schema validation.
|
|
13
13
|
|
|
14
14
|
> **Formerly `dsh-translate` (0.2.x).** Since 1.0.0 this package is `dsh-param-repair`; the npm name
|
|
15
15
|
> `dsh-translate` now belongs to the [full-page translator](https://github.com/PerryLink/dsh-translate).
|
|
@@ -288,7 +288,7 @@ Static evidence: `dsh-plugin-doctor` K10–K13 report `pass` for every check on
|
|
|
288
288
|
|
|
289
289
|
| Surface | Status |
|
|
290
290
|
|---|---|
|
|
291
|
-
| Harness | Main version **`dsh-v0.2.
|
|
291
|
+
| Harness | Main version **`dsh-v0.2.2-rc.4`** (verified 2026-11-18: dual typecheck rulers + `node --test` 80/80 + self-contained/artifacts gates). `engines.dsh` = `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`; npm dev/test pins `0.2.2-rc.1`. |
|
|
292
292
|
| Node | `^22.19.0 \|\| >=24.9.0` |
|
|
293
293
|
| Form | Pure-host JS plugin (no browser half, no build step) |
|
|
294
294
|
| Model | Any model — repair is fully deterministic and adds no model calls |
|
package/README.es.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
**Haz que la misma petición funcione en todos los proveedores: el JSON roto se repara al instante, nunca inventando datos.**
|
|
11
11
|
|
|
12
|
-
Un plugin puramente host-side para DeepSeek Harness:
|
|
12
|
+
Un plugin puramente host-side para DeepSeek Harness: `dsh-v0.2.2-rc.4`(2026-11-18);`/translate` asigna 13 parámetros canónicos a 11 proveedores, y la capa de reparación de `tools/post-execute` junto con la herramienta `fix_json` reparan de forma determinista el JSON roto de los resultados correctos hasta que pasa la validación del esquema.
|
|
13
13
|
|
|
14
14
|
[Instalar](#instalación-en-tres-pasos) · [Configuración](#configuración) · [FAQ](#faq) · [简体中文](README.md) · [English](README.en.md) · [Español](README.es.md) · [Português](README.pt.md) · [हिन्दी](README.hi.md)
|
|
15
15
|
|
|
@@ -283,7 +283,7 @@ Evidencia estática: `dsh-plugin-doctor` K10–K13 informan `pass` en todas las
|
|
|
283
283
|
|
|
284
284
|
| Superficie | Estado |
|
|
285
285
|
|---|---|
|
|
286
|
-
| Harness | Versión principal **`dsh-v0.2.
|
|
286
|
+
| Harness | Versión principal **`dsh-v0.2.2-rc.4`** (verificado el 2026-11-18: doble regla de typecheck + `node --test` 80/80 + puertas self-contained/artifacts). `engines.dsh` = `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`; pines npm dev/test `0.2.2-rc.1`. |
|
|
287
287
|
| Node | `^22.19.0 \|\| >=24.9.0` |
|
|
288
288
|
| Forma | Plugin JS puramente host (sin mitad de navegador, sin paso de compilación) |
|
|
289
289
|
| Modelo | Cualquier modelo: la reparación es totalmente determinista y no añade llamadas al modelo |
|
package/README.hi.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
**एक ही अनुरोध हर वेंडर पर चलाएँ — टूटा हुआ JSON वहीं ठीक हो जाता है, कभी डेटा गढ़कर नहीं।**
|
|
11
11
|
|
|
12
|
-
DeepSeek Harness के लिए शुद्ध host-side प्लगइन:
|
|
12
|
+
DeepSeek Harness के लिए शुद्ध host-side प्लगइन: `dsh-v0.2.2-rc.4`(2026-11-18);`/translate` 13 कैनोनिकल पैरामीटर को 11 वेंडर पर मैप करता है, और `tools/post-execute` रिपेयर परत तथा `fix_json` टूल सफल टूल परिणामों के टूटे JSON को तब तक नियतात्मक रूप से ठीक करते हैं जब तक वह स्कीमा सत्यापन पास न कर ले।
|
|
13
13
|
|
|
14
14
|
[इंस्टॉल](#तीन-चरणों-में-शुरुआत) · [कॉन्फ़िगरेशन](#कॉन्फ़िगरेशन) · [FAQ](#faq) · [简体中文](README.md) · [English](README.en.md) · [Español](README.es.md) · [Português](README.pt.md) · [हिन्दी](README.hi.md)
|
|
15
15
|
|
|
@@ -283,7 +283,7 @@ fix_json failed (INVALID_SCHEMA): #.pattern is not a supported keyword (subset:
|
|
|
283
283
|
|
|
284
284
|
| सतह | स्थिति |
|
|
285
285
|
|---|---|
|
|
286
|
-
| Harness | मुख्य संस्करण **`dsh-v0.2.
|
|
286
|
+
| Harness | मुख्य संस्करण **`dsh-v0.2.2-rc.4`** (2026-11-18 को सत्यापित: दोहरी typecheck रूलर + `node --test` 80/80 + self-contained/artifacts गेट)। `engines.dsh` = `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`; npm dev/test पिन `0.2.2-rc.1`। |
|
|
287
287
|
| Node | `^22.19.0 \|\| >=24.9.0` |
|
|
288
288
|
| रूप | शुद्ध host JS प्लगइन (कोई ब्राउज़र भाग नहीं, कोई बिल्ड चरण नहीं) |
|
|
289
289
|
| मॉडल | कोई भी मॉडल — रिपेयर पूरी तरह नियतात्मक है और कोई अतिरिक्त मॉडल कॉल नहीं जोड़ता |
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
**让同一份请求跑通每一家厂商——坏 JSON 当场修好,绝不编造数据。**
|
|
11
11
|
|
|
12
|
-
面向 DeepSeek Harness
|
|
12
|
+
面向 DeepSeek Harness 的纯主机端插件:`dsh-v0.2.2-rc.4`(2026-11-18);`/translate` 把 13 个规范参数映射到 11 家厂商,`tools/post-execute` 修复层与 `fix_json` 工具把成功工具结果里的坏 JSON 确定性地修到能过 schema 校验。
|
|
13
13
|
|
|
14
14
|
> **原名 `dsh-translate`(0.2.x)。** 自 1.0.0 起本包改名 `dsh-param-repair`;npm 名
|
|
15
15
|
> `dsh-translate` 现在属于[整页翻译插件](https://github.com/PerryLink/dsh-translate)。`/translate` 命令、
|
|
@@ -288,7 +288,7 @@ profile patch 中的覆盖示例:
|
|
|
288
288
|
|
|
289
289
|
| 维度 | 状态 |
|
|
290
290
|
|---|---|
|
|
291
|
-
| Harness | 主版本 **`dsh-v0.2.
|
|
291
|
+
| Harness | 主版本 **`dsh-v0.2.2-rc.4`**(2026-11-18 核验:双 typecheck 尺子 + `node --test` 80/80 + self-contained/artifacts 门)。`engines.dsh` = `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`;npm dev/test 钉号 `0.2.2-rc.1`。 |
|
|
292
292
|
| Node | `^22.19.0 \|\| >=24.9.0` |
|
|
293
293
|
| 形态 | 纯 host JS 插件(无浏览器半、无构建步骤) |
|
|
294
294
|
| 模型 | 任意模型——修复完全确定性,不增加模型调用 |
|
package/README.pt.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
**Faça a mesma requisição funcionar em todos os provedores: o JSON quebrado é corrigido na hora, nunca inventando dados.**
|
|
11
11
|
|
|
12
|
-
Um plugin puramente host-side para o DeepSeek Harness: o
|
|
12
|
+
Um plugin puramente host-side para o DeepSeek Harness: o `dsh-v0.2.2-rc.4`(2026-11-18);`/translate` mapeia 13 parâmetros canônicos em 11 provedores, e a camada de reparo de `tools/post-execute` mais a ferramenta `fix_json` reparam de forma determinística o JSON quebrado dos resultados bem-sucedidos até ele passar na validação de schema.
|
|
13
13
|
|
|
14
14
|
[Instalar](#instalação-em-três-passos) · [Configuração](#configuração) · [FAQ](#faq) · [简体中文](README.md) · [English](README.en.md) · [Español](README.es.md) · [Português](README.pt.md) · [हिन्दी](README.hi.md)
|
|
15
15
|
|
|
@@ -283,7 +283,7 @@ Evidência estática: o `dsh-plugin-doctor` K10–K13 reporta `pass` em todas as
|
|
|
283
283
|
|
|
284
284
|
| Superfície | Estado |
|
|
285
285
|
|---|---|
|
|
286
|
-
| Harness | Versão principal **`dsh-v0.2.
|
|
286
|
+
| Harness | Versão principal **`dsh-v0.2.2-rc.4`** (verificado em 2026-11-18: régua dupla de typecheck + `node --test` 80/80 + portões self-contained/artifacts). `engines.dsh` = `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`; pinos npm dev/test `0.2.2-rc.1`. |
|
|
287
287
|
| Node | `^22.19.0 \|\| >=24.9.0` |
|
|
288
288
|
| Forma | Plugin JS puramente host (sem metade de navegador, sem etapa de build) |
|
|
289
289
|
| Modelo | Qualquer modelo — o reparo é totalmente determinístico e não adiciona chamadas ao modelo |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-param-repair",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Vendor parameter mapping and deterministic JSON repair for DeepSeek Harness: the /translate command maps temperature/top_p/max_tokens/stop/system across 11 vendors, and the tools/post-execute repair layer (plus the fix_json tool) fixes broken JSON tool output with escape repair, trailing-comma removal, truncation closure, and required-field completion — never fabricating data",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"THIRD_PARTY_NOTICES.md",
|
|
34
34
|
"README.md",
|
|
35
35
|
"README.en.md",
|
|
36
|
-
"README
|
|
37
|
-
"README
|
|
38
|
-
"README
|
|
36
|
+
"README.es.md",
|
|
37
|
+
"README.pt.md",
|
|
38
|
+
"README.hi.md",
|
|
39
39
|
"LICENSE"
|
|
40
40
|
],
|
|
41
41
|
"dsh": {
|
|
@@ -119,14 +119,14 @@
|
|
|
119
119
|
"@deepseek-ai/cordis": "^4.1.0",
|
|
120
120
|
"@deepseek-ai/cordis-plugin-include": "^1.1.0",
|
|
121
121
|
"@deepseek-ai/cordis-plugin-loader": "^1.1.0",
|
|
122
|
-
"@deepseek-ai/dsh-commands": "0.2.2-rc.
|
|
123
|
-
"@deepseek-ai/dsh-llm": "0.2.2-rc.
|
|
124
|
-
"@deepseek-ai/dsh-package-manifest": "0.2.2-rc.
|
|
125
|
-
"@deepseek-ai/dsh-session": "0.2.2-rc.
|
|
126
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.
|
|
127
|
-
"@deepseek-ai/dsh-tool-executor-native": "0.2.2-rc.
|
|
128
|
-
"@deepseek-ai/dsh-tools": "0.2.2-rc.
|
|
129
|
-
"@deepseek-ai/dsh-working-directory": "0.2.2-rc.
|
|
122
|
+
"@deepseek-ai/dsh-commands": "0.2.2-rc.4",
|
|
123
|
+
"@deepseek-ai/dsh-llm": "0.2.2-rc.4",
|
|
124
|
+
"@deepseek-ai/dsh-package-manifest": "0.2.2-rc.4",
|
|
125
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.4",
|
|
126
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.4",
|
|
127
|
+
"@deepseek-ai/dsh-tool-executor-native": "0.2.2-rc.4",
|
|
128
|
+
"@deepseek-ai/dsh-tools": "0.2.2-rc.4",
|
|
129
|
+
"@deepseek-ai/dsh-working-directory": "0.2.2-rc.4",
|
|
130
130
|
"@deepseek-ai/schemastery": "~3.19.0",
|
|
131
131
|
"@types/node": "^22.19.0",
|
|
132
132
|
"oxlint": "0.18.1",
|