@riddledc/openclaw-riddledc 0.9.2 → 0.9.4
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 +7 -2
- package/README.md +10 -0
- package/dist/chunk-SNGACMAL.js +858 -0
- package/dist/core.cjs +897 -0
- package/dist/core.d.cts +57 -0
- package/dist/core.d.ts +57 -0
- package/dist/core.js +36 -0
- package/dist/index.cjs +318 -175
- package/dist/index.js +36 -101
- package/openclaw.plugin.json +1 -1
- package/package.json +7 -2
package/CHECKSUMS.txt
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
c320ef98658b4d0bbe03485cb28105e299b85d0fb240c3a1e45f337c7011464e dist/chunk-SNGACMAL.js
|
|
2
|
+
64cc01e78e10d5cc8855cb849431b8c4b9c9da5c8cb1d2030cc1857f8db2e4f1 dist/core.cjs
|
|
3
|
+
9e6f2ccdbc993bea4445dbc20e131b442c01b298c19f87fe81846a22d6c92c48 dist/core.d.cts
|
|
4
|
+
9e6f2ccdbc993bea4445dbc20e131b442c01b298c19f87fe81846a22d6c92c48 dist/core.d.ts
|
|
5
|
+
b42375f824ecc6089e065b28268c828b29ccef979c9d8ae53ffff4abe138c0b4 dist/core.js
|
|
6
|
+
2ecc1e44daec4535712881dd0fbc3af4afe98d58bf1a2336a1a377cb94e41eb5 dist/index.cjs
|
|
2
7
|
94ce04f0e2d84bf64dd68f0500dfdd2f951287a3deccec87f197261961927f6f dist/index.d.cts
|
|
3
8
|
94ce04f0e2d84bf64dd68f0500dfdd2f951287a3deccec87f197261961927f6f dist/index.d.ts
|
|
4
|
-
|
|
9
|
+
4b4cdbf998c5d79fb14c43d0137846696c15c48676914ab243d8d3a78cdb242e 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.
|