dsh-output-styles 0.6.7 → 0.6.8

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
@@ -4,6 +4,12 @@ All notable changes to this project are documented in this file. The format
4
4
  follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the
5
5
  project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.6.8] - 2026-09-04
8
+
9
+ ### Fixed
10
+
11
+ - Remove the `storage` / `storage-json` / `storage-domain` rows from the bundle patch: the shipped profiles compose that stack through `dsh-base`, so the inserted rows collided with the same ids and made the profile refuse to boot (`duplicate loader entry id: storage`). The patch now mounts only the plugin row; bare profiles compose the storage stack themselves.
12
+
7
13
  ## [0.6.7] - 2026-09-04
8
14
 
9
15
  ### Changed
package/cordis.patch.yml CHANGED
@@ -1,25 +1,17 @@
1
1
  # Patch layer for `dsh-output-styles`, declared by the package's
2
2
  # `dsh.bundle.patch` manifest and also usable by hand with `--patch`.
3
3
  #
4
- # Inserting rows by id replaces any same-id row already in the profile, so
5
- # the layer is safe on top of a web profile (which composes storage in box)
6
- # and completes a bare headless profile.
4
+ # The shipped profiles (web/headless/sdk/acp) compose the storage stack via
5
+ # dsh-base, so this patch mounts only the plugin row. On the published
6
+ # rc.1 loader, inserting a row whose id already exists is a fatal boot
7
+ # error (`duplicate loader entry id`), not a same-id replace. A bare
8
+ # profile without dsh-base must compose the storage stack itself.
7
9
  #
8
- # The plugin injects `storageDomain`; a headless profile has none of the
9
- # storage rows, so the layer brings the routed kv backend along, including
10
+ # The plugin injects `storageDomain`; a bare profile has none of the
11
+ # storage rows, so it must bring the routed kv backend along, including
10
12
  # the config the rc.6 schemas require (root for storage-json, backend for
11
13
  # storage-domain) — without it the rows fail their config validation.
12
14
  - insert:
13
- - id: storage
14
- name: '@deepseek-ai/dsh-storage'
15
- - id: storage-json
16
- name: '@deepseek-ai/dsh-storage-json'
17
- config:
18
- root: !!js dshHomePath('storages')
19
- - id: storage-domain
20
- name: '@deepseek-ai/dsh-storage-domain'
21
- config:
22
- backend: json
23
15
  - id: output-styles
24
16
  name: 'dsh-output-styles'
25
17
  # config: # schema defaults shown for reference
@@ -47,7 +47,7 @@ $ dsh --profile scratch --dump-config
47
47
  name: dsh-output-styles
48
48
  ```
49
49
 
50
- 包清单 `dsh.bundle.patch = ./cordis.patch.yml` 生效:一条 `plugin add` 即把 storage 三行 + 插件行作为补丁层组合进 profile(按 id 插入替换同 id 行,对 web profile 幂等)。0.1.0 时代的「纯依赖安装、需手写行」摩擦消除。
50
+ 包清单 `dsh.bundle.patch = ./cordis.patch.yml` 生效:一条 `plugin add` 即把插件行作为补丁层组合进 profile。已发布的 profile(web/headless/sdk/acp)经 `dsh-base` 已组合 storage 栈(storage / storage-json / storage-domain),补丁层只挂 output-styles 行——同 id 行再插入在已发布加载器上是致命启动错误(`duplicate loader entry id`),不是替换。未含 `dsh-base` 的裸 profile 需自行组合 storage 栈。0.1.0 时代的「纯依赖安装、需手写行」摩擦消除。
51
51
 
52
52
  ## 3. `--dump-config` 行生效
53
53
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-output-styles",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Claude Code outputStyles-equivalent runtime output-style switching for DeepSeek Harness",
5
5
  "type": "module",
6
6
  "sideEffects": false,