@riddledc/openclaw-riddledc 0.9.2 → 0.9.3

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,9 @@
1
- d6ac8bd939d92590308b0293b254e197ab326064044435f645373ca289923cc7 dist/index.cjs
1
+ eb37fd02bb17201162234ea8fdd351ab85fe9d96a99c0c8247ec83d3001c7e77 dist/chunk-LJCZ53PU.js
2
+ 548b6419feb09a22f2134a12ce378687eb60cfb0c5eb8f2a47eda6c52c89c5ee dist/core.cjs
3
+ 9e6f2ccdbc993bea4445dbc20e131b442c01b298c19f87fe81846a22d6c92c48 dist/core.d.cts
4
+ 9e6f2ccdbc993bea4445dbc20e131b442c01b298c19f87fe81846a22d6c92c48 dist/core.d.ts
5
+ ba8c0a86594c1586b130a787a721ebb3fde4fce481ff924e195bed31a4e6f9b2 dist/core.js
6
+ ae60b6124c90f7aa4028120b87856221a2531b262702c82d54da9161f6ed6368 dist/index.cjs
2
7
  94ce04f0e2d84bf64dd68f0500dfdd2f951287a3deccec87f197261961927f6f dist/index.d.cts
3
8
  94ce04f0e2d84bf64dd68f0500dfdd2f951287a3deccec87f197261961927f6f dist/index.d.ts
4
- 4b17886fc543f50ded46e6240427ec6652dde694285642ae10463e03aa10c364 dist/index.js
9
+ b92db4977e965d1a9f4d996df1347114046bbcf93ed9ac740e4de40d937bc5eb dist/index.js
package/README.md CHANGED
@@ -38,6 +38,16 @@ Get your API key at [riddledc.com](https://riddledc.com).
38
38
 
39
39
  All tools return screenshots + console logs by default. Pass `include: ["har"]` to also capture network traffic.
40
40
 
41
+ ## Core API
42
+
43
+ Packages that need to compose Riddle operations without recursively invoking OpenClaw tools can import the shared implementation:
44
+
45
+ ```ts
46
+ import { createServerPreview, runWithDefaults } from "@riddledc/openclaw-riddledc/core";
47
+ ```
48
+
49
+ Use this from higher-level plugins or skills when they need preview/script behavior directly, instead of making nested OpenClaw tool calls.
50
+
41
51
  ## How It Works
42
52
 
43
53
  Screenshots are automatically saved to `~/.openclaw/workspace/riddle/screenshots/` and the tool returns a file reference instead of inline base64. This keeps agent context small and prevents token overflow.