Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

fix(tooling): 署名名单登记 opencode,glm 写的提交能按真名收

longmeidao3d03d3101f49
diff --git a/scripts/co_author.py b/scripts/co_author.py
index f1dccb0ba..ecb8d62c1 100644
--- a/scripts/co_author.py
+++ b/scripts/co_author.py
@@ -11,6 +11,7 @@ from .check_readme_impact import git
VENDORS = {
"Claude Code": "[email protected]",
"Codex": "[email protected]",
+ "opencode": "[email protected]",
}
#: 署名形态:`工具 (模型 版本) <厂商 noreply>`。括号里那一段是重点——同一个工具换代
diff --git a/tests/test_agent_worktree.py b/tests/test_agent_worktree.py
index b98253b5c..65f339d70 100644
--- a/tests/test_agent_worktree.py
+++ b/tests/test_agent_worktree.py
@@ -450,6 +450,8 @@ class CoAuthorTests(unittest.TestCase):
self.signed("Co-Authored-By: Claude Code (Opus 5) <[email protected]>"), [])
self.assertEqual(
self.signed("Co-Authored-By: Codex (GPT-5.5) <[email protected]>"), [])
+ self.assertEqual(
+ self.signed("Co-Authored-By: opencode (GLM 5.3 Flash) <[email protected]>"), [])
def test_an_address_that_does_not_belong_to_the_tool_is_rejected(self):
self.assertTrue(self.signed("Co-Authored-By: Codex (GPT-5.5) <[email protected]>"))