shraga 0.1.82 → 0.1.83
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.
|
|
3
|
+
"version": "0.1.83",
|
|
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",
|
|
@@ -239,6 +239,11 @@ export async function startJob(owner: JobOwner, command: string): Promise<string
|
|
|
239
239
|
// so one started in the foreground orphans silently when its 60s tool call is killed.
|
|
240
240
|
SHRAGA_JOB_ID: id,
|
|
241
241
|
SHRAGA_BG_JOB: '1',
|
|
242
|
+
// The owning session, so a launcher never has to be HANDED it. A model writing the command
|
|
243
|
+
// has to remember `export` for a var to survive into `sh script.sh`; a plain assignment
|
|
244
|
+
// silently doesn't, which failed every scheduled social run for a day. The runner already
|
|
245
|
+
// knows whose job this is — passing it removes the caller from the loop entirely.
|
|
246
|
+
SHRAGA_SESSION_ID: owner.sessionId,
|
|
242
247
|
},
|
|
243
248
|
detached: true, stdio: ['ignore', fd, fd],
|
|
244
249
|
});
|