dsh-ide-git 0.19.4 → 0.19.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "dsh-external/dsh-ide-git",
3
- "version": "0.19.4",
3
+ "version": "0.19.5",
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.19.4",
3
+ "version": "0.19.5",
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
@@ -14454,14 +14454,18 @@ window.__ModuleLoader__.load({
14454
14454
  '.dig-head-branch{cursor:pointer;transition:background .12s}',
14455
14455
  '.dig-head-branch:hover{background:var(--dsw-alias-interactive-bg-hover)}',
14456
14456
  '.dig-row-head{color:var(--dsw-alias-state-warn-primary,var(--dsw-alias-brand-primary))}',
14457
- /* v0.19.4: the flat alias background read as "barely selected" over the
14458
- translucency/frost surfaces the any-background plugin produces. Mixing
14459
- the token with the row's own TEXT color keeps the theme hues (light
14460
- theme darkens, dark theme lightens — both gain contrast), and because
14461
- the text color is near-opaque the mix carries an alpha FLOOR (~42%):
14462
- the token's own translucency still dominates the look (58%), so the
14463
- selection follows the plugin's transparency while staying readable. */
14464
- '.dig-row-selected{background:color-mix(in srgb,var(--dsw-alias-interactive-bg-active,var(--dsw-alias-interactive-bg-hover,var(--dsw-alias-bg-layer-2,var(--dsw-alias-bg-layer-1)))) 58%,currentColor 42%);color:var(--dsw-alias-label-primary);box-shadow:inset 2px 0 0 var(--dsw-alias-brand-primary)}',
14457
+ /* v0.19.5: the v0.19.4 mix folded the row's own TEXT color in, and on
14458
+ the dark theme that text is near-white — 42% of it whitewashed the
14459
+ fill over bright wallpapers (user report). Keep the mix SHAPE (58%
14460
+ alias tint + 42% OPAQUE gray = the >=.42 alpha floor that keeps the
14461
+ pick readable through any-background's transparency/frost) but mix a
14462
+ THEME-AWARE NEUTRAL GRAY instead of the text color: light theme mixes
14463
+ the host's pale highlight gray (bluish-75 — the light hover-solid
14464
+ tone), dark theme mixes charcoal (bluish-800 — the dark hover-solid
14465
+ tone) via the host's body[data-ds-dark-theme] switch. Selection reads
14466
+ as gray on both themes, wallpaper/frost stays visible, never white. */
14467
+ '.dig-row-selected{background:color-mix(in srgb,var(--dsw-alias-interactive-bg-active,var(--dsw-alias-interactive-bg-hover)) 58%,var(--dsw-static-neutral-bluish-75,var(--dsw-alias-bg-layer-3)) 42%);color:var(--dsw-alias-label-primary);box-shadow:inset 2px 0 0 var(--dsw-alias-brand-primary)}',
14468
+ 'body[data-ds-dark-theme] .dig-row-selected{background:color-mix(in srgb,var(--dsw-alias-interactive-bg-active,var(--dsw-alias-interactive-bg-hover)) 58%,var(--dsw-static-neutral-bluish-800,var(--dsw-alias-bg-layer-3)) 42%)}',
14465
14469
  '.dig-row-remote .dig-row-label{color:var(--dsw-alias-label-secondary);font-weight:500}',
14466
14470
  '.dig-row-tag .dig-row-label{color:var(--dsw-alias-state-warn-primary,var(--dsw-alias-brand-primary));font-weight:500}',
14467
14471
  '.dig-row-head .dig-row-label{font-weight:600}',
@@ -14485,8 +14489,9 @@ window.__ModuleLoader__.load({
14485
14489
  '.dig-history-scroll{flex:1;overflow:auto}',
14486
14490
  '.dig-commit{display:flex;align-items:center;gap:6px;padding:1px 8px 1px 0;cursor:pointer;height:26px;overflow:hidden}',
14487
14491
  '.dig-commit:hover{background:var(--dsw-alias-interactive-bg-hover)}',
14488
- /* Same floor + tint mix as .dig-row-selected (see it). */
14489
- '.dig-commit-selected{background:color-mix(in srgb,var(--dsw-alias-interactive-bg-active,var(--dsw-alias-interactive-bg-hover,var(--dsw-alias-bg-layer-2,var(--dsw-alias-bg-layer-1)))) 58%,currentColor 42%);color:var(--dsw-alias-label-primary);box-shadow:inset 2px 0 0 var(--dsw-alias-brand-primary)}',
14492
+ /* Same theme-aware gray mix as .dig-row-selected (see it). */
14493
+ '.dig-commit-selected{background:color-mix(in srgb,var(--dsw-alias-interactive-bg-active,var(--dsw-alias-interactive-bg-hover)) 58%,var(--dsw-static-neutral-bluish-75,var(--dsw-alias-bg-layer-3)) 42%);color:var(--dsw-alias-label-primary);box-shadow:inset 2px 0 0 var(--dsw-alias-brand-primary)}',
14494
+ 'body[data-ds-dark-theme] .dig-commit-selected{background:color-mix(in srgb,var(--dsw-alias-interactive-bg-active,var(--dsw-alias-interactive-bg-hover)) 58%,var(--dsw-static-neutral-bluish-800,var(--dsw-alias-bg-layer-3)) 42%)}',
14490
14495
  // A favorited branch renders its star SOLID (BranchRow adds this class
14491
14496
  // and flips the tone to warn) — the hollow green HEAD star read as
14492
14497
  // "not favorited" (v0.18.5).