dsh-nested-workspaces 0.0.0-stage → 1.0.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/LICENSE +21 -0
- package/README.md +92 -2
- package/client.js +1785 -0
- package/cordis.patch.yml +3 -0
- package/icon.svg +7 -0
- package/index.js +8 -0
- package/locale/en.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +57 -4
package/cordis.patch.yml
ADDED
package/icon.svg
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" width="36" height="36" role="img" aria-label="Nested workspaces">
|
|
2
|
+
<rect x="2" y="2" width="32" height="32" rx="8" fill="#247bbf" fill-opacity="0.14"/>
|
|
3
|
+
<path d="M5 23.6V13.4a2 2 0 0 1 2-2h4.6l1.7 2.2h13.7a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z"
|
|
4
|
+
fill="none" stroke="#247bbf" stroke-width="2.2" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M14.6 22.2v-3.9a1.5 1.5 0 0 1 1.5-1.5h2.6l1.1 1.4h4.6a1.5 1.5 0 0 1 1.5 1.5v2.5a1.5 1.5 0 0 1-1.5 1.5h-8.3a1.5 1.5 0 0 1-1.5-1.5z"
|
|
6
|
+
fill="#247bbf" fill-opacity="0.9"/>
|
|
7
|
+
</svg>
|
package/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Host half of the nested-workspaces bundle.
|
|
3
|
+
*
|
|
4
|
+
* Every capability this plugin adds is client-side: child workspaces are ordinary
|
|
5
|
+
* workspaces whose directory sits inside the parent workspace, so the existing
|
|
6
|
+
* workspace controller already persists them. Nothing needs to run in the Host.
|
|
7
|
+
*/
|
|
8
|
+
export function apply() {}
|
package/locale/en.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Nested workspaces",
|
|
4
|
+
"description": "Turn the sidebar into a workspace tree. Double-click the section title to rename it, right-click any workspace to add a child workspace created inside that workspace's directory, and drag sessions between workspaces to file them where you work on them. Child workspaces keep their own menu and new-session button."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/ja.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,59 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-nested-workspaces",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "Nested child workspaces in the DeepSeek Harness sidebar: editable section title, an Add child workspace menu, and sessions you can drag between workspaces.",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"dsh",
|
|
9
|
+
"dsh-plugin",
|
|
10
|
+
"deepseek-harness",
|
|
11
|
+
"sidebar",
|
|
12
|
+
"workspace",
|
|
13
|
+
"session"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"author": "poker",
|
|
17
|
+
"homepage": "https://github.com/pokereva/dsh-nested-workspaces#readme",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/pokereva/dsh-nested-workspaces.git"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/pokereva/dsh-nested-workspaces/issues"
|
|
24
|
+
},
|
|
25
|
+
"exports": {
|
|
26
|
+
".": "./index.js",
|
|
27
|
+
"./client": "./client.js",
|
|
28
|
+
"./locale/*.json": "./locale/*.json",
|
|
29
|
+
"./icon": "./icon.svg"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"index.js",
|
|
33
|
+
"client.js",
|
|
34
|
+
"cordis.patch.yml",
|
|
35
|
+
"locale/*.json",
|
|
36
|
+
"icon.svg",
|
|
37
|
+
"README.md",
|
|
38
|
+
"LICENSE"
|
|
39
|
+
],
|
|
40
|
+
"scripts": {
|
|
41
|
+
"test": "node test/harness.cjs",
|
|
42
|
+
"check": "node --check client.js && node --check index.js"
|
|
43
|
+
},
|
|
44
|
+
"dsh": {
|
|
45
|
+
"bundle": {
|
|
46
|
+
"patch": "./cordis.patch.yml"
|
|
47
|
+
},
|
|
48
|
+
"client": {
|
|
49
|
+
"platform": "web",
|
|
50
|
+
"immediately": true,
|
|
51
|
+
"inject": [
|
|
52
|
+
"@deepseek-ai/dsh-client-locale",
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-slots",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-context-menu",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-workspace"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|