lobstah-openclaw-plugin 0.5.7 → 0.5.10

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 +8 -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) {
@@ -156,6 +160,7 @@ var DEFAULT_LIMITS = {
156
160
  wedgeThresholdSecs: 600,
157
161
  maxRestartAttempts: 2,
158
162
  wallClockSecs: 3600,
163
+ backgroundWaitSecs: 1800,
159
164
  choreRetentionDays: 7,
160
165
  attachmentMaxBytes: 25 * 1024 * 1024
161
166
  };
@@ -235,6 +240,8 @@ function dispatchTool() {
235
240
  effort: param(params, "effort"),
236
241
  followUp: param(params, "followUp")
237
242
  };
243
+ if (d.harness) d.harnessExplicit = true;
244
+ if (d.model) d.modelExplicit = true;
238
245
  enqueue(d, "work");
239
246
  return text(toonKV({ id: d.id, repo, queued: (/* @__PURE__ */ new Date()).toISOString() }), { id: d.id });
240
247
  }
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.10",
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",