feat(plugin-sdk): export OpenClawSchema via plugin-sdk/config-schema

Add a public export path for the root Zod config schema so external
tools can import it for validation and introspection without reaching
into internal bundle chunks.

Import path: `openclaw/plugin-sdk/config-schema`
This commit is contained in:
Sebastian Otaegui
2026-04-03 19:01:33 -03:00
committed by Altay
parent a26b844b88
commit 5a07ee89ca
3 changed files with 7 additions and 0 deletions

View File

@@ -119,6 +119,10 @@
"types": "./dist/plugin-sdk/config-runtime.d.ts",
"default": "./dist/plugin-sdk/config-runtime.js"
},
"./plugin-sdk/config-schema": {
"types": "./dist/plugin-sdk/config-schema.d.ts",
"default": "./dist/plugin-sdk/config-schema.js"
},
"./plugin-sdk/reply-runtime": {
"types": "./dist/plugin-sdk/reply-runtime.d.ts",
"default": "./dist/plugin-sdk/reply-runtime.js"

View File

@@ -19,6 +19,7 @@
"approval-reply-runtime",
"approval-runtime",
"config-runtime",
"config-schema",
"reply-runtime",
"reply-dispatch-runtime",
"reply-reference",

View File

@@ -0,0 +1,2 @@
/** Root OpenClaw configuration Zod schema — the full `openclaw.json` shape. */
export { OpenClawSchema } from "../config/zod-schema.js";