helibeiqi/dsh-csp-runtime ↗★ 0

dsh-csp-runtime

跨框架互操作层,让 AI 思考状态可序列化、持久化与迁移 适合需跨 agent 迁移认知状态的开发者;捕获默认关闭,需配置 sources 与持久化路径

套件
dsh-csp-runtime
相容性
待驗證
Harness 依賴範圍
>=0.1.0
Cordis 依賴範圍
>=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。