xarleyn/dsh-plugins--plugins-dsh-cas-results ↗★ 1

@yadsh/dsh-cas-results

Content-addressed offload store for bulky DeepSeek Harness tool results 适合返回数据臃肿的会话链路,按阈值与目录配置 offload 行为

패키지
@yadsh/dsh-cas-results
호환성
미검증
Harness peer 범위
catalog:dsh
Cordis peer 범위
catalog:dsh
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 9. 13.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xarleyn/dsh-plugins#fd3cdd95651ec4eafe52d510751ba3aba3c9248d&path:plugins/dsh-cas-results

Configuration

Configuration lives in the plugin's composition entry (cordis.patch.yml override layers or profile patches). All fields are optional.

OptionTypeDefaultDescription
enabledbooleantrueMaster switch; false passes every result through.
storeDirstring""Store root; empty resolves to /storages/dsh-cas-results.
thresholds.textBytesnumber16384Offload threshold for generic text in bytes.
thresholds.htmlBytesnumber8192Offload threshold for HTML in bytes.
thresholds.logBytesnumber16384Offload threshold for log-like output in bytes.
preview.maxCharsnumber4096Character budget for preview bodies.
preview.keepHeadLinesnumber20Head lines kept in text/log previews.
preview.keepTailLinesnumber30Tail lines kept in text/log previews.
preview.keepPatternsstring[]error, warn, …Case-insensitive substrings kept from the middle of logs.
base64.enabledbooleantrueDecode and deduplicate base64/binary payloads.
base64.minCharsnumber8192Minimum candidate length before detection runs.
base64.requireStrongDetectionbooleantrueRequire data-URI context or binary evidence for raw candidates.
storage.compression"none" | "gzip" | "auto""auto"On-disk codec; identity is always computed over logical bytes.
storage.maxBytesnumber10737418240Logical-byte quota enforced by GC.
retrieval.defaultBytesnumber32768Default chunk size for dsh_cas_retrieve.
retrieval.maxBytesnumber262144Hard upper bound for one retrieval chunk.
gc.enabledbooleantrueRun background garbage collection.
gc.intervalMsnumber3600000GC interval in milliseconds.
gc.ttlMsnumber2592000000Objects untouched for this long become eligible.
gc.minAgeMsnumber86400000Routine GC never deletes objects younger than this.
includeErrorsbooleanfalseAlso preview oversized text inside failed results.
excludeToolsstring[]["write", "edit", "str_replace_editor"]Tools whose results are never transformed.
tools..thresholdBytesnumber—Per-tool offload threshold override.
tools..preview"auto" | "text" | "log" | "html""auto"Forced preview style for the tool.
tools..base64boolean—Per-tool base64 on/off override.
tools..disabledboolean—Skip transformation for this tool entirely.
exposeGcToolbooleanfalseRegister the model-facing dsh_cas_gc tool.