返回目录
模型与 MCP 插件

dsh-preflight

lengrufeng2008/dsh-preflight

Static package-surface preflight for DSH plugin bundles.

Stars
0
Forks
0
Issues
0
更新
22 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:lengrufeng2008/dsh-preflight

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

Plugin Preflight for DSH

A small static preflight for DSH plugin packages. It catches the mistakes that make a bundle fail review: missing bundle patch, lifecycle scripts, stray logs/binaries, broken skill frontmatter.

Use

node bin/dsh-preflight.mjs /path/to/plugin
node bin/dsh-preflight.mjs /path/to/plugin --json
node bin/dsh-preflight.mjs --tarball /path/to/package.tgz

The tarball mode checks the actual npm pack output: required files, bundle patch, lifecycle scripts, unsupported entries, and test//dist/ residue.

In DSH:

Use plugin_preflight on /path/to/plugin.

Scope

  • Static package surface only
  • No install, boot, runtime, signature, or security test
  • A PASS is not a safety certificate

Tests

npm test

Provenance

Inspired by DSH-Store's static precheck; this is an independent small implementation. No store source code is copied. License: MIT.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。