dsh-tab 0.0.0-stage → 0.2.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.
@@ -0,0 +1,4 @@
1
+ # dsh-tab 的 profile 层补丁:只插入自己一行,不覆盖任何官方行。
2
+ - insert:
3
+ - id: dsh-tab
4
+ name: 'dsh-tab'
package/icon.svg ADDED
@@ -0,0 +1,9 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64" role="img" aria-label="Conversation tabs">
2
+ <rect x="4" y="4" width="56" height="56" rx="14" fill="#ffffff"/>
3
+ <rect x="4" y="4" width="56" height="56" rx="14" fill="none" stroke="#000000" stroke-opacity="0.08"/>
4
+ <g fill="none" stroke="#000000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
5
+ <rect x="12" y="16" width="24" height="18" rx="6" fill="#eaf3ff" stroke="#4d93f8"/>
6
+ <rect x="24" y="26" width="28" height="20" rx="7" fill="#ffffff" stroke="#000000" stroke-opacity="0.72"/>
7
+ <path d="M30 46l-4 5v-5" fill="#ffffff" stroke="#000000" stroke-opacity="0.72"/>
8
+ </g>
9
+ </svg>
package/index.js ADDED
@@ -0,0 +1,7 @@
1
+ /**
2
+ * dsh-tab 的宿主半。
3
+ *
4
+ * 本插件的贡献全在浏览器侧(`exports["./client"]`),宿主侧没有任何事要做。
5
+ * 这里保留一个空 `apply`,让 Loader 有一行可挂的条目;与官方纯前端插件的宿主半同形。
6
+ */
7
+ export function apply() {}
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Conversation Tabs",
4
+ "description": "A full-width row of book-style conversation tabs above the conversation area: the selected tab merges into the page below; + starts a conversation; right-click closes tabs to the right, closes all, pins a tab, or archives the conversation."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "会话标签页",
4
+ "description": "在会话区顶部加一整行书页式会话标签:选中标签与下方会话页连成一张纸;点 + 新建对话,右键可关闭右侧 / 关闭全部 / 固定标签 / 归档会话。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,70 @@
1
1
  {
2
2
  "name": "dsh-tab",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "Browser-style book tabs for DeepSeek Harness (DSH): one tab per conversation, workspace badges, drag reorder, pin / close / archive.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "imchangchang",
8
+ "main": "index.js",
9
+ "exports": {
10
+ ".": "./index.js",
11
+ "./client": "./client.js",
12
+ "./cordis.patch.yml": "./cordis.patch.yml",
13
+ "./locale/*.json": "./locale/*.json",
14
+ "./icon": "./icon.svg",
15
+ "./package.json": "./package.json"
16
+ },
17
+ "files": [
18
+ "index.js",
19
+ "client.js",
20
+ "cordis.patch.yml",
21
+ "locale/*.json",
22
+ "icon.svg",
23
+ "README.md",
24
+ "LICENSE",
25
+ "CHANGELOG.md"
26
+ ],
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/imchangchang/dsh-tab.git"
30
+ },
31
+ "homepage": "https://github.com/imchangchang/dsh-tab#readme",
32
+ "bugs": {
33
+ "url": "https://github.com/imchangchang/dsh-tab/issues"
34
+ },
35
+ "keywords": [
36
+ "dsh",
37
+ "dsh-plugin",
38
+ "deepseek-harness",
39
+ "deepseek",
40
+ "cordis",
41
+ "tabs",
42
+ "session-tabs",
43
+ "conversation-tabs",
44
+ "web-ui",
45
+ "dsh-desktop"
46
+ ],
47
+ "scripts": {
48
+ "check": "node --check client.js && node --check index.js",
49
+ "docs:mock": "node scripts/make-demo.mjs",
50
+ "prepublishOnly": "npm run check"
51
+ },
52
+ "engines": {
53
+ "node": ">=22"
54
+ },
55
+ "dsh": {
56
+ "bundle": {
57
+ "patch": "./cordis.patch.yml"
58
+ },
59
+ "client": {
60
+ "platform": "web",
61
+ "immediately": true,
62
+ "inject": [
63
+ "@deepseek-ai/dsh-client-ui-conversation"
64
+ ],
65
+ "external": [
66
+ "react"
67
+ ]
68
+ }
69
+ }
70
+ }