Files
deepseek-harness/packages/credentials/README.zh.md
Yichen Jiang b0a2011d95 docs: bilingual credentials/settings-consumer documentation, catalogs, and gates
New credentials data-structure page (type-equiv manifested), group README,
rewritten llm-deepseek/llm-pi-ai READMEs (dynamic configuration, dict
profiles, credential chain), capability-seams/service-role registration,
Agent Note (bilingual), demo compositions mounting settings-local +
credentials-local with no inline key plumbing, installSettingsSection
consumer helper on the settings seam (deduplicating both adapters' wiring),
jscpd symmetry markers for the provider twins, runtime-closure additions for
python/sdk-runtime, and doc-budget ceilings AGENTS.md 1750→1755 /
packages/README.md 850→865 for the structural one-line group rows.
2026-07-29 14:20:06 +08:00

1.0 KiB
Raw Blame History

credentials/

English | 中文

凭据能力 seam按三包形态的要求组织接口实现消费方

角色
credentials/ 抽象 ctx.credentials:品牌化 CredentialRef 引用、按操作 resolve、对 UI 安全的 describe、响亮失败的 set/unset,以及 credentials/updated 提交事件
credentials-local/ 文件/环境 provider活跃进程环境只读、优先叠加在 $DSH_HOME/.env(可写、保字节行级编辑、热重载)之上

配置文件携带的是对机密的引用apiKeyEnv: DEEPSEEK_API_KEY绝不携带机密本身设置文档可以放心同步与渲染轮换值不触碰任何配置。LLM 适配器是第一批消费方——它们每次模型请求解析一次引用,正因如此,片刻前存入的密钥无需重启任何组件即可作用于紧随其后的下一次请求。

seam 形状为 keyring、辅助命令与 KMS 后端的 provider 留有余地。