f-infinite-z/dsh-plugin-ops--packages-core0

dsh-plugin-ops-core

dsh-plugin-ops 的共享引擎,包含配置读取、静态扫描规则、故障记忆、修复规划器及面板 API。

AI 分析

核心用途是为 DSH 插件运维提供底层的静态扫描与故障修复规划能力。适合需要二次开发或集成 DSH 插件生命周期管理功能的开发者。

套件
dsh-plugin-ops-core
版本
0.2.0
授權
MIT
最近更新
2026年9月10日

安裝

此插件尚未提供可驗證的 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