dsh-ide-git 0.10.0 → 0.11.0
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/dsh.plugin.json +2 -2
- package/package.json +3 -3
- package/src/client.js +11 -16
package/dsh.plugin.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-external/dsh-ide-git",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"description": "IDE 级 Git 操作面板:分支树 + 提交图谱 + 变更/暂存/提交 + 提交详情。装了 dsh-better-sidebar 时挂成它的原生 tab(右侧栏 + 底部工作台);没装时直接挂 DSH 原生右侧栏,单独安装即可用。JetBrains 风格 Git 工具窗口 for DeepSeek Harness.",
|
|
6
6
|
"engines": {
|
|
7
|
-
"dsh": ">=0.1.2
|
|
7
|
+
"dsh": ">=0.1.6-alpha.2"
|
|
8
8
|
},
|
|
9
9
|
"contributes": {
|
|
10
10
|
"tools": [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-ide-git",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "DSH plugin: an IDE-grade Git tool window as a native dsh-better-sidebar tab — branch tree, commit graph, changes, commit details, JetBrains-style actions, in the right sidebar and the bottom panel. | DSH 插件:IDE 级 Git 工具窗口,以 dsh-better-sidebar 原生 Tab 挂载——分支树 / 提交图谱 / 变更与提交详情 / JetBrains 风格操作,右侧栏与底部面板双布局自适应。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=18",
|
|
22
|
-
"dsh": ">=0.1.2
|
|
22
|
+
"dsh": ">=0.1.6-alpha.2"
|
|
23
23
|
},
|
|
24
24
|
"dsh": {
|
|
25
25
|
"bundle": {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"license": "MIT",
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
69
|
-
"@deepseek-ai/dsh": ">=0.1.2
|
|
69
|
+
"@deepseek-ai/dsh": ">=0.1.6-alpha.2",
|
|
70
70
|
"dsh-better-sidebar": ">=0.12.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependenciesMeta": {
|
package/src/client.js
CHANGED
|
@@ -4986,19 +4986,19 @@ window.__ModuleLoader__.load({
|
|
|
4986
4986
|
list is drag-sortable and arrow-sortable (the arrows also work with a
|
|
4987
4987
|
keyboard); visibility is a per-action toggle, not a delete, so a hidden
|
|
4988
4988
|
action keeps its position. */
|
|
4989
|
-
/* The plugin's settings card. It
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4989
|
+
/* The plugin's settings card. It lives on the plugin's detail page (slot
|
|
4990
|
+
`plugins.bundle.config`, keyed by the PACKAGE name), and it is the only
|
|
4991
|
+
editor when the host serves the row Config — the in-panel editor is not
|
|
4992
|
+
reachable there. The legacy Settings → Plugins seat went away with the
|
|
4993
|
+
raised host floor.
|
|
4994
4994
|
|
|
4995
4995
|
A host without that service still renders the card (the seat exists), so it
|
|
4996
4996
|
says so instead of pretending to have settings. */
|
|
4997
4997
|
function RailSettingsCard(props) {
|
|
4998
4998
|
const t = props.t
|
|
4999
4999
|
const [tick, setTick] = useState(0)
|
|
5000
|
-
/* Collapse state of the card shell (the li card on the
|
|
5001
|
-
|
|
5000
|
+
/* Collapse state of the card shell (the li card on the list seat). The
|
|
5001
|
+
plugin-page seat (props.view === 'page') renders flat. */
|
|
5002
5002
|
const [openCard, setOpenCard] = useState(false)
|
|
5003
5003
|
const [pending, setPending] = useState({})
|
|
5004
5004
|
const [note, setNote] = useState('')
|
|
@@ -7727,10 +7727,10 @@ window.__ModuleLoader__.load({
|
|
|
7727
7727
|
}, 'dsh-ide-git: row config')
|
|
7728
7728
|
})
|
|
7729
7729
|
|
|
7730
|
-
/* The settings card, on
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
the slots keeps whatever surface it has. */
|
|
7730
|
+
/* The settings card, on the plugin detail page (plugins.bundle.config,
|
|
7731
|
+
keyed by the PACKAGE name; dsh >= 0.1.6-alpha.2). The legacy settings-list
|
|
7732
|
+
seat served pre-alpha.2 hosts only and is gone with the raised floor. The
|
|
7733
|
+
seat is optional — a host without the slots keeps whatever surface it has. */
|
|
7734
7734
|
ctx.inject(['slots'], (slotCtx) => {
|
|
7735
7735
|
const slots = slotCtx.get('slots')
|
|
7736
7736
|
if (slots === undefined || slots === null || typeof slots.inject !== 'function') return
|
|
@@ -7740,13 +7740,8 @@ window.__ModuleLoader__.load({
|
|
|
7740
7740
|
{ name: 'plugins.bundle.config', key: SETTINGS_BUNDLE, locale: LOCALE_NS },
|
|
7741
7741
|
card,
|
|
7742
7742
|
))
|
|
7743
|
-
const offItem = slots.inject('settings.plugin.item', () => slots.register(
|
|
7744
|
-
{ name: 'settings.plugin.item', key: RAIL_NS, locale: LOCALE_NS },
|
|
7745
|
-
card,
|
|
7746
|
-
))
|
|
7747
7743
|
return () => {
|
|
7748
7744
|
try { offBundle() } catch (error) { void error }
|
|
7749
|
-
try { offItem() } catch (error) { void error }
|
|
7750
7745
|
}
|
|
7751
7746
|
}, 'dsh-ide-git: settings card')
|
|
7752
7747
|
})
|