@riddledc/openclaw-riddledc 0.9.0 → 0.9.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.
- package/CHECKSUMS.txt +2 -2
- package/dist/index.cjs +11 -1
- package/dist/index.js +11 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/CHECKSUMS.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
996a69af4c40f933ca0a50c02d2a40e1a7764298f0f06ca94f3873cfb706882e dist/index.cjs
|
|
2
2
|
94ce04f0e2d84bf64dd68f0500dfdd2f951287a3deccec87f197261961927f6f dist/index.d.cts
|
|
3
3
|
94ce04f0e2d84bf64dd68f0500dfdd2f951287a3deccec87f197261961927f6f dist/index.d.ts
|
|
4
|
-
|
|
4
|
+
2c4eb688c5bb72f2abdde8a07a1c7cf33525fc6c432174311e0d1b7ff5593fc4 dist/index.js
|
package/dist/index.cjs
CHANGED
|
@@ -1299,13 +1299,23 @@ function register(api) {
|
|
|
1299
1299
|
url: import_typebox.Type.Optional(import_typebox.Type.String({ description: "URL to navigate to" })),
|
|
1300
1300
|
script: import_typebox.Type.Optional(import_typebox.Type.String({ description: "Playwright script to execute" })),
|
|
1301
1301
|
steps: import_typebox.Type.Optional(import_typebox.Type.Array(import_typebox.Type.Any(), { description: "Declarative steps (alternative to script)" })),
|
|
1302
|
-
timeout_sec: import_typebox.Type.Optional(import_typebox.Type.Number({ description: "Max execution time in seconds (default: 60)" }))
|
|
1302
|
+
timeout_sec: import_typebox.Type.Optional(import_typebox.Type.Number({ description: "Max execution time in seconds (default: 60)" })),
|
|
1303
|
+
stealth: import_typebox.Type.Optional(import_typebox.Type.Boolean({ description: "Enable stealth mode (Patchright) to bypass bot detection (Cloudflare, Vercel, Datadome). Default: false" })),
|
|
1304
|
+
custom_storage: import_typebox.Type.Optional(import_typebox.Type.Object({
|
|
1305
|
+
bucket: import_typebox.Type.String(),
|
|
1306
|
+
region: import_typebox.Type.Optional(import_typebox.Type.String()),
|
|
1307
|
+
prefix: import_typebox.Type.Optional(import_typebox.Type.String()),
|
|
1308
|
+
cdn_domain: import_typebox.Type.Optional(import_typebox.Type.String()),
|
|
1309
|
+
role_arn: import_typebox.Type.Optional(import_typebox.Type.String())
|
|
1310
|
+
}, { description: "BYOB storage config" }))
|
|
1303
1311
|
}),
|
|
1304
1312
|
async execute(_id, params) {
|
|
1305
1313
|
const { apiKey, baseUrl } = getCfg(api);
|
|
1306
1314
|
if (!apiKey) return { content: [{ type: "text", text: JSON.stringify({ ok: false, error: "Missing Riddle API key." }, null, 2) }] };
|
|
1307
1315
|
assertAllowedBaseUrl(baseUrl);
|
|
1308
1316
|
const payload = { timeout_sec: params.timeout_sec || 60 };
|
|
1317
|
+
if (params.stealth) payload.stealth = true;
|
|
1318
|
+
if (params.custom_storage) payload.custom_storage = params.custom_storage;
|
|
1309
1319
|
if (params.script) {
|
|
1310
1320
|
payload.script = params.script;
|
|
1311
1321
|
payload.url = params.url;
|
package/dist/index.js
CHANGED
|
@@ -1275,13 +1275,23 @@ function register(api) {
|
|
|
1275
1275
|
url: Type.Optional(Type.String({ description: "URL to navigate to" })),
|
|
1276
1276
|
script: Type.Optional(Type.String({ description: "Playwright script to execute" })),
|
|
1277
1277
|
steps: Type.Optional(Type.Array(Type.Any(), { description: "Declarative steps (alternative to script)" })),
|
|
1278
|
-
timeout_sec: Type.Optional(Type.Number({ description: "Max execution time in seconds (default: 60)" }))
|
|
1278
|
+
timeout_sec: Type.Optional(Type.Number({ description: "Max execution time in seconds (default: 60)" })),
|
|
1279
|
+
stealth: Type.Optional(Type.Boolean({ description: "Enable stealth mode (Patchright) to bypass bot detection (Cloudflare, Vercel, Datadome). Default: false" })),
|
|
1280
|
+
custom_storage: Type.Optional(Type.Object({
|
|
1281
|
+
bucket: Type.String(),
|
|
1282
|
+
region: Type.Optional(Type.String()),
|
|
1283
|
+
prefix: Type.Optional(Type.String()),
|
|
1284
|
+
cdn_domain: Type.Optional(Type.String()),
|
|
1285
|
+
role_arn: Type.Optional(Type.String())
|
|
1286
|
+
}, { description: "BYOB storage config" }))
|
|
1279
1287
|
}),
|
|
1280
1288
|
async execute(_id, params) {
|
|
1281
1289
|
const { apiKey, baseUrl } = getCfg(api);
|
|
1282
1290
|
if (!apiKey) return { content: [{ type: "text", text: JSON.stringify({ ok: false, error: "Missing Riddle API key." }, null, 2) }] };
|
|
1283
1291
|
assertAllowedBaseUrl(baseUrl);
|
|
1284
1292
|
const payload = { timeout_sec: params.timeout_sec || 60 };
|
|
1293
|
+
if (params.stealth) payload.stealth = true;
|
|
1294
|
+
if (params.custom_storage) payload.custom_storage = params.custom_storage;
|
|
1285
1295
|
if (params.script) {
|
|
1286
1296
|
payload.script = params.script;
|
|
1287
1297
|
payload.url = params.url;
|
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.1",
|
|
6
6
|
"notes": "0.8.0: Added riddle_build_preview for Dockerfile-based builds with image caching.",
|
|
7
7
|
"type": "plugin",
|
|
8
8
|
"bundledSkills": [],
|