@riddledc/openclaw-riddledc 0.9.7 → 0.9.9
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 +5 -5
- package/dist/{chunk-ZNO6NNKO.js → chunk-LNRZFOTL.js} +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/CHECKSUMS.txt
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
b40fc99ae321f3e9f29efc55f39a8e058eeab5e6cc259239e4d4eea03d0f3192 dist/chunk-LNRZFOTL.js
|
|
2
|
+
2745dd2bda97b337f8f38e5e9002c413907f7f997fb165fe70fcb06dcba5bc54 dist/core.cjs
|
|
3
3
|
d6e158722c91097e647d712652cc6bd26792aecf2ff6f990b0a5bf4dfa323aa2 dist/core.d.cts
|
|
4
4
|
d6e158722c91097e647d712652cc6bd26792aecf2ff6f990b0a5bf4dfa323aa2 dist/core.d.ts
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
7f2a7da7431cc86c85354622b7909648161d073ddb512c2cee31f63679f58250 dist/core.js
|
|
6
|
+
794a1139279804ecd4fe1f649dd6b09a76e46bff26cc64f372a3cd7383043b33 dist/index.cjs
|
|
7
7
|
94ce04f0e2d84bf64dd68f0500dfdd2f951287a3deccec87f197261961927f6f dist/index.d.cts
|
|
8
8
|
94ce04f0e2d84bf64dd68f0500dfdd2f951287a3deccec87f197261961927f6f dist/index.d.ts
|
|
9
|
-
|
|
9
|
+
358c4157dee950e9932f363c024901dad93525e3d55073eb772a33fba3a6b275 dist/index.js
|
|
@@ -616,7 +616,7 @@ async function createStaticPreview(config, params) {
|
|
|
616
616
|
createRes = await fetchWithRetry(`${endpoint}/v1/preview`, {
|
|
617
617
|
method: "POST",
|
|
618
618
|
headers: { Authorization: `Bearer ${cfg.apiKey}`, "Content-Type": "application/json" },
|
|
619
|
-
body: JSON.stringify({ framework: params.framework || "
|
|
619
|
+
body: JSON.stringify({ framework: params.framework || "static" })
|
|
620
620
|
}, PREVIEW_REQUEST_TIMEOUT_MS, "preview create");
|
|
621
621
|
} catch (e) {
|
|
622
622
|
return { ok: false, error: `Create failed: ${describeError(e)}` };
|
package/dist/core.cjs
CHANGED
|
@@ -657,7 +657,7 @@ async function createStaticPreview(config, params) {
|
|
|
657
657
|
createRes = await fetchWithRetry(`${endpoint}/v1/preview`, {
|
|
658
658
|
method: "POST",
|
|
659
659
|
headers: { Authorization: `Bearer ${cfg.apiKey}`, "Content-Type": "application/json" },
|
|
660
|
-
body: JSON.stringify({ framework: params.framework || "
|
|
660
|
+
body: JSON.stringify({ framework: params.framework || "static" })
|
|
661
661
|
}, PREVIEW_REQUEST_TIMEOUT_MS, "preview create");
|
|
662
662
|
} catch (e) {
|
|
663
663
|
return { ok: false, error: `Create failed: ${describeError(e)}` };
|
package/dist/core.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -262,7 +262,7 @@ async function createStaticPreview(config, params) {
|
|
|
262
262
|
createRes = await fetchWithRetry(`${endpoint}/v1/preview`, {
|
|
263
263
|
method: "POST",
|
|
264
264
|
headers: { Authorization: `Bearer ${cfg.apiKey}`, "Content-Type": "application/json" },
|
|
265
|
-
body: JSON.stringify({ framework: params.framework || "
|
|
265
|
+
body: JSON.stringify({ framework: params.framework || "static" })
|
|
266
266
|
}, PREVIEW_REQUEST_TIMEOUT_MS, "preview create");
|
|
267
267
|
} catch (e) {
|
|
268
268
|
return { ok: false, error: `Create failed: ${describeError(e)}` };
|
|
@@ -1221,7 +1221,7 @@ function register(api) {
|
|
|
1221
1221
|
description: "Deploy a local build directory as an ephemeral preview site. Tars the directory, uploads to Riddle, and returns a live URL at preview.riddledc.com that can be screenshotted with other riddle_* tools. Previews auto-expire after 24 hours.",
|
|
1222
1222
|
parameters: import_typebox.Type.Object({
|
|
1223
1223
|
directory: import_typebox.Type.String({ description: "Absolute path to the build output directory (e.g. /path/to/build or /path/to/dist)" }),
|
|
1224
|
-
framework: import_typebox.Type.Optional(import_typebox.Type.String({ description: "Framework hint: '
|
|
1224
|
+
framework: import_typebox.Type.Optional(import_typebox.Type.String({ description: "Framework hint: 'static' (default) or 'spa' for client-side routing" }))
|
|
1225
1225
|
}),
|
|
1226
1226
|
async execute(_id, params) {
|
|
1227
1227
|
const result = await createStaticPreview(configFromOpenClawApi(api), params);
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
deleteStaticPreview,
|
|
5
5
|
getBuildPreviewStatus,
|
|
6
6
|
getServerPreviewStatus
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LNRZFOTL.js";
|
|
8
8
|
|
|
9
9
|
// src/index.ts
|
|
10
10
|
import { Type } from "@sinclair/typebox";
|
|
@@ -880,7 +880,7 @@ function register(api) {
|
|
|
880
880
|
description: "Deploy a local build directory as an ephemeral preview site. Tars the directory, uploads to Riddle, and returns a live URL at preview.riddledc.com that can be screenshotted with other riddle_* tools. Previews auto-expire after 24 hours.",
|
|
881
881
|
parameters: Type.Object({
|
|
882
882
|
directory: Type.String({ description: "Absolute path to the build output directory (e.g. /path/to/build or /path/to/dist)" }),
|
|
883
|
-
framework: Type.Optional(Type.String({ description: "Framework hint: '
|
|
883
|
+
framework: Type.Optional(Type.String({ description: "Framework hint: 'static' (default) or 'spa' for client-side routing" }))
|
|
884
884
|
}),
|
|
885
885
|
async execute(_id, params) {
|
|
886
886
|
const result = await createStaticPreview(configFromOpenClawApi(api), params);
|
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.9",
|
|
6
6
|
"notes": "0.8.0: Added riddle_build_preview for Dockerfile-based builds with image caching.",
|
|
7
7
|
"type": "plugin",
|
|
8
8
|
"bundledSkills": [],
|