lobstah-openclaw-plugin 0.5.5 → 0.5.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/dist/index.js +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37,6 +37,7 @@ function ensureLayout() {
|
|
|
37
37
|
}
|
|
38
38
|
fs.mkdirSync(path.join(lobstahHome(), "worktrees"), { recursive: true });
|
|
39
39
|
fs.mkdirSync(path.join(lobstahHome(), "watches"), { recursive: true });
|
|
40
|
+
fs.mkdirSync(path.join(lobstahHome(), "watchers"), { recursive: true });
|
|
40
41
|
fs.mkdirSync(path.join(lobstahHome(), "soaking"), { recursive: true });
|
|
41
42
|
fs.mkdirSync(path.join(lobstahHome(), "helm", ".relieved"), { recursive: true });
|
|
42
43
|
}
|
|
@@ -92,7 +93,11 @@ function enqueue(d, lane = "work") {
|
|
|
92
93
|
throw new Error("descriptor requires id, repo, and brief");
|
|
93
94
|
}
|
|
94
95
|
const inherited = d.followUp && d.attachments === void 0 ? storedDescriptor(d.followUp, "work")?.attachments ?? storedDescriptor(d.followUp, "chore")?.attachments : void 0;
|
|
95
|
-
const descriptor =
|
|
96
|
+
const descriptor = {
|
|
97
|
+
...d,
|
|
98
|
+
...inherited?.length ? { attachments: inherited } : {},
|
|
99
|
+
queuedAt: d.queuedAt ?? (/* @__PURE__ */ new Date()).toISOString()
|
|
100
|
+
};
|
|
96
101
|
atomicWrite(path2.join(laneDirs(lane).queue, `${d.id}.json`), JSON.stringify(descriptor, null, 2));
|
|
97
102
|
}
|
|
98
103
|
function storedDescriptor(id, lane) {
|
|
@@ -234,6 +239,8 @@ function dispatchTool() {
|
|
|
234
239
|
effort: param(params, "effort"),
|
|
235
240
|
followUp: param(params, "followUp")
|
|
236
241
|
};
|
|
242
|
+
if (d.harness) d.harnessExplicit = true;
|
|
243
|
+
if (d.model) d.modelExplicit = true;
|
|
237
244
|
enqueue(d, "work");
|
|
238
245
|
return text(toonKV({ id: d.id, repo, queued: (/* @__PURE__ */ new Date()).toISOString() }), { id: d.id });
|
|
239
246
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lobstah-openclaw-plugin",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
4
|
"description": "OpenClaw plugin for lobstah: gives fleet agents dispatch/status/send/cancel tools and operators a /lobstah command.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "aequitas labs LLC",
|