dsh-global-todo 0.11.3 → 0.12.0
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 +18 -0
- package/README.md +2 -0
- package/README.zh.md +2 -0
- package/docs/icon.svg +7 -17
- package/lib/client.js +31 -4
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## [0.12.0] — 2026-10-21
|
|
2
|
+
|
|
3
|
+
An identity: one mark, drawn once and used everywhere.
|
|
4
|
+
|
|
5
|
+
- **The mark.** A checklist card whose top-right corner is open, with an arrow leaving through
|
|
6
|
+
the gap. It states the two things this plugin adds — there is a list, and an item leaves it for
|
|
7
|
+
a conversation. Stroke-only and `currentColor`, so the shell can render it at 16px in either
|
|
8
|
+
theme; the card's corner is deliberately broken because a closed corner plus an arrow turns
|
|
9
|
+
into mush below 24px.
|
|
10
|
+
- **`docs/icon.svg`** is the same geometry 20× on a `#14171C` tile (radius 116), plus PNG exports
|
|
11
|
+
at 16/32/48/64/128/256/512 in `docs/icons/`. A coloured status dot was designed and dropped:
|
|
12
|
+
at 128 and below it reads as a dirty pixel, not as information.
|
|
13
|
+
- **Sidebar glyph replaced** — same shape as the tile, 1.4/1.5/1.3 stroke weights, so the entry
|
|
14
|
+
point and the app icon are recognisably one thing.
|
|
15
|
+
- **The landing page is now shareable**: favicon, apple-touch icon and a 1200×630 `docs/og.png`
|
|
16
|
+
(ink tile, icon, one-liner, install command) wired through `og:*` and `twitter:*` tags. Both
|
|
17
|
+
READMEs carry the mark at 52px next to the title.
|
|
18
|
+
|
|
1
19
|
## [0.11.3] — 2026-10-21
|
|
2
20
|
|
|
3
21
|
Say where the plugin is actually listed, and make that claim checkable.
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# dsh-global-todo
|
|
2
2
|
|
|
3
|
+
<img src="docs/icon.svg" width="52" height="52" alt="全局待办 icon: a list card with a check and an arrow leaving it">
|
|
4
|
+
|
|
3
5
|
**A cross-session todo list for DeepSeek Harness: one file you own, written by you and your
|
|
4
6
|
agent, and handed to a conversation in one click.**
|
|
5
7
|
|
package/README.zh.md
CHANGED
package/docs/icon.svg
CHANGED
|
@@ -1,19 +1,9 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512" role="img" aria-label="
|
|
2
|
-
<
|
|
3
|
-
<rect
|
|
4
|
-
<g>
|
|
5
|
-
<
|
|
6
|
-
<path d="
|
|
7
|
-
<
|
|
8
|
-
</g>
|
|
9
|
-
<g>
|
|
10
|
-
<circle cx="152" cy="264" r="23" fill="#e7f2ef"/>
|
|
11
|
-
<path d="M141 264l8 8 15-17" fill="none" stroke="#0d6b5e" stroke-width="11" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
-
<rect x="198" y="254" width="132" height="20" rx="10" fill="#c8d6d1"/>
|
|
13
|
-
</g>
|
|
14
|
-
<g>
|
|
15
|
-
<circle cx="152" cy="344" r="23" fill="#f7edda"/>
|
|
16
|
-
<circle cx="152" cy="344" r="9" fill="#c98a1e"/>
|
|
17
|
-
<rect x="198" y="334" width="150" height="20" rx="10" fill="#d8e2de"/>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512" role="img" aria-label="全局待办 / dsh-global-todo">
|
|
2
|
+
<title>全局待办 — 跨会话待办清单</title>
|
|
3
|
+
<rect width="512" height="512" rx="116" fill="#14171C"/>
|
|
4
|
+
<g transform="translate(96 96) scale(20)" fill="none" stroke="#FFFFFF" stroke-linecap="round" stroke-linejoin="round">
|
|
5
|
+
<path d="M9.2 2.4H4.4A1.9 1.9 0 0 0 2.5 4.3v7.4a1.9 1.9 0 0 0 1.9 1.9h6.2a1.9 1.9 0 0 0 1.9-1.9V8.4" stroke-width="1.4"/>
|
|
6
|
+
<path d="M4.9 8.5l1.9 1.9 3.5-4.3" stroke-width="1.5"/>
|
|
7
|
+
<path d="M10.4 4.6h3.1m0 0l-1.2-1.2m1.2 1.2l-1.2 1.2" stroke-width="1.3"/>
|
|
18
8
|
</g>
|
|
19
9
|
</svg>
|
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 = '
|
|
53
|
+
const UI_REV = 'ui52'
|
|
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
|
|
|
@@ -4870,14 +4870,41 @@ button.gt-chip[data-on="1"] { color: var(--dsw-alias-label-primary); border-colo
|
|
|
4870
4870
|
}
|
|
4871
4871
|
|
|
4872
4872
|
/** @param {{ size?: number, active?: boolean }} props */
|
|
4873
|
+
/**
|
|
4874
|
+
* The sidebar mark: a list that leaves the panel.
|
|
4875
|
+
*
|
|
4876
|
+
* One card, one check, one arrow crossing the card's open corner — the two facts this
|
|
4877
|
+
* plugin adds are both here (a list, and handing an item to a conversation). Stroke-only
|
|
4878
|
+
* and `currentColor` because the shell renders it at 16px in either theme; the same
|
|
4879
|
+
* geometry is the app icon (docs/icon.svg), scaled 20× on a #14171C tile.
|
|
4880
|
+
*/
|
|
4873
4881
|
function Glyph(props) {
|
|
4874
4882
|
const size = props?.size ?? 16
|
|
4875
4883
|
return h(
|
|
4876
4884
|
'svg',
|
|
4877
4885
|
{ width: size, height: size, viewBox: '0 0 16 16', fill: 'none', 'aria-hidden': 'true' },
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
h('path', {
|
|
4886
|
+
// The card is open at its top-right corner: that gap is where the arrow leaves,
|
|
4887
|
+
// and closing it would make both shapes mush together at 16px.
|
|
4888
|
+
h('path', {
|
|
4889
|
+
d: 'M9.2 2.4H4.4A1.9 1.9 0 0 0 2.5 4.3v7.4a1.9 1.9 0 0 0 1.9 1.9h6.2a1.9 1.9 0 0 0 1.9-1.9V8.4',
|
|
4890
|
+
stroke: 'currentColor',
|
|
4891
|
+
strokeWidth: 1.4,
|
|
4892
|
+
strokeLinecap: 'round',
|
|
4893
|
+
}),
|
|
4894
|
+
h('path', {
|
|
4895
|
+
d: 'M4.9 8.5l1.9 1.9 3.5-4.3',
|
|
4896
|
+
stroke: 'currentColor',
|
|
4897
|
+
strokeWidth: 1.5,
|
|
4898
|
+
strokeLinecap: 'round',
|
|
4899
|
+
strokeLinejoin: 'round',
|
|
4900
|
+
}),
|
|
4901
|
+
h('path', {
|
|
4902
|
+
d: 'M10.4 4.6h3.1m0 0l-1.2-1.2m1.2 1.2l-1.2 1.2',
|
|
4903
|
+
stroke: 'currentColor',
|
|
4904
|
+
strokeWidth: 1.3,
|
|
4905
|
+
strokeLinecap: 'round',
|
|
4906
|
+
strokeLinejoin: 'round',
|
|
4907
|
+
}),
|
|
4881
4908
|
)
|
|
4882
4909
|
}
|
|
4883
4910
|
|
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.
|
|
39
|
+
export const VERSION = '0.12.0'
|
|
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.
|
|
3
|
+
"version": "0.12.0",
|
|
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",
|