@michengai/dsh-automation 0.1.16 → 0.1.17
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/CHANGELOG.md +7 -6
- package/CHANGELOG.zh-CN.md +7 -6
- package/lib/client.js +8 -8
- package/lib/client.js.map +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
The five most recent published versions are listed below. Git tags and GitHub Releases now mirror these entries; historical sections retain links to their original release commits.
|
|
6
6
|
|
|
7
|
+
## 0.1.17 — 2026-08-26
|
|
8
|
+
|
|
9
|
+
- Removed the redundant full-width divider below the scheduled-task tabs while retaining the active-tab underline.
|
|
10
|
+
- Matched the sorting control to Qianwen with a filled pill trigger, compact four-option menu, smaller arrow, and neutral selected state.
|
|
11
|
+
|
|
12
|
+
Published package: [`@michengai/dsh-automation@0.1.17`](https://www.npmjs.com/package/@michengai/dsh-automation/v/0.1.17).
|
|
13
|
+
|
|
7
14
|
## 0.1.16 — 2026-08-26
|
|
8
15
|
|
|
9
16
|
- Added an Edit action to each scheduled-task card menu, reusing the existing task editor.
|
|
@@ -32,9 +39,3 @@ Published package: [`@michengai/dsh-automation@0.1.14`](https://www.npmjs.com/pa
|
|
|
32
39
|
- Logged internal RPC failures instead of leaving automation failures silent.
|
|
33
40
|
|
|
34
41
|
Release commit: [`6f04ae9`](https://github.com/MichengAI/dsh-automation/commit/6f04ae9).
|
|
35
|
-
|
|
36
|
-
## 0.1.12 — 2026-08-23
|
|
37
|
-
|
|
38
|
-
- Aligned automation permission behavior with interactive chat.
|
|
39
|
-
|
|
40
|
-
Release commit: [`d116209`](https://github.com/MichengAI/dsh-automation/commit/d116209).
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -4,6 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
以下记录最近发布的五个版本。Git 标签与 GitHub Release 现已和这些条目同步;历史条目继续保留原始发布提交链接。
|
|
6
6
|
|
|
7
|
+
## 0.1.17 — 2026-08-26
|
|
8
|
+
|
|
9
|
+
- 移除定时任务标签栏下方多余的整行分隔线,同时保留当前标签的短下划线。
|
|
10
|
+
- 参照千问重做排序控件,采用填充胶囊按钮、紧凑四选项菜单、更小的箭头和中性的选中状态。
|
|
11
|
+
|
|
12
|
+
发布包:[`@michengai/dsh-automation@0.1.17`](https://www.npmjs.com/package/@michengai/dsh-automation/v/0.1.17)。
|
|
13
|
+
|
|
7
14
|
## 0.1.16 — 2026-08-26
|
|
8
15
|
|
|
9
16
|
- 在每个定时任务卡片菜单中增加“编辑任务”,复用现有任务编辑器。
|
|
@@ -32,9 +39,3 @@
|
|
|
32
39
|
- 记录内部 RPC 失败,避免自动化执行错误被静默吞掉。
|
|
33
40
|
|
|
34
41
|
发布提交:[`6f04ae9`](https://github.com/MichengAI/dsh-automation/commit/6f04ae9)。
|
|
35
|
-
|
|
36
|
-
## 0.1.12 — 2026-08-23
|
|
37
|
-
|
|
38
|
-
- 使自动化权限行为与交互式聊天保持一致。
|
|
39
|
-
|
|
40
|
-
发布提交:[`d116209`](https://github.com/MichengAI/dsh-automation/commit/d116209)。
|
package/lib/client.js
CHANGED
|
@@ -1598,7 +1598,7 @@ function SortMenu({
|
|
|
1598
1598
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "dsh-st-sort", ref: root, children: [
|
|
1599
1599
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("button", { type: "button", className: `dsh-st-sort-btn${open ? " is-open" : ""}`, "aria-label": t("sort.by"), "aria-expanded": open, onClick: () => setOpen((value) => !value), children: [
|
|
1600
1600
|
selectedLabel,
|
|
1601
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ChevronIcon, { className: "dsh-st-sort-chevron" })
|
|
1601
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ChevronIcon, { width: 10, height: 10, className: "dsh-st-sort-chevron" })
|
|
1602
1602
|
] }),
|
|
1603
1603
|
open && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "dsh-st-sort-menu", children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1604
1604
|
SortRow,
|
|
@@ -1619,7 +1619,7 @@ function SortRow({
|
|
|
1619
1619
|
selected,
|
|
1620
1620
|
onSelect
|
|
1621
1621
|
}) {
|
|
1622
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("button", { type: "button", "aria-pressed": selected, className: selected ? "is-
|
|
1622
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("button", { type: "button", "aria-pressed": selected, className: selected ? "is-selected" : void 0, onClick: onSelect, children: [
|
|
1623
1623
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: label }),
|
|
1624
1624
|
selected ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(CheckOutlineIcon, { width: 16, height: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "dsh-st-sort-tick" })
|
|
1625
1625
|
] });
|
|
@@ -2999,17 +2999,17 @@ var CSS_TEXT = `
|
|
|
2999
2999
|
.dsh-st-example:hover{border-color:rgba(75,124,255,.45)}
|
|
3000
3000
|
.dsh-st-example strong{font-size:14px}
|
|
3001
3001
|
.dsh-st-example p{margin:0;color:var(--dsw-alias-label-secondary);font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
|
|
3002
|
-
.dsh-st-tabs{display:flex;align-items:center;gap:16px;margin:4px 0 16px
|
|
3002
|
+
.dsh-st-tabs{display:flex;align-items:center;gap:16px;margin:4px 0 16px}
|
|
3003
3003
|
.dsh-st-tabs>button{padding:8px 0;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--dsw-alias-label-secondary);cursor:pointer}
|
|
3004
3004
|
.dsh-st-tabs>button.is-on{border-bottom-color:currentColor;color:var(--dsw-alias-label-primary);font-weight:650}
|
|
3005
3005
|
.dsh-st-sort{position:relative;margin-left:auto}
|
|
3006
|
-
.dsh-st-sort-btn{display:inline-flex;align-items:center;gap:
|
|
3007
|
-
.dsh-st-sort-btn:hover,.dsh-st-sort-btn.is-open{background:rgba(255,255,255,.
|
|
3006
|
+
.dsh-st-sort-btn{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border:0;border-radius:999px;background:var(--dsw-alias-bg-layer-3,rgba(255,255,255,.14));color:var(--dsw-alias-label-primary,inherit);font:13px/20px inherit;cursor:pointer}
|
|
3007
|
+
.dsh-st-sort-btn:hover,.dsh-st-sort-btn.is-open{background:var(--dsw-alias-interactive-bg-hover,rgba(255,255,255,.18))}
|
|
3008
3008
|
.dsh-st-sort-chevron{transition:transform .16s ease;transform:rotate(90deg)}
|
|
3009
3009
|
.dsh-st-sort-btn.is-open .dsh-st-sort-chevron{transform:rotate(-90deg)}
|
|
3010
|
-
.dsh-st-sort-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:30;
|
|
3011
|
-
.dsh-st-sort-menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:36px;padding:6px 10px;border:0;border-radius:8px;background:transparent;color:var(--dsw-alias-label-primary,inherit);font:
|
|
3012
|
-
.dsh-st-sort-menu button:hover,.dsh-st-sort-menu button.is-
|
|
3010
|
+
.dsh-st-sort-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:30;width:180px;padding:6px;border:1px solid var(--dsw-alias-border-l2,rgba(255,255,255,.12));border-radius:12px;background:var(--dsw-alias-bg-layer-3,#303033);box-shadow:var(--dsw-shadow-lv3,0 8px 24px rgba(0,0,0,.32))}
|
|
3011
|
+
.dsh-st-sort-menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:36px;padding:6px 10px;border:0;border-radius:8px;background:transparent;color:var(--dsw-alias-label-primary,inherit);font:13px/20px inherit;cursor:pointer;text-align:left}
|
|
3012
|
+
.dsh-st-sort-menu button:hover,.dsh-st-sort-menu button.is-selected{background:var(--dsw-alias-interactive-bg-hover,rgba(255,255,255,.08));color:var(--dsw-alias-label-primary,inherit)}
|
|
3013
3013
|
.dsh-st-sort-tick{width:16px;height:16px;flex:none}
|
|
3014
3014
|
.dsh-st-filters{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-left:auto}
|
|
3015
3015
|
.dsh-st-filters>button,.dsh-st-filters>select{height:28px;padding:0 10px;border:0;border-radius:999px;background:rgba(255,255,255,.06);color:inherit;font-size:12px}
|