dsh-sidenote 0.4.0 → 0.4.1
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 +100 -100
- package/package.json +6 -2
package/lib/client.js
CHANGED
|
@@ -2570,93 +2570,93 @@ window.__ModuleLoader__.load({
|
|
|
2570
2570
|
document.head.appendChild(tag);
|
|
2571
2571
|
}
|
|
2572
2572
|
var sidechat_module_css_default = {
|
|
2573
|
-
"
|
|
2573
|
+
"root": "_5KEEsG_root",
|
|
2574
|
+
"toolGenericBody": "_5KEEsG_toolGenericBody",
|
|
2575
|
+
"composerChips": "_5KEEsG_composerChips",
|
|
2576
|
+
"pendingQuestion": "_5KEEsG_pendingQuestion",
|
|
2577
|
+
"todoBody": "_5KEEsG_todoBody",
|
|
2578
|
+
"slashMenu": "_5KEEsG_slashMenu",
|
|
2574
2579
|
"slashGroupTitle": "_5KEEsG_slashGroupTitle",
|
|
2575
|
-
"toolCard": "_5KEEsG_toolCard",
|
|
2576
|
-
"pendingOptionDesc": "_5KEEsG_pendingOptionDesc",
|
|
2577
|
-
"composerCard": "_5KEEsG_composerCard",
|
|
2578
|
-
"empty": "_5KEEsG_empty",
|
|
2579
|
-
"pendingBtnPrimary": "_5KEEsG_pendingBtnPrimary",
|
|
2580
|
-
"pendingCustom": "_5KEEsG_pendingCustom",
|
|
2581
|
-
"userRow": "_5KEEsG_userRow",
|
|
2582
|
-
"assistantRow": "_5KEEsG_assistantRow",
|
|
2583
|
-
"pendingBtnGhost": "_5KEEsG_pendingBtnGhost",
|
|
2584
|
-
"pendingHead": "_5KEEsG_pendingHead",
|
|
2585
|
-
"attachRail": "_5KEEsG_attachRail",
|
|
2586
|
-
"toolHead": "_5KEEsG_toolHead",
|
|
2587
|
-
"toolError": "_5KEEsG_toolError",
|
|
2588
|
-
"body": "_5KEEsG_body",
|
|
2589
|
-
"rowActions": "_5KEEsG_rowActions",
|
|
2590
|
-
"rowPreview": "_5KEEsG_rowPreview",
|
|
2591
2580
|
"flowRowError": "_5KEEsG_flowRowError",
|
|
2592
|
-
"attachRemove": "_5KEEsG_attachRemove",
|
|
2593
|
-
"pendingDesc": "_5KEEsG_pendingDesc",
|
|
2594
|
-
"pendingActions": "_5KEEsG_pendingActions",
|
|
2595
|
-
"pendingQHeader": "_5KEEsG_pendingQHeader",
|
|
2596
|
-
"parentStrip": "_5KEEsG_parentStrip",
|
|
2597
|
-
"pendingTitle": "_5KEEsG_pendingTitle",
|
|
2598
|
-
"toolBodyText": "_5KEEsG_toolBodyText",
|
|
2599
|
-
"errorRow": "_5KEEsG_errorRow",
|
|
2600
|
-
"todoItem": "_5KEEsG_todoItem",
|
|
2601
|
-
"userBubble": "_5KEEsG_userBubble",
|
|
2602
|
-
"reflowButton": "_5KEEsG_reflowButton",
|
|
2603
|
-
"toolBody": "_5KEEsG_toolBody",
|
|
2604
|
-
"attachButton": "_5KEEsG_attachButton",
|
|
2605
|
-
"toolRunning": "_5KEEsG_toolRunning",
|
|
2606
|
-
"toolGenericBody": "_5KEEsG_toolGenericBody",
|
|
2607
|
-
"emptyIcon": "_5KEEsG_emptyIcon",
|
|
2608
|
-
"attachThumb": "_5KEEsG_attachThumb",
|
|
2609
|
-
"assistantBody": "_5KEEsG_assistantBody",
|
|
2610
|
-
"pendingReason": "_5KEEsG_pendingReason",
|
|
2611
|
-
"pendingCard": "_5KEEsG_pendingCard",
|
|
2612
|
-
"slashItem": "_5KEEsG_slashItem",
|
|
2613
|
-
"dotPending": "_5KEEsG_dotPending",
|
|
2614
|
-
"toolLocations": "_5KEEsG_toolLocations",
|
|
2615
|
-
"todoDot": "_5KEEsG_todoDot",
|
|
2616
|
-
"pendingBar": "_5KEEsG_pendingBar",
|
|
2617
2581
|
"dotIdle": "_5KEEsG_dotIdle",
|
|
2618
|
-
"
|
|
2619
|
-
"
|
|
2620
|
-
"
|
|
2582
|
+
"slashItemName": "_5KEEsG_slashItemName",
|
|
2583
|
+
"slashItemDetail": "_5KEEsG_slashItemDetail",
|
|
2584
|
+
"toolBody": "_5KEEsG_toolBody",
|
|
2585
|
+
"todoText": "_5KEEsG_todoText",
|
|
2621
2586
|
"pendingOptionActive": "_5KEEsG_pendingOptionActive",
|
|
2622
|
-
"
|
|
2623
|
-
"attachImg": "_5KEEsG_attachImg",
|
|
2587
|
+
"emptyIcon": "_5KEEsG_emptyIcon",
|
|
2624
2588
|
"stateScreen": "_5KEEsG_stateScreen",
|
|
2625
|
-
"
|
|
2626
|
-
"
|
|
2589
|
+
"rowActions": "_5KEEsG_rowActions",
|
|
2590
|
+
"pendingQHeader": "_5KEEsG_pendingQHeader",
|
|
2627
2591
|
"reasoningBody": "_5KEEsG_reasoningBody",
|
|
2628
|
-
"
|
|
2592
|
+
"errorRow": "_5KEEsG_errorRow",
|
|
2593
|
+
"empty": "_5KEEsG_empty",
|
|
2594
|
+
"stopButton": "_5KEEsG_stopButton",
|
|
2629
2595
|
"densityRow": "_5KEEsG_densityRow",
|
|
2630
|
-
"
|
|
2596
|
+
"writeNotice": "_5KEEsG_writeNotice",
|
|
2597
|
+
"dotPending": "_5KEEsG_dotPending",
|
|
2598
|
+
"body": "_5KEEsG_body",
|
|
2599
|
+
"streamingHint": "_5KEEsG_streamingHint",
|
|
2600
|
+
"toolHead": "_5KEEsG_toolHead",
|
|
2601
|
+
"modelLabel": "_5KEEsG_modelLabel",
|
|
2602
|
+
"flowRow": "_5KEEsG_flowRow",
|
|
2631
2603
|
"transcript": "_5KEEsG_transcript",
|
|
2632
|
-
"
|
|
2633
|
-
"
|
|
2634
|
-
"
|
|
2635
|
-
"
|
|
2604
|
+
"toolError": "_5KEEsG_toolError",
|
|
2605
|
+
"attachButton": "_5KEEsG_attachButton",
|
|
2606
|
+
"parentStrip": "_5KEEsG_parentStrip",
|
|
2607
|
+
"emptyTitle": "_5KEEsG_emptyTitle",
|
|
2608
|
+
"input": "_5KEEsG_input",
|
|
2609
|
+
"rowPreview": "_5KEEsG_rowPreview",
|
|
2610
|
+
"sendButton": "_5KEEsG_sendButton",
|
|
2611
|
+
"toolLocations": "_5KEEsG_toolLocations",
|
|
2612
|
+
"inheritedBody": "_5KEEsG_inheritedBody",
|
|
2613
|
+
"densityToggle": "_5KEEsG_densityToggle",
|
|
2614
|
+
"attachThumb": "_5KEEsG_attachThumb",
|
|
2615
|
+
"assistantRow": "_5KEEsG_assistantRow",
|
|
2616
|
+
"attachImg": "_5KEEsG_attachImg",
|
|
2617
|
+
"pendingBar": "_5KEEsG_pendingBar",
|
|
2636
2618
|
"dotRunning": "_5KEEsG_dotRunning",
|
|
2619
|
+
"pendingReason": "_5KEEsG_pendingReason",
|
|
2620
|
+
"pendingQText": "_5KEEsG_pendingQText",
|
|
2621
|
+
"slashItem": "_5KEEsG_slashItem",
|
|
2622
|
+
"toolCard": "_5KEEsG_toolCard",
|
|
2623
|
+
"attachRail": "_5KEEsG_attachRail",
|
|
2624
|
+
"pendingOptionDesc": "_5KEEsG_pendingOptionDesc",
|
|
2625
|
+
"assistantBody": "_5KEEsG_assistantBody",
|
|
2637
2626
|
"sidechat-pulse": "_5KEEsG_sidechat-pulse",
|
|
2638
|
-
"composer": "_5KEEsG_composer",
|
|
2639
|
-
"sentChip": "_5KEEsG_sentChip",
|
|
2640
|
-
"reasoning": "_5KEEsG_reasoning",
|
|
2641
2627
|
"modelSelect": "_5KEEsG_modelSelect",
|
|
2628
|
+
"userBubble": "_5KEEsG_userBubble",
|
|
2629
|
+
"pendingCustom": "_5KEEsG_pendingCustom",
|
|
2630
|
+
"toolBodyText": "_5KEEsG_toolBodyText",
|
|
2631
|
+
"toolRunning": "_5KEEsG_toolRunning",
|
|
2632
|
+
"reflowButton": "_5KEEsG_reflowButton",
|
|
2633
|
+
"emptyText": "_5KEEsG_emptyText",
|
|
2634
|
+
"pendingCard": "_5KEEsG_pendingCard",
|
|
2635
|
+
"pendingTitle": "_5KEEsG_pendingTitle",
|
|
2636
|
+
"pendingDesc": "_5KEEsG_pendingDesc",
|
|
2642
2637
|
"stateDetail": "_5KEEsG_stateDetail",
|
|
2643
|
-
"
|
|
2644
|
-
"
|
|
2645
|
-
"
|
|
2646
|
-
"
|
|
2638
|
+
"reasoning": "_5KEEsG_reasoning",
|
|
2639
|
+
"attachRemove": "_5KEEsG_attachRemove",
|
|
2640
|
+
"pendingActions": "_5KEEsG_pendingActions",
|
|
2641
|
+
"composerCard": "_5KEEsG_composerCard",
|
|
2642
|
+
"pendingBtnGhost": "_5KEEsG_pendingBtnGhost",
|
|
2647
2643
|
"headerSide": "_5KEEsG_headerSide",
|
|
2648
|
-
"
|
|
2644
|
+
"todoItem": "_5KEEsG_todoItem",
|
|
2645
|
+
"userRow": "_5KEEsG_userRow",
|
|
2649
2646
|
"actionGroup": "_5KEEsG_actionGroup",
|
|
2650
|
-
"
|
|
2651
|
-
"
|
|
2652
|
-
"
|
|
2653
|
-
"
|
|
2647
|
+
"todoDot": "_5KEEsG_todoDot",
|
|
2648
|
+
"pendingHead": "_5KEEsG_pendingHead",
|
|
2649
|
+
"noticeRow": "_5KEEsG_noticeRow",
|
|
2650
|
+
"composer": "_5KEEsG_composer",
|
|
2654
2651
|
"composerFoot": "_5KEEsG_composerFoot",
|
|
2655
|
-
"
|
|
2652
|
+
"sentChip": "_5KEEsG_sentChip",
|
|
2653
|
+
"pendingBtnPrimary": "_5KEEsG_pendingBtnPrimary",
|
|
2656
2654
|
"jumpBottom": "_5KEEsG_jumpBottom",
|
|
2657
|
-
"
|
|
2658
|
-
"
|
|
2659
|
-
"
|
|
2655
|
+
"pendingOption": "_5KEEsG_pendingOption",
|
|
2656
|
+
"nativeHost": "_5KEEsG_nativeHost",
|
|
2657
|
+
"sentChipRow": "_5KEEsG_sentChipRow",
|
|
2658
|
+
"writeNoticeClose": "_5KEEsG_writeNoticeClose",
|
|
2659
|
+
"slashItemActive": "_5KEEsG_slashItemActive"
|
|
2660
2660
|
};
|
|
2661
2661
|
//#endregion
|
|
2662
2662
|
//#region src/client/chat/ToolCard.tsx
|
|
@@ -5373,43 +5373,43 @@ window.__ModuleLoader__.load({
|
|
|
5373
5373
|
document.head.appendChild(tag);
|
|
5374
5374
|
}
|
|
5375
5375
|
var annotate_module_css_default = {
|
|
5376
|
-
"editorTarget": "_SVViG_editorTarget",
|
|
5377
|
-
"badge": "_SVViG_badge",
|
|
5378
|
-
"highlight": "_SVViG_highlight",
|
|
5379
|
-
"editorTextarea": "_SVViG_editorTextarea",
|
|
5380
|
-
"deleteButton": "_SVViG_deleteButton",
|
|
5381
|
-
"chipPanel": "_SVViG_chipPanel",
|
|
5382
|
-
"chipText": "_SVViG_chipText",
|
|
5383
|
-
"sentChip": "_SVViG_sentChip",
|
|
5384
|
-
"chip": "_SVViG_chip",
|
|
5385
|
-
"chipNumber": "_SVViG_chipNumber",
|
|
5386
|
-
"sentCardQuote": "_SVViG_sentCardQuote",
|
|
5387
|
-
"editorAsk": "_SVViG_editorAsk",
|
|
5388
|
-
"saveButton": "_SVViG_saveButton",
|
|
5389
|
-
"sentChipRow": "_SVViG_sentChipRow",
|
|
5390
|
-
"hint": "_SVViG_hint",
|
|
5391
5376
|
"editorSpacer": "_SVViG_editorSpacer",
|
|
5392
|
-
"
|
|
5377
|
+
"sentCardQuote": "_SVViG_sentCardQuote",
|
|
5378
|
+
"editorInput": "_SVViG_editorInput",
|
|
5379
|
+
"editorFooter": "_SVViG_editorFooter",
|
|
5380
|
+
"chipPanel": "_SVViG_chipPanel",
|
|
5381
|
+
"chipRow": "_SVViG_chipRow",
|
|
5393
5382
|
"chipClearAll": "_SVViG_chipClearAll",
|
|
5383
|
+
"editorTarget": "_SVViG_editorTarget",
|
|
5384
|
+
"saveButton": "_SVViG_saveButton",
|
|
5394
5385
|
"chipWrap": "_SVViG_chipWrap",
|
|
5395
|
-
"
|
|
5396
|
-
"
|
|
5386
|
+
"dshSidenoteHintIn": "_SVViG_dshSidenoteHintIn",
|
|
5387
|
+
"chipNumber": "_SVViG_chipNumber",
|
|
5388
|
+
"deleteButton": "_SVViG_deleteButton",
|
|
5389
|
+
"chipText": "_SVViG_chipText",
|
|
5397
5390
|
"toolbarBelow": "_SVViG_toolbarBelow",
|
|
5391
|
+
"editorEdit": "_SVViG_editorEdit",
|
|
5392
|
+
"editorAskRow": "_SVViG_editorAskRow",
|
|
5393
|
+
"badgeSent": "_SVViG_badgeSent",
|
|
5394
|
+
"toolbarButton": "_SVViG_toolbarButton",
|
|
5395
|
+
"badge": "_SVViG_badge",
|
|
5396
|
+
"highlight": "_SVViG_highlight",
|
|
5397
|
+
"toolbar": "_SVViG_toolbar",
|
|
5398
|
+
"chipRemove": "_SVViG_chipRemove",
|
|
5398
5399
|
"sentCardNote": "_SVViG_sentCardNote",
|
|
5399
|
-
"
|
|
5400
|
+
"sentChipRow": "_SVViG_sentChipRow",
|
|
5400
5401
|
"cancelButton": "_SVViG_cancelButton",
|
|
5401
|
-
"
|
|
5402
|
-
"
|
|
5402
|
+
"chip": "_SVViG_chip",
|
|
5403
|
+
"editorError": "_SVViG_editorError",
|
|
5404
|
+
"confirmButton": "_SVViG_confirmButton",
|
|
5405
|
+
"editorAsk": "_SVViG_editorAsk",
|
|
5406
|
+
"sentCardTitle": "_SVViG_sentCardTitle",
|
|
5407
|
+
"hint": "_SVViG_hint",
|
|
5408
|
+
"editorTextarea": "_SVViG_editorTextarea",
|
|
5409
|
+
"sentChip": "_SVViG_sentChip",
|
|
5403
5410
|
"editorNew": "_SVViG_editorNew",
|
|
5404
|
-
"chipRemove": "_SVViG_chipRemove",
|
|
5405
|
-
"editorFooter": "_SVViG_editorFooter",
|
|
5406
5411
|
"hintClose": "_SVViG_hintClose",
|
|
5407
|
-
"chipNote": "_SVViG_chipNote"
|
|
5408
|
-
"confirmButton": "_SVViG_confirmButton",
|
|
5409
|
-
"dshSidenoteHintIn": "_SVViG_dshSidenoteHintIn",
|
|
5410
|
-
"toolbarButton": "_SVViG_toolbarButton",
|
|
5411
|
-
"editorError": "_SVViG_editorError",
|
|
5412
|
-
"toolbar": "_SVViG_toolbar"
|
|
5412
|
+
"chipNote": "_SVViG_chipNote"
|
|
5413
5413
|
};
|
|
5414
5414
|
//#endregion
|
|
5415
5415
|
//#region src/client/annotate/hint.tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-sidenote",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "DSH web plugin: Codex-style side chat (fork the current session into a persistent side panel) + selection annotations with numbered badges and a composer chip. A thin consumer of dsh-better-sidebar. / Codex 风格侧边聊天 + 划选注释的 DSH 插件。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"./package.json": "./package.json"
|
|
20
20
|
},
|
|
21
21
|
"engines": {
|
|
22
|
-
"node": ">=20"
|
|
22
|
+
"node": ">=20",
|
|
23
|
+
"dsh": ">=0.1.1-rc.1 <0.2.0"
|
|
23
24
|
},
|
|
24
25
|
"dsh": {
|
|
25
26
|
"bundle": {
|
|
@@ -30,6 +31,9 @@
|
|
|
30
31
|
"@deepseek-ai/dsh-client-runtime"
|
|
31
32
|
],
|
|
32
33
|
"platform": "web"
|
|
34
|
+
},
|
|
35
|
+
"engines": {
|
|
36
|
+
"dsh": ">=0.1.1-rc.1 <0.2.0"
|
|
33
37
|
}
|
|
34
38
|
},
|
|
35
39
|
"files": [
|