build: migrate schema deps to typebox

This commit is contained in:
Peter Steinberger
2026-04-23 04:59:26 +01:00
parent dd1ba0296c
commit b2472d6560
143 changed files with 344 additions and 347 deletions

View File

@@ -10,8 +10,8 @@
"dependencies": {
"@pierre/diffs": "1.1.16",
"@pierre/theme": "0.0.29",
"@sinclair/typebox": "0.34.49",
"playwright-core": "1.59.1"
"playwright-core": "1.59.1",
"typebox": "1.1.28"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*"

View File

@@ -1,7 +1,7 @@
import fs from "node:fs/promises";
import { Static, Type } from "@sinclair/typebox";
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
import { normalizeOptionalString } from "openclaw/plugin-sdk/text-runtime";
import { Static, Type } from "typebox";
import type { AnyAgentTool, OpenClawPluginApi, OpenClawPluginToolContext } from "../api.js";
import { PlaywrightDiffScreenshotter, type DiffScreenshotter } from "./browser.js";
import { resolveDiffImageRenderOptions } from "./config.js";