dsh-sidenote 0.7.4 → 0.7.5
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
|
@@ -622,7 +622,7 @@ window.__ModuleLoader__.load({
|
|
|
622
622
|
let dockRegistered = false;
|
|
623
623
|
let report = {
|
|
624
624
|
versions: {
|
|
625
|
-
sidenote: "0.7.
|
|
625
|
+
sidenote: "0.7.5",
|
|
626
626
|
dsh: "unknown",
|
|
627
627
|
betterSidebar: null
|
|
628
628
|
},
|
|
@@ -1273,15 +1273,15 @@ window.__ModuleLoader__.load({
|
|
|
1273
1273
|
document.head.appendChild(tag);
|
|
1274
1274
|
}
|
|
1275
1275
|
var diagnostics_module_css_default = {
|
|
1276
|
-
"
|
|
1277
|
-
"settingTitle": "tGe0LW_settingTitle",
|
|
1278
|
-
"setting": "tGe0LW_setting",
|
|
1276
|
+
"versions": "tGe0LW_versions",
|
|
1279
1277
|
"list": "tGe0LW_list",
|
|
1280
|
-
"actions": "tGe0LW_actions",
|
|
1281
|
-
"panel": "tGe0LW_panel",
|
|
1282
1278
|
"header": "tGe0LW_header",
|
|
1283
|
-
"
|
|
1284
|
-
"
|
|
1279
|
+
"panel": "tGe0LW_panel",
|
|
1280
|
+
"description": "tGe0LW_description",
|
|
1281
|
+
"actions": "tGe0LW_actions",
|
|
1282
|
+
"trigger": "tGe0LW_trigger",
|
|
1283
|
+
"settingTitle": "tGe0LW_settingTitle",
|
|
1284
|
+
"setting": "tGe0LW_setting"
|
|
1285
1285
|
};
|
|
1286
1286
|
//#endregion
|
|
1287
1287
|
//#region src/client/diagnostics/index.tsx
|
|
@@ -2344,30 +2344,30 @@ window.__ModuleLoader__.load({
|
|
|
2344
2344
|
document.head.appendChild(tag);
|
|
2345
2345
|
}
|
|
2346
2346
|
var sidechat_module_css_default = {
|
|
2347
|
-
"
|
|
2348
|
-
"
|
|
2347
|
+
"emptyTitle": "_5KEEsG_emptyTitle",
|
|
2348
|
+
"root": "_5KEEsG_root",
|
|
2349
|
+
"historyView": "_5KEEsG_historyView",
|
|
2350
|
+
"contextHint": "_5KEEsG_contextHint",
|
|
2351
|
+
"contextChevronOpen": "_5KEEsG_contextChevronOpen",
|
|
2349
2352
|
"progressEntries": "_5KEEsG_progressEntries",
|
|
2350
|
-
"
|
|
2351
|
-
"
|
|
2352
|
-
"
|
|
2353
|
+
"stateScreen": "_5KEEsG_stateScreen",
|
|
2354
|
+
"headerSide": "_5KEEsG_headerSide",
|
|
2355
|
+
"visibilitySetting": "_5KEEsG_visibilitySetting",
|
|
2353
2356
|
"stateDetail": "_5KEEsG_stateDetail",
|
|
2354
2357
|
"errorRow": "_5KEEsG_errorRow",
|
|
2358
|
+
"progressEntry": "_5KEEsG_progressEntry",
|
|
2359
|
+
"nativeToolbar": "_5KEEsG_nativeToolbar",
|
|
2360
|
+
"nativeAction": "_5KEEsG_nativeAction",
|
|
2361
|
+
"nativeHost": "_5KEEsG_nativeHost",
|
|
2355
2362
|
"chatView": "_5KEEsG_chatView",
|
|
2356
|
-
"contextChevronOpen": "_5KEEsG_contextChevronOpen",
|
|
2357
|
-
"root": "_5KEEsG_root",
|
|
2358
|
-
"reflowAction": "_5KEEsG_reflowAction",
|
|
2359
|
-
"historyView": "_5KEEsG_historyView",
|
|
2360
2363
|
"mainContext": "_5KEEsG_mainContext",
|
|
2361
|
-
"
|
|
2364
|
+
"historyToggle": "_5KEEsG_historyToggle",
|
|
2362
2365
|
"nativeToolbarActions": "_5KEEsG_nativeToolbarActions",
|
|
2363
|
-
"
|
|
2364
|
-
"stateScreen": "_5KEEsG_stateScreen",
|
|
2365
|
-
"progressEntry": "_5KEEsG_progressEntry",
|
|
2366
|
-
"contextHint": "_5KEEsG_contextHint",
|
|
2366
|
+
"emptyIcon": "_5KEEsG_emptyIcon",
|
|
2367
2367
|
"contextChevron": "_5KEEsG_contextChevron",
|
|
2368
|
-
"
|
|
2369
|
-
"
|
|
2370
|
-
"
|
|
2368
|
+
"nativeConversation": "_5KEEsG_nativeConversation",
|
|
2369
|
+
"reflowAction": "_5KEEsG_reflowAction",
|
|
2370
|
+
"emptyText": "_5KEEsG_emptyText"
|
|
2371
2371
|
};
|
|
2372
2372
|
//#endregion
|
|
2373
2373
|
//#region src/client/sidechat/NativeConversation.tsx
|
|
@@ -2409,7 +2409,7 @@ window.__ModuleLoader__.load({
|
|
|
2409
2409
|
children: side.contextPending ? t("contextAtSend") : side.progress?.takenAt ? t("contextAsOf", { time: side.progress.takenAt }) : t("contextInherited")
|
|
2410
2410
|
})
|
|
2411
2411
|
]
|
|
2412
|
-
}), expanded && side.progress && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2412
|
+
}), expanded && side.progress && side.progress.entries.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2413
2413
|
className: sidechat_module_css_default.progressEntries,
|
|
2414
2414
|
"data-sidenote-context-progress": true,
|
|
2415
2415
|
children: side.progress.entries.map((entry, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -5592,34 +5592,34 @@ ${entries.map((entry) => {
|
|
|
5592
5592
|
document.head.appendChild(tag);
|
|
5593
5593
|
}
|
|
5594
5594
|
var annotate_module_css_default = {
|
|
5595
|
-
"
|
|
5596
|
-
"
|
|
5595
|
+
"sentChip": "_SVViG_sentChip",
|
|
5596
|
+
"sentCardTitle": "_SVViG_sentCardTitle",
|
|
5597
5597
|
"editorSpacer": "_SVViG_editorSpacer",
|
|
5598
|
+
"toolbarButton": "_SVViG_toolbarButton",
|
|
5599
|
+
"editorInput": "_SVViG_editorInput",
|
|
5600
|
+
"editorTextarea": "_SVViG_editorTextarea",
|
|
5601
|
+
"confirmButton": "_SVViG_confirmButton",
|
|
5598
5602
|
"saveButton": "_SVViG_saveButton",
|
|
5599
|
-
"
|
|
5600
|
-
"
|
|
5601
|
-
"
|
|
5603
|
+
"sentCardQuote": "_SVViG_sentCardQuote",
|
|
5604
|
+
"sentCardNote": "_SVViG_sentCardNote",
|
|
5605
|
+
"badgeSent": "_SVViG_badgeSent",
|
|
5602
5606
|
"hint": "_SVViG_hint",
|
|
5603
5607
|
"dshSidenoteHintIn": "_SVViG_dshSidenoteHintIn",
|
|
5604
|
-
"confirmButton": "_SVViG_confirmButton",
|
|
5605
|
-
"toolbarBelow": "_SVViG_toolbarBelow",
|
|
5606
|
-
"editorInput": "_SVViG_editorInput",
|
|
5607
|
-
"sentCardNote": "_SVViG_sentCardNote",
|
|
5608
|
-
"toolbarButton": "_SVViG_toolbarButton",
|
|
5609
|
-
"sentCardQuote": "_SVViG_sentCardQuote",
|
|
5610
|
-
"hintClose": "_SVViG_hintClose",
|
|
5611
5608
|
"badge": "_SVViG_badge",
|
|
5609
|
+
"editorFooter": "_SVViG_editorFooter",
|
|
5612
5610
|
"editorError": "_SVViG_editorError",
|
|
5613
|
-
"
|
|
5611
|
+
"editorAskRow": "_SVViG_editorAskRow",
|
|
5614
5612
|
"highlight": "_SVViG_highlight",
|
|
5615
|
-
"
|
|
5613
|
+
"toolbarBelow": "_SVViG_toolbarBelow",
|
|
5616
5614
|
"sentChipRow": "_SVViG_sentChipRow",
|
|
5617
|
-
"
|
|
5615
|
+
"editorTarget": "_SVViG_editorTarget",
|
|
5616
|
+
"hintClose": "_SVViG_hintClose",
|
|
5617
|
+
"cancelButton": "_SVViG_cancelButton",
|
|
5618
|
+
"deleteButton": "_SVViG_deleteButton",
|
|
5618
5619
|
"editorNew": "_SVViG_editorNew",
|
|
5619
|
-
"editorEdit": "_SVViG_editorEdit",
|
|
5620
5620
|
"editorAsk": "_SVViG_editorAsk",
|
|
5621
|
-
"
|
|
5622
|
-
"
|
|
5621
|
+
"editorEdit": "_SVViG_editorEdit",
|
|
5622
|
+
"toolbar": "_SVViG_toolbar"
|
|
5623
5623
|
};
|
|
5624
5624
|
//#endregion
|
|
5625
5625
|
//#region src/client/annotate/hint.tsx
|
|
@@ -6432,34 +6432,34 @@ ${entries.map((entry) => {
|
|
|
6432
6432
|
document.head.appendChild(tag);
|
|
6433
6433
|
}
|
|
6434
6434
|
var annotations_module_css_default = {
|
|
6435
|
-
"
|
|
6436
|
-
"
|
|
6437
|
-
"
|
|
6435
|
+
"contextLabel": "SVnebq_contextLabel",
|
|
6436
|
+
"contextPanel": "SVnebq_contextPanel",
|
|
6437
|
+
"contextAction": "SVnebq_contextAction",
|
|
6438
|
+
"chipMain": "SVnebq_chipMain",
|
|
6438
6439
|
"contextEditor": "SVnebq_contextEditor",
|
|
6439
|
-
"
|
|
6440
|
-
"contextAppear": "SVnebq_contextAppear",
|
|
6441
|
-
"sentContext": "SVnebq_sentContext",
|
|
6442
|
-
"sentChip": "SVnebq_sentChip",
|
|
6440
|
+
"sentChipGroup": "SVnebq_sentChipGroup",
|
|
6443
6441
|
"sentChevron": "SVnebq_sentChevron",
|
|
6444
6442
|
"sentChevronOpen": "SVnebq_sentChevronOpen",
|
|
6445
|
-
"
|
|
6443
|
+
"contextItem": "SVnebq_contextItem",
|
|
6446
6444
|
"sentPreview": "SVnebq_sentPreview",
|
|
6447
|
-
"
|
|
6448
|
-
"chipClearAll": "SVnebq_chipClearAll",
|
|
6445
|
+
"chip": "SVnebq_chip",
|
|
6449
6446
|
"userContextHost": "SVnebq_userContextHost",
|
|
6450
|
-
"sentChips": "SVnebq_sentChips",
|
|
6451
6447
|
"contextNumber": "SVnebq_contextNumber",
|
|
6452
|
-
"chip": "SVnebq_chip",
|
|
6453
|
-
"chipDismissShade": "SVnebq_chipDismissShade",
|
|
6454
|
-
"contextPanel": "SVnebq_contextPanel",
|
|
6455
|
-
"contextAction": "SVnebq_contextAction",
|
|
6456
|
-
"contextItem": "SVnebq_contextItem",
|
|
6457
|
-
"contextFooter": "SVnebq_contextFooter",
|
|
6458
|
-
"sentChipGroup": "SVnebq_sentChipGroup",
|
|
6459
6448
|
"contextSource": "SVnebq_contextSource",
|
|
6449
|
+
"sentChips": "SVnebq_sentChips",
|
|
6450
|
+
"contextList": "SVnebq_contextList",
|
|
6451
|
+
"contextText": "SVnebq_contextText",
|
|
6460
6452
|
"contextContent": "SVnebq_contextContent",
|
|
6461
|
-
"
|
|
6462
|
-
"
|
|
6453
|
+
"contextActions": "SVnebq_contextActions",
|
|
6454
|
+
"chipClearAll": "SVnebq_chipClearAll",
|
|
6455
|
+
"chipDismiss": "SVnebq_chipDismiss",
|
|
6456
|
+
"storageNotice": "SVnebq_storageNotice",
|
|
6457
|
+
"sentContext": "SVnebq_sentContext",
|
|
6458
|
+
"sentChip": "SVnebq_sentChip",
|
|
6459
|
+
"chipDismissShade": "SVnebq_chipDismissShade",
|
|
6460
|
+
"contextFooter": "SVnebq_contextFooter",
|
|
6461
|
+
"chipWrap": "SVnebq_chipWrap",
|
|
6462
|
+
"contextAppear": "SVnebq_contextAppear"
|
|
6463
6463
|
};
|
|
6464
6464
|
//#endregion
|
|
6465
6465
|
//#region src/client/annotations/chip.tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-sidenote",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
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",
|
|
@@ -46,7 +46,7 @@ function ChatView(props: { renderSlot(name: 'conversation.session', owner: { vie
|
|
|
46
46
|
<IconChevronDownOutline14 size={12} className={expanded ? css.contextChevronOpen : css.contextChevron} />
|
|
47
47
|
<span>{t('mainContext')}</span><span className={css.contextHint}>{side.contextPending ? t('contextAtSend') : side.progress?.takenAt ? t('contextAsOf', { time: side.progress.takenAt }) : t('contextInherited')}</span>
|
|
48
48
|
</button>
|
|
49
|
-
{expanded && side.progress && <div className={css.progressEntries} data-sidenote-context-progress>{side.progress.entries.map((entry, index) => <div key={index} className={css.progressEntry}><span className={css.contextHint}>{entry.kind === 'tool' ? entry.toolName : t(`context${entry.kind}`)}</span><div>{entry.text}</div></div>)}</div>}
|
|
49
|
+
{expanded && side.progress && side.progress.entries.length > 0 && <div className={css.progressEntries} data-sidenote-context-progress>{side.progress.entries.map((entry, index) => <div key={index} className={css.progressEntry}><span className={css.contextHint}>{entry.kind === 'tool' ? entry.toolName : t(`context${entry.kind}`)}</span><div>{entry.text}</div></div>)}</div>}
|
|
50
50
|
</div>
|
|
51
51
|
<SideContext.Provider value={{ ...side, contextExpanded: expanded }}>{props.renderSlot('conversation.session', { view: 'chat' })}</SideContext.Provider>
|
|
52
52
|
</div>
|