opencode-claw 0.2.0 → 0.2.1

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.
@@ -18,7 +18,7 @@ function rejection(config, channel) {
18
18
  }
19
19
  function checkAllowlist(config, msg) {
20
20
  const list = allowlist(config, msg.channel);
21
- if (!list)
21
+ if (!list || list.length === 0)
22
22
  return true;
23
23
  return list.includes(msg.peerId);
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-claw",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Wrap OpenCode with persistent memory, messaging channels, and cron jobs",
5
5
  "license": "MIT",
6
6
  "type": "module",