dsh-asuta-cdx-plus 0.0.0-stage → 0.1.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Asuta and contributors
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.md CHANGED
@@ -1,3 +1,13 @@
1
- # Temporary Holding Version
1
+ # DSH CDX Plus
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
+ DSH 体验增强套件。熟悉的交互,更顺手的 DSH。
4
+
5
+ 安装后打开「插件 → DSH CDX Plus」,通过组件开关分别控制 18 项功能。
6
+
7
+ 合集提供功能状态概览、引用与侧边对话的联动提示,并保留内置浏览器的配置入口。其他功能的参数仍在原来的设置页面。
8
+
9
+ 开关作用于当前 profile;关闭不会删除会话或项目。DSH 提示需要重启时按提示操作。
10
+
11
+ 不要与开发版或同一功能的单独安装版本重复启用。迁移前先关闭旧版并保留配置备份。
12
+
13
+ 当前发行状态见仓库根目录 RELEASE_STATUS.md。
package/client.js ADDED
@@ -0,0 +1,185 @@
1
+ window.__ModuleLoader__.load({
2
+ id: "dsh-asuta-cdx-plus",
3
+ factory(require) {
4
+ const React = require("react");
5
+ const h = React.createElement;
6
+ const features = [
7
+ {
8
+ "directory": "archived-sessions",
9
+ "name": "dsh-asuta-archived-sessions",
10
+ "version": "0.1.2",
11
+ "title": "归档会话管理",
12
+ "rowId": "archived-sessions",
13
+ "bundleConfig": false
14
+ },
15
+ {
16
+ "directory": "codex-review",
17
+ "name": "dsh-asuta-codex-review",
18
+ "version": "0.1.2",
19
+ "title": "代码审查",
20
+ "rowId": "local-codex-review",
21
+ "bundleConfig": false
22
+ },
23
+ {
24
+ "directory": "conversation-workbench",
25
+ "name": "dsh-asuta-conversation-workbench",
26
+ "version": "0.1.2",
27
+ "title": "对话管理工具",
28
+ "rowId": "conversation-workbench",
29
+ "bundleConfig": false
30
+ },
31
+ {
32
+ "directory": "desktop-navigation",
33
+ "name": "dsh-asuta-desktop-navigation",
34
+ "version": "0.1.2",
35
+ "title": "桌面导航",
36
+ "rowId": "desktop-enhancements",
37
+ "bundleConfig": false
38
+ },
39
+ {
40
+ "directory": "dsh-mermaid-renderer",
41
+ "name": "dsh-asuta-mermaid-renderer",
42
+ "version": "0.1.2",
43
+ "title": "Mermaid 图表",
44
+ "rowId": "dsh-asuta-mermaid-renderer",
45
+ "bundleConfig": false
46
+ },
47
+ {
48
+ "directory": "dsh-sidebrowser",
49
+ "name": "dsh-asuta-sidebrowser",
50
+ "version": "0.1.2",
51
+ "title": "内置浏览器",
52
+ "rowId": "dsh-asuta-sidebrowser",
53
+ "bundleConfig": true
54
+ },
55
+ {
56
+ "directory": "git-diff",
57
+ "name": "dsh-asuta-git-diff",
58
+ "version": "0.1.2",
59
+ "title": "Git 变更",
60
+ "rowId": "local-git-diff",
61
+ "bundleConfig": false
62
+ },
63
+ {
64
+ "directory": "hide-new-session",
65
+ "name": "dsh-asuta-hide-new-session",
66
+ "version": "0.1.2",
67
+ "title": "隐藏新会话按钮",
68
+ "rowId": "hide-new-session",
69
+ "bundleConfig": false
70
+ },
71
+ {
72
+ "directory": "history-edit",
73
+ "name": "dsh-asuta-history-edit",
74
+ "version": "0.1.2",
75
+ "title": "历史消息编辑",
76
+ "rowId": "local-history-edit",
77
+ "bundleConfig": false
78
+ },
79
+ {
80
+ "directory": "project-activity",
81
+ "name": "dsh-asuta-project-activity",
82
+ "version": "0.1.2",
83
+ "title": "项目活动状态",
84
+ "rowId": "project-activity",
85
+ "bundleConfig": false
86
+ },
87
+ {
88
+ "directory": "projectless-chat",
89
+ "name": "dsh-asuta-projectless-chat",
90
+ "version": "0.1.2",
91
+ "title": "无工作区对话",
92
+ "rowId": "projectless-chat",
93
+ "bundleConfig": false
94
+ },
95
+ {
96
+ "directory": "reasoning-effort-memory",
97
+ "name": "dsh-asuta-reasoning-effort-memory",
98
+ "version": "0.1.2",
99
+ "title": "记忆思考强度",
100
+ "rowId": "reasoning-effort-memory",
101
+ "bundleConfig": false
102
+ },
103
+ {
104
+ "directory": "selection-quote",
105
+ "name": "dsh-asuta-selection-quote",
106
+ "version": "0.1.2",
107
+ "title": "选中引用",
108
+ "rowId": "selection-quote",
109
+ "bundleConfig": false
110
+ },
111
+ {
112
+ "directory": "session-mover",
113
+ "name": "dsh-asuta-session-mover",
114
+ "version": "0.1.2",
115
+ "title": "移动对话",
116
+ "rowId": "session-mover",
117
+ "bundleConfig": false
118
+ },
119
+ {
120
+ "directory": "sidebar-chat",
121
+ "name": "dsh-asuta-sidebar-chat",
122
+ "version": "0.1.2",
123
+ "title": "侧边对话",
124
+ "rowId": "sidebar-chat",
125
+ "bundleConfig": false
126
+ },
127
+ {
128
+ "directory": "sidebar-more",
129
+ "name": "dsh-asuta-sidebar-more",
130
+ "version": "0.1.2",
131
+ "title": "侧栏整理",
132
+ "rowId": "sidebar-more",
133
+ "bundleConfig": false
134
+ },
135
+ {
136
+ "directory": "user-agent-settings",
137
+ "name": "dsh-asuta-user-agent-settings",
138
+ "version": "0.1.2",
139
+ "title": "Agent 设置",
140
+ "rowId": "user-agent-settings",
141
+ "bundleConfig": false
142
+ },
143
+ {
144
+ "directory": "worktree-control",
145
+ "name": "dsh-asuta-worktree-control",
146
+ "version": "0.1.2",
147
+ "title": "工作树控制",
148
+ "rowId": "worktree-control",
149
+ "bundleConfig": false
150
+ }
151
+ ];
152
+ const suiteName = "dsh-asuta-cdx-plus";
153
+
154
+ function Overview({ subject }) {
155
+ if (subject.kind !== "bundle" || subject.pkg.name !== suiteName) return null;
156
+ const zh = (document.documentElement.lang || navigator.language || "en").startsWith("zh");
157
+ const rows = new Map(subject.pkg.rows.map(row => [row.moduleName, row]));
158
+ const enabled = features.filter(feature => rows.get(feature.name)?.enabled).length;
159
+ const missing = features.filter(feature => !rows.has(feature.name));
160
+ const quote = features.find(feature => feature.directory === "selection-quote");
161
+ const side = features.find(feature => feature.directory === "sidebar-chat");
162
+ const sideHint = rows.get(quote.name)?.enabled && !rows.get(side.name)?.enabled;
163
+ return h("section", { "data-dsh-cdx-plus": "overview", style: { font: "inherit", lineHeight: 1.6 } },
164
+ h("strong", null, "DSH CDX Plus"),
165
+ h("p", { role: "status" }, zh
166
+ ? `${enabled} / ${features.length} 项功能已启用。下方组件开关分别控制每个功能。`
167
+ : `${enabled} / ${features.length} features enabled. Use the component switches below to control each feature.`),
168
+ missing.length ? h("p", { role: "alert" }, (zh ? "未找到组件:" : "Missing components: ") + missing.map(item => item.title).join(", ")) : null,
169
+ sideHint ? h("p", null, zh
170
+ ? "侧边对话已关闭:引用和批注仍可使用,从引用打开侧边对话需要开启该组件。"
171
+ : "Side chat is disabled. Quotes and annotations still work; opening a side chat from a quote requires that component.") : null,
172
+ h("p", null, zh
173
+ ? "功能参数保留在各自的设置入口。开关作用于当前 profile;是否需要重启以 DSH 的提示为准。"
174
+ : "Feature options remain in their own settings. Switches affect this profile; follow DSH if a restart is required.")
175
+ );
176
+ }
177
+
178
+ function apply(ctx) {
179
+ ctx.slots.inject("plugins.detail.section", () => ctx.slots.register({
180
+ name: "plugins.detail.section", id: `${suiteName}:overview`, order: 10,
181
+ }, Overview));
182
+ }
183
+ return { inject: ["slots"], apply };
184
+ },
185
+ });
@@ -0,0 +1,101 @@
1
+ - insert:
2
+ - id: asuta-suite
3
+ name: dsh-asuta-cdx-plus
4
+ config: {}
5
+
6
+ - insert:
7
+ - id: archived-sessions
8
+ name: 'dsh-asuta-archived-sessions'
9
+ config: {}
10
+
11
+ - insert:
12
+ - id: local-codex-review
13
+ name: 'dsh-asuta-codex-review'
14
+ config: {}
15
+
16
+ - insert:
17
+ - id: conversation-workbench
18
+ name: "dsh-asuta-conversation-workbench"
19
+ config: {}
20
+
21
+ - insert:
22
+ - id: desktop-enhancements
23
+ name: 'dsh-asuta-desktop-navigation'
24
+ config: {}
25
+
26
+ # dsh-asuta-mermaid-renderer — host plugin insertion.
27
+ #
28
+ # The host half is deliberately inert: all behaviour lives in the browser half
29
+ # (lib/client.js). This row exists so the package is an ENABLED Loader entry,
30
+ # which is what makes the host-side client-modules scanner publish
31
+ # `exports["./client"]` to the browser as a module.
32
+ #
33
+ # Keep the id stable: it is also the namespace you would use for a future
34
+ # host-side Config (`ctx.configForms.get('dsh-asuta-mermaid-renderer')`).
35
+ - insert:
36
+ - id: dsh-asuta-mermaid-renderer
37
+ name: dsh-asuta-mermaid-renderer
38
+
39
+ - insert:
40
+ - id: dsh-asuta-sidebrowser
41
+ name: 'dsh-asuta-sidebrowser'
42
+
43
+ - insert:
44
+ - id: local-git-diff
45
+ name: "dsh-asuta-git-diff"
46
+ config: {}
47
+
48
+ - insert:
49
+ - id: hide-new-session
50
+ name: 'dsh-asuta-hide-new-session'
51
+ config: {}
52
+
53
+ - insert:
54
+ - id: local-history-edit
55
+ name: "dsh-asuta-history-edit"
56
+ config: {}
57
+
58
+ - insert:
59
+ - id: project-activity
60
+ name: 'dsh-asuta-project-activity'
61
+ config: {}
62
+
63
+ - insert:
64
+ - id: projectless-chat
65
+ name: 'dsh-asuta-projectless-chat'
66
+ config: {}
67
+
68
+ - insert:
69
+ - id: reasoning-effort-memory
70
+ name: 'dsh-asuta-reasoning-effort-memory'
71
+ config: {}
72
+
73
+ - insert:
74
+ - id: selection-quote
75
+ name: 'dsh-asuta-selection-quote'
76
+ config: {}
77
+
78
+ - insert:
79
+ - id: session-mover
80
+ name: 'dsh-asuta-session-mover'
81
+ config: {}
82
+
83
+ - insert:
84
+ - id: sidebar-chat
85
+ name: 'dsh-asuta-sidebar-chat'
86
+ config: {}
87
+
88
+ - insert:
89
+ - id: sidebar-more
90
+ name: 'dsh-asuta-sidebar-more'
91
+ config: {}
92
+
93
+ - insert:
94
+ - id: user-agent-settings
95
+ name: 'dsh-asuta-user-agent-settings'
96
+ config: {}
97
+
98
+ - insert:
99
+ - id: worktree-control
100
+ name: "dsh-asuta-worktree-control"
101
+ config: {}
package/icon.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect x="8" y="8" width="20" height="20" rx="5" fill="#6e9fff"/><rect x="36" y="8" width="20" height="20" rx="5" fill="#8bc9b2"/><rect x="8" y="36" width="20" height="20" rx="5" fill="#b4a0e8"/><rect x="36" y="36" width="20" height="20" rx="5" fill="#e9ba87"/></svg>
package/index.js ADDED
@@ -0,0 +1,2 @@
1
+ // The browser half contributes the suite overview and configuration links.
2
+ export function apply() {}
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "DSH CDX Plus",
4
+ "description": "DSH CDX Plus: familiar interactions, a smoother DSH experience. 18 independently switchable features."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "DSH CDX Plus",
4
+ "description": "DSH 体验增强套件:熟悉的交互,更顺手的 DSH。一次安装 18 项功能,独立开启或关闭。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,72 @@
1
1
  {
2
2
  "name": "dsh-asuta-cdx-plus",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.2",
4
+ "type": "module",
5
+ "description": "DSH CDX Plus: familiar interactions, a smoother DSH experience. 18 independently switchable features.",
6
+ "license": "MIT",
7
+ "icon": "./icon.svg",
8
+ "exports": {
9
+ ".": "./index.js",
10
+ "./client": "./client.js",
11
+ "./package.json": "./package.json",
12
+ "./cordis.patch.yml": "./cordis.patch.yml",
13
+ "./locale/*.json": "./locale/*.json"
14
+ },
15
+ "files": [
16
+ "index.js",
17
+ "client.js",
18
+ "cordis.patch.yml",
19
+ "locale",
20
+ "icon.svg",
21
+ "README.md",
22
+ "LICENSE"
23
+ ],
24
+ "dependencies": {
25
+ "dsh-asuta-archived-sessions": "0.1.2",
26
+ "dsh-asuta-codex-review": "0.1.2",
27
+ "dsh-asuta-conversation-workbench": "0.1.2",
28
+ "dsh-asuta-desktop-navigation": "0.1.2",
29
+ "dsh-asuta-mermaid-renderer": "0.1.2",
30
+ "dsh-asuta-sidebrowser": "0.1.2",
31
+ "dsh-asuta-git-diff": "0.1.2",
32
+ "dsh-asuta-hide-new-session": "0.1.2",
33
+ "dsh-asuta-history-edit": "0.1.2",
34
+ "dsh-asuta-project-activity": "0.1.2",
35
+ "dsh-asuta-projectless-chat": "0.1.2",
36
+ "dsh-asuta-reasoning-effort-memory": "0.1.2",
37
+ "dsh-asuta-selection-quote": "0.1.2",
38
+ "dsh-asuta-session-mover": "0.1.2",
39
+ "dsh-asuta-sidebar-chat": "0.1.2",
40
+ "dsh-asuta-sidebar-more": "0.1.2",
41
+ "dsh-asuta-user-agent-settings": "0.1.2",
42
+ "dsh-asuta-worktree-control": "0.1.2"
43
+ },
44
+ "dsh": {
45
+ "bundle": {
46
+ "patch": "./cordis.patch.yml"
47
+ },
48
+ "client": {
49
+ "platform": "web",
50
+ "inject": [
51
+ "@deepseek-ai/dsh-client-ui-slots",
52
+ "@deepseek-ai/dsh-client-ui-plugin-manager"
53
+ ]
54
+ }
55
+ },
56
+ "engines": {
57
+ "node": "^22.19.0 || >=24",
58
+ "dsh": "0.2.2-rc.2"
59
+ },
60
+ "repository": {
61
+ "type": "git",
62
+ "url": "git+https://github.com/Asuta/dsh-cdx-plus.git",
63
+ "directory": "packages/suite"
64
+ },
65
+ "publishConfig": {
66
+ "access": "public"
67
+ },
68
+ "keywords": [
69
+ "dsh-plugin",
70
+ "deepseek-harness"
71
+ ]
72
+ }