@michengai/dsh-automation 0.1.13 → 0.1.15

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 ADDED
@@ -0,0 +1,38 @@
1
+ # Changelog
2
+
3
+ [简体中文](CHANGELOG.zh-CN.md)
4
+
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
+
7
+ ## 0.1.15 — 2026-08-26
8
+
9
+ - Restored localized built-in permission labels in the scheduled-task composer instead of exposing missing `preset.*` translation keys.
10
+ - Kept full-access confirmation copy in the Host-owned permission namespace while moving display labels into this plugin's bilingual dictionary.
11
+ - Moved the Changelog link from the README footer into the top navigation in both languages.
12
+
13
+ Published package: [`@michengai/dsh-automation@0.1.15`](https://www.npmjs.com/package/@michengai/dsh-automation/v/0.1.15).
14
+
15
+ ## 0.1.14 — 2026-08-23
16
+
17
+ - Added bilingual changelogs covering the five most recent releases.
18
+ - Linked the release history from both README editions and included it in the npm package.
19
+
20
+ Published package: [`@michengai/dsh-automation@0.1.14`](https://www.npmjs.com/package/@michengai/dsh-automation/v/0.1.14).
21
+
22
+ ## 0.1.13 — 2026-08-23
23
+
24
+ - Logged internal RPC failures instead of leaving automation failures silent.
25
+
26
+ Release commit: [`6f04ae9`](https://github.com/MichengAI/dsh-automation/commit/6f04ae9).
27
+
28
+ ## 0.1.12 — 2026-08-23
29
+
30
+ - Aligned automation permission behavior with interactive chat.
31
+
32
+ Release commit: [`d116209`](https://github.com/MichengAI/dsh-automation/commit/d116209).
33
+
34
+ ## 0.1.11 — 2026-08-23
35
+
36
+ - Hardened automation safety checks and scheduling behavior.
37
+
38
+ Release commit: [`1692ca6`](https://github.com/MichengAI/dsh-automation/commit/1692ca6).
@@ -0,0 +1,38 @@
1
+ # 更新日志
2
+
3
+ [English](CHANGELOG.md)
4
+
5
+ 以下记录最近发布的五个版本。Git 标签与 GitHub Release 现已和这些条目同步;历史条目继续保留原始发布提交链接。
6
+
7
+ ## 0.1.15 — 2026-08-26
8
+
9
+ - 恢复定时任务输入区内置权限预设的中文显示,不再暴露缺失的 `preset.*` 翻译键。
10
+ - 完全访问风险确认继续使用宿主管理的权限翻译域,显示名称则改用本插件自己的中英文词典。
11
+ - 将中英文 README 的更新日志入口从底部移到顶部导航。
12
+
13
+ 发布包:[`@michengai/dsh-automation@0.1.15`](https://www.npmjs.com/package/@michengai/dsh-automation/v/0.1.15)。
14
+
15
+ ## 0.1.14 — 2026-08-23
16
+
17
+ - 新增中英文更新日志,展示最近五个发布版本。
18
+ - 在中英文 README 中加入更新日志入口,并将日志纳入 npm 包。
19
+
20
+ 发布包:[`@michengai/dsh-automation@0.1.14`](https://www.npmjs.com/package/@michengai/dsh-automation/v/0.1.14)。
21
+
22
+ ## 0.1.13 — 2026-08-23
23
+
24
+ - 记录内部 RPC 失败,避免自动化执行错误被静默吞掉。
25
+
26
+ 发布提交:[`6f04ae9`](https://github.com/MichengAI/dsh-automation/commit/6f04ae9)。
27
+
28
+ ## 0.1.12 — 2026-08-23
29
+
30
+ - 使自动化权限行为与交互式聊天保持一致。
31
+
32
+ 发布提交:[`d116209`](https://github.com/MichengAI/dsh-automation/commit/d116209)。
33
+
34
+ ## 0.1.11 — 2026-08-23
35
+
36
+ - 加强自动化安全检查和调度行为。
37
+
38
+ 发布提交:[`1692ca6`](https://github.com/MichengAI/dsh-automation/commit/1692ca6)。
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  **Run standalone coding tasks on a schedule in DeepSeek Harness**
10
10
 
11
- [简体中文](README.zh-CN.md) · [Apache-2.0](LICENSE)
11
+ [简体中文](README.zh-CN.md) · [Changelog](CHANGELOG.md) · [Apache-2.0](LICENSE)
12
12
 
13
13
  [![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](LICENSE)
14
14
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-automation.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-automation)
package/README.zh-CN.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  **在独立 DSH Session 中按计划执行编码任务**
10
10
 
11
- [English](README.md) · [Apache-2.0](LICENSE)
11
+ [English](README.md) · [更新日志](CHANGELOG.zh-CN.md) · [Apache-2.0](LICENSE)
12
12
 
13
13
  [![许可证:Apache-2.0](https://img.shields.io/badge/许可证-Apache--2.0-blue.svg)](LICENSE)
14
14
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-automation.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-automation)
package/lib/client.js CHANGED
@@ -393,9 +393,9 @@ var import_react2 = require("react");
393
393
 
394
394
  // src/client/permissions.ts
395
395
  var BUILT_IN_PERMISSION_LABELS = /* @__PURE__ */ new Map([
396
- ["read-only", ["preset.readOnly", "Read Only"]],
397
- ["workspace-write", ["preset.workspaceWrite", "Workspace Write"]],
398
- ["danger-full-access", ["preset.fullAccess", "Full access"]]
396
+ ["read-only", ["permission.readOnly", "Read Only"]],
397
+ ["workspace-write", ["permission.workspaceWrite", "Workspace Write"]],
398
+ ["danger-full-access", ["permission.fullAccess", "Full access"]]
399
399
  ]);
400
400
  function permissionLabel(option, t) {
401
401
  const builtIn = BUILT_IN_PERMISSION_LABELS.get(option.value);
@@ -831,7 +831,7 @@ function CreateModal({
831
831
  value: form.permission,
832
832
  options: permissions.map((option) => ({
833
833
  value: option.value,
834
- label: permissionLabel(option, permissionT),
834
+ label: permissionLabel(option, t),
835
835
  icon: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ShieldIcon, { width: 14, height: 14 })
836
836
  })),
837
837
  onChange: choosePermission
@@ -1661,6 +1661,9 @@ var en = {
1661
1661
  "form.days": "Weekdays",
1662
1662
  "form.timeZone": "Time zone",
1663
1663
  "form.permission": "Permission boundary",
1664
+ "permission.readOnly": "Read Only",
1665
+ "permission.workspaceWrite": "Workspace Write",
1666
+ "permission.fullAccess": "Full access",
1664
1667
  "form.cancel": "Cancel",
1665
1668
  "form.submit": "Create automation",
1666
1669
  "form.submitting": "Creating\u2026",
@@ -1852,6 +1855,9 @@ var zh = {
1852
1855
  "form.days": "\u661F\u671F",
1853
1856
  "form.timeZone": "\u65F6\u533A",
1854
1857
  "form.permission": "\u6743\u9650\u8FB9\u754C",
1858
+ "permission.readOnly": "\u53EA\u8BFB",
1859
+ "permission.workspaceWrite": "\u5DE5\u4F5C\u533A\u5199\u5165",
1860
+ "permission.fullAccess": "\u5B8C\u5168\u8BBF\u95EE",
1855
1861
  "form.cancel": "\u53D6\u6D88",
1856
1862
  "form.submit": "\u521B\u5EFA\u81EA\u52A8\u5316",
1857
1863
  "form.submitting": "\u521B\u5EFA\u4E2D\u2026",