wx-holmes/dsh-blackhole ↗★ 0

dsh-blackhole

黑洞插件:压缩即归档。到事件视界压缩,原文逐字进 self,索引卡做检索入口。

패키지
dsh-blackhole
호환성
미검증
버전
0.1.0
최근 업데이트
2026. 11. 5.

같은 패키지 이름의 다른 저장소

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wx-holmes/dsh-blackhole

配置

- insert:
    - id: blackhole
      name: dsh-blackhole
      config:
        eventHorizon: 0.6        # 事件视界
        solidifyLine: 0.75       # 固化线
        hardCap: 0.9             # 硬上限
        thresholdRatio: 0.6
        retainRatio: 0.16        # 保留近期内容不压
        archiveRoot: "D:\\archive\\context"   # 原文真源(改成你自己的目录)
        stateRoot: "D:\\archive\\state"       # 插件状态/缓存(可重建)
        pendingTtlMs: 600000
        minCompactEvents: 2
        minCompactTokens: 2000

archiveRoot 是原文的家,建议放在你不想丢的盘上;stateRoot 丢了可以重建。