@deepseek-harness-tui/dsh-tui 0.7.3 → 0.8.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 +2 -2
- package/bin/dsh-tui.js +19 -3
- package/cordis.patch.yml +24 -11
- package/cordis.yml +9 -1
- package/lib/types/commands.d.ts.map +1 -1
- package/lib/types/commands.js +2 -1
- package/lib/types/components/MessageList.d.ts +3 -1
- package/lib/types/components/MessageList.d.ts.map +1 -1
- package/lib/types/components/MessageList.js +4 -4
- package/lib/types/components/PluginSceneBoundary.d.ts +31 -0
- package/lib/types/components/PluginSceneBoundary.d.ts.map +1 -0
- package/lib/types/components/PluginSceneBoundary.js +29 -0
- package/lib/types/components/SkillsPicker.d.ts +18 -0
- package/lib/types/components/SkillsPicker.d.ts.map +1 -0
- package/lib/types/components/SkillsPicker.js +50 -0
- package/lib/types/components/SplitDiffView.d.ts +28 -0
- package/lib/types/components/SplitDiffView.d.ts.map +1 -0
- package/lib/types/components/SplitDiffView.js +417 -0
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts +3 -1
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.js +17 -7
- package/lib/types/dsh-adapter/channel.d.ts +68 -0
- package/lib/types/dsh-adapter/channel.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel.js +120 -5
- package/lib/types/dsh-adapter/contract.d.ts +1 -1
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +1 -0
- package/lib/types/dsh-adapter/index.d.ts +4 -0
- package/lib/types/dsh-adapter/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/index.js +1 -0
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +59 -0
- package/lib/types/dsh-adapter/promptDebug.d.ts +10 -0
- package/lib/types/dsh-adapter/promptDebug.d.ts.map +1 -0
- package/lib/types/dsh-adapter/promptDebug.js +148 -0
- package/lib/types/dsh-adapter/scenes.d.ts +75 -0
- package/lib/types/dsh-adapter/scenes.d.ts.map +1 -0
- package/lib/types/dsh-adapter/scenes.js +78 -0
- package/lib/types/dsh-adapter/settings-sections.d.ts +116 -0
- package/lib/types/dsh-adapter/settings-sections.d.ts.map +1 -0
- package/lib/types/dsh-adapter/settings-sections.js +63 -0
- package/lib/types/dsh-adapter/settingsEditor.d.ts +128 -0
- package/lib/types/dsh-adapter/settingsEditor.d.ts.map +1 -0
- package/lib/types/dsh-adapter/settingsEditor.js +244 -0
- package/lib/types/i18n.d.ts +137 -10
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +36 -3
- package/lib/types/jsx-runtime.d.ts +2 -0
- package/lib/types/jsx-runtime.d.ts.map +1 -0
- package/lib/types/jsx-runtime.js +13 -0
- package/lib/types/modelRoute.d.ts +10 -2
- package/lib/types/modelRoute.d.ts.map +1 -1
- package/lib/types/modelRoute.js +33 -4
- package/lib/types/scenes.d.ts +3 -0
- package/lib/types/scenes.d.ts.map +1 -0
- package/lib/types/scenes.js +4 -0
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +107 -11
- package/lib/types/screens/Settings.d.ts +20 -0
- package/lib/types/screens/Settings.d.ts.map +1 -0
- package/lib/types/screens/Settings.js +333 -0
- package/lib/types/screens/StatusLine.js +1 -1
- package/lib/types/settings-sections.d.ts +3 -0
- package/lib/types/settings-sections.d.ts.map +1 -0
- package/lib/types/settings-sections.js +4 -0
- package/lib/types/theme.d.ts +12 -0
- package/lib/types/theme.d.ts.map +1 -1
- package/lib/types/theme.js +36 -0
- package/package.json +17 -1
package/lib/types/theme.js
CHANGED
|
@@ -86,6 +86,18 @@ const darkTheme = {
|
|
|
86
86
|
diffRemovedDimmed: rgb('#362B2C'),
|
|
87
87
|
diffAddedWord: rgb('#57956B'),
|
|
88
88
|
diffRemovedWord: rgb('#B26671'),
|
|
89
|
+
toolCardBackground: rgb('#242B3A'), // lighter blue-grey card surface
|
|
90
|
+
toolCardBackgroundDim: rgb('#1C2330'), // deeper blue substrate
|
|
91
|
+
syntaxKeyword: rgb('#8FA8E8'), // mist blue
|
|
92
|
+
syntaxString: rgb('#9FBF8F'), // soft sage
|
|
93
|
+
syntaxComment: rgb('#6B7280'), // neutral grey
|
|
94
|
+
syntaxNumber: rgb('#D9A97E'), // warm tan
|
|
95
|
+
syntaxFunction: rgb('#82B8C7'), // cyan blue
|
|
96
|
+
syntaxType: rgb('#B39DDB'), // soft violet
|
|
97
|
+
syntaxVariable: rgb('#C9D1D9'), // near-text
|
|
98
|
+
syntaxOperator: rgb('#93A1B0'), // blue grey
|
|
99
|
+
syntaxPunctuation: rgb('#7A8694'), // dim blue grey
|
|
100
|
+
syntaxConstant: rgb('#D98C9B'), // soft rose
|
|
89
101
|
red_FOR_SUBAGENTS_ONLY: rgb('#D4685E'),
|
|
90
102
|
blue_FOR_SUBAGENTS_ONLY: rgb('#7496D6'),
|
|
91
103
|
green_FOR_SUBAGENTS_ONLY: rgb('#66B285'),
|
|
@@ -163,6 +175,18 @@ const lightTheme = {
|
|
|
163
175
|
diffRemovedDimmed: rgb('#F5E6E4'),
|
|
164
176
|
diffAddedWord: rgb('#A9D3B4'),
|
|
165
177
|
diffRemovedWord: rgb('#E5B3AE'),
|
|
178
|
+
toolCardBackground: rgb('#E9EFF9'), // cool light blue card
|
|
179
|
+
toolCardBackgroundDim: rgb('#DEE7F4'), // deeper blue-tinted substrate
|
|
180
|
+
syntaxKeyword: rgb('#4A63A8'),
|
|
181
|
+
syntaxString: rgb('#4E7A4E'),
|
|
182
|
+
syntaxComment: rgb('#8A8F98'),
|
|
183
|
+
syntaxNumber: rgb('#A96B32'),
|
|
184
|
+
syntaxFunction: rgb('#3F7E8F'),
|
|
185
|
+
syntaxType: rgb('#7A5CA8'),
|
|
186
|
+
syntaxVariable: rgb('#343945'),
|
|
187
|
+
syntaxOperator: rgb('#5B6672'),
|
|
188
|
+
syntaxPunctuation: rgb('#9AA0A8'),
|
|
189
|
+
syntaxConstant: rgb('#B04A5A'),
|
|
166
190
|
red_FOR_SUBAGENTS_ONLY: rgb('#BE5A52'),
|
|
167
191
|
blue_FOR_SUBAGENTS_ONLY: rgb('#3F6CC4'),
|
|
168
192
|
green_FOR_SUBAGENTS_ONLY: rgb('#4E9675'),
|
|
@@ -242,6 +266,18 @@ const darkAnsiTheme = {
|
|
|
242
266
|
diffRemovedDimmed: 'ansi:red',
|
|
243
267
|
diffAddedWord: 'ansi:greenBright',
|
|
244
268
|
diffRemovedWord: 'ansi:redBright',
|
|
269
|
+
toolCardBackground: 'ansi:blackBright',
|
|
270
|
+
toolCardBackgroundDim: 'ansi:black',
|
|
271
|
+
syntaxKeyword: 'ansi:blueBright',
|
|
272
|
+
syntaxString: 'ansi:greenBright',
|
|
273
|
+
syntaxComment: 'ansi:blackBright',
|
|
274
|
+
syntaxNumber: 'ansi:yellowBright',
|
|
275
|
+
syntaxFunction: 'ansi:cyanBright',
|
|
276
|
+
syntaxType: 'ansi:magentaBright',
|
|
277
|
+
syntaxVariable: 'ansi:white',
|
|
278
|
+
syntaxOperator: 'ansi:white',
|
|
279
|
+
syntaxPunctuation: 'ansi:blackBright',
|
|
280
|
+
syntaxConstant: 'ansi:redBright',
|
|
245
281
|
red_FOR_SUBAGENTS_ONLY: 'ansi:redBright',
|
|
246
282
|
blue_FOR_SUBAGENTS_ONLY: 'ansi:blueBright',
|
|
247
283
|
green_FOR_SUBAGENTS_ONLY: 'ansi:greenBright',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-harness-tui/dsh-tui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Claude Code style interactive TUI front door for DeepSeek Harness agents, built on the ported Ink core.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -37,6 +37,18 @@
|
|
|
37
37
|
"types": "./lib/types/command-trees.d.ts",
|
|
38
38
|
"import": "./lib/types/command-trees.js"
|
|
39
39
|
},
|
|
40
|
+
"./settings-sections": {
|
|
41
|
+
"types": "./lib/types/settings-sections.d.ts",
|
|
42
|
+
"import": "./lib/types/settings-sections.js"
|
|
43
|
+
},
|
|
44
|
+
"./scenes": {
|
|
45
|
+
"types": "./lib/types/scenes.d.ts",
|
|
46
|
+
"import": "./lib/types/scenes.js"
|
|
47
|
+
},
|
|
48
|
+
"./jsx-runtime": {
|
|
49
|
+
"types": "./lib/types/jsx-runtime.d.ts",
|
|
50
|
+
"import": "./lib/types/jsx-runtime.js"
|
|
51
|
+
},
|
|
40
52
|
"./invariant": {
|
|
41
53
|
"types": "./lib/types/dsh-adapter/invariant.d.ts",
|
|
42
54
|
"default": "./lib/types/dsh-adapter/invariant.js"
|
|
@@ -60,6 +72,7 @@
|
|
|
60
72
|
"@deepseek-ai/dsh-agent": "^0.1.0-rc.6",
|
|
61
73
|
"@deepseek-ai/dsh-agent-instructions": "^0.1.0-rc.6",
|
|
62
74
|
"@deepseek-ai/dsh-agent-presets": "^0.1.0-rc.6",
|
|
75
|
+
"@deepseek-ai/dsh-atomic-write": "^0.1.0-rc.6",
|
|
63
76
|
"@deepseek-ai/dsh-commands": "^0.1.0-rc.6",
|
|
64
77
|
"@deepseek-ai/dsh-cordis-host-runner": "^0.1.0-rc.6",
|
|
65
78
|
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
|
|
@@ -89,6 +102,7 @@
|
|
|
89
102
|
"cli-boxes": "^3.0.0 || ^4.0.0",
|
|
90
103
|
"cli-highlight": "^2.1.11",
|
|
91
104
|
"code-excerpt": "^3.0.0 || ^4.0.0",
|
|
105
|
+
"diff": "^8.0.4",
|
|
92
106
|
"dsh-working-activity": "^0.2.6",
|
|
93
107
|
"emoji-regex": "^10.0.0",
|
|
94
108
|
"figures": "^6.1.0",
|
|
@@ -175,6 +189,7 @@
|
|
|
175
189
|
"dev": "node scripts/dev-test.mjs",
|
|
176
190
|
"dev:copy-config": "node scripts/dev-copy-config.mjs",
|
|
177
191
|
"dev:test": "node scripts/verify-dev-command.mjs && node scripts/dev-test.mjs --no-launch",
|
|
192
|
+
"prompt:debug": "node scripts/read-prompt-debug.mjs",
|
|
178
193
|
"tui": "node --import tsx/esm scripts/run.ts",
|
|
179
194
|
"smoke": "node --import tsx/esm scripts/smoke.tsx",
|
|
180
195
|
"verify:build": "npm run verify:boundary && npm run verify:contract && npm run verify:manifest-deps && npm run verify:patch-surface && npm run verify:packaged-presets && npm run verify:minimal-preset-tools && npm run verify:liangshen-bootstrap",
|
|
@@ -186,6 +201,7 @@
|
|
|
186
201
|
"verify:minimal-preset-tools": "node scripts/verify-minimal-preset-tools.mjs",
|
|
187
202
|
"verify:liangshen-bootstrap": "node scripts/verify-liangshen-bootstrap.mjs",
|
|
188
203
|
"verify:package": "npm pack --dry-run --json --ignore-scripts | node scripts/verify-package.mjs",
|
|
204
|
+
"verify:prompt-debug": "npm run build && node scripts/verify-prompt-debug.mjs",
|
|
189
205
|
"verify:clipboard-image": "node --import tsx/esm scripts/verify-clipboard-image.ts"
|
|
190
206
|
}
|
|
191
207
|
}
|