dsh-better-sidebar-left 0.0.0-stage → 0.1.6

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 ADDED
@@ -0,0 +1,34 @@
1
+ # CHANGELOG
2
+
3
+ ## 0.1.1
4
+
5
+ - 重新 vendor `dsh-session-rename-dblclick` 0.1.4(顶栏双击不再被拦截;行上仍然拦截官方弹窗)。
6
+ - 测试不再把版本号写成字面量,`npm run bump` 之后不需要改测试。
7
+
8
+ ## 0.1.0
9
+
10
+ 首个版本。把五个「会话管理类」插件合并成一个聚合包,插件列表里只出现一行。
11
+
12
+ - 组件(全部从 **GitHub 仓库的本地检出** vendor,不从 npm 取):
13
+ `dsh-delete-session` 0.5.0、`dsh-session-relocate` 0.3.1、`dsh-session-rename-dblclick` 0.2.0、
14
+ `dsh-session-counts` 0.0.3、`dsh-declutter` 0.2.0。
15
+ 每个的上游 commit 钉在 `package.json` 的 `dsh.vendorSources`,`npm run verify:manifest` 离线核对。
16
+ - 单一行身份:`cordis.patch.yml` 插 1 行裸包名 + 5 行 `dsh-better-sidebar-left/<后缀>`;
17
+ 插件列表按包身份去重,所以五个组件不各自成行。
18
+ - 两半都逐字节 vendor:浏览器半部在 `src/vendor/*.js`,宿主半部在 `src/vendor/host/*.js`。
19
+ 所以 profile 里只装本包一个就够,五个组件包不用装(这与 as-aistudio 一致)。
20
+ 代价:组件修复要重 vendor + 重发;移走组件包不会让功能消失。
21
+ - `GET /api/dsh-better-sidebar-left/status`:每个组件装没装、什么版本、那一行是不是真的活着
22
+ (读 Loader 行 fiber),并报 `versionMatch`(宿主半部与浏览器半部是否同版)。
23
+ - 设置页:插件列表里本包那一行的配置页显示五个组件的实时状态与槽位占用表;
24
+ 能导出设置卡的组件(本版只有 relocate 的「连同子对话」)在那里直接渲染它自己的卡。
25
+ - 已知冲突:`dsh-declutter` 0.2.0 的侧栏半部与独立插件 `dsh-sidebar-declutter` 0.3.3
26
+ 是同一份代码(同 `STORE_KEY`、同 `data-dsh-sidebar-declutter`、同两个 slot id)。
27
+ 两者同时启用会重复注册同一个 slot 身份,启用本包时请停用独立的 `dsh-sidebar-declutter`。
28
+
29
+ ### 与本机部件的编号差异(记录,不是兼容问题)
30
+
31
+ `dsh-declutter` 的 npm 历史曾经和仓库不一致:`0.1.2` / `0.1.3` 只有**侧栏半部**
32
+ (`src/index.js` 是 98 字节空壳)。`0.2.0`(两半合一 + 命名会话修复)已于 2026-11-21
33
+ 发布到 npm,`latest` 指向它;但本包的取源仍然按 GitHub commit 钉住,理由与另外四个一致:
34
+ commit 是可复现的,dist-tag 不是。
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 DDDMUC (暮迟)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.en.md ADDED
@@ -0,0 +1,105 @@
1
+ # dsh-better-sidebar-left
2
+
3
+ Five session-management plugins in one install. **The plugin list grows by exactly one row**, and every feature survives.
4
+
5
+ > The name only promises the **left sidebar**: deleting a session, moving it across workspaces,
6
+ > renaming it on double-click and counting sessions all happen there. One half does not live in
7
+ > the sidebar - dsh-declutter folds away failed, empty and synthesised turns **inside the
8
+ > conversation**. The name leaves it out; the feature is in.
9
+
10
+ | Component | What you get |
11
+ |---|---|
12
+ | `dsh-delete-session` 0.5.0 | **Delete a session** from the sidebar row menu: a risk list (log, workspace files, quarantine folder) first, nothing touched until you confirm; plus a multi-select footer bar for batches |
13
+ | `dsh-session-relocate` 0.3.1 | **Move across workspaces**: row menu, context menu, or drag the session row onto the target workspace - a crash-recoverable transaction, open-but-idle sessions included |
14
+ | `dsh-session-rename-dblclick` 0.2.0 | **Rename in place**: one click on the header title, a double click on a sidebar row; the pill follows the shipped title (40px, 22px radius, outline on hover, brand ring while editing), Enter saves, Esc cancels |
15
+ | `dsh-session-counts` 0.0.3 | **Per-workspace counts**: a badge at the end of each workspace row and a total next to the section label, following the archived filter |
16
+ | `dsh-declutter` 0.2.0 | **Declutter**: failed/empty/synthesised turns fold away per a rule table (view attributes only, reversible, log untouched) + sidebar tidying (brand row, New session, More buttons, top gap, panel visibility and order) |
17
+
18
+ ## Install
19
+
20
+ ```sh
21
+ npm i dsh-better-sidebar-left
22
+ ```
23
+
24
+ Then add `dsh-better-sidebar-left` to the profile's `dsh.profile.bundles`. The components do **not** need to be installed as bundles - but their host halves have to resolve from the profile (see "What happens when one is missing").
25
+
26
+ During development, point a profile at this checkout:
27
+
28
+ ```sh
29
+ node tools/link-local.mjs --profile ~/.dsh/profiles/desktop --dry-run
30
+ node tools/link-local.mjs --profile ~/.dsh/profiles/desktop
31
+ ```
32
+
33
+ ## One switch per component
34
+
35
+ `cordis.patch.yml` inserts six rows: this package's own row (bare package name) plus five `dsh-better-sidebar-left/<suffix>` rows. **One row in the package list, six in the row list**, so every component can be disabled on its own - disable `dsh-better-sidebar-left/declutter` and you lose the decluttering, not the other four.
36
+
37
+ ## What happens when one is missing
38
+
39
+ ## One package is all you install
40
+
41
+ Both halves of all five components live in this package: the browser halves in
42
+ `src/vendor/*.js`, the host halves in `src/vendor/host/*.js`, every byte generated by
43
+ `tools/vendor.mjs` and stamped with the version it came from. So the profile needs exactly one
44
+ package - `dsh-better-sidebar-left`. The five component packages do **not** have to be installed,
45
+ and installing them changes nothing (this package runs its own vendored copy).
46
+
47
+ The price, stated plainly (the trade-off against importing the real packages is in
48
+ `docs/INTEROP.md` section 11):
49
+
50
+ - a component fix reaches this package only through `npm run vendor && npm run build` plus a release;
51
+ - removing a component package does **not** remove the feature, because the code is already here;
52
+ - each component row can still be disabled on its own - one row in the plugin list, six in the row
53
+ list - so disabling `dsh-better-sidebar-left/declutter` costs you the decluttering, nothing else.
54
+
55
+ ## Relationship to standalone installs
56
+
57
+ Each component is still a complete plugin on its own. **Never enable two sources of the same feature at once**:
58
+
59
+ - with this package installed, drop `dsh-delete-session` / `dsh-session-relocate` / `dsh-declutter` from `dsh.profile.bundles` (two mounts in one process collide on routes and slots);
60
+ - **especially** `dsh-sidebar-declutter`: the sidebar half of `dsh-declutter` 0.2.0 is the same code as 0.3.3 (98.3% identical lines, same `STORE_KEY = 'dsh-sidebar-declutter'`, same `data-dsh-sidebar-declutter`, same slot ids `sidebar-declutter-collapse` and `hide-rows`). Both at once is one piece of code running twice over the same DOM. Disable it while this plugin is enabled.
61
+
62
+ ## Status route
63
+
64
+ ```sh
65
+ curl -s http://127.0.0.1:<port>/api/dsh-better-sidebar-left/status | jq .summary
66
+ ```
67
+
68
+ It answers one question: is each component installed, which version is running, and is its row **really** live - read from `ctx.loader.entries()` and the row fiber's own state, never from an optimistic self-report. `version` is the browser half (the copy vendored here), `installedVersion` is the host half in the profile, and `versionMatch: false` means they disagree - reported, never silently repaired.
69
+
70
+ Two more fields separate "what is on disk" from "what this process is running": `hostLoaded` says whether that row mounted in this process at all, and `hostStale` says the hash in memory differs from the file on disk (`null` = it never mounted here). `summary.stale` counts them. A vendored file does not reload itself, so a non-zero count means the host needs a restart.
71
+
72
+ ## Development
73
+
74
+ ```sh
75
+ npm run check # verify:manifest + build + test
76
+ npm run verify:vendor # is src/vendor/ in sync with the component sources (read-only)
77
+ npm run verify:build # is src/client.js in sync with src/sidebar.js + src/vendor/ (read-only)
78
+ npm test # tests only
79
+ npm run bump 0.2.0 # move the version in all three places
80
+ ```
81
+
82
+ `src/client.js` and `src/vendor/*.js` are **GENERATED**: hand edits are overwritten by the next `npm run build`, and `test/sync.test.js` fails first. Fix a component in its own repository; change this plugin's own logic in `src/sidebar.js`.
83
+
84
+ The vendoring sources live in `../dsh-better-sidebar-left-src/components/<package>/` (override with `--workspace`); the tool never reads the component working trees in this workspace.
85
+
86
+ ## Layout
87
+
88
+ ```
89
+ cordis.patch.yml one own row + five component rows (mechanism A/B notes in the file)
90
+ src/components.js the only manifest: identity, slots, routes, DOM ownership
91
+ src/index.js host half: /api/dsh-better-sidebar-left/status + importComponent
92
+ src/shell.js component-row shell: read config.plugin, import the real package, ctx.plugin
93
+ src/sidebar.js this plugin's own browser half (source)
94
+ src/client.js GENERATED: plugin + five vendored factories, one bundle
95
+ src/vendor/*.js GENERATED: the five browser halves
96
+ src/vendor/host/ GENERATED: the five host halves (sibling modules included)
97
+ tools/vendor.mjs byte-for-byte src/vendor/ generation (--check)
98
+ tools/build.mjs src/client.js stitching (--check)
99
+ docs/INTEROP.md rules, slot table, absence and hide attribution, self-contained architecture
100
+ test/ 10 test files
101
+ ```
102
+
103
+ ## License
104
+
105
+ MIT. Each component keeps its own copyright.
package/README.md CHANGED
@@ -1,3 +1,124 @@
1
- # Temporary Holding Version
1
+ # dsh-better-sidebar-left
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ 五个会话管理插件,装一个包。**插件列表里只多一行**,五个功能全部保留。
4
+
5
+ > 名字只承诺**左侧栏**:删会话、跨工作区搬会话、双击改名、数会话数,都发生在侧栏。
6
+ > 但 `dsh-declutter` 的「会话内收纳」收的是**对话里**的失败轮 / 空轮 / 编辑产生的合成轮 ——
7
+ > 那一半不在左侧栏,名字里没有它,功能里有。
8
+
9
+ | 组件 | 你得到什么 |
10
+ |---|---|
11
+ | `dsh-delete-session` 0.5.0 | 侧栏会话行「…」菜单里的**删除会话**:先给风险清单(日志 / 工作区文件 / 隔离目录),确认后才动手;另有批量多选底栏 |
12
+ | `dsh-session-relocate` 0.3.1 | **跨工作区移动**:会话行「…」菜单、右键菜单、直接把会话行拖到目标工作区;崩溃可恢复的事务,打开中但空闲的会话也能搬 |
13
+ | `dsh-session-rename-dblclick` 0.2.0 | **就地改名**:顶栏标题单击、侧栏行双击;胶囊尺寸/配色照官方标题(40px、22px 圆角、悬停描边、聚焦品牌色),Enter 存 / Esc 取消 |
14
+ | `dsh-session-counts` 0.0.3 | **工作区会话数**:每行行尾显示计数,表头显示总数,口径跟随「已归档」筛选 |
15
+ | `dsh-declutter` 0.2.0 | **收纳与整理**:会话内失败轮/空轮/合成轮按规则表收起(只加视图属性,可逆,不改日志)+ 侧栏藏品牌行 /「新会话」/「更多」/顶部空隙,面板显隐与排序 |
16
+
17
+ ## 安装
18
+
19
+ ```sh
20
+ npm i dsh-better-sidebar-left
21
+ ```
22
+
23
+ 然后把 `dsh-better-sidebar-left` 加进 profile 的 `dsh.profile.bundles`。组件**不需要**单独安装成本
24
+ 包 —— 但它们的宿主半部要能从 profile 里被解析到(见下面「缺一个会怎样」)。
25
+
26
+ 开发时指向本地检出:
27
+
28
+ ```sh
29
+ node tools/link-local.mjs --profile ~/.dsh/profiles/desktop --dry-run
30
+ node tools/link-local.mjs --profile ~/.dsh/profiles/desktop
31
+ ```
32
+
33
+ ## 每个组件一个开关
34
+
35
+ `cordis.patch.yml` 一共插 6 行:本包自己一行(裸包名),加上五行
36
+ `dsh-better-sidebar-left/<后缀>`。**包列表只有一行,但行列表里有六行**,所以每个组件都能在插件
37
+ 管理里单独停用 —— 停用 `dsh-better-sidebar-left/declutter` 就只少收纳,其余四个照常。
38
+
39
+ ## 缺一个会怎样
40
+
41
+ ## 只装一个就够
42
+
43
+ 五个组件的**两半都在本包里**:浏览器半部在 `src/vendor/*.js`,宿主半部在
44
+ `src/vendor/host/*.js`,都由 `tools/vendor.mjs` 逐字节生成并盖版本戳。所以 profile 里只要装
45
+ `dsh-better-sidebar-left` **一个包** —— 那五个组件包不用装,装了也不影响本包跑哪份代码
46
+ (本包跑的是自己 vendor 的那份)。
47
+
48
+ 代价说清楚(这是与「组件行 import 真实包」那种做法的取舍,见 `docs/INTEROP.md` §11):
49
+
50
+ - 组件仓库修了 bug,要 `npm run vendor && npm run build` 再发一版本包,才会进到这里;
51
+ - 移走组件包**不会**让功能消失(代码本来就在包里),所以「卸载组件 ⇒ 那块功能退场」在
52
+ 这种架构下不成立;
53
+ - 但五个组件行仍然可以**单独停用**:插件列表里本包一行,行列表里有六行,停用
54
+ `dsh-better-sidebar-left/declutter` 就只少收纳,其余四个照常。这才是这里的「独立开关」。
55
+
56
+ ## 和独立安装的关系
57
+
58
+ 五个组件单独装依然是完整可用的插件。**但不要同时启用同一个功能的两个来源**:
59
+
60
+ - 装本包时,把 `dsh-delete-session` / `dsh-session-relocate` / `dsh-declutter` 从
61
+ `dsh.profile.bundles` 里去掉(否则同一进程里挂两遍,路由 / slot 必然撞);
62
+ - **特别注意** `dsh-sidebar-declutter`:`dsh-declutter` 0.2.0 的侧栏半部与它 0.3.3 是同一份
63
+ 代码(逐行 98.3% 相同,同 `STORE_KEY = 'dsh-sidebar-declutter'`、同
64
+ `data-dsh-sidebar-declutter`、同 slot id `sidebar-declutter-collapse` 与 `hide-rows`)。
65
+ 两个都开就是同一份代码跑两遍、两个 MutationObserver 抢同一批行。启用本包时请停用它。
66
+
67
+ ## 状态路由
68
+
69
+ ```sh
70
+ curl -s http://127.0.0.1:<port>/api/dsh-better-sidebar-left/status | jq .summary
71
+ ```
72
+
73
+ 只回答一个问题:每个组件装没装、跑的是哪一版、它那一行**是不是真的活着**。
74
+ 读的是 `ctx.loader.entries()` 与行 fiber 自己的状态,不是插件自报的「我挂上了」。
75
+ `version` 是**浏览器半部**(本包 vendor 的那份)的版本,`installedVersion` 是 profile 里装的
76
+ 宿主半部版本,`versionMatch: false` 说明两边错版 —— 只会被报出来,不会被悄悄修补。
77
+
78
+ 还有两个字段专门拆「磁盘上是哪一版」和「进程里跑的是哪一版」:`hostLoaded` 表示这一行在这个进程里
79
+ 有没有挂过,`hostStale` 表示**内存里那份的哈希和磁盘上现在这份不一样**(`null` = 那个进程还没挂过它)。
80
+ `summary.stale` 是这类组件的个数。vendored 文件改了不会自我重载,这个字段就是为它准备的 ——
81
+ 非 0 就说明宿主该重启了。
82
+
83
+ ## 开发
84
+
85
+ ```sh
86
+ npm run check # verify:manifest + build + test
87
+ npm run verify:vendor # src/vendor/ 是否与组件源码一致(只读)
88
+ npm run verify:build # src/client.js 是否与 src/sidebar.js + src/vendor/ 一致(只读)
89
+ npm test # 只跑测试
90
+ npm run bump 0.2.0 # 三处版本号一起动
91
+ ```
92
+
93
+ `src/client.js` 与 `src/vendor/*.js` 都是 **GENERATED**,手改会被下一次 `npm run build` 覆盖,
94
+ `test/sync.test.js` 也会先失败。改组件请去组件仓库,改本包自己的逻辑改 `src/sidebar.js`。
95
+
96
+ vendor 的源是 **GitHub 仓库的本地检出**:`../dsh-better-sidebar-left-src/components/<包名>/`,
97
+ 每个都是一个 git 仓库,基线提交里记着它对应 GitHub 上的哪个 commit(默认路径,可用
98
+ `--workspace` 覆盖)。它**不会**读你工作区里那些正在开发的组件工作树。
99
+
100
+ `npm run verify:manifest` 因此是**离线**的:不查 npm registry,只核对「声明了哪个仓库/哪个
101
+ commit/哪个版本」与「本地那份检出是不是真的干净地停在那个 commit 上」,再和
102
+ `src/vendor/versions.json` 对一遍。要换组件版本,流程是:从 GitHub 拉那个 commit → 更新
103
+ `package.json` 的 `dsh.vendorSources` → `npm run vendor` → `npm run check`。
104
+
105
+ ## 目录
106
+
107
+ ```
108
+ cordis.patch.yml 1 自身行 + 5 组件行(机制 A/B 的注释在文件里)
109
+ src/components.js 唯一 manifest:五个组件的身份、槽位、路由、DOM 归属
110
+ src/index.js 宿主半部:/api/dsh-better-sidebar-left/status + importComponent
111
+ src/shell.js 组件行挂载器:读 config.plugin,挂 `src/vendor/host/<id>.js`
112
+ src/sidebar.js 自身浏览器半部(源)
113
+ src/client.js GENERATED:plugin + 五个 vendored factory 的一个 bundle
114
+ src/vendor/*.js GENERATED:五个组件的浏览器半部
115
+ src/vendor/host/ GENERATED:五个组件的宿主半部(含相对模块)
116
+ tools/vendor.mjs 逐字节生成 src/vendor/(--check)
117
+ tools/build.mjs 合成 src/client.js(--check)
118
+ docs/INTEROP.md 铁律、槽位表、缺席与隐藏归因、自包含架构
119
+ test/ 10 个测试文件
120
+ ```
121
+
122
+ ## 许可
123
+
124
+ MIT。五个组件的版权归各自仓库。
@@ -0,0 +1,69 @@
1
+ # dsh-better-sidebar-left bundle patch: five session plugins, ONE row in the plugin list.
2
+ #
3
+ # Self-contained: the plugin list shows exactly this package. The five components
4
+ # are ordinary packages this plugin composes, not profile bundles, so they have no
5
+ # rows of their own and never appear in that list.
6
+ #
7
+ # Six rows are inserted here:
8
+ #
9
+ # 1. this package's own row. Its name is the BARE package name on purpose: the
10
+ # client-module scanner treats an exact package specifier as a package and
11
+ # resolves <name>/package.json for the dsh.client declaration. That is the
12
+ # row the single browser bundle (src/client.js, which carries this plugin's
13
+ # own half and all five vendored component factories) is served for.
14
+ #
15
+ # 2-6. one row per component, named <this package>/<suffix>. Every one of
16
+ # those names resolves through package.json exports to src/shell.js, and the
17
+ # shell mounts the component package named in config.plugin. Two properties
18
+ # ride on that name, both load-bearing:
19
+ #
20
+ # * the plugin list is a deduplicated set of package identities, and a
21
+ # subpath of this package resolves to this package's identity - so the
22
+ # five extra rows cost exactly zero extra rows in that list;
23
+ # * the client-module scanner accepts only an exact package specifier, so a
24
+ # subpath row never becomes a second browser source. The components'
25
+ # browser halves keep travelling inside this package's bundle, and the
26
+ # scanner's negative verdict for these specifiers is what keeps the boot
27
+ # graph from growing a second entry per component.
28
+ #
29
+ # Both halves of every component are vendored into this package (tools/vendor.mjs),
30
+ # so installing it installs nothing else: the profile needs exactly one package and
31
+ # the five component packages do not have to be present at all. src/shell.js mounts
32
+ # src/vendor/host/<id>.js, never the component package.
33
+ #
34
+ # That is also why a component's fix reaches this package only through a re-vendor
35
+ # and a release - the copy here is the copy that runs. A component package that is
36
+ # missing, outdated or newer changes nothing about what runs.
37
+ #
38
+ # A row that fails to start is not fatal: it fails on its own (the Loader reports the
39
+ # reason and the other entries still start), and /api/dsh-better-sidebar-left/status
40
+ # reports hostMounted: false with that reason - which is also what keeps its buttons
41
+ # off the page.
42
+ - insert:
43
+ - id: dsh-better-sidebar-left
44
+ name: 'dsh-better-sidebar-left'
45
+ - insert:
46
+ - id: dsh-better-sidebar-left-delete
47
+ name: 'dsh-better-sidebar-left/delete'
48
+ config:
49
+ plugin: 'dsh-delete-session'
50
+ - insert:
51
+ - id: dsh-better-sidebar-left-relocate
52
+ name: 'dsh-better-sidebar-left/relocate'
53
+ config:
54
+ plugin: 'dsh-session-relocate'
55
+ - insert:
56
+ - id: dsh-better-sidebar-left-rename
57
+ name: 'dsh-better-sidebar-left/rename'
58
+ config:
59
+ plugin: 'dsh-session-rename-dblclick'
60
+ - insert:
61
+ - id: dsh-better-sidebar-left-counts
62
+ name: 'dsh-better-sidebar-left/counts'
63
+ config:
64
+ plugin: 'dsh-session-counts'
65
+ - insert:
66
+ - id: dsh-better-sidebar-left-declutter
67
+ name: 'dsh-better-sidebar-left/declutter'
68
+ config:
69
+ plugin: 'dsh-declutter'
package/package.json CHANGED
@@ -1,6 +1,126 @@
1
1
  {
2
2
  "name": "dsh-better-sidebar-left",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.6",
4
+ "description": "Session management for DeepSeek Harness in one install: delete a session with a risk-checked confirmation, move one across workspaces (menu and drag), rename one by double-clicking its title, show per-workspace session counts, and declutter both the sidebar and the conversation's collapsed turns. Self-contained: the plugin list shows this one row, and the five components are vendored inside it - installing this plugin installs nothing else.",
5
+ "type": "module",
6
+ "main": "src/index.js",
7
+ "exports": {
8
+ ".": "./src/index.js",
9
+ "./client": "./src/client.js",
10
+ "./delete": "./src/shell.js",
11
+ "./relocate": "./src/shell.js",
12
+ "./rename": "./src/shell.js",
13
+ "./counts": "./src/shell.js",
14
+ "./declutter": "./src/shell.js",
15
+ "./package.json": "./package.json"
16
+ },
17
+ "files": [
18
+ "src/index.js",
19
+ "src/shell.js",
20
+ "src/components.js",
21
+ "src/client.js",
22
+ "src/vendor/host",
23
+ "src/vendor/versions.json",
24
+ "cordis.patch.yml",
25
+ "CHANGELOG.md",
26
+ "README.md",
27
+ "README.en.md",
28
+ "LICENSE"
29
+ ],
30
+ "keywords": [
31
+ "deepseek-harness",
32
+ "dsh",
33
+ "dsh-plugin",
34
+ "session",
35
+ "sidebar",
36
+ "delete-session",
37
+ "relocate",
38
+ "rename",
39
+ "counts",
40
+ "declutter"
41
+ ],
42
+ "license": "MIT",
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "git+https://github.com/DDDMUC/dsh-better-sidebar-left.git"
46
+ },
47
+ "engines": {
48
+ "node": ">=22"
49
+ },
50
+ "scripts": {
51
+ "vendor": "node tools/vendor.mjs",
52
+ "build": "node tools/vendor.mjs && node tools/build.mjs",
53
+ "test": "node --test test/*.test.js",
54
+ "check": "npm run verify:manifest && npm run build && npm test",
55
+ "bump": "node tools/bump.mjs",
56
+ "verify:vendor": "node tools/vendor.mjs --check",
57
+ "verify:build": "node tools/build.mjs --check",
58
+ "verify:manifest": "node tools/verify-manifest.mjs",
59
+ "link:local": "node tools/link-local.mjs",
60
+ "push:github": "node tools/push-github.mjs"
61
+ },
62
+ "dependencies": {},
63
+ "dsh": {
64
+ "bundle": {
65
+ "patch": "./cordis.patch.yml"
66
+ },
67
+ "vendorSources": {
68
+ "dsh-delete-session": {
69
+ "repo": "https://github.com/DDDMUC/dsh-delete-session",
70
+ "ref": "main",
71
+ "commit": "ace70523d299b57ab4d86563f99b728ffdc0150f",
72
+ "version": "0.5.0"
73
+ },
74
+ "dsh-session-relocate": {
75
+ "repo": "https://github.com/DDDMUC/dsh-session-relocate",
76
+ "ref": "main",
77
+ "commit": "b2695f40c4c442c4aa5a4e57294a0f7a6d5c263f",
78
+ "version": "0.3.1"
79
+ },
80
+ "dsh-session-rename-dblclick": {
81
+ "repo": "https://github.com/DDDMUC/dsh-session-rename-dblclick",
82
+ "ref": "main",
83
+ "commit": "28a621aed02d63fdaf1ee406d1eaef260d0d741b",
84
+ "version": "0.2.0"
85
+ },
86
+ "dsh-session-counts": {
87
+ "repo": "https://github.com/DDDMUC/dsh-session-counts",
88
+ "ref": "main",
89
+ "commit": "51971fd0c7093fc4921fc2f70a602a9dd7e21f30",
90
+ "version": "0.0.3"
91
+ },
92
+ "dsh-declutter": {
93
+ "repo": "https://github.com/DDDMUC/dsh-declutter",
94
+ "ref": "main",
95
+ "commit": "0ae7873dabdc39ddd26ff7a9ea58f04841c8b003",
96
+ "version": "0.2.0"
97
+ }
98
+ },
99
+ "client": {
100
+ "platform": "web",
101
+ "immediately": true,
102
+ "inject": [
103
+ "@deepseek-ai/dsh-client-locale",
104
+ "@deepseek-ai/dsh-client-runtime",
105
+ "@deepseek-ai/dsh-client-ui-chat",
106
+ "@deepseek-ai/dsh-client-ui-conversation",
107
+ "@deepseek-ai/dsh-client-ui-plugin-manager",
108
+ "@deepseek-ai/dsh-client-ui-primitives",
109
+ "@deepseek-ai/dsh-client-ui-sidebar",
110
+ "@deepseek-ai/dsh-client-ui-slots",
111
+ "@deepseek-ai/dsh-client-ui-trajectory",
112
+ "@deepseek-ai/dsh-client-ui-workspace"
113
+ ]
114
+ },
115
+ "engines": {
116
+ "dsh": ">=0.2.0-rc.2"
117
+ },
118
+ "compatibility": {
119
+ "dshReleases": {
120
+ "0.2.0-rc.2": "compatible",
121
+ "0.2.1-rc.2": "compatible"
122
+ }
123
+ },
124
+ "vendorSourcesNote": "Every component source is a local git checkout of its GitHub repository at this exact commit (dsh-better-sidebar-left-src/components/<package>). A commit is what makes a build reproducible - a dist-tag is not - so all five are taken the same way, whether or not the same version is also on the npm registry."
125
+ }
126
+ }