dsh-lowtide 0.2.7 → 0.3.0
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/README.md +3 -3
- package/cordis.patch.yml +47 -47
- package/lib/client.js +291 -418
- package/lib/client.js.map +1 -1
- package/lib/index.js +37 -19
- package/lib/types/client/components/InterceptCard.d.ts +2 -16
- package/lib/types/client/components/TaskForm.d.ts +3 -4
- package/lib/types/client/i18n.d.ts +0 -1
- package/lib/types/client/index.d.ts +1 -1
- package/lib/types/client/store.d.ts +1 -1
- package/lib/types/src/session-picker.d.ts +1 -1
- package/package.json +104 -104
- package/LICENSE +0 -21
- package/lib/types/client/hooks/useInterceptDraft.d.ts +0 -32
package/lib/client.js
CHANGED
|
@@ -28,8 +28,8 @@ window.__ModuleLoader__.load({
|
|
|
28
28
|
//#endregion
|
|
29
29
|
let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
30
30
|
_deepseek_ai_dsh_client_ui_primitives = __toESM(_deepseek_ai_dsh_client_ui_primitives, 1);
|
|
31
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
32
31
|
let react = require("react");
|
|
32
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
33
33
|
//#region client/i18n.ts
|
|
34
34
|
/**
|
|
35
35
|
* dsh-lowtide client dictionaries (zh / en).
|
|
@@ -208,7 +208,6 @@ window.__ModuleLoader__.load({
|
|
|
208
208
|
"intercept.title": "当前为{tier}({window})",
|
|
209
209
|
"intercept.tierPeak": "忙时",
|
|
210
210
|
"intercept.tierCustom": "高价时段(×{multiplier})",
|
|
211
|
-
"intercept.inputPlaceholder": "输入要发送的内容……",
|
|
212
211
|
"intercept.workspaceLabel": "工作区",
|
|
213
212
|
"intercept.workspacePlaceholder": "留空使用上次使用的工作区",
|
|
214
213
|
"intercept.workspaceWarning": "未设置工作区,将使用服务器默认目录",
|
|
@@ -290,7 +289,7 @@ window.__ModuleLoader__.load({
|
|
|
290
289
|
"settings.title": "闲时计划",
|
|
291
290
|
"settings.loading": "加载闲时计划配置…",
|
|
292
291
|
"settings.onboardingTitle": "快速上手",
|
|
293
|
-
"settings.step1": "
|
|
292
|
+
"settings.step1": "点输入框旁的「新建」投递任务;忙时输入时,提示卡也能一键入队,且不会打断原生输入框",
|
|
294
293
|
"settings.step2": "在队列中裁定放行要跑的任务",
|
|
295
294
|
"settings.step3": "到你设置的时间窗(按你的本地时间),任务自动以闲时半价执行",
|
|
296
295
|
"settings.step4": "次日打开「执行报告」看结果和省下的钱",
|
|
@@ -347,7 +346,7 @@ window.__ModuleLoader__.load({
|
|
|
347
346
|
"settings.unlimited": "不限",
|
|
348
347
|
"settings.windowsTitle": "忙时 / 闲时窗口",
|
|
349
348
|
"settings.addWindow": "添加",
|
|
350
|
-
"settings.windowsHint": "未配置时使用官方忙时(按北京时间判定,见上方说明);你自定义的窗口一律按你的本地时间判定。自定义窗口按「闲时价 × 倍率」计费,倍率大于 1
|
|
349
|
+
"settings.windowsHint": "未配置时使用官方忙时(按北京时间判定,见上方说明);你自定义的窗口一律按你的本地时间判定。自定义窗口按「闲时价 × 倍率」计费,倍率大于 1 且草稿非空时会显示忙时提示,不会接管输入框。",
|
|
351
350
|
"settings.windowLabelName": "名称(可选)",
|
|
352
351
|
"settings.windowMultiplier": "倍率",
|
|
353
352
|
"settings.windowDays": "星期",
|
|
@@ -542,7 +541,6 @@ window.__ModuleLoader__.load({
|
|
|
542
541
|
"intercept.title": "Now {tier} ({window})",
|
|
543
542
|
"intercept.tierPeak": "Peak hours",
|
|
544
543
|
"intercept.tierCustom": "Custom window (×{multiplier})",
|
|
545
|
-
"intercept.inputPlaceholder": "Type your message…",
|
|
546
544
|
"intercept.workspaceLabel": "Workspace",
|
|
547
545
|
"intercept.workspacePlaceholder": "Leave empty to reuse the last one",
|
|
548
546
|
"intercept.workspaceWarning": "No workspace set — the server default directory will be used",
|
|
@@ -624,7 +622,7 @@ window.__ModuleLoader__.load({
|
|
|
624
622
|
"settings.title": "Lowtide",
|
|
625
623
|
"settings.loading": "Loading lowtide config…",
|
|
626
624
|
"settings.onboardingTitle": "Quick start",
|
|
627
|
-
"settings.step1": "Click \"New\" beside the input bar
|
|
625
|
+
"settings.step1": "Click \"New\" beside the input bar, or use the peak-hours prompt; it never replaces the native editor",
|
|
628
626
|
"settings.step2": "Approve tasks in the queue",
|
|
629
627
|
"settings.step3": "Within the window you set (your local time), tasks run at off-peak prices",
|
|
630
628
|
"settings.step4": "Check the execution report next day for results and savings",
|
|
@@ -681,7 +679,7 @@ window.__ModuleLoader__.load({
|
|
|
681
679
|
"settings.unlimited": "Unlimited",
|
|
682
680
|
"settings.windowsTitle": "Peak / off-peak windows",
|
|
683
681
|
"settings.addWindow": "Add",
|
|
684
|
-
"settings.windowsHint": "Uses the official peak hours (judged in Beijing time, see the explainer above) when none are configured; your custom windows are always judged in YOUR local time.
|
|
682
|
+
"settings.windowsHint": "Uses the official peak hours (judged in Beijing time, see the explainer above) when none are configured; your custom windows are always judged in YOUR local time. Above ×1, a non-empty draft shows a peak prompt without taking over the composer.",
|
|
685
683
|
"settings.windowLabelName": "Name (optional)",
|
|
686
684
|
"settings.windowMultiplier": "Multiplier",
|
|
687
685
|
"settings.windowDays": "Days",
|
|
@@ -776,8 +774,8 @@ window.__ModuleLoader__.load({
|
|
|
776
774
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Resolved, { ...rest });
|
|
777
775
|
}
|
|
778
776
|
//#endregion
|
|
779
|
-
//#region \0dsh-css:
|
|
780
|
-
const css$13 = ".
|
|
777
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\components\atoms.module.css.mjs
|
|
778
|
+
const css$13 = ".ATsC-q_money,.ATsC-q_countdown{font-family:var(--ds-font-family-code);font-variant-numeric:tabular-nums;font-size:inherit;line-height:inherit}.ATsC-q_modelBadge{border:1px solid var(--dsw-alias-border-l3);color:var(--dsw-alias-label-secondary);font-family:var(--ds-font-family-code);white-space:nowrap;border-radius:4px;flex:none;align-items:center;gap:2px;padding:1px 6px;font-size:11px;line-height:16px;display:inline-flex}.ATsC-q_modelBadgeUnknown{border-color:var(--dsw-alias-state-warn-primary);color:var(--dsw-alias-state-warn-primary)}.ATsC-q_modelBadgeQ{font-weight:600}";
|
|
781
779
|
const tagId$13 = "dsh-lowtide/atoms.module.css";
|
|
782
780
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$13) + "]") === null) {
|
|
783
781
|
const tag = document.createElement("style");
|
|
@@ -787,11 +785,11 @@ window.__ModuleLoader__.load({
|
|
|
787
785
|
document.head.appendChild(tag);
|
|
788
786
|
}
|
|
789
787
|
var atoms_module_css_default = {
|
|
790
|
-
"
|
|
791
|
-
"
|
|
792
|
-
"
|
|
793
|
-
"
|
|
794
|
-
"
|
|
788
|
+
"money": "ATsC-q_money",
|
|
789
|
+
"modelBadge": "ATsC-q_modelBadge",
|
|
790
|
+
"countdown": "ATsC-q_countdown",
|
|
791
|
+
"modelBadgeUnknown": "ATsC-q_modelBadgeUnknown",
|
|
792
|
+
"modelBadgeQ": "ATsC-q_modelBadgeQ"
|
|
795
793
|
};
|
|
796
794
|
//#endregion
|
|
797
795
|
//#region client/components/atoms.tsx
|
|
@@ -2253,8 +2251,8 @@ window.__ModuleLoader__.load({
|
|
|
2253
2251
|
} catch {}
|
|
2254
2252
|
}
|
|
2255
2253
|
//#endregion
|
|
2256
|
-
//#region \0dsh-css:
|
|
2257
|
-
const css$12 = ".
|
|
2254
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\components\PriceBand.module.css.mjs
|
|
2255
|
+
const css$12 = "._7KmZeG_bandWrap{flex-direction:column;gap:2px;display:flex}._7KmZeG_bandAxis{justify-content:space-between;padding:0 2px;display:flex}._7KmZeG_bandAxisLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);font-variant-numeric:tabular-nums}._7KmZeG_band{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l1);border-radius:8px;gap:1px;height:32px;padding:4px;display:flex}._7KmZeG_bandCell{border-radius:2px;flex:1}._7KmZeG_bandPeak{background:var(--dsw-alias-state-error-primary);opacity:.85}._7KmZeG_bandOff{background:var(--dsw-alias-state-success-primary);opacity:.85}._7KmZeG_bandCustom{background:var(--dsw-alias-state-warn-primary);opacity:.85}._7KmZeG_bandNow{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-1px}";
|
|
2258
2256
|
const tagId$12 = "dsh-lowtide/PriceBand.module.css";
|
|
2259
2257
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$12) + "]") === null) {
|
|
2260
2258
|
const tag = document.createElement("style");
|
|
@@ -2264,15 +2262,15 @@ window.__ModuleLoader__.load({
|
|
|
2264
2262
|
document.head.appendChild(tag);
|
|
2265
2263
|
}
|
|
2266
2264
|
var PriceBand_module_css_default = {
|
|
2267
|
-
"
|
|
2268
|
-
"
|
|
2269
|
-
"
|
|
2270
|
-
"
|
|
2271
|
-
"
|
|
2272
|
-
"
|
|
2273
|
-
"
|
|
2274
|
-
"
|
|
2275
|
-
"
|
|
2265
|
+
"bandCustom": "_7KmZeG_bandCustom",
|
|
2266
|
+
"bandPeak": "_7KmZeG_bandPeak",
|
|
2267
|
+
"bandAxis": "_7KmZeG_bandAxis",
|
|
2268
|
+
"band": "_7KmZeG_band",
|
|
2269
|
+
"bandAxisLabel": "_7KmZeG_bandAxisLabel",
|
|
2270
|
+
"bandNow": "_7KmZeG_bandNow",
|
|
2271
|
+
"bandCell": "_7KmZeG_bandCell",
|
|
2272
|
+
"bandWrap": "_7KmZeG_bandWrap",
|
|
2273
|
+
"bandOff": "_7KmZeG_bandOff"
|
|
2276
2274
|
};
|
|
2277
2275
|
//#endregion
|
|
2278
2276
|
//#region client/components/PriceBand.tsx
|
|
@@ -2326,8 +2324,8 @@ window.__ModuleLoader__.load({
|
|
|
2326
2324
|
});
|
|
2327
2325
|
}
|
|
2328
2326
|
//#endregion
|
|
2329
|
-
//#region \0dsh-css:
|
|
2330
|
-
const css$11 = ".
|
|
2327
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\components\WindowEditorModal.module.css.mjs
|
|
2328
|
+
const css$11 = ".N1LP3W_wide{width:min(560px,100%)}.N1LP3W_body{flex-direction:column;gap:8px;display:flex}.N1LP3W_tzLine{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13)}.N1LP3W_hint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);line-height:1.5}.N1LP3W_error{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);background:var(--dsw-alias-interactive-bg-hover);border-radius:6px;padding:6px 8px}.N1LP3W_empty{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);padding:10px 0}.N1LP3W_row{align-items:center;gap:6px;display:flex}.N1LP3W_input{box-sizing:border-box;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);height:32px;color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code);border-radius:8px;outline:none;padding:0 8px;font-size:13px}.N1LP3W_input:focus{border-color:var(--dsw-alias-brand-primary)}.N1LP3W_row select.N1LP3W_input{font-family:var(--dsw-font-family);flex:0 0 96px}.N1LP3W_row input.N1LP3W_input{flex:1;min-width:0}.N1LP3W_dash{color:var(--dsw-alias-label-tertiary)}.N1LP3W_daysBadge{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);white-space:nowrap;background:var(--dsw-alias-interactive-bg-hover);border-radius:999px;flex:none;padding:2px 8px}.N1LP3W_footer{align-items:center;gap:8px;display:flex}.N1LP3W_footerSpacer{flex:1}";
|
|
2331
2329
|
const tagId$11 = "dsh-lowtide/WindowEditorModal.module.css";
|
|
2332
2330
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$11) + "]") === null) {
|
|
2333
2331
|
const tag = document.createElement("style");
|
|
@@ -2337,18 +2335,18 @@ window.__ModuleLoader__.load({
|
|
|
2337
2335
|
document.head.appendChild(tag);
|
|
2338
2336
|
}
|
|
2339
2337
|
var WindowEditorModal_module_css_default = {
|
|
2340
|
-
"footerSpacer": "
|
|
2341
|
-
"
|
|
2342
|
-
"
|
|
2343
|
-
"body": "
|
|
2344
|
-
"
|
|
2345
|
-
"wide": "
|
|
2346
|
-
"
|
|
2347
|
-
"
|
|
2348
|
-
"
|
|
2349
|
-
"
|
|
2350
|
-
"
|
|
2351
|
-
"
|
|
2338
|
+
"footerSpacer": "N1LP3W_footerSpacer",
|
|
2339
|
+
"row": "N1LP3W_row",
|
|
2340
|
+
"error": "N1LP3W_error",
|
|
2341
|
+
"body": "N1LP3W_body",
|
|
2342
|
+
"daysBadge": "N1LP3W_daysBadge",
|
|
2343
|
+
"wide": "N1LP3W_wide",
|
|
2344
|
+
"input": "N1LP3W_input",
|
|
2345
|
+
"empty": "N1LP3W_empty",
|
|
2346
|
+
"dash": "N1LP3W_dash",
|
|
2347
|
+
"hint": "N1LP3W_hint",
|
|
2348
|
+
"tzLine": "N1LP3W_tzLine",
|
|
2349
|
+
"footer": "N1LP3W_footer"
|
|
2352
2350
|
};
|
|
2353
2351
|
//#endregion
|
|
2354
2352
|
//#region client/components/WindowEditorModal.tsx
|
|
@@ -2623,8 +2621,8 @@ window.__ModuleLoader__.load({
|
|
|
2623
2621
|
});
|
|
2624
2622
|
}
|
|
2625
2623
|
//#endregion
|
|
2626
|
-
//#region \0dsh-css:
|
|
2627
|
-
const css$10 = ".
|
|
2624
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\components\PricePill.module.css.mjs
|
|
2625
|
+
const css$10 = "._2XyK2G_pill{cursor:pointer;align-items:center;gap:6px;display:inline-flex}._2XyK2G_dot{display:inline-flex}._2XyK2G_pillStale ._2XyK2G_label{color:var(--dsw-alias-label-tertiary)}._2XyK2G_label{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);font-variant-numeric:tabular-nums}._2XyK2G_count{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);font-variant-numeric:tabular-nums}._2XyK2G_queueIcon{color:var(--dsw-alias-label-tertiary)}._2XyK2G_badge{background:var(--dsw-alias-state-warn-primary);border-radius:999px;width:6px;height:6px}._2XyK2G_saved{color:var(--dsw-alias-state-success-primary)}";
|
|
2628
2626
|
const tagId$10 = "dsh-lowtide/PricePill.module.css";
|
|
2629
2627
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$10) + "]") === null) {
|
|
2630
2628
|
const tag = document.createElement("style");
|
|
@@ -2634,14 +2632,14 @@ window.__ModuleLoader__.load({
|
|
|
2634
2632
|
document.head.appendChild(tag);
|
|
2635
2633
|
}
|
|
2636
2634
|
var PricePill_module_css_default = {
|
|
2637
|
-
"
|
|
2638
|
-
"
|
|
2639
|
-
"
|
|
2640
|
-
"saved": "
|
|
2641
|
-
"
|
|
2642
|
-
"
|
|
2643
|
-
"dot": "
|
|
2644
|
-
"
|
|
2635
|
+
"badge": "_2XyK2G_badge",
|
|
2636
|
+
"count": "_2XyK2G_count",
|
|
2637
|
+
"label": "_2XyK2G_label",
|
|
2638
|
+
"saved": "_2XyK2G_saved",
|
|
2639
|
+
"pillStale": "_2XyK2G_pillStale",
|
|
2640
|
+
"pill": "_2XyK2G_pill",
|
|
2641
|
+
"dot": "_2XyK2G_dot",
|
|
2642
|
+
"queueIcon": "_2XyK2G_queueIcon"
|
|
2645
2643
|
};
|
|
2646
2644
|
//#endregion
|
|
2647
2645
|
//#region client/components/PricePill.tsx
|
|
@@ -2650,7 +2648,7 @@ window.__ModuleLoader__.load({
|
|
|
2650
2648
|
* status dot · one-line state (闲时/忙时/执行中) · queue count badge.
|
|
2651
2649
|
*
|
|
2652
2650
|
* v3.1: the price number is gone from the pill — a static "¥1.5/M" reads as
|
|
2653
|
-
* noise, not an action signal; pricing belongs to the
|
|
2651
|
+
* noise, not an action signal; pricing belongs to the peak prompt where
|
|
2654
2652
|
* the decision happens. The tooltip keeps the full price detail.
|
|
2655
2653
|
* (The "starts at" countdown was removed — no action value for the user.)
|
|
2656
2654
|
* Click toggles the queue dock. All copy rides the `t` seat (i18n).
|
|
@@ -2755,85 +2753,8 @@ window.__ModuleLoader__.load({
|
|
|
2755
2753
|
})] });
|
|
2756
2754
|
}
|
|
2757
2755
|
//#endregion
|
|
2758
|
-
//#region client
|
|
2759
|
-
|
|
2760
|
-
* Intercept draft bridge (Phase D: hook facade over the pure selector state).
|
|
2761
|
-
*
|
|
2762
|
-
* The `conversation.composer` chain re-runs its `select` whenever the owner
|
|
2763
|
-
* re-renders — i.e. on every input-store change (keystrokes) and session
|
|
2764
|
-
* changes, but NOT on plugin-store updates. The interception therefore keys
|
|
2765
|
-
* off the LIVE DRAFT (PLAN §6.2: "composer 有内容"):
|
|
2766
|
-
* - an empty draft never claims the composer, so the native bar and the
|
|
2767
|
-
* queue dock stay visible during busy hours;
|
|
2768
|
-
* - the moment the user types, the owner re-renders, `select` reads the
|
|
2769
|
-
* tracked draft and the intercept card takes over with the draft intact;
|
|
2770
|
-
* - the per-message ✕ exemption sets a session flag; the handler then
|
|
2771
|
-
* toggles the draft (append + restore, one batched render) to force the
|
|
2772
|
-
* owner re-render, which re-runs the selectors and returns the native
|
|
2773
|
-
* composer immediately. Clearing the draft re-arms interception.
|
|
2774
|
-
*
|
|
2775
|
-
* Constraint: `selectIntercept` is a PURE selector run by the host chain
|
|
2776
|
-
* machinery — it cannot use hooks. So the draft + exemption state lives in
|
|
2777
|
-
* module scope, and only the WRITE side is wrapped in a hook.
|
|
2778
|
-
*/
|
|
2779
|
-
const INTERCEPT_DISMISS_KEY = "dsh-lowtide:intercept-session-dismissed";
|
|
2780
|
-
/**
|
|
2781
|
-
* Read the live composer draft from whichever seat the slot hands us.
|
|
2782
|
-
*
|
|
2783
|
-
* Two shapes exist across the host generations this plugin supports:
|
|
2784
|
-
* - the `conversation.input.dock` / `conversation.composer` owner props carry
|
|
2785
|
-
* `input: InputState` directly;
|
|
2786
|
-
* - the standard `useInput` selector hook is generated for the slot by
|
|
2787
|
-
* `standardHookPropName` from the owner's declared `hooks: ['input']`.
|
|
2788
|
-
*
|
|
2789
|
-
* The hook is called UNCONDITIONALLY when present: React requires a stable hook
|
|
2790
|
-
* order, so branching around a hook call between renders would throw. The
|
|
2791
|
-
* fallback only decides which VALUE wins, never whether the hook runs.
|
|
2792
|
-
*/
|
|
2793
|
-
function readDraftFromProps(props) {
|
|
2794
|
-
const owned = props.input?.draft;
|
|
2795
|
-
const fromHook = typeof props.useInput === "function" ? props.useInput((input) => input?.draft) : void 0;
|
|
2796
|
-
if (typeof owned === "string") return owned;
|
|
2797
|
-
return typeof fromHook === "string" ? fromHook : "";
|
|
2798
|
-
}
|
|
2799
|
-
let currentDraft = "";
|
|
2800
|
-
/** Sync the live draft into the module state (QueueDock stays mounted inside
|
|
2801
|
-
* the overlay-kept fallback, so it keeps tracking while the card is up).
|
|
2802
|
-
* An emptied draft re-arms interception for the next message. */
|
|
2803
|
-
function useInterceptDraftTracking(draft) {
|
|
2804
|
-
(0, react.useEffect)(() => {
|
|
2805
|
-
if (draft === currentDraft) return;
|
|
2806
|
-
currentDraft = draft;
|
|
2807
|
-
if (draft.trim() === "") clearInterceptSessionDismissal();
|
|
2808
|
-
}, [draft]);
|
|
2809
|
-
}
|
|
2810
|
-
/** Pure read for the chain selector. */
|
|
2811
|
-
function readInterceptDraft() {
|
|
2812
|
-
return currentDraft;
|
|
2813
|
-
}
|
|
2814
|
-
/** ✕ exemption: this message will not be intercepted again this session. */
|
|
2815
|
-
function dismissInterceptSession() {
|
|
2816
|
-
try {
|
|
2817
|
-
sessionStorage.setItem(INTERCEPT_DISMISS_KEY, "1");
|
|
2818
|
-
} catch {}
|
|
2819
|
-
}
|
|
2820
|
-
/** Clear the per-session exemption (new message = re-arm). */
|
|
2821
|
-
function clearInterceptSessionDismissal() {
|
|
2822
|
-
try {
|
|
2823
|
-
sessionStorage.removeItem(INTERCEPT_DISMISS_KEY);
|
|
2824
|
-
} catch {}
|
|
2825
|
-
}
|
|
2826
|
-
/** Pure read for the chain selector. */
|
|
2827
|
-
function isInterceptSessionDismissed() {
|
|
2828
|
-
try {
|
|
2829
|
-
return sessionStorage.getItem(INTERCEPT_DISMISS_KEY) === "1";
|
|
2830
|
-
} catch {
|
|
2831
|
-
return false;
|
|
2832
|
-
}
|
|
2833
|
-
}
|
|
2834
|
-
//#endregion
|
|
2835
|
-
//#region \0dsh-css:C:\Users\胡克劳\lowtide\work\dsh-lowtide-0.2.2\packages\dsh-lowtide\client\components\TaskForm.module.css.mjs
|
|
2836
|
-
const css$9 = ".kjcGda_modal{flex-direction:column;gap:10px;display:flex}.kjcGda_compact{flex-direction:column;gap:8px;display:flex}.kjcGda_prompt{box-sizing:border-box;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-base-16);resize:vertical;border-radius:8px;outline:none;padding:8px 12px}.kjcGda_prompt:focus{border-color:var(--dsw-alias-brand-primary)}.kjcGda_guidanceInput{box-sizing:border-box;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);resize:vertical;border-radius:8px;outline:none;padding:6px 10px}.kjcGda_guidanceInput:focus{border-color:var(--dsw-alias-brand-primary)}.kjcGda_field{flex-direction:column;gap:4px;display:flex}.kjcGda_fieldLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13)}.kjcGda_fieldInput{box-sizing:border-box;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);width:100%;height:32px;color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code);border-radius:8px;outline:none;padding:0 8px;font-size:12px}.kjcGda_fieldInput:focus{border-color:var(--dsw-alias-brand-primary)}.kjcGda_compactRow{align-items:center;gap:8px;display:flex}.kjcGda_compactLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);white-space:nowrap}.kjcGda_compactInput{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);height:28px;color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code);border-radius:6px;outline:none;flex:1;padding:0 8px;font-size:12px}.kjcGda_compactInput:focus{border-color:var(--dsw-alias-brand-primary)}.kjcGda_warning{color:var(--dsw-alias-state-warn-primary);font:var(--dsw-font-xxs-12);align-items:center;gap:4px;display:inline-flex}.kjcGda_warningIcon{color:var(--dsw-alias-state-warn-primary)}.kjcGda_pillRow{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.kjcGda_autonomyBtn{display:inline-flex}.kjcGda_sessionPickRow{flex-direction:column;gap:6px;display:flex}.kjcGda_strategyPill{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);cursor:pointer;user-select:none;border-radius:999px;align-items:center;gap:4px;padding:4px 12px;display:inline-flex}.kjcGda_strategyPill:hover{background:var(--dsw-alias-interactive-bg-hover)}.kjcGda_strategyActive{border-color:var(--dsw-alias-brand-primary);color:var(--dsw-alias-brand-primary);font-weight:600}.kjcGda_costTag{color:var(--dsw-alias-label-tertiary);margin-left:2px;font-size:10px;font-weight:400}.kjcGda_strategyHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);line-height:1.5}.kjcGda_advancedBtn{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);cursor:pointer;background:0 0;border-radius:8px;align-self:flex-start;align-items:center;gap:6px;padding:5px 12px;display:inline-flex}.kjcGda_advancedBtn:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.kjcGda_advancedBody{flex-direction:column;gap:12px;display:flex}.kjcGda_advancedIcon{vertical-align:-2px;color:var(--dsw-alias-label-tertiary);margin-right:5px}.kjcGda_modelFallbackRow{grid-template-columns:1fr 1fr;gap:8px;display:grid}";
|
|
2756
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\components\TaskForm.module.css.mjs
|
|
2757
|
+
const css$9 = ".DdBjoG_modal{flex-direction:column;gap:10px;display:flex}.DdBjoG_compact{flex-direction:column;gap:8px;display:flex}.DdBjoG_prompt{box-sizing:border-box;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-base-16);resize:vertical;border-radius:8px;outline:none;padding:8px 12px}.DdBjoG_prompt:focus{border-color:var(--dsw-alias-brand-primary)}.DdBjoG_guidanceInput{box-sizing:border-box;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);resize:vertical;border-radius:8px;outline:none;padding:6px 10px}.DdBjoG_guidanceInput:focus{border-color:var(--dsw-alias-brand-primary)}.DdBjoG_field{flex-direction:column;gap:4px;display:flex}.DdBjoG_fieldLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13)}.DdBjoG_fieldInput{box-sizing:border-box;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);width:100%;height:32px;color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code);border-radius:8px;outline:none;padding:0 8px;font-size:12px}.DdBjoG_fieldInput:focus{border-color:var(--dsw-alias-brand-primary)}.DdBjoG_compactRow{align-items:center;gap:8px;display:flex}.DdBjoG_compactLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);white-space:nowrap}.DdBjoG_compactInput{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);height:28px;color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code);border-radius:6px;outline:none;flex:1;padding:0 8px;font-size:12px}.DdBjoG_compactInput:focus{border-color:var(--dsw-alias-brand-primary)}.DdBjoG_warning{color:var(--dsw-alias-state-warn-primary);font:var(--dsw-font-xxs-12);align-items:center;gap:4px;display:inline-flex}.DdBjoG_warningIcon{color:var(--dsw-alias-state-warn-primary)}.DdBjoG_pillRow{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.DdBjoG_autonomyBtn{display:inline-flex}.DdBjoG_sessionPickRow{flex-direction:column;gap:6px;display:flex}.DdBjoG_strategyPill{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);cursor:pointer;user-select:none;border-radius:999px;align-items:center;gap:4px;padding:4px 12px;display:inline-flex}.DdBjoG_strategyPill:hover{background:var(--dsw-alias-interactive-bg-hover)}.DdBjoG_strategyActive{border-color:var(--dsw-alias-brand-primary);color:var(--dsw-alias-brand-primary);font-weight:600}.DdBjoG_costTag{color:var(--dsw-alias-label-tertiary);margin-left:2px;font-size:10px;font-weight:400}.DdBjoG_strategyHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);line-height:1.5}.DdBjoG_advancedBtn{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);cursor:pointer;background:0 0;border-radius:8px;align-self:flex-start;align-items:center;gap:6px;padding:5px 12px;display:inline-flex}.DdBjoG_advancedBtn:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.DdBjoG_advancedBody{flex-direction:column;gap:12px;display:flex}.DdBjoG_advancedIcon{vertical-align:-2px;color:var(--dsw-alias-label-tertiary);margin-right:5px}.DdBjoG_modelFallbackRow{grid-template-columns:1fr 1fr;gap:8px;display:grid}";
|
|
2837
2758
|
const tagId$9 = "dsh-lowtide/TaskForm.module.css";
|
|
2838
2759
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$9) + "]") === null) {
|
|
2839
2760
|
const tag = document.createElement("style");
|
|
@@ -2843,29 +2764,29 @@ window.__ModuleLoader__.load({
|
|
|
2843
2764
|
document.head.appendChild(tag);
|
|
2844
2765
|
}
|
|
2845
2766
|
var TaskForm_module_css_default = {
|
|
2846
|
-
"
|
|
2847
|
-
"
|
|
2848
|
-
"
|
|
2849
|
-
"
|
|
2850
|
-
"modal": "
|
|
2851
|
-
"
|
|
2852
|
-
"
|
|
2853
|
-
"
|
|
2854
|
-
"
|
|
2855
|
-
"
|
|
2856
|
-
"
|
|
2857
|
-
"
|
|
2858
|
-
"
|
|
2859
|
-
"
|
|
2860
|
-
"
|
|
2861
|
-
"
|
|
2862
|
-
"
|
|
2863
|
-
"
|
|
2864
|
-
"
|
|
2865
|
-
"
|
|
2866
|
-
"
|
|
2867
|
-
"
|
|
2868
|
-
"
|
|
2767
|
+
"strategyHint": "DdBjoG_strategyHint",
|
|
2768
|
+
"modelFallbackRow": "DdBjoG_modelFallbackRow",
|
|
2769
|
+
"fieldInput": "DdBjoG_fieldInput",
|
|
2770
|
+
"compact": "DdBjoG_compact",
|
|
2771
|
+
"modal": "DdBjoG_modal",
|
|
2772
|
+
"compactRow": "DdBjoG_compactRow",
|
|
2773
|
+
"warningIcon": "DdBjoG_warningIcon",
|
|
2774
|
+
"costTag": "DdBjoG_costTag",
|
|
2775
|
+
"autonomyBtn": "DdBjoG_autonomyBtn",
|
|
2776
|
+
"compactInput": "DdBjoG_compactInput",
|
|
2777
|
+
"strategyActive": "DdBjoG_strategyActive",
|
|
2778
|
+
"advancedBody": "DdBjoG_advancedBody",
|
|
2779
|
+
"pillRow": "DdBjoG_pillRow",
|
|
2780
|
+
"guidanceInput": "DdBjoG_guidanceInput",
|
|
2781
|
+
"strategyPill": "DdBjoG_strategyPill",
|
|
2782
|
+
"advancedBtn": "DdBjoG_advancedBtn",
|
|
2783
|
+
"field": "DdBjoG_field",
|
|
2784
|
+
"prompt": "DdBjoG_prompt",
|
|
2785
|
+
"warning": "DdBjoG_warning",
|
|
2786
|
+
"advancedIcon": "DdBjoG_advancedIcon",
|
|
2787
|
+
"fieldLabel": "DdBjoG_fieldLabel",
|
|
2788
|
+
"compactLabel": "DdBjoG_compactLabel",
|
|
2789
|
+
"sessionPickRow": "DdBjoG_sessionPickRow"
|
|
2869
2790
|
};
|
|
2870
2791
|
//#endregion
|
|
2871
2792
|
//#region client/components/TaskForm.tsx
|
|
@@ -2960,34 +2881,24 @@ window.__ModuleLoader__.load({
|
|
|
2960
2881
|
const { t, variant, values, onChange } = props;
|
|
2961
2882
|
if (variant === "intercept") return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2962
2883
|
className: TaskForm_module_css_default.compact,
|
|
2963
|
-
children: [
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
})]
|
|
2982
|
-
}),
|
|
2983
|
-
values.workspace.trim() === "" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2984
|
-
className: TaskForm_module_css_default.warning,
|
|
2985
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Icon, {
|
|
2986
|
-
name: "IconWarningOutline16",
|
|
2987
|
-
className: TaskForm_module_css_default.warningIcon
|
|
2988
|
-
}), t("intercept.workspaceWarning")]
|
|
2989
|
-
})
|
|
2990
|
-
]
|
|
2884
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2885
|
+
className: TaskForm_module_css_default.compactRow,
|
|
2886
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2887
|
+
className: TaskForm_module_css_default.compactLabel,
|
|
2888
|
+
children: t("intercept.workspaceLabel")
|
|
2889
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
2890
|
+
className: TaskForm_module_css_default.compactInput,
|
|
2891
|
+
value: values.workspace,
|
|
2892
|
+
onChange: (e) => onChange({ workspace: e.target.value }),
|
|
2893
|
+
placeholder: t("intercept.workspacePlaceholder")
|
|
2894
|
+
})]
|
|
2895
|
+
}), values.workspace.trim() === "" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2896
|
+
className: TaskForm_module_css_default.warning,
|
|
2897
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Icon, {
|
|
2898
|
+
name: "IconWarningOutline16",
|
|
2899
|
+
className: TaskForm_module_css_default.warningIcon
|
|
2900
|
+
}), t("intercept.workspaceWarning")]
|
|
2901
|
+
})]
|
|
2991
2902
|
});
|
|
2992
2903
|
const strategy = values.strategy;
|
|
2993
2904
|
const showRounds = strategy === "iterative" || strategy === "sampling";
|
|
@@ -3422,8 +3333,8 @@ window.__ModuleLoader__.load({
|
|
|
3422
3333
|
});
|
|
3423
3334
|
}
|
|
3424
3335
|
//#endregion
|
|
3425
|
-
//#region \0dsh-css:
|
|
3426
|
-
const css$8 = ".
|
|
3336
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\components\InterceptCard.module.css.mjs
|
|
3337
|
+
const css$8 = "._0rGGXG_card{background:var(--dsw-specific-input-major);border:1px solid var(--dsw-alias-border-l2-darkmode-thin);border-radius:12px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}._0rGGXG_header{justify-content:space-between;align-items:center;gap:8px;display:flex}._0rGGXG_title{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-strong-14);align-items:center;gap:6px;display:inline-flex}._0rGGXG_dot{display:inline-flex}._0rGGXG_close{width:28px;height:28px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}._0rGGXG_close:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}._0rGGXG_compare{flex-wrap:wrap;gap:16px;display:flex}._0rGGXG_priceLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12)}._0rGGXG_row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}._0rGGXG_dismiss{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:pointer;white-space:nowrap;background:0 0;border:none;margin-left:auto;padding:0 4px}._0rGGXG_dismiss:hover{color:var(--dsw-alias-label-secondary)}._0rGGXG_queueStatus{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);align-items:center;gap:4px;display:inline-flex}._0rGGXG_queueIcon{color:var(--dsw-alias-label-tertiary)}";
|
|
3427
3338
|
const tagId$8 = "dsh-lowtide/InterceptCard.module.css";
|
|
3428
3339
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$8) + "]") === null) {
|
|
3429
3340
|
const tag = document.createElement("style");
|
|
@@ -3433,75 +3344,44 @@ window.__ModuleLoader__.load({
|
|
|
3433
3344
|
document.head.appendChild(tag);
|
|
3434
3345
|
}
|
|
3435
3346
|
var InterceptCard_module_css_default = {
|
|
3436
|
-
"close": "
|
|
3437
|
-
"
|
|
3438
|
-
"
|
|
3439
|
-
"
|
|
3440
|
-
"
|
|
3441
|
-
"
|
|
3442
|
-
"
|
|
3443
|
-
"
|
|
3444
|
-
"
|
|
3445
|
-
"
|
|
3446
|
-
"
|
|
3347
|
+
"close": "_0rGGXG_close",
|
|
3348
|
+
"queueStatus": "_0rGGXG_queueStatus",
|
|
3349
|
+
"header": "_0rGGXG_header",
|
|
3350
|
+
"dot": "_0rGGXG_dot",
|
|
3351
|
+
"queueIcon": "_0rGGXG_queueIcon",
|
|
3352
|
+
"title": "_0rGGXG_title",
|
|
3353
|
+
"priceLabel": "_0rGGXG_priceLabel",
|
|
3354
|
+
"dismiss": "_0rGGXG_dismiss",
|
|
3355
|
+
"card": "_0rGGXG_card",
|
|
3356
|
+
"compare": "_0rGGXG_compare",
|
|
3357
|
+
"row": "_0rGGXG_row"
|
|
3447
3358
|
};
|
|
3448
3359
|
//#endregion
|
|
3449
3360
|
//#region client/components/InterceptCard.tsx
|
|
3450
3361
|
/**
|
|
3451
|
-
*
|
|
3452
|
-
*
|
|
3453
|
-
*
|
|
3454
|
-
* session exists ∧ the draft is non-empty. Carries its OWN input surface
|
|
3455
|
-
* (the native bar stays mounted but hidden — draft preserved) via the shared
|
|
3456
|
-
* TaskForm (intercept variant). Decision set ≤3: [现在就跑] sends the draft,
|
|
3457
|
-
* [投递到闲时队列] queues it for off-peak, [今日不再提醒] dismisses for the
|
|
3458
|
-
* day, ✕ exempts this message.
|
|
3459
|
-
*
|
|
3460
|
-
* The workspace is explicit: an empty one falls back to the last used path,
|
|
3461
|
-
* and the warning tells the user the server default directory will be used —
|
|
3462
|
-
* a task must never silently run in the server's cwd (review B8).
|
|
3463
|
-
*
|
|
3464
|
-
* Dismissal mechanics (hooks/useInterceptDraft.ts): the chain re-runs
|
|
3465
|
-
* selectors only on owner re-renders, so ✕ sets the session flag and toggles
|
|
3466
|
-
* the draft once (append + restore, batched into one render) to force the
|
|
3467
|
-
* native composer back with the draft intact.
|
|
3468
|
-
*/
|
|
3469
|
-
/**
|
|
3470
|
-
* Pure chain routing: priced window ∧ not dismissed ∧ session present ∧
|
|
3471
|
-
* draft non-empty. The draft condition keeps the native bar (and the queue
|
|
3472
|
-
* dock) visible until the user actually starts typing (PLAN §6.2).
|
|
3473
|
-
*
|
|
3474
|
-
* v0.2.2: the tier comes from the local clock (`store.tier`), so a stalled
|
|
3475
|
-
* push stream can neither hide nor freeze the intercept card at a boundary.
|
|
3362
|
+
* Busy-hour prompt in the input dock. The native composer remains resident
|
|
3363
|
+
* and is the only text editor; this card offers explicit run/queue actions.
|
|
3364
|
+
* It appears for peak or custom >1x windows while the live draft is non-empty.
|
|
3476
3365
|
*/
|
|
3477
|
-
function selectIntercept(owner) {
|
|
3478
|
-
const snapshot = lowtideStore.getSnapshot();
|
|
3479
|
-
const host = snapshot.host;
|
|
3480
|
-
if (host === null) return null;
|
|
3481
|
-
const tier = snapshot.tierAt > 0 ? snapshot.tier : null;
|
|
3482
|
-
const level = tier?.level ?? host.price.tier;
|
|
3483
|
-
const multiplier = tier?.multiplier ?? host.price.multiplier;
|
|
3484
|
-
if (!(level === "peak" || level === "custom" && multiplier > 1)) return null;
|
|
3485
|
-
if (host.dismissedPeakToday) return null;
|
|
3486
|
-
if (readInterceptDraft().trim() === "") return null;
|
|
3487
|
-
if (isInterceptSessionDismissed()) return null;
|
|
3488
|
-
if (owner.session === void 0) return null;
|
|
3489
|
-
return { kind: "lt-intercept" };
|
|
3490
|
-
}
|
|
3491
3366
|
function InterceptCard(props) {
|
|
3492
3367
|
const { t } = props;
|
|
3493
|
-
const draft =
|
|
3368
|
+
const draft = props.useInput((input) => input.draft);
|
|
3494
3369
|
const host = useLowtide((s) => s.host);
|
|
3495
3370
|
const tier = useLowtide((s) => s.tier);
|
|
3496
3371
|
const tierAt = useLowtide((s) => s.tierAt);
|
|
3497
3372
|
const [workspace, setWorkspace] = (0, react.useState)(() => lastWorkspace());
|
|
3498
3373
|
const [submitting, setSubmitting] = (0, react.useState)(false);
|
|
3374
|
+
const [dismissed, setDismissed] = (0, react.useState)(false);
|
|
3499
3375
|
const [estimateResult, setEstimateResult] = (0, react.useState)(null);
|
|
3376
|
+
(0, react.useEffect)(() => {
|
|
3377
|
+
if (draft.trim() === "") setDismissed(false);
|
|
3378
|
+
}, [draft]);
|
|
3500
3379
|
const shownLevel = tierAt > 0 ? tier.level : host?.price.tier ?? "off";
|
|
3501
3380
|
const shownMultiplier = tierAt > 0 ? tier.multiplier : host?.price.multiplier ?? 1;
|
|
3502
3381
|
const shownWindow = tierAt > 0 ? tier.window : host?.level?.window ?? null;
|
|
3503
3382
|
const peakWindow = shownWindow !== null ? `${shownWindow.start}–${shownWindow.end}` : "";
|
|
3504
3383
|
const customMultiplier = shownLevel === "custom" ? shownMultiplier : null;
|
|
3384
|
+
const priced = shownLevel === "peak" || shownLevel === "custom" && shownMultiplier > 1;
|
|
3505
3385
|
const tierText = customMultiplier !== null && customMultiplier > 1 ? t("intercept.tierCustom", { multiplier: customMultiplier }) : t("intercept.tierPeak");
|
|
3506
3386
|
const formValues = {
|
|
3507
3387
|
prompt: draft,
|
|
@@ -3539,14 +3419,8 @@ window.__ModuleLoader__.load({
|
|
|
3539
3419
|
formValues.model
|
|
3540
3420
|
]);
|
|
3541
3421
|
function onFormChange(patch) {
|
|
3542
|
-
if (patch.prompt !== void 0) props.inputActions.setDraft(patch.prompt);
|
|
3543
3422
|
if (patch.workspace !== void 0) setWorkspace(patch.workspace);
|
|
3544
3423
|
}
|
|
3545
|
-
function closeAndKeepDraft() {
|
|
3546
|
-
dismissInterceptSession();
|
|
3547
|
-
props.inputActions.setDraft(draft + " ");
|
|
3548
|
-
props.inputActions.setDraft(draft);
|
|
3549
|
-
}
|
|
3550
3424
|
async function queueTonight() {
|
|
3551
3425
|
if (draft.trim() === "") return;
|
|
3552
3426
|
setSubmitting(true);
|
|
@@ -3569,16 +3443,15 @@ window.__ModuleLoader__.load({
|
|
|
3569
3443
|
} else showToast(t("toast.submitFailed", { error: result.error ?? "unknown" }));
|
|
3570
3444
|
}
|
|
3571
3445
|
function dismiss() {
|
|
3572
|
-
dismissPeakToday().then(() => refreshNow())
|
|
3573
|
-
props.inputActions.setDraft(draft + " ");
|
|
3574
|
-
props.inputActions.setDraft(draft);
|
|
3575
|
-
});
|
|
3446
|
+
dismissPeakToday().then(() => refreshNow());
|
|
3576
3447
|
}
|
|
3577
|
-
|
|
3448
|
+
if (host === null || !priced || host.dismissedPeakToday || draft.trim() === "" || dismissed) return null;
|
|
3449
|
+
const priceKnown = host.price.priceKnown;
|
|
3578
3450
|
const peakLabel = estimateResult !== null && priceKnown ? `¥${estimateResult.peak.toFixed(2)}` : priceKnown ? t("intercept.priceNowPeak") : t("intercept.priceUnknown");
|
|
3579
3451
|
const offLabel = estimateResult !== null && priceKnown ? `¥${estimateResult.off.toFixed(2)}` : priceKnown ? t("intercept.priceTonight") : t("intercept.priceUnknown");
|
|
3580
3452
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
3581
3453
|
className: InterceptCard_module_css_default.card,
|
|
3454
|
+
"data-lowtide-peak-prompt": true,
|
|
3582
3455
|
children: [
|
|
3583
3456
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
3584
3457
|
className: InterceptCard_module_css_default.header,
|
|
@@ -3595,7 +3468,7 @@ window.__ModuleLoader__.load({
|
|
|
3595
3468
|
type: "button",
|
|
3596
3469
|
className: InterceptCard_module_css_default.close,
|
|
3597
3470
|
title: t("intercept.closeTitle"),
|
|
3598
|
-
onClick:
|
|
3471
|
+
onClick: () => setDismissed(true),
|
|
3599
3472
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Icon, { name: "IconCloseOutline16" })
|
|
3600
3473
|
})]
|
|
3601
3474
|
}),
|
|
@@ -3628,7 +3501,7 @@ window.__ModuleLoader__.load({
|
|
|
3628
3501
|
})
|
|
3629
3502
|
]
|
|
3630
3503
|
}),
|
|
3631
|
-
|
|
3504
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
3632
3505
|
className: InterceptCard_module_css_default.queueStatus,
|
|
3633
3506
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Icon, {
|
|
3634
3507
|
name: "IconQueueOutline14",
|
|
@@ -3650,7 +3523,7 @@ window.__ModuleLoader__.load({
|
|
|
3650
3523
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
3651
3524
|
variant: "primary",
|
|
3652
3525
|
size: "md",
|
|
3653
|
-
disabled: submitting
|
|
3526
|
+
disabled: submitting,
|
|
3654
3527
|
onClick: () => void queueTonight(),
|
|
3655
3528
|
children: t("intercept.enqueue")
|
|
3656
3529
|
}),
|
|
@@ -3692,8 +3565,8 @@ window.__ModuleLoader__.load({
|
|
|
3692
3565
|
return "";
|
|
3693
3566
|
}
|
|
3694
3567
|
//#endregion
|
|
3695
|
-
//#region \0dsh-css:
|
|
3696
|
-
const css$7 = "
|
|
3568
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\components\TaskRow.module.css.mjs
|
|
3569
|
+
const css$7 = ".-YJcPW_taskRow{border-left:2px solid #0000;border-radius:8px;align-items:center;gap:8px;min-height:36px;padding:4px 5px 4px 12px;display:flex}.-YJcPW_taskRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.-YJcPW_amber{border-left-color:var(--dsw-alias-state-warn-primary)}.-YJcPW_green{border-left-color:var(--dsw-alias-state-success-primary)}.-YJcPW_blue{border-left-color:var(--dsw-alias-state-business-primary)}.-YJcPW_red{border-left-color:var(--dsw-alias-state-error-primary)}.-YJcPW_taskMain{cursor:pointer;flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.-YJcPW_taskMain:hover .-YJcPW_taskPrompt{color:var(--dsw-alias-brand-primary)}.-YJcPW_taskPrompt{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-14);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.-YJcPW_taskMeta{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.-YJcPW_rowActions{gap:2px;display:flex}.-YJcPW_iconBtn{width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:999px;font-size:13px}.-YJcPW_iconBtn:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.-YJcPW_iconBtn:disabled{opacity:.4;cursor:not-allowed}.-YJcPW_iconBtn:disabled:hover{color:var(--dsw-alias-label-secondary);background:0 0}.-YJcPW_confirming{color:var(--dsw-alias-state-error-primary);background:var(--dsw-alias-interactive-bg-hover);font-weight:600}.-YJcPW_confirming:hover{color:var(--dsw-alias-state-error-primary)}.-YJcPW_droppedRow{opacity:.75}.-YJcPW_droppedRow:hover{opacity:1}";
|
|
3697
3570
|
const tagId$7 = "dsh-lowtide/TaskRow.module.css";
|
|
3698
3571
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$7) + "]") === null) {
|
|
3699
3572
|
const tag = document.createElement("style");
|
|
@@ -3703,18 +3576,18 @@ window.__ModuleLoader__.load({
|
|
|
3703
3576
|
document.head.appendChild(tag);
|
|
3704
3577
|
}
|
|
3705
3578
|
var TaskRow_module_css_default = {
|
|
3706
|
-
"
|
|
3707
|
-
"
|
|
3708
|
-
"
|
|
3709
|
-
"
|
|
3710
|
-
"
|
|
3711
|
-
"
|
|
3712
|
-
"
|
|
3713
|
-
"
|
|
3714
|
-
"
|
|
3715
|
-
"
|
|
3716
|
-
"
|
|
3717
|
-
"
|
|
3579
|
+
"blue": "-YJcPW_blue",
|
|
3580
|
+
"confirming": "-YJcPW_confirming",
|
|
3581
|
+
"taskPrompt": "-YJcPW_taskPrompt",
|
|
3582
|
+
"iconBtn": "-YJcPW_iconBtn",
|
|
3583
|
+
"taskMain": "-YJcPW_taskMain",
|
|
3584
|
+
"taskRow": "-YJcPW_taskRow",
|
|
3585
|
+
"rowActions": "-YJcPW_rowActions",
|
|
3586
|
+
"amber": "-YJcPW_amber",
|
|
3587
|
+
"red": "-YJcPW_red",
|
|
3588
|
+
"green": "-YJcPW_green",
|
|
3589
|
+
"droppedRow": "-YJcPW_droppedRow",
|
|
3590
|
+
"taskMeta": "-YJcPW_taskMeta"
|
|
3718
3591
|
};
|
|
3719
3592
|
//#endregion
|
|
3720
3593
|
//#region client/components/TaskRow.tsx
|
|
@@ -3887,8 +3760,8 @@ window.__ModuleLoader__.load({
|
|
|
3887
3760
|
});
|
|
3888
3761
|
}
|
|
3889
3762
|
//#endregion
|
|
3890
|
-
//#region \0dsh-css:
|
|
3891
|
-
const css$6 = ".
|
|
3763
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\components\CandidatesView.module.css.mjs
|
|
3764
|
+
const css$6 = ".tg-j2q_wrap{flex-direction:column;gap:4px;margin-top:4px;display:flex}.tg-j2q_toggle{color:var(--dsw-alias-brand-primary);font:var(--dsw-font-xxs-strong-12);cursor:pointer;background:0 0;border:none;border-radius:6px;align-self:flex-start;align-items:center;gap:4px;padding:2px 4px;display:inline-flex}.tg-j2q_toggle:hover{background:var(--dsw-alias-interactive-bg-hover)}.tg-j2q_candidate{border:1px solid var(--dsw-alias-border-l1);border-radius:8px;flex-direction:column;gap:3px;padding:6px 8px;display:flex}.tg-j2q_picked{border-color:var(--dsw-alias-state-success-primary);background:var(--dsw-alias-interactive-bg-hover)}.tg-j2q_head{align-items:center;gap:8px;display:flex}.tg-j2q_title{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-strong-13)}.tg-j2q_pickedTag{color:var(--dsw-alias-state-success-primary);font:var(--dsw-font-xxs-12);margin-left:6px}.tg-j2q_meta{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);font-variant-numeric:tabular-nums;margin-left:auto}.tg-j2q_excerpt{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);white-space:pre-wrap;word-break:break-word;max-height:160px;line-height:1.6;overflow-y:auto}";
|
|
3892
3765
|
const tagId$6 = "dsh-lowtide/CandidatesView.module.css";
|
|
3893
3766
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$6) + "]") === null) {
|
|
3894
3767
|
const tag = document.createElement("style");
|
|
@@ -3898,15 +3771,15 @@ window.__ModuleLoader__.load({
|
|
|
3898
3771
|
document.head.appendChild(tag);
|
|
3899
3772
|
}
|
|
3900
3773
|
var CandidatesView_module_css_default = {
|
|
3901
|
-
"
|
|
3902
|
-
"
|
|
3903
|
-
"pickedTag": "
|
|
3904
|
-
"
|
|
3905
|
-
"
|
|
3906
|
-
"meta": "
|
|
3907
|
-
"
|
|
3908
|
-
"
|
|
3909
|
-
"
|
|
3774
|
+
"picked": "tg-j2q_picked",
|
|
3775
|
+
"candidate": "tg-j2q_candidate",
|
|
3776
|
+
"pickedTag": "tg-j2q_pickedTag",
|
|
3777
|
+
"wrap": "tg-j2q_wrap",
|
|
3778
|
+
"head": "tg-j2q_head",
|
|
3779
|
+
"meta": "tg-j2q_meta",
|
|
3780
|
+
"toggle": "tg-j2q_toggle",
|
|
3781
|
+
"title": "tg-j2q_title",
|
|
3782
|
+
"excerpt": "tg-j2q_excerpt"
|
|
3910
3783
|
};
|
|
3911
3784
|
//#endregion
|
|
3912
3785
|
//#region client/components/CandidatesView.tsx
|
|
@@ -3968,8 +3841,8 @@ window.__ModuleLoader__.load({
|
|
|
3968
3841
|
});
|
|
3969
3842
|
}
|
|
3970
3843
|
//#endregion
|
|
3971
|
-
//#region \0dsh-css:
|
|
3972
|
-
const css$5 = ".
|
|
3844
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\components\TaskDetail.module.css.mjs
|
|
3845
|
+
const css$5 = "._91k8VG_modalBody{flex-direction:column;gap:10px;display:flex}._91k8VG_modalFooter{justify-content:flex-end;gap:8px;display:flex}._91k8VG_detailPrompt{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);white-space:pre-wrap;word-break:break-word;border-radius:8px;padding:8px 10px;line-height:1.6}._91k8VG_detailGrid{grid-template-columns:1fr 1fr;gap:6px 12px;display:grid}._91k8VG_detailItem{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12)}._91k8VG_detailValue{color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code);word-break:break-all}._91k8VG_detailSection{flex-direction:column;gap:3px;display:flex}._91k8VG_detailLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12)}._91k8VG_detailFile{color:var(--dsw-alias-label-secondary);font-family:var(--ds-font-family-code);word-break:break-all;font-size:11px}._91k8VG_detailRun{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);font-variant-numeric:tabular-nums}._91k8VG_detailError{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);background:var(--dsw-alias-interactive-bg-hover);word-break:break-word;border-radius:6px;padding:6px 8px}._91k8VG_detailResumed{color:var(--dsw-alias-state-success-primary);font:var(--dsw-font-xxs-12);background:var(--dsw-alias-interactive-bg-hover);word-break:break-word;border-radius:6px;padding:6px 8px}._91k8VG_detailResumeWarn{color:var(--dsw-alias-state-warn-primary);font:var(--dsw-font-xxs-12);background:var(--dsw-alias-interactive-bg-hover);word-break:break-word;border-radius:6px;padding:6px 8px}._91k8VG_detailReview{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13)}._91k8VG_detailReview summary{cursor:pointer;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);user-select:none}._91k8VG_detailReviewBody{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l1);white-space:pre-wrap;word-break:break-word;border-radius:6px;margin-top:4px;padding:6px 8px;line-height:1.6}";
|
|
3973
3846
|
const tagId$5 = "dsh-lowtide/TaskDetail.module.css";
|
|
3974
3847
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$5) + "]") === null) {
|
|
3975
3848
|
const tag = document.createElement("style");
|
|
@@ -3979,21 +3852,21 @@ window.__ModuleLoader__.load({
|
|
|
3979
3852
|
document.head.appendChild(tag);
|
|
3980
3853
|
}
|
|
3981
3854
|
var TaskDetail_module_css_default = {
|
|
3982
|
-
"
|
|
3983
|
-
"
|
|
3984
|
-
"
|
|
3985
|
-
"
|
|
3986
|
-
"
|
|
3987
|
-
"
|
|
3988
|
-
"
|
|
3989
|
-
"
|
|
3990
|
-
"
|
|
3991
|
-
"
|
|
3992
|
-
"
|
|
3993
|
-
"
|
|
3994
|
-
"
|
|
3995
|
-
"
|
|
3996
|
-
"
|
|
3855
|
+
"detailItem": "_91k8VG_detailItem",
|
|
3856
|
+
"detailGrid": "_91k8VG_detailGrid",
|
|
3857
|
+
"modalBody": "_91k8VG_modalBody",
|
|
3858
|
+
"detailFile": "_91k8VG_detailFile",
|
|
3859
|
+
"detailValue": "_91k8VG_detailValue",
|
|
3860
|
+
"detailResumed": "_91k8VG_detailResumed",
|
|
3861
|
+
"detailLabel": "_91k8VG_detailLabel",
|
|
3862
|
+
"detailSection": "_91k8VG_detailSection",
|
|
3863
|
+
"detailPrompt": "_91k8VG_detailPrompt",
|
|
3864
|
+
"detailResumeWarn": "_91k8VG_detailResumeWarn",
|
|
3865
|
+
"detailError": "_91k8VG_detailError",
|
|
3866
|
+
"detailReviewBody": "_91k8VG_detailReviewBody",
|
|
3867
|
+
"detailRun": "_91k8VG_detailRun",
|
|
3868
|
+
"detailReview": "_91k8VG_detailReview",
|
|
3869
|
+
"modalFooter": "_91k8VG_modalFooter"
|
|
3997
3870
|
};
|
|
3998
3871
|
//#endregion
|
|
3999
3872
|
//#region client/components/TaskDetail.tsx
|
|
@@ -4217,8 +4090,8 @@ window.__ModuleLoader__.load({
|
|
|
4217
4090
|
});
|
|
4218
4091
|
}
|
|
4219
4092
|
//#endregion
|
|
4220
|
-
//#region \0dsh-css:
|
|
4221
|
-
const css$4 = ".
|
|
4093
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\components\NewTaskModal.module.css.mjs
|
|
4094
|
+
const css$4 = "._9Hp8oW_wide{width:min(560px,100%)}._9Hp8oW_modalBody{flex-direction:column;gap:10px;display:flex}._9Hp8oW_modalFooter{justify-content:flex-end;gap:8px;display:flex}";
|
|
4222
4095
|
const tagId$4 = "dsh-lowtide/NewTaskModal.module.css";
|
|
4223
4096
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
4224
4097
|
const tag = document.createElement("style");
|
|
@@ -4228,9 +4101,9 @@ window.__ModuleLoader__.load({
|
|
|
4228
4101
|
document.head.appendChild(tag);
|
|
4229
4102
|
}
|
|
4230
4103
|
var NewTaskModal_module_css_default = {
|
|
4231
|
-
"wide": "
|
|
4232
|
-
"modalBody": "
|
|
4233
|
-
"modalFooter": "
|
|
4104
|
+
"wide": "_9Hp8oW_wide",
|
|
4105
|
+
"modalBody": "_9Hp8oW_modalBody",
|
|
4106
|
+
"modalFooter": "_9Hp8oW_modalFooter"
|
|
4234
4107
|
};
|
|
4235
4108
|
//#endregion
|
|
4236
4109
|
//#region client/components/NewTaskModal.tsx
|
|
@@ -4521,8 +4394,8 @@ window.__ModuleLoader__.load({
|
|
|
4521
4394
|
});
|
|
4522
4395
|
}
|
|
4523
4396
|
//#endregion
|
|
4524
|
-
//#region \0dsh-css:
|
|
4525
|
-
const css$3 = ".
|
|
4397
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\components\QueueDock.module.css.mjs
|
|
4398
|
+
const css$3 = ".ihJfeq_dock{flex-direction:column;gap:4px;width:calc(100% - 16px);margin:0 8px -3px;display:flex}.ihJfeq_dockRow{background:var(--dsw-specific-tip);border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;gap:8px;height:36px;padding:4px 12px;display:flex}.ihJfeq_dockTitle{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-s-14);font-variant-numeric:tabular-nums;font-weight:500}.ihJfeq_pending{color:var(--dsw-alias-state-warn-primary);font:var(--dsw-font-xxs-12)}.ihJfeq_dockActions{align-items:center;gap:4px;display:flex}.ihJfeq_reportBtn{align-items:center;gap:4px;display:inline-flex;position:relative}.ihJfeq_reportDot{background:var(--dsw-alias-state-warn-primary);border-radius:999px;width:6px;height:6px;position:absolute;top:-2px;right:-4px}.ihJfeq_sectionHead{justify-content:space-between;align-items:center;gap:8px;display:flex}.ihJfeq_sectionToggle{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-strong-12);cursor:pointer;text-align:left;background:0 0;border:none;flex:1;align-items:center;gap:4px;padding:4px;display:flex}.ihJfeq_sectionToggle:hover{color:var(--dsw-alias-label-primary)}.ihJfeq_clearBtn{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:pointer;background:0 0;border:none;border-radius:999px;flex-shrink:0;padding:3px 8px}.ihJfeq_clearBtn:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.ihJfeq_clearArmed{color:var(--dsw-alias-state-error-primary);background:var(--dsw-alias-interactive-bg-hover);font-weight:600}.ihJfeq_clearArmed:hover{color:var(--dsw-alias-state-error-primary)}.ihJfeq_approveArmed{font-weight:600;color:var(--dsw-alias-state-error-primary)!important;background:var(--dsw-alias-interactive-bg-hover)!important}.ihJfeq_drawer{background:var(--dsw-specific-tip);border-top:none;flex-direction:column;gap:4px;max-height:320px;padding:4px 8px 8px;display:flex;overflow-y:auto}.ihJfeq_group{flex-direction:column;gap:2px;display:flex}.ihJfeq_groupHeader{justify-content:space-between;align-items:center;padding:4px 4px 2px;display:flex}.ihJfeq_groupPath{color:var(--dsw-alias-label-tertiary);font-family:var(--ds-font-family-code);font-size:11px}.ihJfeq_onboarding{box-sizing:border-box;background:var(--dsw-specific-tip);border:1px solid var(--dsw-alias-border-l1);width:calc(100% - 16px);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);border-radius:10px;justify-content:space-between;align-items:center;gap:8px;margin:0 8px;padding:6px 10px;line-height:1.5;display:flex}.ihJfeq_onboarding b{color:var(--dsw-alias-label-primary)}.ihJfeq_onboardingDismiss{background:var(--dsw-alias-brand-primary);color:var(--dsw-alias-label-primary-foreground);font:var(--dsw-font-xxs-12);cursor:pointer;border:none;border-radius:999px;flex-shrink:0;padding:3px 10px}.ihJfeq_onboardingDismiss:hover{opacity:.9}.ihJfeq_footer{border-top:1px solid var(--dsw-alias-border-l1);justify-content:space-between;align-items:center;gap:8px;padding:6px 4px 2px;display:flex}.ihJfeq_footerActions{gap:4px;display:flex}.ihJfeq_empty{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);flex-direction:column;align-items:center;gap:8px;padding:16px 0;display:flex}";
|
|
4526
4399
|
const tagId$3 = "dsh-lowtide/QueueDock.module.css";
|
|
4527
4400
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
|
|
4528
4401
|
const tag = document.createElement("style");
|
|
@@ -4532,27 +4405,27 @@ window.__ModuleLoader__.load({
|
|
|
4532
4405
|
document.head.appendChild(tag);
|
|
4533
4406
|
}
|
|
4534
4407
|
var QueueDock_module_css_default = {
|
|
4535
|
-
"
|
|
4536
|
-
"
|
|
4537
|
-
"
|
|
4538
|
-
"
|
|
4539
|
-
"
|
|
4540
|
-
"
|
|
4541
|
-
"
|
|
4542
|
-
"footerActions": "
|
|
4543
|
-
"
|
|
4544
|
-
"
|
|
4545
|
-
"
|
|
4546
|
-
"
|
|
4547
|
-
"
|
|
4548
|
-
"
|
|
4549
|
-
"
|
|
4550
|
-
"
|
|
4551
|
-
"
|
|
4552
|
-
"groupPath": "
|
|
4553
|
-
"
|
|
4554
|
-
"
|
|
4555
|
-
"
|
|
4408
|
+
"pending": "ihJfeq_pending",
|
|
4409
|
+
"dockRow": "ihJfeq_dockRow",
|
|
4410
|
+
"clearArmed": "ihJfeq_clearArmed",
|
|
4411
|
+
"dockActions": "ihJfeq_dockActions",
|
|
4412
|
+
"footer": "ihJfeq_footer",
|
|
4413
|
+
"onboardingDismiss": "ihJfeq_onboardingDismiss",
|
|
4414
|
+
"drawer": "ihJfeq_drawer",
|
|
4415
|
+
"footerActions": "ihJfeq_footerActions",
|
|
4416
|
+
"empty": "ihJfeq_empty",
|
|
4417
|
+
"dockTitle": "ihJfeq_dockTitle",
|
|
4418
|
+
"reportDot": "ihJfeq_reportDot",
|
|
4419
|
+
"groupHeader": "ihJfeq_groupHeader",
|
|
4420
|
+
"sectionToggle": "ihJfeq_sectionToggle",
|
|
4421
|
+
"onboarding": "ihJfeq_onboarding",
|
|
4422
|
+
"dock": "ihJfeq_dock",
|
|
4423
|
+
"clearBtn": "ihJfeq_clearBtn",
|
|
4424
|
+
"reportBtn": "ihJfeq_reportBtn",
|
|
4425
|
+
"groupPath": "ihJfeq_groupPath",
|
|
4426
|
+
"sectionHead": "ihJfeq_sectionHead",
|
|
4427
|
+
"group": "ihJfeq_group",
|
|
4428
|
+
"approveArmed": "ihJfeq_approveArmed"
|
|
4556
4429
|
};
|
|
4557
4430
|
//#endregion
|
|
4558
4431
|
//#region client/components/QueueDock.tsx
|
|
@@ -4582,7 +4455,6 @@ window.__ModuleLoader__.load({
|
|
|
4582
4455
|
return true;
|
|
4583
4456
|
}
|
|
4584
4457
|
});
|
|
4585
|
-
useInterceptDraftTracking(readDraftFromProps(props));
|
|
4586
4458
|
if (host === null) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
4587
4459
|
className: QueueDock_module_css_default.dock,
|
|
4588
4460
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -4872,8 +4744,8 @@ window.__ModuleLoader__.load({
|
|
|
4872
4744
|
});
|
|
4873
4745
|
}
|
|
4874
4746
|
//#endregion
|
|
4875
|
-
//#region \0dsh-css:
|
|
4876
|
-
const css$2 = ".
|
|
4747
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\components\MorningReport.module.css.mjs
|
|
4748
|
+
const css$2 = ".uatIoq_historyList{flex-direction:column;gap:4px;max-height:360px;display:flex;overflow-y:auto}.uatIoq_historyRow{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.uatIoq_historyRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.uatIoq_historyDate{font-weight:600}.uatIoq_historyMeta{color:var(--dsw-alias-label-tertiary);font-variant-numeric:tabular-nums}.uatIoq_historyEmpty{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);padding:12px}.uatIoq_historyHeader{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);padding:0 10px 2px}.uatIoq_historyRowWrap{border-radius:8px;align-items:center;gap:4px;display:flex}.uatIoq_historyRowWrap:hover{background:var(--dsw-alias-interactive-bg-hover)}.uatIoq_historyRowWrap .uatIoq_historyRow{flex:1;min-width:0}.uatIoq_historyRowWrap .uatIoq_historyRow:hover{background:0 0}.uatIoq_historyDelete{width:24px;height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;opacity:0;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;margin-right:4px;font-size:12px;display:inline-flex}.uatIoq_historyRowWrap:hover .uatIoq_historyDelete{opacity:1}.uatIoq_historyDelete:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-state-error-primary)}.uatIoq_historyFooter{border-top:1px solid var(--dsw-alias-border-l1);justify-content:flex-end;padding-top:6px;display:flex}.uatIoq_clearBtn{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 8px}.uatIoq_clearBtn:hover{color:var(--dsw-alias-state-error-primary);background:var(--dsw-alias-interactive-bg-hover)}.uatIoq_clearArmed{border:1px solid var(--dsw-alias-state-error-primary);color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);cursor:pointer;background:0 0;border-radius:6px;padding:4px 8px;font-weight:600}.uatIoq_body{flex-direction:column;gap:8px;display:flex}.uatIoq_headline{flex-direction:column;align-items:center;gap:2px;display:flex}.uatIoq_headlineLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-s-14)}.uatIoq_headlineValue{color:var(--dsw-alias-state-success-primary);font-family:var(--ds-font-family-code);font-variant-numeric:tabular-nums;font-size:32px;font-weight:700;line-height:40px}.uatIoq_headlineMeta{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);font-variant-numeric:tabular-nums}.uatIoq_divider{background:var(--dsw-alias-border-l1);height:1px}.uatIoq_taskRow{border-left:2px solid #0000;gap:8px;padding:4px 0 4px 8px;display:flex}.uatIoq_doneRow{border-left-color:var(--dsw-alias-state-success-primary)}.uatIoq_badRow{border-left-color:var(--dsw-alias-state-error-primary)}.uatIoq_taskMain{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.uatIoq_taskPrompt{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-14)}.uatIoq_taskMeta{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.uatIoq_more{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);padding-left:8px}.uatIoq_reviewExcerpt{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}.uatIoq_reviewExcerpt summary{cursor:pointer;color:var(--dsw-alias-label-tertiary);user-select:none}.uatIoq_reviewExcerptBody{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l1);white-space:pre-wrap;word-break:break-word;border-radius:6px;margin-top:4px;padding:6px 8px;line-height:1.6}.uatIoq_footer{justify-content:space-between;align-items:center;display:flex}.uatIoq_modalFooter{justify-content:flex-end;display:flex}";
|
|
4877
4749
|
const tagId$2 = "dsh-lowtide/MorningReport.module.css";
|
|
4878
4750
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
4879
4751
|
const tag = document.createElement("style");
|
|
@@ -4883,34 +4755,34 @@ window.__ModuleLoader__.load({
|
|
|
4883
4755
|
document.head.appendChild(tag);
|
|
4884
4756
|
}
|
|
4885
4757
|
var MorningReport_module_css_default = {
|
|
4886
|
-
"
|
|
4887
|
-
"
|
|
4888
|
-
"
|
|
4889
|
-
"
|
|
4890
|
-
"body": "
|
|
4891
|
-
"
|
|
4892
|
-
"
|
|
4893
|
-
"
|
|
4894
|
-
"
|
|
4895
|
-
"taskPrompt": "
|
|
4896
|
-
"
|
|
4897
|
-
"more": "
|
|
4898
|
-
"
|
|
4899
|
-
"
|
|
4900
|
-
"
|
|
4901
|
-
"
|
|
4902
|
-
"
|
|
4903
|
-
"
|
|
4904
|
-
"
|
|
4905
|
-
"
|
|
4906
|
-
"
|
|
4907
|
-
"
|
|
4908
|
-
"
|
|
4909
|
-
"
|
|
4910
|
-
"
|
|
4911
|
-
"
|
|
4912
|
-
"
|
|
4913
|
-
"
|
|
4758
|
+
"historyFooter": "uatIoq_historyFooter",
|
|
4759
|
+
"historyRowWrap": "uatIoq_historyRowWrap",
|
|
4760
|
+
"doneRow": "uatIoq_doneRow",
|
|
4761
|
+
"historyDate": "uatIoq_historyDate",
|
|
4762
|
+
"body": "uatIoq_body",
|
|
4763
|
+
"divider": "uatIoq_divider",
|
|
4764
|
+
"headline": "uatIoq_headline",
|
|
4765
|
+
"taskRow": "uatIoq_taskRow",
|
|
4766
|
+
"badRow": "uatIoq_badRow",
|
|
4767
|
+
"taskPrompt": "uatIoq_taskPrompt",
|
|
4768
|
+
"taskMeta": "uatIoq_taskMeta",
|
|
4769
|
+
"more": "uatIoq_more",
|
|
4770
|
+
"reviewExcerptBody": "uatIoq_reviewExcerptBody",
|
|
4771
|
+
"historyList": "uatIoq_historyList",
|
|
4772
|
+
"footer": "uatIoq_footer",
|
|
4773
|
+
"historyDelete": "uatIoq_historyDelete",
|
|
4774
|
+
"reviewExcerpt": "uatIoq_reviewExcerpt",
|
|
4775
|
+
"headlineLabel": "uatIoq_headlineLabel",
|
|
4776
|
+
"headlineMeta": "uatIoq_headlineMeta",
|
|
4777
|
+
"taskMain": "uatIoq_taskMain",
|
|
4778
|
+
"historyEmpty": "uatIoq_historyEmpty",
|
|
4779
|
+
"clearArmed": "uatIoq_clearArmed",
|
|
4780
|
+
"modalFooter": "uatIoq_modalFooter",
|
|
4781
|
+
"historyHeader": "uatIoq_historyHeader",
|
|
4782
|
+
"historyMeta": "uatIoq_historyMeta",
|
|
4783
|
+
"clearBtn": "uatIoq_clearBtn",
|
|
4784
|
+
"headlineValue": "uatIoq_headlineValue",
|
|
4785
|
+
"historyRow": "uatIoq_historyRow"
|
|
4914
4786
|
};
|
|
4915
4787
|
//#endregion
|
|
4916
4788
|
//#region client/components/MorningReport.tsx
|
|
@@ -5233,8 +5105,8 @@ window.__ModuleLoader__.load({
|
|
|
5233
5105
|
});
|
|
5234
5106
|
}
|
|
5235
5107
|
//#endregion
|
|
5236
|
-
//#region \0dsh-css:
|
|
5237
|
-
const css$1 = ".
|
|
5108
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\components\ConfirmGate.module.css.mjs
|
|
5109
|
+
const css$1 = ".D6zDpW_card{background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l1);width:480px;max-width:calc(100vw - 32px);box-shadow:var(--dsw-shadow-lv3);color:var(--dsw-alias-label-primary);z-index:60;border-radius:14px;flex-direction:column;gap:8px;padding:14px 16px;display:flex;position:fixed;top:80px;left:50%;transform:translate(-50%)}.D6zDpW_header{justify-content:space-between;align-items:center;display:flex}.D6zDpW_title{font:var(--dsw-font-s-14);font-weight:600}.D6zDpW_close{width:24px;height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;font-size:13px;display:inline-flex}.D6zDpW_close:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.D6zDpW_meta{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}.D6zDpW_list{flex-direction:column;gap:2px;max-height:200px;display:flex;overflow-y:auto}.D6zDpW_row{border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:5px 6px;display:flex}.D6zDpW_row:hover{background:var(--dsw-alias-interactive-bg-hover)}.D6zDpW_prompt{min-width:0;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.D6zDpW_remove{width:24px;height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;display:inline-flex}.D6zDpW_remove:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-state-error-primary)}.D6zDpW_more{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);padding:4px 6px}.D6zDpW_footer{border-top:1px solid var(--dsw-alias-border-l1);justify-content:space-between;align-items:center;gap:8px;padding-top:8px;display:flex}.D6zDpW_releaseLabel{align-items:center;gap:4px;display:inline-flex}.D6zDpW_defer{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:pointer;background:0 0;border:none;text-decoration:underline}.D6zDpW_defer:hover{color:var(--dsw-alias-label-secondary)}";
|
|
5238
5110
|
const tagId$1 = "dsh-lowtide/ConfirmGate.module.css";
|
|
5239
5111
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
5240
5112
|
const tag = document.createElement("style");
|
|
@@ -5244,19 +5116,19 @@ window.__ModuleLoader__.load({
|
|
|
5244
5116
|
document.head.appendChild(tag);
|
|
5245
5117
|
}
|
|
5246
5118
|
var ConfirmGate_module_css_default = {
|
|
5247
|
-
"
|
|
5248
|
-
"
|
|
5249
|
-
"
|
|
5250
|
-
"
|
|
5251
|
-
"
|
|
5252
|
-
"
|
|
5253
|
-
"
|
|
5254
|
-
"
|
|
5255
|
-
"
|
|
5256
|
-
"
|
|
5257
|
-
"
|
|
5258
|
-
"
|
|
5259
|
-
"
|
|
5119
|
+
"defer": "D6zDpW_defer",
|
|
5120
|
+
"close": "D6zDpW_close",
|
|
5121
|
+
"releaseLabel": "D6zDpW_releaseLabel",
|
|
5122
|
+
"card": "D6zDpW_card",
|
|
5123
|
+
"list": "D6zDpW_list",
|
|
5124
|
+
"header": "D6zDpW_header",
|
|
5125
|
+
"prompt": "D6zDpW_prompt",
|
|
5126
|
+
"more": "D6zDpW_more",
|
|
5127
|
+
"title": "D6zDpW_title",
|
|
5128
|
+
"footer": "D6zDpW_footer",
|
|
5129
|
+
"remove": "D6zDpW_remove",
|
|
5130
|
+
"row": "D6zDpW_row",
|
|
5131
|
+
"meta": "D6zDpW_meta"
|
|
5260
5132
|
};
|
|
5261
5133
|
//#endregion
|
|
5262
5134
|
//#region client/components/ConfirmGate.tsx
|
|
@@ -5396,8 +5268,8 @@ window.__ModuleLoader__.load({
|
|
|
5396
5268
|
});
|
|
5397
5269
|
}
|
|
5398
5270
|
//#endregion
|
|
5399
|
-
//#region \0dsh-css:
|
|
5400
|
-
const css = ".
|
|
5271
|
+
//#region \0dsh-css:E:\Documents\kimicode\dsh-lowtide\packages\dsh-lowtide\client\settings.module.css.mjs
|
|
5272
|
+
const css = "._4p0GnW_page{flex-direction:column;gap:14px;padding:4px 2px 16px;display:flex}._4p0GnW_loading{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);padding:12px 0}._4p0GnW_onboarding{background:var(--dsw-specific-tip);border:1px solid var(--dsw-alias-border-l1);border-radius:10px;flex-direction:column;gap:6px;padding:12px 14px;display:flex}._4p0GnW_onboardingTitle{color:var(--dsw-alias-brand-primary);font:var(--dsw-font-s-14);font-weight:600}._4p0GnW_onboardingSteps{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);margin:0;padding-left:18px;line-height:1.7}._4p0GnW_onboardingSteps b{color:var(--dsw-alias-label-primary)}._4p0GnW_langRow{justify-content:space-between;align-items:center;gap:8px;padding:8px 0;display:flex}._4p0GnW_langLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13)}._4p0GnW_error{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xs-13);background:var(--dsw-alias-interactive-bg-hover);border-radius:8px;padding:8px 12px}._4p0GnW_section{flex-direction:column;gap:8px;display:flex}._4p0GnW_sectionHead{justify-content:space-between;align-items:center;display:flex}._4p0GnW_sectionTitle{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-14);margin:0;font-weight:600}._4p0GnW_grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;display:grid}._4p0GnW_field{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);flex-direction:column;gap:4px;display:flex}._4p0GnW_fieldLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13)}._4p0GnW_strategyHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);line-height:1.5}._4p0GnW_batchWindowField{grid-column:1/-1}._4p0GnW_batchWindowRow{border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;padding:4px 6px;display:flex}._4p0GnW_batchWindowRow:hover{background:var(--dsw-alias-interactive-bg-hover)}._4p0GnW_batchWindowRow ._4p0GnW_input{flex:0 132px;width:auto;height:36px}._4p0GnW_batchWindowDash{color:var(--dsw-alias-label-tertiary)}._4p0GnW_batchWindowActions{margin-top:8px}._4p0GnW_input{box-sizing:border-box;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);width:100%;height:32px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);border-radius:8px;outline:none;padding:0 8px}._4p0GnW_input:focus{border-color:var(--dsw-alias-brand-primary)}._4p0GnW_checkbox{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);align-items:center;gap:6px;display:flex}._4p0GnW_pillRow{gap:6px;display:flex}._4p0GnW_autonomyPill{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);cursor:pointer;user-select:none;border-radius:999px;padding:4px 12px}._4p0GnW_autonomyPill:hover{background:var(--dsw-alias-interactive-bg-hover)}._4p0GnW_autonomyActive{border-color:var(--dsw-alias-brand-primary);color:var(--dsw-alias-brand-primary);font-weight:600}._4p0GnW_confirmBox{color:var(--dsw-alias-state-warn-primary);font:var(--dsw-font-xxs-12);background:var(--dsw-specific-tip);border-radius:8px;align-items:center;gap:8px;padding:8px 10px;display:flex}._4p0GnW_confirmBtn{background:var(--dsw-alias-state-warn-primary);color:var(--dsw-alias-label-primary-foreground);font:var(--dsw-font-xxs-12);cursor:pointer;border:none;border-radius:999px;padding:3px 10px}._4p0GnW_confirmCancel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:pointer;background:0 0;border:none;padding:3px 8px}._4p0GnW_hint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0;line-height:1.6}._4p0GnW_windowRow{flex-wrap:wrap;align-items:center;gap:6px;display:flex}._4p0GnW_windowRow ._4p0GnW_input{flex:0 150px}._4p0GnW_dayRow{gap:4px;display:flex}._4p0GnW_dayBtn{border:1px solid var(--dsw-alias-border-l2);width:24px;height:24px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:pointer;background:0 0;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}._4p0GnW_dayBtn:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}._4p0GnW_dayActive{border-color:var(--dsw-alias-brand-primary);color:var(--dsw-alias-brand-primary);font-weight:600}._4p0GnW_noWindows{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);background:var(--dsw-specific-tip);border-radius:8px;padding:10px 12px}._4p0GnW_footer{justify-content:flex-end;display:flex}._4p0GnW_footerLeft{gap:8px;margin-right:auto;display:flex}._4p0GnW_officialCard{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:10px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}._4p0GnW_officialTitle{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-strong-13)}._4p0GnW_officialBody{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);line-height:1.6}._4p0GnW_officialActions{align-items:center;gap:8px;margin-top:2px;display:flex}._4p0GnW_legend{gap:14px;display:flex}._4p0GnW_bandPeak{background:var(--dsw-alias-state-error-primary);opacity:.85}._4p0GnW_bandOff{background:var(--dsw-alias-state-success-primary);opacity:.85}._4p0GnW_bandCustom{background:var(--dsw-alias-state-warn-primary);opacity:.85}._4p0GnW_legendItem{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);align-items:center;gap:5px;display:flex}._4p0GnW_legendDot{opacity:.9;border-radius:2px;width:10px;height:10px}._4p0GnW_priceTable{flex-direction:column;gap:3px;display:flex}._4p0GnW_priceHead,._4p0GnW_priceRow{grid-template-columns:1.4fr .6fr 1fr 1fr 1fr;align-items:center;gap:6px;display:grid}._4p0GnW_priceHead{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12)}._4p0GnW_priceRow ._4p0GnW_input{height:28px}._4p0GnW_priceModel{color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code);font-size:12px}._4p0GnW_priceTier{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13)}";
|
|
5401
5273
|
const tagId = "dsh-lowtide/settings.module.css";
|
|
5402
5274
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
5403
5275
|
const tag = document.createElement("style");
|
|
@@ -5407,56 +5279,56 @@ window.__ModuleLoader__.load({
|
|
|
5407
5279
|
document.head.appendChild(tag);
|
|
5408
5280
|
}
|
|
5409
5281
|
var settings_module_css_default = {
|
|
5410
|
-
"
|
|
5411
|
-
"
|
|
5412
|
-
"
|
|
5413
|
-
"
|
|
5414
|
-
"
|
|
5415
|
-
"
|
|
5416
|
-
"
|
|
5417
|
-
"
|
|
5418
|
-
"
|
|
5419
|
-
"
|
|
5420
|
-
"
|
|
5421
|
-
"
|
|
5422
|
-
"
|
|
5423
|
-
"
|
|
5424
|
-
"grid": "
|
|
5425
|
-
"
|
|
5426
|
-
"
|
|
5427
|
-
"
|
|
5428
|
-
"
|
|
5429
|
-
"
|
|
5430
|
-
"
|
|
5431
|
-
"
|
|
5432
|
-
"
|
|
5433
|
-
"
|
|
5434
|
-
"
|
|
5435
|
-
"
|
|
5436
|
-
"
|
|
5437
|
-
"
|
|
5438
|
-
"
|
|
5439
|
-
"
|
|
5440
|
-
"
|
|
5441
|
-
"
|
|
5442
|
-
"
|
|
5443
|
-
"
|
|
5444
|
-
"
|
|
5445
|
-
"
|
|
5446
|
-
"
|
|
5447
|
-
"
|
|
5448
|
-
"
|
|
5449
|
-
"
|
|
5450
|
-
"
|
|
5451
|
-
"
|
|
5452
|
-
"
|
|
5453
|
-
"
|
|
5454
|
-
"
|
|
5455
|
-
"
|
|
5456
|
-
"
|
|
5457
|
-
"
|
|
5458
|
-
"
|
|
5459
|
-
"
|
|
5282
|
+
"onboardingSteps": "_4p0GnW_onboardingSteps",
|
|
5283
|
+
"batchWindowRow": "_4p0GnW_batchWindowRow",
|
|
5284
|
+
"loading": "_4p0GnW_loading",
|
|
5285
|
+
"autonomyPill": "_4p0GnW_autonomyPill",
|
|
5286
|
+
"error": "_4p0GnW_error",
|
|
5287
|
+
"field": "_4p0GnW_field",
|
|
5288
|
+
"confirmBtn": "_4p0GnW_confirmBtn",
|
|
5289
|
+
"windowRow": "_4p0GnW_windowRow",
|
|
5290
|
+
"legendDot": "_4p0GnW_legendDot",
|
|
5291
|
+
"priceTable": "_4p0GnW_priceTable",
|
|
5292
|
+
"dayRow": "_4p0GnW_dayRow",
|
|
5293
|
+
"confirmCancel": "_4p0GnW_confirmCancel",
|
|
5294
|
+
"dayBtn": "_4p0GnW_dayBtn",
|
|
5295
|
+
"footerLeft": "_4p0GnW_footerLeft",
|
|
5296
|
+
"grid": "_4p0GnW_grid",
|
|
5297
|
+
"fieldLabel": "_4p0GnW_fieldLabel",
|
|
5298
|
+
"onboarding": "_4p0GnW_onboarding",
|
|
5299
|
+
"autonomyActive": "_4p0GnW_autonomyActive",
|
|
5300
|
+
"officialCard": "_4p0GnW_officialCard",
|
|
5301
|
+
"officialTitle": "_4p0GnW_officialTitle",
|
|
5302
|
+
"confirmBox": "_4p0GnW_confirmBox",
|
|
5303
|
+
"officialBody": "_4p0GnW_officialBody",
|
|
5304
|
+
"legendItem": "_4p0GnW_legendItem",
|
|
5305
|
+
"hint": "_4p0GnW_hint",
|
|
5306
|
+
"onboardingTitle": "_4p0GnW_onboardingTitle",
|
|
5307
|
+
"batchWindowActions": "_4p0GnW_batchWindowActions",
|
|
5308
|
+
"sectionTitle": "_4p0GnW_sectionTitle",
|
|
5309
|
+
"langLabel": "_4p0GnW_langLabel",
|
|
5310
|
+
"batchWindowField": "_4p0GnW_batchWindowField",
|
|
5311
|
+
"batchWindowDash": "_4p0GnW_batchWindowDash",
|
|
5312
|
+
"pillRow": "_4p0GnW_pillRow",
|
|
5313
|
+
"page": "_4p0GnW_page",
|
|
5314
|
+
"noWindows": "_4p0GnW_noWindows",
|
|
5315
|
+
"section": "_4p0GnW_section",
|
|
5316
|
+
"officialActions": "_4p0GnW_officialActions",
|
|
5317
|
+
"bandPeak": "_4p0GnW_bandPeak",
|
|
5318
|
+
"priceHead": "_4p0GnW_priceHead",
|
|
5319
|
+
"footer": "_4p0GnW_footer",
|
|
5320
|
+
"priceModel": "_4p0GnW_priceModel",
|
|
5321
|
+
"strategyHint": "_4p0GnW_strategyHint",
|
|
5322
|
+
"sectionHead": "_4p0GnW_sectionHead",
|
|
5323
|
+
"priceTier": "_4p0GnW_priceTier",
|
|
5324
|
+
"bandOff": "_4p0GnW_bandOff",
|
|
5325
|
+
"langRow": "_4p0GnW_langRow",
|
|
5326
|
+
"dayActive": "_4p0GnW_dayActive",
|
|
5327
|
+
"bandCustom": "_4p0GnW_bandCustom",
|
|
5328
|
+
"priceRow": "_4p0GnW_priceRow",
|
|
5329
|
+
"checkbox": "_4p0GnW_checkbox",
|
|
5330
|
+
"input": "_4p0GnW_input",
|
|
5331
|
+
"legend": "_4p0GnW_legend"
|
|
5460
5332
|
};
|
|
5461
5333
|
//#endregion
|
|
5462
5334
|
//#region client/settings.tsx
|
|
@@ -6418,9 +6290,10 @@ window.__ModuleLoader__.load({
|
|
|
6418
6290
|
order: 100,
|
|
6419
6291
|
locale: NS
|
|
6420
6292
|
}, PricePill));
|
|
6421
|
-
ctx.slots.inject("conversation.
|
|
6422
|
-
name: "conversation.
|
|
6423
|
-
|
|
6293
|
+
ctx.slots.inject("conversation.input.dock", () => ctx.slots.register({
|
|
6294
|
+
name: "conversation.input.dock",
|
|
6295
|
+
id: "lt-peak-prompt",
|
|
6296
|
+
order: 90,
|
|
6424
6297
|
locale: NS
|
|
6425
6298
|
}, InterceptCard));
|
|
6426
6299
|
ctx.slots.inject("conversation.input.dock", () => ctx.slots.register({
|