clearai-dsh 0.1.4 → 0.1.5
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 +6 -0
- package/package.json +1 -1
- package/presets/clearai/preset.yml +10 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are recorded here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
4
4
|
|
|
5
|
+
## [0.1.5] — 2026-09-16
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **The preset card still read `clearai` with an empty description.** 0.1.2, 0.1.3 and 0.1.4 all shipped `preset.yml` with the description as a plain YAML scalar containing `English: state` — a colon followed by a space cannot appear in a plain scalar, so the file did not parse at all. DSH's preset roster treats *every* metadata read failure as "no metadata", silently, so the picker fell back to the directory id plus 「暂无描述」 and nothing on either side reported an error. The description is now a block scalar, and `verify-package` parses `preset.yml` with the host's own `yaml` library and requires a non-empty `name` and `description` — this can no longer ship silently.
|
|
10
|
+
|
|
5
11
|
## [0.1.4] — 2026-09-16
|
|
6
12
|
|
|
7
13
|
**本版重点:子任务的交付链修好了。** 侦察与世界线执行者的结论此前只进账本、模型读不到
|
package/package.json
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
name: ClearAI
|
|
2
2
|
# 预设名册只有这两行元数据,而且**宿主不会替我们本地化**:它自己的预设走 i18n,
|
|
3
|
-
# 插件给的 name/description
|
|
3
|
+
# 插件给的 name/description 是静态字符串。所以这里写成双语 —— 英文读者先看到它,
|
|
4
4
|
# 中文读者接着读;长度压在卡片的 clamp 之内(约 4 行)。
|
|
5
|
-
|
|
5
|
+
#
|
|
6
|
+
# ⚠️ description **必须**是块标量(下面那个 `|-`)或者引号,不能写成普通标量。
|
|
7
|
+
# 它里面有 `English: state` 这种「冒号 + 空格」,普通标量会被 YAML 读成嵌套映射 ——
|
|
8
|
+
# 而名册对读失败的处理是**静默降级成「没有元数据」**(@deepseek-ai/dsh-agent-presets 的原话:
|
|
9
|
+
# "Every read failure degrades to no metadata"),于是预设卡片显示成目录名 + 「暂无描述」,
|
|
10
|
+
# 宿主与我们两边都不报错。2026-09-16 实测踩到:0.1.2 与 0.1.3 都带着这个 bug 发了出去。
|
|
11
|
+
# `verify-package` 里那条「preset.yml 必须真能解析出 name 与 description」就是为此立的门。
|
|
12
|
+
description: |-
|
|
13
|
+
Evidence-first exploration (循证探索):先写判据再动手,完成要过观测准入、再经评估与证据推进,高等级结论由独立评估者裁决;进度与阶段全部由系统算出来。互斥方案分叉成世界线,各有一份工作副本,胜负由事先登记的尺子算出来——算不出来就停下问人。English: state the criterion before acting; completion passes admission and independent evaluation, never the doer's own word.
|