dsh-vidi 0.4.0 → 0.4.1

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.
Files changed (2) hide show
  1. package/lib/client.js +8 -3
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -36879,9 +36879,13 @@ html[data-platform='darwin']:not([data-fullscreen]) .dshl-pagewrap .dshl.page .d
36879
36879
  publishes how much room they take: the top bar starts after them. */
36880
36880
  .dshl-panelwrap { height: 100%; min-height: 0; background: var(--dsw-alias-bg-base, #fff); }
36881
36881
  .dshl-panelwrap .dshl.page .dshl-top { padding-left: max(20px, var(--dsh-frame-leading-clearance, 0px)); }
36882
- /* Narrow windows (sidebar as a drawer): the app gives its opener a row of its own above the page. */
36883
- [data-sidebar-drawer] .dshl-panelwrap .dshl.page .dshl-top { padding-left: 12px; }
36884
- html[data-platform='darwin']:not([data-fullscreen]) .dshl-panelwrap .dshl.page .dshl-top { padding-top: 4px; padding-bottom: 8px; }
36882
+ /* Web page in a narrow window (sidebar as a drawer): the app gives its opener a row of its own above
36883
+ the page, so the bar starts at the edge. The desktop app keeps the opener on the bar's row instead
36884
+ (beside the traffic lights on macOS), and the clearance above leaves room for it. */
36885
+ html:not([data-platform]) [data-sidebar-drawer] .dshl-panelwrap .dshl.page .dshl-top { padding-left: 12px; }
36886
+ /* macOS: the app's window controls (traffic lights, sidebar toggle, new chat) are centred at y 25 in
36887
+ every state, full screen included; the bar's 40px row is centred on the same line. */
36888
+ html[data-platform='darwin'] .dshl-panelwrap .dshl.page .dshl-top { padding-top: 5px; padding-bottom: 8px; }
36885
36889
  html[data-platform='darwin'] .dshl.page .dshl-top { -webkit-app-region: drag; app-region: drag; }
36886
36890
  html[data-platform='darwin'] .dshl.page .dshl-top :is(button, input, label, a, select, .dshl-pick) { -webkit-app-region: no-drag; app-region: no-drag; }
36887
36891
  .dshl.page { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
@@ -37332,6 +37336,7 @@ let done = false;
37332
37336
  function ensureStyles() {
37333
37337
  if (done || typeof document === "undefined") return;
37334
37338
  done = true;
37339
+ for (const old of document.querySelectorAll("style[data-dsh-live]")) old.remove();
37335
37340
  const el = document.createElement("style");
37336
37341
  el.dataset.dshLive = "";
37337
37342
  el.textContent = CSS;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-vidi",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "A video tool for DeepSeek Harness: watch live streams, videos and podcasts with real-time subtitles in any language, then clip and download",
5
5
  "type": "module",
6
6
  "license": "PolyForm-Noncommercial-1.0.0",