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
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 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