@deepseek-ai/dsh-settings-file 0.1.5-rc.2 → 0.1.6-alpha.2
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.i18n.yaml +1 -1
- package/README.zh.md +3 -3
- package/package.json +8 -8
package/README.i18n.yaml
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/settings/settings-file/README.md
|
|
5
5
|
README.md: ea578a1739e1bd5d7b7f47be596998b124337ed5
|
|
6
|
-
README.zh.md:
|
|
6
|
+
README.zh.md: 668d771bd64738701de87ca28066234284941873
|
package/README.zh.md
CHANGED
|
@@ -25,7 +25,7 @@ kind: "package-reference"
|
|
|
25
25
|
<a id="use-this-package"></a>
|
|
26
26
|
## 使用本包
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
当组合需要一份用户可编辑的设置文档时,挂载此提供方。常用路径是显式的:挂载提供方、经 `ctx.settings` 注册 namespace,然后让用户编辑文档或让配置界面经服务写入。
|
|
29
29
|
|
|
30
30
|
### 何时选择
|
|
31
31
|
|
|
@@ -90,7 +90,7 @@ kind: "package-reference"
|
|
|
90
90
|
| 文件 | 职责 |
|
|
91
91
|
|---|---|
|
|
92
92
|
| [`src/index.ts`](src/index.ts) | 提供方:spec 解析、加载/解析、写锁下的读-改-写、watcher 生命周期、YAML/JSON 渲染 |
|
|
93
|
-
| — | 不发布运行时不变式伴生入口;文件往返、watcher 时序与原子写入行为由包测试证明,进程内提交关系归
|
|
93
|
+
| — | 不发布运行时不变式伴生入口;文件往返、watcher 时序与原子写入行为由包测试证明,进程内提交关系归 `@deepseek-ai/dsh-settings` 所有。 |
|
|
94
94
|
|
|
95
95
|
### 文档生命周期
|
|
96
96
|
|
|
@@ -121,7 +121,7 @@ YAML 渲染把缓存文本解析成可变的保留注释树,再对一个 names
|
|
|
121
121
|
<a id="model-experience"></a>
|
|
122
122
|
## 模型体验
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
间接生效:存储值会影响的任何面向模型的行为均由 `ctx.settings` 的消费方负责;文件提供方只存储并发布 namespace 分节,自身不注册任何面向模型的内容。
|
|
125
125
|
|
|
126
126
|
#### KV Cache 影响
|
|
127
127
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-settings-file",
|
|
3
3
|
"description": "File-backed settings provider (settings.yaml) for the DeepSeek Harness",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,21 +27,21 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@deepseek-ai/dsh-atomic-write": "^0.1.
|
|
30
|
+
"@deepseek-ai/dsh-atomic-write": "^0.1.6-alpha.2",
|
|
31
31
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
32
|
-
"@deepseek-ai/dsh-home-paths": "^0.1.
|
|
33
|
-
"@deepseek-ai/dsh-settings": "^0.1.
|
|
32
|
+
"@deepseek-ai/dsh-home-paths": "^0.1.6-alpha.2",
|
|
33
|
+
"@deepseek-ai/dsh-settings": "^0.1.6-alpha.2"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"chokidar": "^4.0.3",
|
|
37
37
|
"yaml": "^2.9.0",
|
|
38
38
|
"@deepseek-ai/schemastery": "^3.18.2",
|
|
39
|
-
"@deepseek-ai/dsh-util-values": "^0.1.
|
|
39
|
+
"@deepseek-ai/dsh-util-values": "^0.1.6-alpha.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
43
|
-
"@deepseek-ai/dsh-atomic-write": "^0.1.
|
|
44
|
-
"@deepseek-ai/dsh-home-paths": "^0.1.
|
|
45
|
-
"@deepseek-ai/dsh-settings": "^0.1.
|
|
43
|
+
"@deepseek-ai/dsh-atomic-write": "^0.1.6-alpha.2",
|
|
44
|
+
"@deepseek-ai/dsh-home-paths": "^0.1.6-alpha.2",
|
|
45
|
+
"@deepseek-ai/dsh-settings": "^0.1.6-alpha.2"
|
|
46
46
|
}
|
|
47
47
|
}
|