dsh-global-todo 0.9.0 → 0.9.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [0.9.1] — 2026-10-20
2
+
3
+ The list could not scroll. One missing declaration, and the panel never owned its own height.
4
+
5
+ - **`.gt-inner` needed `min-height: 0`.** A flex item defaults to `min-height: auto`, so the
6
+ column refused to shrink below its content: with a long list it grew to 2236px inside a 680px
7
+ slot, `.gt-groups` never got a scroll range, and the host's own overflow clipped everything
8
+ below the fold — measured `scrollTop 0 → 0` after a wheel, i.e. nothing moved.
9
+ - **`.gt-root` now clips its own overflow**, so the header and toolbar stay put and the list is the
10
+ only scroll area (measured after the fix: `.gt-groups` 480px viewport over a 2036px list, wheel
11
+ moves 0 → 800).
12
+ - **`check:render` asserts the contract**: panel clips, column may shrink, list scrolls. This class
13
+ of bug is invisible to the server-rendered preview screenshot, which is why it shipped.
14
+
1
15
  ## [0.9.0] — 2026-10-20
2
16
 
3
17
  Competitive ground: the hand-off now has a return path, capture carries its source, and the
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/lib/client.js CHANGED
@@ -50,7 +50,7 @@ window.__ModuleLoader__.load({
50
50
  * different mechanisms (restart vs. hot reload), so "which one am I looking
51
51
  * at" needs an answer that the bundle itself carries.
52
52
  */
53
- const UI_REV = 'ui48'
53
+ const UI_REV = 'ui49'
54
54
  /** Last language resolved for the shell; module-level so a fetch failure can be worded too. */
55
55
  let activeLang = 'zh'
56
56
 
@@ -999,8 +999,14 @@ window.__ModuleLoader__.load({
999
999
 
1000
1000
  const CSS = `
1001
1001
  .gt-root { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 0; min-width: 0;
1002
+ /* The panel clips; the list inside it scrolls. Without this the column grew past the
1003
+ slot and the host's own overflow hid the rest of the list — the "cannot scroll" bug. */
1004
+ overflow: hidden;
1002
1005
  color: var(--dsw-alias-label-primary); font-size: 13px; line-height: 1.5; }
1003
1006
  .gt-inner { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 1040px; min-width: 0;
1007
+ /* min-height is the load-bearing line: a flex item defaults to min-height:auto, so the
1008
+ column refused to shrink below its content and .gt-groups never got a scroll range. */
1009
+ min-height: 0;
1004
1010
  box-sizing: border-box; margin: 0 auto; padding: 20px 24px 32px; flex: 1; }
1005
1011
  .gt-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
1006
1012
  .gt-head-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: 0 0 auto; }
package/lib/index.js CHANGED
@@ -36,7 +36,7 @@ import { createStore, resolveStorePath } from './store.js'
36
36
  import { createTools } from './tools.js'
37
37
 
38
38
  /** Must equal `package.json`'s version; `npm run check` enforces that. */
39
- export const VERSION = '0.9.0'
39
+ export const VERSION = '0.9.1'
40
40
 
41
41
  /** Plugin id. Also the Loader row id in `cordis.patch.yml`. */
42
42
  export const name = 'dsh-global-todo'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-global-todo",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "icon": "./docs/icon.svg",
5
5
  "description": "Global, cross-session todos for DeepSeek Harness: one list owned by the human and the agent together, with creation time, attached documents and links, and one-click hand-off to an agent session. 全局待办:跨会话一份清单,记录加入时间,可挂文档与地址,可一键交给 Agent 继续干。",
6
6
  "type": "module",