shraga 0.1.8 → 0.1.10

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/README.md CHANGED
@@ -9,8 +9,8 @@
9
9
 
10
10
  </div>
11
11
 
12
- Shraga is a self-hostable, multi-user agent harness that joins your team as a teammate (Claude Code
13
- out of the box, with a pluggable engine seam for other runtimes), reachable from anywhere: your
12
+ Shraga is a self-hostable, multi-user agent harness that joins your team as a NHE (Non Human Employee). Claude Code
13
+ out of the box, with a pluggable engine seam for other runtimes, reachable from anywhere: your
14
14
  laptop, a home server, or a VM.
15
15
 
16
16
  Give it its own machine, its own keys, its own identity. Onboard it once, then delegate.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shraga",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
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;