lobstah-openclaw-plugin 0.6.10 → 0.7.1

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 +50 -50
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -48,52 +48,6 @@ function eventsPath(id, lane) {
48
48
  return path.join(laneDirs(lane).state, `${id}.events`);
49
49
  }
50
50
 
51
- // packages/core/dist/decisions.js
52
- var DECISION_DETAIL_MAX = 64 * 1024;
53
- var ANSWER_TYPES = {
54
- ".png": "image/png",
55
- ".jpg": "image/jpeg",
56
- ".jpeg": "image/jpeg",
57
- ".gif": "image/gif",
58
- ".webp": "image/webp",
59
- ".pdf": "application/pdf",
60
- ".txt": "text/plain",
61
- ".md": "text/markdown",
62
- ".csv": "text/csv",
63
- ".json": "application/json",
64
- ".log": "text/plain",
65
- ".diff": "text/plain",
66
- ".patch": "text/plain",
67
- ".yaml": "text/plain",
68
- ".yml": "text/plain",
69
- ".toml": "text/plain",
70
- ".zip": "application/zip"
71
- };
72
- var ANSWER_EXTENSIONS = Object.keys(ANSWER_TYPES);
73
-
74
- // packages/core/dist/config.js
75
- var DEFAULT_LIMITS = {
76
- maxConcurrent: 2,
77
- choreConcurrent: 1,
78
- wedgeThresholdSecs: 600,
79
- maxRestartAttempts: 2,
80
- wallClockSecs: 3600,
81
- pushEarly: true,
82
- draftPr: true,
83
- checkpointOnStop: true,
84
- backgroundWaitSecs: 1800,
85
- exitGraceSecs: 30,
86
- choreRetentionDays: 7,
87
- attachmentMaxBytes: 25 * 1024 * 1024,
88
- retentionDays: 0,
89
- minFreeGB: 0,
90
- reuseWorktree: true,
91
- releaseOnMerge: false
92
- };
93
-
94
- // packages/core/dist/disk.js
95
- var GB = 1024 ** 3;
96
-
97
51
  // packages/core/dist/queue.js
98
52
  import * as fs3 from "node:fs";
99
53
  import * as path2 from "node:path";
@@ -164,6 +118,56 @@ function requestCancel(id, lane) {
164
118
  fs3.writeFileSync(path2.join(laneDirs(lane).active, id, "cancel"), (/* @__PURE__ */ new Date()).toISOString());
165
119
  }
166
120
 
121
+ // packages/core/dist/config.js
122
+ var DEFAULT_LIMITS = {
123
+ maxConcurrent: 2,
124
+ choreConcurrent: 1,
125
+ wedgeThresholdSecs: 600,
126
+ maxRestartAttempts: 2,
127
+ wallClockSecs: 3600,
128
+ pushEarly: true,
129
+ draftPr: true,
130
+ checkpointOnStop: true,
131
+ backgroundWaitSecs: 1800,
132
+ exitGraceSecs: 30,
133
+ choreRetentionDays: 7,
134
+ attachmentMaxBytes: 25 * 1024 * 1024,
135
+ retentionDays: 0,
136
+ minFreeGB: 0,
137
+ reuseWorktree: true,
138
+ releaseOnMerge: false
139
+ };
140
+
141
+ // packages/core/dist/pr.js
142
+ var PR_VIEW_FIELDS = "title,state,isDraft,isCrossRepository,headRefOid,baseRefName,baseRefOid,headRefName,mergeStateStatus,reviewDecision,statusCheckRollup,mergedAt,closedAt,updatedAt,reviews";
143
+ var PR_VIEW_FIELDS_NO_CHECKS = PR_VIEW_FIELDS.split(",").filter((f) => f !== "statusCheckRollup").join(",");
144
+
145
+ // packages/core/dist/disk.js
146
+ var GB = 1024 ** 3;
147
+
148
+ // packages/core/dist/decisions.js
149
+ var DECISION_DETAIL_MAX = 64 * 1024;
150
+ var ANSWER_TYPES = {
151
+ ".png": "image/png",
152
+ ".jpg": "image/jpeg",
153
+ ".jpeg": "image/jpeg",
154
+ ".gif": "image/gif",
155
+ ".webp": "image/webp",
156
+ ".pdf": "application/pdf",
157
+ ".txt": "text/plain",
158
+ ".md": "text/markdown",
159
+ ".csv": "text/csv",
160
+ ".json": "application/json",
161
+ ".log": "text/plain",
162
+ ".diff": "text/plain",
163
+ ".patch": "text/plain",
164
+ ".yaml": "text/plain",
165
+ ".yml": "text/plain",
166
+ ".toml": "text/plain",
167
+ ".zip": "application/zip"
168
+ };
169
+ var ANSWER_EXTENSIONS = Object.keys(ANSWER_TYPES);
170
+
167
171
  // packages/core/dist/inbox.js
168
172
  import * as fs4 from "node:fs";
169
173
  import * as path3 from "node:path";
@@ -222,10 +226,6 @@ var COMPILED_BINARY = (() => {
222
226
  return bun !== void 0 && String(bun.main ?? "").includes("$bunfs");
223
227
  })();
224
228
 
225
- // packages/core/dist/pr.js
226
- var PR_VIEW_FIELDS = "title,state,isDraft,headRefOid,baseRefName,baseRefOid,headRefName,mergeStateStatus,reviewDecision,statusCheckRollup,mergedAt,closedAt,updatedAt,reviews";
227
- var PR_VIEW_FIELDS_NO_CHECKS = PR_VIEW_FIELDS.split(",").filter((f) => f !== "statusCheckRollup").join(",");
228
-
229
229
  // apps/node/src/tools.ts
230
230
  function text(payload, details = {}) {
231
231
  return { content: [{ type: "text", text: payload }], details };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lobstah-openclaw-plugin",
3
- "version": "0.6.10",
3
+ "version": "0.7.1",
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",