dsh-reasoning-distill 0.1.1 → 0.1.2
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/index.js +87 -84
- package/lib/client/index.js.map +1 -1
- package/package.json +1 -1
package/lib/client/index.js
CHANGED
|
@@ -290,7 +290,7 @@ window.__ModuleLoader__.load({
|
|
|
290
290
|
"install.copyPrompt": "复制提示词",
|
|
291
291
|
"install.copied": "已复制",
|
|
292
292
|
"install.copyFailed": "复制失败,请手动全选下面的提示词。",
|
|
293
|
-
"install.agentCopyHint": "
|
|
293
|
+
"install.agentCopyHint": "也可以直接复制下面的提示词,粘贴到任意一个会话发送,效果与 agent 安装相同。",
|
|
294
294
|
"install.stepPending": "待执行",
|
|
295
295
|
"install.stepRunning": "进行中",
|
|
296
296
|
"install.stepDone": "完成",
|
|
@@ -307,7 +307,7 @@ window.__ModuleLoader__.load({
|
|
|
307
307
|
"install.agentNoWorkspace": "还没有工作区:请先在 DSH 里添加一个工作区。",
|
|
308
308
|
"install.agentGo": "在新会话中继续",
|
|
309
309
|
"install.agentHint": "会跳到该工作区的新会话,并把安装该后端所需的提示词填进输入框;发不发由你决定。",
|
|
310
|
-
"install.agentStarted": "
|
|
310
|
+
"install.agentStarted": "已请求在新会话中填入提示词;如果界面没有出现新会话,请直接复制下方提示词。",
|
|
311
311
|
"view.branchCreated": "已创建分支",
|
|
312
312
|
"view.branchKept": "已按原会话继续",
|
|
313
313
|
"settings.backend": "助手消息改写后端(单选)",
|
|
@@ -507,7 +507,7 @@ window.__ModuleLoader__.load({
|
|
|
507
507
|
"install.copyPrompt": "Copy prompt",
|
|
508
508
|
"install.copied": "Copied",
|
|
509
509
|
"install.copyFailed": "Copy failed — select the prompt below manually.",
|
|
510
|
-
"install.agentCopyHint": "
|
|
510
|
+
"install.agentCopyHint": "You can also copy the prompt below and paste it into any session — it does the same thing as the agent install.",
|
|
511
511
|
"install.stepPending": "pending",
|
|
512
512
|
"install.stepRunning": "running",
|
|
513
513
|
"install.stepDone": "done",
|
|
@@ -524,7 +524,7 @@ window.__ModuleLoader__.load({
|
|
|
524
524
|
"install.agentNoWorkspace": "No workspace yet: add one in DSH first.",
|
|
525
525
|
"install.agentGo": "Continue in a new session",
|
|
526
526
|
"install.agentHint": "Opens a new session in that workspace with the install prompt filled into the composer; sending it is your call.",
|
|
527
|
-
"install.agentStarted": "
|
|
527
|
+
"install.agentStarted": "A new session was asked to open with the prompt; if nothing appeared, copy the prompt below.",
|
|
528
528
|
"view.branchCreated": "Branch created",
|
|
529
529
|
"view.branchKept": "the original conversation carried on",
|
|
530
530
|
"settings.backend": "Assistant-rewrite backend (one)",
|
|
@@ -1319,48 +1319,48 @@ window.__ModuleLoader__.load({
|
|
|
1319
1319
|
document.head.appendChild(tag);
|
|
1320
1320
|
}
|
|
1321
1321
|
var Settings_module_css_default = {
|
|
1322
|
-
"
|
|
1323
|
-
"
|
|
1322
|
+
"checks": "jP3NOa_checks",
|
|
1323
|
+
"field": "jP3NOa_field",
|
|
1324
|
+
"item": "jP3NOa_item",
|
|
1325
|
+
"note": "jP3NOa_note",
|
|
1326
|
+
"installEntry": "jP3NOa_installEntry",
|
|
1327
|
+
"modalHead": "jP3NOa_modalHead",
|
|
1328
|
+
"muted": "jP3NOa_muted",
|
|
1324
1329
|
"search": "jP3NOa_search",
|
|
1330
|
+
"modalBody": "jP3NOa_modalBody",
|
|
1331
|
+
"modalBackdrop": "jP3NOa_modalBackdrop",
|
|
1332
|
+
"primary": "jP3NOa_primary",
|
|
1325
1333
|
"backendOptions": "jP3NOa_backendOptions",
|
|
1326
|
-
"
|
|
1334
|
+
"sectionHeading": "jP3NOa_sectionHeading",
|
|
1335
|
+
"actions": "jP3NOa_actions",
|
|
1327
1336
|
"modeCards": "jP3NOa_modeCards",
|
|
1337
|
+
"toggle": "jP3NOa_toggle",
|
|
1328
1338
|
"rule": "jP3NOa_rule",
|
|
1329
|
-
"
|
|
1339
|
+
"pickerPanel": "jP3NOa_pickerPanel",
|
|
1340
|
+
"priceGrid": "jP3NOa_priceGrid",
|
|
1341
|
+
"header": "jP3NOa_header",
|
|
1342
|
+
"itemBody": "jP3NOa_itemBody",
|
|
1343
|
+
"logBox": "jP3NOa_logBox",
|
|
1344
|
+
"modal": "jP3NOa_modal",
|
|
1330
1345
|
"pickerItem": "jP3NOa_pickerItem",
|
|
1331
|
-
"
|
|
1332
|
-
"
|
|
1346
|
+
"holidayBox": "jP3NOa_holidayBox",
|
|
1347
|
+
"modeCard": "jP3NOa_modeCard",
|
|
1348
|
+
"picker": "jP3NOa_picker",
|
|
1333
1349
|
"pickerList": "jP3NOa_pickerList",
|
|
1334
|
-
"
|
|
1335
|
-
"
|
|
1336
|
-
"
|
|
1337
|
-
"
|
|
1350
|
+
"iconButton": "jP3NOa_iconButton",
|
|
1351
|
+
"badge": "jP3NOa_badge",
|
|
1352
|
+
"section": "jP3NOa_section",
|
|
1353
|
+
"preview": "jP3NOa_preview",
|
|
1354
|
+
"route": "jP3NOa_route",
|
|
1338
1355
|
"error": "jP3NOa_error",
|
|
1339
|
-
"
|
|
1340
|
-
"
|
|
1356
|
+
"installBlock": "jP3NOa_installBlock",
|
|
1357
|
+
"secondary": "jP3NOa_secondary",
|
|
1341
1358
|
"steps": "jP3NOa_steps",
|
|
1342
|
-
"checks": "jP3NOa_checks",
|
|
1343
|
-
"page": "jP3NOa_page",
|
|
1344
|
-
"modalHead": "jP3NOa_modalHead",
|
|
1345
|
-
"logBox": "jP3NOa_logBox",
|
|
1346
1359
|
"log": "jP3NOa_log",
|
|
1347
|
-
"priceGrid": "jP3NOa_priceGrid",
|
|
1348
|
-
"muted": "jP3NOa_muted",
|
|
1349
|
-
"sectionHeading": "jP3NOa_sectionHeading",
|
|
1350
|
-
"pickerPanel": "jP3NOa_pickerPanel",
|
|
1351
|
-
"modalBody": "jP3NOa_modalBody",
|
|
1352
|
-
"field": "jP3NOa_field",
|
|
1353
|
-
"item": "jP3NOa_item",
|
|
1354
|
-
"route": "jP3NOa_route",
|
|
1355
|
-
"badge": "jP3NOa_badge",
|
|
1356
|
-
"installEntry": "jP3NOa_installEntry",
|
|
1357
|
-
"prompt": "jP3NOa_prompt",
|
|
1358
|
-
"preview": "jP3NOa_preview",
|
|
1359
|
-
"modeCard": "jP3NOa_modeCard",
|
|
1360
1360
|
"peakBox": "jP3NOa_peakBox",
|
|
1361
|
-
"
|
|
1362
|
-
"
|
|
1363
|
-
"
|
|
1361
|
+
"page": "jP3NOa_page",
|
|
1362
|
+
"prompt": "jP3NOa_prompt",
|
|
1363
|
+
"installProgress": "jP3NOa_installProgress"
|
|
1364
1364
|
};
|
|
1365
1365
|
//#endregion
|
|
1366
1366
|
//#region src/client/InstallBackend.tsx
|
|
@@ -1680,30 +1680,33 @@ window.__ModuleLoader__.load({
|
|
|
1680
1680
|
children: t("install.agentGo")
|
|
1681
1681
|
})
|
|
1682
1682
|
}),
|
|
1683
|
-
|
|
1684
|
-
className: Settings_module_css_default.actions,
|
|
1685
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
1686
|
-
type: "button",
|
|
1687
|
-
className: Settings_module_css_default.secondary,
|
|
1688
|
-
disabled: agentPrompt === "",
|
|
1689
|
-
onClick: () => {
|
|
1690
|
-
copyPrompt();
|
|
1691
|
-
},
|
|
1692
|
-
children: copied ? t("install.copied") : t("install.copyPrompt")
|
|
1693
|
-
})
|
|
1694
|
-
}),
|
|
1695
|
-
canOpenSession ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
1683
|
+
canOpenSession && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
1696
1684
|
className: Settings_module_css_default.note,
|
|
1697
1685
|
children: t("install.agentHint")
|
|
1698
|
-
})
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1686
|
+
}),
|
|
1687
|
+
agentPrompt !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
1688
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
1689
|
+
className: Settings_module_css_default.note,
|
|
1690
|
+
children: t("install.agentCopyHint")
|
|
1691
|
+
}),
|
|
1692
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("textarea", {
|
|
1693
|
+
className: Settings_module_css_default.prompt,
|
|
1694
|
+
readOnly: true,
|
|
1695
|
+
value: agentPrompt,
|
|
1696
|
+
onFocus: (event) => event.currentTarget.select()
|
|
1697
|
+
}),
|
|
1698
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1699
|
+
className: Settings_module_css_default.actions,
|
|
1700
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
1701
|
+
type: "button",
|
|
1702
|
+
className: Settings_module_css_default.secondary,
|
|
1703
|
+
onClick: () => {
|
|
1704
|
+
copyPrompt();
|
|
1705
|
+
},
|
|
1706
|
+
children: copied ? t("install.copied") : t("install.copyPrompt")
|
|
1707
|
+
})
|
|
1708
|
+
})
|
|
1709
|
+
] })
|
|
1707
1710
|
]
|
|
1708
1711
|
}),
|
|
1709
1712
|
error !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
@@ -2782,41 +2785,41 @@ window.__ModuleLoader__.load({
|
|
|
2782
2785
|
document.head.appendChild(tag);
|
|
2783
2786
|
}
|
|
2784
2787
|
var View_module_css_default = {
|
|
2785
|
-
"activityDotBlocked": "_7CZWHG_activityDotBlocked",
|
|
2786
|
-
"page": "_7CZWHG_page",
|
|
2787
|
-
"header": "_7CZWHG_header",
|
|
2788
|
-
"sessionInfo": "_7CZWHG_sessionInfo",
|
|
2789
|
-
"error": "_7CZWHG_error",
|
|
2790
|
-
"popupRow": "_7CZWHG_popupRow",
|
|
2791
2788
|
"summary": "_7CZWHG_summary",
|
|
2792
|
-
"popupList": "_7CZWHG_popupList",
|
|
2793
|
-
"positive": "_7CZWHG_positive",
|
|
2794
|
-
"facts": "_7CZWHG_facts",
|
|
2795
|
-
"activityLabel": "_7CZWHG_activityLabel",
|
|
2796
2789
|
"muted": "_7CZWHG_muted",
|
|
2797
|
-
"
|
|
2798
|
-
"
|
|
2799
|
-
"
|
|
2800
|
-
"
|
|
2790
|
+
"error": "_7CZWHG_error",
|
|
2791
|
+
"popupRow": "_7CZWHG_popupRow",
|
|
2792
|
+
"textBlock": "_7CZWHG_textBlock",
|
|
2793
|
+
"header": "_7CZWHG_header",
|
|
2794
|
+
"activityDotBlocked": "_7CZWHG_activityDotBlocked",
|
|
2795
|
+
"popupActions": "_7CZWHG_popupActions",
|
|
2801
2796
|
"activityWhy": "_7CZWHG_activityWhy",
|
|
2802
|
-
"sessionRow": "_7CZWHG_sessionRow",
|
|
2803
2797
|
"headerTrigger": "_7CZWHG_headerTrigger",
|
|
2804
|
-
"
|
|
2805
|
-
"blockedBanner": "_7CZWHG_blockedBanner",
|
|
2798
|
+
"page": "_7CZWHG_page",
|
|
2806
2799
|
"metric": "_7CZWHG_metric",
|
|
2807
|
-
"
|
|
2808
|
-
"
|
|
2800
|
+
"section": "_7CZWHG_section",
|
|
2801
|
+
"sessionInfo": "_7CZWHG_sessionInfo",
|
|
2802
|
+
"iconButton": "_7CZWHG_iconButton",
|
|
2803
|
+
"popup": "_7CZWHG_popup",
|
|
2804
|
+
"activityDot": "_7CZWHG_activityDot",
|
|
2805
|
+
"actions": "_7CZWHG_actions",
|
|
2809
2806
|
"popupFacts": "_7CZWHG_popupFacts",
|
|
2807
|
+
"activity": "_7CZWHG_activity",
|
|
2810
2808
|
"note": "_7CZWHG_note",
|
|
2811
|
-
"
|
|
2812
|
-
"activeRow": "_7CZWHG_activeRow",
|
|
2813
|
-
"secondary": "_7CZWHG_secondary",
|
|
2814
|
-
"popupActions": "_7CZWHG_popupActions",
|
|
2815
|
-
"rdPulse": "_7CZWHG_rdPulse",
|
|
2809
|
+
"facts": "_7CZWHG_facts",
|
|
2816
2810
|
"entryBody": "_7CZWHG_entryBody",
|
|
2817
|
-
"
|
|
2811
|
+
"negative": "_7CZWHG_negative",
|
|
2818
2812
|
"entryTitle": "_7CZWHG_entryTitle",
|
|
2819
|
-
"
|
|
2813
|
+
"secondary": "_7CZWHG_secondary",
|
|
2814
|
+
"entry": "_7CZWHG_entry",
|
|
2815
|
+
"sessionRow": "_7CZWHG_sessionRow",
|
|
2816
|
+
"rdPulse": "_7CZWHG_rdPulse",
|
|
2817
|
+
"blockedBanner": "_7CZWHG_blockedBanner",
|
|
2818
|
+
"popupList": "_7CZWHG_popupList",
|
|
2819
|
+
"positive": "_7CZWHG_positive",
|
|
2820
|
+
"activityLabel": "_7CZWHG_activityLabel",
|
|
2821
|
+
"activeRow": "_7CZWHG_activeRow",
|
|
2822
|
+
"popupHead": "_7CZWHG_popupHead"
|
|
2820
2823
|
};
|
|
2821
2824
|
//#endregion
|
|
2822
2825
|
//#region src/client/ActivityChip.tsx
|