refactor: remove legacy agent dir resolver

This commit is contained in:
Peter Steinberger
2026-05-05 20:06:09 +01:00
parent e8a9c766c2
commit 35da7d2c99
70 changed files with 302 additions and 218 deletions

View File

@@ -1,4 +1,4 @@
import { resolveOpenClawAgentDir } from "openclaw/plugin-sdk/agent-runtime";
import { resolveDefaultAgentDir } from "openclaw/plugin-sdk/agent-runtime";
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-types";
import { createTestPluginApi } from "openclaw/plugin-sdk/plugin-test-api";
import { getRuntimeConfig } from "openclaw/plugin-sdk/runtime-config-snapshot";
@@ -42,7 +42,7 @@ describeLive("comfy live", () => {
beforeAll(async () => {
cfg = withPluginsEnabled(getRuntimeConfig());
agentDir = resolveOpenClawAgentDir();
agentDir = resolveDefaultAgentDir(cfg as never);
plugin.register(
createTestPluginApi({
config: cfg as never,