LoserFox/marisa-distro--plugins-dsh-git-identity7

@loserfox/git-identity

DSH Git 提交身份固定插件,通过注入环境变量强制使用环境自身作者身份进行提交。

AI 分析

核心用途是规范智能体在执行 Git 提交时的作者信息。适合需要确保智能体提交的代码正确关联到指定 GitHub 账号或 noreply 邮箱,避免身份混乱的团队。

套件
@loserfox/git-identity
版本
0.1.0
授權
MIT
最近更新
2026年8月25日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LoserFox/marisa-distro#4aa96256d0af09fa65e64679a1c7826342e9ded2&path:plugins/dsh-git-identity

配置


# 在 bundle 的 patch 里给行加 config(可选;不配置则按上述优先级自动解析)
- insert:
    - id: git-identity
      name: '@loserfox/git-identity'
      config:
        name: LoserFox
        email: 57448027+LoserFox@users.noreply.github.com

开发

编辑 index.mjs 后无需构建(纯 ESM,零依赖)。package.jsondsh.bundle.patch 声明本包是一个 profile bundle;cordis.patch.yml 是它贡献的 组合层。