diff --git a/detection/toolmention/toolmention.go b/detection/toolmention/toolmention.go index 89ef46d..ecd6301 100644 --- a/detection/toolmention/toolmention.go +++ b/detection/toolmention/toolmention.go @@ -35,6 +35,7 @@ func init() { "JetBrains AI", "CodeRabbit", "ChatGPT", + "t3.chat", "GPT-4", "Windsurf", } diff --git a/detection/toolmention/toolmention_test.go b/detection/toolmention/toolmention_test.go index 212aff7..ded6712 100644 --- a/detection/toolmention/toolmention_test.go +++ b/detection/toolmention/toolmention_test.go @@ -69,6 +69,21 @@ func TestDetect(t *testing.T) { input: detection.Input{Text: "I asked ChatGPT for help"}, wantTools: []string{"ChatGPT"}, }, + { + name: "t3.chat mention", + input: detection.Input{Text: "I used t3.chat to compare model outputs"}, + wantTools: []string{"t3.chat"}, + }, + { + name: "t3.chat mention is case insensitive", + input: detection.Input{Text: "Generated with T3.CHAT"}, + wantTools: []string{"t3.chat"}, + }, + { + name: "t3.chat word boundary prevents partial match", + input: detection.Input{Text: "This mentions t3.chatty, not the tool"}, + wantTools: nil, + }, { name: "Windsurf mention", input: detection.Input{Text: "Written with Windsurf IDE"},