BPTumbleweed/dsh-pin-session ↗★ 0

dsh-pin-session

DSH「置顶对话」插件:会话头部与会话行内一键 📌,把重要对话钉在侧栏分组顶部;宿主端只存事实(原子写 JSON + 信任栅栏内的 HTTP 接口),排序由客户端在 DOM 层完成。零运行时依赖、能力探测与熔断、面向跨版本升级设计。 适合会话列表较长,需要将核心对话固定在顶部方便访问的用户。

패키지
dsh-pin-session
호환성
미검증
버전
0.1.1
라이선스
MIT
최근 업데이트
2026. 9. 16.

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

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:BPTumbleweed/dsh-pin-session

配置(profile patch 覆盖)

- id: dsh-pin-session
  config:
    storeRoot: /path/to/pin-data   # 默认 $DSH_HOME/dsh-pin-session
    routePrefix: /dsh-pin          # 接口与面板前缀
    maxPins: 100                   # 置顶上限
    breakerThreshold: 5            # 同一能力连续失败几次后熔断
    allowUnfenced: false           # 栅栏不可用时是否放行(默认 false = fail-closed)