Sev7eEn7/dsh-sieve--packages-dsh-sieve-web ↗★ 64

dsh-sieve-web

DSH Web panel for dsh-sieve: context reduction, judge status and ledger records 适合需要可视化管理dsh-sieve上下文缩减和判定状态的Web端用户。

パッケージ
dsh-sieve-web
互換性
未検証
Cordis ピア範囲
~4.0.5-alpha.1
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/10/10

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Sev7eEn7/dsh-sieve#5b437749c3ef6617bc16008527cbb9e93ea1c4ec&path:packages/dsh-sieve-web

ドキュメント

README 全文を読む ↗

Configuration

With Jev you need no configuration at all: the judge is auto and every decision is on; put a key in the credential store or the environment. To adjust anything, configure the sieve service in the profile's patch:

- id: sieve
  config:
    judge:
      type: auto           # auto | system-one | laya
      timeoutMs: 4000
    modes:
      default: active
      context.forget: off  # e.g. turn off forgetting alone
judge.typeDescription
auto (default)The Jev key in the DSH credential store or the environment (TYPESAFE_API_KEY first, then SIEVE_JUDGE_OPENROUTER_API_KEY); with neither, nothing changes
system-oneThe Jev endpoint named in the profile; needs apiKey (preferably !!js process.env.XXX), optional baseUrl and model (default jev-latest)
layaThe local Laya server; optional baseUrl (default http://127.0.0.1:47823), no key

modes sets each decision to active (default) or off; default covers the decisions not listed. Decision ids: tool.admission, tool.admission.test-log, context.forget, skills.disclosure.

Example with an explicit Jev endpoint:

- id: sieve
  config:
    judge:
      type: system-one
      apiKey: !!js process.env.MY_JUDGE_KEY
      baseUrl: https://
      model: jev-latest

An invalid configuration (an unknown decision id, say, or the removed llm judge settings) fails at load instead of silently falling back.