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 分析

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

パッケージ
dsh-plugin-ops-core
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/09/10

インストール

検証済み 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