@ouro.bot/cli 0.1.0-alpha.545 → 0.1.0-alpha.546
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/changelog.json +6 -0
- package/dist/heart/daemon/os-cron.js +4 -1
- package/package.json +1 -1
package/changelog.json
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.546",
|
|
6
|
+
"changes": [
|
|
7
|
+
"Launchd habit sync now leaves the daemon launch agent plist alone, preventing the daemon from booting out its own `bot.ouro.daemon` service during startup."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
4
10
|
{
|
|
5
11
|
"version": "0.1.0-alpha.545",
|
|
6
12
|
"changes": [
|
|
@@ -43,6 +43,7 @@ exports.crontabLine = crontabLine;
|
|
|
43
43
|
const os = __importStar(require("os"));
|
|
44
44
|
const runtime_1 = require("../../nerves/runtime");
|
|
45
45
|
const PLIST_PREFIX = "bot.ouro.";
|
|
46
|
+
const DAEMON_PLIST_FILENAME = "bot.ouro.daemon.plist";
|
|
46
47
|
function plistLabel(job) {
|
|
47
48
|
return `${PLIST_PREFIX}${job.agent}.${job.taskId}`;
|
|
48
49
|
}
|
|
@@ -176,7 +177,9 @@ class LaunchdCronManager {
|
|
|
176
177
|
listPlistFiles() {
|
|
177
178
|
if (!this.deps.existsFile(this.launchAgentsDir))
|
|
178
179
|
return [];
|
|
179
|
-
return this.deps.listDir(this.launchAgentsDir).filter((f) => f.startsWith(PLIST_PREFIX) &&
|
|
180
|
+
return this.deps.listDir(this.launchAgentsDir).filter((f) => f.startsWith(PLIST_PREFIX) &&
|
|
181
|
+
f.endsWith(".plist") &&
|
|
182
|
+
f !== DAEMON_PLIST_FILENAME);
|
|
180
183
|
}
|
|
181
184
|
}
|
|
182
185
|
exports.LaunchdCronManager = LaunchdCronManager;
|