dsh-aigc-label

给 docx/xlsx/pptx 写入与查验 AIGC 隐式标识,即 Office 文件 docProps/custom.xml 里那条名为 AIGC 的属性,含 Label、ContentProducer、ProduceID。`aigc_label_write` 负责写入并回读确认,`aigc_label_check` 报出文件现在带了什么。服务提供者编码不内置——把别人的编码写进文件等于把这份内容的来源指向了别的主体,所以没有配置时它宁可拒绝写入,也不写一条残缺的标识。

插件介绍

给 docx/xlsx/pptx 写入与查验 AIGC 隐式标识,即 Office 文件 docProps/custom.xml 里那条名为 AIGC 的属性,含 Label、ContentProducer、ProduceID。`aigc_label_write` 负责写入并回读确认,`aigc_label_check` 报出文件现在带了什么。服务提供者编码不内置——把别人的编码写进文件等于把这份内容的来源指向了别的主体,所以没有配置时它宁可拒绝写入,也不写一条残缺的标识。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Lee2277-t/dsh-aigc-label

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。