dsh-opencode-palette 1.7.0 → 1.7.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/lib/client.js +4 -8
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* dsh-opencode-palette v1.7.
|
|
2
|
+
* dsh-opencode-palette v1.7.1 — 浏览器半(构建产物,勿手改)
|
|
3
3
|
* 数据驱动管线:opencode v1.18.12 官方主题 JSON → 颜色解析 → DSH 适配注入
|
|
4
4
|
* 源:src/engine/* + runtime/client.mjs(npm run build 重新生成)
|
|
5
5
|
*/
|
|
@@ -8512,7 +8512,7 @@ const STORAGE_KEY = 'dsh.opencode-palette.v2'
|
|
|
8512
8512
|
const LEGACY_STORAGE_KEY = 'dsh.opencode-tui-theme.v2'
|
|
8513
8513
|
const DEFAULT_STATE = { enabled: true, theme: 'opencode', mode: 'mono', size: 13, fontKey: 'JetBrains Mono' }
|
|
8514
8514
|
// 构建时由 scripts/build-client.mjs 替换为 package.json 版本(面板底部署小字)
|
|
8515
|
-
const PALETTE_VERSION = '1.7.
|
|
8515
|
+
const PALETTE_VERSION = '1.7.1'
|
|
8516
8516
|
|
|
8517
8517
|
function getReact() {
|
|
8518
8518
|
if (typeof require === 'function') { try { return require('react') } catch (e) { /* 动态版无 require */ } }
|
|
@@ -8889,12 +8889,8 @@ function createClient(slotTarget) {
|
|
|
8889
8889
|
href: 'https://github.com/FeatherHunter/dsh-opencode-palette',
|
|
8890
8890
|
target: '_blank', rel: 'noopener noreferrer',
|
|
8891
8891
|
title: '你的 ⭐是我夜空中最亮的星',
|
|
8892
|
-
style: { color: muted, display: 'inline-flex', cursor: 'pointer' },
|
|
8893
|
-
},
|
|
8894
|
-
width: 14, height: 14, viewBox: '0 0 24 24', fill: 'none',
|
|
8895
|
-
stroke: 'currentColor', strokeWidth: 2, strokeLinecap: 'round', strokeLinejoin: 'round',
|
|
8896
|
-
style: { display: 'block' },
|
|
8897
|
-
}, h('polygon', { points: '12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26' }))),
|
|
8892
|
+
style: { color: muted, display: 'inline-flex', cursor: 'pointer', fontSize: 15, lineHeight: 1, textDecoration: 'none' },
|
|
8893
|
+
}, '🌟'),
|
|
8898
8894
|
h('a', {
|
|
8899
8895
|
href: 'https://github.com/FeatherHunter/dsh-opencode-palette/issues',
|
|
8900
8896
|
target: '_blank', rel: 'noopener noreferrer',
|
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-opencode-palette",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "让 DeepSeek Harness 穿上 38 款经典皮肤——东京的霓虹夜色、德古拉的暗红月光、复古工坊的暖黄灯火、黑客帝国的数字雨、玫瑰松林间的风……一键换肤,即点即换,重启不丢。38 legendary skins for DeepSeek Harness — tokyonight's neon dusk, dracula's crimson moon, gruvbox's retro glow, the matrix's digital rain, rose-pine's rosewood calm… one click, instant, persisted.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|