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

dsh-plugin-ops-core

Shared engine for dsh-plugin-ops: profile readers, scan rules, fault memory, fix planner, panel API

AI Analysis

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

Package
dsh-plugin-ops-core
Version
0.2.0
License
MIT
Last updated
Sep 10, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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