dsh-auto-collapse 0.1.7 → 0.2.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/README.en.md +54 -58
- package/README.md +65 -59
- package/assets/screenshot.png +0 -0
- package/lib/client.js +912 -2355
- package/lib/index.js +4 -46
- package/lib/types/client.d.ts +4 -1
- package/lib/types/controller.d.ts +50 -0
- package/lib/types/dom-view.d.ts +36 -0
- package/lib/types/fold.d.ts +2 -323
- package/lib/types/host-contract.d.ts +17 -0
- package/lib/types/index.d.ts +12 -11
- package/lib/types/scheduler.d.ts +10 -0
- package/lib/types/status-text.d.ts +14 -0
- package/lib/types/summary.d.ts +17 -0
- package/lib/types/work-groups.d.ts +30 -0
- package/lib/types/work-info.d.ts +4 -0
- package/lib/types/work-model.d.ts +24 -0
- package/package.json +14 -3
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-auto-collapse",
|
|
3
|
-
"version": "0.1
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "DSH Web 工作段折叠:保留原生一级,将正文之间的思考、工具、上下文合为一个二级,展开后显示原生三级。",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=22"
|
|
8
|
+
},
|
|
6
9
|
"repository": {
|
|
7
10
|
"type": "git",
|
|
8
11
|
"url": "git+https://github.com/a179-sanae/dsh-auto-collapse.git"
|
|
@@ -39,14 +42,19 @@
|
|
|
39
42
|
"scripts": {
|
|
40
43
|
"build": "node build.mjs",
|
|
41
44
|
"deploy": "node deploy.mjs",
|
|
45
|
+
"package": "node deploy.mjs",
|
|
42
46
|
"test": "node test/run-all.mjs",
|
|
47
|
+
"test:unit": "node test/run-unit.mjs",
|
|
48
|
+
"test:browser": "playwright test",
|
|
49
|
+
"preview": "node test/server.mjs",
|
|
43
50
|
"typecheck": "tsc --noEmit --pretty false",
|
|
44
51
|
"check": "npm run typecheck && npm test",
|
|
45
52
|
"prepack": "node build.mjs"
|
|
46
53
|
},
|
|
47
54
|
"files": [
|
|
48
55
|
"lib",
|
|
49
|
-
"cordis.patch.yml"
|
|
56
|
+
"cordis.patch.yml",
|
|
57
|
+
"assets/screenshot.png"
|
|
50
58
|
],
|
|
51
59
|
"keywords": [
|
|
52
60
|
"dsh",
|
|
@@ -59,7 +67,10 @@
|
|
|
59
67
|
],
|
|
60
68
|
"license": "MIT",
|
|
61
69
|
"devDependencies": {
|
|
70
|
+
"@playwright/test": "1.63.0",
|
|
62
71
|
"esbuild": "0.25.0",
|
|
72
|
+
"react": "18.3.1",
|
|
73
|
+
"react-dom": "18.3.1",
|
|
63
74
|
"typescript": "5.9.3"
|
|
64
75
|
},
|
|
65
76
|
"peerDependencies": {
|