dsh-env-profile
DSH 全局经验插件(骨架):自动探测本地依赖/便捷路径/网络/磁盘并沉淀为跨会话环境档案,订阅 session/event 折叠每会话统计,把低开销摘要注入每轮系统提示,env_profile 工具按需查全量——减少重复探测、加快会话、降低 token 消耗。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Yvesgao/dsh-env-profile说明文档
阅读完整 README ↗配置
schema 见 index.js 的 Config,典型覆盖(profile 的 cordis.patch.yml):
- patch:
- id: env-profile
config:
injectMaxChars: 400 # 注入预算调小
probeIntervalHours: 24 # 探测更懒
networkHost: api.deepseek.com
trackSessions: true