@dsh-plus/secret-env 0.1.19 → 0.1.21
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/package.json +14 -14
- package/src/index.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-plus/secret-env",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"description": "dsh-plus service+ui plugin: 密钥环境变量——以 $DSH_VAR_* 变量名向 agent 暴露密钥(全局持久/会话级/一次性),执行期经 dsh-shell-env 原生注入,值不进消息流,不影响缓存率",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -19,26 +19,26 @@
|
|
|
19
19
|
"src"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@dsh-plus/shared": "0.1.
|
|
22
|
+
"@dsh-plus/shared": "0.1.27"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@deepseek-ai/cordis": "^4.0.4",
|
|
26
|
-
"@deepseek-ai/dsh-credentials": "^0.
|
|
27
|
-
"@deepseek-ai/dsh-host-webserver": "^0.
|
|
28
|
-
"@deepseek-ai/dsh-settings": "^0.
|
|
29
|
-
"@deepseek-ai/dsh-shell-env": "^0.
|
|
26
|
+
"@deepseek-ai/dsh-credentials": "^0.2.0-rc.1",
|
|
27
|
+
"@deepseek-ai/dsh-host-webserver": "^0.2.0-rc.1",
|
|
28
|
+
"@deepseek-ai/dsh-settings": "^0.2.0-rc.1",
|
|
29
|
+
"@deepseek-ai/dsh-shell-env": "^0.2.0-rc.1",
|
|
30
30
|
"@deepseek-ai/schemastery": "^3.18.4"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@deepseek-ai/cordis": "4.0.4",
|
|
34
|
-
"@deepseek-ai/dsh-client-ui-commands": "0.
|
|
35
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.
|
|
36
|
-
"@deepseek-ai/dsh-credentials": "0.
|
|
37
|
-
"@deepseek-ai/dsh-host-webserver": "0.
|
|
38
|
-
"@deepseek-ai/dsh-session": "0.
|
|
39
|
-
"@deepseek-ai/dsh-settings": "0.
|
|
40
|
-
"@deepseek-ai/dsh-shell-env": "0.
|
|
41
|
-
"@deepseek-ai/dsh-tools": "0.
|
|
34
|
+
"@deepseek-ai/dsh-client-ui-commands": "0.2.0-rc.1",
|
|
35
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.1",
|
|
36
|
+
"@deepseek-ai/dsh-credentials": "0.2.0-rc.1",
|
|
37
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.0-rc.1",
|
|
38
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.1",
|
|
39
|
+
"@deepseek-ai/dsh-settings": "0.2.0-rc.1",
|
|
40
|
+
"@deepseek-ai/dsh-shell-env": "0.2.0-rc.1",
|
|
41
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.1",
|
|
42
42
|
"@deepseek-ai/schemastery": "3.18.4",
|
|
43
43
|
"@types/node": "26.4.0",
|
|
44
44
|
"@types/react": "~18.3.31",
|
package/src/index.ts
CHANGED
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
* 挂载即得:密钥以 $DSH_VAR_* 变量名向 agent 暴露(dsh-shell-env 执行期
|
|
6
6
|
* 注入,与内建变量同一通道);值经 dsh-credentials seam 或会话内存持有,
|
|
7
7
|
* 不进消息流、不动 prompt 前缀(缓存率零影响)。不新增工具与提示词——
|
|
8
|
-
* 模型经 bash 原生能力(env | grep ^DSH_
|
|
8
|
+
* 模型经 bash 原生能力(env | grep ^DSH_;Windows 同样跑 dsh 内置 bash,
|
|
9
|
+
* Git Bash 自带 grep,命令一致)发现变量名。
|
|
9
10
|
* @module @dsh-plus/secret-env
|
|
10
11
|
*/
|
|
11
12
|
import type { Context } from '@deepseek-ai/cordis'
|