dsh-ide-git 0.27.1 → 0.27.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "dsh-external/dsh-ide-git",
3
- "version": "0.27.1",
3
+ "version": "0.27.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.27.1",
3
+ "version": "0.27.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
@@ -16356,13 +16356,24 @@ window.__ModuleLoader__.load({
16356
16356
  /* v0.27 searchable repo / branch picker (panel header + composer pill).
16357
16357
  The list scrolls, the search field stays pinned on top.
16358
16358
  v0.27.1: the composer popover follows dsh-any-background's input
16359
- opacity (--dsh-any-op-menu-cordis). While that plugin frosts inputs
16360
- (html.dab-input-frost), a 20% neutral scrim rides on top of the fill
16361
- so the list still reads as a surface when transparency is turned
16362
- down. Without the plugin (or with opacity at 0) the base rule alone
16363
- applies, so the user's setting and the stock opaque menu win. */
16359
+ opacity (--dsh-any-op-menu-cordis) instead of pinning a solid layer.
16360
+ v0.27.2: the search strip and input are transparent on purpose. They
16361
+ used to inherit a pinned --dsw-alias-bg-layer-* from .dig-cs-menu,
16362
+ which stacked a second solid surface over the menu and ignored the
16363
+ plugin's alpha (white field, wallpaper nowhere in sight).
16364
+ The popover itself stacks the plugin fill one extra time: 37% alpha
16365
+ alone leaves the list too ghostly over a busy wallpaper, while a
16366
+ second 37% pass reads as a surface without becoming opaque. This is
16367
+ unconditional (the plugin may keep input blur at 0, so there is no
16368
+ html.dab-input-frost marker); without the plugin the extra layer is
16369
+ transparent over the stock opaque fallback. */
16364
16370
  '.dig-pick{display:flex;flex-direction:column;gap:2px;width:300px;max-width:100%;min-height:0;color:var(--dsw-alias-label-primary)}',
16365
- '.dig-pick-search{position:sticky;top:0;z-index:1;padding:2px 2px 6px;background:var(--dsw-alias-bg-layer-2,var(--dsw-alias-bg-layer-1))}',
16371
+ '.dig-pick-search{position:sticky;top:0;z-index:1;padding:2px 2px 6px;background:transparent}',
16372
+ /* v0.27.2: the search field never paints its own fill. It sits directly on
16373
+ the popover surface, so it fades and frosts with the menu instead of
16374
+ stacking a second opaque layer over it (the old layer pin made this
16375
+ field solid white while the Git panel's commit box stayed transparent). */
16376
+ '.dig-pick-input{background:transparent}',
16366
16377
  '.dig-pick-list{display:flex;flex-direction:column;gap:1px;overflow:auto;min-height:0;max-height:300px;overscroll-behavior:contain}',
16367
16378
  '.dig-pick-row{display:flex;align-items:center;gap:6px;width:100%;padding:4px 8px;border:none;border-radius:var(--dsw-radius-sm,8px);background:transparent;color:inherit;font:inherit;font-size:13px;text-align:left;cursor:pointer;min-width:0}',
16368
16379
  '.dig-pick-row:hover:not(:disabled),.dig-pick-folder:hover{background:var(--dsw-alias-interactive-bg-hover)}',
@@ -16381,11 +16392,7 @@ window.__ModuleLoader__.load({
16381
16392
  '.dig-pick-note{flex:none;color:var(--dsw-alias-label-tertiary);font-size:11px}',
16382
16393
  '.dig-pick-count{margin-left:auto;flex:none;color:var(--dsw-alias-label-tertiary);font-size:11px;font-variant-numeric:tabular-nums}',
16383
16394
  '.dig-pick-empty{padding:10px 8px;color:var(--dsw-alias-label-tertiary);font-size:12px}',
16384
- '.dig-cs-menu.dig-cs-picker{width:300px;min-width:260px;max-width:340px;max-height:360px;padding:4px;overflow:hidden;background-color:var(--dsh-any-op-menu-cordis,var(--dsw-alias-bg-layer-2))}',
16385
- // html.dab-input-frost is dsh-any-background's marker for "input opacity
16386
- // is on". It only adds our scrim; if the plugin is absent or renames the
16387
- // marker the menu simply falls back to the transparent fill above.
16388
- '.dab-input-frost .dig-cs-menu.dig-cs-picker{background-image:linear-gradient(color-mix(in srgb,var(--dsw-alias-label-secondary,#808080) 20%,transparent),color-mix(in srgb,var(--dsw-alias-label-secondary,#808080) 20%,transparent))}',
16395
+ '.dig-cs-menu.dig-cs-picker{width:300px;min-width:260px;max-width:340px;max-height:360px;padding:4px;overflow:hidden;background-color:var(--dsh-any-op-menu-cordis,var(--dsw-static-neutral-bluish-00,#fff));background-image:linear-gradient(var(--dsh-any-op-menu-cordis,transparent),var(--dsh-any-op-menu-cordis,transparent))}',
16389
16396
  /* position:relative: the marquee box paints against this wrapper (the
16390
16397
  scroll container is offset by the search field — same rule as
16391
16398
  .dig-history above). */
@@ -16761,12 +16768,13 @@ window.__ModuleLoader__.load({
16761
16768
  // surface sampling misses and that remap would otherwise IVCT to transparent).
16762
16769
  // --dsh-any-op-menu-cordis at the input opacity tier, plus its input blur rule), so fill
16763
16770
  // opacity and frost follow the composer card exactly. Without that plugin the
16764
- // theme-owned menu material applies. The light re-declaration on the rule below
16765
- // pins the LIGHT static surface (see the .dig-selection-bar note); dark themes
16766
- // need the matching override right after it, or the menu renders white under
16767
- // light text (issue #15).
16768
- '.dig-cs-menu{--dsw-alias-bg-layer-1:var(--dsw-static-neutral-bluish-00,#fff);--dsw-alias-bg-layer-2:var(--dsw-static-neutral-bluish-00,#fff);position:absolute;bottom:calc(100% + 6px);left:0;z-index:60;min-width:220px;max-width:320px;max-height:320px;overflow:auto;padding:6px;border-radius:var(--dsw-radius-lg,12px);background:var(--dsh-any-op-menu-cordis,var(--dsw-alias-bg-layer-2));box-shadow:var(--dsw-elevation-prominent,var(--dsw-elevation-dimmed,0 8px 24px rgba(0,0,0,.2)));color:var(--dsw-alias-label-secondary);font-size:12px;line-height:20px}',
16769
- 'body[data-ds-dark-theme] .dig-cs-menu{--dsw-alias-bg-layer-1:var(--dsw-static-neutral-bluish-875,#232324);--dsw-alias-bg-layer-2:var(--dsw-static-neutral-bluish-850,#2c2c2e)}',
16771
+ // theme-owned menu material applies. The static fallback on the rule below lives
16772
+ // on the menu surface only: re-declaring --dsw-alias-bg-layer-* here would inherit
16773
+ // into the search field and pin it back to an opaque surface (the v0.27.1 white
16774
+ // field bug). Dark themes get the matching fallback right after it, or the menu
16775
+ // renders white under light text (issue #15).
16776
+ '.dig-cs-menu{position:absolute;bottom:calc(100% + 6px);left:0;z-index:60;min-width:220px;max-width:320px;max-height:320px;overflow:auto;padding:6px;border-radius:var(--dsw-radius-lg,12px);background-color:var(--dsh-any-op-menu-cordis,var(--dsw-static-neutral-bluish-00,#fff));box-shadow:var(--dsw-elevation-prominent,var(--dsw-elevation-dimmed,0 8px 24px rgba(0,0,0,.2)));color:var(--dsw-alias-label-secondary);font-size:12px;line-height:20px}',
16777
+ 'body[data-ds-dark-theme] .dig-cs-menu{background-color:var(--dsh-any-op-menu-cordis,var(--dsw-static-neutral-bluish-850,#2c2c2e))}',
16770
16778
  '.dig-cs-item{display:flex;align-items:center;gap:8px;width:100%;padding:5px 10px;border:none;border-radius:var(--dsw-radius-sm,8px);background:transparent;color:var(--dsw-alias-label-primary);font-family:inherit;font-size:13px;line-height:20px;cursor:pointer;text-align:left}',
16771
16779
  '.dig-cs-item:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}',
16772
16780
  '.dig-cs-item:disabled{opacity:.5;cursor:default}',