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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/service/utils.js +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-pilot",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "type": "module",
5
5
  "main": "plugin/index.js",
6
6
  "description": "Automation daemon for OpenCode - polls for work and spawns sessions",
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