opencode-pilot 0.16.1 → 0.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/service/utils.js +5 -0
package/package.json
CHANGED
package/service/utils.js
CHANGED
|
@@ -61,6 +61,11 @@ export function isBot(username, type) {
|
|
|
61
61
|
// Check for [bot] suffix in username
|
|
62
62
|
if (username.toLowerCase().endsWith("[bot]")) return true;
|
|
63
63
|
|
|
64
|
+
// Known bot usernames without [bot] suffix
|
|
65
|
+
// Note: 'Copilot' is intentionally NOT included - Copilot review feedback is actionable
|
|
66
|
+
const knownBots = ['linear'];
|
|
67
|
+
if (knownBots.includes(username.toLowerCase())) return true;
|
|
68
|
+
|
|
64
69
|
return false;
|
|
65
70
|
}
|
|
66
71
|
|