dsh-ide-window 0.3.5 → 0.3.7
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/AGENTS.md +100 -49
- package/CHANGELOG.md +34 -0
- package/client.js +13149 -8432
- package/index.js +13 -0
- package/locale/en.json +143 -2
- package/locale/zh.json +143 -2
- package/package.json +1 -1
- package/themes/atom-one-light.css +2 -0
- package/themes/dracula.css +2 -0
- package/themes/github-light.css +2 -0
- package/themes/intellij-light.css +2 -0
- package/themes/material-light.css +2 -0
- package/themes/material-oceanic.css +2 -0
- package/themes/material-palenight.css +2 -0
- package/themes/monokai-pro.css +2 -0
- package/themes/night-owl.css +2 -0
- package/themes/solarized-light.css +2 -0
package/index.js
CHANGED
|
@@ -1525,6 +1525,19 @@ function createHandler(ctx) {
|
|
|
1525
1525
|
}
|
|
1526
1526
|
}
|
|
1527
1527
|
|
|
1528
|
+
/**
|
|
1529
|
+
* The changed files of one Session's newest turn.
|
|
1530
|
+
*
|
|
1531
|
+
* The client never sees `workspace/changes` (the retained event window keeps
|
|
1532
|
+
* messages only) and the Host's summary route sits behind its own authenticated
|
|
1533
|
+
* fence, so this plugin answers from the same source the conversation card
|
|
1534
|
+
* uses: `sessionQuery.readSession` finds the announcement's sequence, and
|
|
1535
|
+
* `workspaceChanges.summary` turns it into files with line counts.
|
|
1536
|
+
*
|
|
1537
|
+
* @param ctx - host context carrying the session and change services.
|
|
1538
|
+
* @param payload - `{session}`: the Session whose last turn is asked about.
|
|
1539
|
+
* @returns `{turn, files, added, deleted, total}`; empty when nothing changed.
|
|
1540
|
+
*/
|
|
1528
1541
|
export function apply(ctx) {
|
|
1529
1542
|
logEvent('info', 'host', 'plugin loaded', { platform: platform.name, node: process.versions.node })
|
|
1530
1543
|
const handler = createHandler(ctx)
|
package/locale/en.json
CHANGED
|
@@ -1,4 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
+
"floatStepMore": "{title} and more",
|
|
3
|
+
"floatStepSharedPrefix": "",
|
|
4
|
+
"floatStepComma": ", ",
|
|
5
|
+
"floatStepJoinTwo": "{first} and {second}",
|
|
6
|
+
"floatStepDone.thinking": "finished thinking",
|
|
7
|
+
"floatStepDone.tools": "called tools",
|
|
8
|
+
"floatStepDone.plan": "updated the plan",
|
|
9
|
+
"floatStepDone.questions": "asked you a question",
|
|
10
|
+
"floatStepDone.web": "searched the web",
|
|
11
|
+
"floatStepDone.search": "searched the code",
|
|
12
|
+
"floatStepDone.write": "edited a file",
|
|
13
|
+
"floatStepDone.read": "read a file",
|
|
14
|
+
"floatStepDone.commands": "ran a command",
|
|
15
|
+
"floatMenuChats": "Conversations",
|
|
16
|
+
"floatMenuFiles": "Files and folders",
|
|
17
|
+
"floatMenuSkills": "Skills",
|
|
18
|
+
"floatMenuCommands": "Commands",
|
|
19
|
+
"floatMenuAdd": "Add",
|
|
20
|
+
"floatCmdExportDesc": "Download this conversation as a ZIP",
|
|
21
|
+
"floatCmdExport": "Export log",
|
|
22
|
+
"floatCmdModelDesc": "Pick the model for this conversation",
|
|
23
|
+
"floatCmdModel": "Model",
|
|
24
|
+
"floatCmdPermissionDesc": "Switch the permission preset",
|
|
25
|
+
"floatCmdPermission": "Permission",
|
|
26
|
+
"floatCmdCompactDesc": "Compact the conversation so far",
|
|
27
|
+
"floatCmdCompact": "Compact",
|
|
28
|
+
"floatCmdFeedbackDesc": "Send feedback about this conversation",
|
|
29
|
+
"floatCmdFeedback": "Feedback",
|
|
30
|
+
"floatCmdPlanDesc": "Enter or leave plan mode",
|
|
31
|
+
"floatCmdPlan": "Plan",
|
|
32
|
+
"floatCmdGoalDesc": "Set or review the long-running goal",
|
|
33
|
+
"floatCmdGoal": "Goal",
|
|
34
|
+
"floatCmdFile": "File",
|
|
35
|
+
"floatProgressTool": "Using a tool",
|
|
36
|
+
"floatProgressTask": "Updating tasks",
|
|
37
|
+
"floatProgressAsk": "Asking you",
|
|
38
|
+
"floatProgressWeb": "Searching the web",
|
|
39
|
+
"floatProgressWrite": "Editing a file",
|
|
40
|
+
"floatProgressRead": "Reading a file",
|
|
41
|
+
"floatProgressSearch": "Searching",
|
|
42
|
+
"floatProgressCommand": "Running a command",
|
|
43
|
+
"floatActivityTask": "updated tasks",
|
|
44
|
+
"floatActivityAsk": "asked you a question",
|
|
45
|
+
"floatActivityWeb": "searched the web",
|
|
46
|
+
"floatActivityWrite": "edited files",
|
|
47
|
+
"floatActivityRead": "read files",
|
|
48
|
+
"floatActivitySearch": "searched code",
|
|
49
|
+
"floatActivityCommand": "ran commands",
|
|
50
|
+
"floatRunningTools": "tools used",
|
|
51
|
+
"floatElapsedSec": "{s}s",
|
|
52
|
+
"floatElapsedMin": "{m}m {s}s",
|
|
53
|
+
"floatSuggestFailed": "Suggestions unavailable",
|
|
54
|
+
"floatCommandFailed": "Command failed",
|
|
55
|
+
"floatSuggestEnterDir": "open folder",
|
|
56
|
+
"floatQuestionGo": "Answer in chat",
|
|
57
|
+
"floatQuestionHint": "DSH accepts answers in the conversation",
|
|
58
|
+
"floatQuestionWaiting": "Waiting for your answer in the conversation",
|
|
59
|
+
"floatToggleDisabled": "The assistant card is turned off in settings",
|
|
60
|
+
"shortcutFloatToggle": "Toggle the assistant card",
|
|
2
61
|
"meta": {
|
|
3
62
|
"title": "Code Workspace",
|
|
4
63
|
"description": "Turns the centre area into an IDEA-style workspace: a workspace file tree, editor tabs and a live-updating source view, with the left navigation column hidden."
|
|
@@ -93,7 +152,7 @@
|
|
|
93
152
|
"noSourceInJar": "No sources in that jar",
|
|
94
153
|
"shortcutToggle": "Code workspace: open / close",
|
|
95
154
|
"shortcutBackToChat": "Code workspace: back to conversation",
|
|
96
|
-
"gestureSection": "
|
|
155
|
+
"gestureSection": "Shortcuts",
|
|
97
156
|
"gestureSectionHint": "Every shortcut of this plugin, viewable and editable here (kept out of DSH's own list)",
|
|
98
157
|
"gestureEdit": "View",
|
|
99
158
|
"gestureClose": "Close",
|
|
@@ -247,5 +306,87 @@
|
|
|
247
306
|
"shotUndo": "Undo",
|
|
248
307
|
"shotTextPlaceholder": "Type, then press Enter",
|
|
249
308
|
"shotCopy": "Capture",
|
|
250
|
-
"shotJump": "Capture and open chat"
|
|
309
|
+
"shotJump": "Capture and open chat",
|
|
310
|
+
"settingsNav": "Code workspace",
|
|
311
|
+
"settingsCollapse": "Collapse",
|
|
312
|
+
"treeOpenInDataWindow": "Open table in data window",
|
|
313
|
+
"symbolMenuOpenInDataWindow": "Open SQL in data window",
|
|
314
|
+
"dataWindowNoTableName": "This file has no @TableName",
|
|
315
|
+
"dataWindowNoWorkspace": "No workspace is open",
|
|
316
|
+
"dataWindowNoSql": "No Mapper SQL found for this method",
|
|
317
|
+
"dataWindowNotInstalled": "The data window plugin is not installed",
|
|
318
|
+
"dataWindowTimeout": "The data window did not respond",
|
|
319
|
+
"dataWindowNoDatasource": "No datasource was resolved for this workspace",
|
|
320
|
+
"dataWindowNoTable": "The table was not found",
|
|
321
|
+
"dataWindowOpened": "Opened in the data window",
|
|
322
|
+
"dataWindowOpening": "Opening the data window…",
|
|
323
|
+
"dataWindowQueryFailed": "The data window query failed",
|
|
324
|
+
"dataWindowFailed": "Opening the data window failed",
|
|
325
|
+
"symbolMenuOpenTableInDataWindow": "Open table in data window",
|
|
326
|
+
"shortcutCopyReference": "Copy reference to chat",
|
|
327
|
+
"shortcutOpenTable": "Open table in data window",
|
|
328
|
+
"shortcutNeedsFile": "Open a file in the code workspace first",
|
|
329
|
+
"shortcutJarNoReference": "A dependency source is not a workspace file, so it cannot be referenced",
|
|
330
|
+
"floatModel": "session model",
|
|
331
|
+
"floatModelHint": "Uses the model of the current session; nothing is re-selected",
|
|
332
|
+
"floatCollapse": "Collapse",
|
|
333
|
+
"floatExpand": "Expand assistant",
|
|
334
|
+
"floatEmpty": "Ask something; the answer lands in this session",
|
|
335
|
+
"floatNoSession": "No session bound yet",
|
|
336
|
+
"floatNoWorkspace": "no workspace",
|
|
337
|
+
"floatPlaceholder": "Message or create a task, / for commands, @ for files or chats",
|
|
338
|
+
"floatSend": "Send",
|
|
339
|
+
"floatSending": "Sending…",
|
|
340
|
+
"floatFailed": "Send failed",
|
|
341
|
+
|
|
342
|
+
"floatRunning": "Thinking",
|
|
343
|
+
"floatAttach": "Add content",
|
|
344
|
+
"floatAttachReference": "Reference the open file",
|
|
345
|
+
"floatNeedsFile": "Open a file first",
|
|
346
|
+
"floatPermission": "Permission",
|
|
347
|
+
"floatPermissionReadOnly": "Read only",
|
|
348
|
+
"floatPermissionWorkspace": "Workspace write",
|
|
349
|
+
"floatPermissionFull": "Full access",
|
|
350
|
+
"floatPermissionFailed": "The permission preset was not switched",
|
|
351
|
+
"floatModelEmpty": "The model catalog is not loaded yet",
|
|
352
|
+
"floatModelFailed": "Switching the model failed",
|
|
353
|
+
"floatStop": "Stop",
|
|
354
|
+
"floatStopFailed": "Stopping failed",
|
|
355
|
+
"floatResize": "Drag to resize",
|
|
356
|
+
"floatSessions": "Sessions",
|
|
357
|
+
"floatNewSession": "New session",
|
|
358
|
+
"floatSessionEmpty": "No other sessions yet",
|
|
359
|
+
"floatSessionFailed": "Switching the session failed",
|
|
360
|
+
"floatCurrentWorkspace": "current",
|
|
361
|
+
"settingsFloat": "Floating assistant",
|
|
362
|
+
"settingsFloatHint": "When off, the floating card no longer opens in the code workspace",
|
|
363
|
+
"settingsOn": "On",
|
|
364
|
+
"settingsOff": "Off",
|
|
365
|
+
"floatClose": "Close until DSH restarts",
|
|
366
|
+
"floatRemove": "Remove",
|
|
367
|
+
"floatImageLimit": "At most 4 images",
|
|
368
|
+
"floatImageTooLarge": "Image is larger than 8 MB",
|
|
369
|
+
"floatEffort": "Reasoning effort",
|
|
370
|
+
"floatEffortDefault": "Default",
|
|
371
|
+
"floatCode": "Code block",
|
|
372
|
+
"floatCopy": "Copy",
|
|
373
|
+
"floatCopied": "Copied",
|
|
374
|
+
"floatFiles": "Files",
|
|
375
|
+
"settingsFloatSize": "Floating card size",
|
|
376
|
+
"settingsFloatSizeHint": "Initial size of the floating card; dragging the card changes only the current size.",
|
|
377
|
+
"settingsFloatWidth": "Width",
|
|
378
|
+
"settingsFloatHeight": "Height",
|
|
379
|
+
"floatOpenFailed": "Cannot open in the workspace",
|
|
380
|
+
"floatCopyMessage": "Copy message",
|
|
381
|
+
"floatCopyImage": "Copy image",
|
|
382
|
+
"floatImageCopied": "Image copied",
|
|
383
|
+
"floatCopyImageFailed": "Copying the image failed",
|
|
384
|
+
"floatCopyImageUnsupported": "Copying images is not supported here",
|
|
385
|
+
"mdPreview": "Preview",
|
|
386
|
+
"mdSource": "Source",
|
|
387
|
+
"floatPreviewImage": "Click to view the image",
|
|
388
|
+
"floatCloseViewer": "Close",
|
|
389
|
+
"settingsFloatDetach": "Detach from the workspace",
|
|
390
|
+
"settingsFloatDetachHint": "Keep the card on screen when you switch to another panel or back to the conversation",
|
|
391
|
+
"floatWrap": "Wrap lines"
|
|
251
392
|
}
|
package/locale/zh.json
CHANGED
|
@@ -1,4 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
+
"floatStepMore": "{title}等",
|
|
3
|
+
"floatStepSharedPrefix": "已",
|
|
4
|
+
"floatStepComma": ",",
|
|
5
|
+
"floatStepJoinTwo": "{first}并{second}",
|
|
6
|
+
"floatStepDone.thinking": "已完成分析",
|
|
7
|
+
"floatStepDone.tools": "已调用工具",
|
|
8
|
+
"floatStepDone.plan": "更新了计划",
|
|
9
|
+
"floatStepDone.questions": "向用户提出了问题",
|
|
10
|
+
"floatStepDone.web": "已搜索网页",
|
|
11
|
+
"floatStepDone.search": "已搜索代码",
|
|
12
|
+
"floatStepDone.write": "修改了文件",
|
|
13
|
+
"floatStepDone.read": "已读取文件",
|
|
14
|
+
"floatStepDone.commands": "执行了命令",
|
|
15
|
+
"floatMenuChats": "对话",
|
|
16
|
+
"floatMenuFiles": "文件与文件夹",
|
|
17
|
+
"floatMenuSkills": "技能",
|
|
18
|
+
"floatMenuCommands": "指令",
|
|
19
|
+
"floatMenuAdd": "添加",
|
|
20
|
+
"floatCmdExportDesc": "将当前会话内容导出为 ZIP",
|
|
21
|
+
"floatCmdExport": "下载日志",
|
|
22
|
+
"floatCmdModelDesc": "选择本会话使用的模型",
|
|
23
|
+
"floatCmdModel": "模型",
|
|
24
|
+
"floatCmdPermissionDesc": "切换权限预设(沙箱模式与审批策略)",
|
|
25
|
+
"floatCmdPermission": "权限",
|
|
26
|
+
"floatCmdCompactDesc": "压缩以上对话内容",
|
|
27
|
+
"floatCmdCompact": "压缩",
|
|
28
|
+
"floatCmdFeedbackDesc": "发送关于当前会话的反馈",
|
|
29
|
+
"floatCmdFeedback": "反馈",
|
|
30
|
+
"floatCmdPlanDesc": "进入或退出计划模式",
|
|
31
|
+
"floatCmdPlan": "计划",
|
|
32
|
+
"floatCmdGoalDesc": "设置或查看长期任务目标",
|
|
33
|
+
"floatCmdGoal": "目标",
|
|
34
|
+
"floatCmdFile": "文件",
|
|
35
|
+
"floatProgressTool": "正在使用工具",
|
|
36
|
+
"floatProgressTask": "正在更新任务",
|
|
37
|
+
"floatProgressAsk": "正在向你提问",
|
|
38
|
+
"floatProgressWeb": "正在联网搜索",
|
|
39
|
+
"floatProgressWrite": "正在修改文件",
|
|
40
|
+
"floatProgressRead": "正在读取文件",
|
|
41
|
+
"floatProgressSearch": "正在搜索",
|
|
42
|
+
"floatProgressCommand": "正在运行命令",
|
|
43
|
+
"floatActivityTask": "已更新任务",
|
|
44
|
+
"floatActivityAsk": "已向你提问",
|
|
45
|
+
"floatActivityWeb": "已联网搜索",
|
|
46
|
+
"floatActivityWrite": "已修改文件",
|
|
47
|
+
"floatActivityRead": "已读取文件",
|
|
48
|
+
"floatActivitySearch": "已搜索代码",
|
|
49
|
+
"floatActivityCommand": "执行了命令",
|
|
50
|
+
"floatRunningTools": "已调用工具",
|
|
51
|
+
"floatElapsedSec": "用时 {s} 秒",
|
|
52
|
+
"floatElapsedMin": "用时 {m} 分 {s} 秒",
|
|
53
|
+
"floatSuggestFailed": "候选加载失败",
|
|
54
|
+
"floatCommandFailed": "指令执行失败",
|
|
55
|
+
"floatSuggestEnterDir": "进入目录",
|
|
56
|
+
"floatQuestionGo": "去对话作答",
|
|
57
|
+
"floatQuestionHint": "DSH 只在对话里受理作答",
|
|
58
|
+
"floatQuestionWaiting": "等待你在对话里回答",
|
|
59
|
+
"floatToggleDisabled": "悬浮框已在设置里关闭",
|
|
60
|
+
"shortcutFloatToggle": "显示 / 收起悬浮框",
|
|
2
61
|
"meta": {
|
|
3
62
|
"title": "代码工作区",
|
|
4
63
|
"description": "把中央区域切成 IDEA 风格的工作区:左侧工作区文件树、编辑标签页与实时刷新的源码视图,同时隐藏左侧导航栏。"
|
|
@@ -93,7 +152,7 @@
|
|
|
93
152
|
"noSourceInJar": "该 jar 没有源码",
|
|
94
153
|
"shortcutToggle": "代码工作区: 打开 / 关闭",
|
|
95
154
|
"shortcutBackToChat": "代码工作区: 返回对话",
|
|
96
|
-
"gestureSection": "
|
|
155
|
+
"gestureSection": "快捷键",
|
|
97
156
|
"gestureSectionHint": "本插件的全部快捷键,就在这里查看与修改(不占用 DSH 自己的快捷键列表)",
|
|
98
157
|
"gestureEdit": "查看",
|
|
99
158
|
"gestureClose": "关闭",
|
|
@@ -247,5 +306,87 @@
|
|
|
247
306
|
"shotUndo": "撤销",
|
|
248
307
|
"shotTextPlaceholder": "输入文字后回车",
|
|
249
308
|
"shotCopy": "截图",
|
|
250
|
-
"shotJump": "截图并跳转会话"
|
|
309
|
+
"shotJump": "截图并跳转会话",
|
|
310
|
+
"settingsNav": "代码工作区",
|
|
311
|
+
"settingsCollapse": "收起",
|
|
312
|
+
"treeOpenInDataWindow": "在数据窗口打开表",
|
|
313
|
+
"symbolMenuOpenInDataWindow": "在数据窗口打开 SQL",
|
|
314
|
+
"dataWindowNoTableName": "当前文件没有 @TableName",
|
|
315
|
+
"dataWindowNoWorkspace": "当前没有工作区",
|
|
316
|
+
"dataWindowNoSql": "未找到对应的 Mapper SQL",
|
|
317
|
+
"dataWindowNotInstalled": "数据窗口插件未安装",
|
|
318
|
+
"dataWindowTimeout": "数据窗口没有响应",
|
|
319
|
+
"dataWindowNoDatasource": "工作区没有解析到数据源",
|
|
320
|
+
"dataWindowNoTable": "没有找到这张表",
|
|
321
|
+
"dataWindowOpened": "已在数据窗口打开",
|
|
322
|
+
"dataWindowOpening": "正在打开数据窗口…",
|
|
323
|
+
"dataWindowQueryFailed": "在数据窗口执行失败",
|
|
324
|
+
"dataWindowFailed": "数据窗口跳转失败",
|
|
325
|
+
"symbolMenuOpenTableInDataWindow": "在数据窗口打开表",
|
|
326
|
+
"shortcutCopyReference": "复制引用回对话",
|
|
327
|
+
"shortcutOpenTable": "在数据窗口打开表",
|
|
328
|
+
"shortcutNeedsFile": "先在代码工作区打开一个文件",
|
|
329
|
+
"shortcutJarNoReference": "依赖源码不是工作区文件,无法生成引用",
|
|
330
|
+
"floatModel": "跟随会话模型",
|
|
331
|
+
"floatModelHint": "使用当前会话的模型,不单独选择",
|
|
332
|
+
"floatCollapse": "收起",
|
|
333
|
+
"floatExpand": "展开助手",
|
|
334
|
+
"floatEmpty": "问点什么,回答会出现在当前会话里",
|
|
335
|
+
"floatNoSession": "还没有绑定会话",
|
|
336
|
+
"floatNoWorkspace": "未选择工作区",
|
|
337
|
+
"floatPlaceholder": "发消息或创建任务,/ 调用指令,@ 文件或对话",
|
|
338
|
+
"floatSend": "发送",
|
|
339
|
+
"floatSending": "发送中…",
|
|
340
|
+
"floatFailed": "发送失败",
|
|
341
|
+
|
|
342
|
+
"floatRunning": "深度求索中",
|
|
343
|
+
"floatAttach": "添加内容",
|
|
344
|
+
"floatAttachReference": "引用当前文件",
|
|
345
|
+
"floatNeedsFile": "先打开一个文件",
|
|
346
|
+
"floatPermission": "权限",
|
|
347
|
+
"floatPermissionReadOnly": "仅可查看",
|
|
348
|
+
"floatPermissionWorkspace": "工作区内修改",
|
|
349
|
+
"floatPermissionFull": "完全权限",
|
|
350
|
+
"floatPermissionFailed": "没有切换权限",
|
|
351
|
+
"floatModelEmpty": "模型列表还没加载出来",
|
|
352
|
+
"floatModelFailed": "切换模型失败",
|
|
353
|
+
"floatStop": "停止",
|
|
354
|
+
"floatStopFailed": "停止失败",
|
|
355
|
+
"floatResize": "拖动调整大小",
|
|
356
|
+
"floatSessions": "会话",
|
|
357
|
+
"floatNewSession": "新建会话",
|
|
358
|
+
"floatSessionEmpty": "还没有其他会话",
|
|
359
|
+
"floatSessionFailed": "切换会话失败",
|
|
360
|
+
"floatCurrentWorkspace": "当前",
|
|
361
|
+
"settingsFloat": "悬浮助手卡",
|
|
362
|
+
"settingsFloatHint": "关掉后进入代码工作区不再自动弹出悬浮卡",
|
|
363
|
+
"settingsOn": "已启用",
|
|
364
|
+
"settingsOff": "已关闭",
|
|
365
|
+
"floatClose": "关闭悬浮卡(重启 DSH 后恢复)",
|
|
366
|
+
"floatRemove": "移除",
|
|
367
|
+
"floatImageLimit": "最多 4 张图片",
|
|
368
|
+
"floatImageTooLarge": "图片超过 8 MB",
|
|
369
|
+
"floatEffort": "思考等级",
|
|
370
|
+
"floatEffortDefault": "默认",
|
|
371
|
+
"floatCode": "代码块",
|
|
372
|
+
"floatCopy": "复制",
|
|
373
|
+
"floatCopied": "已复制",
|
|
374
|
+
"floatFiles": "文件",
|
|
375
|
+
"settingsFloatSize": "悬浮框默认大小",
|
|
376
|
+
"settingsFloatSizeHint": "打开代码工作区时悬浮框的初始大小;拖动卡片只改当前大小,不改这里。",
|
|
377
|
+
"settingsFloatWidth": "宽度",
|
|
378
|
+
"settingsFloatHeight": "高度",
|
|
379
|
+
"floatOpenFailed": "无法在工作区打开",
|
|
380
|
+
"floatCopyMessage": "复制这条消息",
|
|
381
|
+
"floatCopyImage": "复制图片",
|
|
382
|
+
"floatImageCopied": "图片已复制",
|
|
383
|
+
"floatCopyImageFailed": "复制图片失败",
|
|
384
|
+
"floatCopyImageUnsupported": "当前环境不支持复制图片",
|
|
385
|
+
"mdPreview": "预览",
|
|
386
|
+
"mdSource": "源码",
|
|
387
|
+
"floatPreviewImage": "点击预览图片",
|
|
388
|
+
"floatCloseViewer": "关闭",
|
|
389
|
+
"settingsFloatDetach": "脱离代码工作区",
|
|
390
|
+
"settingsFloatDetachHint": "开启后悬浮框不再跟着代码工作区出现与消失:切到其他插件视图或回到对话时它依然在",
|
|
391
|
+
"floatWrap": "自动换行"
|
|
251
392
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-ide-window",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "IDEA-style code workspace for DeepSeek Harness: a centre panel with a workspace file tree, editor tabs and live-updating source, while the left navigation column hides.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"icon": "icon.svg",
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
--dsw-alias-label-secondary: #696c77;
|
|
21
21
|
--dsw-alias-label-tertiary: #a0a1a7;
|
|
22
22
|
--dsw-alias-border-l1: #e3e3e4;
|
|
23
|
+
/* 行内代码:比正文底色高一层,和标签色/边框同属 alias,随主题自适配 */
|
|
24
|
+
--dsw-alias-markdown-inline-code: var(--dsw-alias-bg-layer-3);
|
|
23
25
|
--dsw-alias-border-l2: #d4d5d7;
|
|
24
26
|
--dsw-alias-border-l3: #c3c4c6;
|
|
25
27
|
--dsw-alias-border: #e3e3e4;
|
package/themes/dracula.css
CHANGED
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
--dsw-alias-label-secondary: #b8bcc8;
|
|
21
21
|
--dsw-alias-label-tertiary: #7c8296;
|
|
22
22
|
--dsw-alias-border-l1: #343746;
|
|
23
|
+
/* 行内代码:比正文底色高一层,和标签色/边框同属 alias,随主题自适配 */
|
|
24
|
+
--dsw-alias-markdown-inline-code: var(--dsw-alias-bg-layer-3);
|
|
23
25
|
--dsw-alias-border-l2: #44475a;
|
|
24
26
|
--dsw-alias-border-l3: #525772;
|
|
25
27
|
--dsw-alias-border: #44475a;
|
package/themes/github-light.css
CHANGED
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
--dsw-alias-label-secondary: #59636e;
|
|
21
21
|
--dsw-alias-label-tertiary: #818b98;
|
|
22
22
|
--dsw-alias-border-l1: #d0d7de;
|
|
23
|
+
/* 行内代码:比正文底色高一层,和标签色/边框同属 alias,随主题自适配 */
|
|
24
|
+
--dsw-alias-markdown-inline-code: var(--dsw-alias-bg-layer-3);
|
|
23
25
|
--dsw-alias-border-l2: #d8dee4;
|
|
24
26
|
--dsw-alias-border-l3: #e5e9ed;
|
|
25
27
|
--dsw-alias-border: #d0d7de;
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
--dsw-alias-label-secondary: #6c707e;
|
|
21
21
|
--dsw-alias-label-tertiary: #9aa0aa;
|
|
22
22
|
--dsw-alias-border-l1: #dfe1e5;
|
|
23
|
+
/* 行内代码:比正文底色高一层,和标签色/边框同属 alias,随主题自适配 */
|
|
24
|
+
--dsw-alias-markdown-inline-code: var(--dsw-alias-bg-layer-3);
|
|
23
25
|
--dsw-alias-border-l2: #d4d6da;
|
|
24
26
|
--dsw-alias-border-l3: #c9ccd1;
|
|
25
27
|
--dsw-alias-border: #dfe1e5;
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
--dsw-alias-label-secondary: #5f6b74;
|
|
21
21
|
--dsw-alias-label-tertiary: #8c979d;
|
|
22
22
|
--dsw-alias-border-l1: #e3e6e8;
|
|
23
|
+
/* 行内代码:比正文底色高一层,和标签色/边框同属 alias,随主题自适配 */
|
|
24
|
+
--dsw-alias-markdown-inline-code: var(--dsw-alias-bg-layer-3);
|
|
23
25
|
--dsw-alias-border-l2: #d3d8dc;
|
|
24
26
|
--dsw-alias-border-l3: #c2c8cd;
|
|
25
27
|
--dsw-alias-border: #e3e6e8;
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
--dsw-alias-label-secondary: #8f93a2;
|
|
21
21
|
--dsw-alias-label-tertiary: #646a78;
|
|
22
22
|
--dsw-alias-border-l1: #1f2231;
|
|
23
|
+
/* 行内代码:比正文底色高一层,和标签色/边框同属 alias,随主题自适配 */
|
|
24
|
+
--dsw-alias-markdown-inline-code: var(--dsw-alias-bg-layer-3);
|
|
23
25
|
--dsw-alias-border-l2: #2a2e3f;
|
|
24
26
|
--dsw-alias-border-l3: #3b4252;
|
|
25
27
|
--dsw-alias-border: #2a2e3f;
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
--dsw-alias-label-secondary: #8a91b4;
|
|
21
21
|
--dsw-alias-label-tertiary: #676e95;
|
|
22
22
|
--dsw-alias-border-l1: #333747;
|
|
23
|
+
/* 行内代码:比正文底色高一层,和标签色/边框同属 alias,随主题自适配 */
|
|
24
|
+
--dsw-alias-markdown-inline-code: var(--dsw-alias-bg-layer-3);
|
|
23
25
|
--dsw-alias-border-l2: #3b4056;
|
|
24
26
|
--dsw-alias-border-l3: #4a5170;
|
|
25
27
|
--dsw-alias-border: #3b4056;
|
package/themes/monokai-pro.css
CHANGED
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
--dsw-alias-label-secondary: #c1c0c0;
|
|
21
21
|
--dsw-alias-label-tertiary: #939293;
|
|
22
22
|
--dsw-alias-border-l1: #363337;
|
|
23
|
+
/* 行内代码:比正文底色高一层,和标签色/边框同属 alias,随主题自适配 */
|
|
24
|
+
--dsw-alias-markdown-inline-code: var(--dsw-alias-bg-layer-3);
|
|
23
25
|
--dsw-alias-border-l2: #403e41;
|
|
24
26
|
--dsw-alias-border-l3: #525053;
|
|
25
27
|
--dsw-alias-border: #403e41;
|
package/themes/night-owl.css
CHANGED
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
--dsw-alias-label-secondary: #9dafc3;
|
|
21
21
|
--dsw-alias-label-tertiary: #637777;
|
|
22
22
|
--dsw-alias-border-l1: #0e2b43;
|
|
23
|
+
/* 行内代码:比正文底色高一层,和标签色/边框同属 alias,随主题自适配 */
|
|
24
|
+
--dsw-alias-markdown-inline-code: var(--dsw-alias-bg-layer-3);
|
|
23
25
|
--dsw-alias-border-l2: #1d3b53;
|
|
24
26
|
--dsw-alias-border-l3: #2a4c69;
|
|
25
27
|
--dsw-alias-border: #1d3b53;
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
--dsw-alias-label-secondary: #657b83;
|
|
21
21
|
--dsw-alias-label-tertiary: #93a1a1;
|
|
22
22
|
--dsw-alias-border-l1: #e0d9c4;
|
|
23
|
+
/* 行内代码:比正文底色高一层,和标签色/边框同属 alias,随主题自适配 */
|
|
24
|
+
--dsw-alias-markdown-inline-code: var(--dsw-alias-bg-layer-3);
|
|
23
25
|
--dsw-alias-border-l2: #d3ccb7;
|
|
24
26
|
--dsw-alias-border-l3: #c6bfa9;
|
|
25
27
|
--dsw-alias-border: #e0d9c4;
|