@deepseek-ai/dsh-credentials-local 0.1.2-rc.1 → 0.1.5-alpha.1
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 +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +9 -9
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/credentials/credentials-local/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 5c343834ae77dc1623dac37d9f6c5b687e509421
|
|
6
|
+
README.zh.md: 08b87022d7824bc920ca23875caa669c6506637f
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
|
|
|
9
9
|
|
|
10
10
|
## Summary
|
|
11
11
|
|
|
12
|
-
`dsh-credentials-local`
|
|
12
|
+
`dsh-credentials-local` keeps API keys and other secrets in a private file under your harness home. You can save credentials through the configuration UI or edit the file directly; changes reload automatically and saved values survive restarts. Credential lookup follows a fixed precedence: the launch environment wins, followed by the stored file, the project's `.env`, and the harness-home `.env`; a newly saved value immediately overrides older `.env` values. Only your OS user can read the file, but agent tool processes run as that same user, so this store cannot isolate secrets from the agent.
|
|
13
13
|
|
|
14
14
|
## Table of Contents
|
|
15
15
|
|
package/README.zh.md
CHANGED
|
@@ -9,7 +9,7 @@ kind: "package-reference"
|
|
|
9
9
|
|
|
10
10
|
## 概述
|
|
11
11
|
|
|
12
|
-
`dsh-credentials-local`
|
|
12
|
+
`dsh-credentials-local` 把 API 密钥和其他机密保存在 harness home 下的私有文件中。你可以通过配置界面保存凭据,也可以直接编辑文件;变更会自动重载,保存的值也会跨重启保留。凭据查找采用固定优先级:启动环境优先,其次是存储文件、项目 `.env` 和 harness home 的 `.env`;新保存的值会立即覆盖 `.env` 中的旧值。只有你的 OS 用户能读取该文件,但 agent(智能体)的工具进程以同一用户身份运行,因此该存储无法向 agent 隔离机密。
|
|
13
13
|
|
|
14
14
|
## 目录
|
|
15
15
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-credentials-local",
|
|
3
3
|
"description": "File-backed credentials provider ($DSH_HOME/.env under the live process environment) for the DeepSeek Harness",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.5-alpha.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@deepseek-ai/dsh-
|
|
31
|
-
"@deepseek-ai/dsh-
|
|
32
|
-
"@deepseek-ai/dsh-
|
|
33
|
-
"@deepseek-ai/dsh-home-paths": "^0.1.
|
|
30
|
+
"@deepseek-ai/dsh-launch-environment": "^0.1.5-alpha.1",
|
|
31
|
+
"@deepseek-ai/dsh-atomic-write": "^0.1.5-alpha.1",
|
|
32
|
+
"@deepseek-ai/dsh-credentials": "^0.1.5-alpha.1",
|
|
33
|
+
"@deepseek-ai/dsh-home-paths": "^0.1.5-alpha.1",
|
|
34
34
|
"@deepseek-ai/cordis": "^4.0.2"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"@deepseek-ai/schemastery": "^3.18.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@deepseek-ai/dsh-atomic-write": "^0.1.
|
|
43
|
-
"@deepseek-ai/dsh-credentials": "^0.1.
|
|
44
|
-
"@deepseek-ai/dsh-launch-environment": "^0.1.
|
|
45
|
-
"@deepseek-ai/dsh-home-paths": "^0.1.
|
|
42
|
+
"@deepseek-ai/dsh-atomic-write": "^0.1.5-alpha.1",
|
|
43
|
+
"@deepseek-ai/dsh-credentials": "^0.1.5-alpha.1",
|
|
44
|
+
"@deepseek-ai/dsh-launch-environment": "^0.1.5-alpha.1",
|
|
45
|
+
"@deepseek-ai/dsh-home-paths": "^0.1.5-alpha.1",
|
|
46
46
|
"@deepseek-ai/cordis": "^4.0.2"
|
|
47
47
|
}
|
|
48
48
|
}
|