Skip to content

发布规范:缺 src/tsconfig、README 无标准安装示例(plugin_check) #2

Description

@Andiii208

发布规范问题:缺 src/tsconfig、README 无标准安装示例(bundle 形态)

用 DSH 官方 plugin_check(@deepseek-ai/dsh-plugin-check)对本包体检(v0.4.0),发现以下问题:

verdict: fail
- no-source-entry: src/index.ts 缺失
- no-tsconfig: tsconfig.json 缺失或非法 JSON
warnings:
- incomplete-files: files 缺少 src
- no-build-script: 缺 scripts.build / scripts.prepack
- missing-profile-install-example: README 没有 `dsh plugin --profile <profile> add <plugin>` 示例
- manual-install-only: 无法通过标准 Profile Bundle 安装(缺 dsh.bundle.patch 或 README 无 dsh plugin --profile add 示例)

影响

  • clean checkout 无法复现构建;
  • 用户只能手动复制安装,无法走 DSH 标准 dsh plugin --profile ... add ... 安装路径,升级/管理不便。

建议

  • src/index.tstsconfig.jsonfiles 声明 libsrccordis.patch.yml
  • scripts.build / scripts.prepack
  • README 首位补标准安装命令 dsh plugin --profile <profile> add <plugin>(放在手动安装之前),或补 dsh.bundle.patch 支持标准 Profile Bundle 安装。

复现

plugin_check check <repo>

体检环境:DSH Desktop Web,Windows,v0.4.0。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions