@aiwayds/dsh-jev-core
Shared TypeSafe Jev decision-model client for the dsh ecosystem: strict response validation, keychain-first key resolution, typed fail-open errors. Jev-optional by design. 作为 DSH 生态的底层依赖,为其他插件提供严格的决策模型调用与验证。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗key 解析顺序(keychain-first,配置零明文)
- 调用参数
apiKey - env
TYPESAFE_API_KEY - env
JEV_API_KEY - macOS 钥匙串:
JEV_KEYCHAIN='[:]'规格(默认服务typesafe.ai),security find-generic-password取值,按 spec 记忆化(改 key 重启生效)
钥匙串之外的任何取值失败都归为"无 key"(返回 null / isConfigured() === false),绝不抛错——缺 key 是配置状态不是错误。畸形 JEV_KEYCHAIN 规格在启动期用 parseKeychainSpec() 显式校验。