lobstah-openclaw-plugin 0.5.7 → 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.
Files changed (2) hide show
  1. package/dist/index.js +7 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -93,7 +93,11 @@ function enqueue(d, lane = "work") {
93
93
  throw new Error("descriptor requires id, repo, and brief");
94
94
  }
95
95
  const inherited = d.followUp && d.attachments === void 0 ? storedDescriptor(d.followUp, "work")?.attachments ?? storedDescriptor(d.followUp, "chore")?.attachments : void 0;
96
- const descriptor = inherited?.length ? { ...d, attachments: inherited } : d;
96
+ const descriptor = {
97
+ ...d,
98
+ ...inherited?.length ? { attachments: inherited } : {},
99
+ queuedAt: d.queuedAt ?? (/* @__PURE__ */ new Date()).toISOString()
100
+ };
97
101
  atomicWrite(path2.join(laneDirs(lane).queue, `${d.id}.json`), JSON.stringify(descriptor, null, 2));
98
102
  }
99
103
  function storedDescriptor(id, lane) {
@@ -235,6 +239,8 @@ function dispatchTool() {
235
239
  effort: param(params, "effort"),
236
240
  followUp: param(params, "followUp")
237
241
  };
242
+ if (d.harness) d.harnessExplicit = true;
243
+ if (d.model) d.modelExplicit = true;
238
244
  enqueue(d, "work");
239
245
  return text(toonKV({ id: d.id, repo, queued: (/* @__PURE__ */ new Date()).toISOString() }), { id: d.id });
240
246
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lobstah-openclaw-plugin",
3
- "version": "0.5.7",
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",