@runtypelabs/openclaw-adapter 0.2.3 → 0.2.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/dist/index.d.ts +0 -2
- package/dist/index.mjs +3 -5
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/index.d.ts
|
|
2
1
|
type HookEvent = Record<string, unknown>;
|
|
3
2
|
type HookContext = Record<string, unknown>;
|
|
4
3
|
type HookHandler = (event: HookEvent, context: HookContext) => void | Promise<void>;
|
|
@@ -27,6 +26,5 @@ declare const environmentPlugin: {
|
|
|
27
26
|
description: string;
|
|
28
27
|
register(api: OpenClawHookApi): void;
|
|
29
28
|
};
|
|
30
|
-
//#endregion
|
|
31
29
|
export { environmentPlugin as default };
|
|
32
30
|
export {}
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { createHash } from "node:crypto";
|
|
2
|
-
|
|
3
|
-
var version = "0.2.
|
|
4
|
-
|
|
5
|
-
//#region src/index.ts
|
|
2
|
+
// package.json
|
|
3
|
+
var version = "0.2.4";
|
|
4
|
+
// src/index.ts
|
|
6
5
|
const MAX_CONTENT_BYTES = 32768;
|
|
7
6
|
const ADAPTER_VERSION = version;
|
|
8
7
|
function string(value) {
|
|
@@ -322,6 +321,5 @@ const environmentPlugin = {
|
|
|
322
321
|
}).register(api);
|
|
323
322
|
}
|
|
324
323
|
};
|
|
325
|
-
//#endregion
|
|
326
324
|
export { createRuntypeOpenClawPlugin, environmentPlugin as default };
|
|
327
325
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/openclaw-adapter",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "OpenClaw run telemetry for Runtype",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^25.3.3",
|
|
28
|
-
"tsdown": "^0.23.
|
|
28
|
+
"tsdown": "^0.23.2",
|
|
29
29
|
"typescript": "^6.0.3",
|
|
30
|
-
"vitest": "^5.0.
|
|
30
|
+
"vitest": "^5.0.5"
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"repository": {
|