dsh-ide-git 0.16.1 → 0.16.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/dsh.plugin.json +1 -1
- package/package.json +1 -1
- package/src/client.js +16 -5
package/dsh.plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-external/dsh-ide-git",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"description": "IDE 级 Git 操作面板:分支树 + 提交图谱 + 变更/暂存/提交 + 提交详情。装了 dsh-better-sidebar 时挂成它的原生 tab(右侧栏 + 底部工作台);没装时直接挂 DSH 原生右侧栏,单独安装即可用。JetBrains 风格 Git 工具窗口 for DeepSeek Harness.",
|
|
6
6
|
"engines": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-ide-git",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
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": {
|
package/src/client.js
CHANGED
|
@@ -8243,7 +8243,7 @@ window.__ModuleLoader__.load({
|
|
|
8243
8243
|
fetch — a BROKEN stem: the references come down, nothing is merged;
|
|
8244
8244
|
pull — a solid stem pointing down: the remote lands here;
|
|
8245
8245
|
push — a solid stem pointing up: the local goes out. */
|
|
8246
|
-
fetch: [
|
|
8246
|
+
fetch: [{ d: 'M8 1.5v8.3', dash: '2.4 2.6' }, { d: 'M4.6 6.4 8 9.8l3.4-3.4' }, { d: 'M3 13h10', w: 2 }],
|
|
8247
8247
|
pull: ['M8 2v7.8', 'M4.6 6.4 8 9.8l3.4-3.4', 'M3 13h10'],
|
|
8248
8248
|
push: ['M8 9.8V2.2', 'M4.6 5.6 8 2.2l3.4 3.4', 'M3 13h10'],
|
|
8249
8249
|
plus: ['M8 3v10', 'M3 8h10'],
|
|
@@ -8295,11 +8295,22 @@ window.__ModuleLoader__.load({
|
|
|
8295
8295
|
const size = props.size === undefined ? 14 : props.size
|
|
8296
8296
|
const shape = ICONS[props.name] === undefined ? ICONS.commit : ICONS[props.name]
|
|
8297
8297
|
const weight = props.name === 'more' ? 2.6 : props.name === 'grip' ? 1.6 : 1.4
|
|
8298
|
+
/* A shape entry is either a plain `d` string or { d, w, dash } for
|
|
8299
|
+
per-path overrides — fetch's broken stem needs a real stroke-dasharray
|
|
8300
|
+
(hand-drawn gaps were being re-filled by the round line caps at 15px),
|
|
8301
|
+
and its ground rail carries a heavier stroke like the VS Code original. */
|
|
8298
8302
|
return E('svg', {
|
|
8299
8303
|
className: 'dig-icon', width: size, height: size, viewBox: '0 0 16 16',
|
|
8300
8304
|
fill: 'none', stroke: 'currentColor', strokeWidth: weight,
|
|
8301
8305
|
strokeLinecap: 'round', strokeLinejoin: 'round',
|
|
8302
|
-
}, shape.map((
|
|
8306
|
+
}, shape.map((entry, index) => {
|
|
8307
|
+
const path = typeof entry === 'string' ? { d: entry } : entry
|
|
8308
|
+
return E('path', {
|
|
8309
|
+
key: index, d: path.d,
|
|
8310
|
+
strokeWidth: path.w === undefined ? undefined : path.w,
|
|
8311
|
+
strokeDasharray: path.dash === undefined ? undefined : path.dash,
|
|
8312
|
+
})
|
|
8313
|
+
}))
|
|
8303
8314
|
}
|
|
8304
8315
|
|
|
8305
8316
|
/* Menus are laid out INSIDE the panel on purpose: dsh-better-sidebar's bottom
|
|
@@ -9662,7 +9673,7 @@ window.__ModuleLoader__.load({
|
|
|
9662
9673
|
title: t('toolbar.more'),
|
|
9663
9674
|
'data-action': 'more',
|
|
9664
9675
|
onClick: (event) => props.onMoreMenu(event),
|
|
9665
|
-
}, E(Icon, { name: 'more', size:
|
|
9676
|
+
}, E(Icon, { name: 'more', size: 16 })))
|
|
9666
9677
|
return E('div', { className: 'dig-changes' },
|
|
9667
9678
|
aiConfirmDialog,
|
|
9668
9679
|
head,
|
|
@@ -11568,7 +11579,7 @@ window.__ModuleLoader__.load({
|
|
|
11568
11579
|
title: action.disabled === true ? action.label + ' · ' + reason : action.label,
|
|
11569
11580
|
disabled: action.disabled === true,
|
|
11570
11581
|
onClick: action.run,
|
|
11571
|
-
}, E(Icon, { name: action.icon, size:
|
|
11582
|
+
}, E(Icon, { name: action.icon, size: 16 })))
|
|
11572
11583
|
if (overflow === true) {
|
|
11573
11584
|
children.push(E('button', {
|
|
11574
11585
|
key: 'more',
|
|
@@ -11602,7 +11613,7 @@ window.__ModuleLoader__.load({
|
|
|
11602
11613
|
if (target === 'page') { openSettingsPage(); return }
|
|
11603
11614
|
setRailSettings(true)
|
|
11604
11615
|
},
|
|
11605
|
-
}, E(Icon, { name: 'settings', size:
|
|
11616
|
+
}, E(Icon, { name: 'settings', size: 16 })))
|
|
11606
11617
|
return E('div', { className: vertical ? 'dig-rail' : 'dig-rail-row', ref: railHostRef }, children)
|
|
11607
11618
|
}
|
|
11608
11619
|
|