dsh-claude-style 0.14.2-dev.21 → 0.15.0-dev.22
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/CHANGELOG.md +57 -3
- package/README.en.md +2 -2
- package/README.md +1 -1
- package/docs/FEATURES.en.md +2 -2
- package/docs/FEATURES.md +2 -2
- package/docs/SETTINGS.en.md +15 -11
- package/docs/SETTINGS.md +15 -11
- package/docs/STYLE.md +39 -14
- package/lib/assets/1a999a7d3c24.js.br +0 -0
- package/lib/assets/550eb2fb99aa.js.br +0 -0
- package/lib/assets/6947faba7fb6.js.br +0 -0
- package/lib/assets/840442766089.js.br +0 -0
- package/lib/assets/manifest.json +16 -16
- package/lib/client.js +11 -11
- package/lib/host/settings.js +8 -5
- package/lib/model-descriptions.json +59 -11
- package/package.json +1 -1
- package/lib/assets/320343f862cd.js.br +0 -0
- package/lib/assets/3b91bf51db72.js.br +0 -0
- package/lib/assets/92f87e9d3a60.js.br +0 -0
- package/lib/assets/fdd63e5ce50d.js.br +0 -0
package/lib/host/settings.js
CHANGED
|
@@ -6,11 +6,12 @@ var PREFS_DEFAULT = Object.freeze({
|
|
|
6
6
|
brandAccent: "",
|
|
7
7
|
motion: "system",
|
|
8
8
|
statusMotion: "sweep",
|
|
9
|
-
statusDetail:
|
|
9
|
+
statusDetail: true,
|
|
10
10
|
collapseFooter: true,
|
|
11
11
|
autoPopover: "all",
|
|
12
12
|
composerScope: "all",
|
|
13
13
|
modelPicker: true,
|
|
14
|
+
modelDescriptions: true,
|
|
14
15
|
peakrate: true,
|
|
15
16
|
quickProviders: [],
|
|
16
17
|
username: "",
|
|
@@ -31,7 +32,11 @@ var PREFS_DEFAULT = Object.freeze({
|
|
|
31
32
|
viewTabs: true,
|
|
32
33
|
headerBand: true,
|
|
33
34
|
chatAnimations: true,
|
|
34
|
-
|
|
35
|
+
chatWait: true,
|
|
36
|
+
chatSend: true,
|
|
37
|
+
chatReveal: "off",
|
|
38
|
+
caretMotion: "typing",
|
|
39
|
+
messageEnter: "flight"
|
|
35
40
|
});
|
|
36
41
|
|
|
37
42
|
// packages/host/src/settings.ts
|
|
@@ -56,11 +61,9 @@ var SchemaFactory = await resolveSchemaFactory();
|
|
|
56
61
|
function volatileField(field) {
|
|
57
62
|
return typeof field?.volatile === "function" ? field.volatile() : field;
|
|
58
63
|
}
|
|
59
|
-
var PREFS_WITH_EARLIER_TYPE = ["autoPopover", "chatAnimations"];
|
|
60
64
|
function prefsField(Schema, key) {
|
|
61
65
|
const value = PREFS_DEFAULT[key];
|
|
62
|
-
|
|
63
|
-
return field.default(value);
|
|
66
|
+
return Schema.union([Schema.string(), Schema.boolean(), Schema.array(Schema.string())]).default(value);
|
|
64
67
|
}
|
|
65
68
|
var Config = SchemaFactory === null ? void 0 : SchemaFactory.object(Object.fromEntries(
|
|
66
69
|
Object.keys(PREFS_DEFAULT).map((key) => [key, volatileField(prefsField(SchemaFactory, key))])
|
|
@@ -728,6 +728,14 @@
|
|
|
728
728
|
"zh": "重绘对话框区域的模型菜单。",
|
|
729
729
|
"en": "Replace the composer's model menu with the two-level Claude-style menu. Off restores the host's model menu."
|
|
730
730
|
},
|
|
731
|
+
"modelDescriptionsTitle": {
|
|
732
|
+
"zh": "模型描述",
|
|
733
|
+
"en": "Model descriptions"
|
|
734
|
+
},
|
|
735
|
+
"modelDescriptionsDesc": {
|
|
736
|
+
"zh": "一级列表的每个模型下面写一行说明,讲这个模型是什么。关闭后每一行只剩模型名。",
|
|
737
|
+
"en": "A line under each model in the picker's first level saying what it is. Off leaves every row with the model's name alone."
|
|
738
|
+
},
|
|
731
739
|
"peakrateTitle": {
|
|
732
740
|
"zh": "峰谷电表",
|
|
733
741
|
"en": "Peak rate meter"
|
|
@@ -869,8 +877,8 @@
|
|
|
869
877
|
"en": "Animation"
|
|
870
878
|
},
|
|
871
879
|
"motionDesc": {
|
|
872
|
-
"zh": "
|
|
873
|
-
"en": "
|
|
880
|
+
"zh": "请按需调整动画效果。动画会给设备带来渲染压力。",
|
|
881
|
+
"en": "Adjust the animation as you need: animations put rendering pressure on the device."
|
|
874
882
|
},
|
|
875
883
|
"motionSystem": {
|
|
876
884
|
"zh": "随系统",
|
|
@@ -1113,12 +1121,12 @@
|
|
|
1113
1121
|
"en": "Hover the turn marks at the conversation's right edge to open a list of every turn; the wheel scrolls it, a click jumps over. Alt+↑ / Alt+↓ jump between turns. Off restores the host's turn marks."
|
|
1114
1122
|
},
|
|
1115
1123
|
"chatAnimationsTitle": {
|
|
1116
|
-
"zh": "
|
|
1117
|
-
"en": "Chat-area
|
|
1124
|
+
"zh": "聊天区滚动动画",
|
|
1125
|
+
"en": "Chat-area scrolling animation"
|
|
1118
1126
|
},
|
|
1119
1127
|
"chatAnimationsDesc": {
|
|
1120
|
-
"zh": "
|
|
1121
|
-
"en": "
|
|
1128
|
+
"zh": "滚动展示助手消息并进行可读性优化",
|
|
1129
|
+
"en": "Scrolls the assistant's messages into view and makes them easier to read"
|
|
1122
1130
|
},
|
|
1123
1131
|
"statsPositionTitle": {
|
|
1124
1132
|
"zh": "对话统计信息位置",
|
|
@@ -1153,15 +1161,55 @@
|
|
|
1153
1161
|
"en": "Off"
|
|
1154
1162
|
},
|
|
1155
1163
|
"caretSample": {
|
|
1156
|
-
"zh": "
|
|
1157
|
-
"en": "
|
|
1164
|
+
"zh": "Hello World!",
|
|
1165
|
+
"en": "Hello World!"
|
|
1166
|
+
},
|
|
1167
|
+
"chatRevealTitle": {
|
|
1168
|
+
"zh": "新文字淡入",
|
|
1169
|
+
"en": "New-text fade"
|
|
1170
|
+
},
|
|
1171
|
+
"chatRevealOn": {
|
|
1172
|
+
"zh": "淡入",
|
|
1173
|
+
"en": "Fade in"
|
|
1174
|
+
},
|
|
1175
|
+
"chatRevealOff": {
|
|
1176
|
+
"zh": "直接出现",
|
|
1177
|
+
"en": "Appears at once"
|
|
1178
|
+
},
|
|
1179
|
+
"chatRevealSample": {
|
|
1180
|
+
"zh": "新到的字先淡后实",
|
|
1181
|
+
"en": "New characters fade in"
|
|
1182
|
+
},
|
|
1183
|
+
"messageEnterTitle": {
|
|
1184
|
+
"zh": "消息气泡动画",
|
|
1185
|
+
"en": "Message bubble animation"
|
|
1186
|
+
},
|
|
1187
|
+
"messageEnterGrow": {
|
|
1188
|
+
"zh": "在原地长出来",
|
|
1189
|
+
"en": "Grows into its place"
|
|
1190
|
+
},
|
|
1191
|
+
"messageEnterFlight": {
|
|
1192
|
+
"zh": "从输入框飞上来",
|
|
1193
|
+
"en": "Flies up from the composer"
|
|
1194
|
+
},
|
|
1195
|
+
"messageEnterSampleStar": {
|
|
1196
|
+
"zh": "帮我给dsh-claude-style点个star",
|
|
1197
|
+
"en": "Star dsh-claude-style for me"
|
|
1198
|
+
},
|
|
1199
|
+
"messageEnterSampleIssue": {
|
|
1200
|
+
"zh": "帮我给dsh-claude-style提个issue",
|
|
1201
|
+
"en": "File an issue for dsh-claude-style"
|
|
1202
|
+
},
|
|
1203
|
+
"messageEnterSamplePr": {
|
|
1204
|
+
"zh": "帮我给dsh-claude-style提个pr",
|
|
1205
|
+
"en": "Open a PR on dsh-claude-style"
|
|
1158
1206
|
},
|
|
1159
1207
|
"statusDetailTitle": {
|
|
1160
|
-
"zh": "
|
|
1161
|
-
"en": "
|
|
1208
|
+
"zh": "精确状态行",
|
|
1209
|
+
"en": "Precise status line"
|
|
1162
1210
|
},
|
|
1163
1211
|
"statusDetailDesc": {
|
|
1164
|
-
"zh": "
|
|
1212
|
+
"zh": "开着时状态行写具体在做什么:正在操作的文件、命令声明的描述或推理里的原句;关掉只写状态本身。",
|
|
1165
1213
|
"en": "Simple names the running turn's state alone; Precise adds the file a call works on, a command's declared description or a clause from the reasoning."
|
|
1166
1214
|
},
|
|
1167
1215
|
"statusDetailSimple": {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-claude-style",
|
|
3
3
|
"description": "Claude Code Desktop theme for DeepSeek Harness (dsh) web GUI — visual & interaction overhaul",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.15.0-dev.22",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/host/index.js",
|
|
7
7
|
"icon": "lib/claude-mark.svg",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|