dsh-sidenote 0.6.2 → 0.6.4

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 CHANGED
@@ -82,7 +82,7 @@ dsh plugin --profile web add dsh-sidenote
82
82
 
83
83
  ## 兼容与帮助
84
84
 
85
- 已验证的原生侧栏组合为 **DSH 0.1.5-rc.2、0.1.7-rc.2、0.2.0-rc.2**;旧版的三组 BS 组合继续保留验收。支持范围以[兼容与维护政策](docs/compatibility.md)中的精确版本为准。
85
+ 已验证的原生侧栏组合为 **DSH 0.1.5-rc.2、0.1.7-rc.2、0.2.0-rc.2、0.2.1-rc.2**;旧版的三组 BS 组合继续保留验收。支持范围以[兼容与维护政策](docs/compatibility.md)中的精确版本为准;已发布版本请查看对应 Release。
86
86
 
87
87
  遇到问题时,可在 **设置 → 通用设置 → dsh-sidenote 诊断模式** 开启诊断,查看并手动导出接入状态。[报告问题或提出建议](https://github.com/g-yixuan/dsh-sidenote/issues/new/choose)。
88
88
 
package/lib/client.js CHANGED
@@ -619,7 +619,7 @@ window.__ModuleLoader__.load({
619
619
  let dockRegistered = false;
620
620
  let report = {
621
621
  versions: {
622
- sidenote: "0.6.2",
622
+ sidenote: "0.6.4",
623
623
  dsh: "unknown",
624
624
  betterSidebar: null
625
625
  },
@@ -919,6 +919,7 @@ window.__ModuleLoader__.load({
919
919
  reflowReason: "brought back from a side chat by the user",
920
920
  reflowBubbleLabel: "Side-chat context",
921
921
  reflowRemoveTitle: "Remove reflow",
922
+ termCommandLine: "Command line {n}",
922
923
  termSignal: "Terminated ({signal})",
923
924
  termExitCode: "Exit code {code}",
924
925
  termDone: "done",
@@ -1115,6 +1116,7 @@ window.__ModuleLoader__.load({
1115
1116
  reflowReason: "用户选择从侧边聊天带回主线",
1116
1117
  reflowBubbleLabel: "含侧边回流上下文",
1117
1118
  reflowRemoveTitle: "移除回流",
1119
+ termCommandLine: "命令第 {n} 行",
1118
1120
  termSignal: "已终止({signal})",
1119
1121
  termExitCode: "退出码 {code}",
1120
1122
  termDone: "完成",
@@ -1234,15 +1236,15 @@ window.__ModuleLoader__.load({
1234
1236
  document.head.appendChild(tag);
1235
1237
  }
1236
1238
  var diagnostics_module_css_default = {
1237
- "description": "tGe0LW_description",
1238
- "versions": "tGe0LW_versions",
1239
+ "header": "tGe0LW_header",
1239
1240
  "list": "tGe0LW_list",
1240
- "panel": "tGe0LW_panel",
1241
+ "versions": "tGe0LW_versions",
1242
+ "settingTitle": "tGe0LW_settingTitle",
1241
1243
  "actions": "tGe0LW_actions",
1244
+ "panel": "tGe0LW_panel",
1242
1245
  "setting": "tGe0LW_setting",
1243
- "header": "tGe0LW_header",
1244
- "trigger": "tGe0LW_trigger",
1245
- "settingTitle": "tGe0LW_settingTitle"
1246
+ "description": "tGe0LW_description",
1247
+ "trigger": "tGe0LW_trigger"
1246
1248
  };
1247
1249
  //#endregion
1248
1250
  //#region src/client/diagnostics/index.tsx
@@ -3123,9 +3125,10 @@ window.__ModuleLoader__.load({
3123
3125
  * 要求必填——所以各 builder 返回类型按 0.1.2 形状写、调用点 cast(与
3124
3126
  * markdown.ts 双形状同款姿势)。
3125
3127
  */
3126
- /** TerminalBlockLabels(0.1.1 与 0.1.2 同形状)。 */
3128
+ /** TerminalBlockLabels;新版宿主还要求每行命令的无障碍标签。 */
3127
3129
  function terminalLabels() {
3128
3130
  return {
3131
+ commandLine: (n) => t("termCommandLine", { n }),
3129
3132
  signal: (signal) => t("termSignal", { signal }),
3130
3133
  exitCode: (code) => t("termExitCode", { code }),
3131
3134
  running: t("running"),
@@ -3225,97 +3228,97 @@ window.__ModuleLoader__.load({
3225
3228
  document.head.appendChild(tag);
3226
3229
  }
3227
3230
  var sidechat_module_css_default = {
3228
- "todoBody": "_5KEEsG_todoBody",
3229
- "toolBodyText": "_5KEEsG_toolBodyText",
3230
- "emptyIcon": "_5KEEsG_emptyIcon",
3231
- "attachImg": "_5KEEsG_attachImg",
3232
- "pendingCard": "_5KEEsG_pendingCard",
3233
- "pendingQuestion": "_5KEEsG_pendingQuestion",
3231
+ "userRow": "_5KEEsG_userRow",
3232
+ "userBubble": "_5KEEsG_userBubble",
3234
3233
  "stateScreen": "_5KEEsG_stateScreen",
3235
- "parentStrip": "_5KEEsG_parentStrip",
3236
- "attachRail": "_5KEEsG_attachRail",
3237
- "visibilitySetting": "_5KEEsG_visibilitySetting",
3238
3234
  "todoText": "_5KEEsG_todoText",
3239
- "reflowButton": "_5KEEsG_reflowButton",
3240
- "toolGenericBody": "_5KEEsG_toolGenericBody",
3241
- "snapshotBody": "_5KEEsG_snapshotBody",
3242
- "toolError": "_5KEEsG_toolError",
3243
- "pendingReason": "_5KEEsG_pendingReason",
3244
- "root": "_5KEEsG_root",
3245
- "pendingOptionDesc": "_5KEEsG_pendingOptionDesc",
3246
- "headerSide": "_5KEEsG_headerSide",
3247
- "userBubble": "_5KEEsG_userBubble",
3248
- "dotIdle": "_5KEEsG_dotIdle",
3249
- "composerChips": "_5KEEsG_composerChips",
3250
- "pendingBtnGhost": "_5KEEsG_pendingBtnGhost",
3251
3235
  "todoItem": "_5KEEsG_todoItem",
3252
- "sentChipRow": "_5KEEsG_sentChipRow",
3236
+ "toolLocations": "_5KEEsG_toolLocations",
3237
+ "pendingQuestion": "_5KEEsG_pendingQuestion",
3253
3238
  "pendingQHeader": "_5KEEsG_pendingQHeader",
3254
- "sidechat-pulse": "_5KEEsG_sidechat-pulse",
3255
- "rowPreview": "_5KEEsG_rowPreview",
3256
- "streamingHint": "_5KEEsG_streamingHint",
3257
- "snapshotText": "_5KEEsG_snapshotText",
3258
- "slashItemActive": "_5KEEsG_slashItemActive",
3259
- "attachThumb": "_5KEEsG_attachThumb",
3260
- "pendingOption": "_5KEEsG_pendingOption",
3261
3239
  "nativeHost": "_5KEEsG_nativeHost",
3262
- "pendingActions": "_5KEEsG_pendingActions",
3263
- "errorRow": "_5KEEsG_errorRow",
3240
+ "emptyText": "_5KEEsG_emptyText",
3241
+ "empty": "_5KEEsG_empty",
3242
+ "stopButton": "_5KEEsG_stopButton",
3243
+ "body": "_5KEEsG_body",
3244
+ "input": "_5KEEsG_input",
3264
3245
  "flowRow": "_5KEEsG_flowRow",
3246
+ "flowRowError": "_5KEEsG_flowRowError",
3265
3247
  "slashItemName": "_5KEEsG_slashItemName",
3248
+ "attachImg": "_5KEEsG_attachImg",
3249
+ "sendButton": "_5KEEsG_sendButton",
3250
+ "pendingReason": "_5KEEsG_pendingReason",
3251
+ "reasoning": "_5KEEsG_reasoning",
3252
+ "toolError": "_5KEEsG_toolError",
3253
+ "toolBodyText": "_5KEEsG_toolBodyText",
3254
+ "pendingActions": "_5KEEsG_pendingActions",
3255
+ "rowActions": "_5KEEsG_rowActions",
3256
+ "jumpBottom": "_5KEEsG_jumpBottom",
3257
+ "quoteBody": "_5KEEsG_quoteBody",
3258
+ "pendingCustom": "_5KEEsG_pendingCustom",
3259
+ "writeNoticeClose": "_5KEEsG_writeNoticeClose",
3260
+ "reasoningBody": "_5KEEsG_reasoningBody",
3266
3261
  "composerFoot": "_5KEEsG_composerFoot",
3262
+ "todoBody": "_5KEEsG_todoBody",
3267
3263
  "sentChip": "_5KEEsG_sentChip",
3268
- "writeNotice": "_5KEEsG_writeNotice",
3269
- "composerCard": "_5KEEsG_composerCard",
3270
- "densityRow": "_5KEEsG_densityRow",
3264
+ "inheritedBody": "_5KEEsG_inheritedBody",
3265
+ "attachButton": "_5KEEsG_attachButton",
3266
+ "pendingCard": "_5KEEsG_pendingCard",
3267
+ "emptyIcon": "_5KEEsG_emptyIcon",
3268
+ "pendingHead": "_5KEEsG_pendingHead",
3269
+ "actionGroup": "_5KEEsG_actionGroup",
3270
+ "attachThumb": "_5KEEsG_attachThumb",
3271
+ "sidechat-pulse": "_5KEEsG_sidechat-pulse",
3272
+ "visibilitySetting": "_5KEEsG_visibilitySetting",
3273
+ "streamingHint": "_5KEEsG_streamingHint",
3274
+ "rowPreview": "_5KEEsG_rowPreview",
3275
+ "assistantBody": "_5KEEsG_assistantBody",
3276
+ "slashGroupTitle": "_5KEEsG_slashGroupTitle",
3277
+ "slashItemActive": "_5KEEsG_slashItemActive",
3271
3278
  "modelSelect": "_5KEEsG_modelSelect",
3272
- "attachRemove": "_5KEEsG_attachRemove",
3273
- "dotRunning": "_5KEEsG_dotRunning",
3274
- "modelLabel": "_5KEEsG_modelLabel",
3275
- "emptyTitle": "_5KEEsG_emptyTitle",
3276
- "emptyText": "_5KEEsG_emptyText",
3277
- "noticeRow": "_5KEEsG_noticeRow",
3278
- "stopButton": "_5KEEsG_stopButton",
3279
+ "toolCard": "_5KEEsG_toolCard",
3280
+ "parentStrip": "_5KEEsG_parentStrip",
3281
+ "root": "_5KEEsG_root",
3279
3282
  "toolRunning": "_5KEEsG_toolRunning",
3283
+ "pendingDesc": "_5KEEsG_pendingDesc",
3284
+ "toolBody": "_5KEEsG_toolBody",
3280
3285
  "slashMenu": "_5KEEsG_slashMenu",
3281
- "rowActions": "_5KEEsG_rowActions",
3282
- "pendingBar": "_5KEEsG_pendingBar",
3283
- "pendingHead": "_5KEEsG_pendingHead",
3286
+ "reflowButton": "_5KEEsG_reflowButton",
3287
+ "headerSide": "_5KEEsG_headerSide",
3288
+ "stateDetail": "_5KEEsG_stateDetail",
3284
3289
  "pendingTitle": "_5KEEsG_pendingTitle",
3285
- "transcript": "_5KEEsG_transcript",
3286
- "empty": "_5KEEsG_empty",
3287
- "quoteBody": "_5KEEsG_quoteBody",
3288
- "assistantRow": "_5KEEsG_assistantRow",
3289
- "todoDot": "_5KEEsG_todoDot",
3290
- "attachButton": "_5KEEsG_attachButton",
3291
- "toolBody": "_5KEEsG_toolBody",
3292
- "pendingOptionActive": "_5KEEsG_pendingOptionActive",
3293
- "assistantBody": "_5KEEsG_assistantBody",
3294
- "composer": "_5KEEsG_composer",
3295
3290
  "pendingQText": "_5KEEsG_pendingQText",
3296
- "actionGroup": "_5KEEsG_actionGroup",
3297
- "toolCard": "_5KEEsG_toolCard",
3298
- "jumpBottom": "_5KEEsG_jumpBottom",
3299
- "toolLocations": "_5KEEsG_toolLocations",
3300
- "slashGroupTitle": "_5KEEsG_slashGroupTitle",
3301
- "flowRowError": "_5KEEsG_flowRowError",
3302
- "slashItem": "_5KEEsG_slashItem",
3291
+ "pendingOptionDesc": "_5KEEsG_pendingOptionDesc",
3303
3292
  "pendingBtnPrimary": "_5KEEsG_pendingBtnPrimary",
3293
+ "dotRunning": "_5KEEsG_dotRunning",
3294
+ "errorRow": "_5KEEsG_errorRow",
3295
+ "slashItemDetail": "_5KEEsG_slashItemDetail",
3296
+ "composer": "_5KEEsG_composer",
3297
+ "densityRow": "_5KEEsG_densityRow",
3298
+ "modelLabel": "_5KEEsG_modelLabel",
3304
3299
  "toolHead": "_5KEEsG_toolHead",
3305
- "writeNoticeClose": "_5KEEsG_writeNoticeClose",
3306
- "inheritedBody": "_5KEEsG_inheritedBody",
3307
- "reasoning": "_5KEEsG_reasoning",
3308
- "userRow": "_5KEEsG_userRow",
3309
- "reasoningBody": "_5KEEsG_reasoningBody",
3310
- "pendingCustom": "_5KEEsG_pendingCustom",
3311
- "dotPending": "_5KEEsG_dotPending",
3312
- "pendingDesc": "_5KEEsG_pendingDesc",
3313
- "stateDetail": "_5KEEsG_stateDetail",
3314
- "input": "_5KEEsG_input",
3315
- "body": "_5KEEsG_body",
3316
- "sendButton": "_5KEEsG_sendButton",
3300
+ "toolGenericBody": "_5KEEsG_toolGenericBody",
3301
+ "slashItem": "_5KEEsG_slashItem",
3302
+ "pendingOption": "_5KEEsG_pendingOption",
3303
+ "snapshotText": "_5KEEsG_snapshotText",
3304
+ "writeNotice": "_5KEEsG_writeNotice",
3305
+ "dotIdle": "_5KEEsG_dotIdle",
3306
+ "todoDot": "_5KEEsG_todoDot",
3307
+ "attachRemove": "_5KEEsG_attachRemove",
3308
+ "pendingBtnGhost": "_5KEEsG_pendingBtnGhost",
3309
+ "noticeRow": "_5KEEsG_noticeRow",
3310
+ "pendingOptionActive": "_5KEEsG_pendingOptionActive",
3311
+ "snapshotBody": "_5KEEsG_snapshotBody",
3317
3312
  "densityToggle": "_5KEEsG_densityToggle",
3318
- "slashItemDetail": "_5KEEsG_slashItemDetail"
3313
+ "assistantRow": "_5KEEsG_assistantRow",
3314
+ "composerChips": "_5KEEsG_composerChips",
3315
+ "attachRail": "_5KEEsG_attachRail",
3316
+ "composerCard": "_5KEEsG_composerCard",
3317
+ "transcript": "_5KEEsG_transcript",
3318
+ "pendingBar": "_5KEEsG_pendingBar",
3319
+ "dotPending": "_5KEEsG_dotPending",
3320
+ "emptyTitle": "_5KEEsG_emptyTitle",
3321
+ "sentChipRow": "_5KEEsG_sentChipRow"
3319
3322
  };
3320
3323
  //#endregion
3321
3324
  //#region src/client/chat/ToolCard.tsx
@@ -5298,16 +5301,16 @@ ${entries.map((entry) => {
5298
5301
  document.head.appendChild(tag);
5299
5302
  }
5300
5303
  var annotations_module_css_default = {
5301
- "chip": "SVnebq_chip",
5302
- "chipRow": "SVnebq_chipRow",
5304
+ "chipNumber": "SVnebq_chipNumber",
5303
5305
  "chipClearAll": "SVnebq_chipClearAll",
5304
- "side": "SVnebq_side",
5305
5306
  "chipRemove": "SVnebq_chipRemove",
5306
- "storageNotice": "SVnebq_storageNotice",
5307
5307
  "chipText": "SVnebq_chipText",
5308
+ "chipRow": "SVnebq_chipRow",
5309
+ "side": "SVnebq_side",
5308
5310
  "chipPanel": "SVnebq_chipPanel",
5311
+ "storageNotice": "SVnebq_storageNotice",
5312
+ "chip": "SVnebq_chip",
5309
5313
  "chipNote": "SVnebq_chipNote",
5310
- "chipNumber": "SVnebq_chipNumber",
5311
5314
  "chipWrap": "SVnebq_chipWrap"
5312
5315
  };
5313
5316
  //#endregion
@@ -7816,34 +7819,34 @@ ${entries.map((entry) => {
7816
7819
  document.head.appendChild(tag);
7817
7820
  }
7818
7821
  var annotate_module_css_default = {
7819
- "toolbar": "_SVViG_toolbar",
7820
7822
  "editorNew": "_SVViG_editorNew",
7821
- "editorEdit": "_SVViG_editorEdit",
7822
- "highlight": "_SVViG_highlight",
7823
- "editorTextarea": "_SVViG_editorTextarea",
7824
- "editorTarget": "_SVViG_editorTarget",
7825
- "badge": "_SVViG_badge",
7826
- "editorSpacer": "_SVViG_editorSpacer",
7827
- "toolbarBelow": "_SVViG_toolbarBelow",
7828
- "editorFooter": "_SVViG_editorFooter",
7829
- "cancelButton": "_SVViG_cancelButton",
7830
- "editorError": "_SVViG_editorError",
7831
7823
  "sentCardTitle": "_SVViG_sentCardTitle",
7832
- "deleteButton": "_SVViG_deleteButton",
7833
- "toolbarButton": "_SVViG_toolbarButton",
7834
- "confirmButton": "_SVViG_confirmButton",
7835
- "saveButton": "_SVViG_saveButton",
7836
- "badgeSent": "_SVViG_badgeSent",
7837
- "sentCardQuote": "_SVViG_sentCardQuote",
7838
7824
  "sentCardNote": "_SVViG_sentCardNote",
7839
7825
  "editorAskRow": "_SVViG_editorAskRow",
7840
- "hint": "_SVViG_hint",
7841
7826
  "dshSidenoteHintIn": "_SVViG_dshSidenoteHintIn",
7842
- "sentChip": "_SVViG_sentChip",
7827
+ "cancelButton": "_SVViG_cancelButton",
7828
+ "editorAsk": "_SVViG_editorAsk",
7829
+ "toolbarBelow": "_SVViG_toolbarBelow",
7830
+ "deleteButton": "_SVViG_deleteButton",
7831
+ "badgeSent": "_SVViG_badgeSent",
7832
+ "editorError": "_SVViG_editorError",
7833
+ "sentCardQuote": "_SVViG_sentCardQuote",
7834
+ "editorSpacer": "_SVViG_editorSpacer",
7843
7835
  "sentChipRow": "_SVViG_sentChipRow",
7836
+ "saveButton": "_SVViG_saveButton",
7837
+ "confirmButton": "_SVViG_confirmButton",
7838
+ "editorFooter": "_SVViG_editorFooter",
7839
+ "highlight": "_SVViG_highlight",
7844
7840
  "hintClose": "_SVViG_hintClose",
7845
- "editorInput": "_SVViG_editorInput",
7846
- "editorAsk": "_SVViG_editorAsk"
7841
+ "badge": "_SVViG_badge",
7842
+ "editorTarget": "_SVViG_editorTarget",
7843
+ "toolbarButton": "_SVViG_toolbarButton",
7844
+ "sentChip": "_SVViG_sentChip",
7845
+ "editorEdit": "_SVViG_editorEdit",
7846
+ "toolbar": "_SVViG_toolbar",
7847
+ "hint": "_SVViG_hint",
7848
+ "editorTextarea": "_SVViG_editorTextarea",
7849
+ "editorInput": "_SVViG_editorInput"
7847
7850
  };
7848
7851
  //#endregion
7849
7852
  //#region src/client/annotate/hint.tsx
@@ -1,5 +1,6 @@
1
- /** TerminalBlockLabels(0.1.1 与 0.1.2 同形状)。 */
1
+ /** TerminalBlockLabels;新版宿主还要求每行命令的无障碍标签。 */
2
2
  export declare function terminalLabels(): {
3
+ commandLine: (n: number) => string;
3
4
  signal: (signal: string) => string;
4
5
  exitCode: (code: number) => string;
5
6
  running: string;
@@ -169,6 +169,7 @@ export declare const en: {
169
169
  reflowReason: string;
170
170
  reflowBubbleLabel: string;
171
171
  reflowRemoveTitle: string;
172
+ termCommandLine: string;
172
173
  termSignal: string;
173
174
  termExitCode: string;
174
175
  termDone: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-sidenote",
3
- "version": "0.6.2",
3
+ "version": "0.6.4",
4
4
  "description": "Follow the tangent. Keep the thread. Annotate, explore on the side, and bring answers back to DeepSeek Harness. / 思路可以分岔,主线始终向前。划选注释、侧边追问,再把结论带回正在推进的任务。",
5
5
  "icon": "docs/assets/logo.svg",
6
6
  "type": "module",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "engines": {
23
23
  "node": ">=20",
24
- "dsh": ">=0.1.1-rc.1 <0.2.0 || =0.2.0-rc.2"
24
+ "dsh": ">=0.1.1-rc.1 <0.2.0 || =0.2.0-rc.2 || =0.2.1-rc.2"
25
25
  },
26
26
  "dsh": {
27
27
  "bundle": {
@@ -34,7 +34,7 @@
34
34
  "platform": "web"
35
35
  },
36
36
  "engines": {
37
- "dsh": ">=0.1.1-rc.1 <0.2.0 || =0.2.0-rc.2"
37
+ "dsh": ">=0.1.1-rc.1 <0.2.0 || =0.2.0-rc.2 || =0.2.1-rc.2"
38
38
  }
39
39
  },
40
40
  "files": [
@@ -48,7 +48,7 @@
48
48
  "LICENSE"
49
49
  ],
50
50
  "peerDependencies": {
51
- "@deepseek-ai/dsh-client-ui-primitives": ">=0.1.0-rc.6 <0.2.0 || =0.2.0-rc.2",
51
+ "@deepseek-ai/dsh-client-ui-primitives": ">=0.1.0-rc.6 <0.2.0 || =0.2.0-rc.2 || =0.2.1-rc.2",
52
52
  "cordis": "^4.0.2",
53
53
  "dsh-better-sidebar": ">=0.12.0 <1.0.0",
54
54
  "react": "^18.2.0",
@@ -9,9 +9,10 @@
9
9
  import { t } from '../locales.ts'
10
10
  import { markdownChrome } from './markdown.ts'
11
11
 
12
- /** TerminalBlockLabels(0.1.1 与 0.1.2 同形状)。 */
12
+ /** TerminalBlockLabels;新版宿主还要求每行命令的无障碍标签。 */
13
13
  export function terminalLabels() {
14
14
  return {
15
+ commandLine: (n: number) => t('termCommandLine', { n }),
15
16
  signal: (signal: string) => t('termSignal', { signal }),
16
17
  exitCode: (code: number) => t('termExitCode', { code }),
17
18
  running: t('running'),
@@ -185,6 +185,7 @@ export const en = {
185
185
  reflowRemoveTitle: 'Remove reflow',
186
186
 
187
187
  // TerminalBlock labels(0.1.2 运行时不传 labels 会崩——W00 排障实证)
188
+ termCommandLine: 'Command line {n}',
188
189
  termSignal: 'Terminated ({signal})',
189
190
  termExitCode: 'Exit code {code}',
190
191
  termDone: 'done',
@@ -395,6 +396,7 @@ export const zh: Record<CopyKey, string> = {
395
396
  reflowBubbleLabel: '含侧边回流上下文',
396
397
  reflowRemoveTitle: '移除回流',
397
398
 
399
+ termCommandLine: '命令第 {n} 行',
398
400
  termSignal: '已终止({signal})',
399
401
  termExitCode: '退出码 {code}',
400
402
  termDone: '完成',