dsh-opencode-palette 1.4.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/README.md +109 -0
- package/lib/client.js +8387 -0
- package/lib/index.js +13 -0
- package/package.json +35 -0
package/lib/index.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* dsh-opencode-palette v1.4.0 — 宿主半(no-op)
|
|
3
|
+
*
|
|
4
|
+
* 主题的全部工作在浏览器端(./client.js)完成:
|
|
5
|
+
* - 34 个 opencode 主题(33 内置 JSON + system)经数据驱动管线解析
|
|
6
|
+
* - theme.overrideTokens 覆盖注册 token + <style> 层 CSS 变量/元素规则
|
|
7
|
+
* 宿主半只保证 loader 条目可解析、可挂载。
|
|
8
|
+
*/
|
|
9
|
+
export const name = "dsh-opencode-palette"
|
|
10
|
+
|
|
11
|
+
export function apply() {
|
|
12
|
+
// no-op:客户端半负责一切
|
|
13
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-opencode-palette",
|
|
3
|
+
"version": "1.4.0",
|
|
4
|
+
"description": "DSH Web 多主题引擎:完整支持 opencode TUI 全部 34 个主题(33 内置 + system)。数据驱动管线:主题 JSON → 颜色解析 → DSH 适配注入;设置面板即时切换、持久化。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./lib/index.js",
|
|
9
|
+
"./client": "./lib/client.js",
|
|
10
|
+
"./package.json": "./package.json"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"lib"
|
|
14
|
+
],
|
|
15
|
+
"keywords": [
|
|
16
|
+
"dsh",
|
|
17
|
+
"deepseek-harness",
|
|
18
|
+
"plugin",
|
|
19
|
+
"theme",
|
|
20
|
+
"opencode",
|
|
21
|
+
"tui",
|
|
22
|
+
"dark",
|
|
23
|
+
"multi-theme"
|
|
24
|
+
],
|
|
25
|
+
"dsh": {
|
|
26
|
+
"client": {
|
|
27
|
+
"platform": "web",
|
|
28
|
+
"immediately": true,
|
|
29
|
+
"inject": [
|
|
30
|
+
"@deepseek-ai/dsh-client-ui-theme"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"license": "MIT"
|
|
35
|
+
}
|