feat: add import and event commands, refactor CLI, remove baseUrl config, update docs (#4704)

This commit is contained in:
Kartik
2026-04-06 16:54:27 +05:30
committed by GitHub
parent 4642a1d6e3
commit b13748c446
24 changed files with 924 additions and 395 deletions
+18
View File
@@ -0,0 +1,18 @@
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
alias: {
// OpenClaw SDK modules are resolved from the gateway at runtime.
// During unit tests we provide lightweight stubs.
"openclaw/plugin-sdk/plugin-entry": new URL(
"./test-shims/plugin-entry.ts",
import.meta.url,
).pathname,
"openclaw/plugin-sdk": new URL(
"./test-shims/plugin-sdk.ts",
import.meta.url,
).pathname,
},
},
});