Yvesgao/dsh-env-profile1

dsh-env-profile

DSH 全局经验插件(骨架):自动探测本地依赖/便捷路径/网络/磁盘并沉淀为跨会话环境档案,订阅 session/event 折叠每会话统计,把低开销摘要注入每轮系统提示,env_profile 工具按需查全量——减少重复探测、加快会话、降低 token 消耗。

包名
dsh-env-profile
版本
0.1.1
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Yvesgao/dsh-env-profile

配置

schema 见 index.jsConfig,典型覆盖(profile 的 cordis.patch.yml):

- patch:
    - id: env-profile
      config:
        injectMaxChars: 400        # 注入预算调小
        probeIntervalHours: 24     # 探测更懒
        networkHost: api.deepseek.com
        trackSessions: true