@riddledc/openclaw-riddledc 0.8.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 CHANGED
@@ -1,4 +1,4 @@
1
- 73579dcc6d9a149e5af0393db55cc09ea8f577a7902ab5271d30d1fb5606990e dist/index.cjs
1
+ 996a69af4c40f933ca0a50c02d2a40e1a7764298f0f06ca94f3873cfb706882e dist/index.cjs
2
2
  94ce04f0e2d84bf64dd68f0500dfdd2f951287a3deccec87f197261961927f6f dist/index.d.cts
3
3
  94ce04f0e2d84bf64dd68f0500dfdd2f951287a3deccec87f197261961927f6f dist/index.d.ts
4
- 4b2ea1733e0fed32177f31fc850703b9c888ea8d69dd66ce83907f2c8b758855 dist/index.js
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;
@@ -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.8.0",
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": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riddledc/openclaw-riddledc",
3
- "version": "0.8.0",
3
+ "version": "0.9.1",
4
4
  "description": "OpenClaw integration package for RiddleDC (no secrets).",
5
5
  "license": "MIT",
6
6
  "author": "RiddleDC",