@michengai/dsh-automation 0.1.14 → 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 CHANGED
@@ -2,7 +2,15 @@
2
2
 
3
3
  [简体中文](CHANGELOG.zh-CN.md)
4
4
 
5
- The five most recent published versions are listed below. This repository did not create Git tags for these releases, so each version links to its release commit.
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).
6
14
 
7
15
  ## 0.1.14 — 2026-08-23
8
16
 
@@ -28,9 +36,3 @@ Release commit: [`d116209`](https://github.com/MichengAI/dsh-automation/commit/d
28
36
  - Hardened automation safety checks and scheduling behavior.
29
37
 
30
38
  Release commit: [`1692ca6`](https://github.com/MichengAI/dsh-automation/commit/1692ca6).
31
-
32
- ## 0.1.10 — 2026-08-23
33
-
34
- - Aligned the scheduled-task model selector with the chat model selector.
35
-
36
- Release commit: [`f9d39ee`](https://github.com/MichengAI/dsh-automation/commit/f9d39ee).
@@ -2,7 +2,15 @@
2
2
 
3
3
  [English](CHANGELOG.md)
4
4
 
5
- 以下记录最近发布的五个版本。仓库没有为这些版本创建 Git 标签,因此每个版本链接到对应的发布提交。
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)。
6
14
 
7
15
  ## 0.1.14 — 2026-08-23
8
16
 
@@ -28,9 +36,3 @@
28
36
  - 加强自动化安全检查和调度行为。
29
37
 
30
38
  发布提交:[`1692ca6`](https://github.com/MichengAI/dsh-automation/commit/1692ca6)。
31
-
32
- ## 0.1.10 — 2026-08-23
33
-
34
- - 使定时任务模型选择器与聊天模型选择器保持一致。
35
-
36
- 发布提交:[`f9d39ee`](https://github.com/MichengAI/dsh-automation/commit/f9d39ee)。
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)
@@ -169,7 +169,3 @@ pnpm build
169
169
  Start from the [documentation entry](docs/00-交接入口/00-阅读导航.md) for project status, architecture, and the current iteration. Product notes live in NOTICE.
170
170
 
171
171
  This project uses [Apache License 2.0](LICENSE).
172
-
173
- ## Changelog
174
-
175
- See [CHANGELOG.md](CHANGELOG.md) for the five most recent releases.
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)
@@ -169,7 +169,3 @@ pnpm build
169
169
  项目状态、使用边界、技术架构和迭代记录从[文档交接入口](docs/00-交接入口/00-阅读导航.md)开始。补充说明见 NOTICE。
170
170
 
171
171
  本项目采用 [Apache License 2.0](LICENSE)。
172
-
173
- ## 更新日志
174
-
175
- 最近五个发布版本见 [CHANGELOG.zh-CN.md](CHANGELOG.zh-CN.md)。
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",