dsh-buddy-guard:修復 CodeBuddy 通道在 DSH 下的 HTTP 400
在 DeepSeek Harness 中使用騰訊 CodeBuddy 的 buddy 通道時,DSH 默認 system 提示詞以「You are an AI agent powered by DeepSeek Harness.」開頭會觸發上游前綴校驗,導致每輪 HTTP 400 與 Illegal API invocation from an unapproved channel。社區插件 dsh-buddy-guard(AsterLuo,v0.1.0)監聽 system-prompt/assemble,爲首個非空 section 添加前導空格以繞過匹配。本文介紹根因、安裝命令、配置項與驗證步驟,並說明繞過校驗、規則可變及 workbuddy 替代等注意事項。
閱讀全文