@oakgreencc/cambium 0.0.29 → 0.0.30
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 +1 -1
- package/src/launchd.mjs +12 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oakgreencc/cambium",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.30",
|
|
4
4
|
"description": "The scheduler daemon: reads the q:* queues from GitHub every tick, runs headless claude workers in their own worktrees up to a cap, and makes every queue transition itself.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"type": "module",
|
package/src/launchd.mjs
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
// @ts-check
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* The launchd agent: KeepAlive restarts the daemon whenever it exits.
|
|
4
|
+
*
|
|
5
|
+
* Workers inherit the daemon's launchd context. `ProcessType` Background throttles the whole tree
|
|
6
|
+
* (builds, test runs) to background QoS, so it is Standard. launchd sets no locale, and CocoaPods
|
|
7
|
+
* fails under the ASCII-8BIT default, so LANG and LC_ALL are set here.
|
|
8
|
+
*/
|
|
3
9
|
import { join } from 'node:path'
|
|
4
10
|
|
|
5
11
|
export const LABEL = 'com.oakgreencc.cambium'
|
|
@@ -29,7 +35,7 @@ ${args}
|
|
|
29
35
|
<key>ThrottleInterval</key>
|
|
30
36
|
<integer>30</integer>
|
|
31
37
|
<key>ProcessType</key>
|
|
32
|
-
<string>
|
|
38
|
+
<string>Standard</string>
|
|
33
39
|
<key>WorkingDirectory</key>
|
|
34
40
|
<string>${xml(home)}</string>
|
|
35
41
|
<key>EnvironmentVariables</key>
|
|
@@ -38,6 +44,10 @@ ${args}
|
|
|
38
44
|
<string>${xml(path)}</string>
|
|
39
45
|
<key>HOME</key>
|
|
40
46
|
<string>${xml(home)}</string>
|
|
47
|
+
<key>LANG</key>
|
|
48
|
+
<string>en_US.UTF-8</string>
|
|
49
|
+
<key>LC_ALL</key>
|
|
50
|
+
<string>en_US.UTF-8</string>
|
|
41
51
|
</dict>
|
|
42
52
|
<key>StandardOutPath</key>
|
|
43
53
|
<string>/dev/null</string>
|