@riddledc/riddle-proof 0.1.0 → 0.1.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/README.md +18 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,6 +30,24 @@ reusable contracts and low-risk helpers are extracted here.
|
|
|
30
30
|
Future wrappers can consume this package from OpenClaw, Discord, CLI, GitHub
|
|
31
31
|
Actions, or Riddle-hosted workflows.
|
|
32
32
|
|
|
33
|
+
## Install
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
npm install @riddledc/riddle-proof
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Usage
|
|
40
|
+
|
|
41
|
+
```ts
|
|
42
|
+
import { createRunResult, createRunState } from "@riddledc/riddle-proof";
|
|
43
|
+
import { toRiddleProofRunParams } from "@riddledc/riddle-proof/openclaw";
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
The root export provides generic contracts and helpers. Integration-specific
|
|
47
|
+
adapters are exposed through subpaths such as
|
|
48
|
+
`@riddledc/riddle-proof/openclaw`, so wrappers can reuse the mapping logic
|
|
49
|
+
without depending on another plugin runtime.
|
|
50
|
+
|
|
33
51
|
## OpenClaw Adapter Boundary
|
|
34
52
|
|
|
35
53
|
`@riddledc/riddle-proof/openclaw` translates the current
|