helibeiqi/dsh-csp-runtime ↗★ 0

dsh-csp-runtime

Cognitive State Protocol (CSP) v0.1 — the cross-framework interop layer that makes AI thinking state serializable, persistable, and transferable. Host-side Cordis plugin for the DSH ecosystem. 适合需跨 agent 迁移认知状态的开发者;捕获默认关闭,需配置 sources 与持久化路径

패키지
dsh-csp-runtime
호환성
미검증
Harness peer 범위
>=0.1.0
Cordis peer 범위
>=0.1.0
버전
0.2.0
라이선스
MIT
최근 업데이트
2026. 8. 28.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:helibeiqi/dsh-csp-runtime

配置字段

插件 config 仅允许以下 5 个顶层字段(多出的字段会被 console.warn 并忽略):

字段类型默认值说明
sources{ statesDir?: string }./csp-statesCSP 状态来源目录
capture{ enabled: boolean; autoInstrumentTools: boolean }{ enabled: false, autoInstrumentTools: false }捕获策略(默认关闭,零开销)
persistence{ enabled: boolean; path: string; format: 'json' }{ enabled: true, path: './csp-states', format: 'json' }文件持久化后端
handoff{ enabled: boolean; tokenTtlSeconds: number }{ enabled: true, tokenTtlSeconds: 3600 }交接令牌配置
interop{ dshExport: boolean; genericImport: boolean }{ dshExport: true, genericImport: true }跨框架导入/导出

服务注册:本插件仅注册 ctx.provide('cspStore', store),禁用 cdpRegistry / universalAdapter / intentNetwork。