@eddyskywalker/dsh-chatgpt-subscription 0.1.38 → 0.1.39
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 +50 -0
- package/lib/client.js.map +1 -1
- package/lib/index.js +26 -4
- package/lib/types/client/CodexSubscriptionSection.d.ts.map +1 -1
- package/lib/types/client/locales.d.ts +13 -1
- package/lib/types/client/locales.d.ts.map +1 -1
- package/lib/types/host/preferences.d.ts.map +1 -1
- package/lib/types/host/responses-client.d.ts +3 -1
- package/lib/types/host/responses-client.d.ts.map +1 -1
- package/lib/types/host/responses-mapper.d.ts +2 -2
- package/lib/types/host/responses-mapper.d.ts.map +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/contracts.d.ts +3 -0
- package/lib/types/shared/contracts.d.ts.map +1 -1
- package/lib/types/shared/preferences.d.ts +2 -1
- package/lib/types/shared/preferences.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -850,6 +850,44 @@ window.__ModuleLoader__.load({
|
|
|
850
850
|
]
|
|
851
851
|
})]
|
|
852
852
|
}),
|
|
853
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
854
|
+
className: "dsh-codex-pref-row",
|
|
855
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("reasoningSummary") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
856
|
+
className: "dsh-codex-muted",
|
|
857
|
+
children: t("reasoningSummaryHint")
|
|
858
|
+
})] }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
|
|
859
|
+
className: "dsh-codex-select",
|
|
860
|
+
"aria-label": t("reasoningSummary"),
|
|
861
|
+
value: preferences?.reasoningSummary ?? "",
|
|
862
|
+
disabled: busy !== null,
|
|
863
|
+
onChange: (event) => {
|
|
864
|
+
const value = event.currentTarget.value;
|
|
865
|
+
updatePreferences({ reasoningSummary: value === "" ? null : value });
|
|
866
|
+
},
|
|
867
|
+
children: [
|
|
868
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
869
|
+
value: "",
|
|
870
|
+
children: t("providerDefault")
|
|
871
|
+
}),
|
|
872
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
873
|
+
value: "auto",
|
|
874
|
+
children: t("summaryAuto")
|
|
875
|
+
}),
|
|
876
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
877
|
+
value: "concise",
|
|
878
|
+
children: t("summaryConcise")
|
|
879
|
+
}),
|
|
880
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
881
|
+
value: "detailed",
|
|
882
|
+
children: t("summaryDetailed")
|
|
883
|
+
}),
|
|
884
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
885
|
+
value: "none",
|
|
886
|
+
children: t("summaryNone")
|
|
887
|
+
})
|
|
888
|
+
]
|
|
889
|
+
})]
|
|
890
|
+
}),
|
|
853
891
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
854
892
|
className: "dsh-codex-pref-row",
|
|
855
893
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("subagentMaxDepth") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
@@ -1349,6 +1387,12 @@ window.__ModuleLoader__.load({
|
|
|
1349
1387
|
verbosityLow: "低(保持回答简洁)",
|
|
1350
1388
|
verbosityMedium: "中(兼顾细节与简洁)",
|
|
1351
1389
|
verbosityHigh: "高(在回答中包含更多细节)",
|
|
1390
|
+
reasoningSummary: "推理摘要",
|
|
1391
|
+
reasoningSummaryHint: "选择 ChatGPT 总结其推理的方式;不影响思考深度。",
|
|
1392
|
+
summaryAuto: "自动(让模型选择摘要详细程度)",
|
|
1393
|
+
summaryConcise: "简洁(显示简要推理摘要)",
|
|
1394
|
+
summaryDetailed: "详细(显示更详细的推理摘要)",
|
|
1395
|
+
summaryNone: "无(不显示推理摘要)",
|
|
1352
1396
|
searchProvider: "搜索与抓取来源",
|
|
1353
1397
|
searchProviderHint: "选择 DSH 联网工具使用默认来源,或改用当前 ChatGPT 订阅的 Codex 来源(自动走代理隧道)。",
|
|
1354
1398
|
searchProviderDsh: "DSH 默认",
|
|
@@ -1474,6 +1518,12 @@ window.__ModuleLoader__.load({
|
|
|
1474
1518
|
verbosityLow: "Low (keep answers concise)",
|
|
1475
1519
|
verbosityMedium: "Medium (balance detail and brevity)",
|
|
1476
1520
|
verbosityHigh: "High (include more detail)",
|
|
1521
|
+
reasoningSummary: "Reasoning summary",
|
|
1522
|
+
reasoningSummaryHint: "Controls how ChatGPT summarizes its chain of thought; does not change reasoning depth.",
|
|
1523
|
+
summaryAuto: "Auto (let model determine detail)",
|
|
1524
|
+
summaryConcise: "Concise (brief summary)",
|
|
1525
|
+
summaryDetailed: "Detailed (in-depth summary)",
|
|
1526
|
+
summaryNone: "None (hide reasoning summary)",
|
|
1477
1527
|
searchProvider: "Search & Fetch provider",
|
|
1478
1528
|
searchProviderHint: "Choose whether DSH web tools use the default provider or the Codex proxy-backed source from this ChatGPT subscription.",
|
|
1479
1529
|
searchProviderDsh: "DSH default",
|