@riddledc/openclaw-riddledc 0.9.5 → 0.9.6
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/CHECKSUMS.txt +4 -4
- package/dist/{chunk-UTJTPSHW.js → chunk-ZNO6NNKO.js} +15 -0
- package/dist/core.cjs +15 -0
- package/dist/core.js +1 -1
- package/dist/index.js +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/CHECKSUMS.txt
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
c6ac3162f44cefd3bdf39030780ca7e90812d2f9f72064f6f6946c3d4592b4f3 dist/chunk-ZNO6NNKO.js
|
|
2
|
+
e50d40eafee4081213bfe42ec6e77e9ef58c4f383c0c966df5512f28a8144a68 dist/core.cjs
|
|
3
3
|
d6e158722c91097e647d712652cc6bd26792aecf2ff6f990b0a5bf4dfa323aa2 dist/core.d.cts
|
|
4
4
|
d6e158722c91097e647d712652cc6bd26792aecf2ff6f990b0a5bf4dfa323aa2 dist/core.d.ts
|
|
5
|
-
|
|
5
|
+
2ce75cbb7701f3a0cb1a0adcbe4c53e5062a540ef7cf7517b470908071c86d67 dist/core.js
|
|
6
6
|
3d1abeb96c6539cf6e801b8632657a110a3f9767b4b6d51e1c8b419ef5fd94c2 dist/index.cjs
|
|
7
7
|
94ce04f0e2d84bf64dd68f0500dfdd2f951287a3deccec87f197261961927f6f dist/index.d.cts
|
|
8
8
|
94ce04f0e2d84bf64dd68f0500dfdd2f951287a3deccec87f197261961927f6f dist/index.d.ts
|
|
9
|
-
|
|
9
|
+
0effe0fdd362247d9186a419604b2696b6955f25b2ceda6ba3360742db46881f dist/index.js
|
|
@@ -276,6 +276,7 @@ async function fetchArtifactsAndBuild(config, jobId, include) {
|
|
|
276
276
|
const data = await res.json();
|
|
277
277
|
const artifacts = data.artifacts || [];
|
|
278
278
|
const result = {};
|
|
279
|
+
result.outputs = artifacts;
|
|
279
280
|
if (data.status) result._artifactsStatus = data.status;
|
|
280
281
|
if (data.timeout) result._timeout = data.timeout;
|
|
281
282
|
if (data.error) result._error = data.error;
|
|
@@ -322,6 +323,20 @@ async function fetchArtifactsAndBuild(config, jobId, include) {
|
|
|
322
323
|
} catch {
|
|
323
324
|
}
|
|
324
325
|
}
|
|
326
|
+
const visualDiffArtifact = artifacts.find((a) => a.name === "visual-diff.json");
|
|
327
|
+
if (include.includes("visual_diff") && visualDiffArtifact?.url) {
|
|
328
|
+
try {
|
|
329
|
+
const vRes = await fetch(visualDiffArtifact.url);
|
|
330
|
+
if (vRes.ok) {
|
|
331
|
+
result.visual_diff = await vRes.json();
|
|
332
|
+
}
|
|
333
|
+
} catch {
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
const visualDiffImages = artifacts.filter((a) => /^visual-diff.*\.(png|jpg|jpeg)$/i.test(a.name || ""));
|
|
337
|
+
if (visualDiffImages.length > 0) {
|
|
338
|
+
result.visual_diff_images = visualDiffImages;
|
|
339
|
+
}
|
|
325
340
|
if (include.includes("har")) {
|
|
326
341
|
const harArtifact = artifacts.find((a) => a.name === "network.har");
|
|
327
342
|
if (harArtifact?.url) {
|
package/dist/core.cjs
CHANGED
|
@@ -317,6 +317,7 @@ async function fetchArtifactsAndBuild(config, jobId, include) {
|
|
|
317
317
|
const data = await res.json();
|
|
318
318
|
const artifacts = data.artifacts || [];
|
|
319
319
|
const result = {};
|
|
320
|
+
result.outputs = artifacts;
|
|
320
321
|
if (data.status) result._artifactsStatus = data.status;
|
|
321
322
|
if (data.timeout) result._timeout = data.timeout;
|
|
322
323
|
if (data.error) result._error = data.error;
|
|
@@ -363,6 +364,20 @@ async function fetchArtifactsAndBuild(config, jobId, include) {
|
|
|
363
364
|
} catch {
|
|
364
365
|
}
|
|
365
366
|
}
|
|
367
|
+
const visualDiffArtifact = artifacts.find((a) => a.name === "visual-diff.json");
|
|
368
|
+
if (include.includes("visual_diff") && visualDiffArtifact?.url) {
|
|
369
|
+
try {
|
|
370
|
+
const vRes = await fetch(visualDiffArtifact.url);
|
|
371
|
+
if (vRes.ok) {
|
|
372
|
+
result.visual_diff = await vRes.json();
|
|
373
|
+
}
|
|
374
|
+
} catch {
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
const visualDiffImages = artifacts.filter((a) => /^visual-diff.*\.(png|jpg|jpeg)$/i.test(a.name || ""));
|
|
378
|
+
if (visualDiffImages.length > 0) {
|
|
379
|
+
result.visual_diff_images = visualDiffImages;
|
|
380
|
+
}
|
|
366
381
|
if (include.includes("har")) {
|
|
367
382
|
const harArtifact = artifacts.find((a) => a.name === "network.har");
|
|
368
383
|
if (harArtifact?.url) {
|
package/dist/core.js
CHANGED
package/dist/index.js
CHANGED
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "openclaw-riddledc",
|
|
3
3
|
"name": "Riddle",
|
|
4
4
|
"description": "Riddle (riddledc.com) hosted browser API tools for OpenClaw agents.",
|
|
5
|
-
"version": "0.9.
|
|
5
|
+
"version": "0.9.6",
|
|
6
6
|
"notes": "0.8.0: Added riddle_build_preview for Dockerfile-based builds with image caching.",
|
|
7
7
|
"type": "plugin",
|
|
8
8
|
"bundledSkills": [],
|