dsh-sidenote 0.6.3 → 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/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.3",
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,14 +1236,14 @@ window.__ModuleLoader__.load({
1234
1236
  document.head.appendChild(tag);
1235
1237
  }
1236
1238
  var diagnostics_module_css_default = {
1239
+ "header": "tGe0LW_header",
1240
+ "list": "tGe0LW_list",
1241
+ "versions": "tGe0LW_versions",
1237
1242
  "settingTitle": "tGe0LW_settingTitle",
1243
+ "actions": "tGe0LW_actions",
1244
+ "panel": "tGe0LW_panel",
1238
1245
  "setting": "tGe0LW_setting",
1239
1246
  "description": "tGe0LW_description",
1240
- "panel": "tGe0LW_panel",
1241
- "versions": "tGe0LW_versions",
1242
- "actions": "tGe0LW_actions",
1243
- "list": "tGe0LW_list",
1244
- "header": "tGe0LW_header",
1245
1247
  "trigger": "tGe0LW_trigger"
1246
1248
  };
1247
1249
  //#endregion
@@ -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
- "quoteBody": "_5KEEsG_quoteBody",
3231
+ "userRow": "_5KEEsG_userRow",
3232
+ "userBubble": "_5KEEsG_userBubble",
3233
+ "stateScreen": "_5KEEsG_stateScreen",
3234
+ "todoText": "_5KEEsG_todoText",
3229
3235
  "todoItem": "_5KEEsG_todoItem",
3230
- "slashItemDetail": "_5KEEsG_slashItemDetail",
3236
+ "toolLocations": "_5KEEsG_toolLocations",
3237
+ "pendingQuestion": "_5KEEsG_pendingQuestion",
3238
+ "pendingQHeader": "_5KEEsG_pendingQHeader",
3239
+ "nativeHost": "_5KEEsG_nativeHost",
3240
+ "emptyText": "_5KEEsG_emptyText",
3241
+ "empty": "_5KEEsG_empty",
3242
+ "stopButton": "_5KEEsG_stopButton",
3243
+ "body": "_5KEEsG_body",
3244
+ "input": "_5KEEsG_input",
3245
+ "flowRow": "_5KEEsG_flowRow",
3246
+ "flowRowError": "_5KEEsG_flowRowError",
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",
3231
3258
  "pendingCustom": "_5KEEsG_pendingCustom",
3259
+ "writeNoticeClose": "_5KEEsG_writeNoticeClose",
3260
+ "reasoningBody": "_5KEEsG_reasoningBody",
3261
+ "composerFoot": "_5KEEsG_composerFoot",
3232
3262
  "todoBody": "_5KEEsG_todoBody",
3233
- "sentChipRow": "_5KEEsG_sentChipRow",
3263
+ "sentChip": "_5KEEsG_sentChip",
3264
+ "inheritedBody": "_5KEEsG_inheritedBody",
3234
3265
  "attachButton": "_5KEEsG_attachButton",
3235
- "dotPending": "_5KEEsG_dotPending",
3236
- "assistantRow": "_5KEEsG_assistantRow",
3266
+ "pendingCard": "_5KEEsG_pendingCard",
3267
+ "emptyIcon": "_5KEEsG_emptyIcon",
3237
3268
  "pendingHead": "_5KEEsG_pendingHead",
3238
- "parentStrip": "_5KEEsG_parentStrip",
3239
- "toolHead": "_5KEEsG_toolHead",
3240
- "toolBody": "_5KEEsG_toolBody",
3241
- "snapshotText": "_5KEEsG_snapshotText",
3269
+ "actionGroup": "_5KEEsG_actionGroup",
3270
+ "attachThumb": "_5KEEsG_attachThumb",
3271
+ "sidechat-pulse": "_5KEEsG_sidechat-pulse",
3272
+ "visibilitySetting": "_5KEEsG_visibilitySetting",
3242
3273
  "streamingHint": "_5KEEsG_streamingHint",
3274
+ "rowPreview": "_5KEEsG_rowPreview",
3275
+ "assistantBody": "_5KEEsG_assistantBody",
3276
+ "slashGroupTitle": "_5KEEsG_slashGroupTitle",
3277
+ "slashItemActive": "_5KEEsG_slashItemActive",
3243
3278
  "modelSelect": "_5KEEsG_modelSelect",
3244
- "inheritedBody": "_5KEEsG_inheritedBody",
3245
- "actionGroup": "_5KEEsG_actionGroup",
3246
- "composer": "_5KEEsG_composer",
3247
- "stopButton": "_5KEEsG_stopButton",
3248
- "densityRow": "_5KEEsG_densityRow",
3249
- "slashMenu": "_5KEEsG_slashMenu",
3250
- "pendingQHeader": "_5KEEsG_pendingQHeader",
3251
- "attachRemove": "_5KEEsG_attachRemove",
3252
- "reasoning": "_5KEEsG_reasoning",
3253
- "pendingActions": "_5KEEsG_pendingActions",
3279
+ "toolCard": "_5KEEsG_toolCard",
3280
+ "parentStrip": "_5KEEsG_parentStrip",
3281
+ "root": "_5KEEsG_root",
3254
3282
  "toolRunning": "_5KEEsG_toolRunning",
3283
+ "pendingDesc": "_5KEEsG_pendingDesc",
3284
+ "toolBody": "_5KEEsG_toolBody",
3285
+ "slashMenu": "_5KEEsG_slashMenu",
3286
+ "reflowButton": "_5KEEsG_reflowButton",
3287
+ "headerSide": "_5KEEsG_headerSide",
3288
+ "stateDetail": "_5KEEsG_stateDetail",
3289
+ "pendingTitle": "_5KEEsG_pendingTitle",
3290
+ "pendingQText": "_5KEEsG_pendingQText",
3291
+ "pendingOptionDesc": "_5KEEsG_pendingOptionDesc",
3255
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",
3299
+ "toolHead": "_5KEEsG_toolHead",
3300
+ "toolGenericBody": "_5KEEsG_toolGenericBody",
3301
+ "slashItem": "_5KEEsG_slashItem",
3302
+ "pendingOption": "_5KEEsG_pendingOption",
3303
+ "snapshotText": "_5KEEsG_snapshotText",
3256
3304
  "writeNotice": "_5KEEsG_writeNotice",
3257
- "visibilitySetting": "_5KEEsG_visibilitySetting",
3258
- "emptyTitle": "_5KEEsG_emptyTitle",
3259
- "empty": "_5KEEsG_empty",
3260
3305
  "dotIdle": "_5KEEsG_dotIdle",
3261
3306
  "todoDot": "_5KEEsG_todoDot",
3262
- "headerSide": "_5KEEsG_headerSide",
3263
- "pendingOption": "_5KEEsG_pendingOption",
3264
- "userBubble": "_5KEEsG_userBubble",
3265
- "sendButton": "_5KEEsG_sendButton",
3266
- "densityToggle": "_5KEEsG_densityToggle",
3267
- "stateScreen": "_5KEEsG_stateScreen",
3268
- "toolError": "_5KEEsG_toolError",
3269
- "nativeHost": "_5KEEsG_nativeHost",
3270
- "slashItem": "_5KEEsG_slashItem",
3271
- "slashItemActive": "_5KEEsG_slashItemActive",
3272
- "dotRunning": "_5KEEsG_dotRunning",
3273
- "slashGroupTitle": "_5KEEsG_slashGroupTitle",
3274
- "composerCard": "_5KEEsG_composerCard",
3275
- "toolBodyText": "_5KEEsG_toolBodyText",
3276
- "modelLabel": "_5KEEsG_modelLabel",
3277
- "pendingOptionDesc": "_5KEEsG_pendingOptionDesc",
3278
- "body": "_5KEEsG_body",
3279
- "composerFoot": "_5KEEsG_composerFoot",
3280
- "writeNoticeClose": "_5KEEsG_writeNoticeClose",
3281
- "emptyIcon": "_5KEEsG_emptyIcon",
3282
- "sentChip": "_5KEEsG_sentChip",
3283
- "rowPreview": "_5KEEsG_rowPreview",
3284
- "toolLocations": "_5KEEsG_toolLocations",
3285
- "root": "_5KEEsG_root",
3286
- "emptyText": "_5KEEsG_emptyText",
3287
- "assistantBody": "_5KEEsG_assistantBody",
3288
- "attachRail": "_5KEEsG_attachRail",
3307
+ "attachRemove": "_5KEEsG_attachRemove",
3289
3308
  "pendingBtnGhost": "_5KEEsG_pendingBtnGhost",
3290
- "errorRow": "_5KEEsG_errorRow",
3291
- "toolCard": "_5KEEsG_toolCard",
3292
- "rowActions": "_5KEEsG_rowActions",
3293
- "pendingBar": "_5KEEsG_pendingBar",
3294
- "reasoningBody": "_5KEEsG_reasoningBody",
3295
- "userRow": "_5KEEsG_userRow",
3296
- "todoText": "_5KEEsG_todoText",
3297
- "transcript": "_5KEEsG_transcript",
3298
- "toolGenericBody": "_5KEEsG_toolGenericBody",
3299
- "pendingCard": "_5KEEsG_pendingCard",
3300
- "pendingTitle": "_5KEEsG_pendingTitle",
3301
- "pendingReason": "_5KEEsG_pendingReason",
3302
- "stateDetail": "_5KEEsG_stateDetail",
3303
- "slashItemName": "_5KEEsG_slashItemName",
3304
- "jumpBottom": "_5KEEsG_jumpBottom",
3305
- "attachImg": "_5KEEsG_attachImg",
3306
- "flowRow": "_5KEEsG_flowRow",
3307
- "sidechat-pulse": "_5KEEsG_sidechat-pulse",
3308
- "composerChips": "_5KEEsG_composerChips",
3309
- "input": "_5KEEsG_input",
3310
- "attachThumb": "_5KEEsG_attachThumb",
3311
- "flowRowError": "_5KEEsG_flowRowError",
3312
3309
  "noticeRow": "_5KEEsG_noticeRow",
3313
- "pendingDesc": "_5KEEsG_pendingDesc",
3314
- "pendingQuestion": "_5KEEsG_pendingQuestion",
3315
- "pendingQText": "_5KEEsG_pendingQText",
3316
3310
  "pendingOptionActive": "_5KEEsG_pendingOptionActive",
3317
- "reflowButton": "_5KEEsG_reflowButton",
3318
- "snapshotBody": "_5KEEsG_snapshotBody"
3311
+ "snapshotBody": "_5KEEsG_snapshotBody",
3312
+ "densityToggle": "_5KEEsG_densityToggle",
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,17 +5301,17 @@ ${entries.map((entry) => {
5298
5301
  document.head.appendChild(tag);
5299
5302
  }
5300
5303
  var annotations_module_css_default = {
5301
- "chipPanel": "SVnebq_chipPanel",
5304
+ "chipNumber": "SVnebq_chipNumber",
5302
5305
  "chipClearAll": "SVnebq_chipClearAll",
5303
- "chip": "SVnebq_chip",
5306
+ "chipRemove": "SVnebq_chipRemove",
5307
+ "chipText": "SVnebq_chipText",
5308
+ "chipRow": "SVnebq_chipRow",
5304
5309
  "side": "SVnebq_side",
5305
- "chipNote": "SVnebq_chipNote",
5306
- "chipWrap": "SVnebq_chipWrap",
5310
+ "chipPanel": "SVnebq_chipPanel",
5307
5311
  "storageNotice": "SVnebq_storageNotice",
5308
- "chipRow": "SVnebq_chipRow",
5309
- "chipText": "SVnebq_chipText",
5310
- "chipRemove": "SVnebq_chipRemove",
5311
- "chipNumber": "SVnebq_chipNumber"
5312
+ "chip": "SVnebq_chip",
5313
+ "chipNote": "SVnebq_chipNote",
5314
+ "chipWrap": "SVnebq_chipWrap"
5312
5315
  };
5313
5316
  //#endregion
5314
5317
  //#region src/client/annotations/chip.tsx
@@ -7816,34 +7819,34 @@ ${entries.map((entry) => {
7816
7819
  document.head.appendChild(tag);
7817
7820
  }
7818
7821
  var annotate_module_css_default = {
7819
- "sentCardQuote": "_SVViG_sentCardQuote",
7820
- "toolbarBelow": "_SVViG_toolbarBelow",
7821
- "badge": "_SVViG_badge",
7822
- "deleteButton": "_SVViG_deleteButton",
7822
+ "editorNew": "_SVViG_editorNew",
7823
7823
  "sentCardTitle": "_SVViG_sentCardTitle",
7824
+ "sentCardNote": "_SVViG_sentCardNote",
7824
7825
  "editorAskRow": "_SVViG_editorAskRow",
7826
+ "dshSidenoteHintIn": "_SVViG_dshSidenoteHintIn",
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",
7835
+ "sentChipRow": "_SVViG_sentChipRow",
7836
+ "saveButton": "_SVViG_saveButton",
7837
+ "confirmButton": "_SVViG_confirmButton",
7825
7838
  "editorFooter": "_SVViG_editorFooter",
7826
- "editorEdit": "_SVViG_editorEdit",
7839
+ "highlight": "_SVViG_highlight",
7840
+ "hintClose": "_SVViG_hintClose",
7841
+ "badge": "_SVViG_badge",
7842
+ "editorTarget": "_SVViG_editorTarget",
7827
7843
  "toolbarButton": "_SVViG_toolbarButton",
7828
- "saveButton": "_SVViG_saveButton",
7829
- "editorError": "_SVViG_editorError",
7830
7844
  "sentChip": "_SVViG_sentChip",
7831
- "hintClose": "_SVViG_hintClose",
7832
- "sentChipRow": "_SVViG_sentChipRow",
7845
+ "editorEdit": "_SVViG_editorEdit",
7833
7846
  "toolbar": "_SVViG_toolbar",
7834
- "editorNew": "_SVViG_editorNew",
7835
- "sentCardNote": "_SVViG_sentCardNote",
7836
- "dshSidenoteHintIn": "_SVViG_dshSidenoteHintIn",
7837
- "editorTextarea": "_SVViG_editorTextarea",
7838
- "editorInput": "_SVViG_editorInput",
7839
- "badgeSent": "_SVViG_badgeSent",
7840
- "editorAsk": "_SVViG_editorAsk",
7841
- "highlight": "_SVViG_highlight",
7842
- "confirmButton": "_SVViG_confirmButton",
7843
- "cancelButton": "_SVViG_cancelButton",
7844
7847
  "hint": "_SVViG_hint",
7845
- "editorTarget": "_SVViG_editorTarget",
7846
- "editorSpacer": "_SVViG_editorSpacer"
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.3",
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",
@@ -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: '完成',