f-infinite-z/dsh-plugin-ops--packages-core ↗★ 0
dsh-plugin-ops-core
Shared engine for dsh-plugin-ops: profile readers, scan rules, fault memory, fix planner, panel API
AI 분석
核心用途是为 DSH 插件运维提供底层的静态扫描与故障修复规划能力。适合需要二次开发或集成 DSH 插件生命周期管理功能的开发者。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
dsh-plugin-ops-core
Shared engine for dsh-plugin-ops, the startup-lifecycle guard for DeepSeek Harness plugins: profile readers, the seven static scan rules, fault memory, the fix planner, the panel API, and the chat protocol shared by both panels.
Published as a self-contained single file (dist/index.js): every runtime
dependency is inlined, so importing it inside the harness plugin tree carries
no dependency-tree risk (a missing transitive peer would otherwise abort the
whole tree).
Install
npm i dsh-plugin-ops-core
Most users want the CLI (dsh-plugin-ops) or the embedded bundle
(dsh-plugin-ops-bundle) instead of the engine directly.
API
resolveDshPaths, scanProfile, handlePanelApi, readOpsConfig,
alignToLockfile, appendDisabledRow, readPatchFile, recentEvents,
resolveModelConfig, buildSystemPrompt, buildChatContext, ModelChannel, …
See lib/index.d.ts and the main repository documentation.
License
MIT