dsh-patch-edit-plus 0.4.1 → 0.4.2

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,6 +1,19 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+
5
+ ## [0.4.2] — 2026-10-17
6
+
7
+ ### Changed
8
+
9
+ - **Host line `0.2.1-rc.1` supported.** `engines.dsh`, all seven `@deepseek-ai/dsh-*` peer ranges and `dsh.plugin.json` now enumerate 16 exact rc releases (`0.1.0-rc.2` … `0.2.1-rc.1`) instead of the `>=0.1.0-rc.8 <0.2.1-0` range — since 0.2.1-alpha.4 the compat gate adjudicates `engines.dsh` standalone, and the old `-0` upper sentinel rejected `0.2.1-rc.1`.
10
+ - Compatibility declarations are exact enumerations everywhere: no open ranges, untested future hosts are refused.
11
+ - devDependencies moved to the real `0.2.1-rc.1` peer baseline; `npm run typecheck:0.2.1` (was `:0.2.0`) proves that baseline from clean registry installs; the typecheck matrix now covers seven host lines including `0.2.1-rc.1`.
12
+
13
+ ### Added
14
+
15
+ - `prepack` runs the build (npm pack can no longer ship a stale `lib/`); `publishConfig.registry` pinned to the official npm registry.
16
+
4
17
  ## [0.4.0] — 2026-10-09
5
18
 
6
19
  ### Added
package/CHANGELOG.zh.md CHANGED
@@ -1,6 +1,19 @@
1
1
  # 更新日志
2
2
 
3
3
 
4
+
5
+ ## [0.4.2] — 2026-10-17
6
+
7
+ ### 变更
8
+
9
+ - **支持宿主 `0.2.1-rc.1` 线。** `engines.dsh`、全部 7 个 `@deepseek-ai/dsh-*` peer 范围与 `dsh.plugin.json` 改为 16 个精确 rc 枚举(`0.1.0-rc.2` … `0.2.1-rc.1`),不再使用 `>=0.1.0-rc.8 <0.2.1-0` 区间——0.2.1-alpha.4 起兼容闸门单独裁决 `engines.dsh`,旧的 `-0` 上界哨兵会把 `0.2.1-rc.1` 判为越界拒载。
10
+ - 兼容声明一律精确枚举:不放开区间,未测未来宿主一律拒绝。
11
+ - devDependencies 换代到真实 `0.2.1-rc.1` peer 基线;`npm run typecheck:0.2.1`(原 `:0.2.0`)从 registry 干净安装核验该基线;类型校验矩阵扩展到七条宿主线(含 `0.2.1-rc.1`)。
12
+
13
+ ### 新增
14
+
15
+ - `prepack` 触发构建(npm pack 不再可能带出过期 `lib/`);`publishConfig.registry` 钉死官方 npm registry。
16
+
4
17
  ## [0.4.0] — 2026-10-09
5
18
 
6
19
  ### 新增
package/README.de.md CHANGED
@@ -6,12 +6,12 @@ Patch-basierte Dateibearbeitung für [DeepSeek Harness (DSH)](https://github.com
6
6
 
7
7
  ## DSH-Versionskompatibilität
8
8
 
9
- **v0.4.0 ist eine einzelne Version, die die gesamte Host-Linie abdeckt**: eine Version bedient alle DSH von `0.1.0-rc.8` bis `0.2.0-rc.2` (alle 15 RCs plus Desktop). Die vier eingestellten Linien (`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7` und das `main`-Aufteilungsschema) sind retired; nach der Veröffentlichung zeigen die npm-Dist-Tags `latest`, `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5` und `dsh-0.1.2` alle auf 0.4.0.
9
+ **v0.4.0 ist eine einzelne Version, die die gesamte Host-Linie abdeckt**: eine Version bedient alle DSH von `0.1.0-rc.2` bis `0.2.1-rc.1` (alle 16 RCs plus Desktop). Die vier eingestellten Linien (`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7` und das `main`-Aufteilungsschema) sind retired; nach der Veröffentlichung zeigen die npm-Dist-Tags `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5` und `dsh-0.1.2` alle auf 0.4.0.
10
10
 
11
11
  | DSH-Version | Status | Hinweise |
12
12
  |---|---|---|
13
13
  | `0.2.0-rc.1+` | ✅ unterstützt (dieselbe v0.4.0) | Deklarative Einstellungen: mit `.volatile()` markierte Felder werden zum Einstellungsformular, und `loader/volatile-update` registriert das Werkzeug ohne Remount neu. Die Konfigurationskarte auf der Plugin-Seite (Client-Hälfte) hat auf dieser Linie einen Platz. |
14
- | `0.1.0-rc.8` ~ `0.1.7-rc.2` | ✅ unterstützt (dieselbe v0.4.0) | Einstellungen je Generation: Instanz-`settings.installSection`/`register` (0.1.2/0.1.5) oder das modulweite `installSettingsSection` von `@deepseek-ai/dsh-settings` (0.1.0/0.1.1). Die Konfigurationskarte auf der Plugin-Seite fehlt hier elegant. |
14
+ | `0.1.0-rc.2` ~ `0.1.7-rc.2` | ✅ unterstützt (dieselbe v0.4.0) | Einstellungen je Generation: Instanz-`settings.installSection`/`register` (0.1.2/0.1.5) oder das modulweite `installSettingsSection` von `@deepseek-ai/dsh-settings` (0.1.0/0.1.1). Die Konfigurationskarte auf der Plugin-Seite fehlt hier elegant. |
15
15
 
16
16
  **Verhaltensänderung:** `allowCodexPatch` hat nun den Standardwert `false` (Opt-in, an der 0.2.0-Linie ausgerichtet). Wer von der alten 0.1.7-Linie (dort Standard `true`) aufrüstet, muss den Schalter nach dem Upgrade manuell aktivieren.
17
17
 
@@ -116,8 +116,8 @@ Aktivieren mit `allowCodexPatch: true`. Trifft ein Codex-Patch ein, während die
116
116
 
117
117
  ```bash
118
118
  npm install
119
- npm run typecheck # against 0.2.0-rc.1 peers (devDependencies)
120
- npm run typecheck:0.2.0 # against real 0.2.0-rc.1 peer packages installed from the registry (dual-baseline proof)
119
+ npm run typecheck # against 0.2.1-rc.1 peers (devDependencies)
120
+ npm run typecheck:0.2.1 # against real 0.2.1-rc.1 peer packages installed from the registry (dual-baseline proof)
121
121
  npm test # vitest, 92 tests
122
122
  npm run lint
123
123
  npm run build # lib/
package/README.es.md CHANGED
@@ -6,12 +6,12 @@ Edición de archivos estilo parche para [DeepSeek Harness (DSH)](https://github.
6
6
 
7
7
  ## Compatibilidad de versiones de DSH
8
8
 
9
- **La v0.4.0 es una única versión que cubre toda la línea de hosts**: una sola versión atiende todos los DSH desde `0.1.0-rc.8` hasta `0.2.0-rc.2` (los 15 rc más desktop). Las cuatro líneas retiradas (`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7` y el esquema de división por `main`) se jubilan; tras la publicación, los dist-tags de npm `latest`, `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5` y `dsh-0.1.2` apuntarán todos a 0.4.0.
9
+ **La v0.4.0 es una única versión que cubre toda la línea de hosts**: una sola versión atiende todos los DSH desde `0.1.0-rc.2` hasta `0.2.1-rc.1` (los 16 rc más desktop). Las cuatro líneas retiradas (`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7` y el esquema de división por `main`) se jubilan; tras la publicación, los dist-tags de npm `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5` y `dsh-0.1.2` apuntarán todos a 0.4.0.
10
10
 
11
11
  | Versión de DSH | Estado | Notas |
12
12
  |---|---|---|
13
13
  | `0.2.0-rc.1+` | ✅ compatible (misma v0.4.0) | Ajustes declarativos: los campos marcados con `.volatile()` se convierten en el formulario de ajustes, y `loader/volatile-update` vuelve a registrar la herramienta sin remontaje. La tarjeta de configuración de la página del plugin (mitad cliente) tiene sitio en esta línea. |
14
- | `0.1.0-rc.8` ~ `0.1.7-rc.2` | ✅ compatible (misma v0.4.0) | Ajustes por generación: `settings.installSection`/`register` de instancia (0.1.2/0.1.5) o `installSettingsSection` a nivel de módulo de `@deepseek-ai/dsh-settings` (0.1.0/0.1.1). La tarjeta de configuración de la página del plugin está ausente con elegancia aquí. |
14
+ | `0.1.0-rc.2` ~ `0.1.7-rc.2` | ✅ compatible (misma v0.4.0) | Ajustes por generación: `settings.installSection`/`register` de instancia (0.1.2/0.1.5) o `installSettingsSection` a nivel de módulo de `@deepseek-ai/dsh-settings` (0.1.0/0.1.1). La tarjeta de configuración de la página del plugin está ausente con elegancia aquí. |
15
15
 
16
16
  **Cambio de comportamiento:** `allowCodexPatch` ahora es `false` por defecto (opt-in, alineado con la línea 0.2.0). Si actualizas desde la antigua línea 0.1.7 (donde el valor por defecto era `true`), activa el interruptor manualmente tras la actualización.
17
17
 
@@ -116,8 +116,8 @@ Se activa con `allowCodexPatch: true`. Cuando llega un parche de Codex con la op
116
116
 
117
117
  ```bash
118
118
  npm install
119
- npm run typecheck # against 0.2.0-rc.1 peers (devDependencies)
120
- npm run typecheck:0.2.0 # against real 0.2.0-rc.1 peer packages installed from the registry (dual-baseline proof)
119
+ npm run typecheck # against 0.2.1-rc.1 peers (devDependencies)
120
+ npm run typecheck:0.2.1 # against real 0.2.1-rc.1 peer packages installed from the registry (dual-baseline proof)
121
121
  npm test # vitest, 92 tests
122
122
  npm run lint
123
123
  npm run build # lib/
package/README.fr.md CHANGED
@@ -6,12 +6,12 @@ Français | [English](./README.md) | [简体中文](./README.zh.md) | [日本語
6
6
 
7
7
  ## Compatibilité des versions de DSH
8
8
 
9
- **La v0.4.0 est une version unique couvrant toute la ligne d'hôtes** : une seule version sert tous les DSH de `0.1.0-rc.8` à `0.2.0-rc.2` (les 15 rc plus desktop). Les quatre anciennes lignes (`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7` et le schéma de scission `main`) sont retirées ; après publication, les dist-tags npm `latest`, `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5` et `dsh-0.1.2` pointeront tous vers 0.4.0.
9
+ **La v0.4.0 est une version unique couvrant toute la ligne d'hôtes** : une seule version sert tous les DSH de `0.1.0-rc.2` à `0.2.1-rc.1` (les 16 rc plus desktop). Les quatre anciennes lignes (`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7` et le schéma de scission `main`) sont retirées ; après publication, les dist-tags npm `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5` et `dsh-0.1.2` pointeront tous vers 0.4.0.
10
10
 
11
11
  | Version de DSH | Statut | Notes |
12
12
  |---|---|---|
13
13
  | `0.2.0-rc.1+` | ✅ pris en charge (même v0.4.0) | Paramètres déclaratifs : les champs marqués `.volatile()` constituent le formulaire de paramètres, et `loader/volatile-update` réenregistre l'outil sans remontage (remount). La carte de configuration de la page du plugin (moitié client) a sa place sur cette ligne. |
14
- | `0.1.0-rc.8` ~ `0.1.7-rc.2` | ✅ pris en charge (même v0.4.0) | Paramètres par génération : `settings.installSection`/`register` d'instance (0.1.2/0.1.5) ou `installSettingsSection` au niveau module de `@deepseek-ai/dsh-settings` (0.1.0/0.1.1). La carte de configuration de la page du plugin est absente avec élégance ici. |
14
+ | `0.1.0-rc.2` ~ `0.1.7-rc.2` | ✅ pris en charge (même v0.4.0) | Paramètres par génération : `settings.installSection`/`register` d'instance (0.1.2/0.1.5) ou `installSettingsSection` au niveau module de `@deepseek-ai/dsh-settings` (0.1.0/0.1.1). La carte de configuration de la page du plugin est absente avec élégance ici. |
15
15
 
16
16
  **Changement de comportement :** `allowCodexPatch` est désormais `false` par défaut (opt-in, aligné sur la ligne 0.2.0). Si vous mettez à niveau depuis l'ancienne ligne 0.1.7 (où la valeur par défaut était `true`), activez l'interrupteur manuellement après la mise à niveau.
17
17
 
@@ -116,8 +116,8 @@ Activez avec `allowCodexPatch: true`. Quand un patch Codex arrive alors que l'op
116
116
 
117
117
  ```bash
118
118
  npm install
119
- npm run typecheck # against 0.2.0-rc.1 peers (devDependencies)
120
- npm run typecheck:0.2.0 # against real 0.2.0-rc.1 peer packages installed from the registry (dual-baseline proof)
119
+ npm run typecheck # against 0.2.1-rc.1 peers (devDependencies)
120
+ npm run typecheck:0.2.1 # against real 0.2.1-rc.1 peer packages installed from the registry (dual-baseline proof)
121
121
  npm test # vitest, 92 tests
122
122
  npm run lint
123
123
  npm run build # lib/
package/README.it.md CHANGED
@@ -6,12 +6,12 @@ Modifica di file in stile patch per [DeepSeek Harness (DSH)](https://github.com/
6
6
 
7
7
  ## Compatibilità delle versioni DSH
8
8
 
9
- **La v0.4.0 è una singola versione che copre l'intera linea di host**: una sola versione serve tutti i DSH da `0.1.0-rc.8` a `0.2.0-rc.2` (tutti i 15 rc più desktop). Le quattro linee dismesse (`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7` e lo schema di biforcazione `main`) sono ritirate; dopo la pubblicazione, i dist-tag npm `latest`, `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5` e `dsh-0.1.2` punteranno tutti a 0.4.0.
9
+ **La v0.4.0 è una singola versione che copre l'intera linea di host**: una sola versione serve tutti i DSH da `0.1.0-rc.2` a `0.2.1-rc.1` (tutti i 16 rc più desktop). Le quattro linee dismesse (`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7` e lo schema di biforcazione `main`) sono ritirate; dopo la pubblicazione, i dist-tag npm `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5` e `dsh-0.1.2` punteranno tutti a 0.4.0.
10
10
 
11
11
  | Versione DSH | Stato | Note |
12
12
  |---|---|---|
13
13
  | `0.2.0-rc.1+` | ✅ supportato (stessa v0.4.0) | Impostazioni dichiarative: i campi contrassegnati con `.volatile()` diventano il modulo delle impostazioni, e `loader/volatile-update` registra nuovamente lo strumento senza remount. La scheda di configurazione nella pagina del plugin (metà client) ha un posto su questa linea. |
14
- | `0.1.0-rc.8` ~ `0.1.7-rc.2` | ✅ supportato (stessa v0.4.0) | Impostazioni per generazione: `settings.installSection`/`register` di istanza (0.1.2/0.1.5) oppure `installSettingsSection` a livello di modulo di `@deepseek-ai/dsh-settings` (0.1.0/0.1.1). La scheda di configurazione nella pagina del plugin è assente con eleganza qui. |
14
+ | `0.1.0-rc.2` ~ `0.1.7-rc.2` | ✅ supportato (stessa v0.4.0) | Impostazioni per generazione: `settings.installSection`/`register` di istanza (0.1.2/0.1.5) oppure `installSettingsSection` a livello di modulo di `@deepseek-ai/dsh-settings` (0.1.0/0.1.1). La scheda di configurazione nella pagina del plugin è assente con eleganza qui. |
15
15
 
16
16
  **Cambio di comportamento:** `allowCodexPatch` ora è `false` per impostazione predefinita (opt-in, allineato alla linea 0.2.0). Chi esegue l'aggiornamento dalla vecchia linea 0.1.7 (dove il predefinito era `true`) deve attivare l'interruttore manualmente dopo l'aggiornamento.
17
17
 
@@ -116,8 +116,8 @@ Si abilita con `allowCodexPatch: true`. Quando arriva una patch Codex mentre l'o
116
116
 
117
117
  ```bash
118
118
  npm install
119
- npm run typecheck # against 0.2.0-rc.1 peers (devDependencies)
120
- npm run typecheck:0.2.0 # against real 0.2.0-rc.1 peer packages installed from the registry (dual-baseline proof)
119
+ npm run typecheck # against 0.2.1-rc.1 peers (devDependencies)
120
+ npm run typecheck:0.2.1 # against real 0.2.1-rc.1 peer packages installed from the registry (dual-baseline proof)
121
121
  npm test # vitest, 92 tests
122
122
  npm run lint
123
123
  npm run build # lib/
package/README.ja.md CHANGED
@@ -6,12 +6,12 @@
6
6
 
7
7
  ## DSH バージョン互換性
8
8
 
9
- **v0.4.0 は全ホストラインを 1 つのバージョンでカバーします**:`0.1.0-rc.8` から `0.2.0-rc.2` まで(15 個の rc 全部 + desktop)のすべての DSH ホストを同じバージョンが担当します。旧来の 4 本のライン(`compat/0.1.2`、`compat/0.1.5`、`compat/0.1.7`、`main` 分割スキーム)は引退しました。公開後、npm dist-tag の `latest`、`dsh-0.2.0`、`dsh-0.1.7`、`dsh-0.1.5`、`dsh-0.1.2` はすべて 0.4.0 を指します。
9
+ **v0.4.0 は全ホストラインを 1 つのバージョンでカバーします**:`0.1.0-rc.2` から `0.2.1-rc.1` まで(16 個の rc 全部 + desktop)のすべての DSH ホストを同じバージョンが担当します。旧来の 4 本のライン(`compat/0.1.2`、`compat/0.1.5`、`compat/0.1.7`、`main` 分割スキーム)は引退しました。公開後、npm dist-tag の `dsh-0.2.0`、`dsh-0.1.7`、`dsh-0.1.5`、`dsh-0.1.2` はすべて 0.4.0 を指します。
10
10
 
11
11
  | DSH バージョン | ステータス | 備考 |
12
12
  |---|---|---|
13
13
  | `0.2.0-rc.1+` | ✅ サポート対象(同じ v0.4.0) | 宣言的設定:`.volatile()` を付けたフィールドがそのまま設定フォームになり、`loader/volatile-update` が再マウントなしでツールをその場で再登録します。プラグインページの設定カード(client 側)はこのラインに席があります。 |
14
- | `0.1.0-rc.8` ~ `0.1.7-rc.2` | ✅ サポート対象(同じ v0.4.0) | 世代ごとの設定:インスタンスの `settings.installSection`/`register`(0.1.2/0.1.5)、または `@deepseek-ai/dsh-settings` のモジュールレベル `installSettingsSection`(0.1.0/0.1.1)。プラグインページの設定カードはここでは適切に省かれます。 |
14
+ | `0.1.0-rc.2` ~ `0.1.7-rc.2` | ✅ サポート対象(同じ v0.4.0) | 世代ごとの設定:インスタンスの `settings.installSection`/`register`(0.1.2/0.1.5)、または `@deepseek-ai/dsh-settings` のモジュールレベル `installSettingsSection`(0.1.0/0.1.1)。プラグインページの設定カードはここでは適切に省かれます。 |
15
15
 
16
16
  **挙動変更**:`allowCodexPatch` の既定値は `false` になりました(オプトイン、0.2.0 ラインに合わせました)。旧 0.1.7 ライン(既定 `true`)からアップグレードした場合は、アップグレード後に手動でスイッチを有効にしてください。
17
17
 
@@ -116,8 +116,8 @@ dsh web --dump-config # verify the plugin row appears
116
116
 
117
117
  ```bash
118
118
  npm install
119
- npm run typecheck # against 0.2.0-rc.1 peers (devDependencies)
120
- npm run typecheck:0.2.0 # against real 0.2.0-rc.1 peer packages installed from the registry (dual-baseline proof)
119
+ npm run typecheck # against 0.2.1-rc.1 peers (devDependencies)
120
+ npm run typecheck:0.2.1 # against real 0.2.1-rc.1 peer packages installed from the registry (dual-baseline proof)
121
121
  npm test # vitest, 92 tests
122
122
  npm run lint
123
123
  npm run build # lib/
package/README.ko.md CHANGED
@@ -6,12 +6,12 @@
6
6
 
7
7
  ## DSH 버전 호환성
8
8
 
9
- **v0.4.0은 전체 호스트 라인을 단일 버전으로 커버합니다**: `0.1.0-rc.8`부터 `0.2.0-rc.2`까지(15개 rc 전부 + desktop) 모든 DSH 호스트를 같은 버전이 지원합니다. 이전의 4개 라인(`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7`, `main` 분할 방식)은 모두 은퇴했습니다. 배포 후 npm dist-tag `latest`, `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5`, `dsh-0.1.2`는 모두 0.4.0을 가리킵니다.
9
+ **v0.4.0은 전체 호스트 라인을 단일 버전으로 커버합니다**: `0.1.0-rc.2`부터 `0.2.1-rc.1`까지(16개 rc 전부 + desktop) 모든 DSH 호스트를 같은 버전이 지원합니다. 이전의 4개 라인(`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7`, `main` 분할 방식)은 모두 은퇴했습니다. 배포 후 npm dist-tag `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5`, `dsh-0.1.2`는 모두 0.4.0을 가리킵니다.
10
10
 
11
11
  | DSH 버전 | 상태 | 비고 |
12
12
  |---|---|---|
13
13
  | `0.2.0-rc.1+` | ✅ 지원됨(동일한 v0.4.0) | 선언적 설정: `.volatile()`로 표시된 필드가 곧 설정 폼이며, `loader/volatile-update`가 리마운트 없이 도구를 그 자리에서 재등록합니다. 플러그인 페이지 설정 카드(client 쪽)는 이 라인에 자리가 있습니다. |
14
- | `0.1.0-rc.8` ~ `0.1.7-rc.2` | ✅ 지원됨(동일한 v0.4.0) | 세대별 설정: 인스턴스 `settings.installSection`/`register`(0.1.2/0.1.5) 또는 `@deepseek-ai/dsh-settings`의 모듈 수준 `installSettingsSection`(0.1.0/0.1.1). 플러그인 페이지 설정 카드는 여기에 우아하게 부재합니다. |
14
+ | `0.1.0-rc.2` ~ `0.1.7-rc.2` | ✅ 지원됨(동일한 v0.4.0) | 세대별 설정: 인스턴스 `settings.installSection`/`register`(0.1.2/0.1.5) 또는 `@deepseek-ai/dsh-settings`의 모듈 수준 `installSettingsSection`(0.1.0/0.1.1). 플러그인 페이지 설정 카드는 여기에 우아하게 부재합니다. |
15
15
 
16
16
  **동작 변경**: `allowCodexPatch` 기본값이 `false`로 바뀌었습니다(옵트인, 0.2.0 라인과 정렬). 기존 0.1.7 라인(기본값 `true`)에서 업그레이드하는 사용자는 업그레이드 후 스위치를 수동으로 켜야 합니다.
17
17
 
@@ -116,8 +116,8 @@ dsh web --dump-config # verify the plugin row appears
116
116
 
117
117
  ```bash
118
118
  npm install
119
- npm run typecheck # against 0.2.0-rc.1 peers (devDependencies)
120
- npm run typecheck:0.2.0 # against real 0.2.0-rc.1 peer packages installed from the registry (dual-baseline proof)
119
+ npm run typecheck # against 0.2.1-rc.1 peers (devDependencies)
120
+ npm run typecheck:0.2.1 # against real 0.2.1-rc.1 peer packages installed from the registry (dual-baseline proof)
121
121
  npm test # vitest, 92 tests
122
122
  npm run lint
123
123
  npm run build # lib/
package/README.md CHANGED
@@ -6,12 +6,12 @@ Patch-style file editing for [DeepSeek Harness (DSH)](https://github.com/deepsee
6
6
 
7
7
  ## DSH version compatibility
8
8
 
9
- **v0.4.0 is a single release covering the whole host line**: one version serves every DSH from `0.1.0-rc.8` to `0.2.0-rc.2` (all 15 rc releases plus desktop). The four retired lines (`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7`, and the `main` split-line scheme) are gone; after publishing, the npm dist-tags `latest`, `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5` and `dsh-0.1.2` all point to 0.4.0.
9
+ **v0.4.0 is a single release covering the whole host line**: one version serves every DSH from `0.1.0-rc.2` to `0.2.1-rc.1` (all 16 rc releases plus desktop). The four retired lines (`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7`, and the `main` split-line scheme) are gone; after publishing, the npm dist-tags `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5` and `dsh-0.1.2` all point to 0.4.0.
10
10
 
11
11
  | DSH version | Status | Notes |
12
12
  |---|---|---|
13
13
  | `0.2.0-rc.1+` | ✅ supported (same v0.4.0) | Declarative settings: fields marked `.volatile()` become the settings form, and `loader/volatile-update` re-registers the tool in place without a remount. The plugin-page configuration card (client half) has a seat on this line. |
14
- | `0.1.0-rc.8` ~ `0.1.7-rc.2` | ✅ supported (same v0.4.0) | Settings per generation: instance `settings.installSection`/`register` (0.1.2/0.1.5) or the module-level `installSettingsSection` of `@deepseek-ai/dsh-settings` (0.1.0/0.1.1). The plugin-page configuration card is gracefully absent here. |
14
+ | `0.1.0-rc.2` ~ `0.1.7-rc.2` | ✅ supported (same v0.4.0) | Settings per generation: instance `settings.installSection`/`register` (0.1.2/0.1.5) or the module-level `installSettingsSection` of `@deepseek-ai/dsh-settings` (0.1.0/0.1.1). The plugin-page configuration card is gracefully absent here. |
15
15
 
16
16
  **Behavior change:** `allowCodexPatch` now defaults to `false` (opt-in, aligned with the 0.2.0 line). If you upgrade from the old 0.1.7 line (where the default was `true`), enable the switch manually after upgrading.
17
17
 
@@ -116,8 +116,8 @@ Enable with `allowCodexPatch: true`. When a Codex patch arrives while disabled,
116
116
 
117
117
  ```bash
118
118
  npm install
119
- npm run typecheck # against 0.2.0-rc.1 peers (devDependencies)
120
- npm run typecheck:0.2.0 # against real 0.2.0-rc.1 peer packages installed from the registry (dual-baseline proof)
119
+ npm run typecheck # against 0.2.1-rc.1 peers (devDependencies)
120
+ npm run typecheck:0.2.1 # against real 0.2.1-rc.1 peer packages installed from the registry (dual-baseline proof)
121
121
  npm test # vitest, 92 tests
122
122
  npm run lint
123
123
  npm run build # lib/
package/README.ru.md CHANGED
@@ -6,12 +6,12 @@
6
6
 
7
7
  ## Совместимость с версиями DSH
8
8
 
9
- **v0.4.0 — единая версия, покрывающая всю линию хостов**: одна версия обслуживает все DSH от `0.1.0-rc.8` до `0.2.0-rc.2` (все 15 rc плюс desktop). Четыре прежние линии (`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7` и схема разделения по `main`) выведены из эксплуатации; после публикации npm dist-tag'и `latest`, `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5` и `dsh-0.1.2` будут указывать на 0.4.0.
9
+ **v0.4.0 — единая версия, покрывающая всю линию хостов**: одна версия обслуживает все DSH от `0.1.0-rc.2` до `0.2.1-rc.1` (все 16 rc плюс desktop). Четыре прежние линии (`compat/0.1.2`, `compat/0.1.5`, `compat/0.1.7` и схема разделения по `main`) выведены из эксплуатации; после публикации npm dist-tag'и `dsh-0.2.0`, `dsh-0.1.7`, `dsh-0.1.5` и `dsh-0.1.2` будут указывать на 0.4.0.
10
10
 
11
11
  | Версия DSH | Статус | Примечания |
12
12
  |---|---|---|
13
13
  | `0.2.0-rc.1+` | ✅ поддерживается (та же v0.4.0) | Декларативные настройки: поля, помеченные `.volatile()`, становятся формой настроек, а `loader/volatile-update` перерегистрирует инструмент без перемонтирования. Карточка конфигурации на странице плагина (клиентская половина) на этой линии присутствует. |
14
- | `0.1.0-rc.8` ~ `0.1.7-rc.2` | ✅ поддерживается (та же v0.4.0) | Настройки по поколениям: экземплярные `settings.installSection`/`register` (0.1.2/0.1.5) либо модульный `installSettingsSection` из `@deepseek-ai/dsh-settings` (0.1.0/0.1.1). Карточка конфигурации на странице плагина здесь изящно отсутствует. |
14
+ | `0.1.0-rc.2` ~ `0.1.7-rc.2` | ✅ поддерживается (та же v0.4.0) | Настройки по поколениям: экземплярные `settings.installSection`/`register` (0.1.2/0.1.5) либо модульный `installSettingsSection` из `@deepseek-ai/dsh-settings` (0.1.0/0.1.1). Карточка конфигурации на странице плагина здесь изящно отсутствует. |
15
15
 
16
16
  **Изменение поведения:** значение `allowCodexPatch` по умолчанию теперь `false` (включение вручную, выровнено с линией 0.2.0). При обновлении со старой линии 0.1.7 (где по умолчанию было `true`) переключатель нужно включить вручную после обновления.
17
17
 
@@ -116,8 +116,8 @@ dsh web --dump-config # verify the plugin row appears
116
116
 
117
117
  ```bash
118
118
  npm install
119
- npm run typecheck # against 0.2.0-rc.1 peers (devDependencies)
120
- npm run typecheck:0.2.0 # against real 0.2.0-rc.1 peer packages installed from the registry (dual-baseline proof)
119
+ npm run typecheck # against 0.2.1-rc.1 peers (devDependencies)
120
+ npm run typecheck:0.2.1 # against real 0.2.1-rc.1 peer packages installed from the registry (dual-baseline proof)
121
121
  npm test # vitest, 92 tests
122
122
  npm run lint
123
123
  npm run build # lib/
package/README.zh.md CHANGED
@@ -6,12 +6,12 @@
6
6
 
7
7
  ## DSH 版本适配矩阵
8
8
 
9
- **v0.4.0 是单版本覆盖全宿主线**:一个版本服务 `0.1.0-rc.8` 到 `0.2.0-rc.2` 的所有 DSH 宿主(全部 15 个 rc + desktop)。旧的四条线(`compat/0.1.2`、`compat/0.1.5`、`compat/0.1.7` 与 `main` 分线方案)全部退役;发布后 npm dist-tag `latest`、`dsh-0.2.0`、`dsh-0.1.7`、`dsh-0.1.5`、`dsh-0.1.2` 将全部指向 0.4.0。
9
+ **v0.4.0 是单版本覆盖全宿主线**:一个版本服务 `0.1.0-rc.2` 到 `0.2.1-rc.1` 的所有 DSH 宿主(全部 16 个 rc + desktop)。旧的四条线(`compat/0.1.2`、`compat/0.1.5`、`compat/0.1.7` 与 `main` 分线方案)全部退役;发布后 npm dist-tag `dsh-0.2.0`、`dsh-0.1.7`、`dsh-0.1.5`、`dsh-0.1.2` 将全部指向 0.4.0。
10
10
 
11
11
  | DSH 版本 | 状态 | 说明 |
12
12
  |---|---|---|
13
13
  | `0.2.0-rc.1+` | ✅ 支持(同一个 v0.4.0) | 声明式设置:`Config` 中标记 `.volatile()` 的字段即设置表单,`loader/volatile-update` 驱动工具原位重注册(不 remount)。插件页配置卡(client 半)在本线有席位。 |
14
- | `0.1.0-rc.8` ~ `0.1.7-rc.2` | ✅ 支持(同一个 v0.4.0) | 按代际提供设置:实例 `settings.installSection`/`register`(0.1.2/0.1.5)或 `@deepseek-ai/dsh-settings` 模块级 `installSettingsSection`(0.1.0/0.1.1)。插件页配置卡在本线优雅缺席。 |
14
+ | `0.1.0-rc.2` ~ `0.1.7-rc.2` | ✅ 支持(同一个 v0.4.0) | 按代际提供设置:实例 `settings.installSection`/`register`(0.1.2/0.1.5)或 `@deepseek-ai/dsh-settings` 模块级 `installSettingsSection`(0.1.0/0.1.1)。插件页配置卡在本线优雅缺席。 |
15
15
 
16
16
  **行为变更**:`allowCodexPatch` 默认值改为 `false`(opt-in,与 0.2.0 线对齐)。从旧 0.1.7 线(默认 `true`)升级的用户需在升级后手动打开该开关。
17
17
 
@@ -115,8 +115,8 @@ dsh web --dump-config # 确认插件行出现
115
115
 
116
116
  ```bash
117
117
  npm install
118
- npm run typecheck # 针对 0.2.0-rc.1 peer 包(devDependencies)
119
- npm run typecheck:0.2.0 # 从 registry 干净安装真实 0.2.0-rc.1 peer 包做类型核验(双基线证明)
118
+ npm run typecheck # 针对 0.2.1-rc.1 peer 包(devDependencies)
119
+ npm run typecheck:0.2.1 # 从 registry 干净安装真实 0.2.1-rc.1 peer 包做类型核验(双基线证明)
120
120
  npm test # vitest,92 个用例
121
121
  npm run lint
122
122
  npm run build # lib/
package/dsh.plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "dsh-patch-edit-plus",
3
3
  "name": "dsh-patch-edit-plus",
4
- "version": "0.4.1",
4
+ "version": "0.4.2",
5
5
  "description": {
6
6
  "en": "Patch-style file editing: one apply_patch tool for git/unified diff (default) and Codex apply_patch syntax (opt-in), with all-or-nothing application and sandbox-aware delete/move.",
7
7
  "zh": "补丁风格文件编辑:单个 apply_patch 工具,接受 git/unified diff(默认)与 Codex apply_patch 语法(可选开启),全量验证后原子应用,删除/移动走沙箱感知 shell。"
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "license": "MIT",
15
15
  "engines": {
16
- "dsh": ">=0.1.0-rc.8 <0.2.1-0"
16
+ "dsh": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1"
17
17
  },
18
18
  "components": {
19
19
  "host": "lib/index.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-patch-edit-plus",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Patch-style file editing for DeepSeek Harness: one apply_patch tool accepting git/unified diff (default) and Codex apply_patch syntax (opt-in), with all-or-nothing application, read-before-write intent dance, sandbox-aware delete/move, (declarative volatile settings).",
5
5
  "type": "module",
6
6
  "repository": {
@@ -45,9 +45,10 @@
45
45
  },
46
46
  "scripts": {
47
47
  "build": "tsc -p tsconfig.build.json && tsdown",
48
+ "prepack": "npm run build",
48
49
  "prepublishOnly": "npm run build",
49
50
  "typecheck": "tsc -p tsconfig.json",
50
- "typecheck:0.2.0": "node scripts/typecheck-0.2.0.mjs",
51
+ "typecheck:0.2.1": "node scripts/typecheck-0.2.1.mjs",
51
52
  "lint": "eslint src tests scripts _smoke",
52
53
  "lint:fix": "eslint src tests scripts _smoke --fix",
53
54
  "test": "vitest run",
@@ -57,7 +58,7 @@
57
58
  },
58
59
  "engines": {
59
60
  "node": ">=20",
60
- "dsh": ">=0.1.0-rc.8 <0.2.1-0"
61
+ "dsh": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1"
61
62
  },
62
63
  "license": "MIT",
63
64
  "keywords": [
@@ -72,14 +73,14 @@
72
73
  ],
73
74
  "peerDependencies": {
74
75
  "@deepseek-ai/cordis": "^4.0.1",
75
- "@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
76
- "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
77
- "@deepseek-ai/dsh-fs": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
78
- "@deepseek-ai/dsh-sandbox": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
79
- "@deepseek-ai/dsh-shell": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
80
- "@deepseek-ai/dsh-tools": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
81
- "react": "^18.2.0",
82
- "@deepseek-ai/dsh-settings": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2"
76
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1",
77
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1",
78
+ "@deepseek-ai/dsh-fs": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1",
79
+ "@deepseek-ai/dsh-sandbox": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1",
80
+ "@deepseek-ai/dsh-settings": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1",
81
+ "@deepseek-ai/dsh-shell": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1",
82
+ "@deepseek-ai/dsh-tools": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1",
83
+ "react": "^18.2.0"
83
84
  },
84
85
  "peerDependenciesMeta": {
85
86
  "@deepseek-ai/cordis": {
@@ -105,14 +106,16 @@
105
106
  }
106
107
  },
107
108
  "dependencies": {
108
- "@deepseek-ai/schemastery": "^3.18.4"
109
+ "@deepseek-ai/schemastery": "^3.18.5"
109
110
  },
110
111
  "devDependencies": {
111
112
  "@deepseek-ai/cordis": "^4.0.2",
112
- "@deepseek-ai/dsh-fs": "0.2.0-rc.1",
113
- "@deepseek-ai/dsh-sandbox": "0.2.0-rc.1",
114
- "@deepseek-ai/dsh-shell": "0.2.0-rc.1",
115
- "@deepseek-ai/dsh-tools": "0.2.0-rc.1",
113
+ "@deepseek-ai/dsh-fs": "0.2.1-rc.1",
114
+ "@deepseek-ai/dsh-sandbox": "0.2.1-rc.1",
115
+ "@deepseek-ai/dsh-settings": "0.2.1-rc.1",
116
+ "@deepseek-ai/dsh-shell": "0.2.1-rc.1",
117
+ "@deepseek-ai/dsh-tools": "0.2.1-rc.1",
118
+ "@deepseek-ai/schemastery": "^3.18.4",
116
119
  "@eslint/js": "^9.0.0",
117
120
  "@types/node": "^22.0.0",
118
121
  "@types/react": "~18.3.1",
@@ -121,11 +124,10 @@
121
124
  "tsdown": "^0.22.2",
122
125
  "typescript": "^5.6.0",
123
126
  "typescript-eslint": "^8.0.0",
124
- "vitest": "^3.0.0",
125
- "@deepseek-ai/schemastery": "^3.18.4",
126
- "@deepseek-ai/dsh-settings": "0.2.0-rc.1"
127
+ "vitest": "^3.0.0"
127
128
  },
128
129
  "publishConfig": {
129
- "tag": "latest"
130
+ "tag": "latest",
131
+ "registry": "https://registry.npmjs.org"
130
132
  }
131
133
  }