shraga 0.1.8 → 0.1.9

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shraga",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "The teammate you delegate coding to — a self-hostable, multi-user AI coding agent web UI (Claude Code, with a pluggable engine seam).",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -28,7 +28,10 @@ const isDownloadable = (f: { url_private?: string; mimetype?: string; size?: num
28
28
  !!(f.url_private && f.mimetype) &&
29
29
  (isSupportedFile(f as any) || (!SUPPORTED_FILE_MIMES.has(f.mimetype) && (f.size ?? 0) <= MAX_DOWNLOAD_SIZE));
30
30
 
31
- const AGENT_CHANNEL = 'C0AT9K7AXEZ';
31
+ // The "agent channel" gets summon rules beyond @mentions (auto-respond / owned-thread follow-ups).
32
+ // Configure per workspace via SLACK_AGENT_CHANNEL (a channel id); empty means no special channel,
33
+ // so a drop-in bot responds only to @mentions and DMs.
34
+ const AGENT_CHANNEL = process.env.SLACK_AGENT_CHANNEL || '';
32
35
  const SLACK_UID = 'slack-bot';
33
36
 
34
37
  type Broadcast = (data: object) => void;